<!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/bondrepurchase.css">
    <script src="../lib/jquery-1.11.3.min.js"></script>
    <script src="../lib/bootstrap/js/bootstrap.min.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:hidden" class="traderInfo-body" ng-cloak ng-controller="traderInfo.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()>
   <div id="info-table">
      <div class="info-tabs">
         <span ng-class="shShow ? 'active' : ''" ng-click="shShow = true; szShow = false">上海</span>
         <span ng-class="szShow ? 'active' : ''"  ng-click="shShow = false; szShow = true">深圳</span>
      </div>
      <!--查询数据表格-->
      <div class="container info-table" data-ng-init="load()" ng-show="shShow">
         <div class="tableResponsive traderInfo" ng-class="{'default-table-scroll': isDefault, 'white-table-scroll': isWhite}">
            <table class="table table-bordered text-center" ng-class="{'default-table': isDefault, 'white-table': isWhite}" style="border-left: none;">
               <thead class="tableHeader">
                  <tr>
                     <th>交易商代码</th>
                     <th>交易商简称</th>
                     <th>交易员代码</th>
                     <th>交易员简称</th>
                     <th>状态</th>
                  </tr>
               </thead>
               <tbody class="tableBody">
                  <tr ng-repeat="item in traderInfo" ng-class="{'tdBackground':$odd}">
                     <td>{{item.dealerid}}</td>
                     <td>{{item.dealername}}</td>
                     <td>{{item.dealperid}}</td>
                     <td>{{item.dealpername}}</td>
                     <td>{{item.status | infoStatus}}</td>
                  </tr>
               </tbody>
            </table>
         </div>
      </div>
      <div class="container info-table" data-ng-init="load()" ng-show="szShow">
         <div class="tableResponsive traderInfo" ng-class="{'default-table-scroll': isDefault, 'white-table-scroll': isWhite}">
            <table class="table table-bordered text-center" ng-class="{'default-table': isDefault, 'white-table': isWhite}" style="border-left: none;">
               <thead class="tableHeader">
                  <tr>
                     <th>交易商代码</th>
                     <th>交易商简称</th>
                     <th>交易员代码</th>
                     <th>交易员简称</th>
                     <th>交易主体代码</th>
                     <th>交易主体名称</th>
                     <th>交易主体类型</th>
                  </tr>
               </thead>
               <tbody class="tableBody">
                  <tr ng-repeat="item in traderInfoSZ" ng-class="{'tdBackground':$odd}">
                     <td>{{item.memberid}}</td>
                     <td>{{item.membername}}</td>
                     <td>{{item.tradercode}}</td>
                     <td>{{item.tradername}}</td>
                     <td>{{item.investorid}}</td>
                     <td>{{item.investorname}}</td>
                     <td>{{item.investortype | investortypeFormat}}</td>
                  </tr>
               </tbody>
            </table>
         </div>
      </div>
   </div>
   
<script src="./controllers/bondrepurchase.js"></script>

</body>
</html>
