ddy-process-pc-vue3 1.0.1-rc.3.57 → 1.0.1-rc.3.63

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": "ddy-process-pc-vue3",
3
- "version": "1.0.1-rc.3.57",
3
+ "version": "1.0.1-rc.3.63",
4
4
  "description": "> pc端流程组件",
5
5
  "main": "./ddy-process-pc-vue3.umd.cjs",
6
6
  "style": "./style.css",
@@ -16,7 +16,7 @@ function rR(e, i) {
16
16
  }
17
17
  return Object.freeze(Object.defineProperty(e, Symbol.toStringTag, { value: "Module" }));
18
18
  }
19
- const aR = "ddy-process-pc-vue3", oR = "1.0.1-rc.3.57", sR = "> pc\u7AEF\u6D41\u7A0B\u7EC4\u4EF6", lR = "./ddy-process-pc-vue3.umd.cjs", cR = "./style.css", uR = "module", dR = {
19
+ const aR = "ddy-process-pc-vue3", oR = "1.0.1-rc.3.63", sR = "> pc\u7AEF\u6D41\u7A0B\u7EC4\u4EF6", lR = "./ddy-process-pc-vue3.umd.cjs", cR = "./style.css", uR = "module", dR = {
20
20
  ".": {
21
21
  import: "./ddy-process-pc-vue3.js",
22
22
  require: "./ddy-process-pc-vue3.umd.cjs"
@@ -23516,7 +23516,7 @@ const aG = {
23516
23516
  type: [String, Boolean]
23517
23517
  },
23518
23518
  processId: {
23519
- default: "",
23519
+ default: "q",
23520
23520
  type: String
23521
23521
  },
23522
23522
  userId: {
@@ -23732,52 +23732,54 @@ const aG = {
23732
23732
  },
23733
23733
  processId: {
23734
23734
  handler(e) {
23735
- if (e) {
23736
- if (this.customBtns = [], this.absoluteBtns = {
23737
- inside: [],
23738
- outside: []
23739
- }, this.boxLoading = !0, this.activeName = this.tabs.length > 0 ? this.tabs[0].name : "", this.getProcessInfo(), this.getCurrentProcess(), Date.now())
23740
- return;
23741
- et.repository.queryTaskNodeList(this.processId).then((i) => {
23742
- if (!this.noReload)
23743
- if (this.noReload = !1, !this.absoluteTaskId && i.data.length > 1) {
23744
- this.mulTaskList = i.data, this.showMulTask = !0;
23745
- return;
23746
- } else
23747
- this.absoluteTaskId = i.data && i.data.length > 0 ? i.data[0].taskId : "", this.aftTaskNode = i.data[0];
23748
- this.absoluteTaskId, i.code == wt.success && (this.taskNode = i.data, et.pis.getProcessStatus(this.processId, this.absoluteTaskId).then((r) => {
23749
- r.code == wt.success && (this.processStatus = r.data, this.$emit("getStatus", r.data), this.absoluteTaskId ? et.repository.getUserTaskModelCmd(this.absoluteTaskId).then((a) => {
23750
- a.code == wt.success && (this.taskObj = a.data, this.straightenBtns());
23751
- }) : this.straightenBtns());
23752
- }));
23753
- }), et.repository.getTrackUrl({
23754
- processInstId: e,
23755
- type: q1.\u7535\u8111\u7AEF
23756
- }).then((i) => {
23757
- i.code == wt.success && (window.location.protocol == "https:" ? i.data.indexOf("http://121.40.143.183:80/") >= 0 ? this.trackUrl = i.data.replace(
23758
- "http://121.40.143.183:80/",
23759
- "https://acme-aws.ddzg.cn/"
23760
- ) : i.data.indexOf("http://121.40.143.183/") >= 0 ? this.trackUrl = i.data.replace(
23761
- "http://121.40.143.183/",
23762
- "https://acme-aws.ddzg.cn/"
23763
- ) : i.data.indexOf("http://acme-aws.ddzg.cn/") >= 0 ? this.trackUrl = i.data.replace(
23764
- "http://acme-aws.ddzg.cn/",
23765
- "https://acme-aws.ddzg.cn/"
23766
- ) : i.data.indexOf("http://59.53.91.231:8088/") >= 0 ? this.trackUrl = i.data.replace(
23767
- "http://59.53.91.231:8088/",
23768
- "https://acme-test.ddzg.cn:2119/"
23769
- ) : i.data.indexOf("http://59.53.91.230:8088/") >= 0 ? this.trackUrl = i.data.replace(
23770
- "http://59.53.91.230:8088/",
23771
- "https://kq.ddzg.cn:8093/"
23772
- ) : this.trackUrl = i.data : this.trackUrl = i.data);
23773
- }), et.tis.getTaskCommentList(this.processId, "").then((i) => {
23774
- this.taskCommentList = i.data, this.digitalSignatureList = i.data.filter((r) => r.digitalSignature).map((r) => r.digitalSignature);
23775
- }), et.pis.getProcessInstanceById(this.processId).then((i) => {
23776
- this.ProcessInsObj = i.data, this.$nextTick(() => {
23777
- this.calculateHeight();
23735
+ this.$nextTick(() => {
23736
+ if (e && e != "q") {
23737
+ if (this.customBtns = [], this.absoluteBtns = {
23738
+ inside: [],
23739
+ outside: []
23740
+ }, this.boxLoading = !0, this.activeName = this.tabs.length > 0 ? this.tabs[0].name : "", this.getProcessInfo(), this.getCurrentProcess(), Date.now())
23741
+ return;
23742
+ et.repository.queryTaskNodeList(this.processId).then((i) => {
23743
+ if (!this.noReload)
23744
+ if (this.noReload = !1, !this.absoluteTaskId && i.data.length > 1) {
23745
+ this.mulTaskList = i.data, this.showMulTask = !0;
23746
+ return;
23747
+ } else
23748
+ this.absoluteTaskId = i.data && i.data.length > 0 ? i.data[0].taskId : "", this.aftTaskNode = i.data[0];
23749
+ this.absoluteTaskId, i.code == wt.success && (this.taskNode = i.data, et.pis.getProcessStatus(this.processId, this.absoluteTaskId).then((r) => {
23750
+ r.code == wt.success && (this.processStatus = r.data, this.$emit("getStatus", r.data), this.absoluteTaskId ? et.repository.getUserTaskModelCmd(this.absoluteTaskId).then((a) => {
23751
+ a.code == wt.success && (this.taskObj = a.data, this.straightenBtns());
23752
+ }) : this.straightenBtns());
23753
+ }));
23754
+ }), et.repository.getTrackUrl({
23755
+ processInstId: e,
23756
+ type: q1.\u7535\u8111\u7AEF
23757
+ }).then((i) => {
23758
+ i.code == wt.success && (window.location.protocol == "https:" ? i.data.indexOf("http://121.40.143.183:80/") >= 0 ? this.trackUrl = i.data.replace(
23759
+ "http://121.40.143.183:80/",
23760
+ "https://acme-aws.ddzg.cn/"
23761
+ ) : i.data.indexOf("http://121.40.143.183/") >= 0 ? this.trackUrl = i.data.replace(
23762
+ "http://121.40.143.183/",
23763
+ "https://acme-aws.ddzg.cn/"
23764
+ ) : i.data.indexOf("http://acme-aws.ddzg.cn/") >= 0 ? this.trackUrl = i.data.replace(
23765
+ "http://acme-aws.ddzg.cn/",
23766
+ "https://acme-aws.ddzg.cn/"
23767
+ ) : i.data.indexOf("http://59.53.91.231:8088/") >= 0 ? this.trackUrl = i.data.replace(
23768
+ "http://59.53.91.231:8088/",
23769
+ "https://acme-test.ddzg.cn:2119/"
23770
+ ) : i.data.indexOf("http://59.53.91.230:8088/") >= 0 ? this.trackUrl = i.data.replace(
23771
+ "http://59.53.91.230:8088/",
23772
+ "https://kq.ddzg.cn:8093/"
23773
+ ) : this.trackUrl = i.data : this.trackUrl = i.data);
23774
+ }), et.tis.getTaskCommentList(this.processId, "").then((i) => {
23775
+ this.taskCommentList = i.data, this.digitalSignatureList = i.data.filter((r) => r.digitalSignature).map((r) => r.digitalSignature);
23776
+ }), et.pis.getProcessInstanceById(this.processId).then((i) => {
23777
+ this.ProcessInsObj = i.data, this.$nextTick(() => {
23778
+ this.calculateHeight();
23779
+ });
23778
23780
  });
23779
- });
23780
- }
23781
+ }
23782
+ });
23781
23783
  },
23782
23784
  immediate: !0,
23783
23785
  deep: !0
@@ -24299,7 +24301,7 @@ var oG = /* @__PURE__ */ li(
24299
24301
  rG,
24300
24302
  !1,
24301
24303
  sG,
24302
- "49385552",
24304
+ "4a3e690c",
24303
24305
  null,
24304
24306
  null
24305
24307
  );