Kxc0822a
2022-03-30 4b6695b7bc2f79f8aa67cc151563d03852c8fc7e
重大
已修改2个文件
30 ■■■■■ 文件已修改
src/views/contingencyplan/index.vue 21 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/safetyproduction/feature.vue 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/contingencyplan/index.vue
@@ -126,7 +126,7 @@
          { required: true, message: "预案名称不能为空", trigger: "change" },
        ],
        remark: [
          { required: true, message: "责任人不能为空", trigger: "blur" },
          { required: true, message: "备注不能为空", trigger: "blur" },
        ],
      },
    };
@@ -215,11 +215,6 @@
                  message: "新增成功",
                  title: "成功",
                });
              } else {
                this.$message({
                  type: "warning",
                  message: res.data.message,
                });
              }
            });
          }
@@ -234,11 +229,6 @@
                message: "编辑成功",
                title: "成功",
              });
            } else {
              this.$message({
                type: "warning",
                message: res.data.message,
              });
            }
          });
        }
@@ -246,6 +236,12 @@
      });
    },
    deleteById(val) {
        this.$confirm('确认删除吗','提示', {
            confirmButtonText: '确认',
            cancelButtonText: '取消',
            type: 'warning'
        })
            .then(()=>{
      emergencyPlanDel({ id: val }).then(() => {
        this.emergencyPlan();
        this.$notify({
@@ -255,6 +251,9 @@
          duration: 2000,
        });
      });
            })
            .catch(error =>{
            });
    },
    find() {
      this.emergencyPlan();
src/views/safetyproduction/feature.vue
@@ -303,6 +303,12 @@
      });
    },
    deleteById(val) {
        this.$confirm('确认删除吗','提示', {
            confirmButtonText: '确认',
            cancelButtonText: '取消',
            type: 'warning'
        })
            .then(()=>{
      elementManagementDel({id:val}).then((res) => {
        if (res.data.code == 200) {
          this.elementManagementL();
@@ -314,6 +320,9 @@
          });
        }
      });
            })
            .catch(error =>{
            });
    },
  find(){
     this.elementManagementL();