diff --git a/jero-web/src/components/ImportFile/index.vue b/jero-web/src/components/ImportFile/index.vue index b949dc0b7..b14ee360d 100644 --- a/jero-web/src/components/ImportFile/index.vue +++ b/jero-web/src/components/ImportFile/index.vue @@ -3,7 +3,7 @@ @@ -33,14 +33,25 @@ type: String, default: '' }, + projectId:{ + type: String, + default: '' + }, }, data() { return { tokenHeader: {'X-Access-Token': Vue.ls.get(ACCESS_TOKEN)}, - importUrl: window._CONFIG['domianURL'] +'/'+ this.url.importZipUrl, cut: '', } }, + computed:{ + importUrl(){ + if (this.projectId){ + return window._CONFIG['domianURL'] +'/'+ this.url.importZipUrl+'?cut='+this.cut+'&projectId='+this.projectId + } + return window._CONFIG['domianURL'] +'/'+ this.url.importZipUrl+'?cut='+this.cut + }, + }, mounted() { let long = localStorage.getItem('language') this.cut = '' diff --git a/jero-web/src/components/layouts/TabLayout.vue b/jero-web/src/components/layouts/TabLayout.vue index 2c9c250b6..ecac1c01c 100644 --- a/jero-web/src/components/layouts/TabLayout.vue +++ b/jero-web/src/components/layouts/TabLayout.vue @@ -90,7 +90,8 @@ this.$route.path == '/system/MessageDetails' || this.$route.path == '/ProcessMapping' || this.$route.path == '/virtualListDetails' || - this.$route.path == '/ProjectDetails') { + this.$route.path == '/ProjectDetails' || + this.$route.path == '/handshakeProcess') { return false } else { return true diff --git a/jero-web/src/components/processForm/index.vue b/jero-web/src/components/processForm/index.vue index 1b3f98735..61576bc93 100644 --- a/jero-web/src/components/processForm/index.vue +++ b/jero-web/src/components/processForm/index.vue @@ -1,39 +1,5 @@