Kxc0822a
2022-03-30 4b6695b7bc2f79f8aa67cc151563d03852c8fc7e
src/views/safetyproduction/feature.vue
@@ -303,17 +303,26 @@
      });
    },
    deleteById(val) {
      elementManagementDel({id:val}).then((res) => {
        if (res.data.code == 200) {
          this.elementManagementL();
          this.$notify({
            title: "成功",
            message: "删除成功",
            type: "success",
            duration: 2000,
          });
        }
      });
        this.$confirm('确认删除吗','提示', {
            confirmButtonText: '确认',
            cancelButtonText: '取消',
            type: 'warning'
        })
            .then(()=>{
               elementManagementDel({id:val}).then((res) => {
                 if (res.data.code == 200) {
                   this.elementManagementL();
                   this.$notify({
                     title: "成功",
                     message: "删除成功",
                     type: "success",
                     duration: 2000,
                   });
                 }
               });
            })
            .catch(error =>{
            });
    },
  find(){
     this.elementManagementL();
@@ -334,4 +343,4 @@
  background-color: #034ea2;
  border: 1px solid #034ea2;
}
</style>
</style>