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) }