From ea20ca083f7e5a5d2ed7521f3a75209d4516f6c7 Mon Sep 17 00:00:00 2001 From: shj <1790240199@qq.com> Date: 星期五, 01 四月 2022 16:09:33 +0800 Subject: [PATCH] 自查清单 --- src/views/safetyproduction/reviewXG.vue | 18 +++++++++++++++--- 1 files changed, 15 insertions(+), 3 deletions(-) diff --git a/src/views/safetyproduction/reviewXG.vue b/src/views/safetyproduction/reviewXG.vue index 483b110..84e1d8f 100644 --- a/src/views/safetyproduction/reviewXG.vue +++ b/src/views/safetyproduction/reviewXG.vue @@ -192,6 +192,8 @@ name: "", remark: "", }, + name:"", + typeid:'', rules: { name: [ { required: true, message: "说明不能为空", trigger: "change" }, @@ -199,7 +201,9 @@ }; }, created() { - this.id = this.$route.query.id; + this.id = this.$route.query.idX; + this.typeid=this.$route.query.id; + this.name = this.$route.query.name this.safeT(this.id); }, methods: { @@ -260,7 +264,11 @@ title: "成功", }); this.$router.push({ - path:"/new" + path:"/new", + query:{ + name:this.name, + id:this.typeid + } }) } else { this.$message({ @@ -272,7 +280,11 @@ }, back(){ this.$router.push({ - path:"/new" + path:"/new", + query:{ + name:this.name, + id:this.typeid + } }) }, bacQx(){ -- Gitblit v1.9.2