|
|
@@ -112,7 +112,11 @@
|
|
|
/>
|
|
|
</el-form-item> -->
|
|
|
<el-form-item
|
|
|
- :label="clientEnvironmentId == '9'?'所在班组(科室):':'片区负责人部门:'"
|
|
|
+ :label="
|
|
|
+ clientEnvironmentId == '9'
|
|
|
+ ? '所在班组(科室):'
|
|
|
+ : '片区负责人部门:'
|
|
|
+ "
|
|
|
prop="areaPersonInChargeGroupId"
|
|
|
>
|
|
|
<dept-select
|
|
|
@@ -135,7 +139,10 @@
|
|
|
</el-form-item>
|
|
|
</el-col> -->
|
|
|
<el-col :span="12">
|
|
|
- <el-form-item :label="clientEnvironmentId == '9'?'责任人':'片区负责人:'" prop="areaPersonInChargeUserId">
|
|
|
+ <el-form-item
|
|
|
+ :label="clientEnvironmentId == '9' ? '责任人' : '片区负责人:'"
|
|
|
+ prop="areaPersonInChargeUserId"
|
|
|
+ >
|
|
|
<person-select
|
|
|
v-model="addForm.areaPersonInChargeUserId"
|
|
|
clearable
|
|
|
@@ -182,7 +189,6 @@
|
|
|
>
|
|
|
</el-option>
|
|
|
</el-select>
|
|
|
-
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="12">
|
|
|
@@ -343,9 +349,10 @@
|
|
|
title: '新增',
|
|
|
addRepairNotesDialog: false,
|
|
|
addForm: {
|
|
|
- leaderUserId: ''
|
|
|
+ leaderUserId: '',
|
|
|
+ faultType: [],
|
|
|
+ impact: []
|
|
|
},
|
|
|
- faultType: [],
|
|
|
impact: [],
|
|
|
initData: [],
|
|
|
|
|
|
@@ -382,10 +389,9 @@
|
|
|
},
|
|
|
created() {
|
|
|
this.getUserList();
|
|
|
-
|
|
|
},
|
|
|
mounted() {
|
|
|
- this.clientEnvironmentId =
|
|
|
+ this.clientEnvironmentId =
|
|
|
this.$store.state.user.info.clientEnvironmentId;
|
|
|
},
|
|
|
methods: {
|
|
|
@@ -574,8 +580,8 @@
|
|
|
repairGroupId: this.addForm.repairGroupId,
|
|
|
repairGroupName: this.addForm.repairGroupName,
|
|
|
repairUserName: this.addForm.repairUserName,
|
|
|
- faultType: this.addForm.faultType.toString(),
|
|
|
- impact: this.addForm.impact.toString()
|
|
|
+ faultType: this.addForm.faultType?.toString(),
|
|
|
+ impact: this.addForm.impact?.toString()
|
|
|
};
|
|
|
this.loading = true;
|
|
|
if (this.row) {
|