From 0c66db5846e603df000c3c05d498bd6cf71ee93a Mon Sep 17 00:00:00 2001 From: super_liu <396572590@qq.com> Date: Sat, 13 Nov 2021 23:54:09 +0800 Subject: [PATCH] feat: There is no way the, --- .../components/EnterpriseStandardDatabase.vue | 5 +++++ .../foreignRegulationsDatabase/index.vue | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/src/pages/regulatoryRepository/enterpriseStandardDatabase/components/EnterpriseStandardDatabase.vue b/src/pages/regulatoryRepository/enterpriseStandardDatabase/components/EnterpriseStandardDatabase.vue index e256ee2a3..32e461b03 100644 --- a/src/pages/regulatoryRepository/enterpriseStandardDatabase/components/EnterpriseStandardDatabase.vue +++ b/src/pages/regulatoryRepository/enterpriseStandardDatabase/components/EnterpriseStandardDatabase.vue @@ -3550,6 +3550,11 @@ export default { this.sarBussionessSearch.pageSize = this.$store.getters.userInfo.configContent const data = item || this.lawsStandInfoSearch const formData = {...data} + if (!item) { + formData.menuId = this.sarBussionessSearch.menuId + } else { + formData.menuId = this.selectSarMenu.id + } if (nodeId !== undefined) { formData.menuId = nodeId } diff --git a/src/pages/regulatoryRepository/foreignRegulationsDatabase/index.vue b/src/pages/regulatoryRepository/foreignRegulationsDatabase/index.vue index e98ab1b4b..ee97c48cd 100644 --- a/src/pages/regulatoryRepository/foreignRegulationsDatabase/index.vue +++ b/src/pages/regulatoryRepository/foreignRegulationsDatabase/index.vue @@ -4088,6 +4088,11 @@ this.lawsStandInfoSearch.pageSize = this.$store.getters.userInfo.configContent const data = item || this.lawsStandInfoSearch const formData = {...data} + if (!item) { + formData.menuId = this.sarBussionessSearch.menuId + } else { + formData.menuId = this.selectSarMenu.id + } formData.menuId = this.selectSarMenu.id // 处理我的收藏和个性化标签传参 if (this.selectSarMenu.id === 'wdsc') {