From f8cb4519363640a36cf5c5818f7f647ad13b507f Mon Sep 17 00:00:00 2001 From: lyfO_o <764716047@qq.com> Date: 星期六, 02 四月 2022 10:29:24 +0800 Subject: [PATCH] Merge remote-tracking branch 'remotes/origin/shf' into master --- 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