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.
@@ -16,7 +16,7 @@ function _P(e, i) {
16
16
  }
17
17
  return Object.freeze(Object.defineProperty(e, Symbol.toStringTag, { value: "Module" }));
18
18
  }
19
- const yP = "ddy-process-pc-vue3", xP = "1.0.1-rc.3.57", wP = "> pc\u7AEF\u6D41\u7A0B\u7EC4\u4EF6", EP = "./ddy-process-pc-vue3.umd.cjs", kP = "./style.css", CP = "module", SP = {
19
+ const yP = "ddy-process-pc-vue3", xP = "1.0.1-rc.3.63", wP = "> pc\u7AEF\u6D41\u7A0B\u7EC4\u4EF6", EP = "./ddy-process-pc-vue3.umd.cjs", kP = "./style.css", CP = "module", SP = {
20
20
  ".": {
21
21
  import: "./ddy-process-pc-vue3.js",
22
22
  require: "./ddy-process-pc-vue3.umd.cjs"
@@ -22772,7 +22772,7 @@ const UV = {
22772
22772
  type: [String, Boolean]
22773
22773
  },
22774
22774
  processId: {
22775
- default: "",
22775
+ default: "q",
22776
22776
  type: String
22777
22777
  },
22778
22778
  userId: {
@@ -22988,52 +22988,54 @@ const UV = {
22988
22988
  },
22989
22989
  processId: {
22990
22990
  handler(e) {
22991
- if (e) {
22992
- if (this.customBtns = [], this.absoluteBtns = {
22993
- inside: [],
22994
- outside: []
22995
- }, this.boxLoading = !0, this.activeName = this.tabs.length > 0 ? this.tabs[0].name : "", this.getProcessInfo(), this.getCurrentProcess(), Date.now())
22996
- return;
22997
- et.repository.queryTaskNodeList(this.processId).then((i) => {
22998
- if (!this.noReload)
22999
- if (this.noReload = !1, !this.absoluteTaskId && i.data.length > 1) {
23000
- this.mulTaskList = i.data, this.showMulTask = !0;
23001
- return;
23002
- } else
23003
- this.absoluteTaskId = i.data && i.data.length > 0 ? i.data[0].taskId : "", this.aftTaskNode = i.data[0];
23004
- this.absoluteTaskId, i.code == Et.success && (this.taskNode = i.data, et.pis.getProcessStatus(this.processId, this.absoluteTaskId).then((r) => {
23005
- r.code == Et.success && (this.processStatus = r.data, this.$emit("getStatus", r.data), this.absoluteTaskId ? et.repository.getUserTaskModelCmd(this.absoluteTaskId).then((a) => {
23006
- a.code == Et.success && (this.taskObj = a.data, this.straightenBtns());
23007
- }) : this.straightenBtns());
23008
- }));
23009
- }), et.repository.getTrackUrl({
23010
- processInstId: e,
23011
- type: M1.\u7535\u8111\u7AEF
23012
- }).then((i) => {
23013
- i.code == Et.success && (window.location.protocol == "https:" ? i.data.indexOf("http://121.40.143.183:80/") >= 0 ? this.trackUrl = i.data.replace(
23014
- "http://121.40.143.183:80/",
23015
- "https://acme-aws.ddzg.cn/"
23016
- ) : i.data.indexOf("http://121.40.143.183/") >= 0 ? this.trackUrl = i.data.replace(
23017
- "http://121.40.143.183/",
23018
- "https://acme-aws.ddzg.cn/"
23019
- ) : i.data.indexOf("http://acme-aws.ddzg.cn/") >= 0 ? this.trackUrl = i.data.replace(
23020
- "http://acme-aws.ddzg.cn/",
23021
- "https://acme-aws.ddzg.cn/"
23022
- ) : i.data.indexOf("http://59.53.91.231:8088/") >= 0 ? this.trackUrl = i.data.replace(
23023
- "http://59.53.91.231:8088/",
23024
- "https://acme-test.ddzg.cn:2119/"
23025
- ) : i.data.indexOf("http://59.53.91.230:8088/") >= 0 ? this.trackUrl = i.data.replace(
23026
- "http://59.53.91.230:8088/",
23027
- "https://kq.ddzg.cn:8093/"
23028
- ) : this.trackUrl = i.data : this.trackUrl = i.data);
23029
- }), et.tis.getTaskCommentList(this.processId, "").then((i) => {
23030
- this.taskCommentList = i.data, this.digitalSignatureList = i.data.filter((r) => r.digitalSignature).map((r) => r.digitalSignature);
23031
- }), et.pis.getProcessInstanceById(this.processId).then((i) => {
23032
- this.ProcessInsObj = i.data, this.$nextTick(() => {
23033
- this.calculateHeight();
22991
+ this.$nextTick(() => {
22992
+ if (e && e != "q") {
22993
+ if (this.customBtns = [], this.absoluteBtns = {
22994
+ inside: [],
22995
+ outside: []
22996
+ }, this.boxLoading = !0, this.activeName = this.tabs.length > 0 ? this.tabs[0].name : "", this.getProcessInfo(), this.getCurrentProcess(), Date.now())
22997
+ return;
22998
+ et.repository.queryTaskNodeList(this.processId).then((i) => {
22999
+ if (!this.noReload)
23000
+ if (this.noReload = !1, !this.absoluteTaskId && i.data.length > 1) {
23001
+ this.mulTaskList = i.data, this.showMulTask = !0;
23002
+ return;
23003
+ } else
23004
+ this.absoluteTaskId = i.data && i.data.length > 0 ? i.data[0].taskId : "", this.aftTaskNode = i.data[0];
23005
+ this.absoluteTaskId, i.code == Et.success && (this.taskNode = i.data, et.pis.getProcessStatus(this.processId, this.absoluteTaskId).then((r) => {
23006
+ r.code == Et.success && (this.processStatus = r.data, this.$emit("getStatus", r.data), this.absoluteTaskId ? et.repository.getUserTaskModelCmd(this.absoluteTaskId).then((a) => {
23007
+ a.code == Et.success && (this.taskObj = a.data, this.straightenBtns());
23008
+ }) : this.straightenBtns());
23009
+ }));
23010
+ }), et.repository.getTrackUrl({
23011
+ processInstId: e,
23012
+ type: M1.\u7535\u8111\u7AEF
23013
+ }).then((i) => {
23014
+ i.code == Et.success && (window.location.protocol == "https:" ? i.data.indexOf("http://121.40.143.183:80/") >= 0 ? this.trackUrl = i.data.replace(
23015
+ "http://121.40.143.183:80/",
23016
+ "https://acme-aws.ddzg.cn/"
23017
+ ) : i.data.indexOf("http://121.40.143.183/") >= 0 ? this.trackUrl = i.data.replace(
23018
+ "http://121.40.143.183/",
23019
+ "https://acme-aws.ddzg.cn/"
23020
+ ) : i.data.indexOf("http://acme-aws.ddzg.cn/") >= 0 ? this.trackUrl = i.data.replace(
23021
+ "http://acme-aws.ddzg.cn/",
23022
+ "https://acme-aws.ddzg.cn/"
23023
+ ) : i.data.indexOf("http://59.53.91.231:8088/") >= 0 ? this.trackUrl = i.data.replace(
23024
+ "http://59.53.91.231:8088/",
23025
+ "https://acme-test.ddzg.cn:2119/"
23026
+ ) : i.data.indexOf("http://59.53.91.230:8088/") >= 0 ? this.trackUrl = i.data.replace(
23027
+ "http://59.53.91.230:8088/",
23028
+ "https://kq.ddzg.cn:8093/"
23029
+ ) : this.trackUrl = i.data : this.trackUrl = i.data);
23030
+ }), et.tis.getTaskCommentList(this.processId, "").then((i) => {
23031
+ this.taskCommentList = i.data, this.digitalSignatureList = i.data.filter((r) => r.digitalSignature).map((r) => r.digitalSignature);
23032
+ }), et.pis.getProcessInstanceById(this.processId).then((i) => {
23033
+ this.ProcessInsObj = i.data, this.$nextTick(() => {
23034
+ this.calculateHeight();
23035
+ });
23034
23036
  });
23035
- });
23036
- }
23037
+ }
23038
+ });
23037
23039
  },
23038
23040
  immediate: !0,
23039
23041
  deep: !0
@@ -23555,7 +23557,7 @@ var YV = /* @__PURE__ */ fi(
23555
23557
  HV,
23556
23558
  !1,
23557
23559
  VV,
23558
- "49385552",
23560
+ "4a3e690c",
23559
23561
  null,
23560
23562
  null
23561
23563
  );