lyfO_o
2022-04-06 1cc4eb09ce38f1f0db114b7d3570f92ceaf1d470
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: {
@@ -226,7 +230,8 @@
        this.index = this.form.deductionList.findIndex(
          (item) => item.name == val.name
        );
        this.formInline = val;
        // this.formInline = val;
          this.formInline=JSON.parse(JSON.stringify(val));
      }
    },
    listAdd() {
@@ -259,7 +264,11 @@
              title: "成功",
            });
            this.$router.push({
              path:"/new"
              path:"/new",
              query:{
                name:this.name,
                id:this.typeid
              }
            })
          } else {
            this.$message({
@@ -271,7 +280,11 @@
    },
    back(){
       this.$router.push({
              path:"/new"
              path:"/new",
               query:{
                name:this.name,
                id:this.typeid
              }
            })
    },
    bacQx(){
@@ -315,4 +328,4 @@
  background-color: #034ea2;
  border: 1px solid #034ea2;
}
</style>
</style>