企业标准-导入前判断
This commit is contained in:
+6
-1
@@ -929,7 +929,7 @@
|
|||||||
accept=".ZIP, .zip"
|
accept=".ZIP, .zip"
|
||||||
:before-upload="beginImportFile"
|
:before-upload="beginImportFile"
|
||||||
:on-success="importFileSuccess"
|
:on-success="importFileSuccess"
|
||||||
:show-file-list="false"
|
:show-file-list="true"
|
||||||
>
|
>
|
||||||
<div style="padding: 20px 0">
|
<div style="padding: 20px 0">
|
||||||
<i class="el-icon-upload" style="color: #3399ff"></i>
|
<i class="el-icon-upload" style="color: #3399ff"></i>
|
||||||
@@ -4471,6 +4471,11 @@ export default {
|
|||||||
},
|
},
|
||||||
// 点击导入标准
|
// 点击导入标准
|
||||||
addImportModal(flag) {
|
addImportModal(flag) {
|
||||||
|
if(this.selectSarMenu.id === undefined){
|
||||||
|
this.importFailed = true;
|
||||||
|
this.importForm.content = '请选择需要导入的目录'
|
||||||
|
return
|
||||||
|
}
|
||||||
this.importModalshowflag = true
|
this.importModalshowflag = true
|
||||||
this.showUploadlist = true
|
this.showUploadlist = true
|
||||||
this.importExcelUrl = '/api/lawss/sarBussionessStand/importSarBussionessStandFile?menuId=' + this.selectSarMenu.id + '&userId=' + this.$store.getters.userInfo.userId
|
this.importExcelUrl = '/api/lawss/sarBussionessStand/importSarBussionessStandFile?menuId=' + this.selectSarMenu.id + '&userId=' + this.$store.getters.userInfo.userId
|
||||||
|
|||||||
Reference in New Issue
Block a user