From 38c31af137814c3f9c2e23feb8f642f949c970d4 Mon Sep 17 00:00:00 2001 From: wangxiaoshuang <825034831@qq.com> Date: Mon, 21 Apr 2025 11:28:41 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B7=B2=E5=8F=91=E5=B8=83=E3=80=81=E5=B7=B2?= =?UTF-8?q?=E4=B8=8B=E7=BA=BF=E7=9A=84=E5=9F=B9=E8=AE=AD=E6=96=87=E6=A1=A3?= =?UTF-8?q?=E9=BB=98=E8=AE=A4=E4=B8=8D=E5=8F=AF=E5=A4=9A=E9=80=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../attachment/components/SignatureTemplate/index.vue | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/views/dictionary/attachment/components/SignatureTemplate/index.vue b/src/views/dictionary/attachment/components/SignatureTemplate/index.vue index d921736d..b0eb58a2 100644 --- a/src/views/dictionary/attachment/components/SignatureTemplate/index.vue +++ b/src/views/dictionary/attachment/components/SignatureTemplate/index.vue @@ -75,7 +75,7 @@ - + @@ -238,6 +238,9 @@ export default { this.getUserType() }, methods: { + handleSelectable(row) { + return !row.IsDeleted || !row.IsPublish + }, handleSelectionChange(val) { this.multipleSelection = val; }, @@ -250,7 +253,7 @@ export default { }) if (!confirm) return false let arr = list.filter(item => !item.IsPublish) - if (arr.length <= 0) return false + if (arr.length <= 0) return this.getList() let data = { ids: arr.map(item => item.Id) } @@ -339,7 +342,7 @@ export default { }) .then(() => { let arr = row.filter(item => !item.IsDeleted) - if (arr.length <= 0) return false + if (arr.length <= 0) return this.getList() let data = { Ids: arr.map(item => item.Id) }