对接法规清单的导入导出模板下载

This commit is contained in:
qq787203167
2022-05-05 16:31:16 +08:00
parent ba709306e6
commit d85d595388
3 changed files with 21 additions and 3 deletions
@@ -44,6 +44,10 @@
paramsTemplateId: {
type: String,
default: ''
},
projectLibraryId: {
type: String,
default: ''
}
},
data() {
@@ -60,6 +64,8 @@
return window._CONFIG['domianURL'] + '/' + this.url.importZipUrl + '?cut=' + this.cut + '&dummyInventoryBaseId=' + this.dummyInventoryBaseId
} else if (this.paramsTemplateId) {
return window._CONFIG['domianURL'] + '/' + this.url.importZipUrl + '?cut=' + this.cut + '&paramsTemplateId=' + this.paramsTemplateId
} else if (this.projectLibraryId) {
return window._CONFIG['domianURL'] + '/' + this.url.importZipUrl + '?cut=' + this.cut + '&projectLibraryId=' + this.projectLibraryId
}
return window._CONFIG['domianURL'] + '/' + this.url.importZipUrl + '?cut=' + this.cut
}