cloud-web-corejs-haier 1.0.7 → 1.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "cloud-web-corejs-haier",
3
3
  "private": false,
4
- "version": "1.0.7",
4
+ "version": "1.0.8",
5
5
  "scripts": {
6
6
  "dev": "vue-cli-service serve",
7
7
  "lint": "eslint --ext .js,.vue src",
@@ -637,10 +637,11 @@ wfContentMixin = {
637
637
  let token = getToken();
638
638
  let Authorization = `Bearer ${token}`;
639
639
  let prefix = this.current_prefix.substring(1);
640
+ let baseApi = process.env.VUE_APP_BASE_API
640
641
  if(settingConfig.isTest){
641
- this.wfImage = `http://stdxx.sc.5mall.com/warm-flow-ui/index.html?id=${data.instanceId}&prefix=${prefix}&type=FlowChart&Authorization=${Authorization}`
642
+ this.wfImage = `http://stdxx.sc.5mall.com/warm-flow-ui/index.html?id=${data.instanceId}&baseApi=${baseApi}&prefix=${prefix}&type=FlowChart&Authorization=${Authorization}`
642
643
  }else{
643
- this.wfImage = WEB_PREFIX + `/warm-flow-ui/index.html?id=${data.instanceId}&prefix=${prefix}&type=FlowChart&Authorization=${Authorization}`
644
+ this.wfImage = WEB_PREFIX + `/warm-flow-ui/index.html?id=${data.instanceId}&baseApi=${baseApi}&prefix=${prefix}&type=FlowChart&Authorization=${Authorization}`
644
645
  }
645
646
  done();
646
647
  }
@@ -578,10 +578,11 @@ export default {
578
578
  let Authorization = `Bearer ${token}`;
579
579
  let onlyDesignShow = true;
580
580
  let prefix = this.currentRow.serviceId;
581
+ let baseApi = process.env.VUE_APP_BASE_API
581
582
  if(settingConfig.isTest){
582
- this.wfUrl = `http://stdxx.sc.5mall.com/warm-flow-ui/index.html?id=${definitionId}&prefix=${prefix}&onlyDesignShow=${onlyDesignShow}&Authorization=${Authorization}`;
583
+ this.wfUrl = `http://stdxx.sc.5mall.com/warm-flow-ui/index.html?id=${definitionId}&baseApi=${baseApi}&prefix=${prefix}&onlyDesignShow=${onlyDesignShow}&Authorization=${Authorization}`;
583
584
  }else{
584
- this.wfUrl = WEB_PREFIX + `/warm-flow-ui/index.html?id=${definitionId}&prefix=${prefix}&onlyDesignShow=${onlyDesignShow}&Authorization=${Authorization}`;
585
+ this.wfUrl = WEB_PREFIX + `/warm-flow-ui/index.html?id=${definitionId}&baseApi=${baseApi}&prefix=${prefix}&onlyDesignShow=${onlyDesignShow}&Authorization=${Authorization}`;
585
586
  }
586
587
 
587
588
  this.dialogActiveName = 'first';