Merge remote-tracking branch 'origin/dev' into dev
This commit is contained in:
commit
2003daebf5
@ -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;
|
||||||
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user