From 9408ce12e24e2c0028ab584271786076823a2c75 Mon Sep 17 00:00:00 2001 From: wangxiaoshuang <825034831@qq.com> Date: Fri, 25 Apr 2025 09:38:08 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A8=BD=E6=9F=A5=E6=96=87=E6=A1=A3=E5=88=A0?= =?UTF-8?q?=E9=99=A4=E6=B7=BB=E5=8A=A0=E4=BA=8C=E6=AC=A1=E7=A1=AE=E5=AE=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../trials-workbench/components/auditDocument/index.vue | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/views/trials/trials-workbench/components/auditDocument/index.vue b/src/views/trials/trials-workbench/components/auditDocument/index.vue index 2e8e9bcd..7a5805f9 100644 --- a/src/views/trials/trials-workbench/components/auditDocument/index.vue +++ b/src/views/trials/trials-workbench/components/auditDocument/index.vue @@ -694,6 +694,8 @@ export default { async delData(Ids) { if (!this.isManage) return false try { + let confirm = await this.$confirm(this.$t('trials:trials-workbench:auditDocument:delData')) + if (!confirm) return false let data = { Ids } let res = await deleteAuditDocument(data) if (res.IsSuccess) { @@ -966,6 +968,9 @@ export default { }, // 单行左键双击(进入文件夹或者预览文件) handleRowDblclick(row, column, event) { + if (this.$refs.contextmenu) { + this.$refs.contextmenu.foo() + } // 判断点击目标是否为展开按钮 let isExpandButton = event.target.closest('.el-table__expand-icon'); if (isExpandButton) return; // 阻止触发