From 231d87163df1bb249dafcf869d5911a2964e2f13 Mon Sep 17 00:00:00 2001 From: zhangrenyuan <18990852002@163.com> Date: Wed, 15 Oct 2025 18:22:56 +0800 Subject: [PATCH] =?UTF-8?q?add:=20ConfirmDialog.vue=E6=96=87=E4=BB=B6?= =?UTF-8?q?=EF=BC=9B=E4=BC=98=E5=8C=96=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/dialogs/ConfirmDialog.vue | 125 +++++++++++++++++++++++++++++++ src/views/audit/bean/beanAudit.vue | 7 +- src/views/audit/gold/rechargeAudit.vue | 111 +++++++++++++++++++-------- src/views/home.vue | 39 ++++++++++ src/views/permissions/rolePermission.vue | 8 +- 5 files changed, 251 insertions(+), 39 deletions(-) create mode 100644 src/components/dialogs/ConfirmDialog.vue diff --git a/src/components/dialogs/ConfirmDialog.vue b/src/components/dialogs/ConfirmDialog.vue new file mode 100644 index 0000000..fe92690 --- /dev/null +++ b/src/components/dialogs/ConfirmDialog.vue @@ -0,0 +1,125 @@ + + + + + 将要{{ message }} + + + + + + + + + + + + \ No newline at end of file diff --git a/src/views/audit/bean/beanAudit.vue b/src/views/audit/bean/beanAudit.vue index 9756e7e..8b64fd8 100644 --- a/src/views/audit/bean/beanAudit.vue +++ b/src/views/audit/bean/beanAudit.vue @@ -89,15 +89,15 @@ prop="operation" label="操作" width="400px"> - + 通过 - - 取消 + + 取消 确认 @@ -160,6 +160,7 @@ const reason = ref('') const rejectRow = ref({ id: null })// 驳回行数据 +const popconfirmRef = ref(null) // 操作权限(金豆审核相关,与充值权限格式对齐) const hasbeanWait = ref(false) // 金豆审核待审核(对应beanWait:42) diff --git a/src/views/audit/gold/rechargeAudit.vue b/src/views/audit/gold/rechargeAudit.vue index c5b7dbb..a496330 100644 --- a/src/views/audit/gold/rechargeAudit.vue +++ b/src/views/audit/gold/rechargeAudit.vue @@ -145,20 +145,11 @@ - - - - 通过 - - - - 取消 - - 确认 - - - + + 通过 + @@ -189,8 +180,19 @@ + + + + +