This commit is contained in:
BianLzhaoMin 2024-04-10 14:47:52 +08:00
commit 7ef5aa2fb5
1 changed files with 3 additions and 1 deletions

View File

@ -253,7 +253,8 @@ export default {
pageSize: 10, pageSize: 10,
unitName: undefined, unitName: undefined,
dictType: undefined, dictType: undefined,
status: undefined status: undefined,
dataCondition: []
}, },
// //
form: {}, form: {},
@ -359,6 +360,7 @@ export default {
// //
handleSelectionChange(selection) { handleSelectionChange(selection) {
this.ids = selection.map(item => item.unitId) this.ids = selection.map(item => item.unitId)
this.queryParams.dataCondition = this.ids
this.single = selection.length != 1 this.single = selection.length != 1
this.multiple = !selection.length this.multiple = !selection.length
}, },