|
@ -8,7 +8,7 @@ |
|
|
<el-row> |
|
|
<el-row> |
|
|
<el-col :span="8"> |
|
|
<el-col :span="8"> |
|
|
<div class="tc-text2">堤防名称:</div> |
|
|
<div class="tc-text2">堤防名称:</div> |
|
|
<div class="tc-text1">{{ form.projectName }}</div> |
|
|
<div class="tc-text1">{{ form.dikeName }}</div> |
|
|
</el-col> |
|
|
</el-col> |
|
|
<el-col :span="8"> |
|
|
<el-col :span="8"> |
|
|
<div class="tc-text2">堤防巡查责任人:</div> |
|
|
<div class="tc-text2">堤防巡查责任人:</div> |
|
@ -176,7 +176,7 @@ export default { |
|
|
images: [], |
|
|
images: [], |
|
|
createName: '', |
|
|
createName: '', |
|
|
userName: '', |
|
|
userName: '', |
|
|
projectName: '', |
|
|
dikeName: '', |
|
|
category: '', |
|
|
category: '', |
|
|
parts: '', |
|
|
parts: '', |
|
|
partsName: '', |
|
|
partsName: '', |
|
@ -186,7 +186,7 @@ export default { |
|
|
problemImages: '', |
|
|
problemImages: '', |
|
|
problemLevel: '', |
|
|
problemLevel: '', |
|
|
createUid: '', |
|
|
createUid: '', |
|
|
projectCode: '', |
|
|
dikeCode: '', |
|
|
projectType: '', |
|
|
projectType: '', |
|
|
type: '', |
|
|
type: '', |
|
|
time: [], |
|
|
time: [], |
|
@ -194,7 +194,7 @@ export default { |
|
|
}, |
|
|
}, |
|
|
rules: { |
|
|
rules: { |
|
|
userName: [{required: true}], |
|
|
userName: [{required: true}], |
|
|
projectName: [{required: true}], |
|
|
dikeName: [{required: true}], |
|
|
inspectionCategory: [{required: true}], |
|
|
inspectionCategory: [{required: true}], |
|
|
time: [{required: true, message: "请选择巡查时间", trigger: "change"}], |
|
|
time: [{required: true, message: "请选择巡查时间", trigger: "change"}], |
|
|
describe: [{required: true, message: "输入巡查详情", trigger: "change"}], |
|
|
describe: [{required: true, message: "输入巡查详情", trigger: "change"}], |
|
@ -224,14 +224,14 @@ export default { |
|
|
this.form.createName = checking.data.createName |
|
|
this.form.createName = checking.data.createName |
|
|
this.form.userName = this.userName |
|
|
this.form.userName = this.userName |
|
|
this.form.userId = this.userId |
|
|
this.form.userId = this.userId |
|
|
this.form.projectName = checking.data.projectName |
|
|
this.form.dikeName = checking.data.dikeName |
|
|
this.form.checkingId = checking.data.checkingId |
|
|
this.form.checkingId = checking.data.checkingId |
|
|
this.form.checkingName = checking.data.checkingName |
|
|
this.form.checkingName = checking.data.checkingName |
|
|
this.form.status = checking.data.status |
|
|
this.form.status = checking.data.status |
|
|
this.form.problems = checking.data.problems |
|
|
this.form.problems = checking.data.problems |
|
|
this.form.category = checking.data.category |
|
|
this.form.category = checking.data.category |
|
|
this.form.createUid = checking.data.createUid |
|
|
this.form.createUid = checking.data.createUid |
|
|
this.form.projectCode = checking.data.projectCode |
|
|
this.form.dikeCode = checking.data.dikeCode |
|
|
this.form.projectType = checking.data.projectType |
|
|
this.form.projectType = checking.data.projectType |
|
|
this.form.type = checking.data.type |
|
|
this.form.type = checking.data.type |
|
|
this.form.startDate = checking.data.startDate |
|
|
this.form.startDate = checking.data.startDate |
|
@ -341,9 +341,9 @@ export default { |
|
|
if (valid) { |
|
|
if (valid) { |
|
|
const data = { |
|
|
const data = { |
|
|
name: this.form.checkingName, |
|
|
name: this.form.checkingName, |
|
|
projectCode: this.form.projectCode, |
|
|
dikeCode: this.form.dikeCode, |
|
|
projectType: this.form.projectType, |
|
|
projectType: this.form.projectType, |
|
|
projectName: this.form.projectName, |
|
|
dikeName: this.form.dikeName, |
|
|
status: this.form.status, |
|
|
status: this.form.status, |
|
|
type: this.form.type, |
|
|
type: this.form.type, |
|
|
category: this.form.category, |
|
|
category: this.form.category, |
|
|