|
|
|
@ -204,10 +204,13 @@ |
|
|
|
<el-form-item label="响应时长(m)"> |
|
|
|
<el-input v-model="saveData.responseTime" disabled style="width: 100px"></el-input> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="是否停机保修" style="margin-left: 30px"> |
|
|
|
<el-input v-model="saveData.shutdownWarranty" disabled style="width: 100px"></el-input> |
|
|
|
<el-form-item label="停机保修" style="margin-left: 30px"> |
|
|
|
<el-input v-model="saveData.shutdownWarranty" disabled style="width: 68px"></el-input> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="维修结果" prop="result" style="margin-left: 80px"> |
|
|
|
<el-form-item label="审核退回退回" style="margin-left: 0px"> |
|
|
|
<el-input v-model="saveData.isReturn" disabled style="width: 68px"></el-input> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="维修结果" prop="result" style="margin-left: 30px"> |
|
|
|
<el-select v-model="saveData.result" style="width: 100px"> |
|
|
|
<el-option label="维修完成" value="维修完成"></el-option> |
|
|
|
<el-option label="维修失败" value="维修失败"></el-option> |
|
|
|
@ -745,6 +748,7 @@ export default { |
|
|
|
return { |
|
|
|
coreComponentFlag: false, |
|
|
|
uploadDialog: false, |
|
|
|
planPeople:'', |
|
|
|
uploadData: { |
|
|
|
folder: '', |
|
|
|
title: '', |
|
|
|
@ -2235,6 +2239,7 @@ export default { |
|
|
|
this.operatorData.bu = row.site + '_' + row.buNo |
|
|
|
this.reachData = row |
|
|
|
this.chooseReachModelFlag = true |
|
|
|
this.planPeople = row.planOperatorName |
|
|
|
}, |
|
|
|
|
|
|
|
// 到达 |
|
|
|
@ -2243,6 +2248,12 @@ export default { |
|
|
|
this.$message.warning('请选择到达人员!') |
|
|
|
return |
|
|
|
} |
|
|
|
if (!this.planPeople==''){ |
|
|
|
if (!this.saveData.operatorName.includes(this.planPeople)){ |
|
|
|
this.$message.warning('到达人员中不包含计划人员!') |
|
|
|
return |
|
|
|
} |
|
|
|
} |
|
|
|
let tempData = { |
|
|
|
site: this.saveData.site, |
|
|
|
buNo: this.saveData.buNo, |
|
|
|
@ -2308,7 +2319,8 @@ export default { |
|
|
|
reachOperatorName: row.reachOperatorName, |
|
|
|
urgency: row.urgency, |
|
|
|
responseTime: row.responseTime, |
|
|
|
shutdownWarranty: row.repairReportingType === '设备故障' ? '是' : '否' |
|
|
|
shutdownWarranty: row.repairReportingType === '设备故障' ? '是' : '否', |
|
|
|
isReturn: row.isReturn |
|
|
|
} |
|
|
|
this.activeTable = 'inspection_form' |
|
|
|
this.detailModelFlag = true |
|
|
|
@ -2339,6 +2351,12 @@ export default { |
|
|
|
this.$message.warning('请填写处理方式,且大于十个字数!') |
|
|
|
return |
|
|
|
} |
|
|
|
if (!this.saveData.planOperatorName==''){ |
|
|
|
if (!this.saveData.operatorName.includes(this.saveData.planOperatorName)){ |
|
|
|
this.$message.warning('实际执行人员中不包含计划人员,请检查!') |
|
|
|
return |
|
|
|
} |
|
|
|
} |
|
|
|
saveOrderReportForDefect(this.saveData).then(({data}) => { |
|
|
|
if (data && data.code === 0) { |
|
|
|
this.getDataList() |
|
|
|
|