liyu-pc-base 1.0.925 → 1.0.933

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/{FieldRender-DnOLSXTl.js → FieldRender-CQJ_WyCW.js} +21 -22
  2. package/dist/{FieldRender2-CvxGe238.js → FieldRender2--HKtBTxJ.js} +66 -68
  3. package/dist/{FormRender3-CAxOQgue.js → FormRender3-B8hHEMWn.js} +3 -3
  4. package/dist/{RemoteCascader-B2ytkZp7.js → RemoteCascader-BsOeNVvB.js} +1 -1
  5. package/dist/{RemoteFilterSelect-BthY6Fyt.js → RemoteFilterSelect-DF906O8X.js} +1 -1
  6. package/dist/{RemoteModal-Dqy32RFN.js → RemoteModal-Ca1pTaYZ.js} +2 -2
  7. package/dist/{RemoteSelect-27xLYvyg.js → RemoteSelect-bjsCKGfS.js} +199 -174
  8. package/dist/RemoteSelectPro-BuaraY6j.js +791 -0
  9. package/dist/{RemoteTable2-DF7gWHYf.js → RemoteTable2-DYHG0cqX.js} +1 -1
  10. package/dist/{RemoteText-DwRLI0xq.js → RemoteText-C_zxmxfK.js} +1 -1
  11. package/dist/{SearchRender-Dr_qnvZM.js → SearchRender-B-peS-uL.js} +1 -1
  12. package/dist/{TinymceEditor-waI-dlC5.js → TinymceEditor-RuTN5CLa.js} +7626 -7154
  13. package/dist/api/api-model.js +1 -1
  14. package/dist/{batchCreateUser-B4zAXSR6.js → batchCreateUser-Bldo1FdN.js} +8 -8
  15. package/dist/components/FormRender/utils.js +6 -6
  16. package/dist/components/index.js +14 -4395
  17. package/dist/components/remotePages/index.js +1 -1
  18. package/dist/components-DPWheEcb.js +4393 -0
  19. package/dist/{dbDataSourceConfig-Hj90tvTR.js → dbDataSourceConfig-CnGgOJJB.js} +7 -7
  20. package/dist/{dbViewConfig-BF0QZ_mT.js → dbViewConfig-BCqAy9B4.js} +1420 -1067
  21. package/dist/{detailTablePro-DxgfGYN3.js → detailTablePro-hrGfEi1o.js} +1 -1
  22. package/dist/{function-BhYSb8ls.js → function-DnoIHo24.js} +1 -1
  23. package/dist/index.js +5 -5
  24. package/dist/{init-plugin-CvgtEpwY.js → init-plugin-CERVEi6b.js} +69 -53
  25. package/dist/liyu-pc-base.css +1 -1
  26. package/dist/{modal-tools-CrXdI5sg.js → modal-tools-CZkYEwEr.js} +1 -1
  27. package/dist/{remotePages-CvjMLjTh.js → remotePages-DIuFH_da.js} +56 -56
  28. package/dist/{role-manage-C7O8b2SF.js → role-manage-05Sol-wI.js} +1 -1
  29. package/dist/{syncDataSourceConfig-OZ2mJCJs.js → syncDataSourceConfig-C7D3yjhl.js} +7 -7
  30. package/dist/{syncModelTypeConfig-B2vV_kKb.js → syncModelTypeConfig-D8-hcItK.js} +6 -6
  31. package/dist/{tableModal-DZE5wntG.js → tableModal-CiaKAZBf.js} +1 -1
  32. package/dist/{tablePageHost-hE_1hQv4.js → tablePageHost-D2vZ5wl5.js} +232 -232
  33. package/dist/{tablePro-t2yDX9oW.js → tablePro-Bcz6skvP.js} +135 -129
  34. package/dist/utils/function.js +1 -1
  35. package/dist/utils/hooks/useFetchData.js +1 -1
  36. package/package.json +1 -1
  37. package/dist/RemoteSelectPro-CcL_vU1K.js +0 -427
  38. package/dist/RemoteTable-D_12PvNS.js +0 -372
  39. package/dist/RemoteTreeSelectPro-CXMOariR.js +0 -483
  40. package/dist/boldenText-Bv8Zo7Vh.js +0 -32
@@ -1,17 +1,16 @@
1
1
  import { r as e } from "./rolldown-runtime-DY7j01NX.js";
2
- import { F as t, M as n, O as r } from "./init-plugin-CvgtEpwY.js";
3
- import { n as i } from "./role-manage-C7O8b2SF.js";
4
- import { t as a } from "./boldenText-Bv8Zo7Vh.js";
5
- import { t as o } from "./_plugin-vue_export-helper-B3ysoDQm.js";
6
- import { Fragment as s, computed as c, createBlock as l, createElementBlock as u, createVNode as d, defineComponent as f, onMounted as p, openBlock as m, reactive as h, ref as ee, renderList as g, resolveComponent as _, watch as v, withCtx as y } from "vue";
2
+ import { I as t, M as n, z as r } from "./init-plugin-CERVEi6b.js";
3
+ import { n as i } from "./role-manage-05Sol-wI.js";
4
+ import { t as a } from "./_plugin-vue_export-helper-B3ysoDQm.js";
5
+ import { Fragment as o, computed as s, createBlock as c, createElementBlock as l, createElementVNode as u, createVNode as d, defineComponent as f, onMounted as p, openBlock as m, reactive as h, ref as ee, renderList as g, resolveComponent as _, watch as v, withCtx as y } from "vue";
7
6
  import { message as b } from "ant-design-vue";
8
7
  import { debounce as te } from "lodash-es";
9
8
  //#region src/api/sys/index.ts
10
9
  async function x(e) {
11
- return n().post("/org/query_org_for_login_list", e);
10
+ return t().post("/org/query_org_for_login_list", e);
12
11
  }
13
12
  async function S(e) {
14
- return n().post("/org/query_person_by_org_list", e);
13
+ return t().post("/org/query_person_by_org_list", e);
15
14
  }
16
15
  //#endregion
17
16
  //#region src/components/FormRender/RemoteSelect/configs/liyu_organization/liyu_organization-organization.ts
@@ -39,58 +38,58 @@ var C = /* @__PURE__ */ e({ default: () => ne }), ne = () => ({
39
38
  //#endregion
40
39
  //#region src/api/org-model.ts
41
40
  async function ae(e) {
42
- return n().post("/org/query_org_for_login_list", e);
41
+ return t().post("/org/query_org_for_login_list", e);
42
+ }
43
+ async function oe(e) {
44
+ return t().post("/org/query_my_rel_org_list", e);
43
45
  }
44
46
  async function w(e) {
45
- return n().post("/org/query_my_rel_org_list", e);
47
+ return t().post("/org/query_work_org_by_zhaxian_list", e);
46
48
  }
47
49
  async function T(e) {
48
- return n().post("/org/query_work_org_by_zhaxian_list", e);
50
+ return t().post("/shift/query_shift_time_list", e);
49
51
  }
50
52
  async function E(e) {
51
- return n().post("/shift/query_shift_time_list", e);
53
+ return t().post("/shift/query_attend_group_list", e);
52
54
  }
53
55
  async function D(e) {
54
- return n().post("/shift/query_attend_group_list", e);
56
+ return t().post("/shift/query_attendgroup_shift_list", e);
55
57
  }
56
58
  async function O(e) {
57
- return n().post("/shift/query_attendgroup_shift_list", e);
59
+ return t().post("/shift/query_shift_list", e);
58
60
  }
59
61
  async function k(e) {
60
- return n().post("/shift/query_shift_list", e);
62
+ return t().post("/shift/query_shift_name_list", e);
61
63
  }
62
64
  async function A(e) {
63
- return n().post("/shift/query_shift_name_list", e);
65
+ return t().post("/org/query_group_by_org_list", e);
64
66
  }
65
67
  async function j(e) {
66
- return n().post("/org/query_group_by_org_list", e);
68
+ return t().post("/org/query_member_by_group_list", e);
67
69
  }
68
70
  async function M(e) {
69
- return n().post("/org/query_member_by_group_list", e);
71
+ return t().post("/shift/query_arrange_shift_list", e);
70
72
  }
71
73
  async function N(e) {
72
- return n().post("/shift/query_arrange_shift_list", e);
73
- }
74
- async function P(e) {
75
- return new Promise((t) => {
76
- n().post("/shift/query_line_arrange_shift_list", e).then((e) => {
77
- let n = [];
74
+ return new Promise((n) => {
75
+ t().post("/shift/query_line_arrange_shift_list", e).then((e) => {
76
+ let t = [];
78
77
  e.data.map((e) => {
79
- n.push({
78
+ t.push({
80
79
  name: e.work_time + "-" + e.flag + "-" + e.shift__name,
81
80
  id: e.id
82
81
  });
83
- }), e.data = n, t(e);
82
+ }), e.data = t, n(e);
84
83
  });
85
84
  });
86
85
  }
87
- async function F(e) {
88
- return n().post("/org/query_my_zhun_bei_org_list", e);
86
+ async function P(e) {
87
+ return t().post("/org/query_my_zhun_bei_org_list", e);
89
88
  }
90
89
  //#endregion
91
90
  //#region src/components/FormRender/RemoteSelect/configs/liyu_organization/liyu_organization-shift.ts
92
- var I = /* @__PURE__ */ e({ default: () => L }), L = () => ({
93
- getData: k,
91
+ var F = /* @__PURE__ */ e({ default: () => I }), I = () => ({
92
+ getData: O,
94
93
  searchConfig: {
95
94
  model: {
96
95
  is_active: !0,
@@ -103,25 +102,25 @@ var I = /* @__PURE__ */ e({ default: () => L }), L = () => ({
103
102
  });
104
103
  //#endregion
105
104
  //#region src/api/oa_integration-model.ts
105
+ async function L(e) {
106
+ return t().post("/oa_integration/query_approval_group_list", e);
107
+ }
106
108
  async function R(e) {
107
- return n().post("/oa_integration/query_approval_group_list", e);
109
+ return t().post("/oa_integration/query_ding_approval_list", e);
108
110
  }
109
111
  async function z(e) {
110
- return n().post("/oa_integration/query_ding_approval_list", e);
112
+ return t().post("/oa_integration/query_ding_form_component_list", e);
111
113
  }
112
114
  async function B(e) {
113
- return n().post("/oa_integration/query_ding_form_component_list", e);
115
+ return t().post("/oa_integration/query_ding_form_component_org_list", e);
114
116
  }
115
117
  async function V(e) {
116
- return n().post("/oa_integration/query_ding_form_component_org_list", e);
117
- }
118
- async function H(e) {
119
- return n().post("/oa_integration/query_remote_select_info_list", e);
118
+ return t().post("/oa_integration/query_remote_select_info_list", e);
120
119
  }
121
120
  //#endregion
122
121
  //#region src/components/FormRender/RemoteSelect/configs/oa_integration/oa_integration-approval_group.ts
123
- var U = /* @__PURE__ */ e({ default: () => W }), W = () => ({
124
- getData: R,
122
+ var H = /* @__PURE__ */ e({ default: () => U }), U = () => ({
123
+ getData: L,
125
124
  searchConfig: {
126
125
  model: {
127
126
  is_active: !0,
@@ -131,8 +130,8 @@ var U = /* @__PURE__ */ e({ default: () => W }), W = () => ({
131
130
  },
132
131
  watch: []
133
132
  }
134
- }), G = /* @__PURE__ */ e({ default: () => K }), K = () => ({
135
- getData: z,
133
+ }), W = /* @__PURE__ */ e({ default: () => G }), G = () => ({
134
+ getData: R,
136
135
  searchConfig: {
137
136
  model: {
138
137
  is_active: !0,
@@ -142,8 +141,8 @@ var U = /* @__PURE__ */ e({ default: () => W }), W = () => ({
142
141
  },
143
142
  watch: []
144
143
  }
145
- }), q = /* @__PURE__ */ e({ default: () => J }), J = () => ({
146
- getData: B,
144
+ }), K = /* @__PURE__ */ e({ default: () => q }), q = () => ({
145
+ getData: z,
147
146
  searchConfig: {
148
147
  model: {
149
148
  is_active: !0,
@@ -153,8 +152,8 @@ var U = /* @__PURE__ */ e({ default: () => W }), W = () => ({
153
152
  },
154
153
  watch: []
155
154
  }
156
- }), oe = /* @__PURE__ */ e({ default: () => se }), se = () => ({
157
- getData: V,
155
+ }), se = /* @__PURE__ */ e({ default: () => ce }), ce = () => ({
156
+ getData: B,
158
157
  searchConfig: {
159
158
  model: {
160
159
  is_active: !0,
@@ -164,8 +163,8 @@ var U = /* @__PURE__ */ e({ default: () => W }), W = () => ({
164
163
  },
165
164
  watch: []
166
165
  }
167
- }), ce = /* @__PURE__ */ e({ default: () => le }), le = () => ({
168
- getData: H,
166
+ }), le = /* @__PURE__ */ e({ default: () => ue }), ue = () => ({
167
+ getData: V,
169
168
  searchConfig: {
170
169
  model: {
171
170
  is_active: !0,
@@ -175,8 +174,8 @@ var U = /* @__PURE__ */ e({ default: () => W }), W = () => ({
175
174
  },
176
175
  watch: []
177
176
  }
178
- }), ue = /* @__PURE__ */ e({ default: () => de }), de = () => ({
179
- getData: N,
177
+ }), de = /* @__PURE__ */ e({ default: () => fe }), fe = () => ({
178
+ getData: M,
180
179
  searchConfig: {
181
180
  model: {
182
181
  is_active: !0,
@@ -186,8 +185,8 @@ var U = /* @__PURE__ */ e({ default: () => W }), W = () => ({
186
185
  },
187
186
  watch: []
188
187
  }
189
- }), fe = /* @__PURE__ */ e({ default: () => pe }), pe = () => ({
190
- getData: P,
188
+ }), pe = /* @__PURE__ */ e({ default: () => me }), me = () => ({
189
+ getData: N,
191
190
  searchConfig: {
192
191
  model: {
193
192
  aim_org_id: 12,
@@ -196,18 +195,18 @@ var U = /* @__PURE__ */ e({ default: () => W }), W = () => ({
196
195
  },
197
196
  watch: ["aim_org_id"]
198
197
  }
199
- }), me = /* @__PURE__ */ e({ default: () => he }), he = () => ({
200
- getData: D,
198
+ }), he = /* @__PURE__ */ e({ default: () => ge }), ge = () => ({
199
+ getData: E,
201
200
  searchConfig: { model: {
202
- aim_org_id: t().currentOrg?.id,
201
+ aim_org_id: r().currentOrg?.id,
203
202
  is_active: !0,
204
203
  page_index: 1,
205
204
  page_size: 2e3
206
205
  } }
207
- }), ge = /* @__PURE__ */ e({ default: () => _e }), _e = () => {
208
- let e = t().currentOrg;
206
+ }), _e = /* @__PURE__ */ e({ default: () => ve }), ve = () => {
207
+ let e = r().currentOrg;
209
208
  return {
210
- getData: O,
209
+ getData: D,
211
210
  searchConfig: { model: {
212
211
  org_id: e?.id,
213
212
  aim_org_id: e?.id,
@@ -216,10 +215,10 @@ var U = /* @__PURE__ */ e({ default: () => W }), W = () => ({
216
215
  page_size: 2e3
217
216
  } }
218
217
  };
219
- }, ve = /* @__PURE__ */ e({ default: () => ye }), ye = () => {
220
- let e = t().currentOrg;
218
+ }, ye = /* @__PURE__ */ e({ default: () => be }), be = () => {
219
+ let e = r().currentOrg;
221
220
  return {
222
- getData: j,
221
+ getData: A,
223
222
  searchConfig: { model: {
224
223
  org_id: e?.id,
225
224
  aim_org_id: e?.id,
@@ -228,10 +227,10 @@ var U = /* @__PURE__ */ e({ default: () => W }), W = () => ({
228
227
  page_size: 2e3
229
228
  } }
230
229
  };
231
- }, be = /* @__PURE__ */ e({ default: () => xe }), xe = () => {
232
- let e = t().currentOrg;
230
+ }, xe = /* @__PURE__ */ e({ default: () => Se }), Se = () => {
231
+ let e = r().currentOrg;
233
232
  return {
234
- getData: M,
233
+ getData: j,
235
234
  searchConfig: {
236
235
  model: {
237
236
  org_id: e?.id,
@@ -243,20 +242,20 @@ var U = /* @__PURE__ */ e({ default: () => W }), W = () => ({
243
242
  watch: ["group_id"]
244
243
  }
245
244
  };
246
- }, Se = /* @__PURE__ */ e({ default: () => Ce }), Ce = () => ({
247
- getData: w,
245
+ }, Ce = /* @__PURE__ */ e({ default: () => we }), we = () => ({
246
+ getData: oe,
248
247
  searchConfig: {
249
248
  model: {},
250
249
  watch: []
251
250
  }
252
- }), we = /* @__PURE__ */ e({ default: () => Te }), Te = () => ({
251
+ }), Te = /* @__PURE__ */ e({ default: () => Ee }), Ee = () => ({
253
252
  getData: ae,
254
253
  searchConfig: {
255
254
  model: {},
256
255
  watch: []
257
256
  }
258
- }), Ee = /* @__PURE__ */ e({ default: () => De }), De = () => ({
259
- getData: A,
257
+ }), De = /* @__PURE__ */ e({ default: () => Oe }), Oe = () => ({
258
+ getData: k,
260
259
  searchConfig: {
261
260
  model: {
262
261
  is_active: !0,
@@ -265,8 +264,8 @@ var U = /* @__PURE__ */ e({ default: () => W }), W = () => ({
265
264
  },
266
265
  watch: []
267
266
  }
268
- }), Oe = /* @__PURE__ */ e({ default: () => ke }), ke = () => ({
269
- getData: E,
267
+ }), ke = /* @__PURE__ */ e({ default: () => Ae }), Ae = () => ({
268
+ getData: T,
270
269
  searchConfig: {
271
270
  model: {
272
271
  is_active: !0,
@@ -275,20 +274,20 @@ var U = /* @__PURE__ */ e({ default: () => W }), W = () => ({
275
274
  },
276
275
  watch: []
277
276
  }
278
- }), Ae = /* @__PURE__ */ e({ default: () => je }), je = () => ({
279
- getData: F,
277
+ }), je = /* @__PURE__ */ e({ default: () => Me }), Me = () => ({
278
+ getData: P,
280
279
  searchConfig: {
281
280
  model: { is_active: !0 },
282
281
  watch: []
283
282
  }
284
- }), Me = /* @__PURE__ */ e({ default: () => Ne }), Ne = () => ({
285
- getData: T,
283
+ }), Ne = /* @__PURE__ */ e({ default: () => Pe }), Pe = () => ({
284
+ getData: w,
286
285
  searchConfig: {
287
286
  model: { is_active: !0 },
288
287
  watch: []
289
288
  }
290
- }), Pe = /* @__PURE__ */ e({ default: () => Fe }), Fe = () => {
291
- let e = t().currentOrg;
289
+ }), Fe = /* @__PURE__ */ e({ default: () => Ie }), Ie = () => {
290
+ let e = r().currentOrg;
292
291
  return {
293
292
  getData: i,
294
293
  searchConfig: {
@@ -305,15 +304,15 @@ var U = /* @__PURE__ */ e({ default: () => W }), W = () => ({
305
304
  };
306
305
  //#endregion
307
306
  //#region src/api/permission/menu-manage.ts
308
- async function Ie(e) {
309
- return n().post("/permission/query_menu_list", e);
307
+ async function Le(e) {
308
+ return t().post("/permission/query_menu_list", e);
310
309
  }
311
310
  //#endregion
312
311
  //#region src/components/FormRender/RemoteSelect/configs/permission/permission-query_menu_list.ts
313
- var Le = /* @__PURE__ */ e({ default: () => Re }), Re = () => {
314
- let e = t().currentOrg;
312
+ var Re = /* @__PURE__ */ e({ default: () => ze }), ze = () => {
313
+ let e = r().currentOrg;
315
314
  return {
316
- getData: Ie,
315
+ getData: Le,
317
316
  searchConfig: {
318
317
  model: {
319
318
  org_id: e?.id,
@@ -324,8 +323,8 @@ var Le = /* @__PURE__ */ e({ default: () => Re }), Re = () => {
324
323
  watch: []
325
324
  }
326
325
  };
327
- }, ze = /* @__PURE__ */ e({ default: () => Be }), Be = () => {
328
- let e = t().currentOrg;
326
+ }, Be = /* @__PURE__ */ e({ default: () => Ve }), Ve = () => {
327
+ let e = r().currentOrg;
329
328
  return {
330
329
  getData: i,
331
330
  searchConfig: {
@@ -341,25 +340,25 @@ var Le = /* @__PURE__ */ e({ default: () => Re }), Re = () => {
341
340
  };
342
341
  //#endregion
343
342
  //#region src/api/sys-model.ts
344
- async function Ve(e) {
345
- return n().post("/sys/query_org_by_flag_list", e);
346
- }
347
- async function Y(e) {
348
- return n().post("/production_manage/get_plan_excel_import_setting_by_flag", e);
349
- }
350
343
  async function He(e) {
351
- return n().post("/sys/query_person_name_list", e);
344
+ return t().post("/sys/query_org_by_flag_list", e);
345
+ }
346
+ async function J(e) {
347
+ return t().post("/production_manage/get_plan_excel_import_setting_by_flag", e);
352
348
  }
353
349
  async function Ue(e) {
354
- return n().post("/sys/query_problem_list", e);
350
+ return t().post("/sys/query_person_name_list", e);
355
351
  }
356
352
  async function We(e) {
357
- return n().post("/sys/query_person_list", e);
353
+ return t().post("/sys/query_problem_list", e);
354
+ }
355
+ async function Ge(e) {
356
+ return t().post("/sys/query_person_list", e);
358
357
  }
359
358
  //#endregion
360
359
  //#region src/components/FormRender/RemoteSelect/configs/sys/liyu_organization-person.ts
361
- var Ge = /* @__PURE__ */ e({ default: () => Ke }), Ke = () => ({
362
- getData: He,
360
+ var Ke = /* @__PURE__ */ e({ default: () => qe }), qe = () => ({
361
+ getData: Ue,
363
362
  searchConfig: {
364
363
  model: {
365
364
  is_active: !0,
@@ -368,8 +367,8 @@ var Ge = /* @__PURE__ */ e({ default: () => Ke }), Ke = () => ({
368
367
  },
369
368
  watch: []
370
369
  }
371
- }), qe = /* @__PURE__ */ e({ default: () => Je }), Je = () => {
372
- let e = t().currentOrg;
370
+ }), Je = /* @__PURE__ */ e({ default: () => Ye }), Ye = () => {
371
+ let e = r().currentOrg;
373
372
  return {
374
373
  getData: x,
375
374
  searchConfig: { model: {
@@ -378,8 +377,8 @@ var Ge = /* @__PURE__ */ e({ default: () => Ke }), Ke = () => ({
378
377
  is_active: !0
379
378
  } }
380
379
  };
381
- }, Ye = /* @__PURE__ */ e({ default: () => Xe }), Xe = () => ({
382
- getData: Y,
380
+ }, Xe = /* @__PURE__ */ e({ default: () => Ze }), Ze = () => ({
381
+ getData: J,
383
382
  searchConfig: {
384
383
  model: {
385
384
  is_active: !0,
@@ -388,8 +387,8 @@ var Ge = /* @__PURE__ */ e({ default: () => Ke }), Ke = () => ({
388
387
  },
389
388
  watch: []
390
389
  }
391
- }), Ze = /* @__PURE__ */ e({ default: () => Qe }), Qe = () => ({
392
- getData: Ve,
390
+ }), Qe = /* @__PURE__ */ e({ default: () => $e }), $e = () => ({
391
+ getData: He,
393
392
  searchConfig: {
394
393
  model: { org_flag: "zhaxian" },
395
394
  watch: []
@@ -397,15 +396,15 @@ var Ge = /* @__PURE__ */ e({ default: () => Ke }), Ke = () => ({
397
396
  });
398
397
  //#endregion
399
398
  //#region src/api/org/group.ts
400
- async function $e(e) {
401
- return n().post("/org/query_group_by_org_list", e);
399
+ async function et(e) {
400
+ return t().post("/org/query_group_by_org_list", e);
402
401
  }
403
402
  //#endregion
404
403
  //#region src/components/FormRender/RemoteSelect/configs/sys/sys-query_group_by_org_list.ts
405
- var et = /* @__PURE__ */ e({ default: () => tt }), tt = () => {
406
- let e = t().currentOrg;
404
+ var tt = /* @__PURE__ */ e({ default: () => nt }), nt = () => {
405
+ let e = r().currentOrg;
407
406
  return {
408
- getData: $e,
407
+ getData: et,
409
408
  searchConfig: {
410
409
  model: {
411
410
  org_id: e?.id,
@@ -416,25 +415,25 @@ var et = /* @__PURE__ */ e({ default: () => tt }), tt = () => {
416
415
  watch: []
417
416
  }
418
417
  };
419
- }, nt = /* @__PURE__ */ e({ default: () => rt }), rt = () => ({
420
- getData: Y,
418
+ }, rt = /* @__PURE__ */ e({ default: () => it }), it = () => ({
419
+ getData: J,
421
420
  searchConfig: {
422
421
  model: {
423
- flag: t().currentOrg?.id,
422
+ flag: r().currentOrg?.id,
424
423
  is_active: !0,
425
424
  page_index: 1,
426
425
  page_size: 2e3
427
426
  },
428
427
  watch: []
429
428
  }
430
- }), it = /* @__PURE__ */ e({ default: () => X }), X = () => ({
429
+ }), at = /* @__PURE__ */ e({ default: () => Y }), Y = () => ({
431
430
  getData: x,
432
431
  searchConfig: {
433
432
  model: {},
434
433
  watch: []
435
434
  }
436
- }), at = /* @__PURE__ */ e({ default: () => ot }), ot = () => ({
437
- getData: We,
435
+ }), ot = /* @__PURE__ */ e({ default: () => st }), st = () => ({
436
+ getData: Ge,
438
437
  searchConfig: {
439
438
  model: {
440
439
  is_active: !0,
@@ -443,8 +442,8 @@ var et = /* @__PURE__ */ e({ default: () => tt }), tt = () => {
443
442
  },
444
443
  watch: []
445
444
  }
446
- }), st = /* @__PURE__ */ e({ default: () => ct }), ct = () => ({
447
- getData: Ue,
445
+ }), ct = /* @__PURE__ */ e({ default: () => lt }), lt = () => ({
446
+ getData: We,
448
447
  searchConfig: {
449
448
  model: {
450
449
  is_active: !0,
@@ -453,8 +452,8 @@ var et = /* @__PURE__ */ e({ default: () => tt }), tt = () => {
453
452
  },
454
453
  watch: []
455
454
  }
456
- }), lt = /* @__PURE__ */ e({ default: () => ut }), ut = () => {
457
- let e = t().currentOrg;
455
+ }), ut = /* @__PURE__ */ e({ default: () => dt }), dt = () => {
456
+ let e = r().currentOrg;
458
457
  return {
459
458
  getData: i,
460
459
  searchConfig: {
@@ -467,51 +466,77 @@ var et = /* @__PURE__ */ e({ default: () => tt }), tt = () => {
467
466
  watch: []
468
467
  }
469
468
  };
470
- }, Z = {}, dt = () => {
471
- if (Object.keys(Z).length > 0) return;
469
+ }, X = {}, ft = () => {
470
+ if (Object.keys(X).length > 0) return;
472
471
  let e = /* #__PURE__ */ Object.assign({
473
472
  "/src/components/FormRender/RemoteSelect/configs/liyu_organization/liyu_organization-organization.ts": C,
474
473
  "/src/components/FormRender/RemoteSelect/configs/liyu_organization/liyu_organization-person.ts": re,
475
- "/src/components/FormRender/RemoteSelect/configs/liyu_organization/liyu_organization-shift.ts": I,
476
- "/src/components/FormRender/RemoteSelect/configs/oa_integration/oa_integration-approval_group.ts": U,
477
- "/src/components/FormRender/RemoteSelect/configs/oa_integration/oa_integration-ding_approval.ts": G,
478
- "/src/components/FormRender/RemoteSelect/configs/oa_integration/oa_integration-ding_form_component.ts": q,
479
- "/src/components/FormRender/RemoteSelect/configs/oa_integration/oa_integration-ding_form_component_org.ts": oe,
480
- "/src/components/FormRender/RemoteSelect/configs/oa_integration/oa_integration-remote_select_info.ts": ce,
481
- "/src/components/FormRender/RemoteSelect/configs/org/liyu_organization-arrange_shift.ts": ue,
482
- "/src/components/FormRender/RemoteSelect/configs/org/liyu_organization-arrange_shift1.ts": fe,
483
- "/src/components/FormRender/RemoteSelect/configs/org/liyu_organization-attendgroup.ts": me,
484
- "/src/components/FormRender/RemoteSelect/configs/org/liyu_organization-query_attendgroup_shift_list.ts": ge,
485
- "/src/components/FormRender/RemoteSelect/configs/org/liyu_organization-query_group_by_org_list.ts": ve,
486
- "/src/components/FormRender/RemoteSelect/configs/org/liyu_organization-query_member_by_group_list.ts": be,
487
- "/src/components/FormRender/RemoteSelect/configs/org/liyu_organization-query_my_rel_org_list.ts": Se,
488
- "/src/components/FormRender/RemoteSelect/configs/org/liyu_organization-query_org_for_login_list.ts": we,
489
- "/src/components/FormRender/RemoteSelect/configs/org/liyu_organization-shift_name.ts": Ee,
490
- "/src/components/FormRender/RemoteSelect/configs/org/liyu_organization-shift_time.ts": Oe,
491
- "/src/components/FormRender/RemoteSelect/configs/org/org-query_work_org_by_zhagun_list.ts": Ae,
492
- "/src/components/FormRender/RemoteSelect/configs/org/org-query_work_org_by_zhaxian_list.ts": Me,
493
- "/src/components/FormRender/RemoteSelect/configs/permission/liyu_permission-role.ts": Pe,
494
- "/src/components/FormRender/RemoteSelect/configs/permission/permission-query_menu_list.ts": Le,
495
- "/src/components/FormRender/RemoteSelect/configs/permission/permission-query_role_list.ts": ze,
496
- "/src/components/FormRender/RemoteSelect/configs/sys/liyu_organization-person.ts": Ge,
497
- "/src/components/FormRender/RemoteSelect/configs/sys/select-org-id.ts": qe,
498
- "/src/components/FormRender/RemoteSelect/configs/sys/sys-get_plan_excel_import_setting_by_flag.ts": Ye,
499
- "/src/components/FormRender/RemoteSelect/configs/sys/sys-org_by_flag.ts": Ze,
500
- "/src/components/FormRender/RemoteSelect/configs/sys/sys-query_group_by_org_list.ts": et,
501
- "/src/components/FormRender/RemoteSelect/configs/sys/sys-query_no_work_select_data.ts": nt,
502
- "/src/components/FormRender/RemoteSelect/configs/sys/sys-query_org_for_login_list.ts": it,
503
- "/src/components/FormRender/RemoteSelect/configs/sys/sys-query_person_list.ts": at,
504
- "/src/components/FormRender/RemoteSelect/configs/sys/sys-query_problem_list.ts": st,
505
- "/src/components/FormRender/RemoteSelect/configs/sys/sys-query_role_list.ts": lt
506
- }), t = r("remoteSelect");
474
+ "/src/components/FormRender/RemoteSelect/configs/liyu_organization/liyu_organization-shift.ts": F,
475
+ "/src/components/FormRender/RemoteSelect/configs/oa_integration/oa_integration-approval_group.ts": H,
476
+ "/src/components/FormRender/RemoteSelect/configs/oa_integration/oa_integration-ding_approval.ts": W,
477
+ "/src/components/FormRender/RemoteSelect/configs/oa_integration/oa_integration-ding_form_component.ts": K,
478
+ "/src/components/FormRender/RemoteSelect/configs/oa_integration/oa_integration-ding_form_component_org.ts": se,
479
+ "/src/components/FormRender/RemoteSelect/configs/oa_integration/oa_integration-remote_select_info.ts": le,
480
+ "/src/components/FormRender/RemoteSelect/configs/org/liyu_organization-arrange_shift.ts": de,
481
+ "/src/components/FormRender/RemoteSelect/configs/org/liyu_organization-arrange_shift1.ts": pe,
482
+ "/src/components/FormRender/RemoteSelect/configs/org/liyu_organization-attendgroup.ts": he,
483
+ "/src/components/FormRender/RemoteSelect/configs/org/liyu_organization-query_attendgroup_shift_list.ts": _e,
484
+ "/src/components/FormRender/RemoteSelect/configs/org/liyu_organization-query_group_by_org_list.ts": ye,
485
+ "/src/components/FormRender/RemoteSelect/configs/org/liyu_organization-query_member_by_group_list.ts": xe,
486
+ "/src/components/FormRender/RemoteSelect/configs/org/liyu_organization-query_my_rel_org_list.ts": Ce,
487
+ "/src/components/FormRender/RemoteSelect/configs/org/liyu_organization-query_org_for_login_list.ts": Te,
488
+ "/src/components/FormRender/RemoteSelect/configs/org/liyu_organization-shift_name.ts": De,
489
+ "/src/components/FormRender/RemoteSelect/configs/org/liyu_organization-shift_time.ts": ke,
490
+ "/src/components/FormRender/RemoteSelect/configs/org/org-query_work_org_by_zhagun_list.ts": je,
491
+ "/src/components/FormRender/RemoteSelect/configs/org/org-query_work_org_by_zhaxian_list.ts": Ne,
492
+ "/src/components/FormRender/RemoteSelect/configs/permission/liyu_permission-role.ts": Fe,
493
+ "/src/components/FormRender/RemoteSelect/configs/permission/permission-query_menu_list.ts": Re,
494
+ "/src/components/FormRender/RemoteSelect/configs/permission/permission-query_role_list.ts": Be,
495
+ "/src/components/FormRender/RemoteSelect/configs/sys/liyu_organization-person.ts": Ke,
496
+ "/src/components/FormRender/RemoteSelect/configs/sys/select-org-id.ts": Je,
497
+ "/src/components/FormRender/RemoteSelect/configs/sys/sys-get_plan_excel_import_setting_by_flag.ts": Xe,
498
+ "/src/components/FormRender/RemoteSelect/configs/sys/sys-org_by_flag.ts": Qe,
499
+ "/src/components/FormRender/RemoteSelect/configs/sys/sys-query_group_by_org_list.ts": tt,
500
+ "/src/components/FormRender/RemoteSelect/configs/sys/sys-query_no_work_select_data.ts": rt,
501
+ "/src/components/FormRender/RemoteSelect/configs/sys/sys-query_org_for_login_list.ts": at,
502
+ "/src/components/FormRender/RemoteSelect/configs/sys/sys-query_person_list.ts": ot,
503
+ "/src/components/FormRender/RemoteSelect/configs/sys/sys-query_problem_list.ts": ct,
504
+ "/src/components/FormRender/RemoteSelect/configs/sys/sys-query_role_list.ts": ut
505
+ }), t = n("remoteSelect");
507
506
  Object.assign(e, t), Object.keys(e).forEach((t) => {
508
507
  let n = t.split("/"), r = n[n.length - 1].replace(".ts", "");
509
- Z[r] = e[t].default;
508
+ X[r] = e[t].default;
510
509
  });
511
- }, Q = (e) => (dt(), Z[e] == null ? (console.error("remoteselect没有组件:" + e), {
510
+ }, Z = (e) => (ft(), X[e] == null ? (console.error("remoteselect没有组件:" + e), {
512
511
  getData: void 0,
513
512
  searchConfig: void 0
514
- }) : { ...Z[e](`remoteselect_${e}`) }), ft = f({
513
+ }) : { ...X[e](`remoteselect_${e}`) }), pt = f({
514
+ name: "BoldMatcher",
515
+ props: {
516
+ text: {
517
+ type: String,
518
+ required: !0
519
+ },
520
+ pattern: {
521
+ type: String,
522
+ required: !0
523
+ },
524
+ color: {
525
+ type: String,
526
+ default: () => ""
527
+ }
528
+ },
529
+ setup(e) {
530
+ return { boldenText: s(() => {
531
+ let t = RegExp(`(${e.pattern})`, "g");
532
+ return e.text ? e.text?.replace(t, `<span style='font-weight: 700; color: ${e.color}'>$&</span>`) : "";
533
+ }) };
534
+ }
535
+ }), mt = ["innerHTML"];
536
+ function ht(e, t, n, r, i, a) {
537
+ return m(), l("div", null, [u("div", { innerHTML: e.boldenText }, null, 8, mt)]);
538
+ }
539
+ var Q = /*#__PURE__*/ a(pt, [["render", ht]]), gt = f({
515
540
  name: "RemoteSelect",
516
541
  props: {
517
542
  field: {
@@ -553,12 +578,12 @@ var et = /* @__PURE__ */ e({ default: () => tt }), tt = () => {
553
578
  let n = h({
554
579
  selectedRows: [],
555
580
  datasource: []
556
- }), r = ee(""), i = [], { searchConfig: a, getData: o } = Q(e.field.modalType), s = h({
581
+ }), r = ee(""), i = [], { searchConfig: a, getData: o } = Z(e.field.modalType), c = h({
557
582
  ...a.model,
558
583
  ...e.init_model
559
584
  });
560
- a.model.pageSize ?? (s.pageSize = 2e3);
561
- let l = {}, u = !1, d = [], f = () => e.valueKey ? e.valueKey : "id", m = () => e.labelKey ? e.labelKey : "name", g = c(() => n.datasource.map((t) => {
585
+ a.model.pageSize ?? (c.pageSize = 2e3);
586
+ let l = {}, u = !1, d = [], f = () => e.valueKey ? e.valueKey : "id", m = () => e.labelKey ? e.labelKey : "name", g = s(() => n.datasource.map((t) => {
562
587
  if (e.labelKeyList && !d.some((e) => t.id === e.id)) {
563
588
  let n = [];
564
589
  for (let r of e.labelKeyList) n.push(t[r]);
@@ -589,10 +614,10 @@ var et = /* @__PURE__ */ e({ default: () => tt }), tt = () => {
589
614
  }), p(() => {
590
615
  let t = !1;
591
616
  if (a.watch) for (let t of a.watch) e.formModel && (l[t] = e.formModel[t]);
592
- if (a.watch && e.formModel) for (let t of a.watch) s[t] = e.formModel[t], v(() => e.formModel[t], () => {
617
+ if (a.watch && e.formModel) for (let t of a.watch) c[t] = e.formModel[t], v(() => e.formModel[t], () => {
593
618
  let t = !1;
594
- if (a.watch && e.formModel) for (let n of a.watch) l[n] != e.formModel[n] && e.formModel[n] && (t = !0, s[n] = e.formModel[n]);
595
- t && y() && o({ ...s }).then(function(e) {
619
+ if (a.watch && e.formModel) for (let n of a.watch) l[n] != e.formModel[n] && e.formModel[n] && (t = !0, c[n] = e.formModel[n]);
620
+ t && y() && o({ ...c }).then(function(e) {
596
621
  u = e.total > a.model.pageSize, n.datasource = e.data, i = e.data, _(e.data);
597
622
  });
598
623
  }, { immediate: !0 });
@@ -601,10 +626,10 @@ var et = /* @__PURE__ */ e({ default: () => tt }), tt = () => {
601
626
  t = !1;
602
627
  break;
603
628
  }
604
- else y() && o({ ...s }).then(function(e) {
629
+ else y() && o({ ...c }).then(function(e) {
605
630
  u = e.total > a.model.pageSize, n.datasource = e.data, i = e.data, _(e.data);
606
631
  });
607
- t && y() && o({ ...s }).then(function(e) {
632
+ t && y() && o({ ...c }).then(function(e) {
608
633
  u = e.total > a.model.pageSize, n.datasource = e.data, i = e.data, _(e.data);
609
634
  });
610
635
  }), e.field.mode === "default" ? (e.value || e.value === 0) && (isNaN(Number(e.value)) ? n.selectedRows.push(e.value) : n.selectedRows.push(Number(e.value))) : typeof e.value == "string" ? e.value.split(",").map((e) => {
@@ -616,7 +641,7 @@ var et = /* @__PURE__ */ e({ default: () => tt }), tt = () => {
616
641
  b.loading({
617
642
  content: "刷新数据……",
618
643
  key: e.field.modalType
619
- }), o({ ...s }, !0).then(function(t) {
644
+ }), o({ ...c }, !0).then(function(t) {
620
645
  n.datasource = t.data, _(t.data), b.success({
621
646
  content: "刷新数据成功",
622
647
  key: e.field.modalType,
@@ -635,7 +660,7 @@ var et = /* @__PURE__ */ e({ default: () => tt }), tt = () => {
635
660
  name: e.label
636
661
  })), t("update:label", g.value.filter((e) => n.selectedRows.includes(e.value)).map((e) => e.label));
637
662
  }, C = te(() => {
638
- o({ ...s }, !0).then(function(e) {
663
+ o({ ...c }, !0).then(function(e) {
639
664
  let t = e.data.filter((e) => !d.some((t) => e.id === t.id));
640
665
  n.datasource = d.concat(t), _(d.concat(t));
641
666
  }).catch(() => {
@@ -645,21 +670,21 @@ var et = /* @__PURE__ */ e({ default: () => tt }), tt = () => {
645
670
  return {
646
671
  props: e,
647
672
  modalRef: n,
648
- search_modelRef: s,
673
+ search_modelRef: c,
649
674
  searchConfig: a,
650
675
  datasource: g,
651
676
  searchText: r,
652
677
  handleChange: S,
653
678
  handleSearch: (t) => {
654
- if (r.value = t, u) if (t) s.pageSize = 50, s.conditions = [], e?.labelKeyList && e?.labelKeyList?.length > 0 ? e.labelKeyList.forEach((e, n) => {
655
- s.conditions[n] = [{
679
+ if (r.value = t, u) if (t) c.pageSize = 50, c.conditions = [], e?.labelKeyList && e?.labelKeyList?.length > 0 ? e.labelKeyList.forEach((e, n) => {
680
+ c.conditions[n] = [{
656
681
  field_name: e,
657
682
  operator: "icontains",
658
683
  format: "input",
659
684
  value: [t],
660
685
  class_name: "str"
661
686
  }];
662
- }) : s.conditions = [[{
687
+ }) : c.conditions = [[{
663
688
  field_name: m(),
664
689
  operator: "icontains",
665
690
  format: "input",
@@ -689,11 +714,11 @@ var et = /* @__PURE__ */ e({ default: () => tt }), tt = () => {
689
714
  data() {
690
715
  return { model: this.value };
691
716
  },
692
- components: { BoldMatcher: a }
693
- }), pt = /* @__PURE__ */ e({ default: () => $ });
694
- function mt(e, t, n, r, i, a) {
695
- let o = _("bold-matcher"), c = _("a-select-option"), f = _("a-select"), p = _("a-layout");
696
- return m(), l(p, {
717
+ components: { BoldMatcher: Q }
718
+ }), _t = /* @__PURE__ */ e({ default: () => $ });
719
+ function vt(e, t, n, r, i, a) {
720
+ let s = _("bold-matcher"), u = _("a-select-option"), f = _("a-select"), p = _("a-layout");
721
+ return m(), c(p, {
697
722
  style: { "min-width": "190px" },
698
723
  width: "100%"
699
724
  }, {
@@ -717,11 +742,11 @@ function mt(e, t, n, r, i, a) {
717
742
  onSearch: e.handleSearch,
718
743
  onBlur: e.handleBlur
719
744
  }, {
720
- default: y(() => [(m(!0), u(s, null, g(e.datasource, (t) => (m(), l(c, {
745
+ default: y(() => [(m(!0), l(o, null, g(e.datasource, (t) => (m(), c(u, {
721
746
  key: t.value,
722
747
  value: t.value
723
748
  }, {
724
- default: y(() => [d(o, {
749
+ default: y(() => [d(s, {
725
750
  text: t.label,
726
751
  pattern: e.searchText,
727
752
  color: e.field.searchColor
@@ -750,6 +775,6 @@ function mt(e, t, n, r, i, a) {
750
775
  _: 1
751
776
  });
752
777
  }
753
- var $ = /*#__PURE__*/ o(ft, [["render", mt]]);
778
+ var $ = /*#__PURE__*/ a(gt, [["render", vt]]);
754
779
  //#endregion
755
- export { pt as n, Q as r, $ as t };
780
+ export { Z as i, _t as n, Q as r, $ as t };