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.
@@ -1,6 +1,6 @@
1
1
  import { resolveComponent as ye, openBlock as w, createElementBlock as P, createElementVNode as F, Fragment as Ce, toDisplayString as de, createCommentVNode as te, createVNode as U, mergeProps as ct, renderList as Qe, withCtx as q, createBlock as oe, withModifiers as Ve, renderSlot as se, createTextVNode as Ze, normalizeClass as N, normalizeStyle as Ne, resolveDirective as Mr, withDirectives as Ge, defineComponent as Z, warn as ZE, isVNode as no, Comment as Nh, computed as k, getCurrentInstance as st, watch as ve, unref as s, onMounted as it, watchEffect as In, onBeforeUnmount as Wt, isRef as Go, ref as B, inject as Le, onScopeDispose as eT, shallowRef as Vt, onUnmounted as fa, h as Be, Teleport as Ti, onBeforeMount as Ah, nextTick as De, provide as yt, useSlots as Oo, Transition as mo, resolveDynamicComponent as dt, vShow as It, toRef as Yt, reactive as Pt, toRefs as ko, onUpdated as ha, TransitionGroup as d_, useAttrs as ma, cloneVNode as tT, Text as p_, readonly as f_, onDeactivated as oT, withKeys as St, createSlots as mr, normalizeProps as En, toRaw as ra, vModelCheckbox as Tu, vModelRadio as h_, onBeforeUpdate as nT, vModelText as Mh, toHandlers as rT, guardReactiveProps as dd, markRaw as Xi, effectScope as lT, triggerRef as Di, createApp as aT, shallowReactive as iT, render as ei } from "vue";
2
2
  import { departPerson as sT } from "checked-pick-pc";
3
- const cT = "ddy-process-pc-vue3", uT = "1.0.1-rc.3.31", dT = "> pc\u7AEF\u6D41\u7A0B\u7EC4\u4EF6", pT = "./ddy-process-pc-vue3.umd.cjs", fT = "./style.css", hT = "module", mT = {
3
+ const cT = "ddy-process-pc-vue3", uT = "1.0.1-rc.3.33", dT = "> pc\u7AEF\u6D41\u7A0B\u7EC4\u4EF6", pT = "./ddy-process-pc-vue3.umd.cjs", fT = "./style.css", hT = "module", mT = {
4
4
  ".": {
5
5
  import: "./ddy-process-pc-vue3.js",
6
6
  require: "./ddy-process-pc-vue3.umd.cjs"
@@ -3564,7 +3564,7 @@ function lO(e, t, o, n, r, l) {
3564
3564
  }, 8, ["rules"])
3565
3565
  ], 64)) : te("", !0),
3566
3566
  se(e.$slots, "file", {}, void 0, !0),
3567
- o.param.nodeLoading ? (w(), oe(c, {
3567
+ o.param.nodeLoading && !o.param.ProcessInsObj.taskParentId ? (w(), oe(c, {
3568
3568
  key: 1,
3569
3569
  label: "\u4E0B\u4E00\u8282\u70B9",
3570
3570
  size: "normal"
@@ -3573,7 +3573,7 @@ function lO(e, t, o, n, r, l) {
3573
3573
  F("b", { style: { "font-size": "16px" } }, "\u8282\u70B9\u52A0\u8F7D\u4E2D\uFF0C\u8BF7\u7A0D\u540E......", -1)
3574
3574
  ])),
3575
3575
  _: 1
3576
- })) : (w(), P(Ce, { key: 2 }, [
3576
+ })) : o.param.ProcessInsObj.taskParentId ? te("", !0) : (w(), P(Ce, { key: 2 }, [
3577
3577
  o.param.nextTaskNode && o.param.nextTaskNode.id && o.param.nextTaskNode.nodeType != "parallelGateway" && o.param.nextTaskNode.nodeType != "exclusiveGateway" ? (w(), P(Ce, { key: 0 }, [
3578
3578
  o.param.nextTaskNode.nodeType != "endEvent" ? (w(), oe(d, {
3579
3579
  key: o.param.nextTaskNode.id,
@@ -3720,7 +3720,7 @@ function lO(e, t, o, n, r, l) {
3720
3720
  _: 3
3721
3721
  });
3722
3722
  }
3723
- const tf = /* @__PURE__ */ bo(oO, [["render", lO], ["__scopeId", "data-v-6f1bcca5"]]);
3723
+ const tf = /* @__PURE__ */ bo(oO, [["render", lO], ["__scopeId", "data-v-520b1ad0"]]);
3724
3724
  var l1 = null;
3725
3725
  Promise.resolve().then(() => nr).then(({ ElMessage: e }) => {
3726
3726
  l1 = e;
@@ -53490,7 +53490,7 @@ const xle = {
53490
53490
  const t = ((this.processData.process || {}).variables || {}).deptId;
53491
53491
  this.deptId = t;
53492
53492
  const o = (this.processData.process || {}).taskId;
53493
- this.taskObj.buttons = this.processData.button, this.absoluteTaskId = o, this.straightenBtns(), this.$nextTick(() => {
53493
+ this.taskObj.buttons = this.processData.button, this.absoluteTaskId = o, this.ProcessInsObj = this.processData.process, this.straightenBtns(), this.$nextTick(() => {
53494
53494
  this.calculateHeight();
53495
53495
  }), this.processData.flow, this.flowChartVisible = !0, this.submitLoading = !1, this.boxLoading = !1;
53496
53496
  }
@@ -53620,6 +53620,8 @@ const xle = {
53620
53620
  });
53621
53621
  },
53622
53622
  async getNextNode(e) {
53623
+ if (this.ProcessInsObj && this.ProcessInsObj.taskParentId)
53624
+ return !0;
53623
53625
  let t;
53624
53626
  try {
53625
53627
  t = await bt.tis.simulation(
@@ -53633,6 +53635,9 @@ const xle = {
53633
53635
  t.code == 200 && !t.data.evaluation && (this.incomingConditionItemList = [], o.branches = await this.getOutgoingProcessNode(
53634
53636
  this.absoluteTaskId,
53635
53637
  t.data.id
53638
+ )), t.code == 200 && t.data.evaluation && t.data.branches && t.data.branches.length > 0 && t.data.branches[0].nodeType != "userTask" && (this.incomingConditionItemList = [], o.branches = await this.getOutgoingProcessNode(
53639
+ this.absoluteTaskId,
53640
+ t.data.branches[0].id
53636
53641
  )), o = await this.getSelectFixData(o, e), this.nextTaskNode = o;
53637
53642
  },
53638
53643
  async getNodeUser({ deptId: e, intersection: t, userIds: o, postIds: n, deptIds: r }) {
@@ -54305,7 +54310,7 @@ function Ale(e, t, o, n, r, l) {
54305
54310
  [C, r.boxLoading && !o.isButton]
54306
54311
  ]);
54307
54312
  }
54308
- const Mle = /* @__PURE__ */ bo(xle, [["render", Ale], ["__scopeId", "data-v-259d13fe"]]), Ple = async (e, t) => {
54313
+ const Mle = /* @__PURE__ */ bo(xle, [["render", Ale], ["__scopeId", "data-v-0acb54a4"]]), Ple = async (e, t) => {
54309
54314
  const o = t || {}, n = o.dragElement || (o.targetClassName ? JE(e, o.targetClassName) : e.querySelector(".el-dialog"));
54310
54315
  let r;
54311
54316
  new IntersectionObserver((_) => {