From b2c24bfd334bbac0bb02d93de6e865ef7084fb7d Mon Sep 17 00:00:00 2001 From: shj <1790240199@qq.com> Date: 星期四, 31 三月 2022 11:36:55 +0800 Subject: [PATCH] 自查清单 --- src/views/safetyproduction/review.vue | 14 ++++++++++---- 1 files changed, 10 insertions(+), 4 deletions(-) diff --git a/src/views/safetyproduction/review.vue b/src/views/safetyproduction/review.vue index 372143b..277f1b7 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 == 0 ? false : true " > <el-row style="padding: 15px 1%"> @@ -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