|
|
@@ -52,13 +52,13 @@
|
|
|
<el-col :span="8">
|
|
|
<el-form-item
|
|
|
label="负责部门"
|
|
|
- prop="deptName"
|
|
|
+ prop="responsibleDeptName"
|
|
|
style="margin-bottom: 22px"
|
|
|
>
|
|
|
<ele-tree-select
|
|
|
clearable
|
|
|
:data="deptTreeList"
|
|
|
- v-model="form.deptId"
|
|
|
+ v-model="form.responsibleDeptId"
|
|
|
valueKey="id"
|
|
|
labelKey="name"
|
|
|
placeholder="请选择"
|
|
|
@@ -154,8 +154,8 @@ export default {
|
|
|
planName: '',
|
|
|
responsiblePersonName: '',
|
|
|
responsiblePersonId: '',
|
|
|
- deptName: '',
|
|
|
- deptId: '',
|
|
|
+ responsibleDeptName: '',
|
|
|
+ responsibleDeptId: '',
|
|
|
urgencyLevel: '',
|
|
|
automatic: 1,
|
|
|
planTimeStart: '',
|
|
|
@@ -188,7 +188,7 @@ export default {
|
|
|
this.planTimeDate = [this.form.planTimeStart, this.form.planTimeEnd]
|
|
|
this.form.urgencyLevel = this.form.urgencyLevel + ''
|
|
|
// 根据部门获取人员
|
|
|
- this.getUserList(this.form.deptId);
|
|
|
+ this.getUserList(this.form.responsibleDeptId);
|
|
|
},
|
|
|
// 获取部门数据
|
|
|
getDeptList() {
|
|
|
@@ -204,7 +204,7 @@ export default {
|
|
|
// 选择负责人部门
|
|
|
changeDeptInfo(id) {
|
|
|
const info = this.deptList.find((e) => e.id == id);
|
|
|
- this.form.deptName = info.name;
|
|
|
+ this.form.responsibleDeptName = info.name;
|
|
|
this.form.responsiblePersonName = '';
|
|
|
this.form.responsiblePersonId = '';
|
|
|
// 根据部门获取人员
|