diff --git a/src/pages/regulatoryRepository/enterpriseStandardDatabase/components/EnterpriseStandardDatabase.vue b/src/pages/regulatoryRepository/enterpriseStandardDatabase/components/EnterpriseStandardDatabase.vue index 5033e3cf7..5813929e4 100644 --- a/src/pages/regulatoryRepository/enterpriseStandardDatabase/components/EnterpriseStandardDatabase.vue +++ b/src/pages/regulatoryRepository/enterpriseStandardDatabase/components/EnterpriseStandardDatabase.vue @@ -929,7 +929,7 @@ accept=".ZIP, .zip" :before-upload="beginImportFile" :on-success="importFileSuccess" - :show-file-list="false" + :show-file-list="true" >
@@ -4471,6 +4471,11 @@ export default { }, // 点击导入标准 addImportModal(flag) { + if(this.selectSarMenu.id === undefined){ + this.importFailed = true; + this.importForm.content = '请选择需要导入的目录' + return + } this.importModalshowflag = true this.showUploadlist = true this.importExcelUrl = '/api/lawss/sarBussionessStand/importSarBussionessStandFile?menuId=' + this.selectSarMenu.id + '&userId=' + this.$store.getters.userInfo.userId