|
@@ -90,9 +90,9 @@
|
|
|
:span="8"
|
|
:span="8"
|
|
|
v-if="addForm.autoOrder && !dialogTitle.includes('量具送检')"
|
|
v-if="addForm.autoOrder && !dialogTitle.includes('量具送检')"
|
|
|
>
|
|
>
|
|
|
- <el-form-item label="负责人" prop="executeId">
|
|
|
|
|
|
|
+ <el-form-item label="负责人" prop="executorId">
|
|
|
<el-select
|
|
<el-select
|
|
|
- v-model="addForm.executeId"
|
|
|
|
|
|
|
+ v-model="addForm.executorId"
|
|
|
size="small"
|
|
size="small"
|
|
|
style="width: 100%"
|
|
style="width: 100%"
|
|
|
:disabled="isBindPlan"
|
|
:disabled="isBindPlan"
|
|
@@ -500,7 +500,7 @@
|
|
|
categoryId: '', // 设备类别id
|
|
categoryId: '', // 设备类别id
|
|
|
approvalUserId: '', // 审核人id
|
|
approvalUserId: '', // 审核人id
|
|
|
groupId: '', // 巡点检部门code
|
|
groupId: '', // 巡点检部门code
|
|
|
- executeId: [], // 巡点检人员id
|
|
|
|
|
|
|
+ executorId: [], // 巡点检人员id
|
|
|
executorPhone: '',
|
|
executorPhone: '',
|
|
|
status: 1, // 状态
|
|
status: 1, // 状态
|
|
|
remark: '', // 备注
|
|
remark: '', // 备注
|
|
@@ -540,7 +540,7 @@
|
|
|
groupId: [
|
|
groupId: [
|
|
|
{ required: true, message: '请选择巡点检部门', trigger: 'change' }
|
|
{ required: true, message: '请选择巡点检部门', trigger: 'change' }
|
|
|
],
|
|
],
|
|
|
- executeId: [
|
|
|
|
|
|
|
+ executorId: [
|
|
|
{ required: true, message: '请选择巡点检人员', trigger: 'change' }
|
|
{ required: true, message: '请选择巡点检人员', trigger: 'change' }
|
|
|
],
|
|
],
|
|
|
urgent: [
|
|
urgent: [
|
|
@@ -676,7 +676,7 @@
|
|
|
categoryId: '', // 设备类别id
|
|
categoryId: '', // 设备类别id
|
|
|
approvalUserId: '', // 审核人id
|
|
approvalUserId: '', // 审核人id
|
|
|
groupId: '', // 巡点检部门code
|
|
groupId: '', // 巡点检部门code
|
|
|
- executeId: [], // 巡点检人员id
|
|
|
|
|
|
|
+ executorId: [], // 巡点检人员id
|
|
|
executorPhone: '',
|
|
executorPhone: '',
|
|
|
status: 1, // 状态
|
|
status: 1, // 状态
|
|
|
remark: '', // 备注
|
|
remark: '', // 备注
|
|
@@ -716,7 +716,7 @@
|
|
|
},
|
|
},
|
|
|
autoOrderChange(val) {
|
|
autoOrderChange(val) {
|
|
|
if (val == 0) {
|
|
if (val == 0) {
|
|
|
- this.addForm.executeId = '';
|
|
|
|
|
|
|
+ this.addForm.executorId = '';
|
|
|
this.addForm.groupId = '';
|
|
this.addForm.groupId = '';
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
@@ -761,8 +761,8 @@
|
|
|
ruleId: item.ruleId,
|
|
ruleId: item.ruleId,
|
|
|
categoryId: item.categoryId,
|
|
categoryId: item.categoryId,
|
|
|
planDeviceList: planDeviceList[index],
|
|
planDeviceList: planDeviceList[index],
|
|
|
- executorId: this.addForm.executeId
|
|
|
|
|
- ? this.addForm.executeId.join(',')
|
|
|
|
|
|
|
+ executorId: this.addForm.executorId
|
|
|
|
|
+ ? this.addForm.executorId.join(',')
|
|
|
: ''
|
|
: ''
|
|
|
};
|
|
};
|
|
|
});
|
|
});
|
|
@@ -869,14 +869,15 @@
|
|
|
];
|
|
];
|
|
|
console.log(this.ruleIdList);
|
|
console.log(this.ruleIdList);
|
|
|
this.tabsValue = this.ruleIdList[0].ruleId;
|
|
this.tabsValue = this.ruleIdList[0].ruleId;
|
|
|
- // const params = { groupId: res.data.groupId };
|
|
|
|
|
- // this.getUserList(params);
|
|
|
|
|
|
|
+
|
|
|
// this._getMatterRulesDetails(res.ruleId);
|
|
// this._getMatterRulesDetails(res.ruleId);
|
|
|
this.$set(this.addForm, 'code', res.data.code);
|
|
this.$set(this.addForm, 'code', res.data.code);
|
|
|
this.$set(this.addForm, 'urgent', JSON.stringify(res.data.urgent));
|
|
this.$set(this.addForm, 'urgent', JSON.stringify(res.data.urgent));
|
|
|
- this.$set(this.addForm, 'executeId', res.data.executeId.split(','));
|
|
|
|
|
|
|
+ this.$set(this.addForm, 'executorId', res.data.executorId.split(','));
|
|
|
this.$set(this.addForm, 'imageUrl', {});
|
|
this.$set(this.addForm, 'imageUrl', {});
|
|
|
console.log(this.rootData);
|
|
console.log(this.rootData);
|
|
|
|
|
+
|
|
|
|
|
+ this.getUserList({ groupId: res.data.groupId });
|
|
|
// const rep = await getTreeByType(0);
|
|
// const rep = await getTreeByType(0);
|
|
|
// console.log('sasas', res);
|
|
// console.log('sasas', res);
|
|
|
// const ids = this.findTopLevelAncestorId(
|
|
// const ids = this.findTopLevelAncestorId(
|