From c7b88750eadc6739d23201fb2d73e24130e8cacb Mon Sep 17 00:00:00 2001 From: baoyu <102349094+Bytq@users.noreply.github.com> Date: Wed, 29 May 2024 17:55:46 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=20=E4=BC=81=E4=B8=9A?= =?UTF-8?q?=E6=A0=87=E5=87=86=E5=A4=9A=E9=80=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/EnterpriseStandardDatabase.vue | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/src/pages/regulatoryRepository/enterpriseStandardDatabase/components/EnterpriseStandardDatabase.vue b/src/pages/regulatoryRepository/enterpriseStandardDatabase/components/EnterpriseStandardDatabase.vue index 3aa0770a6..eff739a16 100644 --- a/src/pages/regulatoryRepository/enterpriseStandardDatabase/components/EnterpriseStandardDatabase.vue +++ b/src/pages/regulatoryRepository/enterpriseStandardDatabase/components/EnterpriseStandardDatabase.vue @@ -1994,7 +1994,7 @@ { this.$refs.menuTree.setCheckedKeys(checkedObj); }) - this.editCheckd = '' + this.editCheckd = [] this.mobileModal = false }, // 移动标准提交 @@ -3738,7 +3738,7 @@ export default { const search = {} // 取最外层目录id search.oldMenuId = this.selectSarMenu.id - search.menuId = this.editCheckd + search.menuId = this.editCheckd.join(',') search.treeType = this.selectSarMenu.treeType // search.oldTreeType = this.selectSarMenu.treeType // search.NewTreeType = this.NewTreeType @@ -3760,7 +3760,7 @@ export default { this.$nextTick(() => { this.$refs.menuTree.setCheckedKeys(checkedObj); }) - this.editCheckd = '' + this.editCheckd = [] this.mobileModal = false this.getBussionStandTable() }, e => { @@ -3771,12 +3771,12 @@ export default { const checkedObj = [] const search = {} // 取最外层目录id - search.newStandCategoryId = this.editCheckd + search.newStandCategoryId = this.editCheckd.join(',') search.standIds = [] for (let i = 0; i < this.selectedList.length; i++) { search.standIds.push(this.selectedList[i]) } - if(search.newStandCategoryId == '' || search.newStandCategoryId == null || search.newStandCategoryId == undefined) { + if(search.newStandCategoryId == '' || search.newStandCategoryId == null || search.newStandCategoryId == undefined || search.newStandCategoryId == []) { this.$message.error('请至少选择一个节点') }else{ search.standIds = search.standIds.join(',')