shj
2022-03-31 6e3961ad82e2dfb204b79caf50c6637c15cfbe8d
src/views/safetyproduction/feature.vue
@@ -139,7 +139,7 @@
        <el-button type="primary" class="btns" @click="AddelementManagement()"
          >确 定</el-button
        >
        <el-button @click="dialogVisible = false">取 消</el-button>
        <el-button @click="cancel()">取 消</el-button>
      </span>
    </el-dialog>
  </div>
@@ -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,13 @@
          });
        }
      });
            })
            .catch(error =>{
            });
    },
      cancel(){
          this.elementManagementL();
          this.dialogVisible = false;
    },
  find(){
     this.elementManagementL();