From 86b418663558157626079c4a2daf1834e5b3008e Mon Sep 17 00:00:00 2001 From: super_liu <396572590@qq.com> Date: Wed, 18 Aug 2021 17:56:12 +0800 Subject: [PATCH] feat: There is no way the --- .../domesticStandardsAndRegulations/index.vue | 7 ++++--- .../foreignStandardsAndRegulations/index.vue | 12 ++++-------- 2 files changed, 8 insertions(+), 11 deletions(-) diff --git a/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue b/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue index ff7742bf9..b66fc9787 100644 --- a/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue +++ b/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue @@ -2983,7 +2983,8 @@ export default { // 查询二级菜单 selectMenu() { this.$http.get('sarResource/ts-resource/getList', { - sorDivide: 'INLAND_STAND' + sorDivide: 'INLAND_STAND', + userId: this.$store.getters.userInfo.userId }, {}, res => { if (res.ok) { this.treeList = res.data @@ -3207,7 +3208,7 @@ export default { const exportURL = interfaceUrl + 'sarStandardsInfo/sar-standards-info/exportStandardsInfoExcel?' + - 'exportType=' + this.saveExportType + '&exportContent=' + this.selectedList.join(',') + '&exportName=' + this.exportName + '&standType=' + this.standType + 'exportType=' + this.saveExportType + '&exportContent=' + this.selectedList.join(',') + '&exportName=' + this.exportName + '&standType=' + this.standType + '&userId=' + this.$store.getters.userInfo.userId window.open(exportURL) this.$message.success('导出信息成功') this.exportLoading = false @@ -3238,7 +3239,7 @@ export default { // this.$message.success('导出信息成功') // window.open(interfaceUrl + 'sarStandardsInfo/sar-standards-info/exportStandardsInfoExcel?' + - 'exportType=' + this.saveExportType + '&exportContent=' + exportEOStr + '&exportName=' + this.exportName + '&standType=' + this.standType) + 'exportType=' + this.saveExportType + '&exportContent=' + exportEOStr + '&exportName=' + this.exportName + '&standType=' + this.standType + '&userId=' + this.$store.getters.userInfo.userId) this.$message.success('导出信息成功') this.exportLoading = false } diff --git a/src/pages/regulatoryRepository/foreignStandardsAndRegulations/index.vue b/src/pages/regulatoryRepository/foreignStandardsAndRegulations/index.vue index 7f3bea503..ff90ae8a6 100644 --- a/src/pages/regulatoryRepository/foreignStandardsAndRegulations/index.vue +++ b/src/pages/regulatoryRepository/foreignStandardsAndRegulations/index.vue @@ -2691,7 +2691,8 @@ export default { // 查询二级菜单 selectMenu () { this.$http.get('sarResource/ts-resource/getList', { - sorDivide: 'FOREIGN_STAND' + sorDivide: 'FOREIGN_STAND', + userId: this.$store.getters.userInfo.userId }, {}, res => { if (res.ok) { this.treeList = res.data @@ -2841,14 +2842,14 @@ export default { if (this.saveExportType === 'apart') { if (this.selectedList != null && this.selectedList !== '') { const exportURL = interfaceUrl + 'sarStandardsInfo/sar-standards-info/exportStandardsInfoExcel?' + - 'exportType=' + this.saveExportType + '&exportContent=' + this.selectedList.join(',') + '&exportName=' + this.exportName + '&standType=' + this.standType + 'exportType=' + this.saveExportType + '&exportContent=' + this.selectedList.join(',') + '&exportName=' + this.exportName + '&standType=' + this.standType + '&userId=' + this.$store.getters.userInfo.userId window.open(exportURL) this.$message.success('导出信息成功') } } else if (this.saveExportType === 'all') { let exportEOStr = JSON.stringify(this.SarExportSearchEo) - window.open(interfaceUrl+'sarStandardsInfo/sar-standards-info/exportStandardsInfoExcel?exportType=' + this.saveExportType + '&exportContent=' + exportEOStr + '&exportName=' + this.exportName + '&standType=' + this.standType) + window.open(interfaceUrl+'sarStandardsInfo/sar-standards-info/exportStandardsInfoExcel?exportType=' + this.saveExportType + '&exportContent=' + exportEOStr + '&exportName=' + this.exportName + '&standType=' + this.standType+ '&userId=' + this.$store.getters.userInfo.userId) this.$message.success('导出信息成功') } this.exportModelFlag = false @@ -3302,11 +3303,6 @@ export default { } formData.advanceSearchVOStr = JSON.stringify(advanceSearchVOList); - console.log("======") - console.log(formData.advanceSearchVOStr); - - - this.SarExportSearchEo = formData this.$http.get('sarStandardsInfo/sar-standards-info/getSarStandardsInfoPage', formData, {