n20-common-lib 2.6.85-alpha.2 → 2.6.85-alpha.3

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,6 +1,6 @@
1
1
  {
2
2
  "name": "n20-common-lib",
3
- "version": "2.6.85-alpha.2",
3
+ "version": "2.6.85-alpha.3",
4
4
  "private": false,
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -474,9 +474,10 @@ export default {
474
474
  },
475
475
  // 获取提交参数
476
476
  getParam() {
477
- let { typeCode, taskId, groupNo, isAgentcy } = this.$route.query
477
+ let { typeCode, taskId, groupNo, isAgentcy, processInstanceId } = this.$route.query
478
478
  return [
479
479
  {
480
+ procInstId: processInstanceId,
480
481
  typeCode,
481
482
  taskId,
482
483
  groupNo,
@@ -38,7 +38,10 @@ export default {
38
38
  }
39
39
  },
40
40
  async created() {
41
- if (this.wbUrl) {
41
+ if (this.wbUrl || this.$route.query.hasWbUrl) {
42
+ this.wbUrl = `http://10.104.35.38:18088/bpm-module/#/process-view?processInstId=${
43
+ this.procInstId || this.$route.query.processInstanceId
44
+ }&appId=${this.$route.query.appId}&operateVisible=0`
42
45
  return false
43
46
  }
44
47
  hasQ004_1 ? this.getFlowData() : this.getSvg()