credit_list-detail.vue 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  1. <template>
  2. <div>
  3. <div class="sty">
  4. <el-page-header @back="goBack" content="信用额度变更记录">
  5. </el-page-header>
  6. </div>
  7. <el-divider></el-divider>
  8. <!-- 表头 -->
  9. <div>
  10. <el-form
  11. ref="searchForm"
  12. :model="searchForm"
  13. label-width="100px"
  14. size="small"
  15. label-position="left"
  16. >
  17. <el-row :gutter="20">
  18. <el-col :xs="24" :sm="12" :lg="6">
  19. <el-form-item label="日期" prop="">
  20. <el-date-picker
  21. v-model="value1"
  22. type="daterange"
  23. range-separator="至"
  24. start-placeholder="开始日期"
  25. end-placeholder="结束日期"
  26. >
  27. </el-date-picker>
  28. </el-form-item>
  29. </el-col>
  30. <el-col :xs="24" :sm="24" :lg="18">
  31. <el-form-item label="" class="fr">
  32. <el-button size="small">清空</el-button>
  33. <el-button size="small" type="primary">搜索</el-button>
  34. </el-form-item>
  35. </el-col>
  36. </el-row>
  37. </el-form>
  38. </div>
  39. <!-- 按钮 -->
  40. <div class="btn-group clearfix">
  41. <div class="fr">
  42. <el-button type="primary" size="small">导出</el-button>
  43. </div>
  44. </div>
  45. <!-- 列表 -->
  46. <div class="mymain-container">
  47. <div class="table">
  48. <el-table
  49. v-loading="listLoading"
  50. :data="dataList"
  51. element-loading-text="Loading"
  52. border
  53. fit
  54. highlight-current-row
  55. stripe
  56. >
  57. <el-table-column
  58. label="序号"
  59. align="center"
  60. min-width="100"
  61. show-overflow-tooltip
  62. ></el-table-column>
  63. <el-table-column
  64. align="center"
  65. label="经销商编码"
  66. prop=""
  67. min-width="160"
  68. show-overflow-tooltip
  69. ></el-table-column>
  70. <el-table-column
  71. align="center"
  72. label="经销商名称"
  73. prop=""
  74. min-width="160"
  75. show-overflow-tooltip
  76. ></el-table-column>
  77. <el-table-column
  78. align="center"
  79. label="关联钱包"
  80. prop=""
  81. min-width="160"
  82. show-overflow-tooltip
  83. ></el-table-column>
  84. <el-table-column
  85. align="center"
  86. label="变更额度"
  87. prop=""
  88. min-width="160"
  89. show-overflow-tooltip
  90. ></el-table-column>
  91. <el-table-column
  92. align="center"
  93. label="总信用额度"
  94. prop=""
  95. min-width="160"
  96. show-overflow-tooltip
  97. ></el-table-column>
  98. <el-table-column
  99. align="center"
  100. label="变更时间"
  101. prop=""
  102. min-width="160"
  103. show-overflow-tooltip
  104. ></el-table-column>
  105. <el-table-column
  106. align="center"
  107. label="变更人"
  108. prop=""
  109. min-width="160"
  110. show-overflow-tooltip
  111. ></el-table-column>
  112. </el-table>
  113. </div>
  114. <!-- 分页 -->
  115. <div class="fr">
  116. <el-pagination
  117. :current-page="currentPage"
  118. :page-sizes="[10, 20, 30, 50]"
  119. :page-size="10"
  120. layout="total, sizes, prev, pager, next, jumper"
  121. :total="listTotal"
  122. >
  123. </el-pagination>
  124. </div>
  125. </div>
  126. </div>
  127. </template>
  128. <script>
  129. export default {
  130. data() {
  131. return {
  132. currentPage: 1, // 当前页码
  133. pageSize: 10, // 每页数量
  134. listTotal: 0, // 列表总数
  135. dataList: [], // 列表数据
  136. searchForm: {}, //搜索表单
  137. listLoading: false, // 列表加载loading
  138. };
  139. },
  140. methods: {
  141. goBack() {
  142. this.$parent.showRecord = true;
  143. },
  144. },
  145. };
  146. </script>
  147. <style>
  148. </style>