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') {