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 1/2] =?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(',') From 4a20d9ccdf1ab0adb0ecc1b1559dd5033dba9a9a Mon Sep 17 00:00:00 2001 From: baoyu <102349094+Bytq@users.noreply.github.com> Date: Wed, 29 May 2024 18:17:33 +0800 Subject: [PATCH 2/2] =?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 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/pages/regulatoryRepository/enterpriseStandardDatabase/components/EnterpriseStandardDatabase.vue b/src/pages/regulatoryRepository/enterpriseStandardDatabase/components/EnterpriseStandardDatabase.vue index eff739a16..2873708ca 100644 --- a/src/pages/regulatoryRepository/enterpriseStandardDatabase/components/EnterpriseStandardDatabase.vue +++ b/src/pages/regulatoryRepository/enterpriseStandardDatabase/components/EnterpriseStandardDatabase.vue @@ -1996,6 +1996,7 @@ 0) { this.sarBussionessStandEO.TXLBBUSS = checkedData.map(item => item.menuNames).join(',') - this.sarBussionessStandEO.menuId = checkedData.map(item => item.menuId).join(',') - this.sarBussionessStandEO.txlbId = checkedData.map(item => item.menuId).join(',') this.sarBussionessStandEO.treeType = checkedData.map(item => item.treeType).join(',') } else { if (checkedData.parentId == null || checkedData.parentId === '') {