服务包配置和用户添加科室

This commit is contained in:
闫晓茹 2024-03-05 17:42:57 +08:00
parent b7b1c7cade
commit 96fc96dfaf

View File

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