@bsgoal/common 1.8.4 → 1.8.5
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.
package/dist/index.mjs
CHANGED
|
@@ -9,7 +9,7 @@ var Ve = (e, s, a) => s in e ? Se(e, s, { enumerable: !0, configurable: !0, writ
|
|
|
9
9
|
Oe.call(s, a) && Ve(e, a, s[a]);
|
|
10
10
|
return e;
|
|
11
11
|
};
|
|
12
|
-
import { computed as Z, resolveComponent as
|
|
12
|
+
import { computed as Z, resolveComponent as v, openBlock as n, createElementBlock as b, createVNode as C, withCtx as A, renderSlot as J, createTextVNode as G, toDisplayString as j, ref as w, watchEffect as pe, unref as c, createElementVNode as O, withDirectives as K, createBlock as y, Fragment as P, renderList as Q, createCommentVNode as $, nextTick as $e, inject as Ce, watch as _e, resolveDirective as Ie, normalizeClass as me, vShow as te, isProxy as Re, toRaw as Fe, provide as Ue, useSlots as Me, createSlots as Le, normalizeStyle as Pe } from "vue";
|
|
13
13
|
import { ElMessage as je } from "element-plus";
|
|
14
14
|
const l = {
|
|
15
15
|
INPUT: "text",
|
|
@@ -136,7 +136,7 @@ const ze = { class: "bsgoal-base-tooltip" }, Ge = {
|
|
|
136
136
|
return r.length < u || !u;
|
|
137
137
|
});
|
|
138
138
|
return (r, u) => {
|
|
139
|
-
const t =
|
|
139
|
+
const t = v("el-tooltip");
|
|
140
140
|
return n(), b("div", ze, [
|
|
141
141
|
C(t, {
|
|
142
142
|
class: "base_tooltip",
|
|
@@ -146,7 +146,7 @@ const ze = { class: "bsgoal-base-tooltip" }, Ge = {
|
|
|
146
146
|
content: e.content,
|
|
147
147
|
disabled: i.value
|
|
148
148
|
}, {
|
|
149
|
-
default:
|
|
149
|
+
default: A(() => [
|
|
150
150
|
J(r.$slots, "default", {}, () => [
|
|
151
151
|
G(j(a.value), 1)
|
|
152
152
|
])
|
|
@@ -229,29 +229,29 @@ const Ye = { class: "bsgoal-base-form" }, He = { class: "base_form" }, We = { ke
|
|
|
229
229
|
},
|
|
230
230
|
emits: ["on-form", "on-clear", "on-change", "on-fold"],
|
|
231
231
|
setup(e, { expose: s, emit: a }) {
|
|
232
|
-
const i = e, r =
|
|
232
|
+
const i = e, r = w(null), u = ye.align, t = w(i.bindModel);
|
|
233
233
|
pe(() => {
|
|
234
|
-
const { configOptions:
|
|
234
|
+
const { configOptions: h, values: x } = i, T = c(h), B = c(x);
|
|
235
235
|
T.forEach((m) => {
|
|
236
|
-
const { value: I = "", prop:
|
|
236
|
+
const { value: I = "", prop: N = "", type: L = "" } = m;
|
|
237
237
|
[l.INPUT, l.INPUT_TEXT_AREA].includes(L);
|
|
238
|
-
const F = c(t)[
|
|
239
|
-
|
|
238
|
+
const F = c(t)[N];
|
|
239
|
+
t.value[N] = F || B[N] || I;
|
|
240
240
|
});
|
|
241
241
|
});
|
|
242
242
|
const d = Z(() => {
|
|
243
|
-
const { configOptions:
|
|
244
|
-
return c(
|
|
243
|
+
const { configOptions: h } = i;
|
|
244
|
+
return c(h).map((B) => {
|
|
245
245
|
let { rules: m = !1, label: I = "" } = B;
|
|
246
|
-
const
|
|
247
|
-
return m && (typeof m == "boolean" ? m = [
|
|
246
|
+
const N = { required: !0, message: `${I}不能为空`, trigger: "blur" };
|
|
247
|
+
return m && (typeof m == "boolean" ? m = [N] : Array.isArray(m) ? m = [N, ...m] : m = [N, m]), B.rules = m, B;
|
|
248
248
|
});
|
|
249
|
-
}), _ = (
|
|
249
|
+
}), _ = (h = "", x = "", T = "") => {
|
|
250
250
|
if (!T)
|
|
251
|
-
switch (
|
|
251
|
+
switch (h) {
|
|
252
252
|
case l.INPUT:
|
|
253
253
|
case l.INPUT_TEXT_AREA:
|
|
254
|
-
return `请输入${
|
|
254
|
+
return `请输入${x}`;
|
|
255
255
|
case l.SELECT:
|
|
256
256
|
case l.DATE:
|
|
257
257
|
case l.WEEK:
|
|
@@ -259,7 +259,7 @@ const Ye = { class: "bsgoal-base-form" }, He = { class: "base_form" }, We = { ke
|
|
|
259
259
|
case l.YEAR:
|
|
260
260
|
case l.DATE_TIME:
|
|
261
261
|
case l.TIME:
|
|
262
|
-
return `请选择${
|
|
262
|
+
return `请选择${x}`;
|
|
263
263
|
case l.DATE_RANGE:
|
|
264
264
|
case l.DATE_TIME_RANGE:
|
|
265
265
|
return ["开始日期", "结束日期"];
|
|
@@ -269,9 +269,9 @@ const Ye = { class: "bsgoal-base-form" }, He = { class: "base_form" }, We = { ke
|
|
|
269
269
|
return ["开始月份", "结束月份"];
|
|
270
270
|
}
|
|
271
271
|
return T;
|
|
272
|
-
}, V = (
|
|
273
|
-
if (!
|
|
274
|
-
switch (
|
|
272
|
+
}, V = (h = "", x = "") => {
|
|
273
|
+
if (!x)
|
|
274
|
+
switch (h) {
|
|
275
275
|
case l.WEEK:
|
|
276
276
|
return "ww";
|
|
277
277
|
case l.DATE:
|
|
@@ -290,34 +290,34 @@ const Ye = { class: "bsgoal-base-form" }, He = { class: "base_form" }, We = { ke
|
|
|
290
290
|
case l.DATE_TIME_RANGE:
|
|
291
291
|
return "YYYY-MM-DD HH:mm:ss";
|
|
292
292
|
}
|
|
293
|
-
return
|
|
293
|
+
return x;
|
|
294
294
|
}, M = () => {
|
|
295
|
-
const
|
|
295
|
+
const h = c(t), { configOptions: x } = i, T = c(x);
|
|
296
296
|
for (const B of T) {
|
|
297
|
-
const { type: m = "", range: I = [], prop:
|
|
297
|
+
const { type: m = "", range: I = [], prop: N = "" } = B;
|
|
298
298
|
if (m.endsWith("range") && I && I.length === 2) {
|
|
299
|
-
const { 0: L = "", 1: F = "" } =
|
|
300
|
-
|
|
299
|
+
const { 0: L = "", 1: F = "" } = h[N], { 0: Y = "", 1: R = "" } = I;
|
|
300
|
+
h[Y] = L, h[R] = F;
|
|
301
301
|
}
|
|
302
302
|
}
|
|
303
|
-
return a("on-form",
|
|
303
|
+
return a("on-form", h), h;
|
|
304
304
|
}, S = () => {
|
|
305
305
|
r.value.resetFields(), a("on-clear", t.value);
|
|
306
|
-
}, k = (
|
|
306
|
+
}, k = (h, x) => {
|
|
307
307
|
const T = {
|
|
308
|
-
type:
|
|
309
|
-
prop:
|
|
310
|
-
value: t.value[
|
|
308
|
+
type: h,
|
|
309
|
+
prop: x,
|
|
310
|
+
value: t.value[x] || ""
|
|
311
311
|
};
|
|
312
312
|
a("on-change", T);
|
|
313
|
-
}, U = (
|
|
313
|
+
}, U = (h = () => {
|
|
314
314
|
}) => {
|
|
315
|
-
r.value.validate((
|
|
316
|
-
if (
|
|
315
|
+
r.value.validate((x = !1, T = {}) => {
|
|
316
|
+
if (x) {
|
|
317
317
|
const B = M();
|
|
318
|
-
|
|
318
|
+
h(B);
|
|
319
319
|
} else {
|
|
320
|
-
|
|
320
|
+
h(!1);
|
|
321
321
|
const B = Object.keys(T)[0], {
|
|
322
322
|
[B]: {
|
|
323
323
|
0: { message: m = "" }
|
|
@@ -326,13 +326,13 @@ const Ye = { class: "bsgoal-base-form" }, He = { class: "base_form" }, We = { ke
|
|
|
326
326
|
je.error(m);
|
|
327
327
|
}
|
|
328
328
|
});
|
|
329
|
-
}, D = (
|
|
330
|
-
const { 0: T = {}, 1: B = {} } =
|
|
331
|
-
switch (
|
|
329
|
+
}, D = (h = [], x = "") => {
|
|
330
|
+
const { 0: T = {}, 1: B = {} } = h, { value: m = !1, label: I = "" } = T, { value: N = !1, label: L = "" } = B;
|
|
331
|
+
switch (x) {
|
|
332
332
|
case "active-value":
|
|
333
333
|
return m;
|
|
334
334
|
case "inactive-value":
|
|
335
|
-
return
|
|
335
|
+
return N;
|
|
336
336
|
case "active-text":
|
|
337
337
|
return I;
|
|
338
338
|
case "inactive-text":
|
|
@@ -343,22 +343,22 @@ const Ye = { class: "bsgoal-base-form" }, He = { class: "base_form" }, We = { ke
|
|
|
343
343
|
triggerOperationClear: S,
|
|
344
344
|
triggerOperationForm: M,
|
|
345
345
|
validateForm: U
|
|
346
|
-
}), (
|
|
347
|
-
const T =
|
|
346
|
+
}), (h, x) => {
|
|
347
|
+
const T = v("el-input"), B = v("el-input-number"), m = v("el-radio"), I = v("el-radio-group"), N = v("el-option"), L = v("el-select"), F = v("el-slider"), Y = v("el-switch"), R = v("el-date-picker"), H = v("el-time-picker"), ee = v("el-checkbox"), ae = v("el-checkbox-group"), le = v("el-form-item"), ce = v("el-col"), re = v("el-row"), se = v("el-form");
|
|
348
348
|
return n(), b("div", Ye, [
|
|
349
349
|
O("div", He, [
|
|
350
|
-
K((n(),
|
|
350
|
+
K((n(), y(se, {
|
|
351
351
|
ref_key: "EL_FORM_REF",
|
|
352
352
|
ref: r,
|
|
353
353
|
"label-suffix": ":",
|
|
354
354
|
model: t.value
|
|
355
355
|
}, {
|
|
356
|
-
default:
|
|
356
|
+
default: A(() => [
|
|
357
357
|
C(re, null, {
|
|
358
|
-
default:
|
|
358
|
+
default: A(() => [
|
|
359
359
|
(n(!0), b(P, null, Q(d.value, ({
|
|
360
360
|
label: W = "",
|
|
361
|
-
prop:
|
|
361
|
+
prop: f = "",
|
|
362
362
|
type: o = "text",
|
|
363
363
|
placeholder: g = "",
|
|
364
364
|
readonly: z = e.readonlys,
|
|
@@ -370,166 +370,167 @@ const Ye = { class: "bsgoal-base-form" }, He = { class: "base_form" }, We = { ke
|
|
|
370
370
|
format: X = "",
|
|
371
371
|
rules: ne = [],
|
|
372
372
|
limit: ue = e.limits
|
|
373
|
-
} = {}, E) => (n(),
|
|
373
|
+
} = {}, E) => (n(), y(ce, {
|
|
374
374
|
key: E,
|
|
375
375
|
xs: 24,
|
|
376
376
|
sm: 24,
|
|
377
377
|
md: e.medium
|
|
378
378
|
}, {
|
|
379
|
-
default:
|
|
379
|
+
default: A(() => [
|
|
380
380
|
C(le, {
|
|
381
381
|
label: W,
|
|
382
|
-
prop:
|
|
382
|
+
prop: f,
|
|
383
383
|
rules: ne
|
|
384
384
|
}, {
|
|
385
|
-
default:
|
|
386
|
-
J(
|
|
387
|
-
option: { readonly: z, value: t.value[
|
|
385
|
+
default: A(() => [
|
|
386
|
+
J(h.$slots, [f], {
|
|
387
|
+
option: { readonly: z, value: t.value[f], values: t.value }
|
|
388
388
|
}, () => [
|
|
389
389
|
z ? (n(), b("div", We, [
|
|
390
390
|
C(Be, {
|
|
391
|
-
content: t.value[
|
|
391
|
+
content: t.value[f],
|
|
392
392
|
limit: ue,
|
|
393
393
|
none: e.none
|
|
394
394
|
}, null, 8, ["content", "limit", "none"])
|
|
395
395
|
])) : (n(), b(P, { key: 0 }, [
|
|
396
|
-
o === c(l).INPUT ? (n(),
|
|
396
|
+
o === c(l).INPUT ? (n(), y(T, {
|
|
397
397
|
key: 0,
|
|
398
|
-
modelValue: t.value[
|
|
399
|
-
"onUpdate:modelValue": (
|
|
398
|
+
modelValue: t.value[f],
|
|
399
|
+
"onUpdate:modelValue": (p) => t.value[f] = p,
|
|
400
400
|
placeholder: _(o, W, g),
|
|
401
401
|
clearable: ge,
|
|
402
|
-
onChange: (
|
|
402
|
+
onChange: (p) => k(o, f)
|
|
403
403
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder", "clearable", "onChange"])) : $("", !0),
|
|
404
|
-
o === c(l).INPUT_TEXT_AREA ? (n(),
|
|
404
|
+
o === c(l).INPUT_TEXT_AREA ? (n(), y(T, {
|
|
405
405
|
key: 1,
|
|
406
|
-
modelValue: t.value[
|
|
407
|
-
"onUpdate:modelValue": (
|
|
406
|
+
modelValue: t.value[f],
|
|
407
|
+
"onUpdate:modelValue": (p) => t.value[f] = p,
|
|
408
408
|
type: "textarea",
|
|
409
409
|
rows: fe,
|
|
410
410
|
clearable: ge,
|
|
411
411
|
placeholder: _(o, W, g),
|
|
412
|
-
onChange: (
|
|
412
|
+
onChange: (p) => k(o, f)
|
|
413
413
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "rows", "clearable", "placeholder", "onChange"])) : $("", !0),
|
|
414
|
-
o === c(l).INPUT_NUMBER ? (n(),
|
|
414
|
+
o === c(l).INPUT_NUMBER ? (n(), y(B, {
|
|
415
415
|
key: 2,
|
|
416
|
-
modelValue:
|
|
417
|
-
"onUpdate:modelValue":
|
|
416
|
+
modelValue: t.value[f],
|
|
417
|
+
"onUpdate:modelValue": (p) => t.value[f] = p,
|
|
418
|
+
"controls-position": "right",
|
|
418
419
|
min: ve,
|
|
419
420
|
max: ie,
|
|
420
421
|
onChange: k
|
|
421
|
-
}, null, 8, ["modelValue", "min", "max"])) : $("", !0),
|
|
422
|
-
o === c(l).RADIO ? (n(),
|
|
422
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "min", "max"])) : $("", !0),
|
|
423
|
+
o === c(l).RADIO ? (n(), y(I, {
|
|
423
424
|
key: 3,
|
|
424
|
-
modelValue: t.value[
|
|
425
|
-
"onUpdate:modelValue": (
|
|
426
|
-
onChange: (
|
|
425
|
+
modelValue: t.value[f],
|
|
426
|
+
"onUpdate:modelValue": (p) => t.value[f] = p,
|
|
427
|
+
onChange: (p) => k(o, f)
|
|
427
428
|
}, {
|
|
428
|
-
default:
|
|
429
|
-
(n(!0), b(P, null, Q(q, (
|
|
429
|
+
default: A(() => [
|
|
430
|
+
(n(!0), b(P, null, Q(q, (p, de) => (n(), y(m, {
|
|
430
431
|
key: de,
|
|
431
|
-
label:
|
|
432
|
+
label: p.value
|
|
432
433
|
}, {
|
|
433
|
-
default:
|
|
434
|
-
G(j(
|
|
434
|
+
default: A(() => [
|
|
435
|
+
G(j(p.label), 1)
|
|
435
436
|
]),
|
|
436
437
|
_: 2
|
|
437
438
|
}, 1032, ["label"]))), 128))
|
|
438
439
|
]),
|
|
439
440
|
_: 2
|
|
440
441
|
}, 1032, ["modelValue", "onUpdate:modelValue", "onChange"])) : $("", !0),
|
|
441
|
-
o === c(l).SELECT ? (n(),
|
|
442
|
+
o === c(l).SELECT ? (n(), y(L, {
|
|
442
443
|
key: 4,
|
|
443
|
-
modelValue: t.value[
|
|
444
|
-
"onUpdate:modelValue": (
|
|
444
|
+
modelValue: t.value[f],
|
|
445
|
+
"onUpdate:modelValue": (p) => t.value[f] = p,
|
|
445
446
|
placeholder: _(o, W, g),
|
|
446
|
-
onChange: (
|
|
447
|
+
onChange: (p) => k(o, f)
|
|
447
448
|
}, {
|
|
448
|
-
default:
|
|
449
|
-
(n(!0), b(P, null, Q(q, (
|
|
449
|
+
default: A(() => [
|
|
450
|
+
(n(!0), b(P, null, Q(q, (p, de) => (n(), y(N, {
|
|
450
451
|
key: de,
|
|
451
|
-
label:
|
|
452
|
-
value:
|
|
452
|
+
label: p.label,
|
|
453
|
+
value: p.value
|
|
453
454
|
}, null, 8, ["label", "value"]))), 128))
|
|
454
455
|
]),
|
|
455
456
|
_: 2
|
|
456
457
|
}, 1032, ["modelValue", "onUpdate:modelValue", "placeholder", "onChange"])) : $("", !0),
|
|
457
|
-
o === c(l).SLIDER ? (n(),
|
|
458
|
+
o === c(l).SLIDER ? (n(), y(F, {
|
|
458
459
|
key: 5,
|
|
459
|
-
modelValue: t.value[
|
|
460
|
-
"onUpdate:modelValue": (
|
|
460
|
+
modelValue: t.value[f],
|
|
461
|
+
"onUpdate:modelValue": (p) => t.value[f] = p,
|
|
461
462
|
min: ve,
|
|
462
463
|
max: ie,
|
|
463
|
-
onChange: (
|
|
464
|
+
onChange: (p) => k(o, f)
|
|
464
465
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "min", "max", "onChange"])) : $("", !0),
|
|
465
|
-
o === c(l).SWITCH ? (n(),
|
|
466
|
+
o === c(l).SWITCH ? (n(), y(Y, {
|
|
466
467
|
key: 6,
|
|
467
|
-
modelValue: t.value[
|
|
468
|
-
"onUpdate:modelValue": (
|
|
468
|
+
modelValue: t.value[f],
|
|
469
|
+
"onUpdate:modelValue": (p) => t.value[f] = p,
|
|
469
470
|
"active-value": D(q, "active-value"),
|
|
470
471
|
"inactive-value": D(q, "inactive-value"),
|
|
471
472
|
"active-text": D(q, "active-text"),
|
|
472
473
|
"inactive-text": D(q, "inactive-text"),
|
|
473
|
-
onChange: (
|
|
474
|
+
onChange: (p) => k(o, f)
|
|
474
475
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "active-value", "inactive-value", "active-text", "inactive-text", "onChange"])) : $("", !0),
|
|
475
476
|
[c(l).DATE, c(l).MONTH, c(l).YEAR, c(l).DATE_TIME].includes(
|
|
476
477
|
o
|
|
477
|
-
) ? (n(),
|
|
478
|
+
) ? (n(), y(R, {
|
|
478
479
|
key: 7,
|
|
479
|
-
modelValue: t.value[
|
|
480
|
-
"onUpdate:modelValue": (
|
|
480
|
+
modelValue: t.value[f],
|
|
481
|
+
"onUpdate:modelValue": (p) => t.value[f] = p,
|
|
481
482
|
format: V(o, X),
|
|
482
483
|
"value-format": V(o, X),
|
|
483
484
|
type: o,
|
|
484
485
|
placeholder: _(o, W, g),
|
|
485
|
-
onChange: (
|
|
486
|
+
onChange: (p) => k(o, f)
|
|
486
487
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "format", "value-format", "type", "placeholder", "onChange"])) : $("", !0),
|
|
487
488
|
[
|
|
488
489
|
c(l).DATE_RANGE,
|
|
489
490
|
c(l).MONTH_RANGE,
|
|
490
491
|
c(l).DATE_TIME_RANGE
|
|
491
|
-
].includes(o) ? (n(),
|
|
492
|
+
].includes(o) ? (n(), y(R, {
|
|
492
493
|
key: 8,
|
|
493
|
-
modelValue: t.value[
|
|
494
|
-
"onUpdate:modelValue": (
|
|
494
|
+
modelValue: t.value[f],
|
|
495
|
+
"onUpdate:modelValue": (p) => t.value[f] = p,
|
|
495
496
|
type: o,
|
|
496
497
|
"value-format": V(o, X),
|
|
497
498
|
"start-placeholder": _(o, W, g)[0],
|
|
498
499
|
"end-placeholder": _(o, W, g)[1],
|
|
499
|
-
onChange: (
|
|
500
|
+
onChange: (p) => k(o, f)
|
|
500
501
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "type", "value-format", "start-placeholder", "end-placeholder", "onChange"])) : $("", !0),
|
|
501
|
-
[c(l).TIME].includes(o) ? (n(),
|
|
502
|
+
[c(l).TIME].includes(o) ? (n(), y(H, {
|
|
502
503
|
key: 9,
|
|
503
|
-
modelValue: t.value[
|
|
504
|
-
"onUpdate:modelValue": (
|
|
504
|
+
modelValue: t.value[f],
|
|
505
|
+
"onUpdate:modelValue": (p) => t.value[f] = p,
|
|
505
506
|
"arrow-control": "",
|
|
506
507
|
"value-format": V(o, X),
|
|
507
508
|
placeholder: _(o, W, g),
|
|
508
|
-
onChange: (
|
|
509
|
+
onChange: (p) => k(o, f)
|
|
509
510
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "value-format", "placeholder", "onChange"])) : $("", !0),
|
|
510
|
-
[c(l).TIME_RANGE].includes(o) ? (n(),
|
|
511
|
+
[c(l).TIME_RANGE].includes(o) ? (n(), y(H, {
|
|
511
512
|
key: 10,
|
|
512
|
-
modelValue: t.value[
|
|
513
|
-
"onUpdate:modelValue": (
|
|
513
|
+
modelValue: t.value[f],
|
|
514
|
+
"onUpdate:modelValue": (p) => t.value[f] = p,
|
|
514
515
|
"is-range": "",
|
|
515
516
|
"value-format": V(o, X),
|
|
516
517
|
"start-placeholder": _(o, W, g)[0],
|
|
517
518
|
"end-placeholder": _(o, W, g)[1],
|
|
518
|
-
onChange: (
|
|
519
|
+
onChange: (p) => k(o, f)
|
|
519
520
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "value-format", "start-placeholder", "end-placeholder", "onChange"])) : $("", !0),
|
|
520
|
-
[c(l).CHECKBOX].includes(o) ? (n(),
|
|
521
|
+
[c(l).CHECKBOX].includes(o) ? (n(), y(ae, {
|
|
521
522
|
key: 11,
|
|
522
|
-
modelValue: t.value[
|
|
523
|
-
"onUpdate:modelValue": (
|
|
524
|
-
onChange: (
|
|
523
|
+
modelValue: t.value[f],
|
|
524
|
+
"onUpdate:modelValue": (p) => t.value[f] = p,
|
|
525
|
+
onChange: (p) => k(o, f)
|
|
525
526
|
}, {
|
|
526
|
-
default:
|
|
527
|
-
(n(!0), b(P, null, Q(q, (
|
|
527
|
+
default: A(() => [
|
|
528
|
+
(n(!0), b(P, null, Q(q, (p, de) => (n(), y(ee, {
|
|
528
529
|
key: de,
|
|
529
|
-
label:
|
|
530
|
+
label: p.value
|
|
530
531
|
}, {
|
|
531
|
-
default:
|
|
532
|
-
G(j(
|
|
532
|
+
default: A(() => [
|
|
533
|
+
G(j(p.label), 1)
|
|
533
534
|
]),
|
|
534
535
|
_: 2
|
|
535
536
|
}, 1032, ["label"]))), 128))
|
|
@@ -590,7 +591,7 @@ const Ze = { class: "bsgoal-base-table-content" }, Ke = { class: "base_table_con
|
|
|
590
591
|
setup(e) {
|
|
591
592
|
return (s, a) => (n(), b("div", Ze, [
|
|
592
593
|
O("div", Ke, [
|
|
593
|
-
e.tooltip ? (n(),
|
|
594
|
+
e.tooltip ? (n(), y(Be, {
|
|
594
595
|
key: 0,
|
|
595
596
|
content: e.data,
|
|
596
597
|
limit: e.limit
|
|
@@ -766,13 +767,13 @@ const at = { class: "bsgoal-base-table-pagination" }, lt = { class: "base_table_
|
|
|
766
767
|
s("on-size-change", u);
|
|
767
768
|
}, i = (u = 1) => {
|
|
768
769
|
s("on-current-change", u);
|
|
769
|
-
}, r =
|
|
770
|
+
}, r = w(1);
|
|
770
771
|
return (u, t) => {
|
|
771
|
-
const d =
|
|
772
|
+
const d = v("el-pagination"), _ = v("el-config-provider");
|
|
772
773
|
return n(), b("div", at, [
|
|
773
774
|
O("div", lt, [
|
|
774
775
|
C(_, { locale: c(tt) }, {
|
|
775
|
-
default:
|
|
776
|
+
default: A(() => [
|
|
776
777
|
C(d, {
|
|
777
778
|
background: "",
|
|
778
779
|
layout: "total, sizes, prev, pager, next, jumper",
|
|
@@ -784,7 +785,7 @@ const at = { class: "bsgoal-base-table-pagination" }, lt = { class: "base_table_
|
|
|
784
785
|
onSizeChange: a,
|
|
785
786
|
onCurrentChange: i
|
|
786
787
|
}, {
|
|
787
|
-
next:
|
|
788
|
+
next: A(() => [
|
|
788
789
|
nt
|
|
789
790
|
]),
|
|
790
791
|
_: 1
|
|
@@ -829,8 +830,8 @@ const _t = /* @__PURE__ */ we(ut, [["render", dt]]), mt = (e = null, { expressio
|
|
|
829
830
|
i && (_ ? d = `${i}px` : d = i), u.style.height = d;
|
|
830
831
|
});
|
|
831
832
|
}
|
|
832
|
-
},
|
|
833
|
-
const r =
|
|
833
|
+
}, xe = (e = Promise.resolve(), s = null, a = w(!1), i = w(null)) => {
|
|
834
|
+
const r = w("");
|
|
834
835
|
return a.value = !0, e.then((u = {}) => {
|
|
835
836
|
const { data: t = {}, message: d = "" } = u;
|
|
836
837
|
i.value = t, r.value = d, s && s(!0, t), a.value = !1;
|
|
@@ -975,45 +976,45 @@ const vt = { class: "bsgoal-base-table" }, pt = { class: "base_table" }, ht = {
|
|
|
975
976
|
},
|
|
976
977
|
setup(e, { expose: s }) {
|
|
977
978
|
const a = e, i = Z(() => {
|
|
978
|
-
const { configOptions: m = [], operation: I = !1, operationWidth:
|
|
979
|
+
const { configOptions: m = [], operation: I = !1, operationWidth: N = 0 } = a, L = c(m), F = [];
|
|
979
980
|
return I && F.push({
|
|
980
981
|
label: "操作",
|
|
981
982
|
fixed: "right",
|
|
982
983
|
prop: "operation",
|
|
983
|
-
width:
|
|
984
|
+
width: N
|
|
984
985
|
}), [...L, ...F];
|
|
985
|
-
}), r =
|
|
986
|
+
}), r = w(null), u = Ce("transferFoldStatus");
|
|
986
987
|
pe(() => {
|
|
987
|
-
const { height: m } = a, I = u ? u.value : !1,
|
|
988
|
-
ft(m) || mt(r, { arg: I, expression:
|
|
988
|
+
const { height: m } = a, I = u ? u.value : !1, N = c(a.expression);
|
|
989
|
+
ft(m) || mt(r, { arg: I, expression: N, height: m });
|
|
989
990
|
});
|
|
990
991
|
const t = c(a.mapProps), d = he({
|
|
991
992
|
currentPage: "currentPage",
|
|
992
993
|
pageSize: "pageSize",
|
|
993
994
|
rows: "rows",
|
|
994
995
|
total: "total"
|
|
995
|
-
}, t), _ =
|
|
996
|
-
const { fetch: m, call: I, hasPage:
|
|
997
|
-
|
|
996
|
+
}, t), _ = w(1), V = w(10), M = w(0), S = w({}), k = w(a.loading), U = w(), D = w({}), h = () => {
|
|
997
|
+
const { fetch: m, call: I, hasPage: N } = a, L = S.value, F = _.value, Y = V.value, R = he({}, L);
|
|
998
|
+
N && (R[d.currentPage] = F, R[d.pageSize] = Y), xe(m(R), I, k, D);
|
|
998
999
|
};
|
|
999
1000
|
pe(() => {
|
|
1000
1001
|
U.value = a.data;
|
|
1001
1002
|
}), _e(D, (m) => {
|
|
1002
1003
|
a.hasPage ? (U.value = m[d.rows], M.value = m[d.total]) : U.value = m;
|
|
1003
1004
|
});
|
|
1004
|
-
const
|
|
1005
|
-
S.value = m, _.value = 1,
|
|
1005
|
+
const x = (m = {}) => {
|
|
1006
|
+
S.value = m, _.value = 1, h();
|
|
1006
1007
|
}, T = (m = 1) => {
|
|
1007
1008
|
_.value = m;
|
|
1008
1009
|
}, B = (m = 10) => {
|
|
1009
1010
|
V.value = m;
|
|
1010
1011
|
};
|
|
1011
1012
|
return _e([_, V], () => {
|
|
1012
|
-
|
|
1013
|
+
h();
|
|
1013
1014
|
}), s({
|
|
1014
|
-
refreshList:
|
|
1015
|
+
refreshList: x
|
|
1015
1016
|
}), (m, I) => {
|
|
1016
|
-
const
|
|
1017
|
+
const N = v("el-table-column"), L = v("el-table"), F = Ie("loading");
|
|
1017
1018
|
return n(), b("div", vt, [
|
|
1018
1019
|
O("div", pt, [
|
|
1019
1020
|
m.$slots.menu ? (n(), b("div", ht, [
|
|
@@ -1023,7 +1024,7 @@ const vt = { class: "bsgoal-base-table" }, pt = { class: "base_table" }, ht = {
|
|
|
1023
1024
|
ref_key: "EL_TABLE_WRAP_REF",
|
|
1024
1025
|
ref: r
|
|
1025
1026
|
}, [
|
|
1026
|
-
K((n(),
|
|
1027
|
+
K((n(), y(L, {
|
|
1027
1028
|
stripe: "",
|
|
1028
1029
|
border: "",
|
|
1029
1030
|
"highlight-current-row": "",
|
|
@@ -1036,11 +1037,11 @@ const vt = { class: "bsgoal-base-table" }, pt = { class: "base_table" }, ht = {
|
|
|
1036
1037
|
fontSize: "14px"
|
|
1037
1038
|
}
|
|
1038
1039
|
}, {
|
|
1039
|
-
empty:
|
|
1040
|
+
empty: A(() => [
|
|
1040
1041
|
C(_t)
|
|
1041
1042
|
]),
|
|
1042
|
-
default:
|
|
1043
|
-
e.selection ? (n(),
|
|
1043
|
+
default: A(() => [
|
|
1044
|
+
e.selection ? (n(), y(N, {
|
|
1044
1045
|
key: 0,
|
|
1045
1046
|
fixed: "left",
|
|
1046
1047
|
type: "selection",
|
|
@@ -1054,7 +1055,7 @@ const vt = { class: "bsgoal-base-table" }, pt = { class: "base_table" }, ht = {
|
|
|
1054
1055
|
fixed: ae = !1,
|
|
1055
1056
|
tooltip: le = !1,
|
|
1056
1057
|
limit: ce = 0
|
|
1057
|
-
} = {}, re) => (n(),
|
|
1058
|
+
} = {}, re) => (n(), y(N, {
|
|
1058
1059
|
key: re,
|
|
1059
1060
|
label: R,
|
|
1060
1061
|
align: H,
|
|
@@ -1062,7 +1063,7 @@ const vt = { class: "bsgoal-base-table" }, pt = { class: "base_table" }, ht = {
|
|
|
1062
1063
|
fixed: ae,
|
|
1063
1064
|
"min-width": `${R.length * 14 + 24}px`
|
|
1064
1065
|
}, {
|
|
1065
|
-
default:
|
|
1066
|
+
default: A(({ row: se }) => [
|
|
1066
1067
|
J(m.$slots, Y, { row: se }, () => [
|
|
1067
1068
|
C(et, {
|
|
1068
1069
|
limit: ce,
|
|
@@ -1079,7 +1080,7 @@ const vt = { class: "bsgoal-base-table" }, pt = { class: "base_table" }, ht = {
|
|
|
1079
1080
|
[F, k.value]
|
|
1080
1081
|
])
|
|
1081
1082
|
], 512),
|
|
1082
|
-
e.hasPage ? (n(),
|
|
1083
|
+
e.hasPage ? (n(), y(st, {
|
|
1083
1084
|
key: 1,
|
|
1084
1085
|
total: M.value,
|
|
1085
1086
|
onOnCurrentChange: T,
|
|
@@ -1092,7 +1093,7 @@ const vt = { class: "bsgoal-base-table" }, pt = { class: "base_table" }, ht = {
|
|
|
1092
1093
|
});
|
|
1093
1094
|
const bt = {
|
|
1094
1095
|
name: "BsgoalBaseLine"
|
|
1095
|
-
},
|
|
1096
|
+
}, Ae = /* @__PURE__ */ Object.assign(bt, {
|
|
1096
1097
|
props: {
|
|
1097
1098
|
/**
|
|
1098
1099
|
* 是否为垂直
|
|
@@ -1120,10 +1121,10 @@ var oe = (e, s) => {
|
|
|
1120
1121
|
return a;
|
|
1121
1122
|
}, yt = {
|
|
1122
1123
|
name: "ArrowDown"
|
|
1123
|
-
},
|
|
1124
|
+
}, xt = {
|
|
1124
1125
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1125
1126
|
viewBox: "0 0 1024 1024"
|
|
1126
|
-
},
|
|
1127
|
+
}, At = /* @__PURE__ */ O(
|
|
1127
1128
|
"path",
|
|
1128
1129
|
{
|
|
1129
1130
|
fill: "currentColor",
|
|
@@ -1133,10 +1134,10 @@ var oe = (e, s) => {
|
|
|
1133
1134
|
-1
|
|
1134
1135
|
/* HOISTED */
|
|
1135
1136
|
), Tt = [
|
|
1136
|
-
|
|
1137
|
+
At
|
|
1137
1138
|
];
|
|
1138
1139
|
function Vt(e, s, a, i, r, u) {
|
|
1139
|
-
return n(), b("svg",
|
|
1140
|
+
return n(), b("svg", xt, Tt);
|
|
1140
1141
|
}
|
|
1141
1142
|
var $t = /* @__PURE__ */ oe(yt, [["render", Vt], ["__file", "arrow-down.vue"]]), Ct = {
|
|
1142
1143
|
name: "ArrowLeft"
|
|
@@ -1273,18 +1274,18 @@ const ca = { class: "bsgoal-base-search-operation" }, ra = {
|
|
|
1273
1274
|
},
|
|
1274
1275
|
emits: ["on-fold"],
|
|
1275
1276
|
setup(e, { emit: s }) {
|
|
1276
|
-
const a =
|
|
1277
|
+
const a = w(!1), i = () => {
|
|
1277
1278
|
a.value = !c(a), s("on-fold", a.value);
|
|
1278
1279
|
};
|
|
1279
1280
|
return (r, u) => {
|
|
1280
|
-
const t =
|
|
1281
|
+
const t = v("el-button"), d = v("el-icon");
|
|
1281
1282
|
return n(), b("div", ca, [
|
|
1282
1283
|
C(t, {
|
|
1283
1284
|
type: "primary",
|
|
1284
1285
|
icon: c(ua),
|
|
1285
1286
|
onClick: u[0] || (u[0] = (_) => r.$emit("on-search"))
|
|
1286
1287
|
}, {
|
|
1287
|
-
default:
|
|
1288
|
+
default: A(() => [
|
|
1288
1289
|
G("搜索")
|
|
1289
1290
|
]),
|
|
1290
1291
|
_: 1
|
|
@@ -1293,7 +1294,7 @@ const ca = { class: "bsgoal-base-search-operation" }, ra = {
|
|
|
1293
1294
|
icon: c(ke),
|
|
1294
1295
|
onClick: u[1] || (u[1] = (_) => r.$emit("on-clear"))
|
|
1295
1296
|
}, {
|
|
1296
|
-
default:
|
|
1297
|
+
default: A(() => [
|
|
1297
1298
|
G("清空")
|
|
1298
1299
|
]),
|
|
1299
1300
|
_: 1
|
|
@@ -1306,7 +1307,7 @@ const ca = { class: "bsgoal-base-search-operation" }, ra = {
|
|
|
1306
1307
|
}, [
|
|
1307
1308
|
G(j(a.value ? "收起" : "展开"), 1),
|
|
1308
1309
|
C(d, { color: "#409EFC" }, {
|
|
1309
|
-
default:
|
|
1310
|
+
default: A(() => [
|
|
1310
1311
|
K(C(c(Gt), null, null, 512), [
|
|
1311
1312
|
[te, a.value]
|
|
1312
1313
|
]),
|
|
@@ -1356,14 +1357,14 @@ const da = { class: "bsgoal-base-cascader" }, _a = {
|
|
|
1356
1357
|
},
|
|
1357
1358
|
emits: ["update:model-value", "on-change"],
|
|
1358
1359
|
setup(e, { emit: s }) {
|
|
1359
|
-
const a =
|
|
1360
|
+
const a = w({
|
|
1360
1361
|
checkStrictly: !0,
|
|
1361
1362
|
multiple: !1
|
|
1362
1363
|
}), i = (r) => {
|
|
1363
1364
|
s("update:model-value", r), s("on-change", r);
|
|
1364
1365
|
};
|
|
1365
1366
|
return (r, u) => {
|
|
1366
|
-
const t =
|
|
1367
|
+
const t = v("el-cascader");
|
|
1367
1368
|
return n(), b("div", da, [
|
|
1368
1369
|
C(t, {
|
|
1369
1370
|
clearable: "",
|
|
@@ -1423,22 +1424,22 @@ const ga = { class: "bsgoal-base-search" }, fa = { class: "base_search" }, va =
|
|
|
1423
1424
|
},
|
|
1424
1425
|
emits: ["on-search", "on-clear", "on-change", "on-fold"],
|
|
1425
1426
|
setup(e, { expose: s, emit: a }) {
|
|
1426
|
-
const i = e, r =
|
|
1427
|
+
const i = e, r = w(null), u = ye.align, t = w({});
|
|
1427
1428
|
pe(() => {
|
|
1428
|
-
const { configOptions:
|
|
1429
|
-
c(
|
|
1430
|
-
const { value: m, prop: I = "", type:
|
|
1431
|
-
[l.INPUT, l.INPUT_TEXT_AREA].includes(
|
|
1429
|
+
const { configOptions: x } = i;
|
|
1430
|
+
c(x).forEach((B) => {
|
|
1431
|
+
const { value: m, prop: I = "", type: N = "" } = B;
|
|
1432
|
+
[l.INPUT, l.INPUT_TEXT_AREA].includes(N), t.value[I] = [0, !1].includes(m) ? m : "";
|
|
1432
1433
|
});
|
|
1433
1434
|
});
|
|
1434
1435
|
const d = Z(() => {
|
|
1435
|
-
const { configOptions:
|
|
1436
|
+
const { configOptions: x } = i, T = c(x), B = {
|
|
1436
1437
|
type: l.OPERATION
|
|
1437
1438
|
};
|
|
1438
1439
|
return [...T, B];
|
|
1439
|
-
}), _ = (
|
|
1440
|
+
}), _ = (x = "", T = "", B = "") => {
|
|
1440
1441
|
if (!B)
|
|
1441
|
-
switch (
|
|
1442
|
+
switch (x) {
|
|
1442
1443
|
case l.INPUT:
|
|
1443
1444
|
case l.INPUT_TEXT_AREA:
|
|
1444
1445
|
return `请输入${T}`;
|
|
@@ -1460,9 +1461,9 @@ const ga = { class: "bsgoal-base-search" }, fa = { class: "base_search" }, va =
|
|
|
1460
1461
|
return ["开始月份", "结束月份"];
|
|
1461
1462
|
}
|
|
1462
1463
|
return B;
|
|
1463
|
-
}, V = (
|
|
1464
|
+
}, V = (x = "", T = "") => {
|
|
1464
1465
|
if (!T)
|
|
1465
|
-
switch (
|
|
1466
|
+
switch (x) {
|
|
1466
1467
|
case l.WEEK:
|
|
1467
1468
|
return "ww";
|
|
1468
1469
|
case l.DATE:
|
|
@@ -1483,15 +1484,15 @@ const ga = { class: "bsgoal-base-search" }, fa = { class: "base_search" }, va =
|
|
|
1483
1484
|
}
|
|
1484
1485
|
return T;
|
|
1485
1486
|
}, M = () => {
|
|
1486
|
-
const { configOptions:
|
|
1487
|
+
const { configOptions: x } = i, T = c(t), B = c(x), m = {};
|
|
1487
1488
|
for (const I of B) {
|
|
1488
|
-
const { type:
|
|
1489
|
-
if ([l.CASCADER].includes(
|
|
1489
|
+
const { type: N = "", range: L = [], prop: F = "", single: Y = !1 } = I, R = T[F];
|
|
1490
|
+
if ([l.CASCADER].includes(N) && Array.isArray(R) && Y) {
|
|
1490
1491
|
const H = R.length;
|
|
1491
1492
|
H ? m[F] = R[H - 1] : m[F] = R;
|
|
1492
1493
|
} else
|
|
1493
1494
|
Re(R) ? m[F] = Fe(R) : m[F] = R;
|
|
1494
|
-
if (
|
|
1495
|
+
if (N.endsWith("range") && L && L.length === 2) {
|
|
1495
1496
|
const { 0: H = "", 1: ee = "" } = R, { 0: ae = "", 1: le = "" } = L;
|
|
1496
1497
|
m[ae] = H, m[le] = ee;
|
|
1497
1498
|
}
|
|
@@ -1503,12 +1504,12 @@ const ga = { class: "bsgoal-base-search" }, fa = { class: "base_search" }, va =
|
|
|
1503
1504
|
});
|
|
1504
1505
|
const S = () => {
|
|
1505
1506
|
r.value.resetFields(), a("on-clear", t.value);
|
|
1506
|
-
}, k = Ce("transferFoldStatus"), U =
|
|
1507
|
-
U.value =
|
|
1508
|
-
},
|
|
1507
|
+
}, k = Ce("transferFoldStatus"), U = w(!1), D = (x = !1) => {
|
|
1508
|
+
U.value = x, k && (k.value = x), a("on-fold", U);
|
|
1509
|
+
}, h = (x, T) => {
|
|
1509
1510
|
M();
|
|
1510
1511
|
const B = {
|
|
1511
|
-
type:
|
|
1512
|
+
type: x,
|
|
1512
1513
|
prop: T,
|
|
1513
1514
|
value: t.value[T] || ""
|
|
1514
1515
|
};
|
|
@@ -1516,22 +1517,22 @@ const ga = { class: "bsgoal-base-search" }, fa = { class: "base_search" }, va =
|
|
|
1516
1517
|
};
|
|
1517
1518
|
return s({
|
|
1518
1519
|
triggerOperationSearch: M
|
|
1519
|
-
}), (
|
|
1520
|
-
const B =
|
|
1520
|
+
}), (x, T) => {
|
|
1521
|
+
const B = v("el-input"), m = v("el-input-number"), I = v("el-radio"), N = v("el-radio-group"), L = v("el-option"), F = v("el-select"), Y = v("el-slider"), R = v("el-switch"), H = v("el-date-picker"), ee = v("el-time-picker"), ae = v("el-checkbox"), le = v("el-checkbox-group"), ce = v("el-form-item"), re = v("el-col"), se = v("el-row"), W = v("el-form");
|
|
1521
1522
|
return n(), b("div", ga, [
|
|
1522
1523
|
O("div", fa, [
|
|
1523
|
-
K((n(),
|
|
1524
|
+
K((n(), y(W, {
|
|
1524
1525
|
ref_key: "EL_FORM_REF",
|
|
1525
1526
|
ref: r,
|
|
1526
1527
|
"label-suffix": ":",
|
|
1527
1528
|
"show-message": !1,
|
|
1528
1529
|
model: t.value
|
|
1529
1530
|
}, {
|
|
1530
|
-
default:
|
|
1531
|
+
default: A(() => [
|
|
1531
1532
|
C(se, null, {
|
|
1532
|
-
default:
|
|
1533
|
+
default: A(() => [
|
|
1533
1534
|
(n(!0), b(P, null, Q(d.value, ({
|
|
1534
|
-
label:
|
|
1535
|
+
label: f = "",
|
|
1535
1536
|
prop: o = "",
|
|
1536
1537
|
type: g = "text",
|
|
1537
1538
|
placeholder: z = "",
|
|
@@ -1542,56 +1543,56 @@ const ga = { class: "bsgoal-base-search" }, fa = { class: "base_search" }, va =
|
|
|
1542
1543
|
max: q = 10,
|
|
1543
1544
|
range: X = [],
|
|
1544
1545
|
format: ne = ""
|
|
1545
|
-
} = {}, ue) => K((n(),
|
|
1546
|
+
} = {}, ue) => K((n(), y(re, {
|
|
1546
1547
|
key: ue,
|
|
1547
1548
|
xs: 24,
|
|
1548
1549
|
sm: 12,
|
|
1549
1550
|
md: e.medium
|
|
1550
1551
|
}, {
|
|
1551
|
-
default:
|
|
1552
|
+
default: A(() => [
|
|
1552
1553
|
C(ce, {
|
|
1553
|
-
label:
|
|
1554
|
+
label: f,
|
|
1554
1555
|
prop: o
|
|
1555
1556
|
}, {
|
|
1556
|
-
default:
|
|
1557
|
+
default: A(() => [
|
|
1557
1558
|
ge ? (n(), b("div", va, j(t.value[o]), 1)) : (n(), b(P, { key: 0 }, [
|
|
1558
|
-
g === c(l).INPUT ? (n(),
|
|
1559
|
+
g === c(l).INPUT ? (n(), y(B, {
|
|
1559
1560
|
key: 0,
|
|
1560
1561
|
modelValue: t.value[o],
|
|
1561
1562
|
"onUpdate:modelValue": (E) => t.value[o] = E,
|
|
1562
|
-
placeholder: _(g,
|
|
1563
|
+
placeholder: _(g, f, z),
|
|
1563
1564
|
clearable: fe
|
|
1564
1565
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder", "clearable"])) : $("", !0),
|
|
1565
|
-
g === c(l).INPUT_TEXT_AREA ? (n(),
|
|
1566
|
+
g === c(l).INPUT_TEXT_AREA ? (n(), y(B, {
|
|
1566
1567
|
key: 1,
|
|
1567
1568
|
modelValue: t.value[o],
|
|
1568
1569
|
"onUpdate:modelValue": (E) => t.value[o] = E,
|
|
1569
1570
|
type: "textarea",
|
|
1570
1571
|
rows: ve,
|
|
1571
1572
|
clearable: fe,
|
|
1572
|
-
placeholder: _(g,
|
|
1573
|
-
onChange: (E) =>
|
|
1573
|
+
placeholder: _(g, f, z),
|
|
1574
|
+
onChange: (E) => h(g, o)
|
|
1574
1575
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "rows", "clearable", "placeholder", "onChange"])) : $("", !0),
|
|
1575
|
-
g === c(l).INPUT_NUMBER ? (n(),
|
|
1576
|
+
g === c(l).INPUT_NUMBER ? (n(), y(m, {
|
|
1576
1577
|
key: 2,
|
|
1577
|
-
modelValue:
|
|
1578
|
-
"onUpdate:modelValue": T[0] || (T[0] = (E) =>
|
|
1578
|
+
modelValue: x.num,
|
|
1579
|
+
"onUpdate:modelValue": T[0] || (T[0] = (E) => x.num = E),
|
|
1579
1580
|
min: ie,
|
|
1580
1581
|
max: q,
|
|
1581
|
-
onChange:
|
|
1582
|
+
onChange: h
|
|
1582
1583
|
}, null, 8, ["modelValue", "min", "max"])) : $("", !0),
|
|
1583
|
-
g === c(l).RADIO ? (n(),
|
|
1584
|
+
g === c(l).RADIO ? (n(), y(N, {
|
|
1584
1585
|
key: 3,
|
|
1585
1586
|
modelValue: t.value[o],
|
|
1586
1587
|
"onUpdate:modelValue": (E) => t.value[o] = E,
|
|
1587
|
-
onChange: (E) =>
|
|
1588
|
+
onChange: (E) => h(g, o)
|
|
1588
1589
|
}, {
|
|
1589
|
-
default:
|
|
1590
|
-
(n(!0), b(P, null, Q(X, (E,
|
|
1591
|
-
key:
|
|
1590
|
+
default: A(() => [
|
|
1591
|
+
(n(!0), b(P, null, Q(X, (E, p) => (n(), y(I, {
|
|
1592
|
+
key: p,
|
|
1592
1593
|
label: E.value
|
|
1593
1594
|
}, {
|
|
1594
|
-
default:
|
|
1595
|
+
default: A(() => [
|
|
1595
1596
|
G(j(E.label), 1)
|
|
1596
1597
|
]),
|
|
1597
1598
|
_: 2
|
|
@@ -1599,95 +1600,95 @@ const ga = { class: "bsgoal-base-search" }, fa = { class: "base_search" }, va =
|
|
|
1599
1600
|
]),
|
|
1600
1601
|
_: 2
|
|
1601
1602
|
}, 1032, ["modelValue", "onUpdate:modelValue", "onChange"])) : $("", !0),
|
|
1602
|
-
g === c(l).SELECT ? (n(),
|
|
1603
|
+
g === c(l).SELECT ? (n(), y(F, {
|
|
1603
1604
|
key: 4,
|
|
1604
1605
|
modelValue: t.value[o],
|
|
1605
1606
|
"onUpdate:modelValue": (E) => t.value[o] = E,
|
|
1606
|
-
placeholder: _(g,
|
|
1607
|
-
onChange: (E) =>
|
|
1607
|
+
placeholder: _(g, f, z),
|
|
1608
|
+
onChange: (E) => h(g, o)
|
|
1608
1609
|
}, {
|
|
1609
|
-
default:
|
|
1610
|
-
(n(!0), b(P, null, Q(X, (E,
|
|
1611
|
-
key:
|
|
1610
|
+
default: A(() => [
|
|
1611
|
+
(n(!0), b(P, null, Q(X, (E, p) => (n(), y(L, {
|
|
1612
|
+
key: p,
|
|
1612
1613
|
label: E.label,
|
|
1613
1614
|
value: E.value
|
|
1614
1615
|
}, null, 8, ["label", "value"]))), 128))
|
|
1615
1616
|
]),
|
|
1616
1617
|
_: 2
|
|
1617
1618
|
}, 1032, ["modelValue", "onUpdate:modelValue", "placeholder", "onChange"])) : $("", !0),
|
|
1618
|
-
g === c(l).SLIDER ? (n(),
|
|
1619
|
+
g === c(l).SLIDER ? (n(), y(Y, {
|
|
1619
1620
|
key: 5,
|
|
1620
1621
|
modelValue: t.value[o],
|
|
1621
1622
|
"onUpdate:modelValue": (E) => t.value[o] = E,
|
|
1622
1623
|
min: ie,
|
|
1623
1624
|
max: q,
|
|
1624
|
-
onChange: (E) =>
|
|
1625
|
+
onChange: (E) => h(g, o)
|
|
1625
1626
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "min", "max", "onChange"])) : $("", !0),
|
|
1626
|
-
g === c(l).SWITCH ? (n(),
|
|
1627
|
+
g === c(l).SWITCH ? (n(), y(R, {
|
|
1627
1628
|
key: 6,
|
|
1628
1629
|
modelValue: t.value[o],
|
|
1629
1630
|
"onUpdate:modelValue": (E) => t.value[o] = E,
|
|
1630
1631
|
"active-value": X[0] || !0,
|
|
1631
1632
|
"inactive-value": X[1] || !1,
|
|
1632
|
-
onChange: (E) =>
|
|
1633
|
+
onChange: (E) => h(g, o)
|
|
1633
1634
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "active-value", "inactive-value", "onChange"])) : $("", !0),
|
|
1634
1635
|
[c(l).DATE, c(l).MONTH, c(l).YEAR, c(l).DATE_TIME].includes(
|
|
1635
1636
|
g
|
|
1636
|
-
) ? (n(),
|
|
1637
|
+
) ? (n(), y(H, {
|
|
1637
1638
|
key: 7,
|
|
1638
1639
|
modelValue: t.value[o],
|
|
1639
1640
|
"onUpdate:modelValue": (E) => t.value[o] = E,
|
|
1640
1641
|
format: V(g, ne),
|
|
1641
1642
|
"value-format": V(g, ne),
|
|
1642
1643
|
type: g,
|
|
1643
|
-
placeholder: _(g,
|
|
1644
|
-
onChange: (E) =>
|
|
1644
|
+
placeholder: _(g, f, z),
|
|
1645
|
+
onChange: (E) => h(g, o)
|
|
1645
1646
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "format", "value-format", "type", "placeholder", "onChange"])) : $("", !0),
|
|
1646
1647
|
[
|
|
1647
1648
|
c(l).DATE_RANGE,
|
|
1648
1649
|
c(l).MONTH_RANGE,
|
|
1649
1650
|
c(l).DATE_TIME_RANGE
|
|
1650
|
-
].includes(g) ? (n(),
|
|
1651
|
+
].includes(g) ? (n(), y(H, {
|
|
1651
1652
|
key: 8,
|
|
1652
1653
|
modelValue: t.value[o],
|
|
1653
1654
|
"onUpdate:modelValue": (E) => t.value[o] = E,
|
|
1654
1655
|
type: g,
|
|
1655
1656
|
"value-format": V(g, ne),
|
|
1656
|
-
"start-placeholder": _(g,
|
|
1657
|
-
"end-placeholder": _(g,
|
|
1658
|
-
onChange: (E) =>
|
|
1657
|
+
"start-placeholder": _(g, f, z)[0],
|
|
1658
|
+
"end-placeholder": _(g, f, z)[1],
|
|
1659
|
+
onChange: (E) => h(g, o)
|
|
1659
1660
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "type", "value-format", "start-placeholder", "end-placeholder", "onChange"])) : $("", !0),
|
|
1660
|
-
[c(l).TIME].includes(g) ? (n(),
|
|
1661
|
+
[c(l).TIME].includes(g) ? (n(), y(ee, {
|
|
1661
1662
|
key: 9,
|
|
1662
1663
|
modelValue: t.value[o],
|
|
1663
1664
|
"onUpdate:modelValue": (E) => t.value[o] = E,
|
|
1664
1665
|
"arrow-control": "",
|
|
1665
1666
|
"value-format": V(g, ne),
|
|
1666
|
-
placeholder: _(g,
|
|
1667
|
-
onChange: (E) =>
|
|
1667
|
+
placeholder: _(g, f, z),
|
|
1668
|
+
onChange: (E) => h(g, o)
|
|
1668
1669
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "value-format", "placeholder", "onChange"])) : $("", !0),
|
|
1669
|
-
[c(l).TIME_RANGE].includes(g) ? (n(),
|
|
1670
|
+
[c(l).TIME_RANGE].includes(g) ? (n(), y(ee, {
|
|
1670
1671
|
key: 10,
|
|
1671
1672
|
modelValue: t.value[o],
|
|
1672
1673
|
"onUpdate:modelValue": (E) => t.value[o] = E,
|
|
1673
1674
|
"is-range": "",
|
|
1674
1675
|
"value-format": V(g, ne),
|
|
1675
|
-
"start-placeholder": _(g,
|
|
1676
|
-
"end-placeholder": _(g,
|
|
1677
|
-
onChange: (E) =>
|
|
1676
|
+
"start-placeholder": _(g, f, z)[0],
|
|
1677
|
+
"end-placeholder": _(g, f, z)[1],
|
|
1678
|
+
onChange: (E) => h(g, o)
|
|
1678
1679
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "value-format", "start-placeholder", "end-placeholder", "onChange"])) : $("", !0),
|
|
1679
|
-
[c(l).CHECKBOX].includes(g) ? (n(),
|
|
1680
|
+
[c(l).CHECKBOX].includes(g) ? (n(), y(le, {
|
|
1680
1681
|
key: 11,
|
|
1681
1682
|
modelValue: t.value[o],
|
|
1682
1683
|
"onUpdate:modelValue": (E) => t.value[o] = E,
|
|
1683
|
-
onChange: (E) =>
|
|
1684
|
+
onChange: (E) => h(g, o)
|
|
1684
1685
|
}, {
|
|
1685
|
-
default:
|
|
1686
|
-
(n(!0), b(P, null, Q(X, (E,
|
|
1687
|
-
key:
|
|
1686
|
+
default: A(() => [
|
|
1687
|
+
(n(!0), b(P, null, Q(X, (E, p) => (n(), y(ae, {
|
|
1688
|
+
key: p,
|
|
1688
1689
|
label: E.value
|
|
1689
1690
|
}, {
|
|
1690
|
-
default:
|
|
1691
|
+
default: A(() => [
|
|
1691
1692
|
G(j(E.label), 1)
|
|
1692
1693
|
]),
|
|
1693
1694
|
_: 2
|
|
@@ -1695,16 +1696,16 @@ const ga = { class: "bsgoal-base-search" }, fa = { class: "base_search" }, va =
|
|
|
1695
1696
|
]),
|
|
1696
1697
|
_: 2
|
|
1697
1698
|
}, 1032, ["modelValue", "onUpdate:modelValue", "onChange"])) : $("", !0),
|
|
1698
|
-
[c(l).CASCADER].includes(g) ? (n(),
|
|
1699
|
+
[c(l).CASCADER].includes(g) ? (n(), y(ma, {
|
|
1699
1700
|
key: 12,
|
|
1700
1701
|
modelValue: t.value[o],
|
|
1701
1702
|
"onUpdate:modelValue": (E) => t.value[o] = E,
|
|
1702
1703
|
"data-options": X,
|
|
1703
|
-
placeholder: _(g,
|
|
1704
|
-
onOnChange: (E) =>
|
|
1704
|
+
placeholder: _(g, f, z),
|
|
1705
|
+
onOnChange: (E) => h(g, o)
|
|
1705
1706
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "data-options", "placeholder", "onOnChange"])) : $("", !0),
|
|
1706
1707
|
[].includes(g) ? (n(), b(P, { key: 13 }, [], 64)) : $("", !0),
|
|
1707
|
-
[c(l).OPERATION].includes(g) ? (n(),
|
|
1708
|
+
[c(l).OPERATION].includes(g) ? (n(), y(ia, {
|
|
1708
1709
|
key: 14,
|
|
1709
1710
|
fold: ue >= 7,
|
|
1710
1711
|
onOnSearch: M,
|
|
@@ -1729,14 +1730,14 @@ const ga = { class: "bsgoal-base-search" }, fa = { class: "base_search" }, va =
|
|
|
1729
1730
|
[c(u)]
|
|
1730
1731
|
])
|
|
1731
1732
|
]),
|
|
1732
|
-
C(
|
|
1733
|
+
C(Ae)
|
|
1733
1734
|
]);
|
|
1734
1735
|
};
|
|
1735
1736
|
}
|
|
1736
1737
|
});
|
|
1737
1738
|
const Ea = { class: "bsgoal-base-search-table" }, ba = { class: "base_search_table" }, ya = {
|
|
1738
1739
|
name: "BsgoalBaseSearchTable"
|
|
1739
|
-
},
|
|
1740
|
+
}, xa = /* @__PURE__ */ Object.assign(ya, {
|
|
1740
1741
|
props: {
|
|
1741
1742
|
/**
|
|
1742
1743
|
* >----------props----------<
|
|
@@ -1843,26 +1844,26 @@ const Ea = { class: "bsgoal-base-search-table" }, ba = { class: "base_search_tab
|
|
|
1843
1844
|
}
|
|
1844
1845
|
},
|
|
1845
1846
|
setup(e, { expose: s }) {
|
|
1846
|
-
const a = e, i =
|
|
1847
|
+
const a = e, i = w(!1);
|
|
1847
1848
|
Ue("transferFoldStatus", i);
|
|
1848
1849
|
const r = c(a.configOptions), u = Z(() => r.filter((D) => {
|
|
1849
|
-
const { type:
|
|
1850
|
-
return !!
|
|
1850
|
+
const { type: h = "" } = D;
|
|
1851
|
+
return !!h;
|
|
1851
1852
|
})), t = Z(() => r.filter((D) => {
|
|
1852
|
-
const { item:
|
|
1853
|
-
return !
|
|
1854
|
-
})), d = Me(), _ =
|
|
1853
|
+
const { item: h = !1 } = D;
|
|
1854
|
+
return !h;
|
|
1855
|
+
})), d = Me(), _ = w(Object.keys(d)), V = w(null), M = (D) => {
|
|
1855
1856
|
V.value.refreshList(D);
|
|
1856
1857
|
}, S = Z(() => {
|
|
1857
|
-
const { expression: D, hasPage:
|
|
1858
|
-
return
|
|
1859
|
-
}), k =
|
|
1858
|
+
const { expression: D, hasPage: h } = a;
|
|
1859
|
+
return h === !1 ? 25 : D;
|
|
1860
|
+
}), k = w(null);
|
|
1860
1861
|
return s({
|
|
1861
1862
|
refresh: () => {
|
|
1862
1863
|
const { hasSearch: D } = a;
|
|
1863
1864
|
c(D) && k.value.triggerOperationSearch();
|
|
1864
1865
|
}
|
|
1865
|
-
}), (D,
|
|
1866
|
+
}), (D, h) => (n(), b("div", Ea, [
|
|
1866
1867
|
O("div", ba, [
|
|
1867
1868
|
K(C(ha, {
|
|
1868
1869
|
ref_key: "BSGOAL_BASE_SEARCH_REF",
|
|
@@ -1887,10 +1888,10 @@ const Ea = { class: "bsgoal-base-search-table" }, ba = { class: "base_search_tab
|
|
|
1887
1888
|
call: e.call,
|
|
1888
1889
|
"has-page": e.hasPage
|
|
1889
1890
|
}, Le({ _: 2 }, [
|
|
1890
|
-
Q(_.value, (
|
|
1891
|
-
name:
|
|
1892
|
-
fn:
|
|
1893
|
-
J(D.$slots,
|
|
1891
|
+
Q(_.value, (x) => ({
|
|
1892
|
+
name: x,
|
|
1893
|
+
fn: A(({ row: T = {} }) => [
|
|
1894
|
+
J(D.$slots, x, { row: T })
|
|
1894
1895
|
])
|
|
1895
1896
|
}))
|
|
1896
1897
|
]), 1032, ["map-props", "operationWidth", "config-options", "data", "selection", "operation", "expression", "fetch", "call", "has-page"])
|
|
@@ -1898,25 +1899,25 @@ const Ea = { class: "bsgoal-base-search-table" }, ba = { class: "base_search_tab
|
|
|
1898
1899
|
]));
|
|
1899
1900
|
}
|
|
1900
1901
|
});
|
|
1901
|
-
const
|
|
1902
|
+
const Aa = { class: "bsgoal-base-tree-fold" }, Ta = {
|
|
1902
1903
|
name: "BsgoalBaseTreeFold"
|
|
1903
1904
|
}, Va = /* @__PURE__ */ Object.assign(Ta, {
|
|
1904
1905
|
props: ["modelValue"],
|
|
1905
1906
|
emits: ["update:modelValue"],
|
|
1906
1907
|
setup(e, { emit: s }) {
|
|
1907
|
-
let a =
|
|
1908
|
+
let a = w(!0);
|
|
1908
1909
|
const i = () => {
|
|
1909
1910
|
a.value = !a.value, s("update:modelValue", a.value);
|
|
1910
1911
|
};
|
|
1911
1912
|
return (r, u) => {
|
|
1912
|
-
const t =
|
|
1913
|
-
return n(), b("div",
|
|
1913
|
+
const t = v("el-icon");
|
|
1914
|
+
return n(), b("div", Aa, [
|
|
1914
1915
|
O("div", {
|
|
1915
1916
|
class: me(["base_tree_fold", { "base_tree_fold--hide": !c(a) }]),
|
|
1916
1917
|
onClick: i
|
|
1917
1918
|
}, [
|
|
1918
1919
|
C(t, { color: "#fff" }, {
|
|
1919
|
-
default:
|
|
1920
|
+
default: A(() => [
|
|
1920
1921
|
K(C(c(kt), null, null, 512), [
|
|
1921
1922
|
[te, c(a)]
|
|
1922
1923
|
]),
|
|
@@ -1987,11 +1988,11 @@ const $a = { class: "bsgoal-base-tree" }, Ca = { class: "base_tree" }, Ma = { cl
|
|
|
1987
1988
|
},
|
|
1988
1989
|
emits: ["on-click"],
|
|
1989
1990
|
setup(e, { emit: s }) {
|
|
1990
|
-
const a = e, i = ye.height, r =
|
|
1991
|
+
const a = e, i = ye.height, r = w(""), u = w(null);
|
|
1991
1992
|
_e(r, (M) => {
|
|
1992
1993
|
u.value.filter(M);
|
|
1993
1994
|
});
|
|
1994
|
-
const t = (M, S) => M ? S.label.includes(M) : !0, d =
|
|
1995
|
+
const t = (M, S) => M ? S.label.includes(M) : !0, d = w(!0), _ = (M, S, k, U) => {
|
|
1995
1996
|
s("on-click", M, S, k, U);
|
|
1996
1997
|
}, V = async (M, S, k) => {
|
|
1997
1998
|
if (M.level === 0) {
|
|
@@ -2003,7 +2004,7 @@ const $a = { class: "bsgoal-base-tree" }, Ca = { class: "base_tree" }, Ma = { cl
|
|
|
2003
2004
|
}
|
|
2004
2005
|
};
|
|
2005
2006
|
return (M, S) => {
|
|
2006
|
-
const k =
|
|
2007
|
+
const k = v("el-input"), U = v("el-tree");
|
|
2007
2008
|
return n(), b("div", $a, [
|
|
2008
2009
|
K((n(), b("div", Ca, [
|
|
2009
2010
|
K(O("div", Ma, [
|
|
@@ -2019,7 +2020,7 @@ const $a = { class: "bsgoal-base-tree" }, Ca = { class: "base_tree" }, Ma = { cl
|
|
|
2019
2020
|
lazy: "",
|
|
2020
2021
|
"highlight-current": "",
|
|
2021
2022
|
"empty-text": "暂无数据",
|
|
2022
|
-
load: (D,
|
|
2023
|
+
load: (D, h) => V(D, h, a),
|
|
2023
2024
|
"expand-on-click-node": !1,
|
|
2024
2025
|
props: e.treeProps,
|
|
2025
2026
|
"filter-node-method": t,
|
|
@@ -2028,7 +2029,7 @@ const $a = { class: "bsgoal-base-tree" }, Ca = { class: "base_tree" }, Ma = { cl
|
|
|
2028
2029
|
], 512), [
|
|
2029
2030
|
[te, d.value]
|
|
2030
2031
|
]),
|
|
2031
|
-
K(C(
|
|
2032
|
+
K(C(Ae, { vertical: "" }, null, 512), [
|
|
2032
2033
|
[te, d.value]
|
|
2033
2034
|
]),
|
|
2034
2035
|
C(Va, {
|
|
@@ -2106,7 +2107,7 @@ const Na = { class: "bsgoal-base-dialog" }, ka = { class: "base_dialog" }, Sa =
|
|
|
2106
2107
|
},
|
|
2107
2108
|
emits: ["update:modelValue", "on-confirm"],
|
|
2108
2109
|
setup(e, { emit: s }) {
|
|
2109
|
-
const a = e, i =
|
|
2110
|
+
const a = e, i = w(a.modelValue.value), r = () => {
|
|
2110
2111
|
i.value = !1;
|
|
2111
2112
|
}, u = () => {
|
|
2112
2113
|
s("on-confirm", () => {
|
|
@@ -2141,7 +2142,7 @@ const Na = { class: "bsgoal-base-dialog" }, ka = { class: "base_dialog" }, Sa =
|
|
|
2141
2142
|
}
|
|
2142
2143
|
});
|
|
2143
2144
|
return (d, _) => {
|
|
2144
|
-
const V =
|
|
2145
|
+
const V = v("el-button"), M = v("el-dialog");
|
|
2145
2146
|
return n(), b("div", Na, [
|
|
2146
2147
|
O("div", ka, [
|
|
2147
2148
|
C(M, {
|
|
@@ -2151,14 +2152,14 @@ const Na = { class: "bsgoal-base-dialog" }, ka = { class: "base_dialog" }, Sa =
|
|
|
2151
2152
|
class: me({ "bsgoal-dialog__footer--conceal": !e.footer }),
|
|
2152
2153
|
width: t.value
|
|
2153
2154
|
}, {
|
|
2154
|
-
header:
|
|
2155
|
+
header: A(() => [
|
|
2155
2156
|
O("div", Sa, j(e.title), 1)
|
|
2156
2157
|
]),
|
|
2157
|
-
footer:
|
|
2158
|
+
footer: A(() => [
|
|
2158
2159
|
e.footer ? J(d.$slots, "footer", { key: 0 }, () => [
|
|
2159
2160
|
O("span", Da, [
|
|
2160
2161
|
C(V, { onClick: r }, {
|
|
2161
|
-
default:
|
|
2162
|
+
default: A(() => [
|
|
2162
2163
|
G(j(e.cancelTxt), 1)
|
|
2163
2164
|
]),
|
|
2164
2165
|
_: 1
|
|
@@ -2167,7 +2168,7 @@ const Na = { class: "bsgoal-base-dialog" }, ka = { class: "base_dialog" }, Sa =
|
|
|
2167
2168
|
type: "primary",
|
|
2168
2169
|
onClick: u
|
|
2169
2170
|
}, {
|
|
2170
|
-
default:
|
|
2171
|
+
default: A(() => [
|
|
2171
2172
|
G(j(e.confirmTxt), 1)
|
|
2172
2173
|
]),
|
|
2173
2174
|
_: 1
|
|
@@ -2175,7 +2176,7 @@ const Na = { class: "bsgoal-base-dialog" }, ka = { class: "base_dialog" }, Sa =
|
|
|
2175
2176
|
])
|
|
2176
2177
|
]) : $("", !0)
|
|
2177
2178
|
]),
|
|
2178
|
-
default:
|
|
2179
|
+
default: A(() => [
|
|
2179
2180
|
O("div", {
|
|
2180
2181
|
class: me(["base_dialog_content", { "base_dialog_content--form": e.type === "form" }])
|
|
2181
2182
|
}, [
|
|
@@ -2240,7 +2241,7 @@ const Ra = { class: "bsgoal-base-tabs" }, Fa = {
|
|
|
2240
2241
|
s("update:modelValue", u);
|
|
2241
2242
|
};
|
|
2242
2243
|
return (u, t) => {
|
|
2243
|
-
const d =
|
|
2244
|
+
const d = v("el-tab-pane"), _ = v("el-tabs");
|
|
2244
2245
|
return n(), b("div", Ra, [
|
|
2245
2246
|
C(_, {
|
|
2246
2247
|
class: "bsgoal_base_tabs",
|
|
@@ -2249,13 +2250,13 @@ const Ra = { class: "bsgoal-base-tabs" }, Fa = {
|
|
|
2249
2250
|
"model-value": i.value,
|
|
2250
2251
|
onTabChange: r
|
|
2251
2252
|
}, {
|
|
2252
|
-
default:
|
|
2253
|
-
(n(!0), b(P, null, Q(e.configOptions, ({ label: V, value: M }, S) => (n(),
|
|
2253
|
+
default: A(() => [
|
|
2254
|
+
(n(!0), b(P, null, Q(e.configOptions, ({ label: V, value: M }, S) => (n(), y(d, {
|
|
2254
2255
|
key: S,
|
|
2255
2256
|
label: V,
|
|
2256
2257
|
name: M
|
|
2257
2258
|
}, {
|
|
2258
|
-
default:
|
|
2259
|
+
default: A(() => [
|
|
2259
2260
|
J(u.$slots, M, {}, () => [
|
|
2260
2261
|
G(j(V), 1)
|
|
2261
2262
|
])
|
|
@@ -2301,7 +2302,7 @@ const La = { class: "bsgoal-base-link" }, Pa = {
|
|
|
2301
2302
|
s("on-click");
|
|
2302
2303
|
};
|
|
2303
2304
|
return (i, r) => {
|
|
2304
|
-
const u =
|
|
2305
|
+
const u = v("el-link");
|
|
2305
2306
|
return n(), b("div", La, [
|
|
2306
2307
|
C(u, {
|
|
2307
2308
|
class: "bsgoal_base_link",
|
|
@@ -2310,7 +2311,7 @@ const La = { class: "bsgoal-base-link" }, Pa = {
|
|
|
2310
2311
|
style: Pe(e.styler),
|
|
2311
2312
|
onClick: a
|
|
2312
2313
|
}, {
|
|
2313
|
-
default:
|
|
2314
|
+
default: A(() => [
|
|
2314
2315
|
J(i.$slots, "default", {}, () => [
|
|
2315
2316
|
G(j(e.content), 1)
|
|
2316
2317
|
], !0)
|
|
@@ -2359,7 +2360,7 @@ const Ga = { class: "bsgoal-base-button" }, Ya = {
|
|
|
2359
2360
|
}
|
|
2360
2361
|
},
|
|
2361
2362
|
setup(e) {
|
|
2362
|
-
const s = e, a =
|
|
2363
|
+
const s = e, a = w(!1), i = () => {
|
|
2363
2364
|
a.value = !0;
|
|
2364
2365
|
const { task: t } = s;
|
|
2365
2366
|
c(t)(() => {
|
|
@@ -2383,7 +2384,7 @@ const Ga = { class: "bsgoal-base-button" }, Ya = {
|
|
|
2383
2384
|
return d;
|
|
2384
2385
|
});
|
|
2385
2386
|
return (t, d) => {
|
|
2386
|
-
const _ =
|
|
2387
|
+
const _ = v("el-button");
|
|
2387
2388
|
return n(), b("div", Ga, [
|
|
2388
2389
|
O("div", {
|
|
2389
2390
|
class: "base_button",
|
|
@@ -2396,7 +2397,7 @@ const Ga = { class: "bsgoal-base-button" }, Ya = {
|
|
|
2396
2397
|
loading: a.value,
|
|
2397
2398
|
plain: e.plain
|
|
2398
2399
|
}, {
|
|
2399
|
-
default:
|
|
2400
|
+
default: A(() => [
|
|
2400
2401
|
G(j(e.content), 1)
|
|
2401
2402
|
]),
|
|
2402
2403
|
_: 1
|
|
@@ -2427,16 +2428,16 @@ const Wa = { class: "bsgoal-base-layout" }, Xa = {
|
|
|
2427
2428
|
}
|
|
2428
2429
|
},
|
|
2429
2430
|
setup(e) {
|
|
2430
|
-
const s = Me(), a =
|
|
2431
|
+
const s = Me(), a = w(Object.keys(s));
|
|
2431
2432
|
return (i, r) => {
|
|
2432
|
-
const u =
|
|
2433
|
+
const u = v("el-col"), t = v("el-row");
|
|
2433
2434
|
return n(), b("div", Wa, [
|
|
2434
2435
|
C(t, {
|
|
2435
2436
|
class: "base_layout",
|
|
2436
2437
|
gutter: e.gutter
|
|
2437
2438
|
}, {
|
|
2438
|
-
default:
|
|
2439
|
-
(n(!0), b(P, null, Q(a.value, (d, _) => (n(),
|
|
2439
|
+
default: A(() => [
|
|
2440
|
+
(n(!0), b(P, null, Q(a.value, (d, _) => (n(), y(u, {
|
|
2440
2441
|
key: _,
|
|
2441
2442
|
xs: 24,
|
|
2442
2443
|
sm: 24,
|
|
@@ -2444,7 +2445,7 @@ const Wa = { class: "bsgoal-base-layout" }, Xa = {
|
|
|
2444
2445
|
lg: e.ratio,
|
|
2445
2446
|
xl: e.ratio
|
|
2446
2447
|
}, {
|
|
2447
|
-
default:
|
|
2448
|
+
default: A(() => [
|
|
2448
2449
|
J(i.$slots, d)
|
|
2449
2450
|
]),
|
|
2450
2451
|
_: 2
|
|
@@ -2455,13 +2456,13 @@ const Wa = { class: "bsgoal-base-layout" }, Xa = {
|
|
|
2455
2456
|
]);
|
|
2456
2457
|
};
|
|
2457
2458
|
}
|
|
2458
|
-
}), qa = l, el =
|
|
2459
|
+
}), qa = l, el = xe, tl = {
|
|
2459
2460
|
install(e, s = {}) {
|
|
2460
2461
|
const { exclude: a = [] } = s, i = {
|
|
2461
2462
|
BsgoalBaseForm: Qe,
|
|
2462
2463
|
BsgoalBaseTable: Ne,
|
|
2463
|
-
BsgoalBaseLine:
|
|
2464
|
-
BsgoalBaseSearchTable:
|
|
2464
|
+
BsgoalBaseLine: Ae,
|
|
2465
|
+
BsgoalBaseSearchTable: xa,
|
|
2465
2466
|
BsgoalBaseTree: wa,
|
|
2466
2467
|
BsgoalBaseDialog: Ia,
|
|
2467
2468
|
BsgoalBaseTabs: Ua,
|
|
@@ -2473,7 +2474,7 @@ const Wa = { class: "bsgoal-base-layout" }, Xa = {
|
|
|
2473
2474
|
a.includes(r) || e.component(r, u);
|
|
2474
2475
|
},
|
|
2475
2476
|
enumType: l,
|
|
2476
|
-
useFetch:
|
|
2477
|
+
useFetch: xe
|
|
2477
2478
|
};
|
|
2478
2479
|
export {
|
|
2479
2480
|
qa as EnumType,
|