<!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 style="overflow-y:hidden" ng-cloak ng-controller="voteReturn.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" id="maskBox" ng-class="{'default-maskBox': isDefault, 'white-maskBox': isWhite}">
    <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">
        <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" 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" id="voteTable" data-ng-init="load()" ng-if="contentShow">
    <div class="table-responsive tableResponsive" ng-class="{'default-table-scroll': isDefault, 'white-table-scroll': isWhite}" id="vote-table" style="overflow: scroll;height: 100%">
        <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="4%">序号</th>
                    <th width="6%">证券代码</th>
                    <th width="6%">投票代码</th>
                    <th width="6%">证券名称</th>
                    <th width="9%">股东大会编码</th>
                    <th width="8%">申报合同号</th>
                    <th width="7%">委托日期</th>
                    <th width="9%">投票议案编号</th>
                    <th width="10%">投票子议案编号</th>
                    <th width="10%">议案名称</th>
                    <th width="6%">投票意向(数量)</th>
                    <th width="6%">议案类型</th>
                    <th width="14%">执行结果</th>
                </tr>
            </thead>
            <tbody>
                <tr ng-repeat="vreturn in votereturn">
                    <td>{{$index+1}}</td>
                    <td>{{vreturn.stkcode}}</td>
                    <td>{{vreturn.votecode}}</td>
                    <td>{{vreturn.stkname}}</td>
                    <td>{{vreturn.meetingseq}}</td>
                    <td>{{vreturn.orderid}}</td>
                    <td>{{vreturn.orderdate}}</td>
                    <td>{{vreturn.votingproposal}}</td>
                    <td>{{vreturn.votingsubproposal}}</td>
                    <td>{{vreturn.vinfo}}</td>
                    <td>{{vreturn.votingqty | resultFilter : vreturn.vtype}}</td>
                    <td>{{vreturn.vtype | chinese}}</td>
                    <td>{{vreturn.execresult | returnFilter: vreturn.rejectreason}}</td>
                </tr>
            </tbody>
        </table>
    </div>
</div>
<script src="controllers/netvote.js"></script>
</body>
</html>
