lyflowchart 1.0.168 → 1.0.170

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,4 +1,4 @@
1
- import { t as e } from "./core-BzdrXnpc.js";
1
+ import { t as e } from "./core-JkhxFOXr.js";
2
2
  import { createBlock as t, createCommentVNode as n, defineComponent as r, mergeModels as i, openBlock as a, resolveComponent as o, useModel as s, withCtx as c } from "vue";
3
3
  //#endregion
4
4
  //#region src/components/approval/ApprovalEditorModal.vue
@@ -1,5 +1,5 @@
1
1
  import { c as e, o as t, y as n } from "./init-plugin-CpYzRii0.js";
2
- import { n as r, r as i } from "./useApprovalRecordActions-6IFZrwvr.js";
2
+ import { n as r, r as i } from "./useApprovalRecordActions-BiFAYrYg.js";
3
3
  import { t as a } from "./CancelModal-CgQeC543.js";
4
4
  import { Fragment as o, createBlock as s, createCommentVNode as c, createElementBlock as l, createElementVNode as u, createTextVNode as d, createVNode as f, defineAsyncComponent as p, defineComponent as m, isRef as h, mergeProps as g, openBlock as _, reactive as v, ref as y, resolveComponent as b, toDisplayString as x, unref as S, withCtx as C } from "vue";
5
5
  import { Modal as w, message as T } from "ant-design-vue";
@@ -26,7 +26,7 @@ var E = { style: {
26
26
  }
27
27
  }), W = async (e) => {
28
28
  await R(e), (B.value || H.value) && (k.value = !1);
29
- }, G = p(() => import("./ApprovalEditorModal-DplCJGR0.js")), K = async () => {
29
+ }, G = p(() => import("./ApprovalEditorModal-CiaYzraw.js")), K = async () => {
30
30
  k.value = !0;
31
31
  let e = await t({
32
32
  org_id: O?.id,
@@ -1,4 +1,4 @@
1
- import { t as e } from "./core-BzdrXnpc.js";
1
+ import { t as e } from "./core-JkhxFOXr.js";
2
2
  import { computed as t, createBlock as n, defineComponent as r, openBlock as i } from "vue";
3
3
  import { useRoute as a } from "vue-router";
4
4
  //#endregion
@@ -731,10 +731,6 @@ var Te = /* @__PURE__ */ t(Ce, [["render", we]]), Ee = { class: "form-body" }, D
731
731
  U.error("ids应为数组");
732
732
  return;
733
733
  }
734
- if (r.length !== 1) {
735
- U.error("每次仅能作废一个审批单");
736
- return;
737
- }
738
734
  j.value = r[0], S.value = !0;
739
735
  }
740
736
  } else if (a === "send_reminder") t && H.confirm({
@@ -997,7 +993,7 @@ var Te = /* @__PURE__ */ t(Ce, [["render", we]]), Ee = { class: "form-body" }, D
997
993
  ])], 64);
998
994
  };
999
995
  }
1000
- }), [["__scopeId", "data-v-c3752bb8"]]), Ae = j({
996
+ }), [["__scopeId", "data-v-48850c65"]]), Ae = j({
1001
997
  name: "ApprovalColumnDataList",
1002
998
  props: {
1003
999
  columnConfig: {
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { Dn as e, t } from "./viewer-BDGXjryM.js";
2
2
  import { n, t as r } from "./MyProcess-SGZ_-9C3.js";
3
3
  import { f as i, i as a, t as o, y as s } from "./init-plugin-CpYzRii0.js";
4
- import { n as c, r as l, t as u } from "./useApprovalRecordActions-6IFZrwvr.js";
4
+ import { n as c, r as l, t as u } from "./useApprovalRecordActions-BiFAYrYg.js";
5
5
  import { t as d } from "./CancelModal-CgQeC543.js";
6
6
  import { Fragment as f, computed as p, createBlock as m, createCommentVNode as h, createElementBlock as g, createElementVNode as _, createTextVNode as v, createVNode as y, defineAsyncComponent as b, defineComponent as x, isRef as S, mergeProps as C, onMounted as w, openBlock as T, ref as E, resolveComponent as D, toDisplayString as O, unref as k, withCtx as A } from "vue";
7
7
  (/* @__PURE__ */ e(((e, t) => {
@@ -326,7 +326,7 @@ var j = { style: {
326
326
  }
327
327
  }), J = async (e) => {
328
328
  await H(e), (W.value || K.value) && (a.value = !1);
329
- }, Y = b(() => import("./ApprovalEditorModal-DplCJGR0.js")), X = async (e) => {
329
+ }, Y = b(() => import("./ApprovalEditorModal-CiaYzraw.js")), X = async (e) => {
330
330
  let t = N.get(e);
331
331
  if (t && Date.now() - t.time < M) return t.data;
332
332
  let i = P.get(e);
@@ -532,7 +532,7 @@ var j = { style: {
532
532
  ], 64);
533
533
  };
534
534
  }
535
- }), I = b(() => import("./approval-0WZMF6hP.js")), L = b(() => import("./approvalPageConfig-Yn3tPl7r.js")), R = b(() => import("./approvalHistory-BYTbTSXf.js")), z = b(() => import("./debugCode-uE8rOKz4.js")), B = b(() => import("./ApprovalEditorModal-DplCJGR0.js")), V = b(() => import("./Cell_click_approve-BtvSjMos.js")), H = {
535
+ }), I = b(() => import("./approval-DEJzLlL0.js")), L = b(() => import("./approvalPageConfig-Yn3tPl7r.js")), R = b(() => import("./approvalHistory-BYTbTSXf.js")), z = b(() => import("./debugCode-uE8rOKz4.js")), B = b(() => import("./ApprovalEditorModal-CiaYzraw.js")), V = b(() => import("./Cell_click_approve-Cn5f0ofI.js")), H = {
536
536
  codeHistoryViewModal: () => import("./codeHistoryViewModal-DnNI_S8C.js"),
537
537
  approvalHistoryViewModal: () => import("./approvalHistoryViewModal-D3_z9bf3.js"),
538
538
  flowHistoryViewModal: () => import("./flowHistoryViewModal-CVg7Wn7_.js")