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

<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 id='ngbody' style="overflow-y:hidden" ng-cloak ng-controller="voteResult.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()>
    <!-- <body style="overflow-y:hidden" ng-cloak ng-controller="voteResult.ctrl"> -->
    <!--请求数据前loading框==开始-->
    <div ng-show="isAsk" class="maskBox" ng-class="{'default-maskBox': isDefault, 'white-maskBox': isWhite}" id="maskBox">
        <div class="proBox"></div>
    </div>
    <div class="checkHead resultHead" ng-class="{'default-checkHead': isDefault, 'white-checkHead': isWhite}">
        <div class="left">
            共有
            <span class="stkcodeNum">{{stkcodeNum}}</span> 条数据
        </div>
        <div class="center result-center">
            <span class="text32">资金账号：</span>
            <span>{{UserInfo.USER_FUNDID}}</span>
        </div>
        <div class="right resultRight" ng-class="{'default-query-date': isDefault, 'white-query-date': isWhite}">
            起始日期：
            <input type="text" value="" class="datepicker startDate" id="startDate" onclick="WdatePicker({lang:'zh-cn',skin:'twoer',minDate:'#F{$dp.$D(\'endDate\',{M:-3,d:1})}',maxDate:'#F{$dp.$D(\'endDate\')}'})"
            />
            <span class="beginTri"></span>
            结束日期：
            <input type="text" class="datepicker endDate" id="endDate" onclick="WdatePicker({lang:'zh-cn',skin:'twoer',minDate:'#F{$dp.$D(\'startDate\')}',maxDate:'#F{$dp.$D(\'startDate\',{M:3,d:-1})}'})"
                value="" />
            <span class="endTri"></span>
            <button class="btn btn-info queryBtn" id='qqq' ng-click='resultQuery()'>查询</button>
        </div>
    </div>
    <div ng-if="nullResult" class="nullResult">
      <p style="line-height: 20px;">{{errorInfo}}</p>
   </div>
    <!--data-ng-init="load()"表格自适应可视区域-->
    <div class="container voteTable queryTable resultTable" id="voteTable" data-ng-init="load()" ng-if="contentShow">
        <div class="table-responsive tableResponsive tableresult-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;">
                <thead class="tableHeader">
                    <tr>
                        <th width="46px">序号</th>
                        <th width="100px">股东大会编码</th>
                        <th width="80px">客户代码</th>
                        <th width="80px">市场</th>
                        <th width="80px">股东代码</th>
                        <th width="80px">产品代码</th>
                        <th width="80px">投票结果</th>
                        <th width="80px">议案编号</th>
                        <th width="80px">议案名称</th>
                        <th width="80px">投票类型</th>
                    </tr>
                </thead>
                <tbody>
                    <tr ng-repeat="vresult in voteResult">
                        <td>{{$index+1}}</td>
                        <td>{{vresult.meetingseq}}</td>
                        <td>{{vresult.custid}}</td>
                        <td>{{vresult.market | marketFilter}}</td>
                        <td>{{vresult.secuid}}</td>
                        <td>{{vresult.votecode}}</td>
                        <td>{{vresult.voteqty | resultFilter : vresult.vtype}}</td>
                        <td>{{vresult.vid}}</td>
                        <td>{{vresult.vinfo}}</td>
                        <td>{{vresult.vtype | chinese}}</td>
                    </tr>
                </tbody>
            </table>
        </div>
    </div>
    <script src="controllers/netvote.js"></script>
</body>

</html>
