From c2b92db2ef3b4bc131f384966b462308626308b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E7=8B=BC?= <2468023037@qq.com> Date: Sat, 15 Feb 2025 12:08:17 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=96=B0=E5=A2=9E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/withdraw.ts | 9 +----- src/views/jobuser/index.vue | 2 +- src/views/withdraw/index.vue | 58 ++++++++++++++++++++++-------------- 3 files changed, 37 insertions(+), 32 deletions(-) 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('取消操作'), });