|
|
@ -8,7 +8,7 @@ |
|
|
|
<el-row> |
|
|
|
<el-col :span="8"> |
|
|
|
<div class="tc-text2">水闸名称:</div> |
|
|
|
<div class="tc-text1">{{ form.sluiceName }}</div> |
|
|
|
<div class="tc-text1">{{ form.wagaName }}</div> |
|
|
|
</el-col> |
|
|
|
<el-col :span="8"> |
|
|
|
<div class="tc-text2">水闸巡查责任人:</div> |
|
|
@ -237,7 +237,7 @@ export default { |
|
|
|
images: [], |
|
|
|
createName: '', |
|
|
|
userName: '', |
|
|
|
sluiceName: '', |
|
|
|
wagaName: '', |
|
|
|
category: '', |
|
|
|
parts: '', |
|
|
|
partsName: '', |
|
|
@ -247,8 +247,8 @@ export default { |
|
|
|
problemImages: '', |
|
|
|
problemLevel: '', |
|
|
|
createUid: '', |
|
|
|
sluiceCode: '', |
|
|
|
sluiceType: '', |
|
|
|
wagaCode: '', |
|
|
|
wagaType: '', |
|
|
|
type: '', |
|
|
|
time: [], |
|
|
|
scope: '', |
|
|
@ -256,7 +256,7 @@ export default { |
|
|
|
rules: { |
|
|
|
userName: [{required: true}], |
|
|
|
projectName: [{required: true}], |
|
|
|
sluiceName: [{required: true}], |
|
|
|
wagaName: [{required: true}], |
|
|
|
inspectionCategory: [{required: true}], |
|
|
|
time: [{required: true, message: "请选择巡查时间", trigger: "change"}], |
|
|
|
describe: [{required: true, message: "输入巡查详情", trigger: "change"}], |
|
|
@ -286,15 +286,15 @@ export default { |
|
|
|
this.form.createName = checking.data.createName |
|
|
|
this.form.userName = this.userName |
|
|
|
this.form.userId = this.userId |
|
|
|
this.form.sluiceName = checking.data.sluiceName |
|
|
|
this.form.wagaName = checking.data.wagaName |
|
|
|
this.form.checkingId = checking.data.checkingId |
|
|
|
this.form.checkingName = checking.data.checkingName |
|
|
|
this.form.status = checking.data.status |
|
|
|
this.form.problems = checking.data.problems |
|
|
|
this.form.category = checking.data.category |
|
|
|
this.form.createUid = checking.data.createUid |
|
|
|
this.form.sluiceCode = checking.data.sluiceCode |
|
|
|
this.form.sluiceType = checking.data.sluiceType |
|
|
|
this.form.wagaCode = checking.data.wagaCode |
|
|
|
this.form.wagaType = checking.data.wagaType |
|
|
|
this.form.type = checking.data.type |
|
|
|
this.form.startDate = checking.data.startDate |
|
|
|
this.form.endDate = checking.data.endDate |
|
|
@ -404,9 +404,9 @@ export default { |
|
|
|
if (valid) { |
|
|
|
const data = { |
|
|
|
name: this.form.checkingName, |
|
|
|
sluiceCode: this.form.sluiceCode, |
|
|
|
sluiceType: this.form.sluiceType, |
|
|
|
sluiceName: this.form.sluiceName, |
|
|
|
wagaCode: this.form.wagaCode, |
|
|
|
wagaType: this.form.wagaType, |
|
|
|
wagaName: this.form.wagaName, |
|
|
|
status: this.form.status, |
|
|
|
type: this.form.type, |
|
|
|
category: this.form.category, |
|
|
|