Browse Source

提现管理

shish 3 years ago
parent
commit
0dae2a523f
1 changed files with 22 additions and 1 deletions
  1. 22 1
      pt/src/saas/shop/deposit.vue

+ 22 - 1
pt/src/saas/shop/deposit.vue

@@ -2,6 +2,13 @@
 	<div class="app-list-content">
 		<x-crud class="liu-crud-wrap" @load="onLoad">
 
+			<template #slot-tabs="{scope}">
+				<el-tabs class="liu-tabs" type="border-card" v-model="tabIndex" @tab-click="handleClick" >
+					<el-tab-pane v-for="(item, index) in tabsData" :key="index" :label="item.text" :name="item.key" >
+					</el-tab-pane>
+				</el-tabs>
+			</template>
+
 			<!-- 审核 -->
 			<template #slot-apply="{scope}">
 
@@ -74,11 +81,25 @@ export default {
 				status: '2',
 				remark: ''
 			},
-			rule: {}
+			rule: {},
+			tabsData: [
+				{
+					text: '全部',
+					key: '0'
+				},
+				{
+					text: '待审核',
+					key: '1'
+				}
+			],
+			tabIndex: '0'
 		};
 	},
 	mounted() {},
 	methods: {
+		handleClick(tab, e) {
+			this.app.refresh({ status: this.tabIndex });
+		},
 		showModalFn(item) {
 			this.form.id = item.id;
 			this.applyDialog = true;