diff --git a/src/api/withdraw.ts b/src/api/withdraw.ts
index d230eae..baac07f 100644
--- a/src/api/withdraw.ts
+++ b/src/api/withdraw.ts
@@ -12,14 +12,7 @@ export interface jobuser {
status: string;
code: number;
message: string;
- data: {
- jobuser: {
- username: string; // 账号
- password: string; // 密码
- time: Date; // 注册时间
- type: number; // 累计在线时间
- }[]
- };
+ data: object;
}
diff --git a/src/views/jobuser/index.vue b/src/views/jobuser/index.vue
index abf6fcc..55e8464 100644
--- a/src/views/jobuser/index.vue
+++ b/src/views/jobuser/index.vue
@@ -20,7 +20,7 @@
封禁
解禁
- 查看团队
+
diff --git a/src/views/withdraw/index.vue b/src/views/withdraw/index.vue
index 3295cc5..165c2d1 100644
--- a/src/views/withdraw/index.vue
+++ b/src/views/withdraw/index.vue
@@ -3,31 +3,25 @@
-
+
-
+
审批
-
@@ -39,12 +33,30 @@ import { computed, ref, reactive, watch, nextTick, onMounted } from 'vue';
import { lists } from '@/api/withdraw';
import { Modal } from '@arco-design/web-vue';
import { Message } from '@arco-design/web-vue';
-
+const columns = [
+ {
+ title: 'Name',
+ dataIndex: 'name',
+ },
+ {
+ title: 'Salary',
+ dataIndex: 'salary',
+ },
+ {
+ title: 'Address',
+ dataIndex: 'address',
+ },
+ {
+ title: 'Email',
+ dataIndex: 'email',
+ },
+ ];
interface DataItem {
- username: string;
- password: string;
- time: Date;
- money: string;
+ user_id: string;
+ username: string;
+ money: Date;
+ status: string;
+ createtime2: string;
}
let data = ref([])
//弹窗控制
@@ -59,9 +71,9 @@ const show_group=(id:number)=>{
const showConfirm = (id: string) => {
Modal.confirm({
title: '操作提醒',
- content: '是否同意该用户提现申请',
- okText: '通过',
- cancelText: '不通过',
+ content: '是否同意该用户的提现申请',
+ okText: '同意',
+ cancelText: '拒绝',
onOk: () => handleBlock(id),
onCancel: () => Message.info('取消操作'),
});