Merge remote-tracking branch 'origin/dev' into dev

This commit is contained in:
shidongli 2024-03-06 09:33:38 +08:00
commit 2003daebf5

View File

@ -1063,8 +1063,10 @@ export default {
this.$refs.multipleTabledep.toggleRowSelection(selection.pop()); //
}
this.nowSelectDatadep = selection;
this.formlistdep.departmentId = selection[0].departmentId;
console.log(this.formlistdep, " this.formlistdep");
if(selection.length>0){
this.formlistdep.departmentId = selection[0].departmentId;
}
},
// //
handleSelectionChangenrightdep(selection) {
@ -1087,6 +1089,7 @@ export default {
},
//
handleSelectionChangenleft(selection) {
console.log(selection,'55555555')
this.$nextTick(() => {
if (selection.length > 1) {
this.$refs.multipleTable.clearSelection(); //
@ -1095,7 +1098,9 @@ export default {
});
this.nowSelectData = selection;
this.formlist.agencyId = selection[0].agencyId;
if(selection.length>0){
this.formlist.agencyId = selection[0].agencyId;
}
},