manage.html 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. <!DOCTYPE html>
  2. <html lang="zh">
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>银行卡信息管理</title>
  6. <link rel="stylesheet" href="/static/html/js-css/bank-manage.css">
  7. <script src="/static/html/js-css/jQuery.js"></script>
  8. <script src="/static/html/js-css/vue.js"></script>
  9. </head>
  10. <body>
  11. <div id="root">
  12. <div class="icon-view-layer" v-if="icon_view.show">
  13. <div class="icon-view-box">
  14. <div class="icon-img-box">
  15. <img :src="icon_view.url" alt="icon">
  16. <label for="icon-view-file">点击选择图片</label>
  17. <input type="file" accept="image/png" id="icon-view-file" @change="iconFileChange" hidden>
  18. </div>
  19. <label><input type="text" v-model="icon_view.name"></label>
  20. <div class="btns">
  21. <button class="blue" @click="iconUpload">确 定 √</button>
  22. <button class="red" @click="icon_view.show = false;">取 消 ×</button>
  23. </div>
  24. </div>
  25. </div>
  26. <div class="nav">
  27. <div class="nav-item" :class="{'active': which_cur === 0}" @click="which_cur = 0">详细列表</div>
  28. <div class="nav-item" :class="{'active': which_cur === 1}" @click="which_cur = 1">待处理信息</div>
  29. <div class="nav-item" :class="{'active': which_cur === 2}" @click="which_cur = 2">错误信息</div>
  30. </div>
  31. <div class="nav-body" v-if="which_cur === 0">
  32. <div class="control">
  33. <div class="search-box">
  34. <label>
  35. <input type="text" v-model="full_condition" @change="fullFind(full_condition)">
  36. <img src="/static/html/icon/search.svg" alt="search">
  37. </label>
  38. </div>
  39. <div class="buttons">
  40. <button @click="fullUpdate" class="blue">更 新 ↑</button>
  41. <button @click="fullPersist" class="green">固 化 ♦</button>
  42. <button @click="fullNew">新 增 ✚</button>
  43. </div>
  44. </div>
  45. <table>
  46. <thead>
  47. <tr>
  48. <th style="width: 5%;">序号</th>
  49. <th style="width: 15%;">简写</th>
  50. <th style="width: 15%;">BIN</th>
  51. <th style="width: 40%;">名称</th>
  52. <th style="width: 15%;">ICON</th>
  53. <th style="width: 10%;">操作</th>
  54. </tr>
  55. </thead>
  56. <tbody>
  57. <tr v-for="(val, idx) in full_data_show" :key="idx">
  58. <td>{[ idx + 1 ]}</td>
  59. <td>
  60. <label><input type="text" v-model="val.short" @change="fullChange(idx)"></label>
  61. </td>
  62. <td>
  63. <label><input type="text" v-model="val.bin" @change="fullChange(idx)"></label>
  64. </td>
  65. <td>
  66. <label><input type="text" class="left" v-model="val.name" @change="fullChange(idx)"></label>
  67. </td>
  68. <td>
  69. <view @click="iconView(0, idx)">&lt;&lt;预 览&gt;&gt;</view>
  70. </td>
  71. <td>
  72. <button @click="fullDelete(idx)" class="red">删 除 ×</button>
  73. </td>
  74. </tr>
  75. <tr v-if="isFullDataEmpty">
  76. <td colspan="6" style="color: red;">no data available</td>
  77. </tr>
  78. </tbody>
  79. </table>
  80. </div>
  81. <div class="nav-body" v-if="which_cur === 1">
  82. <div class="control">
  83. <div class="search-box">
  84. <label>
  85. <input type="text" v-model="unresolved_condition" @change="unresolvedFind(unresolved_condition)">
  86. <img src="/static/html/icon/search.svg" alt="search">
  87. </label>
  88. </div>
  89. <div></div>
  90. </div>
  91. <table>
  92. <thead>
  93. <tr>
  94. <th style="width: 5%;">序号</th>
  95. <th style="width: 15%;">简写</th>
  96. <th style="width: 15%;">卡号</th>
  97. <th style="width: 40%;">名称</th>
  98. <th style="width: 15%;">ICON</th>
  99. <th style="width: 10%;">操作</th>
  100. </tr>
  101. </thead>
  102. <tbody>
  103. <tr v-for="(val, idx) in unresolved_data_show" :key="idx">
  104. <td>{[ idx + 1 ]}</td>
  105. <td>{[ val.short ]}</td>
  106. <td>{[ val.number ]}</td>
  107. <td>
  108. <label><input type="text" class="left" v-model="val.name" @change="unresolvedChange(idx)"></label>
  109. </td>
  110. <td>
  111. <view @click="iconView(1, idx)">&lt;&lt;预 览&gt;&gt;</view>
  112. </td>
  113. <td>
  114. <button @click="unresolvedUpdate(idx)" class="green">更 新 ↑</button>
  115. </td>
  116. </tr>
  117. <tr v-if="isFullDataEmpty">
  118. <td colspan="6" style="color: red;">no data available</td>
  119. </tr>
  120. </tbody>
  121. </table>
  122. </div>
  123. </div>
  124. <script src="/static/html/js-css/bank-manage.js"></script>
  125. </body>
  126. </html>