Commit 019b5da0 authored by wanghao's avatar wanghao

1 检查记录修改-隐患数量 回显一直为0 问题修复。

parent fc03ce85
......@@ -28,13 +28,14 @@
<span v-else>-</span>
</template>
</el-table-column>
<el-table-column label="是否执行" align="center" prop="fIsEnforcement">
<!-- 不明确什么意思,先去掉 -->
<!-- <el-table-column label="是否执行" align="center" prop="fIsEnforcement">
<template slot-scope="scope">
<span v-if="scope.row.fIsEnforcement == '1'">是</span>
<span v-else-if="scope.row.fIsEnforcement == '0'">否</span>
<span v-else>-</span>
</template>
</el-table-column>
</el-table-column> -->
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="150">
<template slot-scope="scope">
<el-button
......@@ -231,7 +232,8 @@
</el-form-item>
</el-col>
<el-col :span="12">
<!-- 不明确什么意思,先去掉 -->
<!-- <el-col :span="12">
<el-form-item label="是否执行" prop="fIsEnforcement">
<el-select
v-model="form.fIsEnforcement"
......@@ -242,7 +244,7 @@
<el-option label="否" value="0" />
</el-select>
</el-form-item>
</el-col>
</el-col> -->
<el-col :span="12" v-if="$parent.$parent.$parent.form.fDoscNeedExecute == '1'">
<el-form-item label="处罚措施" prop="fEnforcementType">
......@@ -362,7 +364,6 @@
}
},
created(){
this.$parent.$parent.$parent.form.fHazardsNum = this.refList.length;
if(this.fCheckCode){
this.queryParams.fCheckCode = this.fCheckCode;
this.getList();
......@@ -406,6 +407,7 @@
this.loading = true;
listRef(this.queryParams).then(response => {
this.refList = response.rows;
this.$parent.$parent.$parent.form.fHazardsNum = this.refList.length;
this.total = response.total;
this.loading = false;
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment