From 004f47fd155ebfb45d16def623c4ecb7fa0361e7 Mon Sep 17 00:00:00 2001
From: Kxc0822a <kxc000822>
Date: Thu, 31 Mar 2022 17:43:11 +0800
Subject: [PATCH] 重大
---
src/views/safetyproduction/checklistself.vue | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/src/views/safetyproduction/checklistself.vue b/src/views/safetyproduction/checklistself.vue
index 5738976..dc7b8f3 100644
--- a/src/views/safetyproduction/checklistself.vue
+++ b/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>
--
Gitblit v1.9.2