From 10c5e56699e253e670a8b63688299fe80aa5070a Mon Sep 17 00:00:00 2001 From: wyx Date: Fri, 24 Feb 2023 15:29:06 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E5=A2=9E=E5=8A=A0=E9=A1=B9=E7=9B=AE?= =?UTF-8?q?=E5=88=A0=E9=99=A4=E5=85=A8=E9=83=A8=E9=98=B6=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/projectcenter/TaskAdd.vue | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/src/views/projectcenter/TaskAdd.vue b/src/views/projectcenter/TaskAdd.vue index c4303b9c..68f0c384 100644 --- a/src/views/projectcenter/TaskAdd.vue +++ b/src/views/projectcenter/TaskAdd.vue @@ -394,7 +394,7 @@
提示 -
+
您确定要删除所有阶段吗? @@ -699,7 +699,14 @@ const closeDelete = () => { }; // 删除所有阶段 const removeAllLevel = () => { - + console.log(projectInfo.value.stageList) + projectInfo.value.stageList.forEach(t => { + if(t.id!=='0'){ + t.checked = false; + t.deleted = true; + } + }) + cancelModal.value = false; }; //全选任务或全不选任务 const selectRowAll = () => { @@ -723,6 +730,7 @@ const closeDeAll = () => { //暂存 const temporaryStorage = async () => { templateLoading.value = true + console.log(projectInfo.value) await request(PROJECT_DETAIL_MODIFY, projectInfo.value) await getTask() message.success("暂存成功");