tb-orders-bank-list.html 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title>银行回执信息表-列表</title>
  5. <meta charset="utf-8">
  6. <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
  7. <!-- 所有的 css & js 资源 -->
  8. <link rel="stylesheet" href="../../static/kj/element-ui/theme-chalk/index.css">
  9. <link rel="stylesheet" href="../../static/sa.css">
  10. <script src="../../static/kj/vue.min.js"></script>
  11. <script src="../../static/kj/element-ui/index.js"></script>
  12. <script src="../../static/kj/httpVueLoader.js"></script>
  13. <script src="../../static/kj/jquery.min.js"></script>
  14. <script src="../../static/kj/layer/layer.js"></script>
  15. <script src="../../static/sa.js"></script>
  16. </head>
  17. <body>
  18. <div class="vue-box" style="display: none;" :style="'display: block;'">
  19. <div class="c-panel">
  20. <!-- ------------- 数据列表 ------------- -->
  21. <el-table class="data-table" ref="data-table" :data="dataList" >
  22. <!-- <sa-td name="报文编号" prop="sn" ></sa-td> -->
  23. <sa-td name="互市代码" prop="organization" ></sa-td>
  24. <sa-td name="银行标识" prop="bankCode" ></sa-td>
  25. <sa-td name="业务类型" prop="operation" ></sa-td>
  26. <sa-td name="回执代码" prop="code" ></sa-td>
  27. <sa-td name="订单号" prop="source" width="180px"></sa-td>
  28. <sa-td name="流水单号" prop="result" ></sa-td>
  29. <sa-td name="回执内容" prop="note" width="300px"></sa-td>
  30. <!-- <sa-td name="报文发送时间" prop="date" width="150px"></sa-td> -->
  31. <sa-td name="创建时间" prop="createTime" width="150px"></sa-td>
  32. </el-table>
  33. <!-- ------------- 分页 ------------- -->
  34. <sa-item type="page" :curr.sync="p.pageNo" :size.sync="p.pageSize" :total="dataCount" @change="f5()"></sa-item>
  35. </div>
  36. </div>
  37. <script>
  38. var app = new Vue({
  39. components: {
  40. "sa-item": httpVueLoader('../../sa-frame/com/sa-item.vue'),
  41. "sa-td": httpVueLoader('../../sa-frame/com/sa-td.vue'),
  42. },
  43. el: '.vue-box',
  44. data: {
  45. orderNo: sa.p('orderNo', 0), // 获取数据ID
  46. p: { // 查询参数
  47. source: '', // 订单号
  48. },
  49. dataCount: 0,
  50. dataList: [], // 数据集合
  51. },
  52. methods: {
  53. // 刷新
  54. f5: function() {
  55. this.p.source = this.orderNo
  56. sa.ajax('/payment-server/BankInfo/getList', sa.removeNull(this.p), function(res) {
  57. this.dataList = res.data; // 数据
  58. this.dataCount = res.dataCount; // 数据总数
  59. sa.f5TableHeight(); // 刷新表格高度
  60. }.bind(this));
  61. },
  62. },
  63. created: function() {
  64. this.f5();
  65. sa.onInputEnter();
  66. }
  67. })
  68. </script>
  69. </body>
  70. </html>