From 06b10364fa0f5972fc145f2f6c6ee3647d1948ac Mon Sep 17 00:00:00 2001 From: liangbin <15536829364@163.com> Date: Fri, 30 Jan 2026 10:59:09 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E7=94=A8=E6=88=B7=E5=AE=A1=E6=A0=B8):=20?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E7=94=A8=E6=88=B7=E5=AE=A1=E6=A0=B8=E5=BC=B9?= =?UTF-8?q?=E7=AA=97=E5=8F=8A=E9=A9=B3=E5=9B=9E=E7=8A=B6=E6=80=81=E5=A4=84?= =?UTF-8?q?=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在用户管理页面添加审核弹窗,支持通过/驳回操作 - 新增驳回状态(3)及相关状态显示处理 - 修改查询参数username为userName以保持一致性 - 调整时间范围选择器的日期格式为YYYY-MM-DD - 将审批按钮点击事件改为打开弹窗方式 --- src/views/Logistics/UserManagement/index.vue | 2 + src/views/Logistics/UserReview/index.vue | 112 +++++++++++++++--- .../Proprietor/TicketIssueAudit/index.vue | 2 +- 3 files changed, 96 insertions(+), 20 deletions(-) diff --git a/src/views/Logistics/UserManagement/index.vue b/src/views/Logistics/UserManagement/index.vue index ab75c8f..6e10a16 100644 --- a/src/views/Logistics/UserManagement/index.vue +++ b/src/views/Logistics/UserManagement/index.vue @@ -129,6 +129,7 @@ const statusMap = { '0': '已生效', '1': '已停用', '2': '待审核', + '3': '已驳回', } const dialogShow = ref(false); // 新增账户弹窗显示状态 @@ -293,6 +294,7 @@ const getStatusTagType = (status) => { if (status === '0') return 'success' if (status === '1') return 'info' if (status === '2') return 'primary' + if (status === '3') return 'danger' return 'info' } diff --git a/src/views/Logistics/UserReview/index.vue b/src/views/Logistics/UserReview/index.vue index 7c51433..fc499d1 100644 --- a/src/views/Logistics/UserReview/index.vue +++ b/src/views/Logistics/UserReview/index.vue @@ -3,11 +3,11 @@
- - + + - @@ -38,7 +38,7 @@ @@ -50,22 +50,42 @@ @current-change="handleCurrentChange" />
+ + + + + + 通过 + 驳回 + + + + + + + + diff --git a/src/views/Proprietor/TicketIssueAudit/index.vue b/src/views/Proprietor/TicketIssueAudit/index.vue index 70b21c8..8ae3aad 100644 --- a/src/views/Proprietor/TicketIssueAudit/index.vue +++ b/src/views/Proprietor/TicketIssueAudit/index.vue @@ -110,7 +110,7 @@ const dialogShow = ref(false); // 弹窗显示状态 // 表格数据 const tableData = ref([]); const pageNum = ref(1); // 当前页码 -const pageSize = ref(5); // 每页显示条数 +const pageSize = ref(10); // 每页显示条数 const total = ref(20); // 总记录数