You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

cardrefundcostManage.vue 5.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223
  1. <template>
  2. <div class="app_container">
  3. <div class="menu">
  4. <el-form :inline="true" :model="formInline" class="demo-form-inline">
  5. <el-form-item label="卡号">
  6. <el-input v-model="formInline.user" placeholder="请输入卡号" />
  7. </el-form-item>
  8. <el-form-item>
  9. <el-button type="primary">读卡</el-button>
  10. <el-button :icon="Search" type="primary">查询</el-button>
  11. </el-form-item>
  12. </el-form>
  13. </div>
  14. <el-table :data="tableData" border style="width: 100%" class="table_box" scrollbar-always-on="true" stripe >
  15. <el-table-column prop="name" label="序号" />
  16. <el-table-column prop="name" label="卡号" />
  17. <el-table-column prop="address" label="用户名" />
  18. <el-table-column prop="number" label="证件号" />
  19. <el-table-column prop="time" label="注销时间" />
  20. <el-table-column prop="type" label="退款状态" />
  21. <el-table-column prop="type" label="退费金额(元)"/>
  22. <el-table-column label="操作" class="table_btn" width="150px" align="center">
  23. <el-tooltip content="详细" placement="top">
  24. <el-button type="warning" @click="dialogFormVisible = true">查看详细</el-button>
  25. </el-tooltip>
  26. </el-table-column>
  27. </el-table>
  28. <div class="page_box">
  29. <el-pagination :page-size="20" :pager-count="11" layout="prev, pager, next" :total="1000" />
  30. </div>
  31. <el-dialog v-model="dialogFormVisible" :title="title">
  32. <el-form :model="form" v-if="delivery">
  33. <el-form-item label="手机号" :label-width="formLabelWidth">
  34. <el-input v-model="form.phone" autocomplete="off" disabled />
  35. </el-form-item>
  36. <el-form-item label="验证码" :label-width="formLabelWidth">
  37. <el-input v-model="form.region" autocomplete="off" />
  38. </el-form-item>
  39. </el-form>
  40. <el-form :model="form" v-else>
  41. <el-form-item label="对公账户资金账户编号" :label-width="formLabelWidth">
  42. <el-input v-model="form.number" autocomplete="off" disabled />
  43. </el-form-item>
  44. <el-form-item label="验证码" :label-width="formLabelWidth">
  45. <el-input v-model="form.region" autocomplete="off" />
  46. </el-form-item>
  47. </el-form>
  48. <template #footer>
  49. <span class="dialog-footer">
  50. <el-button @click="dialogFormVisible = false">确定</el-button>
  51. <el-button type="primary" @click="dialogFormVisible = false">关闭</el-button>
  52. </span>
  53. </template>
  54. </el-dialog>
  55. </div>
  56. </template>
  57. <script lang="ts" setup>
  58. import {
  59. Search,
  60. Dwnload
  61. } from '@element-plus/icons-vue'
  62. import {
  63. reactive,
  64. ref
  65. } from 'vue'
  66. const formInline = reactive({
  67. user: '',
  68. region: '',
  69. })
  70. const onSubmit = () => {
  71. console.log('submit!')
  72. }
  73. let title = ref("对公账户信息")
  74. const options = [{
  75. value: '',
  76. label: '全部',
  77. },
  78. {
  79. value: '1',
  80. label: '驳回',
  81. },
  82. {
  83. value: '0',
  84. label: '待审核',
  85. },
  86. {
  87. value: '1',
  88. label: '已启用',
  89. },
  90. {
  91. value: '2',
  92. label: '待修改初始密码',
  93. },
  94. ]
  95. const value1 = ref('')
  96. const value2 = ref('')
  97. const value3 = ref('')
  98. const value4 = ref('')
  99. const dialogTableVisible = ref(false)
  100. const dialogFormVisible = ref(false)
  101. const formLabelWidth = '140px'
  102. const form = reactive({
  103. phone: '13078580843',//手机号
  104. region: '',//验证码
  105. delivery: false,//是否展示详细
  106. number:''//对公账户资金账户编号
  107. })
  108. const optiones = [{
  109. value: '2',
  110. label: '2',
  111. },
  112. {
  113. value: '6',
  114. label: '6',
  115. },
  116. {
  117. value: '10',
  118. label: '10',
  119. },
  120. {
  121. value: '15',
  122. label: '15',
  123. },
  124. {
  125. value: '30',
  126. label: '30',
  127. },
  128. ]
  129. const defaultTime = new Date(2000, 1, 1, 12, 0, 0)
  130. const shortcuts = [{
  131. text: 'Today',
  132. value: new Date(),
  133. },
  134. {
  135. text: 'Yesterday',
  136. value: () => {
  137. const date = new Date()
  138. date.setTime(date.getTime() - 3600 * 1000 * 24)
  139. return date
  140. },
  141. },
  142. {
  143. text: 'A week ago',
  144. value: () => {
  145. const date = new Date()
  146. date.setTime(date.getTime() - 3600 * 1000 * 24 * 7)
  147. return date
  148. },
  149. },
  150. ]
  151. const tableData = [{
  152. date: '01',
  153. name: 'Liu461185',
  154. address: '安顺市顺安防雷安全检测站平坝分站',
  155. number: "91520421MA6EBM14XC",
  156. time: "2021-06-22T12:52:17",
  157. type: "已启用",
  158. regname: "xn18096012008",
  159. regtime: "2021-06-23T15:08:39"
  160. },
  161. {
  162. date: '02',
  163. name: 'Liu461185',
  164. address: '安顺市顺安防雷安全检测站平坝分站',
  165. number: "91520421MA6EBM14XC",
  166. time: "2021-06-22T12:52:17",
  167. type: "已启用",
  168. regname: "xn18096012008",
  169. regtime: "2021-06-23T15:08:39"
  170. },
  171. {
  172. date: '03',
  173. name: 'Liu461185',
  174. address: '安顺市顺安防雷安全检测站平坝分站',
  175. number: "91520421MA6EBM14XC",
  176. time: "2021-06-22T12:52:17",
  177. type: "已启用",
  178. regname: "xn18096012008",
  179. regtime: "2021-06-23T15:08:39"
  180. }
  181. ]
  182. </script>
  183. <style lang="scss">
  184. .app_container {
  185. padding: 20px;
  186. display: flex;
  187. flex-direction: column;
  188. .table_box {
  189. margin-top: 25px;
  190. .table_btn{
  191. display: flex;
  192. flex-direction: column;
  193. align-self: stretch;
  194. align-content: space-around;
  195. align-items: flex-start;
  196. }
  197. }
  198. .page_box {
  199. margin-top: 25px;
  200. }
  201. }
  202. </style>