shj
2022-04-01 ea20ca083f7e5a5d2ed7521f3a75209d4516f6c7
自查清单
已修改2个文件
26 ■■■■ 文件已修改
src/views/safetyproduction/new.vue 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/safetyproduction/reviewXG.vue 18 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/safetyproduction/new.vue
@@ -354,14 +354,18 @@
        this.$router.push({
          path: "/reviewXG",
          query: {
            id: data.safetyInspectionItemId,
            idX: data.safetyInspectionItemId,
            name:this.id,
            id:this.itemId
          },
        });
      } else {
        this.$router.push({
          path: "/reviewXG",
          query: {
            id: data.id,
            idX: data.id,
            name:this.id,
             id:this.itemId
          },
        });
      }
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(){