list.html 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. <!DOCTYPE html>
  2. <html xmlns="http://www.w3.org/1999/xhtml" ng-app="app">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  5. <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
  6. <title>工资查询</title>
  7. <link href="../../AFrontEnd/css/animate.css" rel="stylesheet" />
  8. <link href="../../AFrontEnd/css/fontawesome/css/font-awesome.css" rel="stylesheet" />
  9. <link href="../../AFrontEnd/css/bootstrap.css" rel="stylesheet" />
  10. <link href="../../AFrontEnd/css/style.css" rel="stylesheet" />
  11. <script>document.write("<link href='../../AFrontEnd/css/special.css?time=" + new Date().getTime() + "' rel='stylesheet'>");</script>
  12. <link href="js/mintui.css" rel="stylesheet" />
  13. <link href="js/table.css" rel="stylesheet" />
  14. </head>
  15. <body>
  16. <div ng-controller="listCtrl as ctl" ng-cloak>
  17. <div class="wrapper wrapper-content">
  18. <div class="row">
  19. <div class="col-md-12">
  20. <div class="ibox float-e-margins">
  21. <div class="ibox-content">
  22. <div class="row">
  23. <div class="col-md-12">
  24. <div class="sp-page-tab sp-pl-30">
  25. <span ng-class="{'pageTabActive':ctl.tablename=='SX_TFNZZGZB'}" ng-click="ctl.changeTB('SX_TFNZZGZB')">工资1</span>
  26. <span ng-class="{'pageTabActive':ctl.tablename=='SX_TFWZZGZB'}" ng-click="ctl.changeTB('SX_TFWZZGZB')">工资2</span>
  27. <a class="sp-pull-right sp-btn-gray sp-btn-radius" ng-if="ctl.pageform!=''" href="{{ctl.pageform}}.html">
  28. <i class="fa fa-reply sp-mr-5"></i>返 回
  29. </a>
  30. <!--<a class="sp-pull-right sp-btn-gray sp-btn-radius" ng-if="ctl.tablename=='SX_TFWZZGZB'" ng-click="ctl.YINHANG()">
  31. <i class="fa fa-sign-in sp-mr-5"></i>生成给银行表格
  32. </a>-->
  33. <a class="sp-pull-right sp-btn-gray sp-btn-radius" ng-click="ctl.printOut()">
  34. <i class="fa fa-sign-in sp-mr-5"></i>导 出
  35. </a>
  36. <a class="sp-pull-right sp-btn-gray sp-btn-radius" ng-click="ctl.getData()">
  37. <i class="fa fa-search sp-mr-5"></i>查 询
  38. </a>
  39. <input type="text" class="sp-input sp-pull-right laydate-logo" style="width:200px" sp-laydate laytype="month" ng-model="ctl.date" ng-change="ctl.changeDate()" />
  40. </div>
  41. <div class="sp-page sp-mt-10">
  42. <div style="position: relative; overflow: auto;">
  43. <table class="sp-table" id="printOut">
  44. <thead>
  45. <tr>
  46. <th width="50">序号</th>
  47. <th style="min-width:100px" ng-repeat="item in ctl.thead" ng-bind="item.cname"></th>
  48. </tr>
  49. </thead>
  50. <tbody>
  51. <tr ng-repeat="item in ctl.list">
  52. <td ng-bind="$index+1"></td>
  53. <td ng-repeat="item1 in ctl.thead"><span title="{{item[item1.code]}}" ng-bind="item[item1.code]"></span></td>
  54. </tr>
  55. </tbody>
  56. </table>
  57. </div>
  58. <div class="sp-table-tip ng-hide" ng-show="ctl.noDataTip == 0">
  59. <i class="fa fa-exclamation-circle sp-mr-10"></i>您好,暂未查询到相关信息!
  60. </div>
  61. </div>
  62. </div>
  63. </div>
  64. </div>
  65. </div>
  66. </div>
  67. </div>
  68. </div>
  69. <div class="sp-layer" id="YINHANG" style="width:1000px">
  70. <div class="sp-layer-head" style="background:#2176d6">
  71. <div class="sp-page sp-text-center sp-font-16">
  72. <div class="sp-layer-close" title="关闭" onclick="sp.closeCenter('.sp-layer')">
  73. ×
  74. </div>
  75. </div>
  76. </div>
  77. <div class="sp-layer-body sp-text-right sp-lh-30">
  78. <div class="sp-center-900">
  79. <table class="sp-table" id="yh">
  80. <tbody ng-repeat="item in ctl.yhList">
  81. <tr>
  82. <td class="sp-text-left" colspan="3" ng-bind="item.BANKNAME"></td>
  83. </tr>
  84. <tr>
  85. <td>姓名</td>
  86. <td>银行卡号</td>
  87. <td>金额</td>
  88. </tr>
  89. <tr ng-repeat="item1 in item.DATA">
  90. <td ng-bind="item1.XM"></td>
  91. <td ng-bind="item1.YHKH"></td>
  92. <td ng-bind="item1.SFYHKJE"></td>
  93. </tr>
  94. </tbody>
  95. </table>
  96. <div class="sp-page sp-mt-10 sp-text-center">
  97. <span class="sp-btn-blue" ng-click="ctl.downloadYH()">下载</span>
  98. <span class="sp-btn-blue" onclick="sp.layerhide()">关闭</span>
  99. </div>
  100. </div>
  101. </div>
  102. </div>
  103. </div>
  104. <script src="../../AFrontEnd/js/jquery/jquery-2.1.4.min.js"></script>
  105. <script src="../../AFrontEnd/js/laydate/laydate.js"></script>
  106. <script src="../../AFrontEnd/js/angularjs/angular.js"></script>
  107. <script src="../../AFrontEnd/js/angularjs/dirPagination.js"></script>
  108. <script src="../../apiurljs.js"></script>
  109. <script src="../../js/sm4.js"></script>
  110. <!-- 导出excel -->
  111. <script src="js/vendor/jquery.jqprint-0.3.js"></script>
  112. <script src="js/vendor/shim.min.js"></script>
  113. <script src="js/vendor/jszip.js"></script>
  114. <script src="js/vendor/xlsx.full.js"></script>
  115. <script src="js/vendor/Blob.js"></script>
  116. <script src="js/vendor/FileSaver.js"></script>
  117. <script>document.write('<scri' + 'pt src="../../AFrontEnd/js/special/special.js?time=' + new Date().getTime() + '" type="text/javascript"></s' + 'cript>')</script>
  118. <script>document.write('<scri' + 'pt src="js/list.js?time=' + new Date().getTime() + '" type="text/javascript"></s' + 'cript>')</script>
  119. <script src="../../AFrontEnd/js/special/spng.js"></script>
  120. <script src="../../AFrontEnd/js/special/spngvld.js"></script>
  121. </body>
  122. </html>