lyflowchart 1.0.152 → 1.0.154

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.
Files changed (35) hide show
  1. package/dist/{ActionsConfig-BrfcGMc2.js → ActionsConfig-gWnpd8yJ.js} +2 -2
  2. package/dist/{ApprovalEditorModal-HuU6SRJe.js → ApprovalEditorModal-BsHxlueJ.js} +1 -1
  3. package/dist/{CancelModal-BUi3ieI8.js → CancelModal-CgQeC543.js} +1 -1
  4. package/dist/{Cell_click_approve-DiMuUB1k.js → Cell_click_approve-CzEatC97.js} +16 -16
  5. package/dist/{JsonTags-BbWLqghI.js → JsonTags-DQdw3WxB.js} +1 -1
  6. package/dist/{MyProcess-C6fgOFiw.js → MyProcess-SGZ_-9C3.js} +17 -17
  7. package/dist/{approval-BlbNEsGQ.js → approval-DD00xYMY.js} +1 -1
  8. package/dist/{approval-1GfOMaS4.js → approval-ekd9_mwq.js} +35 -35
  9. package/dist/{approvalHistory-D-5rRWNw.js → approvalHistory-DsHMvx1n.js} +35 -35
  10. package/dist/{approvalHistoryViewModal-DgLpv2ot.js → approvalHistoryViewModal-UzVPPpNH.js} +9 -9
  11. package/dist/{approvalPageConfig-4VU81v-x.js → approvalPageConfig-DsoxsuXo.js} +79 -79
  12. package/dist/{approveLeftConfig-BOU_UgHp.js → approveLeftConfig-Cskh4ezK.js} +16 -16
  13. package/dist/{codeHistoryViewModal-BfSjIbEU.js → codeHistoryViewModal-BIktV_o6.js} +8 -8
  14. package/dist/{columnTables-DFwoawLF.js → columnTables-a7yfMH5Q.js} +16 -15
  15. package/dist/components/approval/components/approvalPageConfig/ColumnConfig.vue.d.ts +12 -0
  16. package/dist/components/approval/components/approvalPageConfig/leftColumn.vue.d.ts +12 -0
  17. package/dist/components/approval/components/approvalPageConfig/tableConfig.vue.d.ts +12 -0
  18. package/dist/{core-BkpI8NUK.js → core-BY-t0ghx.js} +68 -68
  19. package/dist/{dataStoreSettingHistoryViewModal-D_so-KLp.js → dataStoreSettingHistoryViewModal-DjSRPgQC.js} +9 -9
  20. package/dist/{debugCode-CQm5weGM.js → debugCode-CTU6KCej.js} +19 -19
  21. package/dist/{default-kv1XZD9P.js → default-CFd6cRxl.js} +1 -1
  22. package/dist/{flowHistoryViewModal-D8DJP7Te.js → flowHistoryViewModal-CaGj3LP4.js} +9 -9
  23. package/dist/index.js +25 -25
  24. package/dist/{init-plugin-fQTSQzui.js → init-plugin-CpYzRii0.js} +7 -3
  25. package/dist/init-plugin.d.ts +13 -0
  26. package/dist/{leftColumn-OrLOxcyw.js → leftColumn-Dzw2Dk6g.js} +3 -3
  27. package/dist/lyflowchart.css +1 -1
  28. package/dist/{middleColumn-DUBZPkDG.js → middleColumn-CTOCcPnB.js} +12 -12
  29. package/dist/{recordActions-3vqHADOf.js → recordActions-z7hvfqGR.js} +1 -1
  30. package/dist/{tableConfig-W9yGeZs-.js → tableConfig-CMhKXmQF.js} +738 -583
  31. package/dist/{tableModal-H0SGP8PM.js → tableModal-LuDGonFy.js} +2 -2
  32. package/dist/{useApprovalRecordActions-B82xPY8g.js → useApprovalRecordActions-6IFZrwvr.js} +10 -10
  33. package/dist/{utils-B1lkML14.js → utils-DRldFEoM.js} +9 -9
  34. package/dist/{viewer-C_OHXXRU.js → viewer-BDGXjryM.js} +1 -1
  35. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
- import { a as e, o as t, v as n } from "./init-plugin-fQTSQzui.js";
2
- import { O as r, _ as i, b as a, g as o, h as s, k as c, m as l, o as u, u as d, w as f, x as p, y as m } from "./utils-B1lkML14.js";
1
+ import { a as e, b as t, o as n } from "./init-plugin-CpYzRii0.js";
2
+ import { O as r, _ as i, b as a, g as o, h as s, k as c, m as l, o as u, u as d, w as f, x as p, y as m } from "./utils-DRldFEoM.js";
3
3
  import { Fragment as h, computed as g, createBlock as _, createCommentVNode as v, createElementBlock as y, createElementVNode as b, createSlots as x, createTextVNode as S, createVNode as C, defineComponent as w, normalizeClass as T, onMounted as ee, onUnmounted as te, openBlock as E, reactive as D, ref as O, renderList as k, resolveComponent as A, resolveDynamicComponent as j, toDisplayString as M, unref as N, watch as P, withCtx as F } from "vue";
4
4
  import { message as ne } from "ant-design-vue";
5
5
  import { cloneDeep as I, debounce as L, isArray as re, isEqual as R } from "lodash";
@@ -211,7 +211,7 @@ var K = w({
211
211
  }
212
212
  };
213
213
  },
214
- components: { searchSummary: /* @__PURE__ */ n(U, [["render", G], ["__scopeId", "data-v-af740a0c"]]) }
214
+ components: { searchSummary: /* @__PURE__ */ t(U, [["render", G], ["__scopeId", "data-v-af740a0c"]]) }
215
215
  }), q = { class: "search-switch" }, J = { class: "expand-btn" }, Y = { class: "btn-content" };
216
216
  function X(e, t, n, r, i, a) {
217
217
  let o = A("a-button"), s = A("search-summary"), c = A("a-select-option"), l = A("a-select"), u = A("SmallTableSerarchField"), d = A("a-input-group"), f = A("a-form-item"), p = A("a-form");
@@ -492,7 +492,7 @@ function X(e, t, n, r, i, a) {
492
492
  }, 8, ["onClick"])])], 64)) : v("", !0)
493
493
  ], 64);
494
494
  }
495
- var Z = /* @__PURE__ */ n(K, [["render", X], ["__scopeId", "data-v-6db64c14"]]), Q = "SET_SEARCH_CONDITIONS", ae = "SET_SELECTED_ROWKEYS", oe = "SET_DATASOURCE", $ = "SET_FORM_MODEL", se = "SET_RAW", ce = "SET_CURRENT_HISTORY_ID", le = "SET_REQUST_HISTORY_ID", ue = "CLEAR_CONTEXT", de = "SET_EDIT", fe = "SET_CURRENT_FLOW_HISTORY_ID", pe = "SET_REQUST_FLOW_HISTORY_ID", me = "SET_GLOBAL_DATA", he = H("approval_context", {
495
+ var Z = /* @__PURE__ */ t(K, [["render", X], ["__scopeId", "data-v-6db64c14"]]), Q = "SET_SEARCH_CONDITIONS", ae = "SET_SELECTED_ROWKEYS", oe = "SET_DATASOURCE", $ = "SET_FORM_MODEL", se = "SET_RAW", ce = "SET_CURRENT_HISTORY_ID", le = "SET_REQUST_HISTORY_ID", ue = "CLEAR_CONTEXT", de = "SET_EDIT", fe = "SET_CURRENT_FLOW_HISTORY_ID", pe = "SET_REQUST_FLOW_HISTORY_ID", me = "SET_GLOBAL_DATA", he = H("approval_context", {
496
496
  persist: !1,
497
497
  state: () => ({ contexts: null }),
498
498
  actions: {
@@ -566,7 +566,7 @@ var Z = /* @__PURE__ */ n(K, [["render", X], ["__scopeId", "data-v-6db64c14"]]),
566
566
  cursor: "pointer",
567
567
  padding: "4px 16px"
568
568
  }
569
- }, _e = /* @__PURE__ */ n(/* @__PURE__ */ w({
569
+ }, _e = /* @__PURE__ */ t(/* @__PURE__ */ w({
570
570
  name: "actionBar",
571
571
  __name: "actionsBar",
572
572
  props: {
@@ -765,7 +765,7 @@ var Z = /* @__PURE__ */ n(K, [["render", X], ["__scopeId", "data-v-6db64c14"]]),
765
765
  }
766
766
  },
767
767
  emits: ["selection-change"],
768
- setup(e, { emit: n }) {
768
+ setup(e, { emit: t }) {
769
769
  let r = he(), i = O([]), a = O([]), o = O(!1), l = ie(), u = O([]), f = null, m = O(null), h = O(null), _ = O(null), v = O(null), y = O(null), b = O(null), x = O(70), S = O({}), C = O([]), w = !1, T = !1, E = O([
770
770
  "10",
771
771
  "20",
@@ -820,8 +820,8 @@ var Z = /* @__PURE__ */ n(K, [["render", X], ["__scopeId", "data-v-6db64c14"]]),
820
820
  return (t.length > 0 && Array.isArray(t[0]) ? t : [t]).map((e) => (Array.isArray(e) ? e : [e]).map(o).filter((e) => c(e.value))).filter((e) => e.length > 0);
821
821
  }, M = async () => {
822
822
  if (!e.config.list_url) return;
823
- let n = Symbol();
824
- f = n;
823
+ let t = Symbol();
824
+ f = t;
825
825
  try {
826
826
  o.value = !0;
827
827
  let a = [];
@@ -841,7 +841,7 @@ var Z = /* @__PURE__ */ n(K, [["render", X], ["__scopeId", "data-v-6db64c14"]]),
841
841
  });
842
842
  let l = e.config.columns?.map((e) => e.dataIndex), p = [];
843
843
  for (let e of C.value) e.order == "descend" ? p.push("-" + e.key) : p.push(e.key);
844
- let m = await t({
844
+ let m = await n({
845
845
  ...e.config.query_params || {},
846
846
  current: k.current,
847
847
  pageSize: k.pageSize,
@@ -849,10 +849,10 @@ var Z = /* @__PURE__ */ n(K, [["render", X], ["__scopeId", "data-v-6db64c14"]]),
849
849
  column_fields: l,
850
850
  sort_fields: p
851
851
  }, e.config.list_url);
852
- if (f !== n) return;
852
+ if (f !== t) return;
853
853
  i.value = m.data, e.modelType && r[oe](e.modelType, e.config.id, i.value), k.current = m.current, k.total = m.total;
854
854
  } finally {
855
- if (f !== n) return;
855
+ if (f !== t) return;
856
856
  o.value = !1;
857
857
  }
858
858
  }, N = L(M, 500), F = (e, t) => {
@@ -865,7 +865,7 @@ var Z = /* @__PURE__ */ n(K, [["render", X], ["__scopeId", "data-v-6db64c14"]]),
865
865
  }
866
866
  }));
867
867
  P(a, (e) => {
868
- n("selection-change", (e || []).length);
868
+ t("selection-change", (e || []).length);
869
869
  }, {
870
870
  deep: !0,
871
871
  immediate: !0
@@ -954,7 +954,8 @@ var Z = /* @__PURE__ */ n(K, [["render", X], ["__scopeId", "data-v-6db64c14"]]),
954
954
  let e = [], t = 0;
955
955
  for (let n of B.value) n.approve_summary && e.push({
956
956
  index: t + 1,
957
- cellSummaryComponent: n.cellSummaryComponent
957
+ cellSummaryComponent: n.cellSummaryComponent,
958
+ column: n
958
959
  }), t++;
959
960
  return e;
960
961
  });
@@ -1175,7 +1176,7 @@ function Te(e, t, n, r, i, a) {
1175
1176
  }, null, 8, ["actions", "action_width"])])
1176
1177
  ], 512);
1177
1178
  }
1178
- var Ee = /* @__PURE__ */ n(ye, [["render", Te], ["__scopeId", "data-v-817da379"]]), De = w({
1179
+ var Ee = /* @__PURE__ */ t(ye, [["render", Te], ["__scopeId", "data-v-0103b8d0"]]), De = w({
1179
1180
  name: "ApprovalColumnTables",
1180
1181
  props: {
1181
1182
  columnConfig: {
@@ -1274,6 +1275,6 @@ function je(e, t, n, r, i, a) {
1274
1275
  "onSelectionChange"
1275
1276
  ])]))), 128))]);
1276
1277
  }
1277
- var Me = /* @__PURE__ */ n(De, [["render", je], ["__scopeId", "data-v-3e52fe46"]]);
1278
+ var Me = /* @__PURE__ */ t(De, [["render", je], ["__scopeId", "data-v-3e52fe46"]]);
1278
1279
  //#endregion
1279
1280
  export { fe as a, $ as c, pe as d, le as f, ue as i, me as l, Ee as n, ce as o, he as p, _e as r, de as s, Me as t, se as u };
@@ -76,6 +76,18 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
76
76
  width: number;
77
77
  }[];
78
78
  cellComponentList: any;
79
+ cellSummaryComponentList: any[];
80
+ COMMON_NUMBER_COMPONENT: string;
81
+ numfmtPatternPresets: any[];
82
+ filterPattern: (input: string, option: any) => boolean;
83
+ onPatternChange: (record: any, field: "cellComponentParams" | "cellSummaryComponentParams", value: any) => void;
84
+ jsonStrModalOpen: import("vue").Ref<boolean, boolean>;
85
+ jsonStrText: import("vue").Ref<string, string>;
86
+ jsonStrError: import("vue").Ref<string, string>;
87
+ onJsonInput: (e: any) => void;
88
+ handleJsonStrModalOk: () => void;
89
+ openJsonStrModal: (value: any, record: any, field: string) => void;
90
+ paramCount: (params: any) => number;
79
91
  customCell: (obj: any) => {
80
92
  style: {
81
93
  background: string;
@@ -2048,6 +2048,18 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
2048
2048
  width: number;
2049
2049
  }[];
2050
2050
  cellComponentList: any;
2051
+ cellSummaryComponentList: any[];
2052
+ COMMON_NUMBER_COMPONENT: string;
2053
+ numfmtPatternPresets: any[];
2054
+ filterPattern: (input: string, option: any) => boolean;
2055
+ onPatternChange: (record: any, field: "cellComponentParams" | "cellSummaryComponentParams", value: any) => void;
2056
+ jsonStrModalOpen: import("vue").Ref<boolean, boolean>;
2057
+ jsonStrText: import("vue").Ref<string, string>;
2058
+ jsonStrError: import("vue").Ref<string, string>;
2059
+ onJsonInput: (e: any) => void;
2060
+ handleJsonStrModalOk: () => void;
2061
+ openJsonStrModal: (value: any, record: any, field: string) => void;
2062
+ paramCount: (params: any) => number;
2051
2063
  customCell: (obj: any) => {
2052
2064
  style: {
2053
2065
  background: string;
@@ -1062,6 +1062,18 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1062
1062
  width: number;
1063
1063
  }[];
1064
1064
  cellComponentList: any;
1065
+ cellSummaryComponentList: any[];
1066
+ COMMON_NUMBER_COMPONENT: string;
1067
+ numfmtPatternPresets: any[];
1068
+ filterPattern: (input: string, option: any) => boolean;
1069
+ onPatternChange: (record: any, field: "cellComponentParams" | "cellSummaryComponentParams", value: any) => void;
1070
+ jsonStrModalOpen: import("vue").Ref<boolean, boolean>;
1071
+ jsonStrText: import("vue").Ref<string, string>;
1072
+ jsonStrError: import("vue").Ref<string, string>;
1073
+ onJsonInput: (e: any) => void;
1074
+ handleJsonStrModalOk: () => void;
1075
+ openJsonStrModal: (value: any, record: any, field: string) => void;
1076
+ paramCount: (params: any) => number;
1065
1077
  customCell: (obj: any) => {
1066
1078
  style: {
1067
1079
  background: string;
@@ -1,8 +1,8 @@
1
- import { _ as e, a as t, c as n, o as r, v as i } from "./init-plugin-fQTSQzui.js";
2
- import { t as a } from "./CancelModal-BUi3ieI8.js";
3
- import { n as o, r as s, t as c } from "./approval-1GfOMaS4.js";
4
- import { c as l, d as u, l as d, p as f } from "./utils-B1lkML14.js";
5
- import { a as p, c as m, d as h, f as g, i as ee, l as _, n as v, o as te, p as ne, r as y, s as re, t as b, u as ie } from "./columnTables-DFwoawLF.js";
1
+ import { a as e, b as t, c as n, o as r, y as i } from "./init-plugin-CpYzRii0.js";
2
+ import { t as a } from "./CancelModal-CgQeC543.js";
3
+ import { n as o, r as s, t as c } from "./approval-ekd9_mwq.js";
4
+ import { c as l, d as u, l as d, p as f } from "./utils-DRldFEoM.js";
5
+ import { a as p, c as m, d as h, f as g, i as ee, l as _, n as v, o as te, p as ne, r as y, s as re, t as b, u as ie } from "./columnTables-a7yfMH5Q.js";
6
6
  import { n as ae, t as oe } from "./debugCode-dD1YnQSD.js";
7
7
  import { Fragment as x, Teleport as S, computed as C, createBlock as w, createCommentVNode as T, createElementBlock as E, createElementVNode as D, createTextVNode as O, createVNode as k, defineAsyncComponent as A, defineComponent as j, inject as M, onMounted as N, onUnmounted as se, openBlock as P, provide as ce, reactive as le, ref as F, renderList as I, resolveComponent as L, resolveDynamicComponent as R, toDisplayString as z, unref as ue, watch as B, withCtx as V } from "vue";
8
8
  import { Modal as H, message as U } from "ant-design-vue";
@@ -66,7 +66,7 @@ function q(e, t, n, r, i, a) {
66
66
  onChange: t[0] ||= (t) => e.handleChange(t, !0)
67
67
  }, null, 8, ["value", "disabled"]);
68
68
  }
69
- var he = /* @__PURE__ */ i(K, [["render", q]]), ge = j({
69
+ var he = /* @__PURE__ */ t(K, [["render", q]]), ge = j({
70
70
  name: "FormCodeInput",
71
71
  components: {},
72
72
  props: {
@@ -107,7 +107,7 @@ function J(e, t, n, r, i, a) {
107
107
  "onUpdate:value"
108
108
  ])]);
109
109
  }
110
- var _e = /* @__PURE__ */ i(ge, [["render", J], ["__scopeId", "data-v-819f8123"]]), Y = j({
110
+ var _e = /* @__PURE__ */ t(ge, [["render", J], ["__scopeId", "data-v-819f8123"]]), Y = j({
111
111
  name: "FormContextInput",
112
112
  components: {},
113
113
  props: {
@@ -148,7 +148,7 @@ function X(e, t, n, r, i, a) {
148
148
  "onUpdate:value"
149
149
  ])]);
150
150
  }
151
- var ve = /* @__PURE__ */ i(Y, [["render", X]]), ye = j({
151
+ var ve = /* @__PURE__ */ t(Y, [["render", X]]), ye = j({
152
152
  name: "CostDepartmentSelect",
153
153
  components: {},
154
154
  props: {
@@ -263,7 +263,7 @@ function Z(e, t, n, r, i, a) {
263
263
  "disabled"
264
264
  ]);
265
265
  }
266
- var be = /* @__PURE__ */ i(ye, [["render", Z]]), Q = j({
266
+ var be = /* @__PURE__ */ t(ye, [["render", Z]]), Q = j({
267
267
  name: "PostionCascader",
268
268
  components: {},
269
269
  props: {
@@ -386,7 +386,7 @@ function xe(e, t, n, r, i, a) {
386
386
  "disabled"
387
387
  ]);
388
388
  }
389
- var Se = /* @__PURE__ */ i(Q, [["render", xe]]), Ce = j({
389
+ var Se = /* @__PURE__ */ t(Q, [["render", xe]]), Ce = j({
390
390
  name: "FormCodeInput",
391
391
  components: {},
392
392
  props: {
@@ -425,10 +425,10 @@ function we(e, t, n, r, i, a) {
425
425
  disabled: e.disabled
426
426
  }, null, 8, ["value", "disabled"])]);
427
427
  }
428
- var Te = /* @__PURE__ */ i(Ce, [["render", we]]), Ee = { class: "form-body" }, De = { class: "base-info" }, Oe = {
428
+ var Te = /* @__PURE__ */ t(Ce, [["render", we]]), Ee = { class: "form-body" }, De = { class: "base-info" }, Oe = {
429
429
  key: 0,
430
430
  class: "form-footer"
431
- }, ke = /* @__PURE__ */ i(/* @__PURE__ */ j({
431
+ }, ke = /* @__PURE__ */ t(/* @__PURE__ */ j({
432
432
  name: "ApprovalColumnForm",
433
433
  __name: "columnForm",
434
434
  props: {
@@ -441,8 +441,8 @@ var Te = /* @__PURE__ */ i(Ce, [["render", we]]), Ee = { class: "form-body" }, D
441
441
  approvalConfig: {}
442
442
  },
443
443
  emits: ["globalDataChange"],
444
- setup(e, { emit: i }) {
445
- let s = e, c = i, l = ne(), u = F(W(s.columnConfig.form.model)), f = le(W(s.columnConfig.form.rules)), p = F({}), h = F(!1), g = F(!1), _ = F(null), v = F(!1), te = process.env.NODE_ENV !== "production", b = F({}), ie = F({}), ae = F(), oe = F(null), S = F(!1), j = F(null), M = F([]), ce, I = F(/* @__PURE__ */ new Map()), R = F(/* @__PURE__ */ new Map()), fe = async () => {
444
+ setup(t, { emit: i }) {
445
+ let s = t, c = i, l = ne(), u = F(W(s.columnConfig.form.model)), f = le(W(s.columnConfig.form.rules)), p = F({}), h = F(!1), g = F(!1), _ = F(null), v = F(!1), te = process.env.NODE_ENV !== "production", b = F({}), ie = F({}), ae = F(), oe = F(null), S = F(!1), j = F(null), M = F([]), ce, I = F(/* @__PURE__ */ new Map()), R = F(/* @__PURE__ */ new Map()), fe = async () => {
446
446
  try {
447
447
  let { config: e } = await o(s.modelType), t = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Map();
448
448
  for (let r of e || []) for (let e of r.fields || []) {
@@ -544,17 +544,17 @@ var Te = /* @__PURE__ */ i(Ce, [["render", we]]), Ee = { class: "form-body" }, D
544
544
  });
545
545
  }
546
546
  return e;
547
- }, ke = async ({ code: e, action: n, params: i }) => {
547
+ }, ke = async ({ code: t, action: n, params: i }) => {
548
548
  let a = n.action;
549
549
  n.loading = !0;
550
550
  try {
551
551
  if (a === "save") Q();
552
552
  else if (a === "save_approve") {
553
553
  if (await we()) return;
554
- if (e) {
554
+ if (t) {
555
555
  let n;
556
556
  try {
557
- n = await t(e, i);
557
+ n = await e(t, i);
558
558
  } catch (e) {
559
559
  U.error(e.message);
560
560
  return;
@@ -592,10 +592,10 @@ var Te = /* @__PURE__ */ i(Ce, [["render", we]]), Ee = { class: "form-body" }, D
592
592
  }
593
593
  } else if (a === "save_and_commit_approve") {
594
594
  if (await we()) return;
595
- if (e) {
595
+ if (t) {
596
596
  let n;
597
597
  try {
598
- n = await t(e, i);
598
+ n = await e(t, i);
599
599
  } catch (e) {
600
600
  U.error(e.message);
601
601
  return;
@@ -627,10 +627,10 @@ var Te = /* @__PURE__ */ i(Ce, [["render", we]]), Ee = { class: "form-body" }, D
627
627
  }), s.eventBus.emit("reload_table");
628
628
  }
629
629
  } else if (a === "commit_approve") {
630
- if (e) {
630
+ if (t) {
631
631
  let n;
632
632
  try {
633
- n = await t(e, i);
633
+ n = await e(t, i);
634
634
  } catch (e) {
635
635
  console.error(e), U.error(e.message);
636
636
  return;
@@ -647,13 +647,13 @@ var Te = /* @__PURE__ */ i(Ce, [["render", we]]), Ee = { class: "form-body" }, D
647
647
  for (let e of a) await r({ approve_record_id: e }, "/approve/commit_approve_record");
648
648
  s.eventBus.emit("reload_table"), U.success("提交成功");
649
649
  }
650
- } else if (a === "delete_approve") e && H.confirm({
650
+ } else if (a === "delete_approve") t && H.confirm({
651
651
  title: "提示",
652
652
  content: "是否确认要执行删除操作",
653
653
  async onOk() {
654
654
  let n;
655
655
  try {
656
- n = await t(e, i);
656
+ n = await e(t, i);
657
657
  } catch (e) {
658
658
  console.error(e), U.error(e.message);
659
659
  return;
@@ -672,13 +672,13 @@ var Te = /* @__PURE__ */ i(Ce, [["render", we]]), Ee = { class: "form-body" }, D
672
672
  },
673
673
  onCancel() {}
674
674
  });
675
- else if (a === "cancel_approve") e && H.confirm({
675
+ else if (a === "cancel_approve") t && H.confirm({
676
676
  title: "提示",
677
677
  content: "是否确认要执行撤销操作",
678
678
  async onOk() {
679
679
  let n;
680
680
  try {
681
- n = await t(e, i);
681
+ n = await e(t, i);
682
682
  } catch (e) {
683
683
  console.error(e), U.error(e.message);
684
684
  return;
@@ -698,10 +698,10 @@ var Te = /* @__PURE__ */ i(Ce, [["render", we]]), Ee = { class: "form-body" }, D
698
698
  onCancel() {}
699
699
  });
700
700
  else if (a === "cancel_agree_approve") {
701
- if (e) {
701
+ if (t) {
702
702
  let n;
703
703
  try {
704
- n = await t(e, i);
704
+ n = await e(t, i);
705
705
  } catch (e) {
706
706
  console.error(e), U.error(e.message);
707
707
  return;
@@ -721,13 +721,13 @@ var Te = /* @__PURE__ */ i(Ce, [["render", we]]), Ee = { class: "form-body" }, D
721
721
  }
722
722
  j.value = r[0], S.value = !0;
723
723
  }
724
- } else if (a === "send_reminder") e && H.confirm({
724
+ } else if (a === "send_reminder") t && H.confirm({
725
725
  title: "提示",
726
726
  content: "是否确认要执行催办操作",
727
727
  async onOk() {
728
728
  let n;
729
729
  try {
730
- n = await t(e, i);
730
+ n = await e(t, i);
731
731
  } catch (e) {
732
732
  console.error(e), U.error(e.message);
733
733
  return;
@@ -752,10 +752,10 @@ var Te = /* @__PURE__ */ i(Ce, [["render", we]]), Ee = { class: "form-body" }, D
752
752
  Ce();
753
753
  }
754
754
  });
755
- else if (a === "process" && e) {
755
+ else if (a === "process" && t) {
756
756
  let n;
757
757
  try {
758
- n = await t(e, i);
758
+ n = await e(t, i);
759
759
  } catch (e) {
760
760
  console.error(e), U.error(e.message);
761
761
  return;
@@ -791,7 +791,7 @@ var Te = /* @__PURE__ */ i(Ce, [["render", we]]), Ee = { class: "form-body" }, D
791
791
  }
792
792
  return new Promise(async (i, a) => {
793
793
  n(le({
794
- component: A(() => import("./tableModal-H0SGP8PM.js")),
794
+ component: A(() => import("./tableModal-LuDGonFy.js")),
795
795
  columnConfig: r,
796
796
  height: s.height,
797
797
  eventBus: s.eventBus,
@@ -810,7 +810,7 @@ var Te = /* @__PURE__ */ i(Ce, [["render", we]]), Ee = { class: "form-body" }, D
810
810
  }));
811
811
  });
812
812
  } };
813
- return (t, n) => {
813
+ return (e, n) => {
814
814
  let r = L("a-tag"), i = L("a-form-item"), o = L("a-col"), s = L("a-row"), c = L("a-form"), d = L("a-card"), f = L("form-render-3");
815
815
  return P(), E(x, null, [D("div", {
816
816
  class: "form-container",
@@ -827,14 +827,14 @@ var Te = /* @__PURE__ */ i(Ce, [["render", we]]), Ee = { class: "form-body" }, D
827
827
  key: 1,
828
828
  color: "blue"
829
829
  }, {
830
- default: V(() => [O(" 流水号:" + z(e.globalData.number), 1)]),
830
+ default: V(() => [O(" 流水号:" + z(t.globalData.number), 1)]),
831
831
  _: 1
832
832
  }))]),
833
833
  title: V(() => [...n[10] ||= [O("基础信息", -1)]]),
834
834
  default: V(() => [k(c, {
835
835
  layout: "vertical",
836
836
  size: "small",
837
- model: e.globalData,
837
+ model: t.globalData,
838
838
  ref_key: "formRef",
839
839
  ref: ae
840
840
  }, {
@@ -847,8 +847,8 @@ var Te = /* @__PURE__ */ i(Ce, [["render", we]]), Ee = { class: "form-body" }, D
847
847
  rules: [{ required: !0 }]
848
848
  }, {
849
849
  default: V(() => [k(_e, {
850
- value: e.globalData.form_code,
851
- "onUpdate:value": n[0] ||= (t) => e.globalData.form_code = t,
850
+ value: t.globalData.form_code,
851
+ "onUpdate:value": n[0] ||= (e) => t.globalData.form_code = e,
852
852
  disabled: K("form_code"),
853
853
  onChange: n[1] ||= (e) => $(e)
854
854
  }, null, 8, ["value", "disabled"])]),
@@ -863,8 +863,8 @@ var Te = /* @__PURE__ */ i(Ce, [["render", we]]), Ee = { class: "form-body" }, D
863
863
  rules: [{ required: !0 }]
864
864
  }, {
865
865
  default: V(() => [k(he, {
866
- value: e.globalData.create_date,
867
- "onUpdate:value": n[2] ||= (t) => e.globalData.create_date = t,
866
+ value: t.globalData.create_date,
867
+ "onUpdate:value": n[2] ||= (e) => t.globalData.create_date = e,
868
868
  disabled: K("create_date"),
869
869
  onChange: n[3] ||= (e) => $(e),
870
870
  style: { width: "100%" }
@@ -880,9 +880,9 @@ var Te = /* @__PURE__ */ i(Ce, [["render", we]]), Ee = { class: "form-body" }, D
880
880
  validateTrigger: !1
881
881
  }, {
882
882
  default: V(() => [k(Te, {
883
- value: e.globalData.flow_org,
884
- "onUpdate:value": n[4] ||= (t) => e.globalData.flow_org = t,
885
- "model-type": e.modelType,
883
+ value: t.globalData.flow_org,
884
+ "onUpdate:value": n[4] ||= (e) => t.globalData.flow_org = e,
885
+ "model-type": t.modelType,
886
886
  disabled: K("flow_org"),
887
887
  onChange: n[5] ||= (e) => $(e)
888
888
  }, null, 8, [
@@ -902,7 +902,7 @@ var Te = /* @__PURE__ */ i(Ce, [["render", we]]), Ee = { class: "form-body" }, D
902
902
  rules: te ? [] : [{ required: !0 }]
903
903
  }, {
904
904
  default: V(() => [k(be, {
905
- value: e.globalData,
905
+ value: t.globalData,
906
906
  disabled: K("create_by"),
907
907
  onChange: n[6] ||= (e) => $(e)
908
908
  }, null, 8, ["value", "disabled"])]),
@@ -918,7 +918,7 @@ var Te = /* @__PURE__ */ i(Ce, [["render", we]]), Ee = { class: "form-body" }, D
918
918
  rules: te ? [] : [{ required: !0 }]
919
919
  }, {
920
920
  default: V(() => [k(Se, {
921
- value: e.globalData,
921
+ value: t.globalData,
922
922
  disabled: K("person_position"),
923
923
  onChange: n[7] ||= (e) => $(e)
924
924
  }, null, 8, ["value", "disabled"])]),
@@ -934,8 +934,8 @@ var Te = /* @__PURE__ */ i(Ce, [["render", we]]), Ee = { class: "form-body" }, D
934
934
  rules: [{ required: !0 }]
935
935
  }, {
936
936
  default: V(() => [k(ve, {
937
- value: e.globalData.context,
938
- "onUpdate:value": n[8] ||= (t) => e.globalData.context = t,
937
+ value: t.globalData.context,
938
+ "onUpdate:value": n[8] ||= (e) => t.globalData.context = e,
939
939
  disabled: K("context"),
940
940
  onChange: $,
941
941
  style: { width: "100%" }
@@ -945,15 +945,15 @@ var Te = /* @__PURE__ */ i(Ce, [["render", we]]), Ee = { class: "form-body" }, D
945
945
  _: 1
946
946
  }, 8, ["model"])]),
947
947
  _: 1
948
- })]), e.columnConfig.form?.dynamicFieldList ? (P(), w(f, {
948
+ })]), t.columnConfig.form?.dynamicFieldList ? (P(), w(f, {
949
949
  key: 0,
950
950
  form: Y.value,
951
951
  model: u.value,
952
- options: e.columnConfig.form?.options,
952
+ options: t.columnConfig.form?.options,
953
953
  validateInfos: p.value,
954
954
  onUpdate_model: ye,
955
955
  alwaysShowGroup: !0,
956
- context: ue(l).contexts?.[e.modelType],
956
+ context: ue(l).contexts?.[t.modelType],
957
957
  nestValidate: ie.value,
958
958
  "worker-host-functions": Me,
959
959
  "lock-structure": v.value
@@ -965,15 +965,15 @@ var Te = /* @__PURE__ */ i(Ce, [["render", we]]), Ee = { class: "form-body" }, D
965
965
  "context",
966
966
  "nestValidate",
967
967
  "lock-structure"
968
- ])) : T("", !0)]), e.columnConfig.actions && e.columnConfig.actions.length > 0 ? (P(), E("div", Oe, [k(y, {
969
- actions: e.columnConfig.actions,
968
+ ])) : T("", !0)]), t.columnConfig.actions && t.columnConfig.actions.length > 0 ? (P(), E("div", Oe, [k(y, {
969
+ actions: t.columnConfig.actions,
970
970
  onClick: Z,
971
- params: { context: ue(l).contexts?.[e.modelType] || {} }
971
+ params: { context: ue(l).contexts?.[t.modelType] || {} }
972
972
  }, null, 8, ["actions", "params"])])) : T("", !0)], 512), k(a, {
973
973
  "cancel-modal-show": S.value,
974
974
  "onUpdate:cancelModalShow": n[9] ||= (e) => S.value = e,
975
975
  id: j.value,
976
- "event-bus": e.eventBus
976
+ "event-bus": t.eventBus
977
977
  }, null, 8, [
978
978
  "cancel-modal-show",
979
979
  "id",
@@ -1030,7 +1030,7 @@ function Pe(e, t, n, r, i, a) {
1030
1030
  "event-bus"
1031
1031
  ])) : T("", !0)])]);
1032
1032
  }
1033
- var Fe = /* @__PURE__ */ i(Ae, [["render", Pe], ["__scopeId", "data-v-814e1d27"]]), Ie = j({
1033
+ var Fe = /* @__PURE__ */ t(Ae, [["render", Pe], ["__scopeId", "data-v-814e1d27"]]), Ie = j({
1034
1034
  name: "ApprovalColumnUnknown",
1035
1035
  props: {},
1036
1036
  setup(e) {
@@ -1045,7 +1045,7 @@ function Re(e, t, n, r, i, a) {
1045
1045
  _: 1
1046
1046
  })]);
1047
1047
  }
1048
- var ze = /* @__PURE__ */ i(Ie, [["render", Re], ["__scopeId", "data-v-13fcf6af"]]), Be = "approval-view-", Ve = Symbol("approval-view-id"), He = () => `${Be}${u()}`, Ue = j({
1048
+ var ze = /* @__PURE__ */ t(Ie, [["render", Re], ["__scopeId", "data-v-13fcf6af"]]), Be = "approval-view-", Ve = Symbol("approval-view-id"), He = () => `${Be}${u()}`, Ue = j({
1049
1049
  name: "drawerTablesList",
1050
1050
  props: {
1051
1051
  columnConfig: {
@@ -1134,7 +1134,7 @@ function Ge(e, t, n, r, i, a) {
1134
1134
  _: 1
1135
1135
  }, 8, ["open", "title"])], 64);
1136
1136
  }
1137
- var Ke = /* @__PURE__ */ i(Ue, [["render", Ge], ["__scopeId", "data-v-81149bd2"]]), qe = j({
1137
+ var Ke = /* @__PURE__ */ t(Ue, [["render", Ge], ["__scopeId", "data-v-81149bd2"]]), qe = j({
1138
1138
  name: "drawerDataList",
1139
1139
  props: {
1140
1140
  columnConfig: {
@@ -1211,7 +1211,7 @@ function Ye(e, t, n, r, i, a) {
1211
1211
  _: 1
1212
1212
  }, 8, ["open"])], 64);
1213
1213
  }
1214
- var Xe = /* @__PURE__ */ i(qe, [["render", Ye], ["__scopeId", "data-v-9c479f56"]]), Ze = j({
1214
+ var Xe = /* @__PURE__ */ t(qe, [["render", Ye], ["__scopeId", "data-v-9c479f56"]]), Ze = j({
1215
1215
  name: "CostCompanySelect",
1216
1216
  components: {},
1217
1217
  props: { value: { type: Object } },
@@ -1285,7 +1285,7 @@ function Qe(e, t, n, r, i, a) {
1285
1285
  _: 1
1286
1286
  }, 8, ["value", "filter-option"]);
1287
1287
  }
1288
- var $e = /* @__PURE__ */ i(Ze, [["render", Qe]]), et = j({
1288
+ var $e = /* @__PURE__ */ t(Ze, [["render", Qe]]), et = j({
1289
1289
  name: "CostDepartmentSelect",
1290
1290
  components: {},
1291
1291
  props: { value: { type: Object } },
@@ -1359,7 +1359,7 @@ function tt(e, t, n, r, i, a) {
1359
1359
  _: 1
1360
1360
  }, 8, ["value", "filter-option"]);
1361
1361
  }
1362
- var nt = /* @__PURE__ */ i(et, [["render", tt]]), rt = j({
1362
+ var nt = /* @__PURE__ */ t(et, [["render", tt]]), rt = j({
1363
1363
  name: "CostDepartmentSelect",
1364
1364
  components: {},
1365
1365
  props: { value: { type: Object } },
@@ -1431,7 +1431,7 @@ function it(e, t, n, r, i, a) {
1431
1431
  _: 1
1432
1432
  }, 8, ["value", "filter-option"]);
1433
1433
  }
1434
- var at = /* @__PURE__ */ i(rt, [["render", it]]), ot = ["id"], st = /* @__PURE__ */ i(/* @__PURE__ */ j({
1434
+ var at = /* @__PURE__ */ t(rt, [["render", it]]), ot = ["id"], st = /* @__PURE__ */ t(/* @__PURE__ */ j({
1435
1435
  name: "ApprovalCore",
1436
1436
  components: {
1437
1437
  ColumnApprovalTables: b,
@@ -1454,8 +1454,8 @@ var at = /* @__PURE__ */ i(rt, [["render", it]]), ot = ["id"], st = /* @__PURE__
1454
1454
  approveRecordId: { default: null }
1455
1455
  },
1456
1456
  emits: ["saved"],
1457
- setup(n, { expose: i, emit: a }) {
1458
- let o = n, u = a, d = ne(), ee = e(), v = fe(), y = C(() => o.modelType), b = F(3), x = F(!1), S = ae(), T = He();
1457
+ setup(t, { expose: n, emit: a }) {
1458
+ let o = t, u = a, d = ne(), ee = i(), v = fe(), y = C(() => o.modelType), b = F(3), x = F(!1), S = ae(), T = He();
1459
1459
  ce(Ve, T);
1460
1460
  let E = F(null), O = F(null), A = F({}), j = F(0), M = F(null), le = F(), I = C(() => ({ token: {} })), z = C(() => {
1461
1461
  let e = !1;
@@ -1555,13 +1555,13 @@ var at = /* @__PURE__ */ i(rt, [["render", it]]), ot = ["id"], st = /* @__PURE__
1555
1555
  modify_source_id: f
1556
1556
  }
1557
1557
  });
1558
- }, ye = async ({ code: e, action: n, params: i }) => {
1558
+ }, ye = async ({ code: t, action: n, params: i }) => {
1559
1559
  let a = n.action;
1560
1560
  if (a === "edit_approve") {
1561
- if (!e) return;
1561
+ if (!t) return;
1562
1562
  let n;
1563
1563
  try {
1564
- n = await t(e, i);
1564
+ n = await e(t, i);
1565
1565
  } catch (e) {
1566
1566
  console.error(e), U.error(e instanceof Error ? e.message : String(e));
1567
1567
  return;
@@ -1573,10 +1573,10 @@ var at = /* @__PURE__ */ i(rt, [["render", it]]), ot = ["id"], st = /* @__PURE__
1573
1573
  }
1574
1574
  await ve(r);
1575
1575
  } else if (a === "copy_approve") {
1576
- if (!e) return;
1576
+ if (!t) return;
1577
1577
  let n;
1578
1578
  try {
1579
- n = await t(e, i);
1579
+ n = await e(t, i);
1580
1580
  } catch (e) {
1581
1581
  console.error(e), U.error(e instanceof Error ? e.message : String(e));
1582
1582
  return;
@@ -1620,7 +1620,7 @@ var at = /* @__PURE__ */ i(rt, [["render", it]]), ot = ["id"], st = /* @__PURE__
1620
1620
  v.off("run_action", ye), v.off("reinit", Z), v.off("saved", be), window.removeEventListener("resize", J);
1621
1621
  }), B(() => o.modelType, (e, t) => {
1622
1622
  !e || e === t || q();
1623
- }), i({
1623
+ }), n({
1624
1624
  applyApproveRecord: ve,
1625
1625
  reinit: Z,
1626
1626
  resize: J