This commit is contained in:
@jyuhsin
2025-09-23 11:02:08 +08:00
parent 0d74bc5e09
commit 3f6f6ca50e
@@ -151,6 +151,7 @@ layout("/layouts/platform.html"){
{prop: 'instanceState', label: '流程状态'}, {prop: 'instanceState', label: '流程状态'},
], ],
chooseTableData: [], chooseTableData: [],
multipleSelection: [],
content: '', content: '',
} }
}, },
@@ -177,10 +178,12 @@ layout("/layouts/platform.html"){
}) })
}, },
onBatchHandle() { onBatchHandle() {
if(this.chooseTableData.length === 0) { if(this.multipleSelection.length === 0) {
this.$message.warning('请先选择需要催办的提案') this.$message.warning('请先选择需要催办的提案')
return return
} }
this.chooseTableData = []
this.chooseTableData = clone(this.multipleSelection)
this.$refs.guava.edit() this.$refs.guava.edit()
}, },
onHandle(row) { onHandle(row) {
@@ -189,7 +192,7 @@ layout("/layouts/platform.html"){
this.$refs.guava.edit() this.$refs.guava.edit()
}, },
handleSelectionChange(val) { handleSelectionChange(val) {
this.chooseTableData = val this.multipleSelection = val
}, },
openView(row) { openView(row) {
this.$refs.guava.view(() => { this.$refs.guava.view(() => {