diff --git a/jero-web/src/components/ImportFile/index.vue b/jero-web/src/components/ImportFile/index.vue index 138fe4892..58390b6dd 100644 --- a/jero-web/src/components/ImportFile/index.vue +++ b/jero-web/src/components/ImportFile/index.vue @@ -50,6 +50,10 @@ type: String, default: '' }, + version: { + type: String, + default: '' + }, paramsTemplateId: { type: String, default: '' @@ -73,6 +77,9 @@ computed: { importUrl() { if (this.projectId) { + if(this.version){ + return window._CONFIG['domianURL'] + '/' + this.url.importZipUrl + '?cut=' + this.cut + '&projectId=' + this.projectId +'&version=' + this.version + } return window._CONFIG['domianURL'] + '/' + this.url.importZipUrl + '?cut=' + this.cut + '&projectId=' + this.projectId } else if (this.dummyInventoryBaseId) { return window._CONFIG['domianURL'] + '/' + this.url.importZipUrl + '?cut=' + this.cut + '&dummyInventoryBaseId=' + this.dummyInventoryBaseId diff --git a/jero-web/src/views/projectManagement/components/rxswinModel.vue b/jero-web/src/views/projectManagement/components/rxswinModel.vue index e20af5f48..3d81677fc 100644 --- a/jero-web/src/views/projectManagement/components/rxswinModel.vue +++ b/jero-web/src/views/projectManagement/components/rxswinModel.vue @@ -100,8 +100,9 @@
- +