From d5e1d77a47f7684d9681357c0ffec37f01aeb52e Mon Sep 17 00:00:00 2001 From: shj <1790240199@qq.com> Date: 星期四, 31 三月 2022 14:23:13 +0800 Subject: [PATCH] 自查清单 --- src/views/safetyproduction/review.vue | 16 +++++++++++----- 1 files changed, 11 insertions(+), 5 deletions(-) diff --git a/src/views/safetyproduction/review.vue b/src/views/safetyproduction/review.vue index 372143b..9539081 100644 --- a/src/views/safetyproduction/review.vue +++ b/src/views/safetyproduction/review.vue @@ -132,7 +132,7 @@ </el-row> <div v-if=" - list.safetyInspectionItemResult == '0' || null ? false : true + list.safetyInspectionItemResult == 1 " > <el-row style="padding: 15px 1%"> @@ -198,7 +198,7 @@ </div> </div> - <el-dialog title="扣分详情" :visible.sync="dialogVisible" width="30%"> + <el-dialog title="扣分详情" :visible.sync="dialogVisible" :close-on-click-modal="false" width="30%"> <el-form ref="form" :model="form" label-width="54px"> <el-form-item label="说明"> <el-input disabled="true" v-model="form.name"></el-input> @@ -240,12 +240,12 @@ }; }, created() { - this.id = this.$route.query; - this.itemInfo(this.$route.query); + this.id = this.$route.query.id; + this.itemInfo(this.$route.query.idC); }, methods: { itemInfo(id) { - safetySelfInspectionItemInfo(id).then((res) => { + safetySelfInspectionItemInfo({id:id}).then((res) => { this.list = res.data.result; }); }, @@ -260,6 +260,9 @@ }); this.$router.push({ path: "/gojudging", + query:{ + id:this.id + } }); } }); @@ -267,6 +270,9 @@ back() { this.$router.push({ path: "/gojudging", + query:{ + id:this.id + } }); }, handleClick(data) { -- Gitblit v1.9.2