From 17b1856f734744c81f529c7c031fc119ab8e7303 Mon Sep 17 00:00:00 2001 From: zyn Date: Tue, 4 Apr 2023 14:26:44 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=81=E4=B8=9A=E6=A0=87=E5=87=86-=E5=AF=BC?= =?UTF-8?q?=E5=85=A5=E5=89=8D=E5=88=A4=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/EnterpriseStandardDatabase.vue | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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