From 73c4bdf9f455cb5c15dc6e5466b82f76f815beb4 Mon Sep 17 00:00:00 2001 From: yanyizhou <2311759275@qq.com> Date: Mon, 22 Nov 2021 10:48:30 +0800 Subject: [PATCH 01/18] =?UTF-8?q?=E5=B7=A6=E4=BE=A7=E6=A0=91=E8=8F=9C?= =?UTF-8?q?=E5=8D=95=E8=A6=81=E5=B1=95=E5=BC=80=EF=BC=8C=E8=8F=9C=E5=8D=95?= =?UTF-8?q?=E9=87=8C=E7=9A=84=E5=AD=90=E6=A0=91=E9=BB=98=E8=AE=A4=E6=94=B6?= =?UTF-8?q?=E8=B5=B7=EF=BC=8C=E5=8F=AA=E6=9C=89=E7=AC=AC=E4=B8=80=E5=B1=82?= =?UTF-8?q?=E5=AD=90=E6=A0=91=E5=B1=95=E5=BC=80=20=E5=92=8C=E4=BB=96?= =?UTF-8?q?=E9=A2=84=E6=9C=9F=E7=9A=84=E7=BB=93=E6=9E=9C=E7=9A=84=E5=88=86?= =?UTF-8?q?=E6=AF=AB=E4=B8=8D=E5=B7=AE=EF=BC=8C=E5=8A=A9=E5=8A=9B=E6=AF=8F?= =?UTF-8?q?=E4=B8=80=E4=B8=AA=E6=A2=A6=E6=83=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../domesticStandardsAndRegulations/index.vue | 1 + .../components/EnterpriseStandardDatabase.vue | 1 + .../regulatoryRepository/foreignRegulationsDatabase/index.vue | 1 + .../foreignStandardsAndRegulations/index.vue | 1 + 4 files changed, 4 insertions(+) diff --git a/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue b/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue index 38acdcbe4..f111f0532 100644 --- a/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue +++ b/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue @@ -17,6 +17,7 @@ :indent="0" :props="props" :data="treeList" + default-expanded-keys="['64df1d5522bb49c09af2']" highlight-current @node-click="treeClick" :filter-node-method="filterNode" diff --git a/src/pages/regulatoryRepository/enterpriseStandardDatabase/components/EnterpriseStandardDatabase.vue b/src/pages/regulatoryRepository/enterpriseStandardDatabase/components/EnterpriseStandardDatabase.vue index 505e10a72..93e63f2c8 100644 --- a/src/pages/regulatoryRepository/enterpriseStandardDatabase/components/EnterpriseStandardDatabase.vue +++ b/src/pages/regulatoryRepository/enterpriseStandardDatabase/components/EnterpriseStandardDatabase.vue @@ -20,6 +20,7 @@ :indent="0" :props="props" :data="treeList" + default-expanded-keys="['22179d54d4e640098e30']" highlight-current @node-click="treeClick" :filter-node-method="filterNode" diff --git a/src/pages/regulatoryRepository/foreignRegulationsDatabase/index.vue b/src/pages/regulatoryRepository/foreignRegulationsDatabase/index.vue index 064cd101c..266d15605 100644 --- a/src/pages/regulatoryRepository/foreignRegulationsDatabase/index.vue +++ b/src/pages/regulatoryRepository/foreignRegulationsDatabase/index.vue @@ -18,6 +18,7 @@ :indent="0" :props="props" :data="treeList" + default-expanded-keys="['64df1d5522bb49c09af6']" highlight-current @node-click="treeClick" :filter-node-method="filterNode" diff --git a/src/pages/regulatoryRepository/foreignStandardsAndRegulations/index.vue b/src/pages/regulatoryRepository/foreignStandardsAndRegulations/index.vue index 0ca0a8d12..e5190b838 100644 --- a/src/pages/regulatoryRepository/foreignStandardsAndRegulations/index.vue +++ b/src/pages/regulatoryRepository/foreignStandardsAndRegulations/index.vue @@ -18,6 +18,7 @@ :indent="0" :props="props" :data="treeList" + default-expanded-keys="['22179d54d4e640098e29']" highlight-current @node-click="treeClick" :filter-node-method="filterNode" From d6179082973f0c616d393e070961f4af6ab75086 Mon Sep 17 00:00:00 2001 From: zhutianqi Date: Mon, 22 Nov 2021 11:02:18 +0800 Subject: [PATCH 02/18] commit --- src/components/roleTree/index.vue | 119 +++++++++++++++++------------- 1 file changed, 67 insertions(+), 52 deletions(-) diff --git a/src/components/roleTree/index.vue b/src/components/roleTree/index.vue index 9abd493f7..d630fa787 100644 --- a/src/components/roleTree/index.vue +++ b/src/components/roleTree/index.vue @@ -17,6 +17,7 @@ @@ -25,7 +26,6 @@ node-key="id" style="height: 100%; overflow: auto;" class="filter-tree tree-line" - :class="treeClass" @check-change="checkChange" :data="treeData" :props="defaultProps" @@ -50,6 +50,7 @@ class="filter-tree tree-line" :data="treeData1" :props="defaultProps" + @check-change="checkChange2" :default-checked-keys="nodeList" highlight-current check-strictly @@ -74,6 +75,15 @@