|
|
@@ -140,7 +140,7 @@
|
|
|
<el-col :span="8">
|
|
|
<el-form-item label="所属部门">
|
|
|
<deptSelect
|
|
|
- v-model="form.deptLeaderId"
|
|
|
+ v-model="form.chargeDeptId"
|
|
|
@changeGroup="searchDeptNodeClick"
|
|
|
/>
|
|
|
</el-form-item>
|
|
|
@@ -149,7 +149,7 @@
|
|
|
<el-form-item label="负责人">
|
|
|
<personSelect
|
|
|
ref="directorRef"
|
|
|
- v-model="form.deptIds"
|
|
|
+ v-model="form.chargeUserId"
|
|
|
@selfChange="handleDirectorChange"
|
|
|
:init="false"
|
|
|
/>
|
|
|
@@ -348,7 +348,7 @@
|
|
|
|
|
|
this.categoryLevelPathId = info.category.categoryLevelPathIdParent;
|
|
|
this.judgeSet(info);
|
|
|
- this.searchDeptNodeClick(this.form.deptLeaderId);
|
|
|
+ this.searchDeptNodeClick(this.form.chargeDeptId);
|
|
|
},
|
|
|
// 判断字段类型并赋值
|
|
|
judgeSet(info) {
|
|
|
@@ -391,7 +391,7 @@
|
|
|
// 选择所属部门
|
|
|
searchDeptNodeClick(id, info) {
|
|
|
// 根据部门获取人员
|
|
|
- const params = { executeGroupId: id };
|
|
|
+ const params = { executeGroupId: id ? id : '' };
|
|
|
this.$nextTick(() => {
|
|
|
this.$refs.directorRef.getList(params);
|
|
|
});
|