@bsgoal/common 0.1.0 → 1.0.3

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/index.mjs +430 -420
  2. package/dist/index.mjs.map +1 -1
  3. package/dist/index.umd.js +1 -1
  4. package/dist/index.umd.js.map +1 -1
  5. package/dist/style.css +1 -1
  6. package/package.json +5 -3
  7. package/src/App.vue +9 -0
  8. package/src/combines/useComs.js +32 -0
  9. package/src/combines/useFetchs.js +48 -0
  10. package/src/components/bsgoal-base-dialog/demo.vue +50 -0
  11. package/src/components/bsgoal-base-dialog/index.vue +133 -0
  12. package/src/components/bsgoal-base-form/demo.vue +187 -0
  13. package/src/components/bsgoal-base-form/index.vue +499 -0
  14. package/src/components/bsgoal-base-frame/demo.vue +35 -0
  15. package/src/components/bsgoal-base-frame/index.vue +29 -0
  16. package/src/components/bsgoal-base-line/demo.vue +42 -0
  17. package/src/components/bsgoal-base-line/index.vue +54 -0
  18. package/src/components/bsgoal-base-search/demo.vue +197 -0
  19. package/src/components/bsgoal-base-search/index.vue +486 -0
  20. package/src/components/bsgoal-base-search-operation/index.vue +74 -0
  21. package/src/components/bsgoal-base-search-table/demo-table.vue +52 -0
  22. package/src/components/bsgoal-base-search-table/demo.vue +664 -0
  23. package/src/components/bsgoal-base-search-table/index.vue +159 -0
  24. package/src/components/bsgoal-base-table/demo.vue +270 -0
  25. package/src/components/bsgoal-base-table/index.vue +281 -0
  26. package/src/components/bsgoal-base-table-content/index.vue +42 -0
  27. package/src/components/bsgoal-base-table-pagination/index.vue +107 -0
  28. package/src/components/bsgoal-base-tree/demo.vue +113 -0
  29. package/src/components/bsgoal-base-tree/index.vue +213 -0
  30. package/src/components/bsgoal-base-tree-fold/index.vue +65 -0
  31. package/src/components/layout/layout-home.vue +60 -0
  32. package/src/components/layout/layout-left-menu.vue +48 -0
  33. package/src/components/layout/layout-right-container.vue +36 -0
  34. package/src/components/layout/layout-top-header.vue +40 -0
  35. package/src/directives/directiveBase.js +94 -0
  36. package/src/entry.js +35 -0
  37. package/src/enums/enumType.js +31 -0
  38. package/src/main.js +11 -0
  39. package/src/router/index.js +66 -0
  40. package/src/styles/index.css +14 -0
package/dist/index.mjs CHANGED
@@ -1,15 +1,15 @@
1
- var ye = Object.defineProperty;
1
+ var xe = Object.defineProperty;
2
2
  var Te = Object.getOwnPropertySymbols;
3
- var xe = Object.prototype.hasOwnProperty, Be = Object.prototype.propertyIsEnumerable;
4
- var Ve = (a, c, o) => c in a ? ye(a, c, { enumerable: !0, configurable: !0, writable: !0, value: o }) : a[c] = o, Ae = (a, c) => {
5
- for (var o in c || (c = {}))
6
- xe.call(c, o) && Ve(a, o, c[o]);
3
+ var ye = Object.prototype.hasOwnProperty, Be = Object.prototype.propertyIsEnumerable;
4
+ var Ve = (n, c, u) => c in n ? xe(n, c, { enumerable: !0, configurable: !0, writable: !0, value: u }) : n[c] = u, Ae = (n, c) => {
5
+ for (var u in c || (c = {}))
6
+ ye.call(c, u) && Ve(n, u, c[u]);
7
7
  if (Te)
8
- for (var o of Te(c))
9
- Be.call(c, o) && Ve(a, o, c[o]);
10
- return a;
8
+ for (var u of Te(c))
9
+ Be.call(c, u) && Ve(n, u, c[u]);
10
+ return n;
11
11
  };
12
- import { ref as B, watchEffect as he, unref as s, computed as oe, resolveComponent as g, openBlock as u, createElementBlock as V, createElementVNode as F, withDirectives as G, createBlock as p, withCtx as A, createVNode as D, Fragment as I, renderList as W, createCommentVNode as $, createTextVNode as K, toDisplayString as j, nextTick as Ce, inject as $e, watch as ue, resolveDirective as De, renderSlot as ie, normalizeClass as ge, vShow as Q, provide as ke, useSlots as Oe, createSlots as Ne } from "vue";
12
+ import { ref as B, watchEffect as he, unref as s, computed as oe, resolveComponent as g, openBlock as o, createElementBlock as V, createElementVNode as F, withDirectives as G, createBlock as p, withCtx as A, createVNode as D, Fragment as I, renderList as W, createCommentVNode as $, createTextVNode as K, toDisplayString as j, nextTick as Ce, inject as $e, watch as ue, resolveDirective as De, renderSlot as ie, normalizeClass as ge, vShow as Q, provide as ke, useSlots as Oe, createSlots as Ne } from "vue";
13
13
  import { ElMessage as Fe } from "element-plus";
14
14
  const e = {
15
15
  INPUT: "text",
@@ -33,53 +33,53 @@ const e = {
33
33
  OPERATION: "operation"
34
34
  };
35
35
  let fe = null;
36
- const ve = (a) => {
37
- const c = [], o = [], d = (n = []) => {
38
- const r = n.map((b) => b.width), E = Math.max(...r);
39
- n.forEach((b) => {
40
- const { labelEl: y } = b;
41
- y.style.width = `${E}px`;
36
+ const ve = (n) => {
37
+ const c = [], u = [], d = (l = []) => {
38
+ const r = l.map((b) => b.width), E = Math.max(...r);
39
+ l.forEach((b) => {
40
+ const { labelEl: x } = b;
41
+ x.style.width = `${E}px`;
42
42
  });
43
- }, _ = () => {
44
- if (a) {
45
- const n = a.querySelectorAll(".el-form-item__label");
46
- if (n && n.length) {
43
+ }, f = () => {
44
+ if (n) {
45
+ const l = n.querySelectorAll(".el-form-item__label");
46
+ if (l && l.length) {
47
47
  let r = 0;
48
- n.forEach((E, b) => {
48
+ l.forEach((E, b) => {
49
49
  E.style.width = "initial", E.style.whiteSpace = "nowrap";
50
- const { x: y = 0, width: x = 0 } = E.getBoundingClientRect(), N = { x: y, width: x, labelEl: E };
51
- b === 0 && (r = y), y === r ? c.push(N) : o.push(N);
50
+ const { x = 0, width: y = 0 } = E.getBoundingClientRect(), N = { x, width: y, labelEl: E };
51
+ b === 0 && (r = x), x === r ? c.push(N) : u.push(N);
52
52
  });
53
53
  }
54
54
  }
55
55
  };
56
56
  fe && clearTimeout(fe), fe = setTimeout(() => {
57
- _(), d(c), d(o);
57
+ f(), d(c), d(u);
58
58
  }, 50);
59
59
  }, Ee = {
60
60
  /**
61
61
  * 表单自动左对齐
62
62
  */
63
63
  align: {
64
- created(a) {
64
+ created(n) {
65
65
  window.addEventListener("resize", () => {
66
- ve(a);
66
+ ve(n);
67
67
  });
68
68
  },
69
- mounted(a) {
70
- ve(a);
69
+ mounted(n) {
70
+ ve(n);
71
71
  },
72
- unmounted(a) {
73
- window.removeEventListener("resize", ve(a));
72
+ unmounted(n) {
73
+ window.removeEventListener("resize", ve(n));
74
74
  }
75
75
  },
76
76
  /**
77
77
  * 表格自动高度
78
78
  */
79
- height: (a, { value: c = 65, arg: o = "" }) => {
80
- if (a) {
81
- const { y: d = 0 } = a.getBoundingClientRect();
82
- a.style.height = `calc(100vh - ${d + c}px)`;
79
+ height: (n, { value: c = 65, arg: u = "" }) => {
80
+ if (n) {
81
+ const { y: d = 0 } = n.getBoundingClientRect();
82
+ n.style.height = `calc(100vh - ${d + c}px)`;
83
83
  }
84
84
  }
85
85
  };
@@ -126,21 +126,21 @@ const Me = { class: "bsgoal-base-form" }, Re = { class: "base_form" }, Ue = { ke
126
126
  }
127
127
  },
128
128
  emits: ["on-form", "on-clear", "on-change", "on-fold"],
129
- setup(a, { expose: c, emit: o }) {
130
- const d = a, _ = B(null), n = Ee.align, r = B({});
129
+ setup(n, { expose: c, emit: u }) {
130
+ const d = n, f = B(null), l = Ee.align, r = B({});
131
131
  he(() => {
132
- const { configOptions: h, values: v } = d, T = s(h), m = s(v);
132
+ const { configOptions: h, values: v } = d, T = s(h), _ = s(v);
133
133
  T.forEach((C) => {
134
134
  const { value: k = "", prop: O = "", type: M = "" } = C;
135
- [e.INPUT, e.INPUT_TEXT_AREA].includes(M), r.value[O] = m[O] || k;
135
+ [e.INPUT, e.INPUT_TEXT_AREA].includes(M), r.value[O] = _[O] || k;
136
136
  });
137
137
  });
138
138
  const E = oe(() => {
139
139
  const { configOptions: h } = d;
140
- return s(h).map((m) => {
141
- let { rules: C = !1, label: k = "" } = m;
140
+ return s(h).map((_) => {
141
+ let { rules: C = !1, label: k = "" } = _;
142
142
  const O = { required: !0, message: `${k}不能为空`, trigger: "blur" };
143
- return C && (typeof C == "boolean" ? C = [O] : Array.isArray(C) ? C = [O, ...C] : C = [O, C]), m.rules = C, m;
143
+ return C && (typeof C == "boolean" ? C = [O] : Array.isArray(C) ? C = [O, ...C] : C = [O, C]), _.rules = C, _;
144
144
  });
145
145
  }), b = (h = "", v = "", T = "") => {
146
146
  if (!T)
@@ -165,7 +165,7 @@ const Me = { class: "bsgoal-base-form" }, Re = { class: "base_form" }, Ue = { ke
165
165
  return ["开始月份", "结束月份"];
166
166
  }
167
167
  return T;
168
- }, y = (h = "", v = "") => {
168
+ }, x = (h = "", v = "") => {
169
169
  if (!v)
170
170
  switch (h) {
171
171
  case e.WEEK:
@@ -187,39 +187,39 @@ const Me = { class: "bsgoal-base-form" }, Re = { class: "base_form" }, Ue = { ke
187
187
  return "YYYY-MM-DD HH:mm:ss";
188
188
  }
189
189
  return v;
190
- }, x = () => {
190
+ }, y = () => {
191
191
  const h = s(r), { configOptions: v } = d, T = s(v);
192
- for (const m of T) {
193
- const { type: C = "", range: k = [], prop: O = "" } = m;
192
+ for (const _ of T) {
193
+ const { type: C = "", range: k = [], prop: O = "" } = _;
194
194
  if (C.endsWith("range") && k && k.length === 2) {
195
195
  const { 0: M = "", 1: P = "" } = h[O], { 0: U = "", 1: S = "" } = k;
196
196
  h[U] = M, h[S] = P;
197
197
  }
198
198
  }
199
- return o("on-form", h), h;
199
+ return u("on-form", h), h;
200
200
  }, N = () => {
201
- _.value.resetFields(), o("on-clear", r.value);
201
+ f.value.resetFields(), u("on-clear", r.value);
202
202
  }, w = (h, v) => {
203
203
  const T = {
204
204
  type: h,
205
205
  prop: v,
206
206
  value: r.value[v] || ""
207
207
  };
208
- o("on-change", T);
208
+ u("on-change", T);
209
209
  };
210
210
  return c({
211
211
  triggerOperationClear: N,
212
- triggerOperationForm: x,
212
+ triggerOperationForm: y,
213
213
  validateForm: (h = () => {
214
214
  }) => {
215
- _.value.validate((v = !1, T = {}) => {
215
+ f.value.validate((v = !1, T = {}) => {
216
216
  if (v) {
217
- const m = x();
218
- h(m);
217
+ const _ = y();
218
+ h(_);
219
219
  } else {
220
220
  h(!1), console.log("field", T);
221
- const m = Object.keys(T)[0], {
222
- [m]: {
221
+ const _ = Object.keys(T)[0], {
222
+ [_]: {
223
223
  0: { message: C = "" }
224
224
  }
225
225
  } = T;
@@ -228,22 +228,22 @@ const Me = { class: "bsgoal-base-form" }, Re = { class: "base_form" }, Ue = { ke
228
228
  });
229
229
  }
230
230
  }), (h, v) => {
231
- const T = g("el-input"), m = g("el-input-number"), C = g("el-radio"), k = g("el-radio-group"), O = g("el-option"), M = g("el-select"), P = g("el-slider"), U = g("el-switch"), S = g("el-date-picker"), X = g("el-time-picker"), Z = g("el-checkbox"), le = g("el-checkbox-group"), ee = g("el-form-item"), de = g("el-col"), _e = g("el-row"), me = g("el-form");
232
- return u(), V("div", Me, [
231
+ const T = g("el-input"), _ = g("el-input-number"), C = g("el-radio"), k = g("el-radio-group"), O = g("el-option"), M = g("el-select"), P = g("el-slider"), U = g("el-switch"), S = g("el-date-picker"), X = g("el-time-picker"), Z = g("el-checkbox"), le = g("el-checkbox-group"), ee = g("el-form-item"), de = g("el-col"), _e = g("el-row"), me = g("el-form");
232
+ return o(), V("div", Me, [
233
233
  F("div", Re, [
234
- G((u(), p(me, {
234
+ G((o(), p(me, {
235
235
  ref_key: "EL_FORM_REF",
236
- ref: _,
236
+ ref: f,
237
237
  "label-suffix": ":",
238
238
  model: r.value
239
239
  }, {
240
240
  default: A(() => [
241
241
  D(_e, null, {
242
242
  default: A(() => [
243
- (u(!0), V(I, null, W(s(E), ({
243
+ (o(!0), V(I, null, W(s(E), ({
244
244
  label: L = "",
245
- prop: f = "",
246
- type: l = "text",
245
+ prop: m = "",
246
+ type: a = "text",
247
247
  placeholder: i = "",
248
248
  readonly: z = !1,
249
249
  clearable: se = !0,
@@ -253,39 +253,39 @@ const Me = { class: "bsgoal-base-form" }, Re = { class: "base_form" }, Ue = { ke
253
253
  range: q = [],
254
254
  format: Y = "",
255
255
  rules: J = []
256
- } = {}, te) => (u(), p(de, {
256
+ } = {}, te) => (o(), p(de, {
257
257
  key: te,
258
258
  xs: 24,
259
259
  sm: 24,
260
- md: a.medium
260
+ md: n.medium
261
261
  }, {
262
262
  default: A(() => [
263
263
  D(ee, {
264
264
  label: L,
265
- prop: f,
265
+ prop: m,
266
266
  rules: J
267
267
  }, {
268
268
  default: A(() => [
269
- z ? (u(), V("div", Ue, j(r.value[f]), 1)) : (u(), V(I, { key: 0 }, [
270
- l === s(e).INPUT ? (u(), p(T, {
269
+ z ? (o(), V("div", Ue, j(r.value[m]), 1)) : (o(), V(I, { key: 0 }, [
270
+ a === s(e).INPUT ? (o(), p(T, {
271
271
  key: 0,
272
- modelValue: r.value[f],
273
- "onUpdate:modelValue": (t) => r.value[f] = t,
274
- placeholder: b(l, L, i),
272
+ modelValue: r.value[m],
273
+ "onUpdate:modelValue": (t) => r.value[m] = t,
274
+ placeholder: b(a, L, i),
275
275
  clearable: se,
276
- onChange: (t) => w(l, f)
276
+ onChange: (t) => w(a, m)
277
277
  }, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder", "clearable", "onChange"])) : $("", !0),
278
- l === s(e).INPUT_TEXT_AREA ? (u(), p(T, {
278
+ a === s(e).INPUT_TEXT_AREA ? (o(), p(T, {
279
279
  key: 1,
280
- modelValue: r.value[f],
281
- "onUpdate:modelValue": (t) => r.value[f] = t,
280
+ modelValue: r.value[m],
281
+ "onUpdate:modelValue": (t) => r.value[m] = t,
282
282
  type: "textarea",
283
283
  rows: re,
284
284
  clearable: se,
285
- placeholder: b(l, L, i),
286
- onChange: (t) => w(l, f)
285
+ placeholder: b(a, L, i),
286
+ onChange: (t) => w(a, m)
287
287
  }, null, 8, ["modelValue", "onUpdate:modelValue", "rows", "clearable", "placeholder", "onChange"])) : $("", !0),
288
- l === s(e).INPUT_NUMBER ? (u(), p(m, {
288
+ a === s(e).INPUT_NUMBER ? (o(), p(_, {
289
289
  key: 2,
290
290
  modelValue: h.num,
291
291
  "onUpdate:modelValue": v[0] || (v[0] = (t) => h.num = t),
@@ -293,14 +293,14 @@ const Me = { class: "bsgoal-base-form" }, Re = { class: "base_form" }, Ue = { ke
293
293
  max: ne,
294
294
  onChange: w
295
295
  }, null, 8, ["modelValue", "min", "max"])) : $("", !0),
296
- l === s(e).RADIO ? (u(), p(k, {
296
+ a === s(e).RADIO ? (o(), p(k, {
297
297
  key: 3,
298
- modelValue: r.value[f],
299
- "onUpdate:modelValue": (t) => r.value[f] = t,
300
- onChange: (t) => w(l, f)
298
+ modelValue: r.value[m],
299
+ "onUpdate:modelValue": (t) => r.value[m] = t,
300
+ onChange: (t) => w(a, m)
301
301
  }, {
302
302
  default: A(() => [
303
- (u(!0), V(I, null, W(q, (t, H) => (u(), p(C, {
303
+ (o(!0), V(I, null, W(q, (t, H) => (o(), p(C, {
304
304
  key: H,
305
305
  label: t.value
306
306
  }, {
@@ -312,15 +312,15 @@ const Me = { class: "bsgoal-base-form" }, Re = { class: "base_form" }, Ue = { ke
312
312
  ]),
313
313
  _: 2
314
314
  }, 1032, ["modelValue", "onUpdate:modelValue", "onChange"])) : $("", !0),
315
- l === s(e).SELECT ? (u(), p(M, {
315
+ a === s(e).SELECT ? (o(), p(M, {
316
316
  key: 4,
317
- modelValue: r.value[f],
318
- "onUpdate:modelValue": (t) => r.value[f] = t,
319
- placeholder: b(l, L, i),
320
- onChange: (t) => w(l, f)
317
+ modelValue: r.value[m],
318
+ "onUpdate:modelValue": (t) => r.value[m] = t,
319
+ placeholder: b(a, L, i),
320
+ onChange: (t) => w(a, m)
321
321
  }, {
322
322
  default: A(() => [
323
- (u(!0), V(I, null, W(q, (t, H) => (u(), p(O, {
323
+ (o(!0), V(I, null, W(q, (t, H) => (o(), p(O, {
324
324
  key: H,
325
325
  label: t.label,
326
326
  value: t.value
@@ -328,75 +328,75 @@ const Me = { class: "bsgoal-base-form" }, Re = { class: "base_form" }, Ue = { ke
328
328
  ]),
329
329
  _: 2
330
330
  }, 1032, ["modelValue", "onUpdate:modelValue", "placeholder", "onChange"])) : $("", !0),
331
- l === s(e).SLIDER ? (u(), p(P, {
331
+ a === s(e).SLIDER ? (o(), p(P, {
332
332
  key: 5,
333
- modelValue: r.value[f],
334
- "onUpdate:modelValue": (t) => r.value[f] = t,
333
+ modelValue: r.value[m],
334
+ "onUpdate:modelValue": (t) => r.value[m] = t,
335
335
  min: ce,
336
336
  max: ne,
337
- onChange: (t) => w(l, f)
337
+ onChange: (t) => w(a, m)
338
338
  }, null, 8, ["modelValue", "onUpdate:modelValue", "min", "max", "onChange"])) : $("", !0),
339
- l === s(e).SWITCH ? (u(), p(U, {
339
+ a === s(e).SWITCH ? (o(), p(U, {
340
340
  key: 6,
341
- modelValue: r.value[f],
342
- "onUpdate:modelValue": (t) => r.value[f] = t,
341
+ modelValue: r.value[m],
342
+ "onUpdate:modelValue": (t) => r.value[m] = t,
343
343
  "active-value": q[0] || !0,
344
344
  "inactive-value": q[1] || !1,
345
- onChange: (t) => w(l, f)
345
+ onChange: (t) => w(a, m)
346
346
  }, null, 8, ["modelValue", "onUpdate:modelValue", "active-value", "inactive-value", "onChange"])) : $("", !0),
347
347
  [s(e).DATE, s(e).MONTH, s(e).YEAR, s(e).DATE_TIME].includes(
348
- l
349
- ) ? (u(), p(S, {
348
+ a
349
+ ) ? (o(), p(S, {
350
350
  key: 7,
351
- modelValue: r.value[f],
352
- "onUpdate:modelValue": (t) => r.value[f] = t,
353
- format: y(l, Y),
354
- "value-format": y(l, Y),
355
- type: l,
356
- placeholder: b(l, L, i),
357
- onChange: (t) => w(l, f)
351
+ modelValue: r.value[m],
352
+ "onUpdate:modelValue": (t) => r.value[m] = t,
353
+ format: x(a, Y),
354
+ "value-format": x(a, Y),
355
+ type: a,
356
+ placeholder: b(a, L, i),
357
+ onChange: (t) => w(a, m)
358
358
  }, null, 8, ["modelValue", "onUpdate:modelValue", "format", "value-format", "type", "placeholder", "onChange"])) : $("", !0),
359
359
  [
360
360
  s(e).DATE_RANGE,
361
361
  s(e).MONTH_RANGE,
362
362
  s(e).DATE_TIME_RANGE
363
- ].includes(l) ? (u(), p(S, {
363
+ ].includes(a) ? (o(), p(S, {
364
364
  key: 8,
365
- modelValue: r.value[f],
366
- "onUpdate:modelValue": (t) => r.value[f] = t,
367
- type: l,
368
- "value-format": y(l, Y),
369
- "start-placeholder": b(l, L, i)[0],
370
- "end-placeholder": b(l, L, i)[1],
371
- onChange: (t) => w(l, f)
365
+ modelValue: r.value[m],
366
+ "onUpdate:modelValue": (t) => r.value[m] = t,
367
+ type: a,
368
+ "value-format": x(a, Y),
369
+ "start-placeholder": b(a, L, i)[0],
370
+ "end-placeholder": b(a, L, i)[1],
371
+ onChange: (t) => w(a, m)
372
372
  }, null, 8, ["modelValue", "onUpdate:modelValue", "type", "value-format", "start-placeholder", "end-placeholder", "onChange"])) : $("", !0),
373
- [s(e).TIME].includes(l) ? (u(), p(X, {
373
+ [s(e).TIME].includes(a) ? (o(), p(X, {
374
374
  key: 9,
375
- modelValue: r.value[f],
376
- "onUpdate:modelValue": (t) => r.value[f] = t,
375
+ modelValue: r.value[m],
376
+ "onUpdate:modelValue": (t) => r.value[m] = t,
377
377
  "arrow-control": "",
378
- "value-format": y(l, Y),
379
- placeholder: b(l, L, i),
380
- onChange: (t) => w(l, f)
378
+ "value-format": x(a, Y),
379
+ placeholder: b(a, L, i),
380
+ onChange: (t) => w(a, m)
381
381
  }, null, 8, ["modelValue", "onUpdate:modelValue", "value-format", "placeholder", "onChange"])) : $("", !0),
382
- [s(e).TIME_RANGE].includes(l) ? (u(), p(X, {
382
+ [s(e).TIME_RANGE].includes(a) ? (o(), p(X, {
383
383
  key: 10,
384
- modelValue: r.value[f],
385
- "onUpdate:modelValue": (t) => r.value[f] = t,
384
+ modelValue: r.value[m],
385
+ "onUpdate:modelValue": (t) => r.value[m] = t,
386
386
  "is-range": "",
387
- "value-format": y(l, Y),
388
- "start-placeholder": b(l, L, i)[0],
389
- "end-placeholder": b(l, L, i)[1],
390
- onChange: (t) => w(l, f)
387
+ "value-format": x(a, Y),
388
+ "start-placeholder": b(a, L, i)[0],
389
+ "end-placeholder": b(a, L, i)[1],
390
+ onChange: (t) => w(a, m)
391
391
  }, null, 8, ["modelValue", "onUpdate:modelValue", "value-format", "start-placeholder", "end-placeholder", "onChange"])) : $("", !0),
392
- [s(e).CHECKBOX].includes(l) ? (u(), p(le, {
392
+ [s(e).CHECKBOX].includes(a) ? (o(), p(le, {
393
393
  key: 11,
394
- modelValue: r.value[f],
395
- "onUpdate:modelValue": (t) => r.value[f] = t,
396
- onChange: (t) => w(l, f)
394
+ modelValue: r.value[m],
395
+ "onUpdate:modelValue": (t) => r.value[m] = t,
396
+ onChange: (t) => w(a, m)
397
397
  }, {
398
398
  default: A(() => [
399
- (u(!0), V(I, null, W(q, (t, H) => (u(), p(Z, {
399
+ (o(!0), V(I, null, W(q, (t, H) => (o(), p(Z, {
400
400
  key: H,
401
401
  label: t.value
402
402
  }, {
@@ -408,7 +408,7 @@ const Me = { class: "bsgoal-base-form" }, Re = { class: "base_form" }, Ue = { ke
408
408
  ]),
409
409
  _: 2
410
410
  }, 1032, ["modelValue", "onUpdate:modelValue", "onChange"])) : $("", !0),
411
- [].includes(l) ? (u(), V(I, { key: 12 }, [], 64)) : $("", !0)
411
+ [].includes(a) ? (o(), V(I, { key: 12 }, [], 64)) : $("", !0)
412
412
  ], 64))
413
413
  ]),
414
414
  _: 2
@@ -422,7 +422,7 @@ const Me = { class: "bsgoal-base-form" }, Re = { class: "base_form" }, Ue = { ke
422
422
  ]),
423
423
  _: 1
424
424
  }, 8, ["model"])), [
425
- [s(n)]
425
+ [s(l)]
426
426
  ])
427
427
  ])
428
428
  ]);
@@ -438,9 +438,9 @@ const Pe = { class: "bsgoal-base-table-content" }, Le = { class: "bas_tabl_conte
438
438
  default: ""
439
439
  }
440
440
  },
441
- setup(a) {
442
- return (c, o) => (u(), V("div", Pe, [
443
- F("div", Le, j(a.data), 1)
441
+ setup(n) {
442
+ return (c, u) => (o(), V("div", Pe, [
443
+ F("div", Le, j(n.data), 1)
444
444
  ]));
445
445
  }
446
446
  });
@@ -606,27 +606,27 @@ const Ge = { class: "bsgoal-base-table-pagination" }, je = { class: "base_table_
606
606
  }
607
607
  },
608
608
  emits: ["on-size-change", "on-current-change"],
609
- setup(a, { emit: c }) {
610
- const o = (n = 0) => {
611
- c("on-size-change", n);
612
- }, d = (n = 1) => {
613
- c("on-current-change", n);
614
- }, _ = B(1);
615
- return (n, r) => {
609
+ setup(n, { emit: c }) {
610
+ const u = (l = 0) => {
611
+ c("on-size-change", l);
612
+ }, d = (l = 1) => {
613
+ c("on-current-change", l);
614
+ }, f = B(1);
615
+ return (l, r) => {
616
616
  const E = g("el-pagination"), b = g("el-config-provider");
617
- return u(), V("div", Ge, [
617
+ return o(), V("div", Ge, [
618
618
  F("div", je, [
619
619
  D(b, { locale: s(He) }, {
620
620
  default: A(() => [
621
621
  D(E, {
622
622
  background: "",
623
623
  layout: "total, sizes, prev, pager, next, jumper",
624
- "current-page": _.value,
625
- "onUpdate:currentPage": r[0] || (r[0] = (y) => _.value = y),
626
- "page-sizes": a.pageSizes,
627
- "page-size": a.pageSize,
628
- total: a.total,
629
- onSizeChange: o,
624
+ "current-page": f.value,
625
+ "onUpdate:currentPage": r[0] || (r[0] = (x) => f.value = x),
626
+ "page-sizes": n.pageSizes,
627
+ "page-size": n.pageSize,
628
+ total: n.total,
629
+ onSizeChange: u,
630
630
  onCurrentChange: d
631
631
  }, {
632
632
  next: A(() => [
@@ -641,30 +641,30 @@ const Ge = { class: "bsgoal-base-table-pagination" }, je = { class: "base_table_
641
641
  ]);
642
642
  };
643
643
  }
644
- }), qe = (a = null, { expression: c = 65, arg: o = {} } = {}) => {
645
- const d = s(a);
644
+ }), qe = (n = null, { expression: c = 75, arg: u = {} } = {}) => {
645
+ const d = s(n);
646
646
  if (d) {
647
- const _ = d.querySelector(".el-table");
648
- _ && Ce(() => {
649
- const { y: n = 0 } = _.getBoundingClientRect();
650
- _.style.height = `calc(100vh - ${n + c}px)`;
647
+ const f = d.querySelector(".el-table");
648
+ f && Ce(() => {
649
+ const { y: l = 0 } = f.getBoundingClientRect();
650
+ f.style.height = `calc(100vh - ${l + c}px)`;
651
651
  });
652
652
  }
653
- }, pe = (a = Promise.resolve(), c = null, o = B(!1), d = B(null)) => {
654
- const _ = B("");
655
- return o.value = !0, a.then((n = {}) => {
656
- const { data: r = {}, message: E = "" } = n;
657
- d.value = r, _.value = E, c && c(!0, r), o.value = !1;
658
- }).catch((n = {}) => {
659
- if (typeof n == "object") {
660
- const { message: r = "" } = n;
661
- _.value = r;
653
+ }, pe = (n = Promise.resolve(), c = null, u = B(!1), d = B(null)) => {
654
+ const f = B("");
655
+ return u.value = !0, n.then((l = {}) => {
656
+ const { data: r = {}, message: E = "" } = l;
657
+ d.value = r, f.value = E, c && c(!0, r), u.value = !1;
658
+ }).catch((l = {}) => {
659
+ if (typeof l == "object") {
660
+ const { message: r = "" } = l;
661
+ f.value = r;
662
662
  } else
663
- _.value = n;
664
- c(!1, n), o.value = !1;
663
+ f.value = l;
664
+ c(!1, l), u.value = !1;
665
665
  }).finally(() => {
666
- o.value = !1;
667
- }), { data: d, message: _, loading: o };
666
+ u.value = !1;
667
+ }), { data: d, message: f, loading: u };
668
668
  };
669
669
  const Je = { class: "bsgoal-base-table" }, Qe = { class: "base_table" }, Ze = {
670
670
  key: 0,
@@ -749,53 +749,60 @@ const Je = { class: "bsgoal-base-table" }, Qe = { class: "base_table" }, Ze = {
749
749
  rows: "rows",
750
750
  total: "total"
751
751
  })
752
+ },
753
+ /**
754
+ * 表格高度 下边距值
755
+ */
756
+ expression: {
757
+ type: [Number],
758
+ default: 75
752
759
  }
753
760
  },
754
- setup(a, { expose: c }) {
755
- const o = a, d = oe(() => {
756
- const { configOptions: m = [], operation: C = !1, operationWidth: k = 0 } = o, O = s(m), M = [];
761
+ setup(n, { expose: c }) {
762
+ const u = n, d = oe(() => {
763
+ const { configOptions: _ = [], operation: C = !1, operationWidth: k = 0 } = u, O = s(_), M = [];
757
764
  return C && M.push({
758
765
  label: "操作",
759
766
  fixed: "right",
760
767
  prop: "operation",
761
768
  width: k
762
769
  }), [...O, ...M];
763
- }), _ = B(null), n = $e("transferFoldStatus");
770
+ }), f = B(null), l = $e("transferFoldStatus");
764
771
  he(() => {
765
- const m = n ? n.value : !1;
766
- qe(_, { arg: m });
772
+ const _ = l ? l.value : !1, C = s(u.expression);
773
+ qe(f, { arg: _, expression: C });
767
774
  });
768
- const r = B(1), E = B(10), b = B(0), y = B({}), x = B(o.loading), N = B(o.data), w = B({}), R = () => {
769
- const { fetch: m, call: C, mapProps: k } = o, O = y.value, M = r.value, P = E.value, U = Ae({}, O), S = s(k);
770
- U[S.currentPage] = M, U[S.pageSize] = P, pe(m(U), C, x, w);
775
+ const r = B(1), E = B(10), b = B(0), x = B({}), y = B(u.loading), N = B(u.data), w = B({}), R = () => {
776
+ const { fetch: _, call: C, mapProps: k } = u, O = x.value, M = r.value, P = E.value, U = Ae({}, O), S = s(k);
777
+ U[S.currentPage] = M, U[S.pageSize] = P, pe(_(U), C, y, w);
771
778
  };
772
- ue(w, (m) => {
773
- const { mapProps: C } = o, k = s(C);
774
- N.value = m[k.rows], b.value = m[k.total];
779
+ ue(w, (_) => {
780
+ const { mapProps: C } = u, k = s(C);
781
+ N.value = _[k.rows], b.value = _[k.total];
775
782
  });
776
- const h = (m = {}) => {
777
- y.value = m, r.value = 1, R();
778
- }, v = (m = 1) => {
779
- r.value = m;
780
- }, T = (m = 10) => {
781
- E.value = m;
783
+ const h = (_ = {}) => {
784
+ x.value = _, r.value = 1, R();
785
+ }, v = (_ = 1) => {
786
+ r.value = _;
787
+ }, T = (_ = 10) => {
788
+ E.value = _;
782
789
  };
783
790
  return ue([r, E], () => {
784
791
  R();
785
792
  }), c({
786
793
  refreshList: h
787
- }), (m, C) => {
794
+ }), (_, C) => {
788
795
  const k = g("el-table-column"), O = g("el-table"), M = De("loading");
789
- return u(), V("div", Je, [
796
+ return o(), V("div", Je, [
790
797
  F("div", Qe, [
791
- m.$slots.menu ? (u(), V("div", Ze, [
792
- ie(m.$slots, "menu")
798
+ _.$slots.menu ? (o(), V("div", Ze, [
799
+ ie(_.$slots, "menu")
793
800
  ])) : $("", !0),
794
801
  F("div", {
795
802
  ref_key: "EL_TABLE_WRAP_REF",
796
- ref: _
803
+ ref: f
797
804
  }, [
798
- G((u(), p(O, {
805
+ G((o(), p(O, {
799
806
  stripe: "",
800
807
  border: "",
801
808
  "highlight-current-row": "",
@@ -810,13 +817,13 @@ const Je = { class: "bsgoal-base-table" }, Qe = { class: "base_table" }, Ze = {
810
817
  }, {
811
818
  empty: A(() => []),
812
819
  default: A(() => [
813
- a.selection ? (u(), p(k, {
820
+ n.selection ? (o(), p(k, {
814
821
  key: 0,
815
822
  fixed: "left",
816
823
  type: "selection",
817
824
  width: "40"
818
825
  })) : $("", !0),
819
- (u(!0), V(I, null, W(s(d), ({ prop: P = "", label: U = "", align: S = "center", width: X = "", fixed: Z = !1 } = {}, le) => (u(), p(k, {
826
+ (o(!0), V(I, null, W(s(d), ({ prop: P = "", label: U = "", align: S = "center", width: X = "", fixed: Z = !1 } = {}, le) => (o(), p(k, {
820
827
  key: le,
821
828
  label: U,
822
829
  align: S,
@@ -825,7 +832,7 @@ const Je = { class: "bsgoal-base-table" }, Qe = { class: "base_table" }, Ze = {
825
832
  "min-width": `${U.length * 14 + 24}px`
826
833
  }, {
827
834
  default: A(({ row: ee }) => [
828
- ie(m.$slots, P, { row: ee }, () => [
835
+ ie(_.$slots, P, { row: ee }, () => [
829
836
  D(Ye, {
830
837
  data: ee[P]
831
838
  }, null, 8, ["data"])
@@ -836,7 +843,7 @@ const Je = { class: "bsgoal-base-table" }, Qe = { class: "base_table" }, Ze = {
836
843
  ]),
837
844
  _: 3
838
845
  }, 8, ["data", "header-cell-style"])), [
839
- [M, x.value]
846
+ [M, y.value]
840
847
  ])
841
848
  ], 512),
842
849
  D(Ke, {
@@ -861,22 +868,22 @@ const tt = {
861
868
  default: !1
862
869
  }
863
870
  },
864
- setup(a) {
865
- return (c, o) => (u(), V("div", {
866
- class: ge(["bsgoal-base-line", { "bsgoal-base-line__vertical": a.vertical }])
871
+ setup(n) {
872
+ return (c, u) => (o(), V("div", {
873
+ class: ge(["bsgoal-base-line", { "bsgoal-base-line__vertical": n.vertical }])
867
874
  }, [
868
875
  F("div", {
869
- class: ge(["base_line", { base_line__vertical: a.vertical }])
876
+ class: ge(["base_line", { base_line__vertical: n.vertical }])
870
877
  }, null, 2)
871
878
  ], 2));
872
879
  }
873
880
  });
874
881
  /*! Element Plus Icons Vue v2.1.0 */
875
- var ae = (a, c) => {
876
- let o = a.__vccOpts || a;
877
- for (let [d, _] of c)
878
- o[d] = _;
879
- return o;
882
+ var ae = (n, c) => {
883
+ let u = n.__vccOpts || n;
884
+ for (let [d, f] of c)
885
+ u[d] = f;
886
+ return u;
880
887
  }, at = {
881
888
  name: "ArrowDown"
882
889
  }, lt = {
@@ -894,8 +901,8 @@ var ae = (a, c) => {
894
901
  ), ot = [
895
902
  nt
896
903
  ];
897
- function ut(a, c, o, d, _, n) {
898
- return u(), V("svg", lt, ot);
904
+ function ut(n, c, u, d, f, l) {
905
+ return o(), V("svg", lt, ot);
899
906
  }
900
907
  var st = /* @__PURE__ */ ae(at, [["render", ut], ["__file", "arrow-down.vue"]]), rt = {
901
908
  name: "ArrowLeft"
@@ -914,8 +921,8 @@ var st = /* @__PURE__ */ ae(at, [["render", ut], ["__file", "arrow-down.vue"]]),
914
921
  ), dt = [
915
922
  it
916
923
  ];
917
- function _t(a, c, o, d, _, n) {
918
- return u(), V("svg", ct, dt);
924
+ function _t(n, c, u, d, f, l) {
925
+ return o(), V("svg", ct, dt);
919
926
  }
920
927
  var mt = /* @__PURE__ */ ae(rt, [["render", _t], ["__file", "arrow-left.vue"]]), ft = {
921
928
  name: "ArrowRight"
@@ -934,8 +941,8 @@ var mt = /* @__PURE__ */ ae(rt, [["render", _t], ["__file", "arrow-left.vue"]]),
934
941
  ), ht = [
935
942
  gt
936
943
  ];
937
- function Et(a, c, o, d, _, n) {
938
- return u(), V("svg", vt, ht);
944
+ function Et(n, c, u, d, f, l) {
945
+ return o(), V("svg", vt, ht);
939
946
  }
940
947
  var pt = /* @__PURE__ */ ae(ft, [["render", Et], ["__file", "arrow-right.vue"]]), bt = {
941
948
  name: "ArrowUp"
@@ -954,15 +961,15 @@ var pt = /* @__PURE__ */ ae(ft, [["render", Et], ["__file", "arrow-right.vue"]])
954
961
  ), At = [
955
962
  Vt
956
963
  ];
957
- function Ct(a, c, o, d, _, n) {
958
- return u(), V("svg", Tt, At);
964
+ function Ct(n, c, u, d, f, l) {
965
+ return o(), V("svg", Tt, At);
959
966
  }
960
967
  var $t = /* @__PURE__ */ ae(bt, [["render", Ct], ["__file", "arrow-up.vue"]]), wt = {
961
968
  name: "Delete"
962
- }, yt = {
969
+ }, xt = {
963
970
  xmlns: "http://www.w3.org/2000/svg",
964
971
  viewBox: "0 0 1024 1024"
965
- }, xt = /* @__PURE__ */ F(
972
+ }, yt = /* @__PURE__ */ F(
966
973
  "path",
967
974
  {
968
975
  fill: "currentColor",
@@ -972,10 +979,10 @@ var $t = /* @__PURE__ */ ae(bt, [["render", Ct], ["__file", "arrow-up.vue"]]), w
972
979
  -1
973
980
  /* HOISTED */
974
981
  ), Bt = [
975
- xt
982
+ yt
976
983
  ];
977
- function Dt(a, c, o, d, _, n) {
978
- return u(), V("svg", yt, Bt);
984
+ function Dt(n, c, u, d, f, l) {
985
+ return o(), V("svg", xt, Bt);
979
986
  }
980
987
  var kt = /* @__PURE__ */ ae(wt, [["render", Dt], ["__file", "delete.vue"]]), Ot = {
981
988
  name: "Search"
@@ -994,18 +1001,13 @@ var kt = /* @__PURE__ */ ae(wt, [["render", Dt], ["__file", "delete.vue"]]), Ot
994
1001
  ), Mt = [
995
1002
  Ft
996
1003
  ];
997
- function Rt(a, c, o, d, _, n) {
998
- return u(), V("svg", Nt, Mt);
1004
+ function Rt(n, c, u, d, f, l) {
1005
+ return o(), V("svg", Nt, Mt);
999
1006
  }
1000
1007
  var Ut = /* @__PURE__ */ ae(Ot, [["render", Rt], ["__file", "search.vue"]]);
1001
- const St = (a, c) => {
1002
- const o = a.__vccOpts || a;
1003
- for (const [d, _] of c)
1004
- o[d] = _;
1005
- return o;
1006
- }, It = { class: "bsgoal-base-search-operation" }, Pt = {
1008
+ const St = { class: "bsgoal-base-search-operation" }, It = {
1007
1009
  name: "BsgoalBaseSearchOperation"
1008
- }, Lt = /* @__PURE__ */ Object.assign(Pt, {
1010
+ }, Pt = /* @__PURE__ */ Object.assign(It, {
1009
1011
  props: {
1010
1012
  /**
1011
1013
  * 是否显示折叠按钮
@@ -1016,17 +1018,17 @@ const St = (a, c) => {
1016
1018
  }
1017
1019
  },
1018
1020
  emits: ["on-fold"],
1019
- setup(a, { emit: c }) {
1020
- const o = B(!1), d = () => {
1021
- o.value = !s(o), c("on-fold", o.value);
1021
+ setup(n, { emit: c }) {
1022
+ const u = B(!1), d = () => {
1023
+ u.value = !s(u), c("on-fold", u.value);
1022
1024
  };
1023
- return (_, n) => {
1025
+ return (f, l) => {
1024
1026
  const r = g("el-button"), E = g("el-icon");
1025
- return u(), V("div", It, [
1027
+ return o(), V("div", St, [
1026
1028
  D(r, {
1027
1029
  type: "primary",
1028
1030
  icon: s(Ut),
1029
- onClick: n[0] || (n[0] = (b) => _.$emit("on-search"))
1031
+ onClick: l[0] || (l[0] = (b) => f.$emit("on-search"))
1030
1032
  }, {
1031
1033
  default: A(() => [
1032
1034
  K("搜索")
@@ -1035,27 +1037,27 @@ const St = (a, c) => {
1035
1037
  }, 8, ["icon"]),
1036
1038
  D(r, {
1037
1039
  icon: s(kt),
1038
- onClick: n[1] || (n[1] = (b) => _.$emit("on-clear"))
1040
+ onClick: l[1] || (l[1] = (b) => f.$emit("on-clear"))
1039
1041
  }, {
1040
1042
  default: A(() => [
1041
1043
  K("清空")
1042
1044
  ]),
1043
1045
  _: 1
1044
1046
  }, 8, ["icon"]),
1045
- a.fold ? (u(), V("div", {
1047
+ n.fold ? (o(), V("div", {
1046
1048
  key: 0,
1047
1049
  class: "operation_fold",
1048
1050
  style: { color: "var(--el-color-primary)" },
1049
1051
  onClick: d
1050
1052
  }, [
1051
- K(j(o.value ? "收起" : "展开"), 1),
1053
+ K(j(u.value ? "收起" : "展开"), 1),
1052
1054
  D(E, { color: "#409EFC" }, {
1053
1055
  default: A(() => [
1054
1056
  G(D(s($t), null, null, 512), [
1055
- [Q, o.value]
1057
+ [Q, u.value]
1056
1058
  ]),
1057
1059
  G(D(s(st), null, null, 512), [
1058
- [Q, !o.value]
1060
+ [Q, !u.value]
1059
1061
  ])
1060
1062
  ]),
1061
1063
  _: 1
@@ -1064,10 +1066,10 @@ const St = (a, c) => {
1064
1066
  ]);
1065
1067
  };
1066
1068
  }
1067
- }), zt = /* @__PURE__ */ St(Lt, [["__scopeId", "data-v-b5796be8"]]);
1068
- const Yt = { class: "bsgoal-base-search" }, Ht = { class: "base_search" }, Gt = { key: 1 }, jt = {
1069
+ });
1070
+ const Lt = { class: "bsgoal-base-search" }, zt = { class: "base_search" }, Yt = { key: 1 }, Ht = {
1069
1071
  name: "BsgoalBaseSearch"
1070
- }, Wt = /* @__PURE__ */ Object.assign(jt, {
1072
+ }, Gt = /* @__PURE__ */ Object.assign(Ht, {
1071
1073
  props: {
1072
1074
  /**
1073
1075
  * >----------props----------<
@@ -1101,22 +1103,22 @@ const Yt = { class: "bsgoal-base-search" }, Ht = { class: "base_search" }, Gt =
1101
1103
  }
1102
1104
  },
1103
1105
  emits: ["on-search", "on-clear", "on-change", "on-fold"],
1104
- setup(a, { emit: c }) {
1105
- const o = a, d = B(null), _ = Ee.align, n = B({});
1106
+ setup(n, { emit: c }) {
1107
+ const u = n, d = B(null), f = Ee.align, l = B({});
1106
1108
  he(() => {
1107
- const { configOptions: v } = o;
1108
- s(v).forEach((m) => {
1109
- const { value: C = "", prop: k = "", type: O = "" } = m;
1110
- [e.INPUT, e.INPUT_TEXT_AREA].includes(O), n.value[k] = C;
1109
+ const { configOptions: v } = u;
1110
+ s(v).forEach((_) => {
1111
+ const { value: C = "", prop: k = "", type: O = "" } = _;
1112
+ [e.INPUT, e.INPUT_TEXT_AREA].includes(O), l.value[k] = C;
1111
1113
  });
1112
1114
  });
1113
1115
  const r = oe(() => {
1114
- const { configOptions: v } = o, T = s(v), m = {
1116
+ const { configOptions: v } = u, T = s(v), _ = {
1115
1117
  type: e.OPERATION
1116
1118
  };
1117
- return [...T, m];
1118
- }), E = (v = "", T = "", m = "") => {
1119
- if (!m)
1119
+ return [...T, _];
1120
+ }), E = (v = "", T = "", _ = "") => {
1121
+ if (!_)
1120
1122
  switch (v) {
1121
1123
  case e.INPUT:
1122
1124
  case e.INPUT_TEXT_AREA:
@@ -1137,7 +1139,7 @@ const Yt = { class: "bsgoal-base-search" }, Ht = { class: "base_search" }, Gt =
1137
1139
  case e.MONTH_RANGE:
1138
1140
  return ["开始月份", "结束月份"];
1139
1141
  }
1140
- return m;
1142
+ return _;
1141
1143
  }, b = (v = "", T = "") => {
1142
1144
  if (!T)
1143
1145
  switch (v) {
@@ -1160,9 +1162,9 @@ const Yt = { class: "bsgoal-base-search" }, Ht = { class: "base_search" }, Gt =
1160
1162
  return "YYYY-MM-DD HH:mm:ss";
1161
1163
  }
1162
1164
  return T;
1163
- }, y = () => {
1164
- const v = s(n), { configOptions: T } = o, m = s(T);
1165
- for (const C of m) {
1165
+ }, x = () => {
1166
+ const v = s(l), { configOptions: T } = u, _ = s(T);
1167
+ for (const C of _) {
1166
1168
  const { type: k = "", range: O = [], prop: M = "" } = C;
1167
1169
  if (k.endsWith("range") && O && O.length === 2) {
1168
1170
  const { 0: P = "", 1: U = "" } = v[M], { 0: S = "", 1: X = "" } = O;
@@ -1172,38 +1174,38 @@ const Yt = { class: "bsgoal-base-search" }, Ht = { class: "base_search" }, Gt =
1172
1174
  c("on-search", v);
1173
1175
  };
1174
1176
  Ce(() => {
1175
- y();
1177
+ x();
1176
1178
  });
1177
- const x = () => {
1178
- d.value.resetFields(), c("on-clear", n.value);
1179
+ const y = () => {
1180
+ d.value.resetFields(), c("on-clear", l.value);
1179
1181
  }, N = $e("transferFoldStatus"), w = B(!1), R = (v = !1) => {
1180
1182
  w.value = v, N && (N.value = v), c("on-fold", w);
1181
1183
  }, h = (v, T) => {
1182
- y();
1183
- const m = {
1184
+ x();
1185
+ const _ = {
1184
1186
  type: v,
1185
1187
  prop: T,
1186
- value: n.value[T] || ""
1188
+ value: l.value[T] || ""
1187
1189
  };
1188
- c("on-change", m);
1190
+ c("on-change", _);
1189
1191
  };
1190
1192
  return (v, T) => {
1191
- const m = g("el-input"), C = g("el-input-number"), k = g("el-radio"), O = g("el-radio-group"), M = g("el-option"), P = g("el-select"), U = g("el-slider"), S = g("el-switch"), X = g("el-date-picker"), Z = g("el-time-picker"), le = g("el-checkbox"), ee = g("el-checkbox-group"), de = g("el-form-item"), _e = g("el-col"), me = g("el-row"), L = g("el-form");
1192
- return u(), V("div", Yt, [
1193
- F("div", Ht, [
1194
- G((u(), p(L, {
1193
+ const _ = g("el-input"), C = g("el-input-number"), k = g("el-radio"), O = g("el-radio-group"), M = g("el-option"), P = g("el-select"), U = g("el-slider"), S = g("el-switch"), X = g("el-date-picker"), Z = g("el-time-picker"), le = g("el-checkbox"), ee = g("el-checkbox-group"), de = g("el-form-item"), _e = g("el-col"), me = g("el-row"), L = g("el-form");
1194
+ return o(), V("div", Lt, [
1195
+ F("div", zt, [
1196
+ G((o(), p(L, {
1195
1197
  ref_key: "EL_FORM_REF",
1196
1198
  ref: d,
1197
1199
  "label-suffix": ":",
1198
1200
  "show-message": !1,
1199
- model: n.value
1201
+ model: l.value
1200
1202
  }, {
1201
1203
  default: A(() => [
1202
1204
  D(me, null, {
1203
1205
  default: A(() => [
1204
- (u(!0), V(I, null, W(s(r), ({
1205
- label: f = "",
1206
- prop: l = "",
1206
+ (o(!0), V(I, null, W(s(r), ({
1207
+ label: m = "",
1208
+ prop: a = "",
1207
1209
  type: i = "text",
1208
1210
  placeholder: z = "",
1209
1211
  readonly: se = !1,
@@ -1213,38 +1215,38 @@ const Yt = { class: "bsgoal-base-search" }, Ht = { class: "base_search" }, Gt =
1213
1215
  max: q = 10,
1214
1216
  range: Y = [],
1215
1217
  format: J = ""
1216
- } = {}, te) => G((u(), p(_e, {
1218
+ } = {}, te) => G((o(), p(_e, {
1217
1219
  key: te,
1218
1220
  xs: 24,
1219
1221
  sm: 12,
1220
- md: a.medium
1222
+ md: n.medium
1221
1223
  }, {
1222
1224
  default: A(() => [
1223
1225
  D(de, {
1224
- label: f,
1225
- prop: l
1226
+ label: m,
1227
+ prop: a
1226
1228
  }, {
1227
1229
  default: A(() => [
1228
- se ? (u(), V("div", Gt, j(n.value[l]), 1)) : (u(), V(I, { key: 0 }, [
1229
- i === s(e).INPUT ? (u(), p(m, {
1230
+ se ? (o(), V("div", Yt, j(l.value[a]), 1)) : (o(), V(I, { key: 0 }, [
1231
+ i === s(e).INPUT ? (o(), p(_, {
1230
1232
  key: 0,
1231
- modelValue: n.value[l],
1232
- "onUpdate:modelValue": (t) => n.value[l] = t,
1233
- placeholder: E(i, f, z),
1233
+ modelValue: l.value[a],
1234
+ "onUpdate:modelValue": (t) => l.value[a] = t,
1235
+ placeholder: E(i, m, z),
1234
1236
  clearable: re,
1235
- onChange: (t) => h(i, l)
1237
+ onChange: (t) => h(i, a)
1236
1238
  }, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder", "clearable", "onChange"])) : $("", !0),
1237
- i === s(e).INPUT_TEXT_AREA ? (u(), p(m, {
1239
+ i === s(e).INPUT_TEXT_AREA ? (o(), p(_, {
1238
1240
  key: 1,
1239
- modelValue: n.value[l],
1240
- "onUpdate:modelValue": (t) => n.value[l] = t,
1241
+ modelValue: l.value[a],
1242
+ "onUpdate:modelValue": (t) => l.value[a] = t,
1241
1243
  type: "textarea",
1242
1244
  rows: ce,
1243
1245
  clearable: re,
1244
- placeholder: E(i, f, z),
1245
- onChange: (t) => h(i, l)
1246
+ placeholder: E(i, m, z),
1247
+ onChange: (t) => h(i, a)
1246
1248
  }, null, 8, ["modelValue", "onUpdate:modelValue", "rows", "clearable", "placeholder", "onChange"])) : $("", !0),
1247
- i === s(e).INPUT_NUMBER ? (u(), p(C, {
1249
+ i === s(e).INPUT_NUMBER ? (o(), p(C, {
1248
1250
  key: 2,
1249
1251
  modelValue: v.num,
1250
1252
  "onUpdate:modelValue": T[0] || (T[0] = (t) => v.num = t),
@@ -1252,14 +1254,14 @@ const Yt = { class: "bsgoal-base-search" }, Ht = { class: "base_search" }, Gt =
1252
1254
  max: q,
1253
1255
  onChange: h
1254
1256
  }, null, 8, ["modelValue", "min", "max"])) : $("", !0),
1255
- i === s(e).RADIO ? (u(), p(O, {
1257
+ i === s(e).RADIO ? (o(), p(O, {
1256
1258
  key: 3,
1257
- modelValue: n.value[l],
1258
- "onUpdate:modelValue": (t) => n.value[l] = t,
1259
- onChange: (t) => h(i, l)
1259
+ modelValue: l.value[a],
1260
+ "onUpdate:modelValue": (t) => l.value[a] = t,
1261
+ onChange: (t) => h(i, a)
1260
1262
  }, {
1261
1263
  default: A(() => [
1262
- (u(!0), V(I, null, W(Y, (t, H) => (u(), p(k, {
1264
+ (o(!0), V(I, null, W(Y, (t, H) => (o(), p(k, {
1263
1265
  key: H,
1264
1266
  label: t.value
1265
1267
  }, {
@@ -1271,15 +1273,15 @@ const Yt = { class: "bsgoal-base-search" }, Ht = { class: "base_search" }, Gt =
1271
1273
  ]),
1272
1274
  _: 2
1273
1275
  }, 1032, ["modelValue", "onUpdate:modelValue", "onChange"])) : $("", !0),
1274
- i === s(e).SELECT ? (u(), p(P, {
1276
+ i === s(e).SELECT ? (o(), p(P, {
1275
1277
  key: 4,
1276
- modelValue: n.value[l],
1277
- "onUpdate:modelValue": (t) => n.value[l] = t,
1278
- placeholder: E(i, f, z),
1279
- onChange: (t) => h(i, l)
1278
+ modelValue: l.value[a],
1279
+ "onUpdate:modelValue": (t) => l.value[a] = t,
1280
+ placeholder: E(i, m, z),
1281
+ onChange: (t) => h(i, a)
1280
1282
  }, {
1281
1283
  default: A(() => [
1282
- (u(!0), V(I, null, W(Y, (t, H) => (u(), p(M, {
1284
+ (o(!0), V(I, null, W(Y, (t, H) => (o(), p(M, {
1283
1285
  key: H,
1284
1286
  label: t.label,
1285
1287
  value: t.value
@@ -1287,75 +1289,75 @@ const Yt = { class: "bsgoal-base-search" }, Ht = { class: "base_search" }, Gt =
1287
1289
  ]),
1288
1290
  _: 2
1289
1291
  }, 1032, ["modelValue", "onUpdate:modelValue", "placeholder", "onChange"])) : $("", !0),
1290
- i === s(e).SLIDER ? (u(), p(U, {
1292
+ i === s(e).SLIDER ? (o(), p(U, {
1291
1293
  key: 5,
1292
- modelValue: n.value[l],
1293
- "onUpdate:modelValue": (t) => n.value[l] = t,
1294
+ modelValue: l.value[a],
1295
+ "onUpdate:modelValue": (t) => l.value[a] = t,
1294
1296
  min: ne,
1295
1297
  max: q,
1296
- onChange: (t) => h(i, l)
1298
+ onChange: (t) => h(i, a)
1297
1299
  }, null, 8, ["modelValue", "onUpdate:modelValue", "min", "max", "onChange"])) : $("", !0),
1298
- i === s(e).SWITCH ? (u(), p(S, {
1300
+ i === s(e).SWITCH ? (o(), p(S, {
1299
1301
  key: 6,
1300
- modelValue: n.value[l],
1301
- "onUpdate:modelValue": (t) => n.value[l] = t,
1302
+ modelValue: l.value[a],
1303
+ "onUpdate:modelValue": (t) => l.value[a] = t,
1302
1304
  "active-value": Y[0] || !0,
1303
1305
  "inactive-value": Y[1] || !1,
1304
- onChange: (t) => h(i, l)
1306
+ onChange: (t) => h(i, a)
1305
1307
  }, null, 8, ["modelValue", "onUpdate:modelValue", "active-value", "inactive-value", "onChange"])) : $("", !0),
1306
1308
  [s(e).DATE, s(e).MONTH, s(e).YEAR, s(e).DATE_TIME].includes(
1307
1309
  i
1308
- ) ? (u(), p(X, {
1310
+ ) ? (o(), p(X, {
1309
1311
  key: 7,
1310
- modelValue: n.value[l],
1311
- "onUpdate:modelValue": (t) => n.value[l] = t,
1312
+ modelValue: l.value[a],
1313
+ "onUpdate:modelValue": (t) => l.value[a] = t,
1312
1314
  format: b(i, J),
1313
1315
  "value-format": b(i, J),
1314
1316
  type: i,
1315
- placeholder: E(i, f, z),
1316
- onChange: (t) => h(i, l)
1317
+ placeholder: E(i, m, z),
1318
+ onChange: (t) => h(i, a)
1317
1319
  }, null, 8, ["modelValue", "onUpdate:modelValue", "format", "value-format", "type", "placeholder", "onChange"])) : $("", !0),
1318
1320
  [
1319
1321
  s(e).DATE_RANGE,
1320
1322
  s(e).MONTH_RANGE,
1321
1323
  s(e).DATE_TIME_RANGE
1322
- ].includes(i) ? (u(), p(X, {
1324
+ ].includes(i) ? (o(), p(X, {
1323
1325
  key: 8,
1324
- modelValue: n.value[l],
1325
- "onUpdate:modelValue": (t) => n.value[l] = t,
1326
+ modelValue: l.value[a],
1327
+ "onUpdate:modelValue": (t) => l.value[a] = t,
1326
1328
  type: i,
1327
1329
  "value-format": b(i, J),
1328
- "start-placeholder": E(i, f, z)[0],
1329
- "end-placeholder": E(i, f, z)[1],
1330
- onChange: (t) => h(i, l)
1330
+ "start-placeholder": E(i, m, z)[0],
1331
+ "end-placeholder": E(i, m, z)[1],
1332
+ onChange: (t) => h(i, a)
1331
1333
  }, null, 8, ["modelValue", "onUpdate:modelValue", "type", "value-format", "start-placeholder", "end-placeholder", "onChange"])) : $("", !0),
1332
- [s(e).TIME].includes(i) ? (u(), p(Z, {
1334
+ [s(e).TIME].includes(i) ? (o(), p(Z, {
1333
1335
  key: 9,
1334
- modelValue: n.value[l],
1335
- "onUpdate:modelValue": (t) => n.value[l] = t,
1336
+ modelValue: l.value[a],
1337
+ "onUpdate:modelValue": (t) => l.value[a] = t,
1336
1338
  "arrow-control": "",
1337
1339
  "value-format": b(i, J),
1338
- placeholder: E(i, f, z),
1339
- onChange: (t) => h(i, l)
1340
+ placeholder: E(i, m, z),
1341
+ onChange: (t) => h(i, a)
1340
1342
  }, null, 8, ["modelValue", "onUpdate:modelValue", "value-format", "placeholder", "onChange"])) : $("", !0),
1341
- [s(e).TIME_RANGE].includes(i) ? (u(), p(Z, {
1343
+ [s(e).TIME_RANGE].includes(i) ? (o(), p(Z, {
1342
1344
  key: 10,
1343
- modelValue: n.value[l],
1344
- "onUpdate:modelValue": (t) => n.value[l] = t,
1345
+ modelValue: l.value[a],
1346
+ "onUpdate:modelValue": (t) => l.value[a] = t,
1345
1347
  "is-range": "",
1346
1348
  "value-format": b(i, J),
1347
- "start-placeholder": E(i, f, z)[0],
1348
- "end-placeholder": E(i, f, z)[1],
1349
- onChange: (t) => h(i, l)
1349
+ "start-placeholder": E(i, m, z)[0],
1350
+ "end-placeholder": E(i, m, z)[1],
1351
+ onChange: (t) => h(i, a)
1350
1352
  }, null, 8, ["modelValue", "onUpdate:modelValue", "value-format", "start-placeholder", "end-placeholder", "onChange"])) : $("", !0),
1351
- [s(e).CHECKBOX].includes(i) ? (u(), p(ee, {
1353
+ [s(e).CHECKBOX].includes(i) ? (o(), p(ee, {
1352
1354
  key: 11,
1353
- modelValue: n.value[l],
1354
- "onUpdate:modelValue": (t) => n.value[l] = t,
1355
- onChange: (t) => h(i, l)
1355
+ modelValue: l.value[a],
1356
+ "onUpdate:modelValue": (t) => l.value[a] = t,
1357
+ onChange: (t) => h(i, a)
1356
1358
  }, {
1357
1359
  default: A(() => [
1358
- (u(!0), V(I, null, W(Y, (t, H) => (u(), p(le, {
1360
+ (o(!0), V(I, null, W(Y, (t, H) => (o(), p(le, {
1359
1361
  key: H,
1360
1362
  label: t.value
1361
1363
  }, {
@@ -1367,12 +1369,12 @@ const Yt = { class: "bsgoal-base-search" }, Ht = { class: "base_search" }, Gt =
1367
1369
  ]),
1368
1370
  _: 2
1369
1371
  }, 1032, ["modelValue", "onUpdate:modelValue", "onChange"])) : $("", !0),
1370
- [].includes(i) ? (u(), V(I, { key: 12 }, [], 64)) : $("", !0),
1371
- [s(e).OPERATION].includes(i) ? (u(), p(zt, {
1372
+ [].includes(i) ? (o(), V(I, { key: 12 }, [], 64)) : $("", !0),
1373
+ [s(e).OPERATION].includes(i) ? (o(), p(Pt, {
1372
1374
  key: 13,
1373
1375
  fold: te >= 7,
1374
- onOnSearch: y,
1375
- onOnClear: x,
1376
+ onOnSearch: x,
1377
+ onOnClear: y,
1376
1378
  onOnFold: R
1377
1379
  }, null, 8, ["fold"])) : $("", !0)
1378
1380
  ], 64))
@@ -1390,7 +1392,7 @@ const Yt = { class: "bsgoal-base-search" }, Ht = { class: "base_search" }, Gt =
1390
1392
  ]),
1391
1393
  _: 1
1392
1394
  }, 8, ["model"])), [
1393
- [s(_)]
1395
+ [s(f)]
1394
1396
  ])
1395
1397
  ]),
1396
1398
  D(be)
@@ -1398,9 +1400,9 @@ const Yt = { class: "bsgoal-base-search" }, Ht = { class: "base_search" }, Gt =
1398
1400
  };
1399
1401
  }
1400
1402
  });
1401
- const Xt = { class: "bsgoal-base-search-table" }, Kt = { class: "base_search_table" }, qt = {
1403
+ const jt = { class: "bsgoal-base-search-table" }, Wt = { class: "base_search_table" }, Xt = {
1402
1404
  name: "BsgoalBaseSearchTable"
1403
- }, Jt = /* @__PURE__ */ Object.assign(qt, {
1405
+ }, Kt = /* @__PURE__ */ Object.assign(Xt, {
1404
1406
  props: {
1405
1407
  /**
1406
1408
  * >----------props----------<
@@ -1469,67 +1471,75 @@ const Xt = { class: "bsgoal-base-search-table" }, Kt = { class: "base_search_tab
1469
1471
  call: {
1470
1472
  type: [Object, Function],
1471
1473
  default: null
1474
+ },
1475
+ /**
1476
+ * 表格高度 下边距值
1477
+ */
1478
+ expression: {
1479
+ type: [Number],
1480
+ default: 75
1472
1481
  }
1473
1482
  },
1474
- setup(a) {
1475
- const c = a, o = B(!1);
1476
- ke("transferFoldStatus", o);
1477
- const d = s(c.configOptions), _ = oe(() => d), n = oe(() => d), r = Oe(), E = B(Object.keys(r)), b = B(null), y = (x) => {
1478
- b.value.refreshList(x);
1483
+ setup(n) {
1484
+ const c = n, u = B(!1);
1485
+ ke("transferFoldStatus", u);
1486
+ const d = s(c.configOptions), f = oe(() => d), l = oe(() => d), r = Oe(), E = B(Object.keys(r)), b = B(null), x = (y) => {
1487
+ b.value.refreshList(y);
1479
1488
  };
1480
- return (x, N) => (u(), V("div", Xt, [
1481
- F("div", Kt, [
1482
- D(Wt, {
1483
- "config-options": s(_),
1484
- onOnSearch: y,
1485
- onOnClear: y
1489
+ return (y, N) => (o(), V("div", jt, [
1490
+ F("div", Wt, [
1491
+ D(Gt, {
1492
+ "config-options": s(f),
1493
+ onOnSearch: x,
1494
+ onOnClear: x
1486
1495
  }, null, 8, ["config-options"]),
1487
1496
  D(we, {
1488
1497
  ref_key: "BSGOAL_BASE_TABLE_REF",
1489
1498
  ref: b,
1490
- operationWidth: a.operationWidth,
1491
- "config-options": s(n),
1492
- data: a.tableData,
1493
- selection: a.selection,
1494
- operation: a.operation,
1495
- fetch: a.fetch,
1496
- call: a.call
1499
+ operationWidth: n.operationWidth,
1500
+ "config-options": s(l),
1501
+ data: n.tableData,
1502
+ selection: n.selection,
1503
+ operation: n.operation,
1504
+ expression: n.expression,
1505
+ fetch: n.fetch,
1506
+ call: n.call
1497
1507
  }, Ne({ _: 2 }, [
1498
1508
  W(E.value, (w) => ({
1499
1509
  name: w,
1500
1510
  fn: A(({ row: R = {} }) => [
1501
- ie(x.$slots, w, { row: R })
1511
+ ie(y.$slots, w, { row: R })
1502
1512
  ])
1503
1513
  }))
1504
- ]), 1032, ["operationWidth", "config-options", "data", "selection", "operation", "fetch", "call"])
1514
+ ]), 1032, ["operationWidth", "config-options", "data", "selection", "operation", "expression", "fetch", "call"])
1505
1515
  ])
1506
1516
  ]));
1507
1517
  }
1508
1518
  });
1509
- const Qt = { class: "bsgoal-base-tree-fold" }, Zt = {
1519
+ const qt = { class: "bsgoal-base-tree-fold" }, Jt = {
1510
1520
  name: "BsgoalBaseTreeFold"
1511
- }, ea = /* @__PURE__ */ Object.assign(Zt, {
1521
+ }, Qt = /* @__PURE__ */ Object.assign(Jt, {
1512
1522
  props: ["modelValue"],
1513
1523
  emits: ["update:modelValue"],
1514
- setup(a, { emit: c }) {
1515
- let o = B(!0);
1524
+ setup(n, { emit: c }) {
1525
+ let u = B(!0);
1516
1526
  const d = () => {
1517
- o.value = !o.value, c("update:modelValue", o.value);
1527
+ u.value = !u.value, c("update:modelValue", u.value);
1518
1528
  };
1519
- return (_, n) => {
1529
+ return (f, l) => {
1520
1530
  const r = g("el-icon");
1521
- return u(), V("div", Qt, [
1531
+ return o(), V("div", qt, [
1522
1532
  F("div", {
1523
- class: ge(["base_tree_fold", { "base_tree_fold--hide": !s(o) }]),
1533
+ class: ge(["base_tree_fold", { "base_tree_fold--hide": !s(u) }]),
1524
1534
  onClick: d
1525
1535
  }, [
1526
1536
  D(r, { color: "#fff" }, {
1527
1537
  default: A(() => [
1528
1538
  G(D(s(mt), null, null, 512), [
1529
- [Q, s(o)]
1539
+ [Q, s(u)]
1530
1540
  ]),
1531
1541
  G(D(s(pt), null, null, 512), [
1532
- [Q, !s(o)]
1542
+ [Q, !s(u)]
1533
1543
  ])
1534
1544
  ]),
1535
1545
  _: 1
@@ -1539,9 +1549,9 @@ const Qt = { class: "bsgoal-base-tree-fold" }, Zt = {
1539
1549
  };
1540
1550
  }
1541
1551
  });
1542
- const ta = { class: "bsgoal-base-tree" }, aa = { class: "base_tree" }, la = { class: "base_tree_main" }, na = {
1552
+ const Zt = { class: "bsgoal-base-tree" }, ea = { class: "base_tree" }, ta = { class: "base_tree_main" }, aa = {
1543
1553
  name: "BsgoalBaseTree"
1544
- }, oa = /* @__PURE__ */ Object.assign(na, {
1554
+ }, la = /* @__PURE__ */ Object.assign(aa, {
1545
1555
  props: {
1546
1556
  /**
1547
1557
  * 树结构 的下边距
@@ -1594,42 +1604,42 @@ const ta = { class: "bsgoal-base-tree" }, aa = { class: "base_tree" }, la = { cl
1594
1604
  }
1595
1605
  },
1596
1606
  emits: ["on-click"],
1597
- setup(a, { emit: c }) {
1598
- const o = a, d = Ee.height, _ = B(""), n = B(null);
1599
- ue(_, (x) => {
1600
- n.value.filter(x);
1607
+ setup(n, { emit: c }) {
1608
+ const u = n, d = Ee.height, f = B(""), l = B(null);
1609
+ ue(f, (y) => {
1610
+ l.value.filter(y);
1601
1611
  });
1602
- const r = (x, N) => x ? N.label.includes(x) : !0, E = B(!0), b = (x, N, w, R) => {
1603
- c("on-click", x, N, w, R);
1604
- }, y = async (x, N, w) => {
1605
- if (x.level === 0) {
1606
- const R = await w.initNode(x);
1612
+ const r = (y, N) => y ? N.label.includes(y) : !0, E = B(!0), b = (y, N, w, R) => {
1613
+ c("on-click", y, N, w, R);
1614
+ }, x = async (y, N, w) => {
1615
+ if (y.level === 0) {
1616
+ const R = await w.initNode(y);
1607
1617
  return N(R || []);
1608
1618
  } else {
1609
- const R = await w.lazyLoad(x);
1619
+ const R = await w.lazyLoad(y);
1610
1620
  N(R || []);
1611
1621
  }
1612
1622
  };
1613
- return (x, N) => {
1623
+ return (y, N) => {
1614
1624
  const w = g("el-input"), R = g("el-tree");
1615
- return u(), V("div", ta, [
1616
- G((u(), V("div", aa, [
1617
- G(F("div", la, [
1625
+ return o(), V("div", Zt, [
1626
+ G((o(), V("div", ea, [
1627
+ G(F("div", ta, [
1618
1628
  D(w, {
1619
- modelValue: _.value,
1620
- "onUpdate:modelValue": N[0] || (N[0] = (h) => _.value = h),
1629
+ modelValue: f.value,
1630
+ "onUpdate:modelValue": N[0] || (N[0] = (h) => f.value = h),
1621
1631
  class: "base_tree_main_input",
1622
1632
  placeholder: "输入关键字过滤"
1623
1633
  }, null, 8, ["modelValue"]),
1624
1634
  D(R, {
1625
1635
  ref_key: "EL_TREE_REF",
1626
- ref: n,
1636
+ ref: l,
1627
1637
  lazy: "",
1628
1638
  "highlight-current": "",
1629
1639
  "empty-text": "暂无数据",
1630
- load: (h, v) => y(h, v, o),
1640
+ load: (h, v) => x(h, v, u),
1631
1641
  "expand-on-click-node": !1,
1632
- props: a.treeProps,
1642
+ props: n.treeProps,
1633
1643
  "filter-node-method": r,
1634
1644
  onNodeClick: b
1635
1645
  }, null, 8, ["load", "props"])
@@ -1639,20 +1649,20 @@ const ta = { class: "bsgoal-base-tree" }, aa = { class: "base_tree" }, la = { cl
1639
1649
  G(D(be, { vertical: "" }, null, 512), [
1640
1650
  [Q, E.value]
1641
1651
  ]),
1642
- D(ea, {
1652
+ D(Qt, {
1643
1653
  modelValue: E.value,
1644
1654
  "onUpdate:modelValue": N[1] || (N[1] = (h) => E.value = h)
1645
1655
  }, null, 8, ["modelValue"])
1646
1656
  ])), [
1647
- [s(d), a.gasket]
1657
+ [s(d), n.gasket]
1648
1658
  ])
1649
1659
  ]);
1650
1660
  };
1651
1661
  }
1652
1662
  });
1653
- const ua = { class: "bsgoal-base-dialog" }, sa = { class: "base_dialog" }, ra = { class: "base_dialog_header" }, ca = { class: "base_dialog_content" }, ia = { class: "base_dialog_footer" }, da = {
1663
+ const na = { class: "bsgoal-base-dialog" }, oa = { class: "base_dialog" }, ua = { class: "base_dialog_header" }, sa = { class: "base_dialog_content" }, ra = { class: "base_dialog_footer" }, ca = {
1654
1664
  name: "BsgoalBaseDialog"
1655
- }, _a = /* @__PURE__ */ Object.assign(da, {
1665
+ }, ia = /* @__PURE__ */ Object.assign(ca, {
1656
1666
  props: {
1657
1667
  /**
1658
1668
  * 弹窗状态
@@ -1684,52 +1694,52 @@ const ua = { class: "bsgoal-base-dialog" }, sa = { class: "base_dialog" }, ra =
1684
1694
  }
1685
1695
  },
1686
1696
  emits: ["update:modelValue", "on-confirm"],
1687
- setup(a, { emit: c }) {
1688
- const o = a, d = B(o.modelValue.value), _ = () => {
1697
+ setup(n, { emit: c }) {
1698
+ const u = n, d = B(u.modelValue.value), f = () => {
1689
1699
  d.value = !1;
1690
- }, n = () => {
1700
+ }, l = () => {
1691
1701
  d.value = !1, c("on-confirm");
1692
1702
  };
1693
1703
  return ue(
1694
- () => o.modelValue,
1704
+ () => u.modelValue,
1695
1705
  (r) => {
1696
1706
  d.value = r;
1697
1707
  }
1698
1708
  ), ue(d, (r) => {
1699
1709
  c("update:modelValue", r);
1700
1710
  }), (r, E) => {
1701
- const b = g("el-button"), y = g("el-dialog");
1702
- return u(), V("div", ua, [
1703
- F("div", sa, [
1704
- D(y, {
1711
+ const b = g("el-button"), x = g("el-dialog");
1712
+ return o(), V("div", na, [
1713
+ F("div", oa, [
1714
+ D(x, {
1705
1715
  modelValue: d.value,
1706
- "onUpdate:modelValue": E[0] || (E[0] = (x) => d.value = x),
1716
+ "onUpdate:modelValue": E[0] || (E[0] = (y) => d.value = y),
1707
1717
  "custom-class": "bsgoal_base_dialog_main"
1708
1718
  }, {
1709
1719
  header: A(() => [
1710
- F("div", ra, j(a.title), 1)
1720
+ F("div", ua, j(n.title), 1)
1711
1721
  ]),
1712
1722
  footer: A(() => [
1713
- F("span", ia, [
1714
- D(b, { onClick: _ }, {
1723
+ F("span", ra, [
1724
+ D(b, { onClick: f }, {
1715
1725
  default: A(() => [
1716
- K(j(a.cancelTxt), 1)
1726
+ K(j(n.cancelTxt), 1)
1717
1727
  ]),
1718
1728
  _: 1
1719
1729
  }),
1720
1730
  D(b, {
1721
1731
  type: "primary",
1722
- onClick: n
1732
+ onClick: l
1723
1733
  }, {
1724
1734
  default: A(() => [
1725
- K(j(a.confirmTxt), 1)
1735
+ K(j(n.confirmTxt), 1)
1726
1736
  ]),
1727
1737
  _: 1
1728
1738
  })
1729
1739
  ])
1730
1740
  ]),
1731
1741
  default: A(() => [
1732
- F("div", ca, [
1742
+ F("div", sa, [
1733
1743
  ie(r.$slots, "default")
1734
1744
  ])
1735
1745
  ]),
@@ -1739,25 +1749,25 @@ const ua = { class: "bsgoal-base-dialog" }, sa = { class: "base_dialog" }, ra =
1739
1749
  ]);
1740
1750
  };
1741
1751
  }
1742
- }), ga = e, ha = pe, Ea = {
1743
- install(a, c = {}) {
1744
- const { exclude: o = [] } = c, d = {
1752
+ }), fa = e, va = pe, ga = {
1753
+ install(n, c = {}) {
1754
+ const { exclude: u = [] } = c, d = {
1745
1755
  BsgoalBaseForm: Ie,
1746
1756
  BsgoalBaseTable: we,
1747
1757
  BsgoalBaseLine: be,
1748
- BsgoalBaseSearchTable: Jt,
1749
- BsgoalBaseTree: oa,
1750
- BsgoalBaseDialog: _a
1758
+ BsgoalBaseSearchTable: Kt,
1759
+ BsgoalBaseTree: la,
1760
+ BsgoalBaseDialog: ia
1751
1761
  };
1752
- for (const [_, n] of Object.entries(d))
1753
- o.includes(_) || a.component(_, n);
1762
+ for (const [f, l] of Object.entries(d))
1763
+ u.includes(f) || n.component(f, l);
1754
1764
  },
1755
1765
  enumType: e,
1756
1766
  useFetch: pe
1757
1767
  };
1758
1768
  export {
1759
- ga as EnumType,
1760
- Ea as default,
1761
- ha as useFetchApi
1769
+ fa as EnumType,
1770
+ ga as default,
1771
+ va as useFetchApi
1762
1772
  };
1763
1773
  //# sourceMappingURL=index.mjs.map