lyflowchart 1.0.154 → 1.0.161

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 (40) hide show
  1. package/dist/{ActionsConfig-gWnpd8yJ.js → ActionsConfig-Bx0tgz1e.js} +1 -1
  2. package/dist/{ApprovalEditorModal-BsHxlueJ.js → ApprovalEditorModal-CGZEehE6.js} +1 -1
  3. package/dist/{Cell_click_approve-CzEatC97.js → Cell_click_approve-D4BAdjen.js} +1 -1
  4. package/dist/{approval-DD00xYMY.js → approval-DOumm1tc.js} +1 -1
  5. package/dist/{approval-ekd9_mwq.js → approval-TIlcTs-h.js} +2 -2
  6. package/dist/{approvalHistory-DsHMvx1n.js → approvalHistory-BYTbTSXf.js} +2 -2
  7. package/dist/{approvalPageConfig-DsoxsuXo.js → approvalPageConfig-Yn3tPl7r.js} +7 -7
  8. package/dist/{approveLeftConfig-Cskh4ezK.js → approveLeftConfig-BKDdM87m.js} +1 -1
  9. package/dist/{columnTables-a7yfMH5Q.js → columnTables-Drq0OCcY.js} +255 -214
  10. package/dist/components/approval/components/TableSummary.vue.d.ts +20 -0
  11. package/dist/components/approval/components/approvalPageConfig/ColumnConfig.vue.d.ts +6 -6
  12. package/dist/components/approval/components/approvalPageConfig/searchConfig.vue.d.ts +7 -7
  13. package/dist/components/approval/components/columnDataList.vue.d.ts +26 -2
  14. package/dist/components/approval/components/columnTables.vue.d.ts +26 -2
  15. package/dist/components/approval/components/drawerDataList.vue.d.ts +26 -2
  16. package/dist/components/approval/components/drawerTablesList.vue.d.ts +26 -2
  17. package/dist/components/approval/components/modelTablesList.vue.d.ts +26 -2
  18. package/dist/components/approval/components/table.vue.d.ts +27 -3
  19. package/dist/components/approval/dbViewAdapter.d.ts +40 -0
  20. package/dist/components/approval/typing.d.ts +4 -1
  21. package/dist/{core-BY-t0ghx.js → core-fRduuqmc.js} +4 -4
  22. package/dist/dbViewAdapter-ByVGSDgn.js +25 -0
  23. package/dist/{debugCode-CTU6KCej.js → debugCode-ZiYZUq5N.js} +2 -2
  24. package/dist/index.js +5 -5
  25. package/dist/{leftColumn-Dzw2Dk6g.js → leftColumn-Bn1KoLRy.js} +2 -2
  26. package/dist/lyflowchart.css +1 -1
  27. package/dist/{middleColumn-CTOCcPnB.js → middleColumn-Cdx9-JfV.js} +1 -1
  28. package/dist/{tableConfig-CMhKXmQF.js → tableConfig-B6bfpf7X.js} +593 -569
  29. package/dist/{tableModal-LuDGonFy.js → tableModal-DJ4BgjcA.js} +1 -1
  30. package/package.json +1 -1
  31. /package/dist/{JsonTags-DQdw3WxB.js → JsonTags-BQZ9jIF_.js} +0 -0
  32. /package/dist/{approvalHistoryViewModal-UzVPPpNH.js → approvalHistoryViewModal-D3_z9bf3.js} +0 -0
  33. /package/dist/{codeHistoryViewModal-BIktV_o6.js → codeHistoryViewModal-DnNI_S8C.js} +0 -0
  34. /package/dist/{dataStoreSettingHistoryViewModal-DjSRPgQC.js → dataStoreSettingHistoryViewModal-Bwf0Kbvh.js} +0 -0
  35. /package/dist/{debugCode-dD1YnQSD.js → debugCode-_6PzXpbO.js} +0 -0
  36. /package/dist/{default-CFd6cRxl.js → default-BNQ2XYku.js} +0 -0
  37. /package/dist/{example_code-DKjqP7KK.js → example_code-Bqj9GjMk.js} +0 -0
  38. /package/dist/{flowHistoryViewModal-CaGj3LP4.js → flowHistoryViewModal-CVg7Wn7_.js} +0 -0
  39. /package/dist/{settingsState-CI81PG-i.js → settingsState-Bz7q-7ZJ.js} +0 -0
  40. /package/dist/{v0001-OaBeBCXI.js → v0001-iEj36Rvz.js} +0 -0
@@ -1,16 +1,17 @@
1
1
  import { On as e } from "./viewer-BDGXjryM.js";
2
2
  import { b as t, h as n, l as r, m as i, o as a, p as o, r as s, s as c, u as l, y as u } from "./init-plugin-CpYzRii0.js";
3
3
  import { A as d, D as f, E as p, a as m, f as h, i as g, m as _, n as v, r as y, s as b, t as x, v as S } from "./utils-DRldFEoM.js";
4
- import { r as C } from "./settingsState-CI81PG-i.js";
5
- import { t as w } from "./JsonTags-DQdw3WxB.js";
6
- import { n as T, t as E } from "./ActionsConfig-gWnpd8yJ.js";
7
- import { Fragment as D, computed as O, createBlock as k, createCommentVNode as A, createElementBlock as j, createElementVNode as M, createTextVNode as N, createVNode as P, defineComponent as F, nextTick as I, normalizeClass as L, normalizeStyle as R, onMounted as z, onUnmounted as B, openBlock as V, reactive as H, ref as U, renderList as W, resolveComponent as G, toDisplayString as K, watch as q, withCtx as J, withKeys as Y, withModifiers as X } from "vue";
8
- import { CheckOutlined as ee, CloseCircleOutlined as te, CloseOutlined as ne, EditOutlined as re, LeftSquareOutlined as ie, LeftSquareTwoTone as ae, PlusOutlined as Z, RightSquareOutlined as oe, RightSquareTwoTone as Q } from "@ant-design/icons-vue";
4
+ import { a as C, i as w, n as T, o as E, t as D } from "./dbViewAdapter-ByVGSDgn.js";
5
+ import { r as ee } from "./settingsState-Bz7q-7ZJ.js";
6
+ import { t as te } from "./JsonTags-BQZ9jIF_.js";
7
+ import { n as O, t as k } from "./ActionsConfig-Bx0tgz1e.js";
8
+ import { Fragment as A, computed as j, createBlock as M, createCommentVNode as N, createElementBlock as P, createElementVNode as F, createTextVNode as I, createVNode as L, defineComponent as R, nextTick as z, normalizeClass as B, normalizeStyle as V, onMounted as H, onUnmounted as ne, openBlock as U, reactive as W, ref as G, renderList as K, resolveComponent as q, toDisplayString as J, watch as Y, withCtx as X, withKeys as re, withModifiers as ie } from "vue";
9
+ import { CheckOutlined as ae, CloseCircleOutlined as oe, CloseOutlined as se, EditOutlined as Z, LeftSquareOutlined as Q, LeftSquareTwoTone as ce, PlusOutlined as le, RightSquareOutlined as ue, RightSquareTwoTone as de } from "@ant-design/icons-vue";
9
10
  import { message as $ } from "ant-design-vue";
10
- import { cloneDeep as se, debounce as ce, isEqual as le } from "lodash";
11
- import { useI18n as ue } from "vue-i18n";
11
+ import { cloneDeep as fe, debounce as pe, isEqual as me } from "lodash";
12
+ import { useI18n as he } from "vue-i18n";
12
13
  //#region src/components/approval/components/approvalPageConfig/JsonInput.vue?vue&type=script&lang.ts
13
- var de = F({
14
+ var ge = R({
14
15
  name: "JsonInput",
15
16
  props: {
16
17
  value: {
@@ -35,7 +36,7 @@ var de = F({
35
36
  emits: ["update:value"],
36
37
  setup(e, { emit: t }) {
37
38
  return {
38
- displayValue: O(() => {
39
+ displayValue: j(() => {
39
40
  let t = e.value;
40
41
  if (typeof t == "string") return t;
41
42
  if (t == null) return "";
@@ -45,7 +46,7 @@ var de = F({
45
46
  return String(t);
46
47
  }
47
48
  }),
48
- valueType: O(() => {
49
+ valueType: j(() => {
49
50
  let t = e.value;
50
51
  return t === null ? "null" : t === void 0 || t === "" ? "" : typeof t;
51
52
  }),
@@ -62,19 +63,19 @@ var de = F({
62
63
  }
63
64
  };
64
65
  }
65
- }), fe = {
66
+ }), _e = {
66
67
  key: 0,
67
68
  class: "json-type"
68
69
  };
69
- function pe(e, t, n, r, i, a) {
70
- let o = G("a-input");
71
- return V(), k(o, {
70
+ function ve(e, t, n, r, i, a) {
71
+ let o = q("a-input");
72
+ return U(), M(o, {
72
73
  value: e.displayValue,
73
74
  placeholder: e.placeholder,
74
- style: R(e.style),
75
+ style: V(e.style),
75
76
  "onUpdate:value": e.updateValue
76
77
  }, {
77
- addonAfter: J(() => [e.valueType ? (V(), j("span", fe, K(e.valueType), 1)) : A("", !0)]),
78
+ addonAfter: X(() => [e.valueType ? (U(), P("span", _e, J(e.valueType), 1)) : N("", !0)]),
78
79
  _: 1
79
80
  }, 8, [
80
81
  "value",
@@ -85,11 +86,11 @@ function pe(e, t, n, r, i, a) {
85
86
  }
86
87
  //#endregion
87
88
  //#region src/components/approval/components/approvalPageConfig/ConditionFieldMulType.vue?vue&type=script&lang.ts
88
- var me = F({
89
+ var ye = R({
89
90
  name: "ConditionFieldMulType",
90
91
  components: {
91
- JsonTags: w,
92
- JsonInput: /* @__PURE__ */ t(de, [["render", pe], ["__scopeId", "data-v-903e450b"]])
92
+ JsonTags: te,
93
+ JsonInput: /* @__PURE__ */ t(ge, [["render", ve], ["__scopeId", "data-v-903e450b"]])
93
94
  },
94
95
  props: {
95
96
  value: {
@@ -119,7 +120,7 @@ var me = F({
119
120
  },
120
121
  emits: ["update:value"],
121
122
  setup(e, { emit: t }) {
122
- let n = O(() => _(e.operator) ?? 0), r = O(() => {
123
+ let n = j(() => _(e.operator) ?? 0), r = j(() => {
123
124
  let { width: t, ...n } = e.style || {};
124
125
  return {
125
126
  ...n,
@@ -174,7 +175,7 @@ var me = F({
174
175
  };
175
176
  return {
176
177
  handleSelectChange: o,
177
- options: O(() => {
178
+ options: j(() => {
178
179
  if (e.source_type === "global") return S;
179
180
  if (e.source_type === "form") return c(e.formData?.dynamicFieldList || [], e.batch_form_key_path || []);
180
181
  }),
@@ -188,9 +189,9 @@ var me = F({
188
189
  });
189
190
  //#endregion
190
191
  //#region src/components/approval/components/approvalPageConfig/ConditionFieldMulType.vue
191
- function he(e, t, n, r, i, a) {
192
- let o = G("a-cascader"), s = G("JsonInput"), c = G("JsonTags");
193
- return e.source_type && e.source_type !== "fixed" ? (V(), k(o, {
192
+ function be(e, t, n, r, i, a) {
193
+ let o = q("a-cascader"), s = q("JsonInput"), c = q("JsonTags");
194
+ return e.source_type && e.source_type !== "fixed" ? (U(), M(o, {
194
195
  key: 0,
195
196
  value: e.value,
196
197
  "field-names": {
@@ -203,49 +204,49 @@ function he(e, t, n, r, i, a) {
203
204
  onChange: e.handleSelectChange,
204
205
  onClear: t[0] ||= (t) => e.handleSelectChange(null),
205
206
  "default-value": [],
206
- style: R(e.style),
207
+ style: V(e.style),
207
208
  size: "small"
208
209
  }, null, 8, [
209
210
  "value",
210
211
  "options",
211
212
  "onChange",
212
213
  "style"
213
- ])) : e.paramsCount === 1 ? (V(), k(s, {
214
+ ])) : e.paramsCount === 1 ? (U(), M(s, {
214
215
  key: 1,
215
216
  value: e.value?.[0],
216
217
  "onUpdate:value": e.handleSingleChange,
217
- style: R(e.style),
218
+ style: V(e.style),
218
219
  size: "small",
219
220
  placeholder: "输入值"
220
221
  }, null, 8, [
221
222
  "value",
222
223
  "onUpdate:value",
223
224
  "style"
224
- ])) : e.paramsCount === 2 ? (V(), j("div", {
225
+ ])) : e.paramsCount === 2 ? (U(), P("div", {
225
226
  key: 2,
226
227
  class: "between-inputs",
227
- style: R(e.style)
228
+ style: V(e.style)
228
229
  }, [
229
- P(s, {
230
+ L(s, {
230
231
  value: e.value?.[0],
231
232
  "onUpdate:value": t[1] ||= (t) => e.handleBetweenChange(0, t),
232
- style: R(e.halfStyle),
233
+ style: V(e.halfStyle),
233
234
  size: "small",
234
235
  placeholder: "起始值"
235
236
  }, null, 8, ["value", "style"]),
236
- t[3] ||= M("span", { class: "between-separator" }, "~", -1),
237
- P(s, {
237
+ t[3] ||= F("span", { class: "between-separator" }, "~", -1),
238
+ L(s, {
238
239
  value: e.value?.[1],
239
240
  "onUpdate:value": t[2] ||= (t) => e.handleBetweenChange(1, t),
240
- style: R(e.halfStyle),
241
+ style: V(e.halfStyle),
241
242
  size: "small",
242
243
  placeholder: "结束值"
243
244
  }, null, 8, ["value", "style"])
244
- ], 4)) : (V(), k(c, {
245
+ ], 4)) : (U(), M(c, {
245
246
  key: 3,
246
247
  value: e.value || [],
247
248
  "onUpdate:value": e.handleInputChange,
248
- style: R(e.style),
249
+ style: V(e.style),
249
250
  size: "small",
250
251
  placeholder: "输入值"
251
252
  }, null, 8, [
@@ -256,12 +257,12 @@ function he(e, t, n, r, i, a) {
256
257
  }
257
258
  //#endregion
258
259
  //#region src/components/approval/components/approvalPageConfig/BaseConditions.vue?vue&type=script&lang.ts
259
- var ge = F({
260
+ var xe = R({
260
261
  name: "BasicQueryConditions",
261
262
  components: {
262
- JsonTags: w,
263
- ConditionFieldMulType: /* @__PURE__ */ t(me, [["render", he], ["__scopeId", "data-v-33c78a2c"]]),
264
- PlusOutlined: Z
263
+ JsonTags: te,
264
+ ConditionFieldMulType: /* @__PURE__ */ t(ye, [["render", be], ["__scopeId", "data-v-33c78a2c"]]),
265
+ PlusOutlined: le
265
266
  },
266
267
  props: {
267
268
  dataSource: {
@@ -279,7 +280,7 @@ var ge = F({
279
280
  },
280
281
  emits: ["update:dataSource"],
281
282
  setup(e, { emit: t }) {
282
- let n = l(), r = U([]), i = () => ({
283
+ let n = l(), r = G([]), i = () => ({
283
284
  field_name: "",
284
285
  operator: void 0,
285
286
  class_name: void 0,
@@ -299,9 +300,9 @@ var ge = F({
299
300
  label: `${t} (${e})`,
300
301
  value: e
301
302
  }));
302
- return q(() => e.modelType, async (e) => {
303
+ return Y(() => e.modelType, async (e) => {
303
304
  r.value = await h(e);
304
- }, { immediate: !0 }), z(() => {
305
+ }, { immediate: !0 }), H(() => {
305
306
  if (e.dataSource?.length > 0) {
306
307
  if (!Array.isArray(e.dataSource[0])) {
307
308
  let t = [...e.dataSource];
@@ -318,36 +319,36 @@ var ge = F({
318
319
  operatorOptions: d
319
320
  };
320
321
  }
321
- }), _e = { class: "group-header" }, ve = { class: "group-title" }, ye = { class: "item-index" }, be = { class: "config-body" }, xe = { class: "condition-value" }, Se = { class: "condition-value-type" }, Ce = { class: "condition-value-input" }, we = { class: "config-actions" }, Te = {
322
+ }), Se = { class: "group-header" }, Ce = { class: "group-title" }, we = { class: "item-index" }, Te = { class: "config-body" }, Ee = { class: "condition-value" }, De = { class: "condition-value-type" }, Oe = { class: "condition-value-input" }, ke = { class: "config-actions" }, Ae = {
322
323
  key: 0,
323
324
  class: "group-or"
324
325
  };
325
- function Ee(e, t, n, r, i, a) {
326
- let o = G("a-button"), s = G("column-name-field"), c = G("a-form-item"), l = G("a-col"), u = G("a-select"), d = G("a-select-option"), f = G("a-row"), p = G("ConditionFieldMulType"), m = G("a-form"), h = G("delete-outlined"), g = G("plus-outlined");
327
- return V(), j("div", null, [(V(!0), j(D, null, W(e.dataSource, (n, r) => (V(), j("div", {
326
+ function je(e, t, n, r, i, a) {
327
+ let o = q("a-button"), s = q("column-name-field"), c = q("a-form-item"), l = q("a-col"), u = q("a-select"), d = q("a-select-option"), f = q("a-row"), p = q("ConditionFieldMulType"), m = q("a-form"), h = q("delete-outlined"), g = q("plus-outlined");
328
+ return U(), P("div", null, [(U(!0), P(A, null, K(e.dataSource, (n, r) => (U(), P("div", {
328
329
  key: r,
329
330
  class: "condition-group"
330
331
  }, [
331
- M("div", _e, [M("span", ve, "条件组 " + K(r + 1), 1), P(o, {
332
+ F("div", Se, [F("span", Ce, "条件组 " + J(r + 1), 1), L(o, {
332
333
  type: "link",
333
334
  danger: "",
334
335
  size: "small",
335
336
  onClick: (t) => e.removeGroup(r)
336
337
  }, {
337
- default: J(() => [...t[0] ||= [N(" 删除条件组 ", -1)]]),
338
+ default: X(() => [...t[0] ||= [I(" 删除条件组 ", -1)]]),
338
339
  _: 1
339
340
  }, 8, ["onClick"])]),
340
- (V(!0), j(D, null, W(n, (n, i) => (V(), j("div", {
341
+ (U(!0), P(A, null, K(n, (n, i) => (U(), P("div", {
341
342
  key: i,
342
343
  class: "condition-item"
343
344
  }, [
344
- M("div", ye, "(" + K(i + 1) + ")", 1),
345
- M("div", be, [P(m, { layout: "vertical" }, {
346
- default: J(() => [P(f, { gutter: 16 }, {
347
- default: J(() => [
348
- P(l, { span: 8 }, {
349
- default: J(() => [P(c, { label: "字段" }, {
350
- default: J(() => [P(s, {
345
+ F("div", we, "(" + J(i + 1) + ")", 1),
346
+ F("div", Te, [L(m, { layout: "vertical" }, {
347
+ default: X(() => [L(f, { gutter: 16 }, {
348
+ default: X(() => [
349
+ L(l, { span: 8 }, {
350
+ default: X(() => [L(c, { label: "字段" }, {
351
+ default: X(() => [L(s, {
351
352
  value: n.field_name,
352
353
  "onUpdate:value": (e) => n.field_name = e,
353
354
  columnNameList: e.columnNameList
@@ -360,9 +361,9 @@ function Ee(e, t, n, r, i, a) {
360
361
  }, 1024)]),
361
362
  _: 2
362
363
  }, 1024),
363
- P(l, { span: 8 }, {
364
- default: J(() => [P(c, { label: "运算符" }, {
365
- default: J(() => [P(u, {
364
+ L(l, { span: 8 }, {
365
+ default: X(() => [L(c, { label: "运算符" }, {
366
+ default: X(() => [L(u, {
366
367
  "show-search": "",
367
368
  value: n.operator,
368
369
  "onUpdate:value": (e) => n.operator = e,
@@ -377,41 +378,41 @@ function Ee(e, t, n, r, i, a) {
377
378
  }, 1024)]),
378
379
  _: 2
379
380
  }, 1024),
380
- P(l, { span: 8 }, {
381
- default: J(() => [P(c, { label: "数据类型" }, {
382
- default: J(() => [P(u, {
381
+ L(l, { span: 8 }, {
382
+ default: X(() => [L(c, { label: "数据类型" }, {
383
+ default: X(() => [L(u, {
383
384
  "show-search": "",
384
385
  value: n.class_name,
385
386
  "onUpdate:value": (e) => n.class_name = e,
386
387
  placeholder: "请选择数据类型"
387
388
  }, {
388
- default: J(() => [
389
- P(d, { value: "int" }, {
390
- default: J(() => [...t[1] ||= [N("整数(int)", -1)]]),
389
+ default: X(() => [
390
+ L(d, { value: "int" }, {
391
+ default: X(() => [...t[1] ||= [I("整数(int)", -1)]]),
391
392
  _: 1
392
393
  }),
393
- P(d, { value: "float" }, {
394
- default: J(() => [...t[2] ||= [N("浮点数(float)", -1)]]),
394
+ L(d, { value: "float" }, {
395
+ default: X(() => [...t[2] ||= [I("浮点数(float)", -1)]]),
395
396
  _: 1
396
397
  }),
397
- P(d, { value: "str" }, {
398
- default: J(() => [...t[3] ||= [N("字符串(str)", -1)]]),
398
+ L(d, { value: "str" }, {
399
+ default: X(() => [...t[3] ||= [I("字符串(str)", -1)]]),
399
400
  _: 1
400
401
  }),
401
- P(d, { value: "bool" }, {
402
- default: J(() => [...t[4] ||= [N("布尔值(bool)", -1)]]),
402
+ L(d, { value: "bool" }, {
403
+ default: X(() => [...t[4] ||= [I("布尔值(bool)", -1)]]),
403
404
  _: 1
404
405
  }),
405
- P(d, { value: "date" }, {
406
- default: J(() => [...t[5] ||= [N("日期(date)", -1)]]),
406
+ L(d, { value: "date" }, {
407
+ default: X(() => [...t[5] ||= [I("日期(date)", -1)]]),
407
408
  _: 1
408
409
  }),
409
- P(d, { value: "datetime" }, {
410
- default: J(() => [...t[6] ||= [N("日期时间(datetime)", -1)]]),
410
+ L(d, { value: "datetime" }, {
411
+ default: X(() => [...t[6] ||= [I("日期时间(datetime)", -1)]]),
411
412
  _: 1
412
413
  }),
413
- P(d, { value: "time" }, {
414
- default: J(() => [...t[7] ||= [N("时间(time)", -1)]]),
414
+ L(d, { value: "time" }, {
415
+ default: X(() => [...t[7] ||= [I("时间(time)", -1)]]),
415
416
  _: 1
416
417
  })
417
418
  ]),
@@ -423,23 +424,23 @@ function Ee(e, t, n, r, i, a) {
423
424
  }, 1024)
424
425
  ]),
425
426
  _: 2
426
- }, 1024), P(c, { label: "比较值" }, {
427
- default: J(() => [M("div", xe, [M("div", Se, [P(u, {
427
+ }, 1024), L(c, { label: "比较值" }, {
428
+ default: X(() => [F("div", Ee, [F("div", De, [L(u, {
428
429
  value: n.value_type,
429
430
  "onUpdate:value": (e) => n.value_type = e,
430
431
  placeholder: "请选择",
431
432
  style: { width: "100px" },
432
433
  size: "small"
433
434
  }, {
434
- default: J(() => [P(d, { value: "global" }, {
435
- default: J(() => [...t[8] ||= [N("全局字段", -1)]]),
435
+ default: X(() => [L(d, { value: "global" }, {
436
+ default: X(() => [...t[8] ||= [I("全局字段", -1)]]),
436
437
  _: 1
437
- }), P(d, { value: "fixed" }, {
438
- default: J(() => [...t[9] ||= [N("固定值", -1)]]),
438
+ }), L(d, { value: "fixed" }, {
439
+ default: X(() => [...t[9] ||= [I("固定值", -1)]]),
439
440
  _: 1
440
441
  })]),
441
442
  _: 1
442
- }, 8, ["value", "onUpdate:value"])]), M("div", Ce, [P(p, {
443
+ }, 8, ["value", "onUpdate:value"])]), F("div", Oe, [L(p, {
443
444
  value: n.value,
444
445
  "onUpdate:value": (e) => n.value = e,
445
446
  source_type: n.value_type,
@@ -457,29 +458,29 @@ function Ee(e, t, n, r, i, a) {
457
458
  }, 1024)]),
458
459
  _: 2
459
460
  }, 1024)]),
460
- M("div", we, [P(h, {
461
+ F("div", ke, [L(h, {
461
462
  onClick: (t) => e.removeCondition(r, i),
462
463
  class: "delete-icon"
463
464
  }, null, 8, ["onClick"])])
464
465
  ]))), 128)),
465
- P(o, {
466
+ L(o, {
466
467
  type: "link",
467
468
  onClick: (t) => e.addCondition(r)
468
469
  }, {
469
- default: J(() => [...t[10] ||= [N(" 添加条件 ", -1)]]),
470
+ default: X(() => [...t[10] ||= [I(" 添加条件 ", -1)]]),
470
471
  _: 1
471
472
  }, 8, ["onClick"]),
472
- r < e.dataSource.length - 1 ? (V(), j("div", Te, [...t[11] ||= [M("span", null, "或", -1)]])) : A("", !0)
473
- ]))), 128)), P(o, {
473
+ r < e.dataSource.length - 1 ? (U(), P("div", Ae, [...t[11] ||= [F("span", null, "或", -1)]])) : N("", !0)
474
+ ]))), 128)), L(o, {
474
475
  type: "dashed",
475
476
  block: "",
476
477
  onClick: e.addGroup
477
478
  }, {
478
- default: J(() => [P(g), t[12] ||= N(" 添加条件组(组与组之间为“或”关系,组内条件为“与”关系) ", -1)]),
479
+ default: X(() => [L(g), t[12] ||= I(" 添加条件组(组与组之间为“或”关系,组内条件为“与”关系) ", -1)]),
479
480
  _: 1
480
481
  }, 8, ["onClick"])]);
481
482
  }
482
- var De = /* @__PURE__ */ t(ge, [["render", Ee], ["__scopeId", "data-v-b0aa1e4b"]]), Oe = F({
483
+ var Me = /* @__PURE__ */ t(xe, [["render", je], ["__scopeId", "data-v-b0aa1e4b"]]), Ne = R({
483
484
  name: "BaseColumns",
484
485
  props: { value: {
485
486
  type: String,
@@ -488,7 +489,7 @@ var De = /* @__PURE__ */ t(ge, [["render", Ee], ["__scopeId", "data-v-b0aa1e4b"]
488
489
  components: {},
489
490
  emits: ["update:value", "change"],
490
491
  setup(e, { emit: t }) {
491
- let n = U(!1), r = U(e.value);
492
+ let n = G(!1), r = G(e.value);
492
493
  return {
493
494
  onEdit: n,
494
495
  tmpValue: r,
@@ -496,7 +497,7 @@ var De = /* @__PURE__ */ t(ge, [["render", Ee], ["__scopeId", "data-v-b0aa1e4b"]
496
497
  r.value = e.value, n.value = !0;
497
498
  },
498
499
  save: () => {
499
- t("update:value", r.value), n.value = !1, I(() => {
500
+ t("update:value", r.value), n.value = !1, z(() => {
500
501
  t("change", r.value);
501
502
  });
502
503
  },
@@ -505,30 +506,30 @@ var De = /* @__PURE__ */ t(ge, [["render", Ee], ["__scopeId", "data-v-b0aa1e4b"]
505
506
  }
506
507
  };
507
508
  }
508
- }), ke = { class: "editable-cell" }, Ae = {
509
+ }), Pe = { class: "editable-cell" }, Fe = {
509
510
  key: 0,
510
511
  class: "editable-cell-input-wrapper"
511
- }, je = {
512
+ }, Ie = {
512
513
  key: 1,
513
514
  class: "editable-cell-text-wrapper"
514
515
  };
515
- function Me(e, t, n, r, i, a) {
516
- let o = G("a-input"), s = G("check-outlined"), c = G("edit-outlined");
517
- return V(), j("div", ke, [e.onEdit ? (V(), j("div", Ae, [P(o, {
516
+ function Le(e, t, n, r, i, a) {
517
+ let o = q("a-input"), s = q("check-outlined"), c = q("edit-outlined");
518
+ return U(), P("div", Pe, [e.onEdit ? (U(), P("div", Fe, [L(o, {
518
519
  value: e.tmpValue,
519
520
  "onUpdate:value": t[0] ||= (t) => e.tmpValue = t,
520
521
  size: "small",
521
522
  onPressEnter: t[1] ||= (t) => e.save(),
522
- onKeyup: t[2] ||= Y((t) => e.cancel(), ["esc"])
523
- }, null, 8, ["value"]), P(s, {
523
+ onKeyup: t[2] ||= re((t) => e.cancel(), ["esc"])
524
+ }, null, 8, ["value"]), L(s, {
524
525
  class: "editable-cell-icon-check",
525
526
  onClick: t[3] ||= (t) => e.save()
526
- })])) : (V(), j("div", je, [N(K(e.value || " ") + " ", 1), P(c, {
527
+ })])) : (U(), P("div", Ie, [I(J(e.value || " ") + " ", 1), L(c, {
527
528
  class: "editable-cell-icon",
528
529
  onClick: t[4] ||= (t) => e.edit()
529
530
  })]))]);
530
531
  }
531
- var Ne = /* @__PURE__ */ t(Oe, [["render", Me], ["__scopeId", "data-v-85d6a01a"]]), Pe = F({
532
+ var Re = /* @__PURE__ */ t(Ne, [["render", Le], ["__scopeId", "data-v-85d6a01a"]]), ze = R({
532
533
  name: "BaseColumns",
533
534
  props: {
534
535
  dataSource: {
@@ -541,17 +542,17 @@ var Ne = /* @__PURE__ */ t(Oe, [["render", Me], ["__scopeId", "data-v-85d6a01a"]
541
542
  }
542
543
  },
543
544
  components: {
544
- LeftSquareOutlined: ie,
545
- LeftSquareTwoTone: ae,
546
- RightSquareOutlined: oe,
547
- RightSquareTwoTone: Q,
548
- CheckOutlined: ee,
549
- EditOutlined: re,
550
- cellEdit: Ne
545
+ LeftSquareOutlined: Q,
546
+ LeftSquareTwoTone: ce,
547
+ RightSquareOutlined: ue,
548
+ RightSquareTwoTone: de,
549
+ CheckOutlined: ae,
550
+ EditOutlined: Z,
551
+ cellEdit: Re
551
552
  },
552
553
  emits: ["update:dataSource"],
553
554
  setup(e, { emit: t }) {
554
- let { t: i } = ue(), o = U(0), c = u().currentOrg, l = U([]), f = U([]), m = U([]), h = U([]), g = U({}), _ = U({}), v = [{
555
+ let { t: i } = he(), o = G(0), c = u().currentOrg, l = G([]), f = G([]), m = G([]), h = G([]), g = G({}), _ = G({}), v = [{
555
556
  title: i("列名称"),
556
557
  dataIndex: "title",
557
558
  key: "title",
@@ -634,9 +635,9 @@ var Ne = /* @__PURE__ */ t(Oe, [["render", Me], ["__scopeId", "data-v-85d6a01a"]
634
635
  },
635
636
  {
636
637
  title: "合计组件",
637
- dataIndex: "cellSummaryComponent",
638
+ dataIndex: "approve_cellSummaryComponent",
638
639
  width: 280,
639
- key: "cellSummaryComponent"
640
+ key: "approve_cellSummaryComponent"
640
641
  },
641
642
  {
642
643
  title: "合计参数",
@@ -644,21 +645,21 @@ var Ne = /* @__PURE__ */ t(Oe, [["render", Me], ["__scopeId", "data-v-85d6a01a"]
644
645
  width: 300,
645
646
  key: "summaryParams"
646
647
  }
647
- ], x = ce(() => {
648
+ ], x = pe(() => {
648
649
  o.value = window.innerHeight - 165;
649
650
  }, 200), S = () => {
650
651
  t("update:dataSource", m.value);
651
652
  };
652
- function C(e, t) {
653
+ function E(e, t) {
653
654
  e.disabled = !1, e.name != null && t.has(e.name) && (e.disabled = !0), e.children && Array.isArray(e.children) && e.children.forEach((e) => {
654
- C(e, t);
655
+ E(e, t);
655
656
  });
656
657
  }
657
- let w = (e) => {
658
+ let D = (e) => {
658
659
  e.forEach((e) => {
659
- g.value[e.name] = e, Array.isArray(e.children) && w(e.children);
660
+ g.value[e.name] = e, Array.isArray(e.children) && D(e.children);
660
661
  });
661
- }, T = () => {
662
+ }, ee = () => {
662
663
  let e = /* @__PURE__ */ new Set();
663
664
  function t(n) {
664
665
  n.forEach((n) => {
@@ -666,24 +667,29 @@ var Ne = /* @__PURE__ */ t(Oe, [["render", Me], ["__scopeId", "data-v-85d6a01a"]
666
667
  });
667
668
  }
668
669
  t(m.value), f.value.forEach((t) => {
669
- C(t, e);
670
+ E(t, e);
670
671
  }), f.value = [].concat(f.value);
671
672
  };
672
- z(async () => {
673
+ H(async () => {
673
674
  if (window.addEventListener("resize", x), x(), m.value = e.dataSource || [], e.modelType) {
674
- let t = e.modelType.split("-"), n = `${t[0]}/obtain_${t[1]}_column_data`;
675
- f.value = d(await a({
676
- org_id: c?.id,
677
- is_base_column: !0
678
- }, n, !1, { skip_error: !0 }) || []), w(f.value);
675
+ let t = e.modelType.split("-"), n = [];
676
+ if (w(e.modelType)) n = C((await T(e.modelType, c?.id)).baseColumns);
677
+ else {
678
+ let e = `${t[0]}/obtain_${t[1]}_column_data`;
679
+ n = d(await a({
680
+ org_id: c?.id,
681
+ is_base_column: !0
682
+ }, e, !1, { skip_error: !0 }) || []);
683
+ }
684
+ f.value = n, D(f.value);
679
685
  }
680
- Z(), T(), S();
681
- }), B(() => {
686
+ Q(), ee(), S();
687
+ }), ne(() => {
682
688
  window.removeEventListener("resize", x);
683
689
  });
684
- let E = (e) => {
690
+ let te = (e) => {
685
691
  if (e.record.disabled) return { style: { background: "#cbcbcb" } };
686
- }, D = H({
692
+ }, O = W({
687
693
  type: "checkbox",
688
694
  onChange: (e) => {
689
695
  l.value = e;
@@ -692,7 +698,7 @@ var Ne = /* @__PURE__ */ t(Oe, [["render", Me], ["__scopeId", "data-v-85d6a01a"]
692
698
  disabled: e.disabled,
693
699
  name: e.name
694
700
  })
695
- }), O = H({
701
+ }), k = W({
696
702
  type: "checkbox",
697
703
  onChange: (e) => {
698
704
  h.value = e;
@@ -701,19 +707,20 @@ var Ne = /* @__PURE__ */ t(Oe, [["render", Me], ["__scopeId", "data-v-85d6a01a"]
701
707
  disabled: e.dataIndex === "index" || e.dataIndex === "action",
702
708
  name: e.dataIndex
703
709
  })
704
- }), k = (e, t) => {
710
+ }), A = (e, t) => {
705
711
  let n = {};
706
712
  return Object.keys(t).forEach((r) => {
707
713
  e[r] !== void 0 && (n[t[r]] = e[r]);
708
714
  }), n;
709
- }, A = (e) => {
715
+ }, j = (e) => {
710
716
  e.forEach((e) => {
711
717
  if (l.value.indexOf(e.name) > -1) {
712
718
  let t = {};
713
- t = k(e, {
719
+ t = A(e, {
714
720
  verbose_name: "title",
715
721
  name: "dataIndex",
716
722
  cell_component: "cellComponent",
723
+ cellComponent: "cellComponent",
717
724
  cellComponentParams: "cellComponentParams",
718
725
  filterMultiple: "filterMultiple",
719
726
  contentMap: "contentMap",
@@ -721,40 +728,40 @@ var Ne = /* @__PURE__ */ t(Oe, [["render", Me], ["__scopeId", "data-v-85d6a01a"]
721
728
  filters: "filters",
722
729
  sorter: "sorter",
723
730
  summary: "approve_summary",
724
- cellSummaryComponent: "cellSummaryComponent",
731
+ cellSummaryComponent: "approve_cellSummaryComponent",
725
732
  cellSummaryComponentParams: "cellSummaryComponentParams"
726
733
  }), t.fixed = void 0, t.autoHeight = !1, t.autoWidth = !1, t.width = 150, t.resizable = !0, e.disabled = !0, e.cellComponent ? t.ellipsis = !1 : t.ellipsis = !0, m.value.push(t);
727
734
  }
728
- e.children && Array.isArray(e.children) && A(e.children);
735
+ e.children && Array.isArray(e.children) && j(e.children);
729
736
  });
730
- }, j = () => {
731
- A(f.value), l.value.length = 0, f.value = [].concat(f.value), m.value = [].concat(m.value), S();
732
- }, M = (e) => {
737
+ }, M = () => {
738
+ j(f.value), l.value.length = 0, f.value = [].concat(f.value), m.value = [].concat(m.value), S();
739
+ }, N = (e) => {
733
740
  e.forEach((e) => {
734
- h.value.indexOf(e.name) > -1 && (e.disabled = !1), e.children && Array.isArray(e.children) && M(e.children);
741
+ h.value.indexOf(e.name) > -1 && (e.disabled = !1), e.children && Array.isArray(e.children) && N(e.children);
735
742
  });
736
- }, N = () => {
737
- m.value = m.value.filter((e) => h.value.indexOf(e.dataIndex) == -1), M(f.value), h.value.length = 0, m.value = [].concat(m.value), f.value = [].concat(f.value), S(), Z();
738
- }, P = (e, t) => {
743
+ }, P = () => {
744
+ m.value = m.value.filter((e) => h.value.indexOf(e.dataIndex) == -1), N(f.value), h.value.length = 0, m.value = [].concat(m.value), f.value = [].concat(f.value), S(), Q();
745
+ }, F = (e, t) => {
739
746
  let n, r = (e, t, i) => {
740
747
  for (let a of t) if (a.dataIndex === i) return n = e, n;
741
748
  else if (a.children && a.children.length > 0 && (n = r(a.dataIndex, a.children, i), n !== void 0)) return n;
742
749
  };
743
750
  return r(null, e, t);
744
- }, F = ({ record: e, preTargetInfo: t, nextTargetInfo: n }) => new Promise((r, i) => {
751
+ }, I = ({ record: e, preTargetInfo: t, nextTargetInfo: n }) => new Promise((r, i) => {
745
752
  if (t) {
746
- let n = P(m.value, e.dataIndex);
747
- t.record.dataIndex == n || n == P(m.value, t.record.dataIndex) ? r(!0) : i();
748
- } else P(m.value, e.dataIndex) == P(m.value, n.record.dataIndex) ? r(!0) : i();
753
+ let n = F(m.value, e.dataIndex);
754
+ t.record.dataIndex == n || n == F(m.value, t.record.dataIndex) ? r(!0) : i();
755
+ } else F(m.value, e.dataIndex) == F(m.value, n.record.dataIndex) ? r(!0) : i();
749
756
  }).then(() => {
750
757
  setTimeout(() => {
751
758
  S();
752
759
  }, 200);
753
- }), I = () => {
760
+ }), L = () => {
754
761
  m.value = [].concat(m.value), S();
755
- }, L = (e) => {
756
- I();
757
- }, R = n(), V = (e, t) => String(t.value).includes(e), W = (e, t, n) => {
762
+ }, R = (e) => {
763
+ L();
764
+ }, z = n(), B = (e, t) => String(t.value).includes(e), V = (e, t, n) => {
758
765
  if (!n) {
759
766
  e[t] = null;
760
767
  return;
@@ -763,9 +770,9 @@ var Ne = /* @__PURE__ */ t(Oe, [["render", Me], ["__scopeId", "data-v-85d6a01a"]
763
770
  ...e[t] || {},
764
771
  pattern: n
765
772
  };
766
- }, G = U(!1), K = U(""), q = U(""), J = null, Y = "", X = (e) => Object.keys(e || {}).length, ee = (e, t, n) => {
767
- J = t, Y = n, K.value = e == null ? "" : JSON.stringify(e, null, 2), q.value = "", G.value = !0;
768
- }, te = (e) => {
773
+ }, U = G(!1), K = G(""), q = G(""), J = null, Y = "", X = (e) => Object.keys(e || {}).length, re = (e, t, n) => {
774
+ J = t, Y = n, K.value = e == null ? "" : JSON.stringify(e, null, 2), q.value = "", U.value = !0;
775
+ }, ie = (e) => {
769
776
  let t = e.target?.value ?? "";
770
777
  if (K.value = t, !t.trim()) {
771
778
  q.value = "";
@@ -777,47 +784,47 @@ var Ne = /* @__PURE__ */ t(Oe, [["render", Me], ["__scopeId", "data-v-85d6a01a"]
777
784
  } catch {
778
785
  q.value = "JSON 格式错误";
779
786
  }
780
- }, ne = () => {
787
+ }, ae = () => {
781
788
  if (q.value) return;
782
789
  let e = K.value.trim();
783
- J && Y && (J[Y] = e ? JSON.parse(e) : null, I()), G.value = !1;
784
- }, re = (e, t) => {
790
+ J && Y && (J[Y] = e ? JSON.parse(e) : null, L()), U.value = !1;
791
+ }, oe = (e, t) => {
785
792
  let n = e;
786
793
  return t.forEach((e) => {
787
794
  !Array.isArray(n) && n.children && (n = n.children), n = n[e];
788
795
  }), n;
789
- }, ie = (e) => {
796
+ }, se = (e) => {
790
797
  let t = g.value[e.dataIndex];
791
798
  if (t) {
792
799
  let n = {
793
800
  filters: "filters",
794
801
  sorter: "sorter",
795
802
  summary: "summary",
796
- cellSummaryComponent: "cellSummaryComponent"
797
- }, r = k(t, n), i = k(e, Object.values(n).reduce((e, t) => (e[t] = t, e), {})), a = le(r, i);
803
+ cellSummaryComponent: "approve_cellSummaryComponent"
804
+ }, r = A(t, n), i = A(e, Object.values(n).reduce((e, t) => (e[t] = t, e), {})), a = me(r, i);
798
805
  return a || console.log(`${e.dataIndex} 字段配置不一致`, r, i), a;
799
806
  }
800
807
  return !0;
801
- }, ae = (e) => {
808
+ }, Z = (e) => {
802
809
  let t = {};
803
810
  return e.forEach((e) => {
804
- ie(e) || (t[e.dataIndex] = e), e.children && Array.isArray(e.children) && Object.assign(t, ae(e.children));
811
+ se(e) || (t[e.dataIndex] = e), e.children && Array.isArray(e.children) && Object.assign(t, Z(e.children));
805
812
  }), t;
806
- }, Z = () => {
807
- _.value = ae(m.value);
808
- }, oe = (e) => {
809
- Q(e), S(), Z();
810
- }, Q = (e) => {
813
+ }, Q = () => {
814
+ _.value = Z(m.value);
815
+ }, ce = (e) => {
816
+ le(e), S(), Q();
817
+ }, le = (e) => {
811
818
  let t = g.value[e.dataIndex];
812
819
  if (t) {
813
- let n = k(t, {
820
+ let n = A(t, {
814
821
  filterMultiple: "filterMultiple",
815
822
  contentMap: "contentMap",
816
823
  colorMap: "colorMap",
817
824
  filters: "filters",
818
825
  sorter: "sorter",
819
826
  summary: "summary",
820
- cellSummaryComponent: "cellSummaryComponent"
827
+ cellSummaryComponent: "approve_cellSummaryComponent"
821
828
  });
822
829
  Object.assign(e, n);
823
830
  }
@@ -826,70 +833,70 @@ var Ne = /* @__PURE__ */ t(Oe, [["render", Me], ["__scopeId", "data-v-85d6a01a"]
826
833
  selectedRowKeys: l,
827
834
  allColumnsData: f,
828
835
  columns: y,
829
- rowSelection: D,
836
+ rowSelection: O,
830
837
  baseColumns: b,
831
838
  baseColumnList: m,
832
- baseRowSelection: O,
839
+ baseRowSelection: k,
833
840
  baseSelectKeys: h,
834
841
  defaultColumns: v,
835
842
  cellComponentList: s(),
836
843
  cellSummaryComponentList: r(),
837
844
  COMMON_NUMBER_COMPONENT: "common_number",
838
- numfmtPatternPresets: R,
839
- filterPattern: V,
840
- onPatternChange: W,
841
- jsonStrModalOpen: G,
845
+ numfmtPatternPresets: z,
846
+ filterPattern: B,
847
+ onPatternChange: V,
848
+ jsonStrModalOpen: U,
842
849
  jsonStrText: K,
843
850
  jsonStrError: q,
844
- onJsonInput: te,
845
- handleJsonStrModalOk: ne,
846
- openJsonStrModal: ee,
851
+ onJsonInput: ie,
852
+ handleJsonStrModalOk: ae,
853
+ openJsonStrModal: re,
847
854
  paramCount: X,
848
- customCell: E,
849
- goRight: j,
850
- goLeft: N,
851
- onRowDragEnd: F,
852
- changeBaseColumnList: I,
853
- updateBaseColumn: Q,
854
- getRawRecord: re,
855
+ customCell: te,
856
+ goRight: M,
857
+ goLeft: P,
858
+ onRowDragEnd: I,
859
+ changeBaseColumnList: L,
860
+ updateBaseColumn: le,
861
+ getRawRecord: oe,
855
862
  changedFields: _,
856
863
  updateAllBaseColumn: () => {
857
864
  Object.values(_.value).forEach((e) => {
858
- Q(e);
859
- }), S(), Z();
865
+ le(e);
866
+ }), S(), Q();
860
867
  },
861
- handleUpdateBaseColumn: oe,
868
+ handleUpdateBaseColumn: ce,
862
869
  copyClick: (e) => {
863
870
  e.column.key !== "operation" && (p(e.text), e.hidePopup());
864
871
  },
865
- changeCellComponent: L,
872
+ changeCellComponent: R,
866
873
  height: o,
867
874
  emitData: S,
868
875
  fieldMap: g
869
876
  };
870
877
  }
871
- }), Fe = { class: "column-title-container" }, Ie = { class: "column-title" }, Le = { style: { width: "30px" } }, Re = { class: "column-title-container" }, ze = { class: "column-title" }, Be = { class: "base-column-table" }, Ve = {
878
+ }), Be = { class: "column-title-container" }, Ve = { class: "column-title" }, He = { style: { width: "30px" } }, Ue = { class: "column-title-container" }, We = { class: "column-title" }, Ge = { class: "base-column-table" }, Ke = {
872
879
  key: 1,
873
880
  class: "default-sort-tip"
874
- }, He = {
881
+ }, qe = {
875
882
  key: 0,
876
883
  class: "json-error-tip"
877
884
  };
878
- function Ue(e, t, n, r, i, a) {
879
- let o = G("copy-outlined"), s = G("a-button"), c = G("a-space-compact"), l = G("s-table"), u = G("a-col"), d = G("left-square-outlined"), f = G("left-square-two-tone"), p = G("right-square-outlined"), m = G("right-square-two-tone"), h = G("cell-edit"), g = G("WarningOutlined"), _ = G("a-select-option"), v = G("a-select"), y = G("a-input-number"), b = G("a-row"), x = G("a-radio-button"), S = G("a-radio-group"), C = G("a-switch"), w = G("a-auto-complete"), T = G("a-layout-sider"), E = G("a-layout"), O = G("a-textarea"), F = G("a-modal");
880
- return V(), j(D, null, [P(E, { class: "antTabs" }, {
881
- default: J(() => [P(T, {
885
+ function Je(e, t, n, r, i, a) {
886
+ let o = q("copy-outlined"), s = q("a-button"), c = q("a-space-compact"), l = q("s-table"), u = q("a-col"), d = q("left-square-outlined"), f = q("left-square-two-tone"), p = q("right-square-outlined"), m = q("right-square-two-tone"), h = q("cell-edit"), g = q("WarningOutlined"), _ = q("a-select-option"), v = q("a-select"), y = q("a-input-number"), b = q("a-row"), x = q("a-radio-button"), S = q("a-radio-group"), C = q("a-switch"), w = q("a-auto-complete"), T = q("a-layout-sider"), E = q("a-layout"), D = q("a-textarea"), ee = q("a-modal");
887
+ return U(), P(A, null, [L(E, { class: "antTabs" }, {
888
+ default: X(() => [L(T, {
882
889
  width: "100%",
883
- style: R({
890
+ style: V({
884
891
  backgroundColor: "white",
885
892
  overflowY: "auto",
886
893
  height: e.height + "px"
887
894
  })
888
895
  }, {
889
- default: J(() => [P(b, { style: { height: "100%" } }, {
890
- default: J(() => [
891
- P(u, { span: 6 }, {
892
- default: J(() => [M("div", Fe, [M("div", Ie, K(e.$t("可选列")), 1)]), P(l, {
896
+ default: X(() => [L(b, { style: { height: "100%" } }, {
897
+ default: X(() => [
898
+ L(u, { span: 6 }, {
899
+ default: X(() => [F("div", Be, [F("div", Ve, J(e.$t("可选列")), 1)]), L(l, {
893
900
  selectedRowKeys: e.selectedRowKeys,
894
901
  "onUpdate:selectedRowKeys": t[0] ||= (t) => e.selectedRowKeys = t,
895
902
  autoRowHeight: !0,
@@ -909,16 +916,16 @@ function Ue(e, t, n, r, i, a) {
909
916
  stripe: "",
910
917
  "summary-fixed": ""
911
918
  }, {
912
- bodyCell: J(({ column: e, index: t, text: n, record: r }) => [M("span", null, K(n), 1)]),
913
- contextmenuPopup: J((t) => [P(c, { direction: "vertical" }, {
914
- default: J(() => [P(s, {
919
+ bodyCell: X(({ column: e, index: t, text: n, record: r }) => [F("span", null, J(n), 1)]),
920
+ contextmenuPopup: X((t) => [L(c, { direction: "vertical" }, {
921
+ default: X(() => [L(s, {
915
922
  block: "",
916
923
  size: "small",
917
924
  type: "text",
918
925
  onClick: (n) => e.copyClick(t, "cell")
919
926
  }, {
920
- icon: J(() => [P(o)]),
921
- default: J(() => [N(" " + K(e.$t("复制")), 1)]),
927
+ icon: X(() => [L(o)]),
928
+ default: X(() => [I(" " + J(e.$t("复制")), 1)]),
922
929
  _: 1
923
930
  }, 8, ["onClick"])]),
924
931
  _: 2
@@ -934,45 +941,45 @@ function Ue(e, t, n, r, i, a) {
934
941
  ])]),
935
942
  _: 1
936
943
  }),
937
- P(u, { span: 1 }, {
938
- default: J(() => [M("div", { style: R({
944
+ L(u, { span: 1 }, {
945
+ default: X(() => [F("div", { style: V({
939
946
  display: "flex",
940
947
  alignItems: "center",
941
948
  justifyContent: "center",
942
949
  height: e.height + "px"
943
- }) }, [M("div", Le, [
944
- e.baseSelectKeys.length === 0 ? (V(), k(d, {
950
+ }) }, [F("div", He, [
951
+ e.baseSelectKeys.length === 0 ? (U(), M(d, {
945
952
  key: 0,
946
953
  style: {
947
954
  color: "#999999",
948
955
  "font-size": "25px"
949
956
  }
950
- })) : A("", !0),
951
- e.baseSelectKeys.length > 0 ? (V(), k(f, {
957
+ })) : N("", !0),
958
+ e.baseSelectKeys.length > 0 ? (U(), M(f, {
952
959
  key: 1,
953
960
  style: { "font-size": "25px" },
954
961
  onClick: e.goLeft
955
- }, null, 8, ["onClick"])) : A("", !0),
956
- e.selectedRowKeys.length === 0 ? (V(), k(p, {
962
+ }, null, 8, ["onClick"])) : N("", !0),
963
+ e.selectedRowKeys.length === 0 ? (U(), M(p, {
957
964
  key: 2,
958
965
  style: {
959
966
  color: "#999999",
960
967
  "font-size": "25px"
961
968
  }
962
- })) : A("", !0),
963
- e.selectedRowKeys.length > 0 ? (V(), k(m, {
969
+ })) : N("", !0),
970
+ e.selectedRowKeys.length > 0 ? (U(), M(m, {
964
971
  key: 3,
965
972
  style: { "font-size": "25px" },
966
973
  onClick: e.goRight
967
- }, null, 8, ["onClick"])) : A("", !0)
974
+ }, null, 8, ["onClick"])) : N("", !0)
968
975
  ])], 4)]),
969
976
  _: 1
970
977
  }),
971
- P(u, {
978
+ L(u, {
972
979
  span: 17,
973
980
  class: "base-column-content"
974
981
  }, {
975
- default: J(() => [M("div", Re, [M("div", ze, K(e.$t("列设置")), 1)]), M("div", Be, [P(l, {
982
+ default: X(() => [F("div", Ue, [F("div", We, J(e.$t("列设置")), 1)]), F("div", Ge, [L(l, {
976
983
  bordered: !0,
977
984
  columns: e.baseColumns,
978
985
  rowHeight: 30,
@@ -990,8 +997,8 @@ function Ue(e, t, n, r, i, a) {
990
997
  x: "100%"
991
998
  }
992
999
  }, {
993
- bodyCell: J(({ column: n, index: r, text: i, record: a, recordIndexs: o }) => [
994
- n.dataIndex === "title" ? (V(), k(h, {
1000
+ bodyCell: X(({ column: n, index: r, text: i, record: a, recordIndexs: o }) => [
1001
+ n.dataIndex === "title" ? (U(), M(h, {
995
1002
  key: 0,
996
1003
  value: e.getRawRecord(e.baseColumnList, o).title,
997
1004
  "onUpdate:value": (t) => e.getRawRecord(e.baseColumnList, o).title = t,
@@ -1000,18 +1007,18 @@ function Ue(e, t, n, r, i, a) {
1000
1007
  "value",
1001
1008
  "onUpdate:value",
1002
1009
  "onChange"
1003
- ])) : A("", !0),
1004
- n.dataIndex === "dataIndex" ? (V(), j(D, { key: 1 }, [N(K(i) + " ", 1), e.fieldMap && !e.fieldMap[i] ? (V(), k(g, {
1010
+ ])) : N("", !0),
1011
+ n.dataIndex === "dataIndex" ? (U(), P(A, { key: 1 }, [I(J(i) + " ", 1), e.fieldMap && !e.fieldMap[i] ? (U(), M(g, {
1005
1012
  key: 0,
1006
1013
  title: "列参数不存在",
1007
1014
  style: { color: "#faad14" }
1008
- })) : A("", !0)], 64)) : A("", !0),
1009
- n.dataIndex === "defaultSort" ? (V(), j(D, { key: 2 }, [a.sorter ? (V(), k(b, {
1015
+ })) : N("", !0)], 64)) : N("", !0),
1016
+ n.dataIndex === "defaultSort" ? (U(), P(A, { key: 2 }, [a.sorter ? (U(), M(b, {
1010
1017
  key: 0,
1011
1018
  gutter: 8
1012
1019
  }, {
1013
- default: J(() => [P(u, { span: 12 }, {
1014
- default: J(() => [P(v, {
1020
+ default: X(() => [L(u, { span: 12 }, {
1021
+ default: X(() => [L(v, {
1015
1022
  value: a.defaultSortOrder,
1016
1023
  "onUpdate:value": (e) => a.defaultSortOrder = e,
1017
1024
  onChange: e.changeBaseColumnList,
@@ -1019,17 +1026,17 @@ function Ue(e, t, n, r, i, a) {
1019
1026
  size: "small",
1020
1027
  allowClear: ""
1021
1028
  }, {
1022
- default: J(() => [P(_, {
1029
+ default: X(() => [L(_, {
1023
1030
  key: "ascend",
1024
1031
  value: "ascend"
1025
1032
  }, {
1026
- default: J(() => [N(K(e.$t("升序")), 1)]),
1033
+ default: X(() => [I(J(e.$t("升序")), 1)]),
1027
1034
  _: 1
1028
- }), P(_, {
1035
+ }), L(_, {
1029
1036
  key: "descend",
1030
1037
  value: "descend"
1031
1038
  }, {
1032
- default: J(() => [N(K(e.$t("降序")), 1)]),
1039
+ default: X(() => [I(J(e.$t("降序")), 1)]),
1033
1040
  _: 1
1034
1041
  })]),
1035
1042
  _: 1
@@ -1039,8 +1046,8 @@ function Ue(e, t, n, r, i, a) {
1039
1046
  "onChange"
1040
1047
  ])]),
1041
1048
  _: 2
1042
- }, 1024), P(u, { span: 12 }, {
1043
- default: J(() => [a.defaultSortOrder ? (V(), k(y, {
1049
+ }, 1024), L(u, { span: 12 }, {
1050
+ default: X(() => [a.defaultSortOrder ? (U(), M(y, {
1044
1051
  key: 0,
1045
1052
  size: "small",
1046
1053
  value: a.defaultSortIndex,
@@ -1054,29 +1061,29 @@ function Ue(e, t, n, r, i, a) {
1054
1061
  "value",
1055
1062
  "onUpdate:value",
1056
1063
  "onClick"
1057
- ])) : A("", !0)]),
1064
+ ])) : N("", !0)]),
1058
1065
  _: 2
1059
1066
  }, 1024)]),
1060
1067
  _: 2
1061
- }, 1024)) : (V(), j("div", Ve, " 不支持排序 "))], 64)) : A("", !0),
1062
- n.dataIndex === "fixed" ? (V(), j(D, { key: 3 }, [a?.is_children ? A("", !0) : (V(), k(S, {
1068
+ }, 1024)) : (U(), P("div", Ke, " 不支持排序 "))], 64)) : N("", !0),
1069
+ n.dataIndex === "fixed" ? (U(), P(A, { key: 3 }, [a?.is_children ? N("", !0) : (U(), M(S, {
1063
1070
  key: 0,
1064
1071
  value: a.fixed,
1065
1072
  "onUpdate:value": (e) => a.fixed = e,
1066
1073
  size: "small",
1067
1074
  onClick: e.changeBaseColumnList
1068
1075
  }, {
1069
- default: J(() => [
1070
- P(x, { value: "left" }, {
1071
- default: J(() => [...t[3] ||= [N(K("左"), -1)]]),
1076
+ default: X(() => [
1077
+ L(x, { value: "left" }, {
1078
+ default: X(() => [...t[3] ||= [I(J("左"), -1)]]),
1072
1079
  _: 1
1073
1080
  }),
1074
- P(x, { value: void 0 }, {
1075
- default: J(() => [...t[4] ||= [N(K("不固定"), -1)]]),
1081
+ L(x, { value: void 0 }, {
1082
+ default: X(() => [...t[4] ||= [I(J("不固定"), -1)]]),
1076
1083
  _: 1
1077
1084
  }),
1078
- P(x, { value: "right" }, {
1079
- default: J(() => [...t[5] ||= [N(K("右"), -1)]]),
1085
+ L(x, { value: "right" }, {
1086
+ default: X(() => [...t[5] ||= [I(J("右"), -1)]]),
1080
1087
  _: 1
1081
1088
  })
1082
1089
  ]),
@@ -1085,8 +1092,8 @@ function Ue(e, t, n, r, i, a) {
1085
1092
  "value",
1086
1093
  "onUpdate:value",
1087
1094
  "onClick"
1088
- ]))], 64)) : A("", !0),
1089
- n.dataIndex === "autoHeight" ? (V(), j(D, { key: 4 }, [a.children && a.children.length > 0 ? A("", !0) : (V(), k(C, {
1095
+ ]))], 64)) : N("", !0),
1096
+ n.dataIndex === "autoHeight" ? (U(), P(A, { key: 4 }, [a.children && a.children.length > 0 ? N("", !0) : (U(), M(C, {
1090
1097
  key: 0,
1091
1098
  checked: a.autoHeight,
1092
1099
  "onUpdate:checked": (e) => a.autoHeight = e,
@@ -1099,8 +1106,8 @@ function Ue(e, t, n, r, i, a) {
1099
1106
  "checked",
1100
1107
  "onUpdate:checked",
1101
1108
  "onClick"
1102
- ]))], 64)) : A("", !0),
1103
- n.dataIndex === "autoWidth" ? (V(), j(D, { key: 5 }, [!(a.children && a.children.length > 0) && a?.resizable ? (V(), k(C, {
1109
+ ]))], 64)) : N("", !0),
1110
+ n.dataIndex === "autoWidth" ? (U(), P(A, { key: 5 }, [!(a.children && a.children.length > 0) && a?.resizable ? (U(), M(C, {
1104
1111
  key: 0,
1105
1112
  checked: a.autoWidth,
1106
1113
  "onUpdate:checked": (e) => a.autoWidth = e,
@@ -1115,8 +1122,8 @@ function Ue(e, t, n, r, i, a) {
1115
1122
  "checked-children",
1116
1123
  "un-checked-children",
1117
1124
  "onClick"
1118
- ])) : A("", !0)], 64)) : A("", !0),
1119
- n.dataIndex === "approve_summary" ? (V(), k(C, {
1125
+ ])) : N("", !0)], 64)) : N("", !0),
1126
+ n.dataIndex === "approve_summary" ? (U(), M(C, {
1120
1127
  key: 6,
1121
1128
  checked: a.approve_summary,
1122
1129
  "onUpdate:checked": (e) => a.approve_summary = e,
@@ -1127,8 +1134,8 @@ function Ue(e, t, n, r, i, a) {
1127
1134
  "checked",
1128
1135
  "onUpdate:checked",
1129
1136
  "onClick"
1130
- ])) : A("", !0),
1131
- n.dataIndex === "ellipsis" ? (V(), j(D, { key: 7 }, [!(a.children && a.children.length > 0) && a?.resizable ? (V(), k(C, {
1137
+ ])) : N("", !0),
1138
+ n.dataIndex === "ellipsis" ? (U(), P(A, { key: 7 }, [!(a.children && a.children.length > 0) && a?.resizable ? (U(), M(C, {
1132
1139
  key: 0,
1133
1140
  checked: a.ellipsis,
1134
1141
  "onUpdate:checked": (e) => a.ellipsis = e,
@@ -1143,8 +1150,8 @@ function Ue(e, t, n, r, i, a) {
1143
1150
  "checked-children",
1144
1151
  "un-checked-children",
1145
1152
  "onClick"
1146
- ])) : A("", !0)], 64)) : A("", !0),
1147
- n.dataIndex === "cellComponent" ? (V(), k(v, {
1153
+ ])) : N("", !0)], 64)) : N("", !0),
1154
+ n.dataIndex === "cellComponent" ? (U(), M(v, {
1148
1155
  key: 8,
1149
1156
  value: a.cellComponent,
1150
1157
  "onUpdate:value": (e) => a.cellComponent = e,
@@ -1156,11 +1163,11 @@ function Ue(e, t, n, r, i, a) {
1156
1163
  style: { width: "180px" },
1157
1164
  onChange: (t) => e.changeCellComponent(a)
1158
1165
  }, {
1159
- default: J(() => [(V(!0), j(D, null, W(e.cellComponentList, (t) => (V(), k(_, {
1166
+ default: X(() => [(U(!0), P(A, null, K(e.cellComponentList, (t) => (U(), M(_, {
1160
1167
  key: t.cellComponent,
1161
1168
  value: t.cellComponent
1162
1169
  }, {
1163
- default: J(() => [N(K(e.$t(t.name) + "(" + t.cellComponent + ")"), 1)]),
1170
+ default: X(() => [I(J(e.$t(t.name) + "(" + t.cellComponent + ")"), 1)]),
1164
1171
  _: 2
1165
1172
  }, 1032, ["value"]))), 128))]),
1166
1173
  _: 1
@@ -1169,8 +1176,8 @@ function Ue(e, t, n, r, i, a) {
1169
1176
  "onUpdate:value",
1170
1177
  "placeholder",
1171
1178
  "onChange"
1172
- ])) : A("", !0),
1173
- n.dataIndex === "cellParams" ? (V(), j(D, { key: 9 }, [a.cellComponent === e.COMMON_NUMBER_COMPONENT ? (V(), k(w, {
1179
+ ])) : N("", !0),
1180
+ n.dataIndex === "cellParams" ? (U(), P(A, { key: 9 }, [a.cellComponent === e.COMMON_NUMBER_COMPONENT ? (U(), M(w, {
1174
1181
  key: 0,
1175
1182
  value: a.cellComponentParams?.pattern || "",
1176
1183
  size: "small",
@@ -1184,18 +1191,18 @@ function Ue(e, t, n, r, i, a) {
1184
1191
  "options",
1185
1192
  "filter-option",
1186
1193
  "onChange"
1187
- ])) : (V(), k(s, {
1194
+ ])) : (U(), M(s, {
1188
1195
  key: 1,
1189
1196
  size: "small",
1190
1197
  onClick: (t) => e.openJsonStrModal(a.cellComponentParams, a, "cellComponentParams")
1191
1198
  }, {
1192
- default: J(() => [N(K(e.paramCount(a.cellComponentParams) ? e.$t("已配") : e.$t("配置")), 1)]),
1199
+ default: X(() => [I(J(e.paramCount(a.cellComponentParams) ? e.$t("已配") : e.$t("配置")), 1)]),
1193
1200
  _: 2
1194
- }, 1032, ["onClick"]))], 64)) : A("", !0),
1195
- n.dataIndex === "cellSummaryComponent" ? (V(), k(v, {
1201
+ }, 1032, ["onClick"]))], 64)) : N("", !0),
1202
+ n.dataIndex === "approve_cellSummaryComponent" ? (U(), M(v, {
1196
1203
  key: 10,
1197
- value: a.cellSummaryComponent,
1198
- "onUpdate:value": (e) => a.cellSummaryComponent = e,
1204
+ value: a.approve_cellSummaryComponent,
1205
+ "onUpdate:value": (e) => a.approve_cellSummaryComponent = e,
1199
1206
  "allow-clear": !0,
1200
1207
  dropdownMatchSelectWidth: !1,
1201
1208
  placeholder: e.$t("请选择"),
@@ -1204,11 +1211,11 @@ function Ue(e, t, n, r, i, a) {
1204
1211
  style: { width: "160px" },
1205
1212
  onChange: e.changeBaseColumnList
1206
1213
  }, {
1207
- default: J(() => [(V(!0), j(D, null, W(e.cellSummaryComponentList, (t) => (V(), k(_, {
1214
+ default: X(() => [(U(!0), P(A, null, K(e.cellSummaryComponentList, (t) => (U(), M(_, {
1208
1215
  key: t.cellSummaryComponent,
1209
1216
  value: t.cellSummaryComponent
1210
1217
  }, {
1211
- default: J(() => [N(K(e.$t(t.name) + "(" + t.cellSummaryComponent + ")"), 1)]),
1218
+ default: X(() => [I(J(e.$t(t.name) + "(" + t.cellSummaryComponent + ")"), 1)]),
1212
1219
  _: 2
1213
1220
  }, 1032, ["value"]))), 128))]),
1214
1221
  _: 1
@@ -1217,8 +1224,8 @@ function Ue(e, t, n, r, i, a) {
1217
1224
  "onUpdate:value",
1218
1225
  "placeholder",
1219
1226
  "onChange"
1220
- ])) : A("", !0),
1221
- n.dataIndex === "summaryParams" ? (V(), j(D, { key: 11 }, [a.cellSummaryComponent === e.COMMON_NUMBER_COMPONENT ? (V(), k(w, {
1227
+ ])) : N("", !0),
1228
+ n.dataIndex === "summaryParams" ? (U(), P(A, { key: 11 }, [a.approve_cellSummaryComponent === e.COMMON_NUMBER_COMPONENT ? (U(), M(w, {
1222
1229
  key: 0,
1223
1230
  value: a.cellSummaryComponentParams?.pattern || "",
1224
1231
  size: "small",
@@ -1232,32 +1239,32 @@ function Ue(e, t, n, r, i, a) {
1232
1239
  "options",
1233
1240
  "filter-option",
1234
1241
  "onChange"
1235
- ])) : (V(), k(s, {
1242
+ ])) : (U(), M(s, {
1236
1243
  key: 1,
1237
1244
  size: "small",
1238
1245
  onClick: (t) => e.openJsonStrModal(a.cellSummaryComponentParams, a, "cellSummaryComponentParams")
1239
1246
  }, {
1240
- default: J(() => [N(K(e.paramCount(a.cellSummaryComponentParams) ? e.$t("已配") : e.$t("配置")), 1)]),
1247
+ default: X(() => [I(J(e.paramCount(a.cellSummaryComponentParams) ? e.$t("已配") : e.$t("配置")), 1)]),
1241
1248
  _: 2
1242
- }, 1032, ["onClick"]))], 64)) : A("", !0),
1243
- n.dataIndex === "action" ? (V(), j(D, { key: 12 }, [e.changedFields[a.dataIndex] ? (V(), k(s, {
1249
+ }, 1032, ["onClick"]))], 64)) : N("", !0),
1250
+ n.dataIndex === "action" ? (U(), P(A, { key: 12 }, [e.changedFields[a.dataIndex] ? (U(), M(s, {
1244
1251
  key: 0,
1245
1252
  type: "link",
1246
1253
  onClick: (t) => e.handleUpdateBaseColumn(e.getRawRecord(e.baseColumnList, o))
1247
1254
  }, {
1248
- default: J(() => [N(K(e.$t("更新")), 1)]),
1255
+ default: X(() => [I(J(e.$t("更新")), 1)]),
1249
1256
  _: 1
1250
- }, 8, ["onClick"])) : A("", !0)], 64)) : A("", !0)
1257
+ }, 8, ["onClick"])) : N("", !0)], 64)) : N("", !0)
1251
1258
  ]),
1252
- contextmenuPopup: J((t) => [P(c, { direction: "vertical" }, {
1253
- default: J(() => [P(s, {
1259
+ contextmenuPopup: X((t) => [L(c, { direction: "vertical" }, {
1260
+ default: X(() => [L(s, {
1254
1261
  block: "",
1255
1262
  size: "small",
1256
1263
  type: "text",
1257
1264
  onClick: (n) => e.copyClick(t, "cell")
1258
1265
  }, {
1259
- icon: J(() => [P(o)]),
1260
- default: J(() => [N(" " + K(e.$t("复制")), 1)]),
1266
+ icon: X(() => [L(o)]),
1267
+ default: X(() => [I(" " + J(e.$t("复制")), 1)]),
1261
1268
  _: 1
1262
1269
  }, 8, ["onClick"])]),
1263
1270
  _: 2
@@ -1279,7 +1286,7 @@ function Ue(e, t, n, r, i, a) {
1279
1286
  _: 1
1280
1287
  }, 8, ["style"])]),
1281
1288
  _: 1
1282
- }), P(F, {
1289
+ }), L(ee, {
1283
1290
  open: e.jsonStrModalOpen,
1284
1291
  "onUpdate:open": t[2] ||= (t) => e.jsonStrModalOpen = t,
1285
1292
  title: e.$t("编辑参数(JSON)"),
@@ -1287,16 +1294,16 @@ function Ue(e, t, n, r, i, a) {
1287
1294
  "destroy-on-close": "",
1288
1295
  onOk: e.handleJsonStrModalOk
1289
1296
  }, {
1290
- default: J(() => [P(O, {
1297
+ default: X(() => [L(D, {
1291
1298
  rows: 8,
1292
1299
  value: e.jsonStrText,
1293
- class: L({ "json-error": !!e.jsonStrError }),
1300
+ class: B({ "json-error": !!e.jsonStrError }),
1294
1301
  onInput: e.onJsonInput
1295
1302
  }, null, 8, [
1296
1303
  "value",
1297
1304
  "class",
1298
1305
  "onInput"
1299
- ]), e.jsonStrError ? (V(), j("div", He, K(e.jsonStrError), 1)) : A("", !0)]),
1306
+ ]), e.jsonStrError ? (U(), P("div", qe, J(e.jsonStrError), 1)) : N("", !0)]),
1300
1307
  _: 1
1301
1308
  }, 8, [
1302
1309
  "open",
@@ -1304,7 +1311,7 @@ function Ue(e, t, n, r, i, a) {
1304
1311
  "onOk"
1305
1312
  ])], 64);
1306
1313
  }
1307
- var We = /* @__PURE__ */ t(Pe, [["render", Ue], ["__scopeId", "data-v-52abe38d"]]), Ge = F({
1314
+ var Ye = /* @__PURE__ */ t(ze, [["render", Je], ["__scopeId", "data-v-d3413a14"]]), Xe = R({
1308
1315
  name: "OperatorSelect",
1309
1316
  props: { record: {
1310
1317
  type: Object,
@@ -1317,7 +1324,7 @@ var We = /* @__PURE__ */ t(Pe, [["render", Ue], ["__scopeId", "data-v-52abe38d"]
1317
1324
  changeOperatorList: (e) => {
1318
1325
  t("change", e);
1319
1326
  },
1320
- operator_list: O(() => {
1327
+ operator_list: j(() => {
1321
1328
  let t = [];
1322
1329
  return e.record.options && e.record.options.length > 0 ? (t = [
1323
1330
  "in",
@@ -1332,9 +1339,9 @@ var We = /* @__PURE__ */ t(Pe, [["render", Ue], ["__scopeId", "data-v-52abe38d"]
1332
1339
  });
1333
1340
  //#endregion
1334
1341
  //#region src/components/approval/components/approvalPageConfig/operatorSelect.vue
1335
- function Ke(e, t, n, r, i, a) {
1336
- let o = G("a-select-option"), s = G("a-select");
1337
- return V(), k(s, {
1342
+ function Ze(e, t, n, r, i, a) {
1343
+ let o = q("a-select-option"), s = q("a-select");
1344
+ return U(), M(s, {
1338
1345
  value: e.record.operator_list,
1339
1346
  "onUpdate:value": t[0] ||= (t) => e.record.operator_list = t,
1340
1347
  "allow-clear": !0,
@@ -1347,14 +1354,14 @@ function Ke(e, t, n, r, i, a) {
1347
1354
  style: { width: "100%" },
1348
1355
  onChange: t[1] ||= (t) => e.changeOperatorList(e.record)
1349
1356
  }, {
1350
- default: J(() => [(V(!0), j(D, null, W(e.operator_list, (t) => (V(), k(o, { value: t }, {
1351
- default: J(() => [N(K(e.get_operator_type_map(e.record.format, t)) + "(" + K(t) + ") ", 1)]),
1357
+ default: X(() => [(U(!0), P(A, null, K(e.operator_list, (t) => (U(), M(o, { value: t }, {
1358
+ default: X(() => [I(J(e.get_operator_type_map(e.record.format, t)) + "(" + J(t) + ") ", 1)]),
1352
1359
  _: 2
1353
1360
  }, 1032, ["value"]))), 256))]),
1354
1361
  _: 1
1355
1362
  }, 8, ["value"]);
1356
1363
  }
1357
- var qe = /* @__PURE__ */ t(Ge, [["render", Ke]]), Je = F({
1364
+ var Qe = /* @__PURE__ */ t(Xe, [["render", Ze]]), $e = R({
1358
1365
  name: "DefaultOperatorSelect",
1359
1366
  props: { record: {
1360
1367
  type: Object,
@@ -1366,16 +1373,16 @@ var qe = /* @__PURE__ */ t(Ge, [["render", Ke]]), Je = F({
1366
1373
  changeDefaultOperator: (e) => {
1367
1374
  t("change", e);
1368
1375
  },
1369
- operator_list: O(() => e.record.operator_list),
1376
+ operator_list: j(() => e.record.operator_list),
1370
1377
  get_operator_type_map: f
1371
1378
  };
1372
1379
  }
1373
1380
  });
1374
1381
  //#endregion
1375
1382
  //#region src/components/approval/components/approvalPageConfig/defaultOperatorSelect.vue
1376
- function Ye(e, t, n, r, i, a) {
1377
- let o = G("a-select-option"), s = G("a-select");
1378
- return V(), k(s, {
1383
+ function et(e, t, n, r, i, a) {
1384
+ let o = q("a-select-option"), s = q("a-select");
1385
+ return U(), M(s, {
1379
1386
  value: e.record.default_operator,
1380
1387
  "onUpdate:value": t[0] ||= (t) => e.record.default_operator = t,
1381
1388
  "allow-clear": !0,
@@ -1386,14 +1393,14 @@ function Ye(e, t, n, r, i, a) {
1386
1393
  style: { width: "100%" },
1387
1394
  onChange: t[1] ||= (t) => e.changeDefaultOperator(e.record)
1388
1395
  }, {
1389
- default: J(() => [(V(!0), j(D, null, W(e.record.operator_list, (t) => (V(), k(o, { value: t }, {
1390
- default: J(() => [N(K(e.get_operator_type_map(e.record.format, t)) + "(" + K(t) + ") ", 1)]),
1396
+ default: X(() => [(U(!0), P(A, null, K(e.record.operator_list, (t) => (U(), M(o, { value: t }, {
1397
+ default: X(() => [I(J(e.get_operator_type_map(e.record.format, t)) + "(" + J(t) + ") ", 1)]),
1391
1398
  _: 2
1392
1399
  }, 1032, ["value"]))), 256))]),
1393
1400
  _: 1
1394
1401
  }, 8, ["value"]);
1395
1402
  }
1396
- var Xe = /* @__PURE__ */ t(Je, [["render", Ye]]), Ze = [{
1403
+ var tt = /* @__PURE__ */ t($e, [["render", et]]), nt = [{
1397
1404
  title: "参数",
1398
1405
  dataIndex: "name",
1399
1406
  checked: !0,
@@ -1405,7 +1412,7 @@ var Xe = /* @__PURE__ */ t(Je, [["render", Ye]]), Ze = [{
1405
1412
  checked: !0,
1406
1413
  width: 100,
1407
1414
  ellipsis: !0
1408
- }], Qe = [
1415
+ }], rt = [
1409
1416
  {
1410
1417
  title: "列名称",
1411
1418
  dataIndex: "label",
@@ -1444,7 +1451,7 @@ var Xe = /* @__PURE__ */ t(Je, [["render", Ye]]), Ze = [{
1444
1451
  key: "default_operator",
1445
1452
  width: 100
1446
1453
  }
1447
- ], $e = F({
1454
+ ], it = R({
1448
1455
  name: "BaseSearch",
1449
1456
  props: {
1450
1457
  record: {
@@ -1457,25 +1464,25 @@ var Xe = /* @__PURE__ */ t(Je, [["render", Ye]]), Ze = [{
1457
1464
  }
1458
1465
  },
1459
1466
  components: {
1460
- CloseCircleOutlined: te,
1461
- LeftSquareOutlined: ie,
1462
- LeftSquareTwoTone: ae,
1463
- RightSquareOutlined: oe,
1464
- RightSquareTwoTone: Q,
1465
- CheckOutlined: ee,
1466
- EditOutlined: re,
1467
- OperatorSelect: qe,
1468
- DefaultOperatorSelect: Xe,
1469
- cellEdit: Ne
1467
+ CloseCircleOutlined: oe,
1468
+ LeftSquareOutlined: Q,
1469
+ LeftSquareTwoTone: ce,
1470
+ RightSquareOutlined: ue,
1471
+ RightSquareTwoTone: de,
1472
+ CheckOutlined: ae,
1473
+ EditOutlined: Z,
1474
+ OperatorSelect: Qe,
1475
+ DefaultOperatorSelect: tt,
1476
+ cellEdit: Re
1470
1477
  },
1471
1478
  emits: ["update:record"],
1472
1479
  setup(e, { emit: t }) {
1473
- let n = o(), r = i(), s = U(0), c = u().currentOrg, l = U([]), d = H({}), f = U([]), p = U([]), m = U([]), h = U([]), g = U({}), _ = U({}), v = () => {
1480
+ let n = o(), r = i(), s = G(0), c = u().currentOrg, l = G([]), d = W({}), f = G([]), p = G([]), m = G([]), h = G([]), g = G({}), _ = G({}), v = () => {
1474
1481
  let e = [];
1475
- e = se(p.value), e.forEach((e) => {
1482
+ e = fe(p.value), e.forEach((e) => {
1476
1483
  delete e.dataIndex;
1477
1484
  }), t("update:record", e);
1478
- }, y = ce(() => {
1485
+ }, y = pe(() => {
1479
1486
  s.value = window.innerHeight - 165;
1480
1487
  }, 200);
1481
1488
  function b(e, t) {
@@ -1502,22 +1509,27 @@ var Xe = /* @__PURE__ */ t(Je, [["render", Ye]]), Ze = [{
1502
1509
  b(t, e);
1503
1510
  }), f.value = [].concat(f.value), p.value = [].concat(p.value);
1504
1511
  };
1505
- z(async () => {
1512
+ H(async () => {
1506
1513
  window.addEventListener("resize", y), y();
1507
- let t = se(e.record) || [];
1514
+ let t = fe(e.record) || [];
1508
1515
  if (t.forEach((e) => {
1509
1516
  e.operator_list ||= [], !e.dataIndex && e.field_name && (e.dataIndex = e.field_name);
1510
1517
  }), p.value = t, console.log(p.value), e.modelType) {
1511
- let t = e.modelType.split("-"), n = `${t[0]}/obtain_${t[1]}_column_data`;
1512
- f.value = x(await a({ org_id: c?.id }, n, !1, { skip_error: !0 }) || []), G(f.value);
1518
+ let t = e.modelType.split("-"), n = [];
1519
+ if (w(e.modelType)) n = E((await T(e.modelType, c?.id)).base_search_condition_config_list);
1520
+ else {
1521
+ let e = `${t[0]}/obtain_${t[1]}_column_data`;
1522
+ n = x(await a({ org_id: c?.id }, e, !1, { skip_error: !0 }) || []);
1523
+ }
1524
+ f.value = n, U(f.value);
1513
1525
  }
1514
1526
  J(), S();
1515
- }), B(() => {
1527
+ }), ne(() => {
1516
1528
  window.removeEventListener("resize", y);
1517
1529
  });
1518
1530
  let C = (e) => {
1519
1531
  if (e.record.disabled) return { style: { background: "#cbcbcb" } };
1520
- }, w = H({
1532
+ }, D = W({
1521
1533
  type: "checkbox",
1522
1534
  onChange: (e) => {
1523
1535
  m.value = e;
@@ -1526,7 +1538,7 @@ var Xe = /* @__PURE__ */ t(Je, [["render", Ye]]), Ze = [{
1526
1538
  disabled: e.children !== void 0,
1527
1539
  name: e.dataIndex
1528
1540
  })
1529
- }), T = H({
1541
+ }), ee = W({
1530
1542
  type: "checkbox",
1531
1543
  onChange: (e) => {
1532
1544
  l.value = e;
@@ -1535,27 +1547,27 @@ var Xe = /* @__PURE__ */ t(Je, [["render", Ye]]), Ze = [{
1535
1547
  disabled: e.disabled,
1536
1548
  name: e.name
1537
1549
  })
1538
- }), E = (e, t) => {
1550
+ }), te = (e, t) => {
1539
1551
  let n, r = (e, t, i) => {
1540
1552
  for (let a of t) if (a.dataIndex === i) return n = e, n;
1541
1553
  else if (a.children && a.children.length > 0 && (n = r(a.dataIndex, a.children, i), n !== void 0)) return n;
1542
1554
  };
1543
1555
  return r(null, e, t);
1544
- }, D = ({ record: e, insertToRowKey: t }) => new Promise((n, r) => {
1545
- let i = E(p.value, e.dataIndex);
1556
+ }, O = ({ record: e, insertToRowKey: t }) => new Promise((n, r) => {
1557
+ let i = te(p.value, e.dataIndex);
1546
1558
  i != null && t != null || i == null && t == null ? n(!0) : r();
1547
1559
  }).then(() => {
1548
1560
  setTimeout(() => {
1549
1561
  v();
1550
1562
  }, 200);
1551
- }), O = (e) => {
1563
+ }), k = (e) => {
1552
1564
  e.forEach((e) => {
1553
- m.value.indexOf(e.name) > -1 && (e.disabled = !1), e.children && Array.isArray(e.children) && O(e.children);
1565
+ m.value.indexOf(e.name) > -1 && (e.disabled = !1), e.children && Array.isArray(e.children) && k(e.children);
1554
1566
  });
1555
- }, k = () => {
1567
+ }, A = () => {
1556
1568
  let e = p.value.filter((e) => m.value.indexOf(e.dataIndex) == -1);
1557
- O(f.value), m.value.length = 0, p.value = [].concat(e), f.value = [].concat(f.value), v(), J();
1558
- }, A = (e) => {
1569
+ k(f.value), m.value.length = 0, p.value = [].concat(e), f.value = [].concat(f.value), v(), J();
1570
+ }, j = (e) => {
1559
1571
  e.forEach((e) => {
1560
1572
  if (l.value.indexOf(e.name) > -1) {
1561
1573
  e.disabled = !0;
@@ -1566,42 +1578,42 @@ var Xe = /* @__PURE__ */ t(Je, [["render", Ye]]), Ze = [{
1566
1578
  "notin"
1567
1579
  ], e.type === "boolean" ? t.class_name = "bool" : t.class_name = e.type, t.format = "choices") : e.type == "int" ? (t.format = "input", t.operator_list = n[e.type], t.class_name = "int") : e.type == "float" ? (t.format = "input", t.operator_list = n[e.type], t.class_name = "float") : e.type == "str" ? (t.format = "input", t.operator_list = n[e.type], t.class_name = "str") : e.type == "remote" ? (t.format = "remote", t.operator_list = n[e.type], t.class_name = "int", t.postUrl = e.postUrl) : e.type == "datetime" ? (t.format = "input", t.operator_list = n[e.type], t.class_name = "datetime") : e.type == "date" ? (t.format = "input", t.operator_list = n[e.type], t.class_name = "date") : e.type == "time" ? (t.format = "input", t.operator_list = n[e.type], t.class_name = "time") : (t.format = "input", t.operator_list = n.str, t.class_name = "str"), p.value.push(t);
1568
1580
  }
1569
- e.children && Array.isArray(e.children) && A(e.children);
1581
+ e.children && Array.isArray(e.children) && j(e.children);
1570
1582
  });
1571
- }, j = () => {
1572
- A(f.value), l.value.length = 0, f.value = [].concat(f.value), p.value = [].concat(p.value), v();
1573
- }, M = (e) => {
1574
- delete d[e];
1583
+ }, M = () => {
1584
+ j(f.value), l.value.length = 0, f.value = [].concat(f.value), p.value = [].concat(p.value), v();
1575
1585
  }, N = (e) => {
1576
- d[e] = e;
1586
+ delete d[e];
1577
1587
  }, P = (e) => {
1588
+ d[e] = e;
1589
+ }, F = (e) => {
1578
1590
  delete d[e];
1579
1591
  let t = [];
1580
1592
  p.value.forEach((n) => {
1581
1593
  e == n.dataIndex && (t = n.children);
1582
1594
  }), p.value = p.value.filter((t) => t.dataIndex !== e), p.value.length > 0 && p.value[p.value.length - 1].children.push(...t), p.value = [].concat(p.value), v();
1583
- }, F = () => {
1595
+ }, I = () => {
1584
1596
  p.value = [].concat(p.value), v();
1585
- }, I = (e) => e?.children && e.children.length >= 0 ? [] : e?.options && e.options.length > 0 ? [{
1597
+ }, L = (e) => e?.children && e.children.length >= 0 ? [] : e?.options && e.options.length > 0 ? [{
1586
1598
  name: "下拉选框",
1587
1599
  value: "select"
1588
- }] : r[e.class_name] ? r[e.class_name].type : [], L = (e) => {
1600
+ }] : r[e.class_name] ? r[e.class_name].type : [], R = (e) => {
1589
1601
  e.operator_list.includes(e.default_operator) || (e.default_operator = null), e.default_operator ||= e.operator_list?.[0], v();
1590
- }, R = (e) => {
1602
+ }, z = (e) => {
1591
1603
  v();
1592
- }, V = (e, t) => {
1604
+ }, B = (e, t) => {
1593
1605
  let n = e;
1594
1606
  return t.forEach((e) => {
1595
1607
  !Array.isArray(n) && n.children && (n = n.children), n = n[e];
1596
1608
  }), n;
1597
- }, W = (e, t) => {
1609
+ }, V = (e, t) => {
1598
1610
  let n = {};
1599
1611
  return Object.keys(t).forEach((r) => {
1600
1612
  e[r] !== void 0 && (n[t[r]] = e[r]);
1601
1613
  }), n;
1602
- }, G = (e) => {
1614
+ }, U = (e) => {
1603
1615
  e.forEach((e) => {
1604
- g.value[e.name] = e, Array.isArray(e.children) && G(e.children);
1616
+ g.value[e.name] = e, Array.isArray(e.children) && U(e.children);
1605
1617
  });
1606
1618
  }, K = (e) => {
1607
1619
  let t = g.value[e.field_name];
@@ -1609,7 +1621,7 @@ var Xe = /* @__PURE__ */ t(Je, [["render", Ye]]), Ze = [{
1609
1621
  let n = {
1610
1622
  options: "options",
1611
1623
  required_condition: "required_condition"
1612
- }, r = W(t, n), i = W(e, Object.values(n).reduce((e, t) => (e[t] = t, e), {})), a = le(r, i);
1624
+ }, r = V(t, n), i = V(e, Object.values(n).reduce((e, t) => (e[t] = t, e), {})), a = me(r, i);
1613
1625
  return a || console.log(`${e.field_name} 字段配置不一致`, r, i), a;
1614
1626
  }
1615
1627
  return !0;
@@ -1627,7 +1639,7 @@ var Xe = /* @__PURE__ */ t(Je, [["render", Ye]]), Ze = [{
1627
1639
  }, X = (e) => {
1628
1640
  let t = g.value[e.field_name];
1629
1641
  if (t) {
1630
- let n = W(t, {
1642
+ let n = V(t, {
1631
1643
  options: "options",
1632
1644
  required_condition: "required_condition"
1633
1645
  });
@@ -1637,26 +1649,26 @@ var Xe = /* @__PURE__ */ t(Je, [["render", Ye]]), Ze = [{
1637
1649
  return {
1638
1650
  selectedRowKeys: l,
1639
1651
  dataSource: f,
1640
- columns: Ze,
1641
- baseColumns: Qe,
1652
+ columns: nt,
1653
+ baseColumns: rt,
1642
1654
  baseDataSource: p,
1643
1655
  open: d,
1644
- rowSelection: T,
1645
- baseRowSelection: w,
1656
+ rowSelection: ee,
1657
+ baseRowSelection: D,
1646
1658
  baseSelectedRowKeys: m,
1647
1659
  baseExpandedRowKeys: h,
1648
1660
  emitData: v,
1649
1661
  customCell: C,
1650
- toLeft: k,
1651
- toRight: j,
1652
- baseRowDragEnd: D,
1653
- cancel: M,
1654
- handleDelete: N,
1655
- deleteRecord: P,
1656
- changeBase: F,
1657
- getType: I,
1658
- changeOperatorList: L,
1659
- changeDefaultOperator: R,
1662
+ toLeft: A,
1663
+ toRight: M,
1664
+ baseRowDragEnd: O,
1665
+ cancel: N,
1666
+ handleDelete: P,
1667
+ deleteRecord: F,
1668
+ changeBase: I,
1669
+ getType: L,
1670
+ changeOperatorList: R,
1671
+ changeDefaultOperator: z,
1660
1672
  changedFields: _,
1661
1673
  updateAllBaseSearch: () => {
1662
1674
  Object.values(_.value).forEach((e) => {
@@ -1664,24 +1676,24 @@ var Xe = /* @__PURE__ */ t(Je, [["render", Ye]]), Ze = [{
1664
1676
  }), v(), J();
1665
1677
  },
1666
1678
  handleUpdateBaseColumn: Y,
1667
- getRawRecord: V,
1679
+ getRawRecord: B,
1668
1680
  height: s,
1669
1681
  fieldMap: g
1670
1682
  };
1671
1683
  }
1672
- }), et = { style: { width: "30px" } };
1673
- function tt(e, t, n, r, i, a) {
1674
- let o = G("s-table"), s = G("a-col"), c = G("left-square-outlined"), l = G("left-square-two-tone"), u = G("right-square-outlined"), d = G("right-square-two-tone"), f = G("cell-edit"), p = G("WarningOutlined"), m = G("a-select-option"), h = G("a-select"), g = G("OperatorSelect"), _ = G("DefaultOperatorSelect"), v = G("a-button"), y = G("a-row");
1675
- return V(), k(y, {
1684
+ }), at = { style: { width: "30px" } };
1685
+ function ot(e, t, n, r, i, a) {
1686
+ let o = q("s-table"), s = q("a-col"), c = q("left-square-outlined"), l = q("left-square-two-tone"), u = q("right-square-outlined"), d = q("right-square-two-tone"), f = q("cell-edit"), p = q("WarningOutlined"), m = q("a-select-option"), h = q("a-select"), g = q("OperatorSelect"), _ = q("DefaultOperatorSelect"), v = q("a-button"), y = q("a-row");
1687
+ return U(), M(y, {
1676
1688
  class: "antTabs",
1677
- style: R({ height: e.height + "px" })
1689
+ style: V({ height: e.height + "px" })
1678
1690
  }, {
1679
- default: J(() => [
1680
- P(s, {
1691
+ default: X(() => [
1692
+ L(s, {
1681
1693
  span: 7,
1682
1694
  style: { height: "100%" }
1683
1695
  }, {
1684
- default: J(() => [t[3] ||= M("div", { class: "column-title-container" }, [M("div", { class: "column-title" }, "基础数据")], -1), P(o, {
1696
+ default: X(() => [t[3] ||= F("div", { class: "column-title-container" }, [F("div", { class: "column-title" }, "基础数据")], -1), L(o, {
1685
1697
  selectedRowKeys: e.selectedRowKeys,
1686
1698
  "onUpdate:selectedRowKeys": t[0] ||= (t) => e.selectedRowKeys = t,
1687
1699
  autoRowHeight: !0,
@@ -1701,7 +1713,7 @@ function tt(e, t, n, r, i, a) {
1701
1713
  stripe: "",
1702
1714
  "summary-fixed": ""
1703
1715
  }, {
1704
- bodyCell: J(({ column: e, index: t, text: n, record: r }) => [M("span", null, K(n), 1)]),
1716
+ bodyCell: X(({ column: e, index: t, text: n, record: r }) => [F("span", null, J(n), 1)]),
1705
1717
  _: 1
1706
1718
  }, 8, [
1707
1719
  "selectedRowKeys",
@@ -1713,42 +1725,42 @@ function tt(e, t, n, r, i, a) {
1713
1725
  ])]),
1714
1726
  _: 1
1715
1727
  }),
1716
- P(s, { span: 1 }, {
1717
- default: J(() => [M("div", { style: R({
1728
+ L(s, { span: 1 }, {
1729
+ default: X(() => [F("div", { style: V({
1718
1730
  display: "flex",
1719
1731
  alignItems: "center",
1720
1732
  justifyContent: "center",
1721
1733
  height: e.height + "px"
1722
- }) }, [M("div", et, [
1723
- e.baseSelectedRowKeys.length === 0 ? (V(), k(c, {
1734
+ }) }, [F("div", at, [
1735
+ e.baseSelectedRowKeys.length === 0 ? (U(), M(c, {
1724
1736
  key: 0,
1725
1737
  style: {
1726
1738
  color: "#999999",
1727
1739
  "font-size": "25px"
1728
1740
  }
1729
- })) : A("", !0),
1730
- e.baseSelectedRowKeys.length > 0 ? (V(), k(l, {
1741
+ })) : N("", !0),
1742
+ e.baseSelectedRowKeys.length > 0 ? (U(), M(l, {
1731
1743
  key: 1,
1732
1744
  style: { "font-size": "25px" },
1733
1745
  onClick: e.toLeft
1734
- }, null, 8, ["onClick"])) : A("", !0),
1735
- e.selectedRowKeys.length === 0 ? (V(), k(u, {
1746
+ }, null, 8, ["onClick"])) : N("", !0),
1747
+ e.selectedRowKeys.length === 0 ? (U(), M(u, {
1736
1748
  key: 2,
1737
1749
  style: {
1738
1750
  color: "#999999",
1739
1751
  "font-size": "25px"
1740
1752
  }
1741
- })) : A("", !0),
1742
- e.selectedRowKeys.length > 0 ? (V(), k(d, {
1753
+ })) : N("", !0),
1754
+ e.selectedRowKeys.length > 0 ? (U(), M(d, {
1743
1755
  key: 3,
1744
1756
  style: { "font-size": "25px" },
1745
1757
  onClick: e.toRight
1746
- }, null, 8, ["onClick"])) : A("", !0)
1758
+ }, null, 8, ["onClick"])) : N("", !0)
1747
1759
  ])], 4)]),
1748
1760
  _: 1
1749
1761
  }),
1750
- P(s, { span: 16 }, {
1751
- default: J(() => [t[5] ||= M("div", { class: "column-title-container" }, [M("div", { class: "column-title" }, "基础列设置")], -1), P(o, {
1762
+ L(s, { span: 16 }, {
1763
+ default: X(() => [t[5] ||= F("div", { class: "column-title-container" }, [F("div", { class: "column-title" }, "基础列设置")], -1), L(o, {
1752
1764
  bordered: !0,
1753
1765
  columns: e.baseColumns,
1754
1766
  rowHeight: 30,
@@ -1766,8 +1778,8 @@ function tt(e, t, n, r, i, a) {
1766
1778
  scroll: { y: e.height - 90 },
1767
1779
  size: "small"
1768
1780
  }, {
1769
- bodyCell: J(({ column: n, index: r, text: i, record: a, recordIndexs: o }) => [
1770
- n.dataIndex === "label" ? (V(), k(f, {
1781
+ bodyCell: X(({ column: n, index: r, text: i, record: a, recordIndexs: o }) => [
1782
+ n.dataIndex === "label" ? (U(), M(f, {
1771
1783
  key: 0,
1772
1784
  value: e.getRawRecord(e.baseDataSource, o).label,
1773
1785
  "onUpdate:value": (t) => e.getRawRecord(e.baseDataSource, o).label = t,
@@ -1776,13 +1788,13 @@ function tt(e, t, n, r, i, a) {
1776
1788
  "value",
1777
1789
  "onUpdate:value",
1778
1790
  "onChange"
1779
- ])) : A("", !0),
1780
- n.dataIndex === "field_name" ? (V(), j(D, { key: 1 }, [N(K(i) + " ", 1), e.fieldMap && !e.fieldMap[i] ? (V(), k(p, {
1791
+ ])) : N("", !0),
1792
+ n.dataIndex === "field_name" ? (U(), P(A, { key: 1 }, [I(J(i) + " ", 1), e.fieldMap && !e.fieldMap[i] ? (U(), M(p, {
1781
1793
  key: 0,
1782
1794
  title: "查询参数不存在",
1783
1795
  style: { color: "#faad14" }
1784
- })) : A("", !0)], 64)) : A("", !0),
1785
- n.dataIndex === "type" ? (V(), k(h, {
1796
+ })) : N("", !0)], 64)) : N("", !0),
1797
+ n.dataIndex === "type" ? (U(), M(h, {
1786
1798
  key: 2,
1787
1799
  value: a.type,
1788
1800
  "onUpdate:value": (e) => a.type = e,
@@ -1794,11 +1806,11 @@ function tt(e, t, n, r, i, a) {
1794
1806
  style: { width: "100%" },
1795
1807
  onChange: e.changeBase
1796
1808
  }, {
1797
- default: J(() => [(V(!0), j(D, null, W(e.getType(a), (e) => (V(), k(m, {
1809
+ default: X(() => [(U(!0), P(A, null, K(e.getType(a), (e) => (U(), M(m, {
1798
1810
  key: e.value,
1799
1811
  value: e.value
1800
1812
  }, {
1801
- default: J(() => [N(K(e.name), 1)]),
1813
+ default: X(() => [I(J(e.name), 1)]),
1802
1814
  _: 2
1803
1815
  }, 1032, ["value"]))), 128))]),
1804
1816
  _: 2
@@ -1806,25 +1818,25 @@ function tt(e, t, n, r, i, a) {
1806
1818
  "value",
1807
1819
  "onUpdate:value",
1808
1820
  "onChange"
1809
- ])) : A("", !0),
1810
- n.dataIndex === "operator_list" ? (V(), j(D, { key: 3 }, [!a.children || a.children.length === 0 ? (V(), k(g, {
1821
+ ])) : N("", !0),
1822
+ n.dataIndex === "operator_list" ? (U(), P(A, { key: 3 }, [!a.children || a.children.length === 0 ? (U(), M(g, {
1811
1823
  key: 0,
1812
1824
  record: a,
1813
1825
  onChange: e.changeOperatorList
1814
- }, null, 8, ["record", "onChange"])) : A("", !0)], 64)) : A("", !0),
1815
- n.dataIndex === "default_operator" ? (V(), j(D, { key: 4 }, [!a.children || a.children.length === 0 ? (V(), k(_, {
1826
+ }, null, 8, ["record", "onChange"])) : N("", !0)], 64)) : N("", !0),
1827
+ n.dataIndex === "default_operator" ? (U(), P(A, { key: 4 }, [!a.children || a.children.length === 0 ? (U(), M(_, {
1816
1828
  key: 0,
1817
1829
  record: a,
1818
1830
  onChange: e.changeDefaultOperator
1819
- }, null, 8, ["record", "onChange"])) : A("", !0)], 64)) : A("", !0),
1820
- n.dataIndex === "action" ? (V(), j(D, { key: 5 }, [e.changedFields[a.field_name] ? (V(), k(v, {
1831
+ }, null, 8, ["record", "onChange"])) : N("", !0)], 64)) : N("", !0),
1832
+ n.dataIndex === "action" ? (U(), P(A, { key: 5 }, [e.changedFields[a.field_name] ? (U(), M(v, {
1821
1833
  key: 0,
1822
1834
  type: "link",
1823
1835
  onClick: (t) => e.handleUpdateBaseColumn(e.getRawRecord(e.baseDataSource, o))
1824
1836
  }, {
1825
- default: J(() => [...t[4] ||= [N(" 更新 ", -1)]]),
1837
+ default: X(() => [...t[4] ||= [I(" 更新 ", -1)]]),
1826
1838
  _: 1
1827
- }, 8, ["onClick"])) : A("", !0)], 64)) : A("", !0)
1839
+ }, 8, ["onClick"])) : N("", !0)], 64)) : N("", !0)
1828
1840
  ]),
1829
1841
  _: 1
1830
1842
  }, 8, [
@@ -1842,10 +1854,10 @@ function tt(e, t, n, r, i, a) {
1842
1854
  _: 1
1843
1855
  }, 8, ["style"]);
1844
1856
  }
1845
- var nt = /* @__PURE__ */ t($e, [["render", tt], ["__scopeId", "data-v-2b292566"]]), rt = {
1857
+ var st = /* @__PURE__ */ t(it, [["render", ot], ["__scopeId", "data-v-31481551"]]), ct = {
1846
1858
  tables: "左侧栏表格",
1847
1859
  data_list: "右侧栏表格"
1848
- }, it = "未保存页面配置,需保存后才能同步", at = F({
1860
+ }, lt = "未保存页面配置,需保存后才能同步", ut = R({
1849
1861
  name: "configSync",
1850
1862
  props: {
1851
1863
  dataSource: {
@@ -1858,15 +1870,15 @@ var nt = /* @__PURE__ */ t($e, [["render", tt], ["__scopeId", "data-v-2b292566"]
1858
1870
  }
1859
1871
  },
1860
1872
  setup(e) {
1861
- let t = C(), n = U(!1), r = U(!1), i = U([]), o = U([]), s = U([]), l = U({}), u = g.map((e) => ({
1873
+ let t = ee(), n = G(!1), r = G(!1), i = G([]), o = G([]), s = G([]), l = G({}), u = g.map((e) => ({
1862
1874
  label: m[e] || e,
1863
1875
  value: e
1864
- })), d = U([...x, ...g]), f = O(() => x.every((e) => d.value.includes(e))), p = O(() => !f.value && x.some((e) => d.value.includes(e))), h = (e) => {
1876
+ })), d = G([...x, ...g]), f = j(() => x.every((e) => d.value.includes(e))), p = j(() => !f.value && x.some((e) => d.value.includes(e))), h = (e) => {
1865
1877
  e ? d.value = [...new Set([...d.value, ...x])] : d.value = d.value.filter((e) => !x.includes(e));
1866
- }, _ = U("standard"), S = Object.keys(y).map((e) => ({
1878
+ }, _ = G("standard"), S = Object.keys(y).map((e) => ({
1867
1879
  label: y[e],
1868
1880
  value: e
1869
- })), w = O(() => _.value === "append" ? "目标节点没有该表格时,把该表的全部配置完整追加进去(未勾选的配置块也会一并写入)" : "目标节点没有该表格时,忽略这个同步项"), T = O(() => rt[e.tableType] || e.tableType), E = O(() => o.value.map((e) => l.value[e]).filter((e) => !!e)), D = () => {
1881
+ })), C = j(() => _.value === "append" ? "目标节点没有该表格时,把该表的全部配置完整追加进去(未勾选的配置块也会一并写入)" : "目标节点没有该表格时,忽略这个同步项"), w = j(() => ct[e.tableType] || e.tableType), T = j(() => o.value.map((e) => l.value[e]).filter((e) => !!e)), E = () => {
1870
1882
  let e = t.selectNode, n = c();
1871
1883
  return !e?.id || !e?.state || !n ? null : {
1872
1884
  org_id: Number(n),
@@ -1874,12 +1886,12 @@ var nt = /* @__PURE__ */ t($e, [["render", tt], ["__scopeId", "data-v-2b292566"]
1874
1886
  menu_flag: e.state,
1875
1887
  name: e.name || e.state
1876
1888
  };
1877
- }, k = O(() => D()), A = O(() => !!e.dataSource?.id && !!k.value && E.value.length > 0 && d.value.length > 0), j = U([]), M = U({}), N = U({}), P = U(""), F = (e, n, r) => {
1889
+ }, D = j(() => E()), te = j(() => !!e.dataSource?.id && !!D.value && T.value.length > 0 && d.value.length > 0), O = G([]), k = G({}), A = G({}), M = G(""), N = (e, n, r) => {
1878
1890
  let i = [];
1879
1891
  for (let a of e || []) {
1880
1892
  let e = a.is_flow_node ? `flow_node_${n}_${a.id}` : `flow_org_${n}_${a.id}`, o = !!a.is_flow_node && a.menu_flag === t.selectNode?.state && `${a.org_id ?? n}` == `${c() ?? ""}`;
1881
- if (o && (P.value = e), a.is_flow_node && o) continue;
1882
- let s = F(a.children || [], n, r);
1893
+ if (o && (M.value = e), a.is_flow_node && o) continue;
1894
+ let s = N(a.children || [], n, r);
1883
1895
  if (a.is_flow_node) {
1884
1896
  let t = a.page_setting_saved !== !1, o = {
1885
1897
  key: e,
@@ -1906,16 +1918,16 @@ var nt = /* @__PURE__ */ t($e, [["render", tt], ["__scopeId", "data-v-2b292566"]
1906
1918
  });
1907
1919
  }
1908
1920
  return i;
1909
- }, I = (e, t, n = []) => {
1921
+ }, P = (e, t, n = []) => {
1910
1922
  for (let r of e) {
1911
1923
  if (r.key === t) return n;
1912
1924
  if (r.children?.length) {
1913
- let e = I(r.children, t, [...n, r.key]);
1925
+ let e = P(r.children, t, [...n, r.key]);
1914
1926
  if (e) return e;
1915
1927
  }
1916
1928
  }
1917
1929
  return null;
1918
- }, L = (e, t) => {
1930
+ }, F = (e, t) => {
1919
1931
  for (let n of e) {
1920
1932
  if (n.key === t) {
1921
1933
  let e = [], t = (n) => {
@@ -1924,14 +1936,14 @@ var nt = /* @__PURE__ */ t($e, [["render", tt], ["__scopeId", "data-v-2b292566"]
1924
1936
  return t(n.children || []), e;
1925
1937
  }
1926
1938
  if (n.children?.length) {
1927
- let e = L(n.children, t);
1939
+ let e = F(n.children, t);
1928
1940
  if (e !== null) return e;
1929
1941
  }
1930
1942
  }
1931
1943
  return null;
1932
- }, R = () => {
1933
- l.value = {}, P.value = "", i.value = j.value.map((e) => {
1934
- let t = `${e.id}`.replace("org_", ""), n = `org_${t}`, r = M.value[t], i = r ? F(r, t, e.name) : [];
1944
+ }, I = () => {
1945
+ l.value = {}, M.value = "", i.value = O.value.map((e) => {
1946
+ let t = `${e.id}`.replace("org_", ""), n = `org_${t}`, r = k.value[t], i = r ? N(r, t, e.name) : [];
1935
1947
  return {
1936
1948
  key: n,
1937
1949
  title: e.name,
@@ -1940,56 +1952,56 @@ var nt = /* @__PURE__ */ t($e, [["render", tt], ["__scopeId", "data-v-2b292566"]
1940
1952
  children: i
1941
1953
  };
1942
1954
  }), o.value = o.value.filter((e) => !!l.value[e]);
1943
- }, B = async (e) => {
1955
+ }, L = async (e) => {
1944
1956
  let t = e.replace("org_", "");
1945
- if (!(M.value[t] || N.value[e])) {
1946
- N.value = {
1947
- ...N.value,
1957
+ if (!(k.value[t] || A.value[e])) {
1958
+ A.value = {
1959
+ ...A.value,
1948
1960
  [e]: !0
1949
1961
  };
1950
1962
  try {
1951
1963
  let e = await a({ org_id: t }, "/approve/query_org_flow_tree");
1952
- M.value = {
1953
- ...M.value,
1964
+ k.value = {
1965
+ ...k.value,
1954
1966
  [t]: e?.data || []
1955
- }, R();
1967
+ }, I();
1956
1968
  } catch (e) {
1957
1969
  $.error(e?.message || "加载该组织下的流程节点失败");
1958
1970
  } finally {
1959
- let t = { ...N.value };
1960
- delete t[e], N.value = t;
1971
+ let t = { ...A.value };
1972
+ delete t[e], A.value = t;
1961
1973
  }
1962
1974
  }
1963
- }, V = async () => {
1975
+ }, R = async () => {
1964
1976
  n.value = !0;
1965
1977
  try {
1966
- j.value = (await a({}, "/approve/query_sync_org_list"))?.data || [], R(), await H();
1978
+ O.value = (await a({}, "/approve/query_sync_org_list"))?.data || [], I(), await z();
1967
1979
  } catch (e) {
1968
1980
  $.error(e?.message || "加载组织列表失败");
1969
1981
  } finally {
1970
1982
  n.value = !1;
1971
1983
  }
1972
- }, H = async () => {
1984
+ }, z = async () => {
1973
1985
  let e = `${c() ?? ""}`;
1974
1986
  if (!e) return;
1975
1987
  let t = `org_${e}`;
1976
- if (!j.value.some((e) => `${e.id}` === t)) return;
1977
- s.value = [...new Set([...s.value, t])], await B(t);
1988
+ if (!O.value.some((e) => `${e.id}` === t)) return;
1989
+ s.value = [...new Set([...s.value, t])], await L(t);
1978
1990
  let n = Object.values(l.value).filter((t) => `${t.org_id}` === e && t.page_setting_saved);
1979
1991
  if (n.length > 0) {
1980
1992
  let e = n.map((e) => e.key);
1981
1993
  o.value = [...new Set([...o.value, ...e])];
1982
1994
  let t = new Set(s.value);
1983
- for (let e of n) for (let n of I(i.value, e.key) || []) t.add(n);
1995
+ for (let e of n) for (let n of P(i.value, e.key) || []) t.add(n);
1984
1996
  s.value = [...t];
1985
1997
  }
1986
1998
  };
1987
- q(() => t.selectNode?.state, () => {
1988
- j.value.length > 0 && R();
1999
+ Y(() => t.selectNode?.state, () => {
2000
+ O.value.length > 0 && I();
1989
2001
  });
1990
- let W = 0;
1991
- return z(() => {
1992
- V();
2002
+ let B = 0;
2003
+ return H(() => {
2004
+ R();
1993
2005
  }), {
1994
2006
  treeLoading: n,
1995
2007
  syncing: r,
@@ -2003,21 +2015,21 @@ var nt = /* @__PURE__ */ t($e, [["render", tt], ["__scopeId", "data-v-2b292566"]
2003
2015
  toggleBase: h,
2004
2016
  syncMode: _,
2005
2017
  syncModeOptions: S,
2006
- syncModeTip: w,
2007
- tableTypeText: T,
2008
- sourceInfo: k,
2009
- targets: E,
2010
- canSync: A,
2018
+ syncModeTip: C,
2019
+ tableTypeText: w,
2020
+ sourceInfo: D,
2021
+ targets: T,
2022
+ canSync: te,
2011
2023
  handleCheck: (e) => {
2012
2024
  let t = Array.isArray(e) ? e : e?.checked || [];
2013
2025
  o.value = t.filter((e) => !!l.value[e]);
2014
- let n = ++W, r = t.filter((e) => e.startsWith("org_") && !M.value[e.replace("org_", "")]);
2015
- r.length !== 0 && Promise.all(r.map((e) => B(e))).then(() => {
2016
- if (n !== W) return;
2026
+ let n = ++B, r = t.filter((e) => e.startsWith("org_") && !k.value[e.replace("org_", "")]);
2027
+ r.length !== 0 && Promise.all(r.map((e) => L(e))).then(() => {
2028
+ if (n !== B) return;
2017
2029
  let e = [];
2018
2030
  for (let n of r) {
2019
2031
  if (!t.includes(n)) continue;
2020
- let r = L(i.value, n) || [];
2032
+ let r = F(i.value, n) || [];
2021
2033
  e.push(...r);
2022
2034
  }
2023
2035
  e.length > 0 && (o.value = [...new Set([...o.value, ...e])]);
@@ -2026,7 +2038,7 @@ var nt = /* @__PURE__ */ t($e, [["render", tt], ["__scopeId", "data-v-2b292566"]
2026
2038
  handleExpand: (e) => {
2027
2039
  let t = Array.isArray(e) ? e : [];
2028
2040
  s.value = t;
2029
- for (let e of t) e.startsWith("org_") && B(e);
2041
+ for (let e of t) e.startsWith("org_") && L(e);
2030
2042
  },
2031
2043
  removeTarget: (e) => {
2032
2044
  o.value = o.value.filter((t) => t !== e);
@@ -2036,16 +2048,16 @@ var nt = /* @__PURE__ */ t($e, [["render", tt], ["__scopeId", "data-v-2b292566"]
2036
2048
  $.warning("当前表格没有「表格标识」,请先在「基础属性」里设置后再同步");
2037
2049
  return;
2038
2050
  }
2039
- let t = D();
2051
+ let t = E();
2040
2052
  if (!t) {
2041
2053
  $.warning("未识别当前流程节点,请先在左侧重新选择流程节点");
2042
2054
  return;
2043
2055
  }
2044
- if (E.value.length === 0) {
2056
+ if (T.value.length === 0) {
2045
2057
  $.warning("请选择目标流程节点");
2046
2058
  return;
2047
2059
  }
2048
- let n = E.value.filter((e) => !e.page_setting_saved).map((e) => e.name);
2060
+ let n = T.value.filter((e) => !e.page_setting_saved).map((e) => e.name);
2049
2061
  if (n.length > 0) {
2050
2062
  $.warning(`${n.join("、")} 未保存页面配置,需保存后才能同步`);
2051
2063
  return;
@@ -2064,7 +2076,7 @@ var nt = /* @__PURE__ */ t($e, [["render", tt], ["__scopeId", "data-v-2b292566"]
2064
2076
  let n = (await a({
2065
2077
  sync_mode: _.value,
2066
2078
  source: t,
2067
- targets: E.value.map((e) => ({
2079
+ targets: T.value.map((e) => ({
2068
2080
  org_id: e.org_id,
2069
2081
  node_id: e.node_id,
2070
2082
  menu_flag: e.menu_flag,
@@ -2086,17 +2098,17 @@ var nt = /* @__PURE__ */ t($e, [["render", tt], ["__scopeId", "data-v-2b292566"]
2086
2098
  r.value = !1;
2087
2099
  }
2088
2100
  },
2089
- UNSAVED_HINT: it
2101
+ UNSAVED_HINT: lt
2090
2102
  };
2091
2103
  }
2092
- }), ot = { class: "config-sync" }, st = { class: "sync-body" }, ct = { class: "sync-panel sync-panel-tree" }, lt = { class: "sync-tree-wrap" }, ut = { class: "sync-panel sync-panel-field" }, dt = { class: "sync-source" }, ft = { class: "sync-section" }, pt = { class: "sync-mode-tip" }, mt = { class: "sync-section" }, ht = { class: "sync-section" }, gt = { class: "sync-targets" }, _t = { class: "sync-targets-title" }, vt = {
2104
+ }), dt = { class: "config-sync" }, ft = { class: "sync-body" }, pt = { class: "sync-panel sync-panel-tree" }, mt = { class: "sync-tree-wrap" }, ht = { class: "sync-panel sync-panel-field" }, gt = { class: "sync-source" }, _t = { class: "sync-section" }, vt = { class: "sync-mode-tip" }, yt = { class: "sync-section" }, bt = { class: "sync-section" }, xt = { class: "sync-targets" }, St = { class: "sync-targets-title" }, Ct = {
2093
2105
  key: 0,
2094
2106
  class: "sync-targets-list"
2095
- }, yt = { class: "sync-actions" };
2096
- function bt(e, t, n, r, i, a) {
2097
- let o = G("exclamation-circle-outlined"), s = G("a-tooltip"), c = G("a-tree"), l = G("a-empty"), u = G("a-spin"), d = G("a-radio"), f = G("a-radio-group"), p = G("a-checkbox"), m = G("a-checkbox-group"), h = G("a-tag"), g = G("a-button");
2098
- return V(), j("div", ot, [M("div", st, [M("div", ct, [t[3] ||= M("div", { class: "sync-panel-header" }, [M("span", { class: "sync-panel-title" }, "目标流程节点"), M("span", { class: "sync-panel-tip" }, " 勾选组织/流程组织即选中其下全部流程节点;未保存页面配置的节点置灰不可选 ")], -1), P(u, { spinning: e.treeLoading }, {
2099
- default: J(() => [M("div", lt, [e.treeData.length > 0 ? (V(), k(c, {
2107
+ }, wt = { class: "sync-actions" };
2108
+ function Tt(e, t, n, r, i, a) {
2109
+ let o = q("exclamation-circle-outlined"), s = q("a-tooltip"), c = q("a-tree"), l = q("a-empty"), u = q("a-spin"), d = q("a-radio"), f = q("a-radio-group"), p = q("a-checkbox"), m = q("a-checkbox-group"), h = q("a-tag"), g = q("a-button");
2110
+ return U(), P("div", dt, [F("div", ft, [F("div", pt, [t[3] ||= F("div", { class: "sync-panel-header" }, [F("span", { class: "sync-panel-title" }, "目标流程节点"), F("span", { class: "sync-panel-tip" }, " 勾选组织/流程组织即选中其下全部流程节点;未保存页面配置的节点置灰不可选 ")], -1), L(u, { spinning: e.treeLoading }, {
2111
+ default: X(() => [F("div", mt, [e.treeData.length > 0 ? (U(), M(c, {
2100
2112
  key: 0,
2101
2113
  checkable: "",
2102
2114
  selectable: !1,
@@ -2107,16 +2119,16 @@ function bt(e, t, n, r, i, a) {
2107
2119
  onCheck: e.handleCheck,
2108
2120
  onExpand: e.handleExpand
2109
2121
  }, {
2110
- title: J(({ title: n, dataRef: r }) => [M("span", null, K(n), 1), r.unsaved ? (V(), k(s, {
2122
+ title: X(({ title: n, dataRef: r }) => [F("span", null, J(n), 1), r.unsaved ? (U(), M(s, {
2111
2123
  key: 0,
2112
2124
  title: e.UNSAVED_HINT
2113
2125
  }, {
2114
- default: J(() => [P(o, {
2126
+ default: X(() => [L(o, {
2115
2127
  class: "sync-unsaved-icon",
2116
- onClick: t[0] ||= X(() => {}, ["stop"])
2128
+ onClick: t[0] ||= ie(() => {}, ["stop"])
2117
2129
  })]),
2118
2130
  _: 1
2119
- }, 8, ["title"])) : A("", !0)]),
2131
+ }, 8, ["title"])) : N("", !0)]),
2120
2132
  _: 1
2121
2133
  }, 8, [
2122
2134
  "checked-keys",
@@ -2124,86 +2136,86 @@ function bt(e, t, n, r, i, a) {
2124
2136
  "tree-data",
2125
2137
  "onCheck",
2126
2138
  "onExpand"
2127
- ])) : e.treeLoading ? A("", !0) : (V(), k(l, {
2139
+ ])) : e.treeLoading ? N("", !0) : (U(), M(l, {
2128
2140
  key: 1,
2129
2141
  description: "没有可同步的流程节点"
2130
2142
  }))])]),
2131
2143
  _: 1
2132
- }, 8, ["spinning"])]), M("div", ut, [
2133
- t[14] ||= M("div", { class: "sync-panel-header" }, [M("span", { class: "sync-panel-title" }, "同步项"), M("span", { class: "sync-panel-tip" }, "勾选需要同步过去的配置块")], -1),
2134
- M("div", dt, [
2135
- M("div", null, "来源:" + K(e.tableTypeText) + "「" + K(e.dataSource?.title || "-") + "」", 1),
2136
- M("div", null, [N(" 类型:" + K(e.tableType) + " 表格标识: ", 1), M("span", { class: L({ "sync-error-text": !e.dataSource?.id }) }, K(e.dataSource?.id || "未设置"), 3)]),
2137
- M("div", null, [t[4] ||= N(" 来源节点: ", -1), M("span", { class: L({ "sync-error-text": !e.sourceInfo }) }, K(e.sourceInfo ? `${e.sourceInfo.name}(组织 ${e.sourceInfo.org_id} / 节点 ${e.sourceInfo.node_id})` : "未识别,请先在左侧重新选择流程节点"), 3)])
2144
+ }, 8, ["spinning"])]), F("div", ht, [
2145
+ t[14] ||= F("div", { class: "sync-panel-header" }, [F("span", { class: "sync-panel-title" }, "同步项"), F("span", { class: "sync-panel-tip" }, "勾选需要同步过去的配置块")], -1),
2146
+ F("div", gt, [
2147
+ F("div", null, "来源:" + J(e.tableTypeText) + "「" + J(e.dataSource?.title || "-") + "」", 1),
2148
+ F("div", null, [I(" 类型:" + J(e.tableType) + " 表格标识: ", 1), F("span", { class: B({ "sync-error-text": !e.dataSource?.id }) }, J(e.dataSource?.id || "未设置"), 3)]),
2149
+ F("div", null, [t[4] ||= I(" 来源节点: ", -1), F("span", { class: B({ "sync-error-text": !e.sourceInfo }) }, J(e.sourceInfo ? `${e.sourceInfo.name}(组织 ${e.sourceInfo.org_id} / 节点 ${e.sourceInfo.node_id})` : "未识别,请先在左侧重新选择流程节点"), 3)])
2138
2150
  ]),
2139
- M("div", ft, [
2140
- t[7] ||= M("div", { class: "sync-section-title" }, "同步类型", -1),
2141
- P(f, {
2151
+ F("div", _t, [
2152
+ t[7] ||= F("div", { class: "sync-section-title" }, "同步类型", -1),
2153
+ L(f, {
2142
2154
  value: e.syncMode,
2143
2155
  "onUpdate:value": t[1] ||= (t) => e.syncMode = t
2144
2156
  }, {
2145
- default: J(() => [P(d, { value: "standard" }, {
2146
- default: J(() => [...t[5] ||= [N("标准同步", -1)]]),
2157
+ default: X(() => [L(d, { value: "standard" }, {
2158
+ default: X(() => [...t[5] ||= [I("标准同步", -1)]]),
2147
2159
  _: 1
2148
- }), P(d, { value: "append" }, {
2149
- default: J(() => [...t[6] ||= [N("自动追加配置", -1)]]),
2160
+ }), L(d, { value: "append" }, {
2161
+ default: X(() => [...t[6] ||= [I("自动追加配置", -1)]]),
2150
2162
  _: 1
2151
2163
  })]),
2152
2164
  _: 1
2153
2165
  }, 8, ["value"]),
2154
- M("div", pt, K(e.syncModeTip), 1)
2166
+ F("div", vt, J(e.syncModeTip), 1)
2155
2167
  ]),
2156
- M("div", mt, [
2157
- t[9] ||= M("div", { class: "sync-section-title" }, "基础配置", -1),
2158
- P(p, {
2168
+ F("div", yt, [
2169
+ t[9] ||= F("div", { class: "sync-section-title" }, "基础配置", -1),
2170
+ L(p, {
2159
2171
  checked: e.baseChecked,
2160
2172
  indeterminate: e.baseIndeterminate,
2161
2173
  "onUpdate:checked": e.toggleBase
2162
2174
  }, {
2163
- default: J(() => [...t[8] ||= [N(" 随同步写入基础配置 ", -1)]]),
2175
+ default: X(() => [...t[8] ||= [I(" 随同步写入基础配置 ", -1)]]),
2164
2176
  _: 1
2165
2177
  }, 8, [
2166
2178
  "checked",
2167
2179
  "indeterminate",
2168
2180
  "onUpdate:checked"
2169
2181
  ]),
2170
- t[10] ||= M("div", { class: "sync-mode-tip" }, "含:名称、是否为标准模型查询、列表URL、模型、查询参数", -1)
2182
+ t[10] ||= F("div", { class: "sync-mode-tip" }, "含:名称、是否为标准模型查询、列表URL、模型、查询参数", -1)
2171
2183
  ]),
2172
- M("div", ht, [t[11] ||= M("div", { class: "sync-section-title" }, "表格配置块", -1), P(m, {
2184
+ F("div", bt, [t[11] ||= F("div", { class: "sync-section-title" }, "表格配置块", -1), L(m, {
2173
2185
  value: e.fields,
2174
2186
  "onUpdate:value": t[2] ||= (t) => e.fields = t,
2175
2187
  options: e.tableFieldOptions,
2176
2188
  class: "sync-options"
2177
2189
  }, null, 8, ["value", "options"])]),
2178
- M("div", gt, [M("div", _t, "已选目标:" + K(e.targets.length) + " 个节点", 1), e.targets.length > 0 ? (V(), j("div", vt, [(V(!0), j(D, null, W(e.targets, (t) => (V(), k(h, {
2190
+ F("div", xt, [F("div", St, "已选目标:" + J(e.targets.length) + " 个节点", 1), e.targets.length > 0 ? (U(), P("div", Ct, [(U(!0), P(A, null, K(e.targets, (t) => (U(), M(h, {
2179
2191
  key: t.key,
2180
2192
  closable: "",
2181
2193
  onClose: (n) => e.removeTarget(t.key)
2182
2194
  }, {
2183
- default: J(() => [N(K(t.org_name) + " / " + K(t.name), 1)]),
2195
+ default: X(() => [I(J(t.org_name) + " / " + J(t.name), 1)]),
2184
2196
  _: 2
2185
- }, 1032, ["onClose"]))), 128))])) : A("", !0)]),
2186
- M("div", yt, [P(g, {
2197
+ }, 1032, ["onClose"]))), 128))])) : N("", !0)]),
2198
+ F("div", wt, [L(g, {
2187
2199
  type: "primary",
2188
2200
  loading: e.syncing,
2189
2201
  disabled: !e.canSync,
2190
2202
  onClick: e.handleSync
2191
2203
  }, {
2192
- default: J(() => [...t[12] ||= [N(" 同步 ", -1)]]),
2204
+ default: X(() => [...t[12] ||= [I(" 同步 ", -1)]]),
2193
2205
  _: 1
2194
2206
  }, 8, [
2195
2207
  "loading",
2196
2208
  "disabled",
2197
2209
  "onClick"
2198
- ]), t[13] ||= M("span", { class: "sync-actions-tip" }, " 同步只写入目标节点,当前节点不会被修改,同步后需在目标节点重新进入页面查看 ", -1)])
2210
+ ]), t[13] ||= F("span", { class: "sync-actions-tip" }, " 同步只写入目标节点,当前节点不会被修改,同步后需在目标节点重新进入页面查看 ", -1)])
2199
2211
  ])])]);
2200
2212
  }
2201
- var xt = /* @__PURE__ */ t(at, [["render", bt], ["__scopeId", "data-v-79b74022"]]), St = F({
2213
+ var Et = /* @__PURE__ */ t(ut, [["render", Tt], ["__scopeId", "data-v-79b74022"]]), Dt = R({
2202
2214
  name: "ConfirmInput",
2203
2215
  components: {
2204
- EditOutlined: re,
2205
- CheckOutlined: ee,
2206
- CloseOutlined: ne
2216
+ EditOutlined: Z,
2217
+ CheckOutlined: ae,
2218
+ CloseOutlined: se
2207
2219
  },
2208
2220
  props: { value: {
2209
2221
  type: String,
@@ -2211,18 +2223,18 @@ var xt = /* @__PURE__ */ t(at, [["render", bt], ["__scopeId", "data-v-79b74022"]
2211
2223
  } },
2212
2224
  emits: ["update:value", "change"],
2213
2225
  setup(e, { emit: t }) {
2214
- let n = U(!1), r = U(""), i = U(null);
2215
- return q(() => e.value, () => {
2226
+ let n = G(!1), r = G(""), i = G(null);
2227
+ return Y(() => e.value, () => {
2216
2228
  n.value = !1;
2217
2229
  }), {
2218
2230
  isEditing: n,
2219
2231
  editedValue: r,
2220
2232
  inputRef: i,
2221
2233
  handleEdit: async () => {
2222
- n.value = !0, r.value = e.value, await I(), i.value?.focus();
2234
+ n.value = !0, r.value = e.value, await z(), i.value?.focus();
2223
2235
  },
2224
2236
  handleConfirm: () => {
2225
- r.value !== e.value && t("update:value", r.value), n.value = !1, I(() => {
2237
+ r.value !== e.value && t("update:value", r.value), n.value = !1, z(() => {
2226
2238
  t("change", r.value);
2227
2239
  });
2228
2240
  },
@@ -2231,11 +2243,11 @@ var xt = /* @__PURE__ */ t(at, [["render", bt], ["__scopeId", "data-v-79b74022"]
2231
2243
  }
2232
2244
  };
2233
2245
  }
2234
- }), Ct = { class: "confirm-input-wrapper" }, wt = { class: "display-span" };
2235
- function Tt(e, t, n, r, i, a) {
2236
- let o = G("edit-outlined"), s = G("a-input"), c = G("check-outlined"), l = G("close-outlined");
2237
- return V(), j("div", Ct, [e.isEditing ? (V(), j(D, { key: 1 }, [
2238
- P(s, {
2246
+ }), Ot = { class: "confirm-input-wrapper" }, kt = { class: "display-span" };
2247
+ function At(e, t, n, r, i, a) {
2248
+ let o = q("edit-outlined"), s = q("a-input"), c = q("check-outlined"), l = q("close-outlined");
2249
+ return U(), P("div", Ot, [e.isEditing ? (U(), P(A, { key: 1 }, [
2250
+ L(s, {
2239
2251
  ref: "inputRef",
2240
2252
  value: e.editedValue,
2241
2253
  "onUpdate:value": t[0] ||= (t) => e.editedValue = t,
@@ -2243,31 +2255,31 @@ function Tt(e, t, n, r, i, a) {
2243
2255
  style: { "flex-grow": "1" },
2244
2256
  onPressEnter: e.handleConfirm
2245
2257
  }, null, 8, ["value", "onPressEnter"]),
2246
- P(c, {
2258
+ L(c, {
2247
2259
  class: "action-icon",
2248
2260
  onClick: e.handleConfirm
2249
2261
  }, null, 8, ["onClick"]),
2250
- P(l, {
2262
+ L(l, {
2251
2263
  class: "action-icon",
2252
2264
  onClick: e.handleCancel
2253
2265
  }, null, 8, ["onClick"])
2254
- ], 64)) : (V(), j(D, { key: 0 }, [M("span", wt, K(e.value || "\xA0"), 1), P(o, {
2266
+ ], 64)) : (U(), P(A, { key: 0 }, [F("span", kt, J(e.value || "\xA0"), 1), L(o, {
2255
2267
  class: "edit-icon",
2256
2268
  onClick: e.handleEdit
2257
2269
  }, null, 8, ["onClick"])], 64))]);
2258
2270
  }
2259
2271
  //#endregion
2260
2272
  //#region src/components/approval/components/approvalPageConfig/tableConfig.vue?vue&type=script&lang.ts
2261
- var Et = F({
2273
+ var jt = R({
2262
2274
  name: "tableConfig",
2263
2275
  components: {
2264
- BaseConditions: De,
2265
- ButtonConfig: E,
2266
- ColumnConfig: We,
2267
- searchConfig: nt,
2268
- configSync: xt,
2269
- confirmInput: /* @__PURE__ */ t(St, [["render", Tt], ["__scopeId", "data-v-aa92417a"]]),
2270
- JsonText: T
2276
+ BaseConditions: Me,
2277
+ ButtonConfig: k,
2278
+ ColumnConfig: Ye,
2279
+ searchConfig: st,
2280
+ configSync: Et,
2281
+ confirmInput: /* @__PURE__ */ t(Dt, [["render", At], ["__scopeId", "data-v-aa92417a"]]),
2282
+ JsonText: O
2271
2283
  },
2272
2284
  props: {
2273
2285
  dataSource: {
@@ -2290,25 +2302,37 @@ var Et = F({
2290
2302
  },
2291
2303
  emits: ["update:dataSource", "change_id"],
2292
2304
  setup(e, { emit: t }) {
2293
- let n = U("1"), r = U(!1), i = U(null), o = U(!1), s = U(null), c = (t) => {
2305
+ let n = G("1"), r = G(!1), i = G(null), o = G(!1), s = G(null), c = (t) => {
2294
2306
  e.dataSource.is_normal_model = t;
2295
- }, l = U([]), u = async () => {
2307
+ }, l = G([]), d = async () => {
2296
2308
  let e = (await a({}, "sys/base_model_list", !1, { skip_error: !0 }))?.data;
2297
2309
  e && e.length > 0 && (l.value = e.map((e) => ({
2298
2310
  label: `${e.name}(${e.value})`,
2299
2311
  value: e.value
2300
2312
  })));
2313
+ let t = u().currentOrg?.id;
2314
+ ((await a({ org_id: t }, "/db_view/query_db_view_menu_list", !1, { skip_error: !0 }))?.list || []).filter((e) => e.org_id === t).forEach((e) => {
2315
+ l.value.push({
2316
+ label: `${e.name}(db_view-${e.flag})`,
2317
+ value: `db_view-${e.flag}`
2318
+ });
2319
+ });
2301
2320
  };
2302
- return z(() => {
2303
- u();
2321
+ return H(() => {
2322
+ d();
2304
2323
  }), {
2305
2324
  activeKey: n,
2306
2325
  showColumnConfig: r,
2307
2326
  handleIsNormalModelChange: c,
2308
2327
  handleModelTypeChange: (n) => {
2309
- e.dataSource.modelType = n;
2310
- let r = n.split("-"), i = r[0], a = r[1];
2311
- e.dataSource.list_url = `/${i}/query_${a}_list`, e.dataSource.id = n, t("change_id", e.dataSource);
2328
+ if (e.dataSource.modelType = n, w(n)) e.dataSource.list_url = D(n), e.dataSource.id = n, T(n, u().currentOrg?.id).then((t) => {
2329
+ e.dataSource.rowKey = t.rowKey || "_id";
2330
+ });
2331
+ else {
2332
+ let t = n.split("-"), r = t[0], i = t[1];
2333
+ e.dataSource.list_url = `/${r}/query_${i}_list`;
2334
+ }
2335
+ e.dataSource.id = n, t("change_id", e.dataSource);
2312
2336
  },
2313
2337
  handleListUrlChange: (t) => {
2314
2338
  e.dataSource.modelType = null;
@@ -2316,7 +2340,7 @@ var Et = F({
2316
2340
  modelTypeOptions: l,
2317
2341
  ColumnConfigDataSource: i,
2318
2342
  openColumnConfig: () => {
2319
- i.value = se(e.dataSource.columns || []), r.value = !0;
2343
+ i.value = fe(e.dataSource.columns || []), r.value = !0;
2320
2344
  },
2321
2345
  confirmColumnConfig: () => {
2322
2346
  t("update:dataSource", {
@@ -2327,7 +2351,7 @@ var Et = F({
2327
2351
  showSearchConfig: o,
2328
2352
  SearchConfigDataSource: s,
2329
2353
  openSearchConfig: () => {
2330
- s.value = se(e.dataSource.search_config || []), o.value = !0;
2354
+ s.value = fe(e.dataSource.search_config || []), o.value = !0;
2331
2355
  },
2332
2356
  confirmSearchConfig: () => {
2333
2357
  t("update:dataSource", {
@@ -2347,90 +2371,90 @@ var Et = F({
2347
2371
  }
2348
2372
  };
2349
2373
  }
2350
- }), Dt = /* @__PURE__ */ e({ default: () => At }), Ot = { key: 1 };
2351
- function kt(e, t, n, r, i, a) {
2352
- let o = G("a-button"), s = G("a-space"), c = G("confirm-input"), l = G("a-form-item"), u = G("a-input"), d = G("a-switch"), f = G("a-select"), p = G("json-text"), m = G("a-form"), h = G("a-tab-pane"), g = G("BaseConditions"), _ = G("ButtonConfig"), v = G("config-sync"), y = G("a-tabs"), b = G("ColumnConfig"), x = G("a-modal"), S = G("search-config");
2353
- return V(), j(D, null, [
2354
- P(y, {
2374
+ }), Mt = /* @__PURE__ */ e({ default: () => Ft }), Nt = { key: 1 };
2375
+ function Pt(e, t, n, r, i, a) {
2376
+ let o = q("a-button"), s = q("a-space"), c = q("confirm-input"), l = q("a-form-item"), u = q("a-input"), d = q("a-switch"), f = q("a-select"), p = q("json-text"), m = q("a-form"), h = q("a-tab-pane"), g = q("BaseConditions"), _ = q("ButtonConfig"), v = q("config-sync"), y = q("a-tabs"), b = q("ColumnConfig"), x = q("a-modal"), S = q("search-config");
2377
+ return U(), P(A, null, [
2378
+ L(y, {
2355
2379
  activeKey: e.activeKey,
2356
2380
  "onUpdate:activeKey": t[10] ||= (t) => e.activeKey = t
2357
2381
  }, {
2358
- rightExtra: J(() => [P(s, { size: 20 }, {
2359
- default: J(() => [P(o, {
2382
+ rightExtra: X(() => [L(s, { size: 20 }, {
2383
+ default: X(() => [L(o, {
2360
2384
  type: "primary",
2361
2385
  onClick: e.openColumnConfig
2362
2386
  }, {
2363
- default: J(() => [...t[15] ||= [N(" 列配置 ", -1)]]),
2387
+ default: X(() => [...t[15] ||= [I(" 列配置 ", -1)]]),
2364
2388
  _: 1
2365
- }, 8, ["onClick"]), P(o, {
2389
+ }, 8, ["onClick"]), L(o, {
2366
2390
  type: "primary",
2367
2391
  onClick: e.openSearchConfig
2368
2392
  }, {
2369
- default: J(() => [...t[16] ||= [N(" 查询配置 ", -1)]]),
2393
+ default: X(() => [...t[16] ||= [I(" 查询配置 ", -1)]]),
2370
2394
  _: 1
2371
2395
  }, 8, ["onClick"])]),
2372
2396
  _: 1
2373
2397
  })]),
2374
- default: J(() => [
2375
- P(h, {
2398
+ default: X(() => [
2399
+ L(h, {
2376
2400
  key: "1",
2377
2401
  tab: "基础属性"
2378
2402
  }, {
2379
- default: J(() => [P(m, { model: e.dataSource }, {
2380
- default: J(() => [
2381
- P(l, { label: "表格标识" }, {
2382
- default: J(() => [P(c, {
2403
+ default: X(() => [L(m, { model: e.dataSource }, {
2404
+ default: X(() => [
2405
+ L(l, { label: "表格标识" }, {
2406
+ default: X(() => [L(c, {
2383
2407
  value: e.dataSource.id,
2384
2408
  "onUpdate:value": e.handleChangeId
2385
2409
  }, null, 8, ["value", "onUpdate:value"])]),
2386
2410
  _: 1
2387
2411
  }),
2388
- P(l, { label: "名称" }, {
2389
- default: J(() => [P(u, {
2412
+ L(l, { label: "名称" }, {
2413
+ default: X(() => [L(u, {
2390
2414
  value: e.dataSource.title,
2391
2415
  "onUpdate:value": t[0] ||= (t) => e.dataSource.title = t
2392
2416
  }, null, 8, ["value"])]),
2393
2417
  _: 1
2394
2418
  }),
2395
- P(l, { label: "组名" }, {
2396
- default: J(() => [P(u, {
2419
+ L(l, { label: "组名" }, {
2420
+ default: X(() => [L(u, {
2397
2421
  value: e.dataSource.group_title,
2398
2422
  "onUpdate:value": t[1] ||= (t) => e.dataSource.group_title = t
2399
2423
  }, null, 8, ["value"])]),
2400
2424
  _: 1
2401
2425
  }),
2402
- P(l, { label: "是否隐藏" }, {
2403
- default: J(() => [P(d, {
2426
+ L(l, { label: "是否隐藏" }, {
2427
+ default: X(() => [L(d, {
2404
2428
  checked: e.dataSource.is_hidden,
2405
2429
  "onUpdate:checked": t[2] ||= (t) => e.dataSource.is_hidden = t
2406
2430
  }, null, 8, ["checked"])]),
2407
2431
  _: 1
2408
2432
  }),
2409
- P(l, { label: "是否为标准模型查询" }, {
2410
- default: J(() => [P(d, {
2433
+ L(l, { label: "是否为标准模型查询" }, {
2434
+ default: X(() => [L(d, {
2411
2435
  checked: e.dataSource.is_normal_model,
2412
2436
  "onUpdate:checked": t[3] ||= (t) => e.dataSource.is_normal_model = t
2413
2437
  }, null, 8, ["checked"])]),
2414
2438
  _: 1
2415
2439
  }),
2416
- P(l, { label: "是否为多选" }, {
2417
- default: J(() => [P(d, {
2440
+ L(l, { label: "是否为多选" }, {
2441
+ default: X(() => [L(d, {
2418
2442
  checked: e.dataSource.rowSelectionType || "checkbox",
2419
2443
  "onUpdate:checked": t[4] ||= (t) => e.dataSource.rowSelectionType = t,
2420
2444
  checkedValue: "checkbox",
2421
2445
  "un-checked-value": "radio"
2422
2446
  }, {
2423
- checkedChildren: J(() => [...t[17] ||= [N("多选", -1)]]),
2424
- unCheckedChildren: J(() => [...t[18] ||= [N("单选", -1)]]),
2447
+ checkedChildren: X(() => [...t[17] ||= [I("多选", -1)]]),
2448
+ unCheckedChildren: X(() => [...t[18] ||= [I("单选", -1)]]),
2425
2449
  _: 1
2426
2450
  }, 8, ["checked"])]),
2427
2451
  _: 1
2428
2452
  }),
2429
- e.dataSource.is_normal_model ? (V(), k(l, {
2453
+ e.dataSource.is_normal_model ? (U(), M(l, {
2430
2454
  key: 0,
2431
2455
  label: "模型"
2432
2456
  }, {
2433
- default: J(() => [P(f, {
2457
+ default: X(() => [L(f, {
2434
2458
  value: e.dataSource.modelType,
2435
2459
  onChange: e.handleModelTypeChange,
2436
2460
  "show-search": "",
@@ -2443,9 +2467,9 @@ function kt(e, t, n, r, i, a) {
2443
2467
  "filter-option"
2444
2468
  ])]),
2445
2469
  _: 1
2446
- })) : A("", !0),
2447
- P(l, { label: "列表URL" }, {
2448
- default: J(() => [e.dataSource.is_normal_model ? (V(), j("span", Ot, K(e.dataSource.list_url), 1)) : (V(), k(u, {
2470
+ })) : N("", !0),
2471
+ L(l, { label: "列表URL" }, {
2472
+ default: X(() => [e.dataSource.is_normal_model ? (U(), P("span", Nt, J(e.dataSource.list_url), 1)) : (U(), M(u, {
2449
2473
  key: 0,
2450
2474
  value: e.dataSource.list_url,
2451
2475
  "onUpdate:value": t[5] ||= (t) => e.dataSource.list_url = t,
@@ -2453,14 +2477,14 @@ function kt(e, t, n, r, i, a) {
2453
2477
  }, null, 8, ["value", "onChange"]))]),
2454
2478
  _: 1
2455
2479
  }),
2456
- P(l, { label: "查询参数" }, {
2457
- default: J(() => [P(l, { label: "我发起的审批" }, {
2458
- default: J(() => [P(d, {
2480
+ L(l, { label: "查询参数" }, {
2481
+ default: X(() => [L(l, { label: "我发起的审批" }, {
2482
+ default: X(() => [L(d, {
2459
2483
  checked: e.dataSource.query_params?.is_my_send,
2460
2484
  onChange: e.isMySendChange
2461
2485
  }, null, 8, ["checked", "onChange"])]),
2462
2486
  _: 1
2463
- }), P(p, {
2487
+ }), L(p, {
2464
2488
  value: e.dataSource.query_params,
2465
2489
  "onUpdate:value": t[6] ||= (t) => e.dataSource.query_params = t,
2466
2490
  rows: 3
@@ -2472,11 +2496,11 @@ function kt(e, t, n, r, i, a) {
2472
2496
  }, 8, ["model"])]),
2473
2497
  _: 1
2474
2498
  }),
2475
- P(h, {
2499
+ L(h, {
2476
2500
  key: "3",
2477
2501
  tab: "基础查询条件"
2478
2502
  }, {
2479
- default: J(() => [P(g, {
2503
+ default: X(() => [L(g, {
2480
2504
  "model-type": e.dataSource.modelType,
2481
2505
  "data-source": e.dataSource.base_conditions,
2482
2506
  "onUpdate:dataSource": t[7] ||= (t) => e.dataSource.base_conditions = t,
@@ -2488,41 +2512,41 @@ function kt(e, t, n, r, i, a) {
2488
2512
  ])]),
2489
2513
  _: 1
2490
2514
  }),
2491
- P(h, {
2515
+ L(h, {
2492
2516
  key: "5",
2493
2517
  tab: "底部按钮配置"
2494
2518
  }, {
2495
- default: J(() => [P(_, {
2519
+ default: X(() => [L(_, {
2496
2520
  "data-source": e.dataSource.actions,
2497
2521
  "onUpdate:dataSource": t[8] ||= (t) => e.dataSource.actions = t
2498
2522
  }, null, 8, ["data-source"])]),
2499
2523
  _: 1
2500
2524
  }),
2501
- P(h, {
2525
+ L(h, {
2502
2526
  key: "6",
2503
2527
  tab: "行按钮配置"
2504
2528
  }, {
2505
- default: J(() => [P(_, {
2529
+ default: X(() => [L(_, {
2506
2530
  "data-source": e.dataSource.row_actions,
2507
2531
  "onUpdate:dataSource": t[9] ||= (t) => e.dataSource.row_actions = t
2508
2532
  }, null, 8, ["data-source"])]),
2509
2533
  _: 1
2510
2534
  }),
2511
- P(h, {
2535
+ L(h, {
2512
2536
  key: "7",
2513
2537
  tab: "配置同步"
2514
2538
  }, {
2515
- default: J(() => [e.activeKey === "7" ? (V(), k(v, {
2539
+ default: X(() => [e.activeKey === "7" ? (U(), M(v, {
2516
2540
  key: 0,
2517
2541
  "data-source": e.dataSource,
2518
2542
  "table-type": e.tableType
2519
- }, null, 8, ["data-source", "table-type"])) : A("", !0)]),
2543
+ }, null, 8, ["data-source", "table-type"])) : N("", !0)]),
2520
2544
  _: 1
2521
2545
  })
2522
2546
  ]),
2523
2547
  _: 1
2524
2548
  }, 8, ["activeKey"]),
2525
- P(x, {
2549
+ L(x, {
2526
2550
  visible: e.showColumnConfig,
2527
2551
  "onUpdate:visible": t[12] ||= (t) => e.showColumnConfig = t,
2528
2552
  title: "列配置",
@@ -2531,15 +2555,15 @@ function kt(e, t, n, r, i, a) {
2531
2555
  destroyOnClose: !0,
2532
2556
  onOk: e.confirmColumnConfig
2533
2557
  }, {
2534
- default: J(() => [e.showColumnConfig ? (V(), k(b, {
2558
+ default: X(() => [e.showColumnConfig ? (U(), M(b, {
2535
2559
  key: 0,
2536
2560
  "data-source": e.ColumnConfigDataSource,
2537
2561
  "onUpdate:dataSource": t[11] ||= (t) => e.ColumnConfigDataSource = t,
2538
2562
  "model-type": e.dataSource.modelType
2539
- }, null, 8, ["data-source", "model-type"])) : A("", !0)]),
2563
+ }, null, 8, ["data-source", "model-type"])) : N("", !0)]),
2540
2564
  _: 1
2541
2565
  }, 8, ["visible", "onOk"]),
2542
- P(x, {
2566
+ L(x, {
2543
2567
  visible: e.showSearchConfig,
2544
2568
  "onUpdate:visible": t[14] ||= (t) => e.showSearchConfig = t,
2545
2569
  title: "查询配置",
@@ -2548,16 +2572,16 @@ function kt(e, t, n, r, i, a) {
2548
2572
  destroyOnClose: !0,
2549
2573
  onOk: e.confirmSearchConfig
2550
2574
  }, {
2551
- default: J(() => [e.showSearchConfig ? (V(), k(S, {
2575
+ default: X(() => [e.showSearchConfig ? (U(), M(S, {
2552
2576
  key: 0,
2553
2577
  record: e.SearchConfigDataSource,
2554
2578
  "onUpdate:record": t[13] ||= (t) => e.SearchConfigDataSource = t,
2555
2579
  "model-type": e.dataSource.modelType
2556
- }, null, 8, ["record", "model-type"])) : A("", !0)]),
2580
+ }, null, 8, ["record", "model-type"])) : N("", !0)]),
2557
2581
  _: 1
2558
2582
  }, 8, ["visible", "onOk"])
2559
2583
  ], 64);
2560
2584
  }
2561
- var At = /* @__PURE__ */ t(Et, [["render", kt], ["__scopeId", "data-v-dad950db"]]);
2585
+ var Ft = /* @__PURE__ */ t(jt, [["render", Pt], ["__scopeId", "data-v-5c5e6329"]]);
2562
2586
  //#endregion
2563
- export { Dt as n, De as r, At as t };
2587
+ export { Mt as n, Me as r, Ft as t };