From 930b8403e74bdba2b7a8f3a38270a5227bf78995 Mon Sep 17 00:00:00 2001 From: zouyu <2723363702@qq.com> Date: 星期四, 24 八月 2023 17:54:45 +0800 Subject: [PATCH] modified: .env.development new file: src/api/chart/work/index.js renamed: src/api/home.js -> src/api/home/index.js modified: src/layout/components/Navbar.vue modified: src/router/index.js modified: src/views/CNAS/satisfactionSurveys/index.vue modified: src/views/chart/work/index.vue modified: src/views/home/index.vue --- src/views/basicData/index.vue | 13 +++++-------- 1 files changed, 5 insertions(+), 8 deletions(-) diff --git a/src/views/basicData/index.vue b/src/views/basicData/index.vue index 576920a..4ee318a 100644 --- a/src/views/basicData/index.vue +++ b/src/views/basicData/index.vue @@ -347,20 +347,17 @@ // 鑷畾涔� if (this.isAllSelect) { val.forEach((i) => { - let isExist = false; - this.deleteList.findIndex((c) => { - if (c === i.id) { - isExist = true; - } - }); - if (!isExist && i.id !== undefined) { + if (i.id !== undefined) { this.deleteList.push(i.id); + } else { + i.children.forEach((c) => { + this.deleteList.push(c.id); + }); } }); } else { this.deleteList.splice(0, this.deleteList.length); } - // 鑷畾涔夌粨鏉� }, //閫夋嫨鏌愯 selectTr(selection, row) { -- Gitblit v1.9.3