lyfO_o
2022-04-02 f8cb4519363640a36cf5c5818f7f647ad13b507f
src/views/safetyproduction/checklistself.vue
@@ -120,7 +120,6 @@
    async safetySelfInspectionL() {
      var res = await safetySelfInspectionList(this.listQuery).then((res) => {
        if (res.data.code == 200) {
          console.log(res.data);
          this.list = res.data.result.records;
          this.recordTotal = res.data.result.total;
          this.pageSize = res.data.result.size;
@@ -129,7 +128,6 @@
      });
    },
    handleClick(val) {
      console.log(val)
     if(val.status==-1){
        this.$router.push({
        path:"/new",
@@ -167,6 +165,11 @@
      })
    },
    Del(id){
        this.$confirm('确认删除吗','提示', {
            confirmButtonText: '确认',
            cancelButtonText: '取消',
            type: 'warning'
        }).then(()=>{
      safetySelfInspectionDel({id:id}).then(res=>{
        if(res.data.code==200){
          this.safetySelfInspectionL();
@@ -179,6 +182,7 @@
        }
      })
    }
    )}
  },
};
</script>