<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html ng-app="app">

<head>
    <title>普通网络投票委托查询</title>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <link rel="stylesheet" href="../lib/bootstrap/css/bootstrap.min.css">
    <link rel="stylesheet" href="css/reset.css">
    <link rel="stylesheet" href="css/vote.css">
    <script src="../lib/jquery-1.11.3.min.js"></script>
    <script src="../lib/bootstrap/js/bootstrap.min.js"></script>
    <script src="../lib/My97DatePicker/WdatePicker.js"></script>
    <script src="../lib/angular/angular.js"></script>
    <script src="../lib/angular/angular-sanitize.js"></script>
    <script src="../lib/angular/angular-ui-router.js"></script>
    <!-- angularjs modules -->
    <script src="../_common/service_fcfg.js"></script>
    <script src="../_common/fy_client.js"></script>
    <script src="../_common/service_fql.js"></script>
    <script src="../_common/service_fql_exports.js"></script>
</head>

<body style="overflow-y:hidden" ng-cloak ng-controller="voteQuery.ctrl" ng-class="{'default': isDefault, 'white': isWhite}" oncontextmenu="return false" onselectstart="return false" ondragstart="return false" onbeforecopy="return false" oncopy=document.selection.empty()
    onselect=document.selection.empty()>
    <!--请求数据前loading框==开始-->
    <div ng-show="isAsk" class="maskBox" ng-class="{'default-maskBox': isDefault, 'white-maskBox': isWhite}" id="maskBox">
        <div class="proBox"></div>
    </div>
    <!--请求数据前loading框==结束-->
    <div class="checkHead queryHead" ng-class="{'default-checkHead': isDefault, 'white-checkHead': isWhite}">
        <div class="left">
            共有 <span class="stkcodeNum">{{stkcodeNum}}</span> 条数据
        </div>
        <div class="center query-center">
            <span class="text32">资金账号:</span>
            <span>{{UserInfo.USER_FUNDID}}</span>
        </div>
        <div class="right queryRight" ng-class="{'default-query-date': isDefault, 'white-query-date': isWhite}">
            <!--起始日期：<input type="text" value="" id="startDate" onclick="WdatePicker({lang:'zh-cn',skin:'twoer',minDate:'#F{$dp.$D(\'endDate\',{M:-1,d:1})}',maxDate:'#F{$dp.$D(\'endDate\')}'})" />
        <span class="glyphicon glyphicon-triangle-bottom beginTri"></span>
        结束日期：<input type="text" id="endDate" onclick="WdatePicker({lang:'zh-cn',skin:'twoer',minDate:'#F{$dp.$D(\'startDate\')}',maxDate:'#F{$dp.$D(\'startDate\',{M:1,d:-1})}'})" value="" />-->
            <!--查询日期：<input type="text" value="" id="date" onclick="WdatePicker({lang:'zh-cn',skin:'twoer',maxDate:'%y-%M-%d'})" />-->
            查询日期：<input type="text" value="" class="datepicker date" id="date" onclick="WdatePicker({lang:'zh-cn',skin:'twoer'})" />
            <span class="beginTri"></span>
            <button class="btn btn-info queryBtn" ng-click="dataQuery()">查询</button>
        </div>
    </div>
    <!--data-ng-init="load()"表格自适应可视区域-->
    <div class="container voteTable queryTable" id="voteTable" data-ng-init="load()">
        <div class="table-responsive tableResponsive tablequery-height" ng-class="{'default-table-scroll': isDefault, 'white-table-scroll': isWhite}" id="vote-table">
            <table class="table table-bordered text-center" ng-class="{'default-table': isDefault, 'white-table': isWhite}" style="border-left: none;line-height: 94%">
                <thead class="tableHeader">
                    <tr>
                        <th width="8%">序号</th>
                        <th width="9%">委托序号</th>
                        <th width="11%">委托交易日期</th>
                        <th width="9%">证券代码</th>
                        <th width="10%">证券名称</th>
                        <th width="11%">投票议案编号</th>
                        <th width="8%">投票数量</th>
                        <th width="9%">总股份数量</th>
                        <th width="8%">证券类别</th>
                        <th width="7%">委托状态</th>
                        <th width="8%">其他备注</th>
                    </tr>
                </thead>
                <tbody>
                    <tr ng-repeat="vquery in votequery">
                        <td>{{$index+1}}</td>
                        <td>{{vquery.ordersno}}</td>
                        <td>{{vquery.orderdate}}</td>
                        <td>{{vquery.stkcode}}</td>
                        <td>{{vquery.stkname}}</td>
                        <td>{{vquery.proposal | vidFilter}}</td>
                        <td>{{vquery.preference}}</td>
                        <td>{{vquery.longqty}}</td>
                        <td>{{vquery.stktype | stkType}}</td>
                        <td>{{vquery.orderstatus | orderStatus}}</td>
                        <td>{{vquery.remark}}</td>
                    </tr>
                </tbody>
            </table>
        </div>
    </div>
    <!--Modal-->
    <prompt-dir></prompt-dir>
    <script src="controllers/netvote.js"></script>
    <script src="directives/directive.js"></script>
    <script>
        $(document).ready(function() {
            progress();

            function progress() {
                $('#progress').removeClass('running');
                $('#progress').removeClass('running').delay(0).queue(function(next) {
                    $(this).addClass('running');
                    next();
                });
            }
            setInterval(progress, 100);
        });
    </script>
</body>

</html>