From d3e7923f5cc188da720ba9c3d6a536ae82e46f3c Mon Sep 17 00:00:00 2001
From: lyfO_o <764716047@qq.com>
Date: 星期四, 09 六月 2022 10:00:24 +0800
Subject: [PATCH] 删除

---
 src/views/safetyproduction/reviewXG.vue |   20 +++++++++++++++++---
 1 files changed, 17 insertions(+), 3 deletions(-)

diff --git a/src/views/safetyproduction/reviewXG.vue b/src/views/safetyproduction/reviewXG.vue
index 483b110..4598c5f 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(){
@@ -308,6 +320,8 @@
   width: 100%;
   background-color: white;
   border-radius: 5px;
+   height: 850px;
+  overflow-y:overlay;
 }
 .box-right-content {
   padding: 15px 0;

--
Gitblit v1.9.2