|
|
|
@ -343,13 +343,19 @@
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
</el-row>
|
|
|
|
|
|
|
|
|
|
<!-- <el-form-item label="风险点位置" prop="riskLocation">
|
|
|
|
|
<el-input v-model="form.riskLocation1" placeholder="请输入风险点位置" style="width: 200px;"/>村(社区)
|
|
|
|
|
<el-input v-model="form.riskLocation2" placeholder="请输入风险点位置" style="width: 200px;"/>位置
|
|
|
|
|
</el-form-item>-->
|
|
|
|
|
|
|
|
|
|
<el-form-item label="风险点概况" prop="riskDesc">
|
|
|
|
|
<el-input v-model="form.riskDesc" type="textarea" placeholder="请输入内容" />
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- <el-form-item label="涉及群众数量" prop="peopleQuantity">
|
|
|
|
|
<el-input v-model="form.peopleQuantity1" placeholder="请输入涉及群众数量" style="width: 200px;"/>户
|
|
|
|
|
<el-input v-model="form.peopleQuantity2" placeholder="请输入涉及群众数量" style="width: 200px;"/>人
|
|
|
|
|
</el-form-item>-->
|
|
|
|
|
<el-row>
|
|
|
|
|
<el-col :span="12">
|
|
|
|
|
<el-form-item label="涉及群众数量" prop="peopleQuantity1">
|
|
|
|
@ -649,17 +655,9 @@
|
|
|
|
|
this.reset();
|
|
|
|
|
const riskId = row.riskId || this.ids
|
|
|
|
|
getEhsRisk(riskId).then(response => {
|
|
|
|
|
this.form = response.data;
|
|
|
|
|
this.open = true;
|
|
|
|
|
this.title = "修改风险信息";
|
|
|
|
|
// 风险点位置回显
|
|
|
|
|
const split1 = response.data.riskLocation.split(";")
|
|
|
|
|
this.form.riskLocation1 = split1[0];
|
|
|
|
|
this.form.riskLocation2 = split1[1];
|
|
|
|
|
// 涉及群众数量回显
|
|
|
|
|
const split2 = response.data.peopleQuantity.split(";")
|
|
|
|
|
this.form.peopleQuantity1 = split2[0];
|
|
|
|
|
this.form.peopleQuantity2 = split2[1];
|
|
|
|
|
this.form = response.data;
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
/** 提交按钮 */
|
|
|
|
|