ddy-process-pc-vue3 1.0.1-rc.3.31 → 1.0.1-rc.3.33

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 vP(e, i) {
16
16
  }
17
17
  return Object.freeze(Object.defineProperty(e, Symbol.toStringTag, { value: "Module" }));
18
18
  }
19
- const bP = "ddy-process-pc-vue3", _P = "1.0.1-rc.3.31", yP = "> pc\u7AEF\u6D41\u7A0B\u7EC4\u4EF6", xP = "./ddy-process-pc-vue3.umd.cjs", wP = "./style.css", EP = "module", kP = {
19
+ const bP = "ddy-process-pc-vue3", _P = "1.0.1-rc.3.33", yP = "> pc\u7AEF\u6D41\u7A0B\u7EC4\u4EF6", xP = "./ddy-process-pc-vue3.umd.cjs", wP = "./style.css", EP = "module", kP = {
20
20
  ".": {
21
21
  import: "./ddy-process-pc-vue3.js",
22
22
  require: "./ddy-process-pc-vue3.umd.cjs"
@@ -5789,7 +5789,7 @@ var nL = function() {
5789
5789
  return e.$refs.commIdea.addIdea(e.commentMsg);
5790
5790
  }
5791
5791
  }
5792
- }, [e._v("\u8BBE\u7F6E\u4E3A\u5E38\u7528\u610F\u89C1")])]) : e._e()], 1)] : e._e(), e._t("file"), e.param.nodeLoading ? [r("el-form-item", {
5792
+ }, [e._v("\u8BBE\u7F6E\u4E3A\u5E38\u7528\u610F\u89C1")])]) : e._e()], 1)] : e._e(), e._t("file"), e.param.nodeLoading && !e.param.ProcessInsObj.taskParentId ? [r("el-form-item", {
5793
5793
  attrs: {
5794
5794
  label: "\u4E0B\u4E00\u8282\u70B9",
5795
5795
  size: "normal"
@@ -5798,7 +5798,7 @@ var nL = function() {
5798
5798
  staticStyle: {
5799
5799
  "font-size": "16px"
5800
5800
  }
5801
- }, [e._v("\u8282\u70B9\u52A0\u8F7D\u4E2D\uFF0C\u8BF7\u7A0D\u540E......")])])] : [e.param.nextTaskNode && e.param.nextTaskNode.id && e.param.nextTaskNode.nodeType != "parallelGateway" && e.param.nextTaskNode.nodeType != "exclusiveGateway" ? [e.param.nextTaskNode.nodeType != "endEvent" ? [r("userTask", {
5801
+ }, [e._v("\u8282\u70B9\u52A0\u8F7D\u4E2D\uFF0C\u8BF7\u7A0D\u540E......")])])] : e.param.ProcessInsObj.taskParentId ? e._e() : [e.param.nextTaskNode && e.param.nextTaskNode.id && e.param.nextTaskNode.nodeType != "parallelGateway" && e.param.nextTaskNode.nodeType != "exclusiveGateway" ? [e.param.nextTaskNode.nodeType != "endEvent" ? [r("userTask", {
5802
5802
  key: e.param.nextTaskNode.id,
5803
5803
  ref: e.setItemRef(e.param.nextTaskNode.id),
5804
5804
  attrs: {
@@ -6164,7 +6164,7 @@ var oL = /* @__PURE__ */ Bi(
6164
6164
  rL,
6165
6165
  !1,
6166
6166
  sL,
6167
- "6a329a02",
6167
+ "10621162",
6168
6168
  null,
6169
6169
  null
6170
6170
  );
@@ -22845,7 +22845,7 @@ const BV = {
22845
22845
  const i = ((this.processData.process || {}).variables || {}).deptId;
22846
22846
  this.deptId = i;
22847
22847
  const r = (this.processData.process || {}).taskId;
22848
- this.taskObj.buttons = this.processData.button, this.absoluteTaskId = r, this.straightenBtns(), this.$nextTick(() => {
22848
+ this.taskObj.buttons = this.processData.button, this.absoluteTaskId = r, this.ProcessInsObj = this.processData.process, this.straightenBtns(), this.$nextTick(() => {
22849
22849
  this.calculateHeight();
22850
22850
  }), this.processData.flow, this.flowChartVisible = !0, this.submitLoading = !1, this.boxLoading = !1;
22851
22851
  }
@@ -22975,6 +22975,8 @@ const BV = {
22975
22975
  });
22976
22976
  },
22977
22977
  async getNextNode(e) {
22978
+ if (this.ProcessInsObj && this.ProcessInsObj.taskParentId)
22979
+ return !0;
22978
22980
  let i;
22979
22981
  try {
22980
22982
  i = await et.tis.simulation(
@@ -22988,6 +22990,9 @@ const BV = {
22988
22990
  i.code == 200 && !i.data.evaluation && (this.incomingConditionItemList = [], r.branches = await this.getOutgoingProcessNode(
22989
22991
  this.absoluteTaskId,
22990
22992
  i.data.id
22993
+ )), i.code == 200 && i.data.evaluation && i.data.branches && i.data.branches.length > 0 && i.data.branches[0].nodeType != "userTask" && (this.incomingConditionItemList = [], r.branches = await this.getOutgoingProcessNode(
22994
+ this.absoluteTaskId,
22995
+ i.data.branches[0].id
22991
22996
  )), r = await this.getSelectFixData(r, e), this.nextTaskNode = r;
22992
22997
  },
22993
22998
  async getNodeUser({ deptId: e, intersection: i, userIds: r, postIds: a, deptIds: s }) {
@@ -23292,7 +23297,7 @@ var OV = /* @__PURE__ */ Bi(
23292
23297
  IV,
23293
23298
  !1,
23294
23299
  TV,
23295
- "97f9ea72",
23300
+ "73b198a4",
23296
23301
  null,
23297
23302
  null
23298
23303
  );