creditCardAdmin.html 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. <style>
  2. .rright {
  3. padding-right: 0px;
  4. }
  5. div[role="button"] > a {
  6. color: white;
  7. text-decoration: none;
  8. }
  9. div[role="button"] {
  10. width: 98px;
  11. height: 20px;
  12. line-height: 20px;
  13. background: #317EBC;
  14. padding-left: 10px;
  15. padding-top: 3px;
  16. }
  17. div[role="button"]:HOVER {
  18. cursor: pointer;
  19. }
  20. .btn-group-left {
  21. border-top-right-radius: 0px;
  22. border-bottom-right-radius: 0px;
  23. }
  24. .btn-group-rigth {
  25. margin-left: -4px;
  26. border-top-left-radius: 0px;
  27. border-bottom-left-radius: 0px;
  28. }
  29. .add-count{
  30. float: right;
  31. margin-right: 3px;
  32. margin-top: 9px;
  33. }
  34. .box-header {
  35. height: 35px;
  36. line-height: 26px;
  37. font-size: 14px;
  38. }
  39. .table>tbody>tr>td{
  40. vertical-align: middle;
  41. }
  42. </style>
  43. <div class="box">
  44. <div class="box-header well" data-original-title>
  45. <i class="icon-user"></i> 平台银行账户信息管理
  46. </div>
  47. <div class="box-content">
  48. <!-- ng-tableStart -->
  49. <div class="fullscreen" style="padding: 10px;">
  50. <div class="row">
  51. <div class="col-sm-1">
  52. 共<span class="badge">{{totalElements}} </span>条
  53. </div>
  54. <div class="col-sm-9">
  55. <button type="button" class="btn btn-default btn-group-left" ng-class="{'btn-primary':active=='personal'}" ng-click="setActive('personal')">付款账户</button>
  56. <button type="button" class="btn btn-default btn-group-rigth" ng-class="{'btn-primary':active=='enterprise'}" ng-click="setActive('enterprise')">收款账号</button>
  57. </div>
  58. <div class="col-sm-2" ng-if="totalElements < 20">
  59. <div class="add-count">
  60. <a ng-click="editAccount()" style="font-size: 14px;"><i class="fa fa-plus-square"></i>&nbsp;新增银行账户</a>
  61. </div>
  62. </div>
  63. </div>
  64. <table ng-table="bankInfoTableParams" class="table table-bordered table-striped text-center" style="margin-top: 10px;">
  65. <thead class="text-center">
  66. <tr>
  67. <th width="240px">开户人</th>
  68. <th width="240px">开户行</th>
  69. <th width="240px">银行账号</th>
  70. <th width="300px">操作</th>
  71. </tr>
  72. </thead>
  73. <tbody>
  74. <tr ng-repeat="account in accounts" class="text-center">
  75. <td ng-bind="account.accountname"></td>
  76. <td ng-bind="account.bankname"></td>
  77. <td ng-bind="account.filterAccount"></td>
  78. <td>
  79. <button class="btn btn-default" ng-click="deleteAccount(account)">删除</button>
  80. <button class="btn btn-default" ng-click="editAccount(account)">修改</button>
  81. <button ng-if="account.num !=1" class="btn btn-default" ng-click="setDefaultAccount(account.id)">设为默认账户</button>
  82. </td>
  83. </tr>
  84. </tbody>
  85. </table>
  86. </div>
  87. <!-- ng-tableEnd -->
  88. </div>
  89. </div><!--/span-->