@jeecg/online 3.8.2-beta → 3.9.0-beta2

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 (112) hide show
  1. package/{AccountLoginForm-79fa7b01.mjs → AccountLoginForm-634a76b1.mjs} +1 -1
  2. package/{AiModal-942b59ec.mjs → AiModal-204a2146.mjs} +1 -1
  3. package/{AppForgetPassword-d762e5b3.mjs → AppForgetPassword-f9a6258a.mjs} +2 -2
  4. package/{AppLogin-41372985.mjs → AppLogin-bf783eab.mjs} +9 -9
  5. package/{AppLoginHeader-3b6fa33d.mjs → AppLoginHeader-55594326.mjs} +1 -1
  6. package/{AppNameEmail-8dfbad62.mjs → AppNameEmail-54026ea8.mjs} +2 -2
  7. package/{AppRegister-433c54db.mjs → AppRegister-043efc45.mjs} +3 -3
  8. package/{AppTenant-e49dfa9b.mjs → AppTenant-c7bb8700.mjs} +2 -2
  9. package/{AppThirdForm-7b75b4fc.mjs → AppThirdForm-5e7e1144.mjs} +1 -1
  10. package/{AuthButtonConfig-a0f59cb5.mjs → AuthButtonConfig-4887be0d.mjs} +1 -1
  11. package/{AuthButtonTree-f0a5cc0b.mjs → AuthButtonTree-7e47b44b.mjs} +1 -1
  12. package/{AuthDataConfig-647c4a27.mjs → AuthDataConfig-3cd10ca2.mjs} +1 -1
  13. package/{AuthDataTree-b80a3ea5.mjs → AuthDataTree-714c259c.mjs} +1 -1
  14. package/{AuthFieldConfig-d36a1b2d.mjs → AuthFieldConfig-bb65f78b.mjs} +1 -1
  15. package/{AuthFieldTree-dba6af79.mjs → AuthFieldTree-3e38b12b.mjs} +1 -1
  16. package/{AuthManagerDrawer-5acbd451.mjs → AuthManagerDrawer-dee39b07.mjs} +4 -4
  17. package/{AuthSetterModal-95b5f616.mjs → AuthSetterModal-f176c221.mjs} +7 -7
  18. package/{CgformAddressModal-5d889870.mjs → CgformAddressModal-a3903b24.mjs} +1 -1
  19. package/{CgformCopyList-cc5f76cd.mjs → CgformCopyList-4be1000f.mjs} +37 -37
  20. package/{CgformModal-cebc698b.mjs → CgformModal-115710a6.mjs} +10 -10
  21. package/{CgreportAigcModal-d1e62385.mjs → CgreportAigcModal-3bef8abe.mjs} +1 -1
  22. package/{CgreportModal-2e4421e6.mjs → CgreportModal-0cc48587.mjs} +143 -139
  23. package/{CheckDictTable-8fb7299c.mjs → CheckDictTable-65157c48.mjs} +1 -1
  24. package/{CodeFileListModal-25fad54f.mjs → CodeFileListModal-305c1a62.mjs} +2 -2
  25. package/CodeFileViewModal-320d7acf.mjs +269 -0
  26. package/CodeGeneratorModal-2ba18bd1.mjs +298 -0
  27. package/{CustomButtonList-26490688.mjs → CustomButtonList-98db8fd2.mjs} +1 -1
  28. package/{DBAttributeTable-dea8ab11.mjs → DBAttributeTable-56701599.mjs} +40 -39
  29. package/{DbToOnlineModal-60317a16.mjs → DbToOnlineModal-a82cdeb5.mjs} +1 -1
  30. package/{DetailForm-b92a5e9d.mjs → DetailForm-7d4f630e.mjs} +163 -152
  31. package/{DropMenuItem-82213be6.mjs → DropMenuItem-b3a9cd6a.mjs} +1 -1
  32. package/{EnhanceJavaModal-6ebefc8b.mjs → EnhanceJavaModal-469e645e.mjs} +1 -1
  33. package/{EnhanceJsHistory-8d9b86ca.mjs → EnhanceJsHistory-bb6ba865.mjs} +1 -1
  34. package/{EnhanceJsModal-9439e6f8.mjs → EnhanceJsModal-b0527cbf.mjs} +2 -2
  35. package/{EnhanceSqlModal-ea4592bf.mjs → EnhanceSqlModal-c6e8bce1.mjs} +1 -1
  36. package/{ExtendConfigModal-f509db46.mjs → ExtendConfigModal-7b00b49a.mjs} +1 -1
  37. package/{FieldExtendJsonModal-73bab5b5.mjs → FieldExtendJsonModal-536e6d5b.mjs} +2 -2
  38. package/{FileSelectModal-49d6dade.mjs → FileSelectModal-eb026170.mjs} +1 -1
  39. package/{ForeignKeyTable-330963c1.mjs → ForeignKeyTable-97a5827f.mjs} +1 -1
  40. package/{IndexTable-c0478faa.mjs → IndexTable-4d350e4e.mjs} +1 -1
  41. package/{JModalTip-b1d19eaa.mjs → JModalTip-c3e6726c.mjs} +1 -1
  42. package/{JOnlineSearchSelect-97662e1b.mjs → JOnlineSearchSelect-ffeac61d.mjs} +1 -1
  43. package/{LeftDepart-4b1003f0.mjs → LeftDepart-a727aab7.mjs} +1 -1
  44. package/{LeftRole-8486ba4f.mjs → LeftRole-b533dcf6.mjs} +1 -1
  45. package/{LeftUser-09894a2f.mjs → LeftUser-aaac52cb.mjs} +1 -1
  46. package/{LinkTableConfigModal-cd0980e9.mjs → LinkTableConfigModal-4053b62d.mjs} +1 -1
  47. package/{LinkTableFieldConfigModal-f4106ab7.mjs → LinkTableFieldConfigModal-93552099.mjs} +1 -1
  48. package/{LinkTableListPiece-4187ad7d.mjs → LinkTableListPiece-0f4ca559.mjs} +1 -1
  49. package/{ModalFormDemo-4ec79769.mjs → ModalFormDemo-b8478356.mjs} +1 -1
  50. package/OnlCgformErpList-b0605798.mjs +527 -0
  51. package/{OnlCgformErpSubTable-421e2051.mjs → OnlCgformErpSubTable-89699bc9.mjs} +42 -41
  52. package/{OnlCgformInnerSubTable-9616ebf2.mjs → OnlCgformInnerSubTable-f2722f77.mjs} +105 -102
  53. package/{OnlCgformInnerTableList-5ed887e4.mjs → OnlCgformInnerTableList-992aa7e9.mjs} +20 -19
  54. package/{OnlCgformTabList-c03a1d0a.mjs → OnlCgformTabList-882a0e0c.mjs} +20 -19
  55. package/{OnlineAutoList-e5a61211.mjs → OnlineAutoList-caedb54a.mjs} +19 -18
  56. package/{OnlineAutoModal-38f2d522.mjs → OnlineAutoModal-a0d1a6b8.mjs} +7 -7
  57. package/{OnlineAutoTreeList-16fa962f.mjs → OnlineAutoTreeList-624106c1.mjs} +19 -18
  58. package/OnlineCustomModal-f4e17bed.mjs +246 -0
  59. package/{OnlineDetailModal-79085ba8.mjs → OnlineDetailModal-35394778.mjs} +44 -43
  60. package/OnlineForm-86b5966d.mjs +1079 -0
  61. package/OnlineFormDetail-4b3ad130.mjs +349 -0
  62. package/{OnlineFormUrlAdd-2e05ba0f.mjs → OnlineFormUrlAdd-708c91fb.mjs} +9 -9
  63. package/{OnlineFormUrlDetail-06b2d9e6.mjs → OnlineFormUrlDetail-5c8efaeb.mjs} +14 -13
  64. package/{OnlineFormUrlEdit-77ac4bba.mjs → OnlineFormUrlEdit-8f08474e.mjs} +9 -9
  65. package/{OnlineFormUrlSuccess-cb3f7be4.mjs → OnlineFormUrlSuccess-0c2431a4.mjs} +1 -1
  66. package/{OnlineQueryForm-528af6ed.mjs → OnlineQueryForm-3017a4ca.mjs} +119 -120
  67. package/{OnlineSearchFormItem-51eefaf4.mjs → OnlineSearchFormItem-1b54585f.mjs} +2 -2
  68. package/{OnlineSelectCascade-b218691c.mjs → OnlineSelectCascade-fab4426d.mjs} +61 -55
  69. package/{OnlineSubFormDetail-a1b7f33f.mjs → OnlineSubFormDetail-bbc48c3e.mjs} +48 -45
  70. package/{OnlineTabAutoModal-1c7c4ed2.mjs → OnlineTabAutoModal-b0f9fce8.mjs} +6 -6
  71. package/{OnlineTabDetailModal-7c45e727.mjs → OnlineTabDetailModal-401a26ad.mjs} +38 -37
  72. package/{OnlineTabForm-9682158f.mjs → OnlineTabForm-5c04cbc5.mjs} +22 -22
  73. package/OnlineTabFormDetail-2a28febf.mjs +328 -0
  74. package/{PageAttributeTable-21314341.mjs → PageAttributeTable-18aabf81.mjs} +5 -5
  75. package/{PhoneLoginForm-c3c16f16.mjs → PhoneLoginForm-4a9d7869.mjs} +18 -18
  76. package/ProcessOnlineForm-0ddce4fb.mjs +218 -0
  77. package/{QueryTable-413d1366.mjs → QueryTable-342fd89a.mjs} +1 -1
  78. package/{SetSwitchOptions-82fd6265.mjs → SetSwitchOptions-e1d5a6b4.mjs} +1 -1
  79. package/{ShareAddView-a2dba2ef.mjs → ShareAddView-a5154da3.mjs} +22 -21
  80. package/{ShareEditView-ecd590dc.mjs → ShareEditView-cf761cf3.mjs} +22 -21
  81. package/{ShareView-84f333e7.mjs → ShareView-3b2f5457.mjs} +20 -19
  82. package/{ShareView.vue_vue_type_script_setup_true_lang-9a3a259e.mjs → ShareView.vue_vue_type_script_setup_true_lang-9ea579c2.mjs} +2 -2
  83. package/{SingleView-d4f29169.mjs → SingleView-3cab20a9.mjs} +15 -14
  84. package/{SingleView.vue_vue_type_style_index_0_lang-40ea7e64.mjs → SingleView.vue_vue_type_style_index_0_lang-24d417dc.mjs} +4 -4
  85. package/{SuperQuery-290f5080.mjs → SuperQuery-270b0968.mjs} +39 -39
  86. package/TaskOpinionList-60cf4080.mjs +13 -0
  87. package/{aiModal-6e338c79.mjs → aiModal-e7362c3f.mjs} +2 -2
  88. package/{index-bc0d747e.mjs → index-6d1a78e2.mjs} +2 -2
  89. package/index-740b2c4a.mjs +57 -0
  90. package/{index-7bab525f.mjs → index-8fd12d0f.mjs} +3 -3
  91. package/{index-7890e2b4.mjs → index-b5fe9bd4.mjs} +1 -1
  92. package/{index-9bebbfe5.mjs → index-b811abb9.mjs} +2 -2
  93. package/{index-c5737cbb.mjs → index-d95bb7c2.mjs} +4 -4
  94. package/{index-254a82b7.mjs → index-e2c3e6f3.mjs} +129 -123
  95. package/main.index.js +1 -1
  96. package/package.json +1 -1
  97. package/style.css +1 -1
  98. package/useCgformList-6d5547ff.mjs +410 -0
  99. package/{useExtendComponent-d1db211d.mjs → useExtendComponent-95ce0719.mjs} +405 -405
  100. package/{useListButton-7f9674a0.mjs → useListButton-73071548.mjs} +21 -21
  101. package/CodeFileViewModal-12299ab5.mjs +0 -253
  102. package/CodeGeneratorModal-791b1695.mjs +0 -281
  103. package/OnlCgformErpList-63089149.mjs +0 -498
  104. package/OnlineCustomModal-7e31297e.mjs +0 -232
  105. package/OnlineForm-0438f4bf.mjs +0 -1012
  106. package/OnlineFormDetail-76d243ed.mjs +0 -348
  107. package/OnlineTabFormDetail-b8650175.mjs +0 -327
  108. package/ProcessOnlineForm-d6113dec.mjs +0 -188
  109. package/README.md +0 -26
  110. package/index-30c0a14f.mjs +0 -57
  111. package/useCgformList-52631580.mjs +0 -395
  112. /package/{OnlineForm.vue_vue_type_style_index_0_scoped_3f26e7bd_lang-4ed993c7.mjs → OnlineForm.vue_vue_type_style_index_0_scoped_60bd1850_lang-4ed993c7.mjs} +0 -0
@@ -1,40 +1,41 @@
1
- var ke = Object.defineProperty, Se = Object.defineProperties;
2
- var De = Object.getOwnPropertyDescriptors;
1
+ var Se = Object.defineProperty, De = Object.defineProperties;
2
+ var Ye = Object.getOwnPropertyDescriptors;
3
3
  var ee = Object.getOwnPropertySymbols;
4
- var Ye = Object.prototype.hasOwnProperty, Oe = Object.prototype.propertyIsEnumerable;
5
- var te = (h, f, l) => f in h ? ke(h, f, { enumerable: !0, configurable: !0, writable: !0, value: l }) : h[f] = l, v = (h, f) => {
4
+ var Oe = Object.prototype.hasOwnProperty, Fe = Object.prototype.propertyIsEnumerable;
5
+ var te = (h, f, l) => f in h ? Se(h, f, { enumerable: !0, configurable: !0, writable: !0, value: l }) : h[f] = l, v = (h, f) => {
6
6
  for (var l in f || (f = {}))
7
- Ye.call(f, l) && te(h, l, f[l]);
7
+ Oe.call(f, l) && te(h, l, f[l]);
8
8
  if (ee)
9
9
  for (var l of ee(f))
10
- Oe.call(f, l) && te(h, l, f[l]);
10
+ Fe.call(f, l) && te(h, l, f[l]);
11
11
  return h;
12
- }, q = (h, f) => Se(h, De(f));
13
- var P = (h, f, l) => new Promise((d, b) => {
12
+ }, q = (h, f) => De(h, Ye(f));
13
+ var P = (h, f, l) => new Promise((d, y) => {
14
14
  var B = (_) => {
15
15
  try {
16
16
  F(l.next(_));
17
17
  } catch (D) {
18
- b(D);
18
+ y(D);
19
19
  }
20
- }, j = (_) => {
20
+ }, M = (_) => {
21
21
  try {
22
22
  F(l.throw(_));
23
23
  } catch (D) {
24
- b(D);
24
+ y(D);
25
25
  }
26
- }, F = (_) => _.done ? d(_.value) : Promise.resolve(_.value).then(B, j);
26
+ }, F = (_) => _.done ? d(_.value) : Promise.resolve(_.value).then(B, M);
27
27
  F((l = l.apply(h, f)).next());
28
28
  });
29
- import { BasicForm as Fe, useForm as xe } from "/@/components/Form/index";
30
- import { ref as C, reactive as ve, watch as A, toRaw as G, resolveComponent as M, openBlock as R, createElementBlock as oe, createVNode as N, withCtx as I, mergeProps as re, createElementVNode as H, createBlock as ne, toDisplayString as W, createCommentVNode as Q, createTextVNode as Pe } from "vue";
31
- import { defHttp as Ce } from "/@/utils/http/axios";
29
+ import { BasicForm as xe, useForm as ve } from "/@/components/Form/index";
30
+ import { ref as C, reactive as Pe, watch as U, toRaw as A, resolveComponent as N, openBlock as R, createElementBlock as oe, createVNode as j, withCtx as V, mergeProps as re, createElementVNode as G, createBlock as ne, toDisplayString as H, createCommentVNode as Q, createTextVNode as Ce } from "vue";
31
+ import { defHttp as Ve } from "/@/utils/http/axios";
32
32
  import { useMessage as Ie } from "/@/hooks/web/useMessage";
33
- import { i as Ve, g as je, n as ae, o as Me, F as K, p as Ne, q as Le, r as se, j as V } from "./useExtendComponent-d1db211d.mjs";
34
- import { L as Be } from "./constant-fa63bd66.mjs";
33
+ import { c as Me, g as Ne, n as ae, o as je, F as W, p as Le, q as Be, r as se, d as I } from "./useExtendComponent-95ce0719.mjs";
34
+ import { L as Ee } from "./constant-fa63bd66.mjs";
35
35
  import "/@/utils/common/compUtils";
36
- import Ee from "/@/components/Form/src/jeecg/components/JRangeNumber.vue";
37
- import { _ as Je } from "./index-30c0a14f.mjs";
36
+ import Je from "/@/components/Form/src/jeecg/components/JRangeNumber.vue";
37
+ import { useDebounceFn as qe } from "@vueuse/core";
38
+ import { _ as Re } from "./index-740b2c4a.mjs";
38
39
  import "/@/components/Form/src/componentMap";
39
40
  import "/@/utils/propTypes";
40
41
  import "@ant-design/icons-vue";
@@ -53,22 +54,21 @@ import "/@/hooks/system/useListPage";
53
54
  import "vue-router";
54
55
  import "/@/components/Form/src/utils/Area";
55
56
  import "/@/components/Preview/index";
56
- import "./LinkTableListPiece-4187ad7d.mjs";
57
+ import "./LinkTableListPiece-0f4ca559.mjs";
57
58
  import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
58
59
  import "/@/utils/auth";
59
60
  import "/@/api/common/api";
60
61
  import "/@/hooks/web/useAppInject";
61
62
  import "/@/assets/images/placeholderImage.png";
62
- import "./OnlineSelectCascade-b218691c.mjs";
63
+ import "./OnlineSelectCascade-fab4426d.mjs";
63
64
  import "/@/components/Loading";
64
- import "./JModalTip-b1d19eaa.mjs";
65
+ import "./JModalTip-c3e6726c.mjs";
65
66
  import "ant-design-vue";
66
- import "@vueuse/core";
67
- const qe = {
67
+ const Qe = {
68
68
  name: "OnlineQueryForm",
69
69
  components: {
70
- BasicForm: Fe,
71
- JRangeNumber: Ee
70
+ BasicForm: xe,
71
+ JRangeNumber: Je
72
72
  },
73
73
  props: {
74
74
  id: {
@@ -94,34 +94,34 @@ const qe = {
94
94
  },
95
95
  emits: ["search", "loaded"],
96
96
  setup(h, { emit: f }) {
97
- const l = "/online/cgform/api/getQueryInfoVue3/", d = C(null), b = C([]), B = C({ xs: 24, sm: 24, md: 12, lg: 6, xl: 6 }), j = C(!1), F = C(!1), _ = C({}), D = C([]), { createMessage: E } = Ie(), { linkTableCard2Select: T } = Ve(), J = C(80), c = ve({
97
+ const l = "/online/cgform/api/getQueryInfoVue3/", d = C(null), y = C([]), B = C({ xs: 24, sm: 24, md: 12, lg: 6, xl: 6 }), M = C(!1), F = C(!1), _ = C({}), D = C([]), { createMessage: E } = Ie(), { linkTableCard2Select: T } = Me(), J = C(80), c = Pe({
98
98
  config: {},
99
99
  cache: {},
100
100
  param: {},
101
101
  status: !1
102
- });
103
- A(
102
+ }), b = qe(ce, 500);
103
+ U(
104
104
  () => c.status,
105
105
  (e) => P(this, null, function* () {
106
- const { config: t, cache: o, param: r } = G(c);
106
+ const { config: t, cache: o, param: r } = A(c);
107
107
  let n = Object.assign({}, t, o, r);
108
- yield le(n);
108
+ yield b(n);
109
109
  }),
110
110
  { immediate: !0, deep: !0 }
111
111
  );
112
- function y(e, t) {
112
+ function w(e, t) {
113
113
  return P(this, null, function* () {
114
114
  c.cache = v({}, e), c.param = v({}, t), c.status = !c.status;
115
115
  });
116
116
  }
117
- A(
117
+ U(
118
118
  () => h.id,
119
119
  (e) => {
120
- e ? ie() : b.value = [];
120
+ e ? le() : y.value = [];
121
121
  },
122
122
  { immediate: !0 }
123
123
  );
124
- function w(e) {
124
+ function L(e) {
125
125
  return P(this, null, function* () {
126
126
  var a, g, k, Y;
127
127
  let t = [], o = {}, r = Object.keys(e), n = -1;
@@ -129,29 +129,29 @@ const qe = {
129
129
  const i = e[p];
130
130
  p === "sys_org_code" && (i.fieldExtendJson || (i.fieldExtendJson = '{"store":"orgCode"}'));
131
131
  let u = i.view;
132
- if (i.originView = i.view, ae[u] && (i.view = ae[u]), yield Me(p, i, o), i.mode == "group" && (u == "date" || u == "datetime" || u == "number" || u == "time")) {
133
- let x = K.createSlotFormSchema(p, i);
132
+ if (i.originView = i.view, ae[u] && (i.view = ae[u]), yield je(p, i, o), i.mode == "group" && (u == "date" || u == "datetime" || u == "number" || u == "time")) {
133
+ let x = W.createSlotFormSchema(p, i);
134
134
  t.push(x);
135
- } else if (i.view === Ne) {
136
- let x = Le(i, p);
135
+ } else if (i.view === Le) {
136
+ let x = Be(i, p);
137
137
  for (let O of x) {
138
- let Z = K.createFormSchema(O.key, O), $ = se(t, O.key);
138
+ let Z = W.createFormSchema(O.key, O), $ = se(t, O.key);
139
139
  $ == -1 ? t.push(Z) : t[$] = Z;
140
140
  }
141
141
  } else if (se(t, p) == -1) {
142
- let O = K.createFormSchema(p, i);
142
+ let O = W.createFormSchema(p, i);
143
143
  t.push(O);
144
144
  }
145
145
  let S = i.fieldExtendJson;
146
146
  S && (S = JSON.parse(S), S.labelLength && (n > -1 ? n = S.labelLength > n ? S.labelLength : n : n = S.labelLength));
147
147
  }
148
- n == -1 ? n = Be : t.forEach((p) => {
148
+ n == -1 ? n = Ee : t.forEach((p) => {
149
149
  p.labelLength = n;
150
150
  }), t.sort(function(p, i) {
151
151
  return p.order - i.order;
152
152
  });
153
153
  let s = [];
154
- t.length > 2 && (j.value = !0);
154
+ t.length > 2 && (M.value = !0);
155
155
  let m = [];
156
156
  for (let p = 0; p < t.length; p++) {
157
157
  let i = t[p];
@@ -170,13 +170,13 @@ const qe = {
170
170
  const x = (Y = e[u.field]) != null ? Y : {};
171
171
  x.mode == "like" && x.view === "text" && x.originView === "text" && (u.component = "JInput"), s.push(u);
172
172
  }
173
- D.value = m, b.value = s, c.config = v({}, o), c.status = !c.status, setTimeout(() => {
173
+ D.value = m, y.value = s, c.config = v({}, o), c.status = !c.status, setTimeout(() => {
174
174
  const p = n * 14 + n + 24;
175
175
  J.value = p;
176
176
  }, 0);
177
177
  });
178
178
  }
179
- const L = (e) => {
179
+ const ie = (e) => {
180
180
  const t = e.properties;
181
181
  t && Object.entries(t).forEach(([o, r]) => {
182
182
  const n = r;
@@ -186,28 +186,28 @@ const qe = {
186
186
  }
187
187
  });
188
188
  };
189
- function ie() {
189
+ function le() {
190
190
  return P(this, null, function* () {
191
- let e = yield ue();
192
- L(e);
193
- let t = me(e);
191
+ let e = yield fe();
192
+ ie(e);
193
+ let t = ue(e);
194
194
  f("loaded", e);
195
- let { formProperties: o, hasField: r } = ce(t, e);
195
+ let { formProperties: o, hasField: r } = me(t, e);
196
196
  if (r == !1) {
197
- b.value = [];
197
+ y.value = [];
198
198
  return;
199
199
  }
200
- yield w(o);
200
+ yield L(o);
201
201
  });
202
202
  }
203
- function le(e) {
203
+ function ce(e) {
204
204
  return P(this, null, function* () {
205
- yield je(d);
206
- const t = he(e);
207
- yield z(t), Object.keys(t).length > 0 && U();
205
+ yield Ne(d);
206
+ const t = be(e);
207
+ yield K(t), Object.keys(t).length > 0 && z();
208
208
  });
209
209
  }
210
- function ce(e, t) {
210
+ function me(e, t) {
211
211
  const { searchFieldList: o, joinQuery: r, table: n } = t;
212
212
  let s = !1, m = {};
213
213
  return e && Object.keys(e).map((a) => {
@@ -217,7 +217,7 @@ const qe = {
217
217
  hasField: s
218
218
  };
219
219
  }
220
- function me(e) {
220
+ function ue(e) {
221
221
  const { properties: t, searchFieldList: o, joinQuery: r, table: n } = e;
222
222
  let s = {}, m = 1;
223
223
  return Object.keys(t).map((a) => {
@@ -234,38 +234,37 @@ const qe = {
234
234
  g.order = Number(g.order), s[a] = g;
235
235
  }), s;
236
236
  }
237
- function ue() {
237
+ function fe() {
238
238
  let e = `${l}${h.id}`;
239
239
  return new Promise((t) => {
240
- Ce.get({ url: e }, { isTransformResponse: !1 }).then((o) => {
240
+ Ve.get({ url: e }, { isTransformResponse: !1 }).then((o) => {
241
241
  o.success ? t(o.result) : (t(!1), E.warning(o.message));
242
242
  }).catch(() => {
243
243
  E.warning("获取查询条件失败!"), t(!1);
244
244
  });
245
245
  });
246
246
  }
247
- const [fe, { resetFields: pe, setFieldsValue: z, updateSchema: de, getFieldsValue: ge }] = xe({
247
+ const [pe, { resetFields: de, setFieldsValue: K, updateSchema: ge, getFieldsValue: he }] = ve({
248
248
  name: "online-query-form",
249
- schemas: b,
249
+ schemas: y,
250
250
  showActionButtonGroup: !1,
251
251
  baseColProps: B,
252
252
  autoSubmitOnEnter: !0,
253
253
  labelWidth: J,
254
254
  wrapperCol: null,
255
255
  submitFunc() {
256
- U();
257
256
  }
258
257
  /* labelCol: ONL_QUERY_LABEL_COL,
259
258
  wrapperCol: ONL_QUERY_WRAPPER_COL*/
260
259
  });
261
- function U() {
262
- let e = ge();
263
- be(e), ye(e);
264
- let t = Object.assign({}, G(c.param), we(e));
260
+ function z() {
261
+ let e = he();
262
+ _e(e), ye(e);
263
+ let t = Object.assign({}, A(c.param), ke(e));
265
264
  f("search", t, !0);
266
265
  }
267
- const he = (e) => {
268
- const t = v({}, e), o = b.value.filter((r) => ["groupTime", "groupDatetime", "groupNumber", "groupDate"].includes(r.slot));
266
+ const be = (e) => {
267
+ const t = v({}, e), o = y.value.filter((r) => ["groupTime", "groupDatetime", "groupNumber", "groupDate"].includes(r.slot));
269
268
  return o.length && Object.keys(t).forEach((r) => {
270
269
  let n;
271
270
  if (o.find((m) => m.field === r ? (n = r, !0) : !1)) {
@@ -278,7 +277,7 @@ const qe = {
278
277
  }), t;
279
278
  }, ye = (e) => {
280
279
  if (e) {
281
- const t = b.value.filter((o) => ["groupTime", "groupDatetime", "groupDate", "groupNumber"].includes(o.slot));
280
+ const t = y.value.filter((o) => ["groupTime", "groupDatetime", "groupDate", "groupNumber"].includes(o.slot));
282
281
  t.length && Object.keys(e).forEach((o) => {
283
282
  let r;
284
283
  if (t.find((s) => s.field === o ? (r = o, !0) : !1)) {
@@ -290,8 +289,8 @@ const qe = {
290
289
  }
291
290
  });
292
291
  }
293
- }, be = (e) => {
294
- const t = b.value.filter((o) => {
292
+ }, _e = (e) => {
293
+ const t = y.value.filter((o) => {
295
294
  var r;
296
295
  return ((r = o.componentProps) == null ? void 0 : r.picker) && o.componentProps.picker != "default";
297
296
  });
@@ -303,7 +302,7 @@ const qe = {
303
302
  if (s) {
304
303
  const m = (a, g, k) => {
305
304
  const Y = n.componentProps.picker;
306
- Y === "year" ? k ? e[g] = V(a).endOf("year").format("YYYY-MM-DD") : e[g] = V(a).startOf("year").format("YYYY-MM-DD") : Y === "month" ? k ? e[g] = V(a).endOf("month").format("YYYY-MM-DD") : e[g] = V(a).startOf("month").format("YYYY-MM-DD") : Y === "week" ? k ? e[g] = V(a).endOf("week").format("YYYY-MM-DD") : e[g] = V(a).startOf("week").format("YYYY-MM-DD") : Y === "quarter" && (k ? e[g] = V(a).endOf("quarter").format("YYYY-MM-DD") : e[g] = V(a).startOf("quarter").format("YYYY-MM-DD"));
305
+ Y === "year" ? k ? e[g] = I(a).endOf("year").format("YYYY-MM-DD") : e[g] = I(a).startOf("year").format("YYYY-MM-DD") : Y === "month" ? k ? e[g] = I(a).endOf("month").format("YYYY-MM-DD") : e[g] = I(a).startOf("month").format("YYYY-MM-DD") : Y === "week" ? k ? e[g] = I(a).endOf("week").format("YYYY-MM-DD") : e[g] = I(a).startOf("week").format("YYYY-MM-DD") : Y === "quarter" && (k ? e[g] = I(a).endOf("quarter").format("YYYY-MM-DD") : e[g] = I(a).startOf("quarter").format("YYYY-MM-DD"));
307
306
  };
308
307
  if ((n == null ? void 0 : n.slot) === "groupDate") {
309
308
  const a = s.split(",");
@@ -316,24 +315,24 @@ const qe = {
316
315
  };
317
316
  function X() {
318
317
  return P(this, null, function* () {
319
- yield pe();
320
- const { config: e, param: t } = G(c);
318
+ yield de();
319
+ const { config: e, param: t } = A(c);
321
320
  let o = Object.assign({}, e, t);
322
- return Object.keys(o).length > 0 && (yield z(o)), o;
321
+ return Object.keys(o).length > 0 && (yield K(o)), o;
323
322
  });
324
323
  }
325
- function _e() {
324
+ function we() {
326
325
  return P(this, null, function* () {
327
326
  const e = yield X();
328
327
  f("search", e, !1);
329
328
  });
330
329
  }
331
- function we(e) {
330
+ function ke(e) {
332
331
  return Object.keys(e).map((t) => {
333
332
  e[t] && e[t] instanceof Array && (e[t] = e[t].join(","));
334
333
  }), e;
335
334
  }
336
- return A(
335
+ return U(
337
336
  () => F.value,
338
337
  (e) => {
339
338
  let t = D.value;
@@ -344,20 +343,20 @@ const qe = {
344
343
  field: r,
345
344
  show: e
346
345
  });
347
- de(o);
346
+ ge(o);
348
347
  }
349
348
  },
350
349
  { immediate: !1 }
351
350
  ), {
352
351
  onlineQueryFormRef: d,
353
- registerForm: fe,
354
- initDefaultValues: y,
355
- toggleButtonShow: j,
352
+ registerForm: pe,
353
+ initDefaultValues: w,
354
+ toggleButtonShow: M,
356
355
  toggleSearchStatus: F,
357
- doSearch: U,
358
- resetSearch: _e,
356
+ doSearch: z,
357
+ resetSearch: we,
359
358
  queryParams: _,
360
- formSchemas: b,
359
+ formSchemas: y,
361
360
  clearSearch: X,
362
361
  getGroupDatePlaceholder: (e) => {
363
362
  let t = ["开始日期", "结束日期"];
@@ -382,68 +381,68 @@ const qe = {
382
381
  }
383
382
  };
384
383
  }
385
- }, Re = {
384
+ }, Te = {
386
385
  key: 0,
387
386
  class: "jeecg-basic-table-form-container online-query-form p-0"
388
- }, Qe = {
387
+ }, Ue = {
389
388
  style: { float: "left", overflow: "hidden", "margin-left": "10px" },
390
389
  class: "table-page-search-submitButtons"
391
390
  };
392
- function Te(h, f, l, d, b, B) {
393
- const j = M("a-range-picker"), F = M("a-time-range-picker"), _ = M("JRangeNumber"), D = M("a-button"), E = M("a-icon"), T = M("a-col"), J = M("BasicForm");
394
- return d.formSchemas && d.formSchemas.length > 0 ? (R(), oe("div", Re, [
395
- N(J, {
391
+ function Ae(h, f, l, d, y, B) {
392
+ const M = N("a-range-picker"), F = N("a-time-range-picker"), _ = N("JRangeNumber"), D = N("a-button"), E = N("a-icon"), T = N("a-col"), J = N("BasicForm");
393
+ return d.formSchemas && d.formSchemas.length > 0 ? (R(), oe("div", Te, [
394
+ j(J, {
396
395
  ref: "onlineQueryFormRef",
397
396
  onRegister: d.registerForm
398
397
  }, {
399
- groupDate: I(({ model: c, field: y, schema: w }) => [
400
- N(j, re({
398
+ groupDate: V(({ model: c, field: b, schema: w }) => [
399
+ j(M, re({
401
400
  style: { width: "100%" },
402
- value: c[y],
403
- "onUpdate:value": (L) => c[y] = L
401
+ value: c[b],
402
+ "onUpdate:value": (L) => c[b] = L
404
403
  }, w.componentProps, {
405
404
  placeholder: d.getGroupDatePlaceholder(w.componentProps),
406
405
  valueFormat: "YYYY-MM-DD"
407
406
  }), null, 16, ["value", "onUpdate:value", "placeholder"])
408
407
  ]),
409
- groupDatetime: I(({ model: c, field: y }) => [
410
- N(j, {
408
+ groupDatetime: V(({ model: c, field: b }) => [
409
+ j(M, {
411
410
  style: { width: "100%" },
412
- value: c[y],
413
- "onUpdate:value": (w) => c[y] = w,
411
+ value: c[b],
412
+ "onUpdate:value": (w) => c[b] = w,
414
413
  "show-time": !0,
415
414
  valueFormat: "YYYY-MM-DD HH:mm:ss"
416
415
  }, null, 8, ["value", "onUpdate:value"])
417
416
  ]),
418
- groupTime: I(({ model: c, field: y }) => [
419
- N(F, {
417
+ groupTime: V(({ model: c, field: b }) => [
418
+ j(F, {
420
419
  style: { width: "100%" },
421
- value: c[y],
422
- "onUpdate:value": (w) => c[y] = w,
420
+ value: c[b],
421
+ "onUpdate:value": (w) => c[b] = w,
423
422
  "value-format": "HH:mm:ss"
424
423
  }, null, 8, ["value", "onUpdate:value"])
425
424
  ]),
426
- groupNumber: I(({ model: c, field: y, schema: w }) => [
427
- N(_, re({
428
- value: c[y],
429
- "onUpdate:value": (L) => c[y] = L
425
+ groupNumber: V(({ model: c, field: b, schema: w }) => [
426
+ j(_, re({
427
+ value: c[b],
428
+ "onUpdate:value": (L) => c[b] = L
430
429
  }, w.componentProps), null, 16, ["value", "onUpdate:value"])
431
430
  ]),
432
- formFooter: I(() => [
433
- N(T, {
431
+ formFooter: V(() => [
432
+ j(T, {
434
433
  md: 6,
435
434
  sm: 8
436
435
  }, {
437
- default: I(() => [
438
- H("span", Qe, [
436
+ default: V(() => [
437
+ G("span", Ue, [
439
438
  l.queryBtnCfg.enabled ? (R(), ne(D, {
440
439
  key: 0,
441
440
  type: "primary",
442
441
  preIcon: l.queryBtnCfg.buttonIcon,
443
442
  onClick: d.doSearch
444
443
  }, {
445
- default: I(() => [
446
- H("span", null, W(l.queryBtnCfg.buttonName), 1)
444
+ default: V(() => [
445
+ G("span", null, H(l.queryBtnCfg.buttonName), 1)
447
446
  ]),
448
447
  _: 1
449
448
  }, 8, ["preIcon", "onClick"])) : Q("", !0),
@@ -454,8 +453,8 @@ function Te(h, f, l, d, b, B) {
454
453
  style: { "margin-left": "8px" },
455
454
  onClick: d.resetSearch
456
455
  }, {
457
- default: I(() => [
458
- H("span", null, W(l.resetBtnCfg.buttonName), 1)
456
+ default: V(() => [
457
+ G("span", null, H(l.resetBtnCfg.buttonName), 1)
459
458
  ]),
460
459
  _: 1
461
460
  }, 8, ["preIcon", "onClick"])) : Q("", !0),
@@ -464,8 +463,8 @@ function Te(h, f, l, d, b, B) {
464
463
  onClick: f[0] || (f[0] = (c) => d.toggleSearchStatus = !d.toggleSearchStatus),
465
464
  style: { "margin-left": "8px" }
466
465
  }, [
467
- Pe(W(d.toggleSearchStatus ? "收起" : "展开") + " ", 1),
468
- N(E, {
466
+ Ce(H(d.toggleSearchStatus ? "收起" : "展开") + " ", 1),
467
+ j(E, {
469
468
  type: d.toggleSearchStatus ? "up" : "down"
470
469
  }, null, 8, ["type"])
471
470
  ])) : Q("", !0)
@@ -478,7 +477,7 @@ function Te(h, f, l, d, b, B) {
478
477
  }, 8, ["onRegister"])
479
478
  ])) : Q("", !0);
480
479
  }
481
- const Ct = /* @__PURE__ */ Je(qe, [["render", Te], ["__scopeId", "data-v-04f16c27"]]);
480
+ const It = /* @__PURE__ */ Re(Qe, [["render", Ae], ["__scopeId", "data-v-22d578b7"]]);
482
481
  export {
483
- Ct as default
482
+ It as default
484
483
  };
@@ -11,8 +11,8 @@ var N = (e, l, i) => l in e ? W(e, l, { enumerable: !0, configurable: !0, writab
11
11
  };
12
12
  import { defineComponent as H, ref as M, watch as b, useCssVars as Q, resolveComponent as o, openBlock as u, createBlock as n, normalizeClass as R, withCtx as c, createElementVNode as w, toDisplayString as I, createElementBlock as p, Fragment as m, createVNode as V, renderList as X, createTextVNode as Z, mergeProps as K } from "vue";
13
13
  import { JDictSelectTag as _, JTreeSelect as x, JCategorySelect as ee, JSelectUser as le, JSelectUserByDept as te, JSelectDept as ae, JPopup as ue, JAreaLinkage as ne, JAreaSelect as ie, JSelectMultiple as oe } from "/@/components/Form";
14
- import re from "./JOnlineSearchSelect-97662e1b.mjs";
15
- import { _ as de } from "./index-30c0a14f.mjs";
14
+ import re from "./JOnlineSearchSelect-ffeac61d.mjs";
15
+ import { _ as de } from "./index-740b2c4a.mjs";
16
16
  import "@vueuse/core";
17
17
  import "/@/utils/http/axios";
18
18
  import "/@/hooks/web/useMessage";