From c17be85e143cdc5912c8059dd9fb062139ec79f0 Mon Sep 17 00:00:00 2001 From: zhaomeijing Date: Fri, 29 Apr 2022 17:14:00 +0800 Subject: [PATCH] =?UTF-8?q?[=E5=8F=82=E6=95=B0=E9=A1=B9=E5=88=97=E8=A1=A8]?= =?UTF-8?q?=20=E5=AF=BC=E5=85=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jero-web/src/components/ImportFile/index.vue | 6 ++++++ jero-web/src/views/parameter/parameterlist/index.vue | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/jero-web/src/components/ImportFile/index.vue b/jero-web/src/components/ImportFile/index.vue index c90cabb98..6a8cdc022 100644 --- a/jero-web/src/components/ImportFile/index.vue +++ b/jero-web/src/components/ImportFile/index.vue @@ -40,6 +40,10 @@ dummyInventoryBaseId: { type: String, default: '' + }, + paramsTemplateId: { + type: String, + default: '' } }, data() { @@ -54,6 +58,8 @@ 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 + } else if (this.paramsTemplateId) { + return window._CONFIG['domianURL'] + '/' + this.url.importZipUrl + '?cut=' + this.cut + '¶msTemplateId=' + this.paramsTemplateId } return window._CONFIG['domianURL'] + '/' + this.url.importZipUrl + '?cut=' + this.cut } diff --git a/jero-web/src/views/parameter/parameterlist/index.vue b/jero-web/src/views/parameter/parameterlist/index.vue index 1d0057fc2..3d1864209 100644 --- a/jero-web/src/views/parameter/parameterlist/index.vue +++ b/jero-web/src/views/parameter/parameterlist/index.vue @@ -53,7 +53,7 @@ {{$t('templateDownload')}}
- +