lyflowchart 1.0.152 → 1.0.157

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 (43) hide show
  1. package/dist/{ActionsConfig-BrfcGMc2.js → ActionsConfig-gWnpd8yJ.js} +2 -2
  2. package/dist/{ApprovalEditorModal-HuU6SRJe.js → ApprovalEditorModal-Bvxrg96y.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-DMXnrtxc.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-DfU1MtBL.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-BA2SXnnv.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-DdOJYJq9.js} +211 -172
  15. package/dist/components/approval/components/TableSummary.vue.d.ts +20 -0
  16. package/dist/components/approval/components/approvalPageConfig/ColumnConfig.vue.d.ts +12 -0
  17. package/dist/components/approval/components/approvalPageConfig/leftColumn.vue.d.ts +12 -0
  18. package/dist/components/approval/components/approvalPageConfig/tableConfig.vue.d.ts +12 -0
  19. package/dist/components/approval/components/columnDataList.vue.d.ts +25 -2
  20. package/dist/components/approval/components/columnTables.vue.d.ts +25 -2
  21. package/dist/components/approval/components/drawerDataList.vue.d.ts +25 -2
  22. package/dist/components/approval/components/drawerTablesList.vue.d.ts +25 -2
  23. package/dist/components/approval/components/modelTablesList.vue.d.ts +25 -2
  24. package/dist/components/approval/components/table.vue.d.ts +25 -2
  25. package/dist/components/approval/typing.d.ts +3 -1
  26. package/dist/{core-BkpI8NUK.js → core-o5mxWnrL.js} +68 -68
  27. package/dist/{dataStoreSettingHistoryViewModal-D_so-KLp.js → dataStoreSettingHistoryViewModal-DjSRPgQC.js} +9 -9
  28. package/dist/{debugCode-CQm5weGM.js → debugCode-CTU6KCej.js} +19 -19
  29. package/dist/{default-kv1XZD9P.js → default-CFd6cRxl.js} +1 -1
  30. package/dist/{flowHistoryViewModal-D8DJP7Te.js → flowHistoryViewModal-CaGj3LP4.js} +9 -9
  31. package/dist/index.js +25 -25
  32. package/dist/{init-plugin-fQTSQzui.js → init-plugin-CpYzRii0.js} +7 -3
  33. package/dist/init-plugin.d.ts +13 -0
  34. package/dist/{leftColumn-OrLOxcyw.js → leftColumn-CLixXPdW.js} +3 -3
  35. package/dist/lyflowchart.css +1 -1
  36. package/dist/{middleColumn-DUBZPkDG.js → middleColumn-CTOCcPnB.js} +12 -12
  37. package/dist/{recordActions-3vqHADOf.js → recordActions-z7hvfqGR.js} +1 -1
  38. package/dist/{tableConfig-W9yGeZs-.js → tableConfig-0LuPJS0X.js} +740 -585
  39. package/dist/{tableModal-H0SGP8PM.js → tableModal-CbEn3HNo.js} +2 -2
  40. package/dist/{useApprovalRecordActions-B82xPY8g.js → useApprovalRecordActions-6IFZrwvr.js} +10 -10
  41. package/dist/{utils-B1lkML14.js → utils-DRldFEoM.js} +9 -9
  42. package/dist/{viewer-C_OHXXRU.js → viewer-BDGXjryM.js} +1 -1
  43. package/package.json +1 -1
@@ -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-DdOJYJq9.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-CbEn3HNo.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
@@ -1,4 +1,4 @@
1
- import { o as e, v as t } from "./init-plugin-fQTSQzui.js";
1
+ import { b as e, o as t } from "./init-plugin-CpYzRii0.js";
2
2
  import { Fragment as n, createBlock as r, createCommentVNode as i, createElementBlock as a, createElementVNode as o, createVNode as s, defineComponent as c, onMounted as l, openBlock as u, ref as d, renderList as f, resolveComponent as p, withCtx as m } from "vue";
3
3
  //#region src/components/approval/components/approvalHistory/dataStoreSettingHistoryViewModal.vue?vue&type=script&lang.ts
4
4
  var h = c({
@@ -19,19 +19,19 @@ var h = c({
19
19
  },
20
20
  components: {},
21
21
  emits: ["ok", "cancel"],
22
- setup(t, { emit: n }) {
22
+ setup(e, { emit: n }) {
23
23
  let r = () => {
24
24
  n("cancel");
25
25
  }, i = () => {}, a = d(!1), o = d([]), s = async () => {
26
26
  let n = [{
27
27
  field_name: "id",
28
28
  operator: "in",
29
- value: t.history_ids,
29
+ value: e.history_ids,
30
30
  format: "input",
31
31
  class_name: "str"
32
32
  }];
33
- e({
34
- org_id: t.org_id,
33
+ t({
34
+ org_id: e.org_id,
35
35
  is_pagination: !1,
36
36
  column_fields: [
37
37
  "id",
@@ -40,15 +40,15 @@ var h = c({
40
40
  ],
41
41
  sort_fields: ["-id"],
42
42
  conditions: [n]
43
- }, "/approve/query_data_store_setting_history_list").then((e) => {
43
+ }, "/approve/query_data_store_setting_history_list").then((t) => {
44
44
  let n = {};
45
- a.value = !0, e.data.forEach((e) => {
45
+ a.value = !0, t.data.forEach((e) => {
46
46
  n[e.id] = {
47
47
  name: `[${e.id}]${e.create_time}`,
48
48
  content: e.content,
49
49
  data: JSON.parse(e.content)
50
50
  };
51
- }), o.value.length = 0, t.history_ids.forEach((e) => {
51
+ }), o.value.length = 0, e.history_ids.forEach((e) => {
52
52
  o.value.push(n[e]);
53
53
  }), a.value = !1;
54
54
  }).catch(() => {
@@ -109,6 +109,6 @@ function _(e, t, c, l, d, h) {
109
109
  _: 1
110
110
  }, 8, ["title", "onCancel"]);
111
111
  }
112
- var v = /* @__PURE__ */ t(h, [["render", _], ["__scopeId", "data-v-e4f69f29"]]);
112
+ var v = /* @__PURE__ */ e(h, [["render", _], ["__scopeId", "data-v-e4f69f29"]]);
113
113
  //#endregion
114
114
  export { v as default };
@@ -1,4 +1,4 @@
1
- import { c as e, h as t, o as n, v as r } from "./init-plugin-fQTSQzui.js";
1
+ import { _ as e, b as t, c as n, o as r } from "./init-plugin-CpYzRii0.js";
2
2
  import { n as i } from "./debugCode-dD1YnQSD.js";
3
3
  import { t as a } from "./example_code-DKjqP7KK.js";
4
4
  import { Fragment as o, computed as s, createBlock as c, createCommentVNode as l, createElementBlock as u, createElementVNode as d, createTextVNode as f, createVNode as p, defineComponent as m, normalizeClass as h, onMounted as g, onUnmounted as _, openBlock as v, reactive as y, ref as b, renderList as x, renderSlot as S, resolveComponent as C, toDisplayString as w, withCtx as T } from "vue";
@@ -20,8 +20,8 @@ var A = m({
20
20
  },
21
21
  components: {},
22
22
  emits: ["apply"],
23
- setup(r, { emit: i }) {
24
- let a = t(), { t: o } = O(), c = b(!1), l = b(""), u = b(""), d = b([]), f = b(1), p = b(10), m = b(0), h = b([]), v = b([]), x = b(0), S = [
23
+ setup(t, { emit: i }) {
24
+ let a = e(), { t: o } = O(), c = b(!1), l = b(""), u = b(""), d = b([]), f = b(1), p = b(10), m = b(0), h = b([]), v = b([]), x = b(0), S = [
25
25
  {
26
26
  title: "ID",
27
27
  dataIndex: "id",
@@ -52,13 +52,13 @@ var A = m({
52
52
  let e = [{
53
53
  field_name: "action_code_setting__action_code_id",
54
54
  operator: "eq",
55
- value: [r.action_code_id],
55
+ value: [t.action_code_id],
56
56
  format: "input",
57
57
  class_name: "str"
58
58
  }, {
59
59
  field_name: "action_code_setting__menu_flag",
60
60
  operator: "eq",
61
- value: [r.modelType],
61
+ value: [t.modelType],
62
62
  format: "input",
63
63
  class_name: "str"
64
64
  }];
@@ -68,7 +68,7 @@ var A = m({
68
68
  value: [d.value[0], d.value[1]],
69
69
  format: "input",
70
70
  class_name: "str"
71
- }), n({
71
+ }), r({
72
72
  current: f.value,
73
73
  pageSize: p.value,
74
74
  is_pagination: !0,
@@ -91,10 +91,10 @@ var A = m({
91
91
  N(v.value);
92
92
  }, j = (e, t) => {
93
93
  f.value === e && p.value === t || (f.value = e || 1, p.value = t || 50, C());
94
- }, M = (e) => e / 2, N = (t) => {
95
- e(y({
94
+ }, M = (e) => e / 2, N = (e) => {
95
+ n(y({
96
96
  component: "codeHistoryViewModal",
97
- history_ids: t,
97
+ history_ids: e,
98
98
  height: x.value,
99
99
  ok: (e) => {},
100
100
  cancel: () => {}
@@ -107,7 +107,7 @@ var A = m({
107
107
  }
108
108
  });
109
109
  }, F = async (e) => {
110
- let t = await n({
110
+ let n = await r({
111
111
  is_pagination: !1,
112
112
  column_fields: [
113
113
  "id",
@@ -125,10 +125,10 @@ var A = m({
125
125
  class_name: "str"
126
126
  }]]
127
127
  }, "/approve/query_action_code_setting_history_list");
128
- if (t.data.length > 0) {
129
- let e = t.data[0];
130
- return await n({
131
- action_code_id: r.action_code_id,
128
+ if (n.data.length > 0) {
129
+ let e = n.data[0];
130
+ return await r({
131
+ action_code_id: t.action_code_id,
132
132
  action: e.action,
133
133
  code: e.code
134
134
  }, "/approve/update_action_code"), i("apply", e), !0;
@@ -267,7 +267,7 @@ function F(e, t, n, r, i, a) {
267
267
  "pagination"
268
268
  ])])], 64);
269
269
  }
270
- var I = /* @__PURE__ */ r(A, [["render", F], ["__scopeId", "data-v-74a2cbb7"]]), L = "click", R = "show", z = "disable", B = "value", V = "dynamic_title", H = m({
270
+ var I = /* @__PURE__ */ t(A, [["render", F], ["__scopeId", "data-v-74a2cbb7"]]), L = "click", R = "show", z = "disable", B = "value", V = "dynamic_title", H = m({
271
271
  name: "debugCode",
272
272
  props: {
273
273
  action_code_id: {
@@ -314,7 +314,7 @@ var I = /* @__PURE__ */ r(A, [["render", F], ["__scopeId", "data-v-74a2cbb7"]]),
314
314
  "update:dynamicTitle"
315
315
  ],
316
316
  setup(e, { emit: t }) {
317
- let r = k(), o = b(!1), c = b(e.code), l = b(e.action), u = i(), d = b(1), f = b(null), p = b(L), m = b("编辑代码"), h = b(""), _ = s(() => p.value === L ? l != null : !1), v = () => {
317
+ let n = k(), o = b(!1), c = b(e.code), l = b(e.action), u = i(), d = b(1), f = b(null), p = b(L), m = b("编辑代码"), h = b(""), _ = s(() => p.value === L ? l != null : !1), v = () => {
318
318
  p.value = L, c.value = e.code, l.value = e.action, o.value = !0, m.value = "编辑点击事件";
319
319
  }, y = () => {
320
320
  p.value = R, c.value = e.showCode?.code, l.value = null, o.value = !0, m.value = "编辑显示控制";
@@ -341,7 +341,7 @@ var I = /* @__PURE__ */ r(A, [["render", F], ["__scopeId", "data-v-74a2cbb7"]]),
341
341
  code: n.code
342
342
  }) : p.value === B ? e.valueCode.code = n.code : p.value === V && (e.dynamicTitle.code = n.code), c.value = n.code, l.value = n.action;
343
343
  }, O = async () => {
344
- await n({
344
+ await r({
345
345
  action_code_id: T.value,
346
346
  menu_flag: h.value,
347
347
  action: l.value,
@@ -366,7 +366,7 @@ var I = /* @__PURE__ */ r(A, [["render", F], ["__scopeId", "data-v-74a2cbb7"]]),
366
366
  f.value && (c.value = `${c.value || ""}\n${f.value}`);
367
367
  }, M = s(() => a.filter((e) => p.value === L ? e.types.includes(L) && e.actions.includes(l.value || null) : e.types.includes(p.value)));
368
368
  return g(() => {
369
- let e = r.path.split("/");
369
+ let e = n.path.split("/");
370
370
  h.value = e[e.length - 1];
371
371
  }), {
372
372
  handleEditClick: v,
@@ -560,6 +560,6 @@ function U(e, t, n, r, i, a) {
560
560
  "onOk"
561
561
  ])) : l("", !0)], 64);
562
562
  }
563
- var W = /* @__PURE__ */ r(H, [["render", U]]);
563
+ var W = /* @__PURE__ */ t(H, [["render", U]]);
564
564
  //#endregion
565
565
  export { W as default };
@@ -1,4 +1,4 @@
1
- import { n as e, r as t } from "./recordActions-3vqHADOf.js";
1
+ import { n as e, r as t } from "./recordActions-z7hvfqGR.js";
2
2
  //#region src/components/approval/configs/approval/default.ts
3
3
  var n = () => ({
4
4
  type: "data_list",