|
@@ -172,7 +172,7 @@
|
|
|
<p>{{item.lookType?'收起':'展开'}}</p>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div class="for-big-box for-big-box-special" v-for="(item2,index2) in item.checkHazardDtoList">
|
|
|
+ <div class="for-big-box for-big-box-special" v-if="item.lookType" v-for="(item2,index2) in item.checkHazardDtoList">
|
|
|
<el-form-item label="检查项目" label-width="123px">
|
|
|
<el-radio-group v-model="item2.checkFlag" style="margin-right: 20px;" disabled>
|
|
|
<el-radio :label="1">符合</el-radio>
|
|
@@ -194,7 +194,7 @@
|
|
|
<p v-else style="max-width:300px;overflow: hidden;text-overflow:ellipsis;white-space:nowrap;">{{data.labelName}}</p>
|
|
|
</template>
|
|
|
</el-cascader>
|
|
|
- <p class="button-p" @click="addDialogOpen(true,item2)">{{item2.rectifyStatus==1?'已完成':(item2.rectifyStatus==2?'待整改':(item2.rectifyStatus==3?'待复核':(item2.rectifyStatus==4?'暂无法整改':'')))}} <i class="el-icon-d-arrow-right"></i></p>
|
|
|
+ <p class="button-p" v-if="item2.checkFlag==0" @click="addDialogOpen(true,item2)">{{item2.rectifyStatus==1?'已完成':(item2.rectifyStatus==2?'待整改':(item2.rectifyStatus==3?'待复核':(item2.rectifyStatus==4?'暂无法整改':'')))}} <i class="el-icon-d-arrow-right"></i></p>
|
|
|
</el-form-item>
|
|
|
<el-form-item v-if="item2.checkFlag==0" label="隐患等级" label-width="123px">
|
|
|
<el-select v-model="item2.hazardLevel" clearable placeholder="请选择隐患等级" style="width: 408px" disabled>
|
|
@@ -281,6 +281,14 @@ import { getToken } from '@/utils/auth'
|
|
|
//查询详情
|
|
|
findCheckManage(){
|
|
|
findCheckManage({id:this.propsInfoData.id}).then(response => {
|
|
|
+ if(response.data.checkHazardInfoVoList[0]){
|
|
|
+ response.data.checkHazardInfoVoList.forEach(function(item) {
|
|
|
+ item.lookType = true;
|
|
|
+ item.checkHazardDtoList.forEach(function(item2) {
|
|
|
+ item2.hazardCheckCode=item2.code
|
|
|
+ })
|
|
|
+ })
|
|
|
+ }
|
|
|
this.$set(this,'addForm',response.data);
|
|
|
});
|
|
|
},
|