From 3e35bccad04e3ef1d601b4c00a32b8b2d92f03bd Mon Sep 17 00:00:00 2001 From: caoyang Date: Sun, 24 Apr 2022 21:37:45 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8B=86=E5=88=86=E4=BA=BA=E5=91=98=E5=9B=9E?= =?UTF-8?q?=E6=98=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jero-web/src/components/PersonnelSelection/index.vue | 4 +++- jero-web/src/components/SplitImport/index.vue | 7 ++++++- jero-web/src/components/SplitUpload/index.vue | 2 +- .../splitting/modules/SplitAddForm.vue | 8 +++++--- .../documentManage/splitting/modules/SplitDetail.vue | 12 ++++++------ .../src/views/documentManage/tags/dialog/TagForm.vue | 4 ++-- 6 files changed, 23 insertions(+), 14 deletions(-) diff --git a/jero-web/src/components/PersonnelSelection/index.vue b/jero-web/src/components/PersonnelSelection/index.vue index 7a7ca0779..1e541beb1 100644 --- a/jero-web/src/components/PersonnelSelection/index.vue +++ b/jero-web/src/components/PersonnelSelection/index.vue @@ -32,6 +32,7 @@ checkable :loading="loading" :tree-data="gData" + v-model:checkedKeys="selectedKey" @select="onSelect" @check="onCheck" @expand="onExpand" @@ -69,7 +70,7 @@ userIds: [], searchModel:'', defaultExpandedKeys: [], - defaultCheckedKeys: [] + defaultCheckedKeys: [], } }, mounted() { @@ -167,6 +168,7 @@ this.gData = res.result this.defaultExpandedKeys = [this.departId] this.defaultCheckedKeys = this.personneQuery[this.query.db_field_name + '_id'] ? this.personneQuery[this.query.db_field_name + '_id'].split(',') : [] + this.selectedKey = this.personneQuery[this.query.db_field_name + '_id'] ? this.personneQuery[this.query.db_field_name + '_id'].split(',') : [] console.log(this.defaultCheckedKeys) this.treeVisible = true } else { diff --git a/jero-web/src/components/SplitImport/index.vue b/jero-web/src/components/SplitImport/index.vue index d26d54337..f616626eb 100644 --- a/jero-web/src/components/SplitImport/index.vue +++ b/jero-web/src/components/SplitImport/index.vue @@ -1,5 +1,5 @@