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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ddy-process-pc-vue3",
3
- "version": "1.0.1-rc.3.31",
3
+ "version": "1.0.1-rc.3.33",
4
4
  "description": "> pc端流程组件",
5
5
  "main": "./ddy-process-pc-vue3.umd.cjs",
6
6
  "style": "./style.css",
@@ -16,7 +16,7 @@ function iR(e, i) {
16
16
  }
17
17
  return Object.freeze(Object.defineProperty(e, Symbol.toStringTag, { value: "Module" }));
18
18
  }
19
- const nR = "ddy-process-pc-vue3", rR = "1.0.1-rc.3.31", aR = "> pc\u7AEF\u6D41\u7A0B\u7EC4\u4EF6", oR = "./ddy-process-pc-vue3.umd.cjs", sR = "./style.css", lR = "module", cR = {
19
+ const nR = "ddy-process-pc-vue3", rR = "1.0.1-rc.3.33", aR = "> pc\u7AEF\u6D41\u7A0B\u7EC4\u4EF6", oR = "./ddy-process-pc-vue3.umd.cjs", sR = "./style.css", lR = "module", cR = {
20
20
  ".": {
21
21
  import: "./ddy-process-pc-vue3.js",
22
22
  require: "./ddy-process-pc-vue3.umd.cjs"
@@ -6533,7 +6533,7 @@ var vQ = function() {
6533
6533
  return e.$refs.commIdea.addIdea(e.commentMsg);
6534
6534
  }
6535
6535
  }
6536
- }, [e._v("\u8BBE\u7F6E\u4E3A\u5E38\u7528\u610F\u89C1")])]) : e._e()], 1)] : e._e(), e._t("file"), e.param.nodeLoading ? [r("el-form-item", {
6536
+ }, [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", {
6537
6537
  attrs: {
6538
6538
  label: "\u4E0B\u4E00\u8282\u70B9",
6539
6539
  size: "normal"
@@ -6542,7 +6542,7 @@ var vQ = function() {
6542
6542
  staticStyle: {
6543
6543
  "font-size": "16px"
6544
6544
  }
6545
- }, [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", {
6545
+ }, [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", {
6546
6546
  key: e.param.nextTaskNode.id,
6547
6547
  ref: e.setItemRef(e.param.nextTaskNode.id),
6548
6548
  attrs: {
@@ -6908,7 +6908,7 @@ var yQ = /* @__PURE__ */ Di(
6908
6908
  bQ,
6909
6909
  !1,
6910
6910
  xQ,
6911
- "6a329a02",
6911
+ "10621162",
6912
6912
  null,
6913
6913
  null
6914
6914
  );
@@ -23589,7 +23589,7 @@ const YW = {
23589
23589
  const i = ((this.processData.process || {}).variables || {}).deptId;
23590
23590
  this.deptId = i;
23591
23591
  const r = (this.processData.process || {}).taskId;
23592
- this.taskObj.buttons = this.processData.button, this.absoluteTaskId = r, this.straightenBtns(), this.$nextTick(() => {
23592
+ this.taskObj.buttons = this.processData.button, this.absoluteTaskId = r, this.ProcessInsObj = this.processData.process, this.straightenBtns(), this.$nextTick(() => {
23593
23593
  this.calculateHeight();
23594
23594
  }), this.processData.flow, this.flowChartVisible = !0, this.submitLoading = !1, this.boxLoading = !1;
23595
23595
  }
@@ -23719,6 +23719,8 @@ const YW = {
23719
23719
  });
23720
23720
  },
23721
23721
  async getNextNode(e) {
23722
+ if (this.ProcessInsObj && this.ProcessInsObj.taskParentId)
23723
+ return !0;
23722
23724
  let i;
23723
23725
  try {
23724
23726
  i = await et.tis.simulation(
@@ -23732,6 +23734,9 @@ const YW = {
23732
23734
  i.code == 200 && !i.data.evaluation && (this.incomingConditionItemList = [], r.branches = await this.getOutgoingProcessNode(
23733
23735
  this.absoluteTaskId,
23734
23736
  i.data.id
23737
+ )), 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(
23738
+ this.absoluteTaskId,
23739
+ i.data.branches[0].id
23735
23740
  )), r = await this.getSelectFixData(r, e), this.nextTaskNode = r;
23736
23741
  },
23737
23742
  async getNodeUser({ deptId: e, intersection: i, userIds: r, postIds: a, deptIds: s }) {
@@ -24036,7 +24041,7 @@ var VW = /* @__PURE__ */ Di(
24036
24041
  UW,
24037
24042
  !1,
24038
24043
  WW,
24039
- "97f9ea72",
24044
+ "73b198a4",
24040
24045
  null,
24041
24046
  null
24042
24047
  );