From dc0461e45bade381f275067b1bb5de412a25112b Mon Sep 17 00:00:00 2001 From: yanyizhou <2311759275@qq.com> Date: Sun, 28 Nov 2021 11:11:59 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B4=A3=E4=BB=BB=E9=83=A8=E9=97=A8=EF=BC=8C?= =?UTF-8?q?=E9=80=89=E4=B8=AD=E7=88=B6=E8=8A=82=E7=82=B9=E4=B8=8D=E8=83=BD?= =?UTF-8?q?=E8=BF=9E=E5=B8=A6=E7=9D=80=E5=AD=90=E8=8A=82=E7=82=B9=E9=80=89?= =?UTF-8?q?=E4=B8=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/mechanismTree/index.vue | 1 + .../domesticStandardsAndRegulations/index.vue | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/components/mechanismTree/index.vue b/src/components/mechanismTree/index.vue index d295a0504..b45be5511 100644 --- a/src/components/mechanismTree/index.vue +++ b/src/components/mechanismTree/index.vue @@ -23,6 +23,7 @@ class="filter-tree tree-line" :data="treeData" :props="defaultProps" + :check-strictly="true" :current-node-key="nodeKeyId" node-key="id" :filter-node-method="filterNode" diff --git a/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue b/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue index 0517854dd..25c30ffee 100644 --- a/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue +++ b/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue @@ -5386,18 +5386,18 @@ export default { }, drawerCheckZRBM(data) { - console.log("data", data); + console.log("5389", data); let idList = '' let nameList = '' data.forEach(item => { - if (item.hasChild === '0') { + // if (item.hasChild === '0') { if (nameList.length > 0) { nameList += ',' idList += ',' } idList += item.id nameList += item.name - } + // } }) this.sarStandardsInfoEO.ZRBMId = idList;