@bsgoal/common 1.6.3 → 1.6.4
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 +546 -529
- package/dist/index.mjs.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/components/bsgoal-base-search-table/demo.vue +4 -1
- package/src/components/bsgoal-base-search-table/index.vue +26 -22
- package/src/components/bsgoal-base-table/index.vue +15 -10
package/dist/index.mjs
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
1
|
+
var we = Object.defineProperty;
|
|
2
|
+
var Ae = Object.getOwnPropertySymbols;
|
|
3
|
+
var Be = Object.prototype.hasOwnProperty, De = Object.prototype.propertyIsEnumerable;
|
|
4
|
+
var xe = (e, s, l) => s in e ? we(e, s, { enumerable: !0, configurable: !0, writable: !0, value: l }) : e[s] = l, ve = (e, s) => {
|
|
5
5
|
for (var l in s || (s = {}))
|
|
6
|
-
|
|
7
|
-
if (
|
|
8
|
-
for (var l of
|
|
9
|
-
De.call(s, l) &&
|
|
6
|
+
Be.call(s, l) && xe(e, l, s[l]);
|
|
7
|
+
if (Ae)
|
|
8
|
+
for (var l of Ae(s))
|
|
9
|
+
De.call(s, l) && xe(e, l, s[l]);
|
|
10
10
|
return e;
|
|
11
11
|
};
|
|
12
|
-
import { computed as J, resolveComponent as f, openBlock as n, createElementBlock as
|
|
12
|
+
import { computed as J, resolveComponent as f, openBlock as n, createElementBlock as b, createVNode as N, unref as u, withCtx as T, renderSlot as q, createTextVNode as W, toDisplayString as Y, ref as k, watchEffect as Ee, createElementVNode as S, withDirectives as Q, createBlock as E, Fragment as P, renderList as X, createCommentVNode as V, nextTick as Ce, inject as Ve, watch as de, resolveDirective as ke, normalizeClass as _e, vShow as le, isProxy as Se, toRaw as Oe, provide as Ie, useSlots as Fe, createSlots as Re, normalizeStyle as Ue } from "vue";
|
|
13
13
|
import { ElMessage as Le } from "element-plus";
|
|
14
14
|
const a = {
|
|
15
15
|
INPUT: "text",
|
|
@@ -33,31 +33,31 @@ const a = {
|
|
|
33
33
|
OPERATION: "operation",
|
|
34
34
|
CASCADER: "cascader"
|
|
35
35
|
};
|
|
36
|
-
let
|
|
36
|
+
let pe = null;
|
|
37
37
|
const he = (e) => {
|
|
38
38
|
const s = [], l = [], r = (t = []) => {
|
|
39
|
-
const c = t.map((
|
|
40
|
-
t.forEach((
|
|
41
|
-
const { labelEl:
|
|
42
|
-
|
|
39
|
+
const c = t.map((v) => v.width), d = Math.max(...c);
|
|
40
|
+
t.forEach((v) => {
|
|
41
|
+
const { labelEl: M } = v;
|
|
42
|
+
M.style.width = `${d}px`;
|
|
43
43
|
});
|
|
44
44
|
}, i = () => {
|
|
45
45
|
if (e) {
|
|
46
46
|
const t = e.querySelectorAll(".el-form-item__label");
|
|
47
47
|
if (t && t.length) {
|
|
48
48
|
let c = 0;
|
|
49
|
-
t.forEach((d,
|
|
49
|
+
t.forEach((d, v) => {
|
|
50
50
|
d.style.width = "initial", d.style.whiteSpace = "nowrap";
|
|
51
|
-
const { x:
|
|
52
|
-
|
|
51
|
+
const { x: M = 0, width: $ = 0 } = d.getBoundingClientRect(), w = { x: M, width: $, labelEl: d };
|
|
52
|
+
v === 0 && (c = M), M === c ? s.push(w) : l.push(w);
|
|
53
53
|
});
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
};
|
|
57
|
-
|
|
57
|
+
pe && clearTimeout(pe), pe = setTimeout(() => {
|
|
58
58
|
i(), r(s), r(l);
|
|
59
59
|
}, 50);
|
|
60
|
-
},
|
|
60
|
+
}, be = {
|
|
61
61
|
/**
|
|
62
62
|
* 表单自动左对齐
|
|
63
63
|
*/
|
|
@@ -84,9 +84,9 @@ const he = (e) => {
|
|
|
84
84
|
}
|
|
85
85
|
}
|
|
86
86
|
};
|
|
87
|
-
const ze = { class: "bsgoal-base-tooltip" },
|
|
87
|
+
const ze = { class: "bsgoal-base-tooltip" }, Pe = {
|
|
88
88
|
name: "BsgoalBaseTooltip"
|
|
89
|
-
}, Me = /* @__PURE__ */ Object.assign(
|
|
89
|
+
}, Me = /* @__PURE__ */ Object.assign(Pe, {
|
|
90
90
|
props: {
|
|
91
91
|
/**
|
|
92
92
|
* 文字提示内容
|
|
@@ -129,16 +129,16 @@ const ze = { class: "bsgoal-base-tooltip" }, je = {
|
|
|
129
129
|
const s = e, l = J(() => {
|
|
130
130
|
const { content: i = "", limit: t = 0, none: c = "" } = s;
|
|
131
131
|
let d = i;
|
|
132
|
-
const
|
|
133
|
-
return t &&
|
|
132
|
+
const v = i.length;
|
|
133
|
+
return t && v > t && (d = `${i.substring(0, t)}...`), d || c;
|
|
134
134
|
}), r = J(() => {
|
|
135
135
|
const { content: i = "", limit: t = 0 } = s;
|
|
136
136
|
return i.length < t || !t;
|
|
137
137
|
});
|
|
138
138
|
return (i, t) => {
|
|
139
139
|
const c = f("el-tooltip");
|
|
140
|
-
return n(),
|
|
141
|
-
|
|
140
|
+
return n(), b("div", ze, [
|
|
141
|
+
N(c, {
|
|
142
142
|
class: "base_tooltip",
|
|
143
143
|
effect: "dark",
|
|
144
144
|
"popper-class": "base_tooltip_popper",
|
|
@@ -146,9 +146,9 @@ const ze = { class: "bsgoal-base-tooltip" }, je = {
|
|
|
146
146
|
content: e.content,
|
|
147
147
|
disabled: u(r)
|
|
148
148
|
}, {
|
|
149
|
-
default:
|
|
149
|
+
default: T(() => [
|
|
150
150
|
q(i.$slots, "default", {}, () => [
|
|
151
|
-
W(
|
|
151
|
+
W(Y(u(l)), 1)
|
|
152
152
|
])
|
|
153
153
|
]),
|
|
154
154
|
_: 3
|
|
@@ -157,7 +157,7 @@ const ze = { class: "bsgoal-base-tooltip" }, je = {
|
|
|
157
157
|
};
|
|
158
158
|
}
|
|
159
159
|
});
|
|
160
|
-
const
|
|
160
|
+
const je = { class: "bsgoal-base-form" }, Ye = { class: "base_form" }, Ge = { key: 1 }, He = {
|
|
161
161
|
name: "BsgoalBaseForm"
|
|
162
162
|
}, We = /* @__PURE__ */ Object.assign(He, {
|
|
163
163
|
props: {
|
|
@@ -222,27 +222,27 @@ const Pe = { class: "bsgoal-base-form" }, Ye = { class: "base_form" }, Ge = { ke
|
|
|
222
222
|
},
|
|
223
223
|
emits: ["on-form", "on-clear", "on-change", "on-fold"],
|
|
224
224
|
setup(e, { expose: s, emit: l }) {
|
|
225
|
-
const r = e, i = k(null), t =
|
|
226
|
-
|
|
227
|
-
const { configOptions:
|
|
228
|
-
|
|
229
|
-
const { value:
|
|
230
|
-
[a.INPUT, a.INPUT_TEXT_AREA].includes(F), c.value[
|
|
225
|
+
const r = e, i = k(null), t = be.align, c = k({});
|
|
226
|
+
Ee(() => {
|
|
227
|
+
const { configOptions: h, values: y } = r, x = u(h), D = u(y);
|
|
228
|
+
x.forEach((C) => {
|
|
229
|
+
const { value: A = "", prop: O = "", type: F = "" } = C;
|
|
230
|
+
[a.INPUT, a.INPUT_TEXT_AREA].includes(F), c.value[O] = D[O] || A;
|
|
231
231
|
});
|
|
232
232
|
});
|
|
233
233
|
const d = J(() => {
|
|
234
|
-
const { configOptions:
|
|
235
|
-
return u(
|
|
236
|
-
let { rules:
|
|
237
|
-
const
|
|
238
|
-
return
|
|
234
|
+
const { configOptions: h } = r;
|
|
235
|
+
return u(h).map((D) => {
|
|
236
|
+
let { rules: C = !1, label: A = "" } = D;
|
|
237
|
+
const O = { required: !0, message: `${A}不能为空`, trigger: "blur" };
|
|
238
|
+
return C && (typeof C == "boolean" ? C = [O] : Array.isArray(C) ? C = [O, ...C] : C = [O, C]), D.rules = C, D;
|
|
239
239
|
});
|
|
240
|
-
}),
|
|
241
|
-
if (!
|
|
242
|
-
switch (
|
|
240
|
+
}), v = (h = "", y = "", x = "") => {
|
|
241
|
+
if (!x)
|
|
242
|
+
switch (h) {
|
|
243
243
|
case a.INPUT:
|
|
244
244
|
case a.INPUT_TEXT_AREA:
|
|
245
|
-
return `请输入${
|
|
245
|
+
return `请输入${y}`;
|
|
246
246
|
case a.SELECT:
|
|
247
247
|
case a.DATE:
|
|
248
248
|
case a.WEEK:
|
|
@@ -250,7 +250,7 @@ const Pe = { class: "bsgoal-base-form" }, Ye = { class: "base_form" }, Ge = { ke
|
|
|
250
250
|
case a.YEAR:
|
|
251
251
|
case a.DATE_TIME:
|
|
252
252
|
case a.TIME:
|
|
253
|
-
return `请选择${
|
|
253
|
+
return `请选择${y}`;
|
|
254
254
|
case a.DATE_RANGE:
|
|
255
255
|
case a.DATE_TIME_RANGE:
|
|
256
256
|
return ["开始日期", "结束日期"];
|
|
@@ -259,10 +259,10 @@ const Pe = { class: "bsgoal-base-form" }, Ye = { class: "base_form" }, Ge = { ke
|
|
|
259
259
|
case a.MONTH_RANGE:
|
|
260
260
|
return ["开始月份", "结束月份"];
|
|
261
261
|
}
|
|
262
|
-
return
|
|
263
|
-
},
|
|
264
|
-
if (!
|
|
265
|
-
switch (
|
|
262
|
+
return x;
|
|
263
|
+
}, M = (h = "", y = "") => {
|
|
264
|
+
if (!y)
|
|
265
|
+
switch (h) {
|
|
266
266
|
case a.WEEK:
|
|
267
267
|
return "ww";
|
|
268
268
|
case a.DATE:
|
|
@@ -281,236 +281,236 @@ const Pe = { class: "bsgoal-base-form" }, Ye = { class: "base_form" }, Ge = { ke
|
|
|
281
281
|
case a.DATE_TIME_RANGE:
|
|
282
282
|
return "YYYY-MM-DD HH:mm:ss";
|
|
283
283
|
}
|
|
284
|
-
return
|
|
285
|
-
},
|
|
286
|
-
const
|
|
287
|
-
for (const
|
|
288
|
-
const { type:
|
|
289
|
-
if (
|
|
290
|
-
const { 0: F = "", 1: R = "" } =
|
|
291
|
-
|
|
284
|
+
return y;
|
|
285
|
+
}, $ = () => {
|
|
286
|
+
const h = u(c), { configOptions: y } = r, x = u(y);
|
|
287
|
+
for (const D of x) {
|
|
288
|
+
const { type: C = "", range: A = [], prop: O = "" } = D;
|
|
289
|
+
if (C.endsWith("range") && A && A.length === 2) {
|
|
290
|
+
const { 0: F = "", 1: R = "" } = h[O], { 0: z = "", 1: I = "" } = A;
|
|
291
|
+
h[z] = F, h[I] = R;
|
|
292
292
|
}
|
|
293
293
|
}
|
|
294
|
-
return l("on-form",
|
|
295
|
-
},
|
|
294
|
+
return l("on-form", h), h;
|
|
295
|
+
}, w = () => {
|
|
296
296
|
i.value.resetFields(), l("on-clear", c.value);
|
|
297
|
-
},
|
|
298
|
-
const
|
|
299
|
-
type:
|
|
300
|
-
prop:
|
|
301
|
-
value: c.value[
|
|
297
|
+
}, B = (h, y) => {
|
|
298
|
+
const x = {
|
|
299
|
+
type: h,
|
|
300
|
+
prop: y,
|
|
301
|
+
value: c.value[y] || ""
|
|
302
302
|
};
|
|
303
|
-
l("on-change",
|
|
303
|
+
l("on-change", x);
|
|
304
304
|
};
|
|
305
305
|
return s({
|
|
306
|
-
triggerOperationClear:
|
|
307
|
-
triggerOperationForm:
|
|
308
|
-
validateForm: (
|
|
306
|
+
triggerOperationClear: w,
|
|
307
|
+
triggerOperationForm: $,
|
|
308
|
+
validateForm: (h = () => {
|
|
309
309
|
}) => {
|
|
310
|
-
i.value.validate((
|
|
311
|
-
if (
|
|
312
|
-
const
|
|
313
|
-
|
|
310
|
+
i.value.validate((y = !1, x = {}) => {
|
|
311
|
+
if (y) {
|
|
312
|
+
const D = $();
|
|
313
|
+
h(D);
|
|
314
314
|
} else {
|
|
315
|
-
|
|
316
|
-
const
|
|
317
|
-
[
|
|
318
|
-
0: { message:
|
|
315
|
+
h(!1);
|
|
316
|
+
const D = Object.keys(x)[0], {
|
|
317
|
+
[D]: {
|
|
318
|
+
0: { message: C = "" }
|
|
319
319
|
}
|
|
320
|
-
} =
|
|
321
|
-
Le.error(
|
|
320
|
+
} = x;
|
|
321
|
+
Le.error(C);
|
|
322
322
|
}
|
|
323
323
|
});
|
|
324
324
|
}
|
|
325
|
-
}), (
|
|
326
|
-
const
|
|
327
|
-
return n(),
|
|
328
|
-
|
|
329
|
-
Q((n(),
|
|
325
|
+
}), (h, y) => {
|
|
326
|
+
const x = f("el-input"), D = f("el-input-number"), C = f("el-radio"), A = f("el-radio-group"), O = f("el-option"), F = f("el-select"), R = f("el-slider"), z = f("el-switch"), I = f("el-date-picker"), j = f("el-time-picker"), Z = f("el-checkbox"), ee = f("el-checkbox-group"), te = f("el-form-item"), ue = f("el-col"), se = f("el-row"), ce = f("el-form");
|
|
327
|
+
return n(), b("div", je, [
|
|
328
|
+
S("div", Ye, [
|
|
329
|
+
Q((n(), E(ce, {
|
|
330
330
|
ref_key: "EL_FORM_REF",
|
|
331
331
|
ref: i,
|
|
332
332
|
"label-suffix": ":",
|
|
333
333
|
model: c.value
|
|
334
334
|
}, {
|
|
335
|
-
default:
|
|
336
|
-
|
|
337
|
-
default:
|
|
338
|
-
(n(!0),
|
|
339
|
-
label:
|
|
340
|
-
prop:
|
|
335
|
+
default: T(() => [
|
|
336
|
+
N(se, null, {
|
|
337
|
+
default: T(() => [
|
|
338
|
+
(n(!0), b(P, null, X(u(d), ({
|
|
339
|
+
label: L = "",
|
|
340
|
+
prop: p = "",
|
|
341
341
|
type: o = "text",
|
|
342
342
|
placeholder: _ = "",
|
|
343
343
|
readonly: G = e.readonlys,
|
|
344
|
-
clearable:
|
|
345
|
-
rows:
|
|
346
|
-
min:
|
|
347
|
-
max:
|
|
344
|
+
clearable: me = !0,
|
|
345
|
+
rows: ge = 2,
|
|
346
|
+
min: fe = 1,
|
|
347
|
+
max: re = 10,
|
|
348
348
|
range: K = [],
|
|
349
349
|
format: H = "",
|
|
350
350
|
rules: ae = [],
|
|
351
|
-
limit:
|
|
352
|
-
} = {}, g) => (n(),
|
|
351
|
+
limit: ne = e.limits
|
|
352
|
+
} = {}, g) => (n(), E(ue, {
|
|
353
353
|
key: g,
|
|
354
354
|
xs: 24,
|
|
355
355
|
sm: 24,
|
|
356
356
|
md: e.medium
|
|
357
357
|
}, {
|
|
358
|
-
default:
|
|
359
|
-
|
|
360
|
-
label:
|
|
361
|
-
prop:
|
|
358
|
+
default: T(() => [
|
|
359
|
+
N(te, {
|
|
360
|
+
label: L,
|
|
361
|
+
prop: p,
|
|
362
362
|
rules: ae
|
|
363
363
|
}, {
|
|
364
|
-
default:
|
|
365
|
-
G ? (n(),
|
|
366
|
-
|
|
367
|
-
content: c.value[
|
|
368
|
-
limit:
|
|
364
|
+
default: T(() => [
|
|
365
|
+
G ? (n(), b("div", Ge, [
|
|
366
|
+
N(Me, {
|
|
367
|
+
content: c.value[p],
|
|
368
|
+
limit: ne,
|
|
369
369
|
none: e.none
|
|
370
370
|
}, null, 8, ["content", "limit", "none"])
|
|
371
|
-
])) : (n(),
|
|
372
|
-
o === u(a).INPUT ? (n(),
|
|
371
|
+
])) : (n(), b(P, { key: 0 }, [
|
|
372
|
+
o === u(a).INPUT ? (n(), E(x, {
|
|
373
373
|
key: 0,
|
|
374
|
-
modelValue: c.value[
|
|
375
|
-
"onUpdate:modelValue": (m) => c.value[
|
|
376
|
-
placeholder:
|
|
377
|
-
clearable:
|
|
378
|
-
onChange: (m) =>
|
|
374
|
+
modelValue: c.value[p],
|
|
375
|
+
"onUpdate:modelValue": (m) => c.value[p] = m,
|
|
376
|
+
placeholder: v(o, L, _),
|
|
377
|
+
clearable: me,
|
|
378
|
+
onChange: (m) => B(o, p)
|
|
379
379
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder", "clearable", "onChange"])) : V("", !0),
|
|
380
|
-
o === u(a).INPUT_TEXT_AREA ? (n(),
|
|
380
|
+
o === u(a).INPUT_TEXT_AREA ? (n(), E(x, {
|
|
381
381
|
key: 1,
|
|
382
|
-
modelValue: c.value[
|
|
383
|
-
"onUpdate:modelValue": (m) => c.value[
|
|
382
|
+
modelValue: c.value[p],
|
|
383
|
+
"onUpdate:modelValue": (m) => c.value[p] = m,
|
|
384
384
|
type: "textarea",
|
|
385
|
-
rows:
|
|
386
|
-
clearable:
|
|
387
|
-
placeholder:
|
|
388
|
-
onChange: (m) =>
|
|
385
|
+
rows: ge,
|
|
386
|
+
clearable: me,
|
|
387
|
+
placeholder: v(o, L, _),
|
|
388
|
+
onChange: (m) => B(o, p)
|
|
389
389
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "rows", "clearable", "placeholder", "onChange"])) : V("", !0),
|
|
390
|
-
o === u(a).INPUT_NUMBER ? (n(),
|
|
390
|
+
o === u(a).INPUT_NUMBER ? (n(), E(D, {
|
|
391
391
|
key: 2,
|
|
392
|
-
modelValue:
|
|
393
|
-
"onUpdate:modelValue":
|
|
394
|
-
min:
|
|
395
|
-
max:
|
|
396
|
-
onChange:
|
|
392
|
+
modelValue: h.num,
|
|
393
|
+
"onUpdate:modelValue": y[0] || (y[0] = (m) => h.num = m),
|
|
394
|
+
min: fe,
|
|
395
|
+
max: re,
|
|
396
|
+
onChange: B
|
|
397
397
|
}, null, 8, ["modelValue", "min", "max"])) : V("", !0),
|
|
398
|
-
o === u(a).RADIO ? (n(),
|
|
398
|
+
o === u(a).RADIO ? (n(), E(A, {
|
|
399
399
|
key: 3,
|
|
400
|
-
modelValue: c.value[
|
|
401
|
-
"onUpdate:modelValue": (m) => c.value[
|
|
402
|
-
onChange: (m) =>
|
|
400
|
+
modelValue: c.value[p],
|
|
401
|
+
"onUpdate:modelValue": (m) => c.value[p] = m,
|
|
402
|
+
onChange: (m) => B(o, p)
|
|
403
403
|
}, {
|
|
404
|
-
default:
|
|
405
|
-
(n(!0),
|
|
406
|
-
key:
|
|
404
|
+
default: T(() => [
|
|
405
|
+
(n(!0), b(P, null, X(K, (m, ie) => (n(), E(C, {
|
|
406
|
+
key: ie,
|
|
407
407
|
label: m.value
|
|
408
408
|
}, {
|
|
409
|
-
default:
|
|
410
|
-
W(
|
|
409
|
+
default: T(() => [
|
|
410
|
+
W(Y(m.label), 1)
|
|
411
411
|
]),
|
|
412
412
|
_: 2
|
|
413
413
|
}, 1032, ["label"]))), 128))
|
|
414
414
|
]),
|
|
415
415
|
_: 2
|
|
416
416
|
}, 1032, ["modelValue", "onUpdate:modelValue", "onChange"])) : V("", !0),
|
|
417
|
-
o === u(a).SELECT ? (n(),
|
|
417
|
+
o === u(a).SELECT ? (n(), E(F, {
|
|
418
418
|
key: 4,
|
|
419
|
-
modelValue: c.value[
|
|
420
|
-
"onUpdate:modelValue": (m) => c.value[
|
|
421
|
-
placeholder:
|
|
422
|
-
onChange: (m) =>
|
|
419
|
+
modelValue: c.value[p],
|
|
420
|
+
"onUpdate:modelValue": (m) => c.value[p] = m,
|
|
421
|
+
placeholder: v(o, L, _),
|
|
422
|
+
onChange: (m) => B(o, p)
|
|
423
423
|
}, {
|
|
424
|
-
default:
|
|
425
|
-
(n(!0),
|
|
426
|
-
key:
|
|
424
|
+
default: T(() => [
|
|
425
|
+
(n(!0), b(P, null, X(K, (m, ie) => (n(), E(O, {
|
|
426
|
+
key: ie,
|
|
427
427
|
label: m.label,
|
|
428
428
|
value: m.value
|
|
429
429
|
}, null, 8, ["label", "value"]))), 128))
|
|
430
430
|
]),
|
|
431
431
|
_: 2
|
|
432
432
|
}, 1032, ["modelValue", "onUpdate:modelValue", "placeholder", "onChange"])) : V("", !0),
|
|
433
|
-
o === u(a).SLIDER ? (n(),
|
|
433
|
+
o === u(a).SLIDER ? (n(), E(R, {
|
|
434
434
|
key: 5,
|
|
435
|
-
modelValue: c.value[
|
|
436
|
-
"onUpdate:modelValue": (m) => c.value[
|
|
437
|
-
min:
|
|
438
|
-
max:
|
|
439
|
-
onChange: (m) =>
|
|
435
|
+
modelValue: c.value[p],
|
|
436
|
+
"onUpdate:modelValue": (m) => c.value[p] = m,
|
|
437
|
+
min: fe,
|
|
438
|
+
max: re,
|
|
439
|
+
onChange: (m) => B(o, p)
|
|
440
440
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "min", "max", "onChange"])) : V("", !0),
|
|
441
|
-
o === u(a).SWITCH ? (n(),
|
|
441
|
+
o === u(a).SWITCH ? (n(), E(z, {
|
|
442
442
|
key: 6,
|
|
443
|
-
modelValue: c.value[
|
|
444
|
-
"onUpdate:modelValue": (m) => c.value[
|
|
443
|
+
modelValue: c.value[p],
|
|
444
|
+
"onUpdate:modelValue": (m) => c.value[p] = m,
|
|
445
445
|
"active-value": K[0] || !0,
|
|
446
446
|
"inactive-value": K[1] || !1,
|
|
447
|
-
onChange: (m) =>
|
|
447
|
+
onChange: (m) => B(o, p)
|
|
448
448
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "active-value", "inactive-value", "onChange"])) : V("", !0),
|
|
449
449
|
[u(a).DATE, u(a).MONTH, u(a).YEAR, u(a).DATE_TIME].includes(
|
|
450
450
|
o
|
|
451
|
-
) ? (n(),
|
|
451
|
+
) ? (n(), E(I, {
|
|
452
452
|
key: 7,
|
|
453
|
-
modelValue: c.value[
|
|
454
|
-
"onUpdate:modelValue": (m) => c.value[
|
|
455
|
-
format:
|
|
456
|
-
"value-format":
|
|
453
|
+
modelValue: c.value[p],
|
|
454
|
+
"onUpdate:modelValue": (m) => c.value[p] = m,
|
|
455
|
+
format: M(o, H),
|
|
456
|
+
"value-format": M(o, H),
|
|
457
457
|
type: o,
|
|
458
|
-
placeholder:
|
|
459
|
-
onChange: (m) =>
|
|
458
|
+
placeholder: v(o, L, _),
|
|
459
|
+
onChange: (m) => B(o, p)
|
|
460
460
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "format", "value-format", "type", "placeholder", "onChange"])) : V("", !0),
|
|
461
461
|
[
|
|
462
462
|
u(a).DATE_RANGE,
|
|
463
463
|
u(a).MONTH_RANGE,
|
|
464
464
|
u(a).DATE_TIME_RANGE
|
|
465
|
-
].includes(o) ? (n(),
|
|
465
|
+
].includes(o) ? (n(), E(I, {
|
|
466
466
|
key: 8,
|
|
467
|
-
modelValue: c.value[
|
|
468
|
-
"onUpdate:modelValue": (m) => c.value[
|
|
467
|
+
modelValue: c.value[p],
|
|
468
|
+
"onUpdate:modelValue": (m) => c.value[p] = m,
|
|
469
469
|
type: o,
|
|
470
|
-
"value-format":
|
|
471
|
-
"start-placeholder":
|
|
472
|
-
"end-placeholder":
|
|
473
|
-
onChange: (m) =>
|
|
470
|
+
"value-format": M(o, H),
|
|
471
|
+
"start-placeholder": v(o, L, _)[0],
|
|
472
|
+
"end-placeholder": v(o, L, _)[1],
|
|
473
|
+
onChange: (m) => B(o, p)
|
|
474
474
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "type", "value-format", "start-placeholder", "end-placeholder", "onChange"])) : V("", !0),
|
|
475
|
-
[u(a).TIME].includes(o) ? (n(),
|
|
475
|
+
[u(a).TIME].includes(o) ? (n(), E(j, {
|
|
476
476
|
key: 9,
|
|
477
|
-
modelValue: c.value[
|
|
478
|
-
"onUpdate:modelValue": (m) => c.value[
|
|
477
|
+
modelValue: c.value[p],
|
|
478
|
+
"onUpdate:modelValue": (m) => c.value[p] = m,
|
|
479
479
|
"arrow-control": "",
|
|
480
|
-
"value-format":
|
|
481
|
-
placeholder:
|
|
482
|
-
onChange: (m) =>
|
|
480
|
+
"value-format": M(o, H),
|
|
481
|
+
placeholder: v(o, L, _),
|
|
482
|
+
onChange: (m) => B(o, p)
|
|
483
483
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "value-format", "placeholder", "onChange"])) : V("", !0),
|
|
484
|
-
[u(a).TIME_RANGE].includes(o) ? (n(),
|
|
484
|
+
[u(a).TIME_RANGE].includes(o) ? (n(), E(j, {
|
|
485
485
|
key: 10,
|
|
486
|
-
modelValue: c.value[
|
|
487
|
-
"onUpdate:modelValue": (m) => c.value[
|
|
486
|
+
modelValue: c.value[p],
|
|
487
|
+
"onUpdate:modelValue": (m) => c.value[p] = m,
|
|
488
488
|
"is-range": "",
|
|
489
|
-
"value-format":
|
|
490
|
-
"start-placeholder":
|
|
491
|
-
"end-placeholder":
|
|
492
|
-
onChange: (m) =>
|
|
489
|
+
"value-format": M(o, H),
|
|
490
|
+
"start-placeholder": v(o, L, _)[0],
|
|
491
|
+
"end-placeholder": v(o, L, _)[1],
|
|
492
|
+
onChange: (m) => B(o, p)
|
|
493
493
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "value-format", "start-placeholder", "end-placeholder", "onChange"])) : V("", !0),
|
|
494
|
-
[u(a).CHECKBOX].includes(o) ? (n(),
|
|
494
|
+
[u(a).CHECKBOX].includes(o) ? (n(), E(ee, {
|
|
495
495
|
key: 11,
|
|
496
|
-
modelValue: c.value[
|
|
497
|
-
"onUpdate:modelValue": (m) => c.value[
|
|
498
|
-
onChange: (m) =>
|
|
496
|
+
modelValue: c.value[p],
|
|
497
|
+
"onUpdate:modelValue": (m) => c.value[p] = m,
|
|
498
|
+
onChange: (m) => B(o, p)
|
|
499
499
|
}, {
|
|
500
|
-
default:
|
|
501
|
-
(n(!0),
|
|
502
|
-
key:
|
|
500
|
+
default: T(() => [
|
|
501
|
+
(n(!0), b(P, null, X(K, (m, ie) => (n(), E(Z, {
|
|
502
|
+
key: ie,
|
|
503
503
|
label: m.value
|
|
504
504
|
}, {
|
|
505
|
-
default:
|
|
506
|
-
W(
|
|
505
|
+
default: T(() => [
|
|
506
|
+
W(Y(m.label), 1)
|
|
507
507
|
]),
|
|
508
508
|
_: 2
|
|
509
509
|
}, 1032, ["label"]))), 128))
|
|
510
510
|
]),
|
|
511
511
|
_: 2
|
|
512
512
|
}, 1032, ["modelValue", "onUpdate:modelValue", "onChange"])) : V("", !0),
|
|
513
|
-
[].includes(o) ? (n(),
|
|
513
|
+
[].includes(o) ? (n(), b(P, { key: 12 }, [], 64)) : V("", !0)
|
|
514
514
|
], 64))
|
|
515
515
|
]),
|
|
516
516
|
_: 2
|
|
@@ -561,13 +561,13 @@ const Xe = { class: "bsgoal-base-table-content" }, Qe = { class: "base_table_con
|
|
|
561
561
|
}
|
|
562
562
|
},
|
|
563
563
|
setup(e) {
|
|
564
|
-
return (s, l) => (n(),
|
|
565
|
-
|
|
566
|
-
e.tooltip ? (n(),
|
|
564
|
+
return (s, l) => (n(), b("div", Xe, [
|
|
565
|
+
S("div", Qe, [
|
|
566
|
+
e.tooltip ? (n(), E(Me, {
|
|
567
567
|
key: 0,
|
|
568
568
|
content: e.data,
|
|
569
569
|
limit: e.limit
|
|
570
|
-
}, null, 8, ["content", "limit"])) : (n(),
|
|
570
|
+
}, null, 8, ["content", "limit"])) : (n(), b("div", Ze, Y(e.data), 1))
|
|
571
571
|
])
|
|
572
572
|
]));
|
|
573
573
|
}
|
|
@@ -700,7 +700,7 @@ var qe = {
|
|
|
700
700
|
}
|
|
701
701
|
}
|
|
702
702
|
};
|
|
703
|
-
const et = { class: "bsgoal-base-table-pagination" }, tt = { class: "base_table_pagination" }, at = /* @__PURE__ */
|
|
703
|
+
const et = { class: "bsgoal-base-table-pagination" }, tt = { class: "base_table_pagination" }, at = /* @__PURE__ */ S("span", null, "总数", -1), lt = {
|
|
704
704
|
name: "BsgoalBaseTablePagination"
|
|
705
705
|
}, nt = /* @__PURE__ */ Object.assign(lt, {
|
|
706
706
|
props: {
|
|
@@ -741,23 +741,23 @@ const et = { class: "bsgoal-base-table-pagination" }, tt = { class: "base_table_
|
|
|
741
741
|
s("on-current-change", t);
|
|
742
742
|
}, i = k(1);
|
|
743
743
|
return (t, c) => {
|
|
744
|
-
const d = f("el-pagination"),
|
|
745
|
-
return n(),
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
default:
|
|
749
|
-
|
|
744
|
+
const d = f("el-pagination"), v = f("el-config-provider");
|
|
745
|
+
return n(), b("div", et, [
|
|
746
|
+
S("div", tt, [
|
|
747
|
+
N(v, { locale: u(qe) }, {
|
|
748
|
+
default: T(() => [
|
|
749
|
+
N(d, {
|
|
750
750
|
background: "",
|
|
751
751
|
layout: "total, sizes, prev, pager, next, jumper",
|
|
752
752
|
"current-page": i.value,
|
|
753
|
-
"onUpdate:currentPage": c[0] || (c[0] = (
|
|
753
|
+
"onUpdate:currentPage": c[0] || (c[0] = (M) => i.value = M),
|
|
754
754
|
"page-sizes": e.pageSizes,
|
|
755
755
|
"page-size": e.pageSize,
|
|
756
756
|
total: e.total,
|
|
757
757
|
onSizeChange: l,
|
|
758
758
|
onCurrentChange: r
|
|
759
759
|
}, {
|
|
760
|
-
next:
|
|
760
|
+
next: T(() => [
|
|
761
761
|
at
|
|
762
762
|
]),
|
|
763
763
|
_: 1
|
|
@@ -777,19 +777,19 @@ const $e = (e, s) => {
|
|
|
777
777
|
return l;
|
|
778
778
|
}, ot = {
|
|
779
779
|
name: "BsgoalBaseTableEmpty"
|
|
780
|
-
}, ut = { class: "bsgoal-base-table-empty" }, st = /* @__PURE__ */
|
|
781
|
-
/* @__PURE__ */
|
|
782
|
-
/* @__PURE__ */
|
|
780
|
+
}, ut = { class: "bsgoal-base-table-empty" }, st = /* @__PURE__ */ S("div", { class: "base_table_empty" }, [
|
|
781
|
+
/* @__PURE__ */ S("div", { class: "base_table_empty_img" }, [
|
|
782
|
+
/* @__PURE__ */ S("img", {
|
|
783
783
|
src: "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjQiIGhlaWdodD0iNDEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgPGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMCAxKSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4KICAgIDxlbGxpcHNlIGZpbGw9IiNGNUY1RjUiIGN4PSIzMiIgY3k9IjMzIiByeD0iMzIiIHJ5PSI3Ii8+CiAgICA8ZyBmaWxsLXJ1bGU9Im5vbnplcm8iIHN0cm9rZT0iI0Q5RDlEOSI+CiAgICAgIDxwYXRoIGQ9Ik01NSAxMi43Nkw0NC44NTQgMS4yNThDNDQuMzY3LjQ3NCA0My42NTYgMCA0Mi45MDcgMEgyMS4wOTNjLS43NDkgMC0xLjQ2LjQ3NC0xLjk0NyAxLjI1N0w5IDEyLjc2MVYyMmg0NnYtOS4yNHoiLz4KICAgICAgPHBhdGggZD0iTTQxLjYxMyAxNS45MzFjMC0xLjYwNS45OTQtMi45MyAyLjIyNy0yLjkzMUg1NXYxOC4xMzdDNTUgMzMuMjYgNTMuNjggMzUgNTIuMDUgMzVoLTQwLjFDMTAuMzIgMzUgOSAzMy4yNTkgOSAzMS4xMzdWMTNoMTEuMTZjMS4yMzMgMCAyLjIyNyAxLjMyMyAyLjIyNyAyLjkyOHYuMDIyYzAgMS42MDUgMS4wMDUgMi45MDEgMi4yMzcgMi45MDFoMTQuNzUyYzEuMjMyIDAgMi4yMzctMS4zMDggMi4yMzctMi45MTN2LS4wMDd6IiBmaWxsPSIjRkFGQUZBIi8+CiAgICA8L2c+CiAgPC9nPgo8L3N2Zz4K",
|
|
784
784
|
alt: ""
|
|
785
785
|
})
|
|
786
786
|
]),
|
|
787
|
-
/* @__PURE__ */
|
|
787
|
+
/* @__PURE__ */ S("div", { class: "base_table_empty_text" }, "暂无数据")
|
|
788
788
|
], -1), ct = [
|
|
789
789
|
st
|
|
790
790
|
];
|
|
791
791
|
function rt(e, s, l, r, i, t) {
|
|
792
|
-
return n(),
|
|
792
|
+
return n(), b("div", ut, ct);
|
|
793
793
|
}
|
|
794
794
|
const it = /* @__PURE__ */ $e(ot, [["render", rt]]), dt = (e = null, { expression: s = 75, arg: l = {}, height: r = "" } = {}) => {
|
|
795
795
|
const i = u(e);
|
|
@@ -798,11 +798,11 @@ const it = /* @__PURE__ */ $e(ot, [["render", rt]]), dt = (e = null, { expressio
|
|
|
798
798
|
t && Ce(() => {
|
|
799
799
|
const { y: c = 0 } = t.getBoundingClientRect();
|
|
800
800
|
let d = `calc(100vh - ${c + s}px)`;
|
|
801
|
-
const
|
|
802
|
-
r && (
|
|
801
|
+
const v = Number.parseInt(r);
|
|
802
|
+
r && (v ? d = `${r}px` : d = r), t.style.height = d;
|
|
803
803
|
});
|
|
804
804
|
}
|
|
805
|
-
},
|
|
805
|
+
}, ye = (e = Promise.resolve(), s = null, l = k(!1), r = k(null)) => {
|
|
806
806
|
const i = k("");
|
|
807
807
|
return l.value = !0, e.then((t = {}) => {
|
|
808
808
|
const { data: c = {}, message: d = "" } = t;
|
|
@@ -838,9 +838,9 @@ const it = /* @__PURE__ */ $e(ot, [["render", rt]]), dt = (e = null, { expressio
|
|
|
838
838
|
const gt = { class: "bsgoal-base-table" }, ft = { class: "base_table" }, vt = {
|
|
839
839
|
key: 0,
|
|
840
840
|
class: "base_table_menu"
|
|
841
|
-
},
|
|
841
|
+
}, pt = {
|
|
842
842
|
name: "BsgoalBaseTable"
|
|
843
|
-
}, Ne = /* @__PURE__ */ Object.assign(
|
|
843
|
+
}, Ne = /* @__PURE__ */ Object.assign(pt, {
|
|
844
844
|
props: {
|
|
845
845
|
/**
|
|
846
846
|
* >----------props----------<
|
|
@@ -948,54 +948,58 @@ const gt = { class: "bsgoal-base-table" }, ft = { class: "base_table" }, vt = {
|
|
|
948
948
|
},
|
|
949
949
|
setup(e, { expose: s }) {
|
|
950
950
|
const l = e, r = J(() => {
|
|
951
|
-
const { configOptions:
|
|
952
|
-
return
|
|
951
|
+
const { configOptions: A = [], operation: O = !1, operationWidth: F = 0 } = l, R = u(A), z = [];
|
|
952
|
+
return O && z.push({
|
|
953
953
|
label: "操作",
|
|
954
954
|
fixed: "right",
|
|
955
955
|
prop: "operation",
|
|
956
|
-
width:
|
|
957
|
-
}), [...
|
|
956
|
+
width: F
|
|
957
|
+
}), [...R, ...z];
|
|
958
958
|
}), i = k(null), t = Ve("transferFoldStatus");
|
|
959
|
-
|
|
960
|
-
const { height:
|
|
961
|
-
mt(
|
|
959
|
+
Ee(() => {
|
|
960
|
+
const { height: A } = l, O = t ? t.value : !1, F = u(l.expression);
|
|
961
|
+
mt(A) || dt(i, { arg: O, expression: F, height: A });
|
|
962
962
|
});
|
|
963
|
-
const c =
|
|
964
|
-
|
|
965
|
-
|
|
963
|
+
const c = u(l.mapProps), d = ve({
|
|
964
|
+
currentPage: "currentPage",
|
|
965
|
+
pageSize: "pageSize",
|
|
966
|
+
rows: "rows",
|
|
967
|
+
total: "total"
|
|
968
|
+
}, c), v = k(1), M = k(10), $ = k(0), w = k({}), B = k(l.loading), U = k(l.data), h = k({}), y = () => {
|
|
969
|
+
const { fetch: A, call: O } = l, F = w.value, R = v.value, z = M.value, I = ve({}, F);
|
|
970
|
+
I[d.currentPage] = R, I[d.pageSize] = z, ye(A(I), O, B, h);
|
|
966
971
|
};
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
B.value = v[D.rows], p.value = v[D.total];
|
|
972
|
+
de(h, (A) => {
|
|
973
|
+
U.value = A[d.rows], $.value = A[d.total];
|
|
970
974
|
});
|
|
971
|
-
const
|
|
972
|
-
|
|
973
|
-
},
|
|
974
|
-
|
|
975
|
-
}, C = (
|
|
976
|
-
|
|
975
|
+
const x = (A = {}) => {
|
|
976
|
+
w.value = A, v.value = 1, y();
|
|
977
|
+
}, D = (A = 1) => {
|
|
978
|
+
v.value = A;
|
|
979
|
+
}, C = (A = 10) => {
|
|
980
|
+
M.value = A;
|
|
977
981
|
};
|
|
978
|
-
return
|
|
979
|
-
|
|
982
|
+
return de([v, M], () => {
|
|
983
|
+
y();
|
|
980
984
|
}), s({
|
|
981
|
-
refreshList:
|
|
982
|
-
}), (
|
|
983
|
-
const
|
|
984
|
-
return n(),
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
q(
|
|
985
|
+
refreshList: x
|
|
986
|
+
}), (A, O) => {
|
|
987
|
+
const F = f("el-table-column"), R = f("el-table"), z = ke("loading");
|
|
988
|
+
return n(), b("div", gt, [
|
|
989
|
+
S("div", ft, [
|
|
990
|
+
A.$slots.menu ? (n(), b("div", vt, [
|
|
991
|
+
q(A.$slots, "menu")
|
|
988
992
|
])) : V("", !0),
|
|
989
|
-
|
|
993
|
+
S("div", {
|
|
990
994
|
ref_key: "EL_TABLE_WRAP_REF",
|
|
991
995
|
ref: i
|
|
992
996
|
}, [
|
|
993
|
-
Q((n(),
|
|
997
|
+
Q((n(), E(R, {
|
|
994
998
|
stripe: "",
|
|
995
999
|
border: "",
|
|
996
1000
|
"highlight-current-row": "",
|
|
997
1001
|
style: { width: "100%" },
|
|
998
|
-
data:
|
|
1002
|
+
data: U.value,
|
|
999
1003
|
"header-cell-style": {
|
|
1000
1004
|
fontWeight: "bold",
|
|
1001
1005
|
backgroundColor: "#EBEEF5",
|
|
@@ -1003,30 +1007,30 @@ const gt = { class: "bsgoal-base-table" }, ft = { class: "base_table" }, vt = {
|
|
|
1003
1007
|
fontSize: "14px"
|
|
1004
1008
|
}
|
|
1005
1009
|
}, {
|
|
1006
|
-
empty:
|
|
1007
|
-
|
|
1010
|
+
empty: T(() => [
|
|
1011
|
+
N(it)
|
|
1008
1012
|
]),
|
|
1009
|
-
default:
|
|
1010
|
-
e.selection ? (n(),
|
|
1013
|
+
default: T(() => [
|
|
1014
|
+
e.selection ? (n(), E(F, {
|
|
1011
1015
|
key: 0,
|
|
1012
1016
|
fixed: "left",
|
|
1013
1017
|
type: "selection",
|
|
1014
1018
|
width: "40"
|
|
1015
1019
|
})) : V("", !0),
|
|
1016
|
-
(n(!0),
|
|
1017
|
-
key:
|
|
1018
|
-
label:
|
|
1019
|
-
align:
|
|
1020
|
-
width:
|
|
1021
|
-
fixed:
|
|
1022
|
-
"min-width": `${
|
|
1020
|
+
(n(!0), b(P, null, X(u(r), ({ prop: I = "", label: j = "", align: Z = "center", width: ee = "", fixed: te = !1, tooltip: ue = !1, limit: se = 0 } = {}, ce) => (n(), E(F, {
|
|
1021
|
+
key: ce,
|
|
1022
|
+
label: j,
|
|
1023
|
+
align: Z,
|
|
1024
|
+
width: ee,
|
|
1025
|
+
fixed: te,
|
|
1026
|
+
"min-width": `${j.length * 14 + 24}px`
|
|
1023
1027
|
}, {
|
|
1024
|
-
default:
|
|
1025
|
-
q(
|
|
1026
|
-
|
|
1027
|
-
limit:
|
|
1028
|
-
tooltip:
|
|
1029
|
-
data:
|
|
1028
|
+
default: T(({ row: L }) => [
|
|
1029
|
+
q(A.$slots, I, { row: L }, () => [
|
|
1030
|
+
N(Je, {
|
|
1031
|
+
limit: se,
|
|
1032
|
+
tooltip: ue,
|
|
1033
|
+
data: L[I]
|
|
1030
1034
|
}, null, 8, ["limit", "tooltip", "data"])
|
|
1031
1035
|
])
|
|
1032
1036
|
]),
|
|
@@ -1035,13 +1039,13 @@ const gt = { class: "bsgoal-base-table" }, ft = { class: "base_table" }, vt = {
|
|
|
1035
1039
|
]),
|
|
1036
1040
|
_: 3
|
|
1037
1041
|
}, 8, ["data", "header-cell-style"])), [
|
|
1038
|
-
[
|
|
1042
|
+
[z, B.value]
|
|
1039
1043
|
])
|
|
1040
1044
|
], 512),
|
|
1041
|
-
e.page ? (n(),
|
|
1045
|
+
e.page ? (n(), E(nt, {
|
|
1042
1046
|
key: 1,
|
|
1043
|
-
total:
|
|
1044
|
-
onOnCurrentChange:
|
|
1047
|
+
total: $.value,
|
|
1048
|
+
onOnCurrentChange: D,
|
|
1045
1049
|
onOnSizeChange: C
|
|
1046
1050
|
}, null, 8, ["total"])) : V("", !0)
|
|
1047
1051
|
])
|
|
@@ -1049,9 +1053,9 @@ const gt = { class: "bsgoal-base-table" }, ft = { class: "base_table" }, vt = {
|
|
|
1049
1053
|
};
|
|
1050
1054
|
}
|
|
1051
1055
|
});
|
|
1052
|
-
const
|
|
1056
|
+
const ht = {
|
|
1053
1057
|
name: "BsgoalBaseLine"
|
|
1054
|
-
},
|
|
1058
|
+
}, Te = /* @__PURE__ */ Object.assign(ht, {
|
|
1055
1059
|
props: {
|
|
1056
1060
|
/**
|
|
1057
1061
|
* 是否为垂直
|
|
@@ -1062,17 +1066,17 @@ const pt = {
|
|
|
1062
1066
|
}
|
|
1063
1067
|
},
|
|
1064
1068
|
setup(e) {
|
|
1065
|
-
return (s, l) => (n(),
|
|
1066
|
-
class:
|
|
1069
|
+
return (s, l) => (n(), b("div", {
|
|
1070
|
+
class: _e(["bsgoal-base-line", { "bsgoal-base-line__vertical": e.vertical }])
|
|
1067
1071
|
}, [
|
|
1068
|
-
|
|
1069
|
-
class:
|
|
1072
|
+
S("div", {
|
|
1073
|
+
class: _e(["base_line", { base_line__vertical: e.vertical }])
|
|
1070
1074
|
}, null, 2)
|
|
1071
1075
|
], 2));
|
|
1072
1076
|
}
|
|
1073
1077
|
});
|
|
1074
1078
|
/*! Element Plus Icons Vue v2.1.0 */
|
|
1075
|
-
var
|
|
1079
|
+
var oe = (e, s) => {
|
|
1076
1080
|
let l = e.__vccOpts || e;
|
|
1077
1081
|
for (let [r, i] of s)
|
|
1078
1082
|
l[r] = i;
|
|
@@ -1082,7 +1086,7 @@ var ue = (e, s) => {
|
|
|
1082
1086
|
}, bt = {
|
|
1083
1087
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1084
1088
|
viewBox: "0 0 1024 1024"
|
|
1085
|
-
}, yt = /* @__PURE__ */
|
|
1089
|
+
}, yt = /* @__PURE__ */ S(
|
|
1086
1090
|
"path",
|
|
1087
1091
|
{
|
|
1088
1092
|
fill: "currentColor",
|
|
@@ -1095,14 +1099,14 @@ var ue = (e, s) => {
|
|
|
1095
1099
|
yt
|
|
1096
1100
|
];
|
|
1097
1101
|
function At(e, s, l, r, i, t) {
|
|
1098
|
-
return n(),
|
|
1102
|
+
return n(), b("svg", bt, Tt);
|
|
1099
1103
|
}
|
|
1100
|
-
var xt = /* @__PURE__ */
|
|
1104
|
+
var xt = /* @__PURE__ */ oe(Et, [["render", At], ["__file", "arrow-down.vue"]]), Ct = {
|
|
1101
1105
|
name: "ArrowLeft"
|
|
1102
1106
|
}, Vt = {
|
|
1103
1107
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1104
1108
|
viewBox: "0 0 1024 1024"
|
|
1105
|
-
}, Mt = /* @__PURE__ */
|
|
1109
|
+
}, Mt = /* @__PURE__ */ S(
|
|
1106
1110
|
"path",
|
|
1107
1111
|
{
|
|
1108
1112
|
fill: "currentColor",
|
|
@@ -1115,14 +1119,14 @@ var xt = /* @__PURE__ */ ue(Et, [["render", At], ["__file", "arrow-down.vue"]]),
|
|
|
1115
1119
|
Mt
|
|
1116
1120
|
];
|
|
1117
1121
|
function Nt(e, s, l, r, i, t) {
|
|
1118
|
-
return n(),
|
|
1122
|
+
return n(), b("svg", Vt, $t);
|
|
1119
1123
|
}
|
|
1120
|
-
var
|
|
1124
|
+
var wt = /* @__PURE__ */ oe(Ct, [["render", Nt], ["__file", "arrow-left.vue"]]), Bt = {
|
|
1121
1125
|
name: "ArrowRight"
|
|
1122
1126
|
}, Dt = {
|
|
1123
1127
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1124
1128
|
viewBox: "0 0 1024 1024"
|
|
1125
|
-
}, kt = /* @__PURE__ */
|
|
1129
|
+
}, kt = /* @__PURE__ */ S(
|
|
1126
1130
|
"path",
|
|
1127
1131
|
{
|
|
1128
1132
|
fill: "currentColor",
|
|
@@ -1131,18 +1135,18 @@ var Bt = /* @__PURE__ */ ue(Ct, [["render", Nt], ["__file", "arrow-left.vue"]]),
|
|
|
1131
1135
|
null,
|
|
1132
1136
|
-1
|
|
1133
1137
|
/* HOISTED */
|
|
1134
|
-
),
|
|
1138
|
+
), St = [
|
|
1135
1139
|
kt
|
|
1136
1140
|
];
|
|
1137
|
-
function
|
|
1138
|
-
return n(),
|
|
1141
|
+
function Ot(e, s, l, r, i, t) {
|
|
1142
|
+
return n(), b("svg", Dt, St);
|
|
1139
1143
|
}
|
|
1140
|
-
var It = /* @__PURE__ */
|
|
1144
|
+
var It = /* @__PURE__ */ oe(Bt, [["render", Ot], ["__file", "arrow-right.vue"]]), Ft = {
|
|
1141
1145
|
name: "ArrowUp"
|
|
1142
1146
|
}, Rt = {
|
|
1143
1147
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1144
1148
|
viewBox: "0 0 1024 1024"
|
|
1145
|
-
}, Ut = /* @__PURE__ */
|
|
1149
|
+
}, Ut = /* @__PURE__ */ S(
|
|
1146
1150
|
"path",
|
|
1147
1151
|
{
|
|
1148
1152
|
fill: "currentColor",
|
|
@@ -1155,14 +1159,14 @@ var It = /* @__PURE__ */ ue(wt, [["render", St], ["__file", "arrow-right.vue"]])
|
|
|
1155
1159
|
Ut
|
|
1156
1160
|
];
|
|
1157
1161
|
function zt(e, s, l, r, i, t) {
|
|
1158
|
-
return n(),
|
|
1162
|
+
return n(), b("svg", Rt, Lt);
|
|
1159
1163
|
}
|
|
1160
|
-
var
|
|
1164
|
+
var Pt = /* @__PURE__ */ oe(Ft, [["render", zt], ["__file", "arrow-up.vue"]]), jt = {
|
|
1161
1165
|
name: "Delete"
|
|
1162
1166
|
}, Yt = {
|
|
1163
1167
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1164
1168
|
viewBox: "0 0 1024 1024"
|
|
1165
|
-
}, Gt = /* @__PURE__ */
|
|
1169
|
+
}, Gt = /* @__PURE__ */ S(
|
|
1166
1170
|
"path",
|
|
1167
1171
|
{
|
|
1168
1172
|
fill: "currentColor",
|
|
@@ -1175,14 +1179,14 @@ var jt = /* @__PURE__ */ ue(Ft, [["render", zt], ["__file", "arrow-up.vue"]]), P
|
|
|
1175
1179
|
Gt
|
|
1176
1180
|
];
|
|
1177
1181
|
function Wt(e, s, l, r, i, t) {
|
|
1178
|
-
return n(),
|
|
1182
|
+
return n(), b("svg", Yt, Ht);
|
|
1179
1183
|
}
|
|
1180
|
-
var Xt = /* @__PURE__ */
|
|
1184
|
+
var Xt = /* @__PURE__ */ oe(jt, [["render", Wt], ["__file", "delete.vue"]]), Qt = {
|
|
1181
1185
|
name: "Search"
|
|
1182
1186
|
}, Zt = {
|
|
1183
1187
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1184
1188
|
viewBox: "0 0 1024 1024"
|
|
1185
|
-
}, Kt = /* @__PURE__ */
|
|
1189
|
+
}, Kt = /* @__PURE__ */ S(
|
|
1186
1190
|
"path",
|
|
1187
1191
|
{
|
|
1188
1192
|
fill: "currentColor",
|
|
@@ -1195,9 +1199,9 @@ var Xt = /* @__PURE__ */ ue(Pt, [["render", Wt], ["__file", "delete.vue"]]), Qt
|
|
|
1195
1199
|
Kt
|
|
1196
1200
|
];
|
|
1197
1201
|
function qt(e, s, l, r, i, t) {
|
|
1198
|
-
return n(),
|
|
1202
|
+
return n(), b("svg", Zt, Jt);
|
|
1199
1203
|
}
|
|
1200
|
-
var ea = /* @__PURE__ */
|
|
1204
|
+
var ea = /* @__PURE__ */ oe(Qt, [["render", qt], ["__file", "search.vue"]]);
|
|
1201
1205
|
const ta = { class: "bsgoal-base-search-operation" }, aa = {
|
|
1202
1206
|
name: "BsgoalBaseSearchOperation"
|
|
1203
1207
|
}, la = /* @__PURE__ */ Object.assign(aa, {
|
|
@@ -1217,39 +1221,39 @@ const ta = { class: "bsgoal-base-search-operation" }, aa = {
|
|
|
1217
1221
|
};
|
|
1218
1222
|
return (i, t) => {
|
|
1219
1223
|
const c = f("el-button"), d = f("el-icon");
|
|
1220
|
-
return n(),
|
|
1221
|
-
|
|
1224
|
+
return n(), b("div", ta, [
|
|
1225
|
+
N(c, {
|
|
1222
1226
|
type: "primary",
|
|
1223
1227
|
icon: u(ea),
|
|
1224
|
-
onClick: t[0] || (t[0] = (
|
|
1228
|
+
onClick: t[0] || (t[0] = (v) => i.$emit("on-search"))
|
|
1225
1229
|
}, {
|
|
1226
|
-
default:
|
|
1230
|
+
default: T(() => [
|
|
1227
1231
|
W("搜索")
|
|
1228
1232
|
]),
|
|
1229
1233
|
_: 1
|
|
1230
1234
|
}, 8, ["icon"]),
|
|
1231
|
-
|
|
1235
|
+
N(c, {
|
|
1232
1236
|
icon: u(Xt),
|
|
1233
|
-
onClick: t[1] || (t[1] = (
|
|
1237
|
+
onClick: t[1] || (t[1] = (v) => i.$emit("on-clear"))
|
|
1234
1238
|
}, {
|
|
1235
|
-
default:
|
|
1239
|
+
default: T(() => [
|
|
1236
1240
|
W("清空")
|
|
1237
1241
|
]),
|
|
1238
1242
|
_: 1
|
|
1239
1243
|
}, 8, ["icon"]),
|
|
1240
|
-
e.fold ? (n(),
|
|
1244
|
+
e.fold ? (n(), b("div", {
|
|
1241
1245
|
key: 0,
|
|
1242
1246
|
class: "operation_fold",
|
|
1243
1247
|
style: { color: "var(--el-color-primary)" },
|
|
1244
1248
|
onClick: r
|
|
1245
1249
|
}, [
|
|
1246
|
-
W(
|
|
1247
|
-
|
|
1248
|
-
default:
|
|
1249
|
-
Q(
|
|
1250
|
+
W(Y(l.value ? "收起" : "展开"), 1),
|
|
1251
|
+
N(d, { color: "#409EFC" }, {
|
|
1252
|
+
default: T(() => [
|
|
1253
|
+
Q(N(u(Pt), null, null, 512), [
|
|
1250
1254
|
[le, l.value]
|
|
1251
1255
|
]),
|
|
1252
|
-
Q(
|
|
1256
|
+
Q(N(u(xt), null, null, 512), [
|
|
1253
1257
|
[le, !l.value]
|
|
1254
1258
|
])
|
|
1255
1259
|
]),
|
|
@@ -1303,8 +1307,8 @@ const na = { class: "bsgoal-base-cascader" }, oa = {
|
|
|
1303
1307
|
};
|
|
1304
1308
|
return (i, t) => {
|
|
1305
1309
|
const c = f("el-cascader");
|
|
1306
|
-
return n(),
|
|
1307
|
-
|
|
1310
|
+
return n(), b("div", na, [
|
|
1311
|
+
N(c, {
|
|
1308
1312
|
clearable: "",
|
|
1309
1313
|
class: "base_cascader",
|
|
1310
1314
|
"show-all-levels": !1,
|
|
@@ -1362,25 +1366,25 @@ const sa = { class: "bsgoal-base-search" }, ca = { class: "base_search" }, ra =
|
|
|
1362
1366
|
},
|
|
1363
1367
|
emits: ["on-search", "on-clear", "on-change", "on-fold"],
|
|
1364
1368
|
setup(e, { emit: s }) {
|
|
1365
|
-
const l = e, r = k(null), i =
|
|
1366
|
-
|
|
1367
|
-
const { configOptions:
|
|
1368
|
-
u(
|
|
1369
|
-
const { value:
|
|
1370
|
-
[a.INPUT, a.INPUT_TEXT_AREA].includes(
|
|
1369
|
+
const l = e, r = k(null), i = be.align, t = k({});
|
|
1370
|
+
Ee(() => {
|
|
1371
|
+
const { configOptions: y } = l;
|
|
1372
|
+
u(y).forEach((D) => {
|
|
1373
|
+
const { value: C, prop: A = "", type: O = "" } = D;
|
|
1374
|
+
[a.INPUT, a.INPUT_TEXT_AREA].includes(O), t.value[A] = [0, !1].includes(C) ? C : "";
|
|
1371
1375
|
});
|
|
1372
1376
|
});
|
|
1373
1377
|
const c = J(() => {
|
|
1374
|
-
const { configOptions:
|
|
1378
|
+
const { configOptions: y } = l, x = u(y), D = {
|
|
1375
1379
|
type: a.OPERATION
|
|
1376
1380
|
};
|
|
1377
|
-
return [...
|
|
1378
|
-
}), d = (
|
|
1379
|
-
if (!
|
|
1380
|
-
switch (
|
|
1381
|
+
return [...x, D];
|
|
1382
|
+
}), d = (y = "", x = "", D = "") => {
|
|
1383
|
+
if (!D)
|
|
1384
|
+
switch (y) {
|
|
1381
1385
|
case a.INPUT:
|
|
1382
1386
|
case a.INPUT_TEXT_AREA:
|
|
1383
|
-
return `请输入${
|
|
1387
|
+
return `请输入${x}`;
|
|
1384
1388
|
case a.SELECT:
|
|
1385
1389
|
case a.DATE:
|
|
1386
1390
|
case a.WEEK:
|
|
@@ -1389,7 +1393,7 @@ const sa = { class: "bsgoal-base-search" }, ca = { class: "base_search" }, ra =
|
|
|
1389
1393
|
case a.DATE_TIME:
|
|
1390
1394
|
case a.TIME:
|
|
1391
1395
|
case a.CASCADER:
|
|
1392
|
-
return `请选择${
|
|
1396
|
+
return `请选择${x}`;
|
|
1393
1397
|
case a.DATE_RANGE:
|
|
1394
1398
|
case a.DATE_TIME_RANGE:
|
|
1395
1399
|
return ["开始日期", "结束日期"];
|
|
@@ -1398,10 +1402,10 @@ const sa = { class: "bsgoal-base-search" }, ca = { class: "base_search" }, ra =
|
|
|
1398
1402
|
case a.MONTH_RANGE:
|
|
1399
1403
|
return ["开始月份", "结束月份"];
|
|
1400
1404
|
}
|
|
1401
|
-
return
|
|
1402
|
-
},
|
|
1403
|
-
if (!
|
|
1404
|
-
switch (
|
|
1405
|
+
return D;
|
|
1406
|
+
}, v = (y = "", x = "") => {
|
|
1407
|
+
if (!x)
|
|
1408
|
+
switch (y) {
|
|
1405
1409
|
case a.WEEK:
|
|
1406
1410
|
return "ww";
|
|
1407
1411
|
case a.DATE:
|
|
@@ -1420,132 +1424,132 @@ const sa = { class: "bsgoal-base-search" }, ca = { class: "base_search" }, ra =
|
|
|
1420
1424
|
case a.DATE_TIME_RANGE:
|
|
1421
1425
|
return "YYYY-MM-DD HH:mm:ss";
|
|
1422
1426
|
}
|
|
1423
|
-
return
|
|
1424
|
-
},
|
|
1425
|
-
const { configOptions:
|
|
1426
|
-
for (const
|
|
1427
|
-
const { type:
|
|
1428
|
-
if ([a.CASCADER].includes(
|
|
1429
|
-
const
|
|
1430
|
-
|
|
1427
|
+
return x;
|
|
1428
|
+
}, M = () => {
|
|
1429
|
+
const { configOptions: y } = l, x = u(t), D = u(y), C = {};
|
|
1430
|
+
for (const A of D) {
|
|
1431
|
+
const { type: O = "", range: F = [], prop: R = "", single: z = !1 } = A, I = x[R];
|
|
1432
|
+
if ([a.CASCADER].includes(O) && Array.isArray(I) && z) {
|
|
1433
|
+
const j = I.length;
|
|
1434
|
+
j ? C[R] = I[j - 1] : C[R] = I;
|
|
1431
1435
|
} else
|
|
1432
|
-
|
|
1433
|
-
if (
|
|
1434
|
-
const { 0:
|
|
1435
|
-
|
|
1436
|
+
Se(I) ? C[R] = Oe(I) : C[R] = I;
|
|
1437
|
+
if (O.endsWith("range") && F && F.length === 2) {
|
|
1438
|
+
const { 0: j = "", 1: Z = "" } = I, { 0: ee = "", 1: te = "" } = F;
|
|
1439
|
+
C[ee] = j, C[te] = Z;
|
|
1436
1440
|
}
|
|
1437
1441
|
}
|
|
1438
|
-
s("on-search",
|
|
1442
|
+
s("on-search", C), s("update:modelValue", C);
|
|
1439
1443
|
};
|
|
1440
1444
|
Ce(() => {
|
|
1441
|
-
|
|
1445
|
+
M();
|
|
1442
1446
|
});
|
|
1443
|
-
const
|
|
1447
|
+
const $ = () => {
|
|
1444
1448
|
r.value.resetFields(), s("on-clear", t.value);
|
|
1445
|
-
},
|
|
1446
|
-
|
|
1447
|
-
},
|
|
1448
|
-
|
|
1449
|
-
const
|
|
1450
|
-
type:
|
|
1451
|
-
prop:
|
|
1452
|
-
value: t.value[
|
|
1449
|
+
}, w = Ve("transferFoldStatus"), B = k(!1), U = (y = !1) => {
|
|
1450
|
+
B.value = y, w && (w.value = y), s("on-fold", B);
|
|
1451
|
+
}, h = (y, x) => {
|
|
1452
|
+
M();
|
|
1453
|
+
const D = {
|
|
1454
|
+
type: y,
|
|
1455
|
+
prop: x,
|
|
1456
|
+
value: t.value[x] || ""
|
|
1453
1457
|
};
|
|
1454
|
-
s("on-change",
|
|
1458
|
+
s("on-change", D);
|
|
1455
1459
|
};
|
|
1456
|
-
return (
|
|
1457
|
-
const
|
|
1458
|
-
return n(),
|
|
1459
|
-
|
|
1460
|
-
Q((n(),
|
|
1460
|
+
return (y, x) => {
|
|
1461
|
+
const D = f("el-input"), C = f("el-input-number"), A = f("el-radio"), O = f("el-radio-group"), F = f("el-option"), R = f("el-select"), z = f("el-slider"), I = f("el-switch"), j = f("el-date-picker"), Z = f("el-time-picker"), ee = f("el-checkbox"), te = f("el-checkbox-group"), ue = f("el-form-item"), se = f("el-col"), ce = f("el-row"), L = f("el-form");
|
|
1462
|
+
return n(), b("div", sa, [
|
|
1463
|
+
S("div", ca, [
|
|
1464
|
+
Q((n(), E(L, {
|
|
1461
1465
|
ref_key: "EL_FORM_REF",
|
|
1462
1466
|
ref: r,
|
|
1463
1467
|
"label-suffix": ":",
|
|
1464
1468
|
"show-message": !1,
|
|
1465
1469
|
model: t.value
|
|
1466
1470
|
}, {
|
|
1467
|
-
default:
|
|
1468
|
-
|
|
1469
|
-
default:
|
|
1470
|
-
(n(!0),
|
|
1471
|
-
label:
|
|
1471
|
+
default: T(() => [
|
|
1472
|
+
N(ce, null, {
|
|
1473
|
+
default: T(() => [
|
|
1474
|
+
(n(!0), b(P, null, X(u(c), ({
|
|
1475
|
+
label: p = "",
|
|
1472
1476
|
prop: o = "",
|
|
1473
1477
|
type: _ = "text",
|
|
1474
1478
|
placeholder: G = "",
|
|
1475
|
-
readonly:
|
|
1476
|
-
clearable:
|
|
1477
|
-
rows:
|
|
1478
|
-
min:
|
|
1479
|
+
readonly: me = !1,
|
|
1480
|
+
clearable: ge = !0,
|
|
1481
|
+
rows: fe = 2,
|
|
1482
|
+
min: re = 1,
|
|
1479
1483
|
max: K = 10,
|
|
1480
1484
|
range: H = [],
|
|
1481
1485
|
format: ae = ""
|
|
1482
|
-
} = {},
|
|
1483
|
-
key:
|
|
1486
|
+
} = {}, ne) => Q((n(), E(se, {
|
|
1487
|
+
key: ne,
|
|
1484
1488
|
xs: 24,
|
|
1485
1489
|
sm: 12,
|
|
1486
1490
|
md: e.medium
|
|
1487
1491
|
}, {
|
|
1488
|
-
default:
|
|
1489
|
-
|
|
1490
|
-
label:
|
|
1492
|
+
default: T(() => [
|
|
1493
|
+
N(ue, {
|
|
1494
|
+
label: p,
|
|
1491
1495
|
prop: o
|
|
1492
1496
|
}, {
|
|
1493
|
-
default:
|
|
1494
|
-
|
|
1495
|
-
_ === u(a).INPUT ? (n(),
|
|
1497
|
+
default: T(() => [
|
|
1498
|
+
me ? (n(), b("div", ra, Y(t.value[o]), 1)) : (n(), b(P, { key: 0 }, [
|
|
1499
|
+
_ === u(a).INPUT ? (n(), E(D, {
|
|
1496
1500
|
key: 0,
|
|
1497
1501
|
modelValue: t.value[o],
|
|
1498
1502
|
"onUpdate:modelValue": (g) => t.value[o] = g,
|
|
1499
|
-
placeholder: d(_,
|
|
1500
|
-
clearable:
|
|
1501
|
-
onChange: (g) =>
|
|
1503
|
+
placeholder: d(_, p, G),
|
|
1504
|
+
clearable: ge,
|
|
1505
|
+
onChange: (g) => h(_, o)
|
|
1502
1506
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder", "clearable", "onChange"])) : V("", !0),
|
|
1503
|
-
_ === u(a).INPUT_TEXT_AREA ? (n(),
|
|
1507
|
+
_ === u(a).INPUT_TEXT_AREA ? (n(), E(D, {
|
|
1504
1508
|
key: 1,
|
|
1505
1509
|
modelValue: t.value[o],
|
|
1506
1510
|
"onUpdate:modelValue": (g) => t.value[o] = g,
|
|
1507
1511
|
type: "textarea",
|
|
1508
|
-
rows:
|
|
1509
|
-
clearable:
|
|
1510
|
-
placeholder: d(_,
|
|
1511
|
-
onChange: (g) =>
|
|
1512
|
+
rows: fe,
|
|
1513
|
+
clearable: ge,
|
|
1514
|
+
placeholder: d(_, p, G),
|
|
1515
|
+
onChange: (g) => h(_, o)
|
|
1512
1516
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "rows", "clearable", "placeholder", "onChange"])) : V("", !0),
|
|
1513
|
-
_ === u(a).INPUT_NUMBER ? (n(),
|
|
1517
|
+
_ === u(a).INPUT_NUMBER ? (n(), E(C, {
|
|
1514
1518
|
key: 2,
|
|
1515
|
-
modelValue:
|
|
1516
|
-
"onUpdate:modelValue":
|
|
1517
|
-
min:
|
|
1519
|
+
modelValue: y.num,
|
|
1520
|
+
"onUpdate:modelValue": x[0] || (x[0] = (g) => y.num = g),
|
|
1521
|
+
min: re,
|
|
1518
1522
|
max: K,
|
|
1519
|
-
onChange:
|
|
1523
|
+
onChange: h
|
|
1520
1524
|
}, null, 8, ["modelValue", "min", "max"])) : V("", !0),
|
|
1521
|
-
_ === u(a).RADIO ? (n(),
|
|
1525
|
+
_ === u(a).RADIO ? (n(), E(O, {
|
|
1522
1526
|
key: 3,
|
|
1523
1527
|
modelValue: t.value[o],
|
|
1524
1528
|
"onUpdate:modelValue": (g) => t.value[o] = g,
|
|
1525
|
-
onChange: (g) =>
|
|
1529
|
+
onChange: (g) => h(_, o)
|
|
1526
1530
|
}, {
|
|
1527
|
-
default:
|
|
1528
|
-
(n(!0),
|
|
1531
|
+
default: T(() => [
|
|
1532
|
+
(n(!0), b(P, null, X(H, (g, m) => (n(), E(A, {
|
|
1529
1533
|
key: m,
|
|
1530
1534
|
label: g.value
|
|
1531
1535
|
}, {
|
|
1532
|
-
default:
|
|
1533
|
-
W(
|
|
1536
|
+
default: T(() => [
|
|
1537
|
+
W(Y(g.label), 1)
|
|
1534
1538
|
]),
|
|
1535
1539
|
_: 2
|
|
1536
1540
|
}, 1032, ["label"]))), 128))
|
|
1537
1541
|
]),
|
|
1538
1542
|
_: 2
|
|
1539
1543
|
}, 1032, ["modelValue", "onUpdate:modelValue", "onChange"])) : V("", !0),
|
|
1540
|
-
_ === u(a).SELECT ? (n(),
|
|
1544
|
+
_ === u(a).SELECT ? (n(), E(R, {
|
|
1541
1545
|
key: 4,
|
|
1542
1546
|
modelValue: t.value[o],
|
|
1543
1547
|
"onUpdate:modelValue": (g) => t.value[o] = g,
|
|
1544
|
-
placeholder: d(_,
|
|
1545
|
-
onChange: (g) =>
|
|
1548
|
+
placeholder: d(_, p, G),
|
|
1549
|
+
onChange: (g) => h(_, o)
|
|
1546
1550
|
}, {
|
|
1547
|
-
default:
|
|
1548
|
-
(n(!0),
|
|
1551
|
+
default: T(() => [
|
|
1552
|
+
(n(!0), b(P, null, X(H, (g, m) => (n(), E(F, {
|
|
1549
1553
|
key: m,
|
|
1550
1554
|
label: g.label,
|
|
1551
1555
|
value: g.value
|
|
@@ -1553,100 +1557,100 @@ const sa = { class: "bsgoal-base-search" }, ca = { class: "base_search" }, ra =
|
|
|
1553
1557
|
]),
|
|
1554
1558
|
_: 2
|
|
1555
1559
|
}, 1032, ["modelValue", "onUpdate:modelValue", "placeholder", "onChange"])) : V("", !0),
|
|
1556
|
-
_ === u(a).SLIDER ? (n(),
|
|
1560
|
+
_ === u(a).SLIDER ? (n(), E(z, {
|
|
1557
1561
|
key: 5,
|
|
1558
1562
|
modelValue: t.value[o],
|
|
1559
1563
|
"onUpdate:modelValue": (g) => t.value[o] = g,
|
|
1560
|
-
min:
|
|
1564
|
+
min: re,
|
|
1561
1565
|
max: K,
|
|
1562
|
-
onChange: (g) =>
|
|
1566
|
+
onChange: (g) => h(_, o)
|
|
1563
1567
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "min", "max", "onChange"])) : V("", !0),
|
|
1564
|
-
_ === u(a).SWITCH ? (n(),
|
|
1568
|
+
_ === u(a).SWITCH ? (n(), E(I, {
|
|
1565
1569
|
key: 6,
|
|
1566
1570
|
modelValue: t.value[o],
|
|
1567
1571
|
"onUpdate:modelValue": (g) => t.value[o] = g,
|
|
1568
1572
|
"active-value": H[0] || !0,
|
|
1569
1573
|
"inactive-value": H[1] || !1,
|
|
1570
|
-
onChange: (g) =>
|
|
1574
|
+
onChange: (g) => h(_, o)
|
|
1571
1575
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "active-value", "inactive-value", "onChange"])) : V("", !0),
|
|
1572
1576
|
[u(a).DATE, u(a).MONTH, u(a).YEAR, u(a).DATE_TIME].includes(
|
|
1573
1577
|
_
|
|
1574
|
-
) ? (n(),
|
|
1578
|
+
) ? (n(), E(j, {
|
|
1575
1579
|
key: 7,
|
|
1576
1580
|
modelValue: t.value[o],
|
|
1577
1581
|
"onUpdate:modelValue": (g) => t.value[o] = g,
|
|
1578
|
-
format:
|
|
1579
|
-
"value-format":
|
|
1582
|
+
format: v(_, ae),
|
|
1583
|
+
"value-format": v(_, ae),
|
|
1580
1584
|
type: _,
|
|
1581
|
-
placeholder: d(_,
|
|
1582
|
-
onChange: (g) =>
|
|
1585
|
+
placeholder: d(_, p, G),
|
|
1586
|
+
onChange: (g) => h(_, o)
|
|
1583
1587
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "format", "value-format", "type", "placeholder", "onChange"])) : V("", !0),
|
|
1584
1588
|
[
|
|
1585
1589
|
u(a).DATE_RANGE,
|
|
1586
1590
|
u(a).MONTH_RANGE,
|
|
1587
1591
|
u(a).DATE_TIME_RANGE
|
|
1588
|
-
].includes(_) ? (n(),
|
|
1592
|
+
].includes(_) ? (n(), E(j, {
|
|
1589
1593
|
key: 8,
|
|
1590
1594
|
modelValue: t.value[o],
|
|
1591
1595
|
"onUpdate:modelValue": (g) => t.value[o] = g,
|
|
1592
1596
|
type: _,
|
|
1593
|
-
"value-format":
|
|
1594
|
-
"start-placeholder": d(_,
|
|
1595
|
-
"end-placeholder": d(_,
|
|
1596
|
-
onChange: (g) =>
|
|
1597
|
+
"value-format": v(_, ae),
|
|
1598
|
+
"start-placeholder": d(_, p, G)[0],
|
|
1599
|
+
"end-placeholder": d(_, p, G)[1],
|
|
1600
|
+
onChange: (g) => h(_, o)
|
|
1597
1601
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "type", "value-format", "start-placeholder", "end-placeholder", "onChange"])) : V("", !0),
|
|
1598
|
-
[u(a).TIME].includes(_) ? (n(),
|
|
1602
|
+
[u(a).TIME].includes(_) ? (n(), E(Z, {
|
|
1599
1603
|
key: 9,
|
|
1600
1604
|
modelValue: t.value[o],
|
|
1601
1605
|
"onUpdate:modelValue": (g) => t.value[o] = g,
|
|
1602
1606
|
"arrow-control": "",
|
|
1603
|
-
"value-format":
|
|
1604
|
-
placeholder: d(_,
|
|
1605
|
-
onChange: (g) =>
|
|
1607
|
+
"value-format": v(_, ae),
|
|
1608
|
+
placeholder: d(_, p, G),
|
|
1609
|
+
onChange: (g) => h(_, o)
|
|
1606
1610
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "value-format", "placeholder", "onChange"])) : V("", !0),
|
|
1607
|
-
[u(a).TIME_RANGE].includes(_) ? (n(),
|
|
1611
|
+
[u(a).TIME_RANGE].includes(_) ? (n(), E(Z, {
|
|
1608
1612
|
key: 10,
|
|
1609
1613
|
modelValue: t.value[o],
|
|
1610
1614
|
"onUpdate:modelValue": (g) => t.value[o] = g,
|
|
1611
1615
|
"is-range": "",
|
|
1612
|
-
"value-format":
|
|
1613
|
-
"start-placeholder": d(_,
|
|
1614
|
-
"end-placeholder": d(_,
|
|
1615
|
-
onChange: (g) =>
|
|
1616
|
+
"value-format": v(_, ae),
|
|
1617
|
+
"start-placeholder": d(_, p, G)[0],
|
|
1618
|
+
"end-placeholder": d(_, p, G)[1],
|
|
1619
|
+
onChange: (g) => h(_, o)
|
|
1616
1620
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "value-format", "start-placeholder", "end-placeholder", "onChange"])) : V("", !0),
|
|
1617
|
-
[u(a).CHECKBOX].includes(_) ? (n(),
|
|
1621
|
+
[u(a).CHECKBOX].includes(_) ? (n(), E(te, {
|
|
1618
1622
|
key: 11,
|
|
1619
1623
|
modelValue: t.value[o],
|
|
1620
1624
|
"onUpdate:modelValue": (g) => t.value[o] = g,
|
|
1621
|
-
onChange: (g) =>
|
|
1625
|
+
onChange: (g) => h(_, o)
|
|
1622
1626
|
}, {
|
|
1623
|
-
default:
|
|
1624
|
-
(n(!0),
|
|
1627
|
+
default: T(() => [
|
|
1628
|
+
(n(!0), b(P, null, X(H, (g, m) => (n(), E(ee, {
|
|
1625
1629
|
key: m,
|
|
1626
1630
|
label: g.value
|
|
1627
1631
|
}, {
|
|
1628
|
-
default:
|
|
1629
|
-
W(
|
|
1632
|
+
default: T(() => [
|
|
1633
|
+
W(Y(g.label), 1)
|
|
1630
1634
|
]),
|
|
1631
1635
|
_: 2
|
|
1632
1636
|
}, 1032, ["label"]))), 128))
|
|
1633
1637
|
]),
|
|
1634
1638
|
_: 2
|
|
1635
1639
|
}, 1032, ["modelValue", "onUpdate:modelValue", "onChange"])) : V("", !0),
|
|
1636
|
-
[u(a).CASCADER].includes(_) ? (n(),
|
|
1640
|
+
[u(a).CASCADER].includes(_) ? (n(), E(ua, {
|
|
1637
1641
|
key: 12,
|
|
1638
1642
|
modelValue: t.value[o],
|
|
1639
1643
|
"onUpdate:modelValue": (g) => t.value[o] = g,
|
|
1640
1644
|
"data-options": H,
|
|
1641
|
-
placeholder: d(_,
|
|
1642
|
-
onOnChange: (g) =>
|
|
1645
|
+
placeholder: d(_, p, G),
|
|
1646
|
+
onOnChange: (g) => h(_, o)
|
|
1643
1647
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "data-options", "placeholder", "onOnChange"])) : V("", !0),
|
|
1644
|
-
[].includes(_) ? (n(),
|
|
1645
|
-
[u(a).OPERATION].includes(_) ? (n(),
|
|
1648
|
+
[].includes(_) ? (n(), b(P, { key: 13 }, [], 64)) : V("", !0),
|
|
1649
|
+
[u(a).OPERATION].includes(_) ? (n(), E(la, {
|
|
1646
1650
|
key: 14,
|
|
1647
|
-
fold:
|
|
1648
|
-
onOnSearch:
|
|
1649
|
-
onOnClear:
|
|
1651
|
+
fold: ne >= 7,
|
|
1652
|
+
onOnSearch: M,
|
|
1653
|
+
onOnClear: $,
|
|
1650
1654
|
onOnFold: U
|
|
1651
1655
|
}, null, 8, ["fold"])) : V("", !0)
|
|
1652
1656
|
], 64))
|
|
@@ -1656,7 +1660,7 @@ const sa = { class: "bsgoal-base-search" }, ca = { class: "base_search" }, ra =
|
|
|
1656
1660
|
]),
|
|
1657
1661
|
_: 2
|
|
1658
1662
|
}, 1032, ["md"])), [
|
|
1659
|
-
[le,
|
|
1663
|
+
[le, ne < 7 || _ === u(a).OPERATION || ne >= 7 && B.value]
|
|
1660
1664
|
])), 128))
|
|
1661
1665
|
]),
|
|
1662
1666
|
_: 1
|
|
@@ -1667,7 +1671,7 @@ const sa = { class: "bsgoal-base-search" }, ca = { class: "base_search" }, ra =
|
|
|
1667
1671
|
[u(i)]
|
|
1668
1672
|
])
|
|
1669
1673
|
]),
|
|
1670
|
-
|
|
1674
|
+
N(Te)
|
|
1671
1675
|
]);
|
|
1672
1676
|
};
|
|
1673
1677
|
}
|
|
@@ -1752,30 +1756,43 @@ const _a = { class: "bsgoal-base-search-table" }, ma = { class: "base_search_tab
|
|
|
1752
1756
|
expression: {
|
|
1753
1757
|
type: [Number],
|
|
1754
1758
|
default: 75
|
|
1759
|
+
},
|
|
1760
|
+
/**
|
|
1761
|
+
* 映射字段
|
|
1762
|
+
*/
|
|
1763
|
+
mapProps: {
|
|
1764
|
+
type: [Object],
|
|
1765
|
+
default: () => ({
|
|
1766
|
+
currentPage: "currentPage",
|
|
1767
|
+
pageSize: "pageSize",
|
|
1768
|
+
rows: "rows",
|
|
1769
|
+
total: "total"
|
|
1770
|
+
})
|
|
1755
1771
|
}
|
|
1756
1772
|
},
|
|
1757
1773
|
setup(e) {
|
|
1758
1774
|
const s = e, l = k(!1);
|
|
1759
1775
|
Ie("transferFoldStatus", l);
|
|
1760
|
-
const r = u(s.configOptions), i = J(() => r.filter((
|
|
1761
|
-
const { type:
|
|
1762
|
-
return !!
|
|
1763
|
-
})), t = J(() => r.filter((
|
|
1764
|
-
const { item:
|
|
1765
|
-
return !
|
|
1766
|
-
})), c = Fe(), d = k(Object.keys(c)),
|
|
1767
|
-
|
|
1776
|
+
const r = u(s.configOptions), i = J(() => r.filter(($) => {
|
|
1777
|
+
const { type: w = "" } = $;
|
|
1778
|
+
return !!w;
|
|
1779
|
+
})), t = J(() => r.filter(($) => {
|
|
1780
|
+
const { item: w = !1 } = $;
|
|
1781
|
+
return !w;
|
|
1782
|
+
})), c = Fe(), d = k(Object.keys(c)), v = k(null), M = ($) => {
|
|
1783
|
+
v.value.refreshList($);
|
|
1768
1784
|
};
|
|
1769
|
-
return (
|
|
1770
|
-
|
|
1771
|
-
|
|
1785
|
+
return ($, w) => (n(), b("div", _a, [
|
|
1786
|
+
S("div", ma, [
|
|
1787
|
+
N(da, {
|
|
1772
1788
|
"config-options": u(i),
|
|
1773
|
-
onOnSearch:
|
|
1774
|
-
onOnClear:
|
|
1789
|
+
onOnSearch: M,
|
|
1790
|
+
onOnClear: M
|
|
1775
1791
|
}, null, 8, ["config-options"]),
|
|
1776
|
-
|
|
1792
|
+
N(Ne, {
|
|
1777
1793
|
ref_key: "BSGOAL_BASE_TABLE_REF",
|
|
1778
|
-
ref:
|
|
1794
|
+
ref: v,
|
|
1795
|
+
"map-props": e.mapProps,
|
|
1779
1796
|
operationWidth: e.operationWidth,
|
|
1780
1797
|
"config-options": u(t),
|
|
1781
1798
|
data: e.tableData,
|
|
@@ -1785,20 +1802,20 @@ const _a = { class: "bsgoal-base-search-table" }, ma = { class: "base_search_tab
|
|
|
1785
1802
|
fetch: e.fetch,
|
|
1786
1803
|
call: e.call
|
|
1787
1804
|
}, Re({ _: 2 }, [
|
|
1788
|
-
X(d.value, (
|
|
1789
|
-
name:
|
|
1790
|
-
fn:
|
|
1791
|
-
q(
|
|
1805
|
+
X(d.value, (B) => ({
|
|
1806
|
+
name: B,
|
|
1807
|
+
fn: T(({ row: U = {} }) => [
|
|
1808
|
+
q($.$slots, B, { row: U })
|
|
1792
1809
|
])
|
|
1793
1810
|
}))
|
|
1794
|
-
]), 1032, ["operationWidth", "config-options", "data", "selection", "operation", "expression", "fetch", "call"])
|
|
1811
|
+
]), 1032, ["map-props", "operationWidth", "config-options", "data", "selection", "operation", "expression", "fetch", "call"])
|
|
1795
1812
|
])
|
|
1796
1813
|
]));
|
|
1797
1814
|
}
|
|
1798
1815
|
});
|
|
1799
|
-
const va = { class: "bsgoal-base-tree-fold" },
|
|
1816
|
+
const va = { class: "bsgoal-base-tree-fold" }, pa = {
|
|
1800
1817
|
name: "BsgoalBaseTreeFold"
|
|
1801
|
-
},
|
|
1818
|
+
}, ha = /* @__PURE__ */ Object.assign(pa, {
|
|
1802
1819
|
props: ["modelValue"],
|
|
1803
1820
|
emits: ["update:modelValue"],
|
|
1804
1821
|
setup(e, { emit: s }) {
|
|
@@ -1808,17 +1825,17 @@ const va = { class: "bsgoal-base-tree-fold" }, ha = {
|
|
|
1808
1825
|
};
|
|
1809
1826
|
return (i, t) => {
|
|
1810
1827
|
const c = f("el-icon");
|
|
1811
|
-
return n(),
|
|
1812
|
-
|
|
1813
|
-
class:
|
|
1828
|
+
return n(), b("div", va, [
|
|
1829
|
+
S("div", {
|
|
1830
|
+
class: _e(["base_tree_fold", { "base_tree_fold--hide": !u(l) }]),
|
|
1814
1831
|
onClick: r
|
|
1815
1832
|
}, [
|
|
1816
|
-
|
|
1817
|
-
default:
|
|
1818
|
-
Q(
|
|
1833
|
+
N(c, { color: "#fff" }, {
|
|
1834
|
+
default: T(() => [
|
|
1835
|
+
Q(N(u(wt), null, null, 512), [
|
|
1819
1836
|
[le, u(l)]
|
|
1820
1837
|
]),
|
|
1821
|
-
Q(
|
|
1838
|
+
Q(N(u(It), null, null, 512), [
|
|
1822
1839
|
[le, !u(l)]
|
|
1823
1840
|
])
|
|
1824
1841
|
]),
|
|
@@ -1885,53 +1902,53 @@ const Ea = { class: "bsgoal-base-tree" }, ba = { class: "base_tree" }, ya = { cl
|
|
|
1885
1902
|
},
|
|
1886
1903
|
emits: ["on-click"],
|
|
1887
1904
|
setup(e, { emit: s }) {
|
|
1888
|
-
const l = e, r =
|
|
1889
|
-
|
|
1890
|
-
t.value.filter(
|
|
1905
|
+
const l = e, r = be.height, i = k(""), t = k(null);
|
|
1906
|
+
de(i, ($) => {
|
|
1907
|
+
t.value.filter($);
|
|
1891
1908
|
});
|
|
1892
|
-
const c = (
|
|
1893
|
-
s("on-click",
|
|
1894
|
-
},
|
|
1895
|
-
if (
|
|
1896
|
-
const U = await
|
|
1897
|
-
return
|
|
1909
|
+
const c = ($, w) => $ ? w.label.includes($) : !0, d = k(!0), v = ($, w, B, U) => {
|
|
1910
|
+
s("on-click", $, w, B, U);
|
|
1911
|
+
}, M = async ($, w, B) => {
|
|
1912
|
+
if ($.level === 0) {
|
|
1913
|
+
const U = await B.initNode($);
|
|
1914
|
+
return w(U || []);
|
|
1898
1915
|
} else {
|
|
1899
|
-
const U = await
|
|
1900
|
-
|
|
1916
|
+
const U = await B.lazyLoad($);
|
|
1917
|
+
w(U || []);
|
|
1901
1918
|
}
|
|
1902
1919
|
};
|
|
1903
|
-
return (
|
|
1904
|
-
const
|
|
1905
|
-
return n(),
|
|
1906
|
-
Q((n(),
|
|
1907
|
-
Q(
|
|
1908
|
-
|
|
1920
|
+
return ($, w) => {
|
|
1921
|
+
const B = f("el-input"), U = f("el-tree");
|
|
1922
|
+
return n(), b("div", Ea, [
|
|
1923
|
+
Q((n(), b("div", ba, [
|
|
1924
|
+
Q(S("div", ya, [
|
|
1925
|
+
N(B, {
|
|
1909
1926
|
modelValue: i.value,
|
|
1910
|
-
"onUpdate:modelValue":
|
|
1927
|
+
"onUpdate:modelValue": w[0] || (w[0] = (h) => i.value = h),
|
|
1911
1928
|
class: "base_tree_main_input",
|
|
1912
1929
|
placeholder: "输入关键字过滤"
|
|
1913
1930
|
}, null, 8, ["modelValue"]),
|
|
1914
|
-
|
|
1931
|
+
N(U, {
|
|
1915
1932
|
ref_key: "EL_TREE_REF",
|
|
1916
1933
|
ref: t,
|
|
1917
1934
|
lazy: "",
|
|
1918
1935
|
"highlight-current": "",
|
|
1919
1936
|
"empty-text": "暂无数据",
|
|
1920
|
-
load: (
|
|
1937
|
+
load: (h, y) => M(h, y, l),
|
|
1921
1938
|
"expand-on-click-node": !1,
|
|
1922
1939
|
props: e.treeProps,
|
|
1923
1940
|
"filter-node-method": c,
|
|
1924
|
-
onNodeClick:
|
|
1941
|
+
onNodeClick: v
|
|
1925
1942
|
}, null, 8, ["load", "props"])
|
|
1926
1943
|
], 512), [
|
|
1927
1944
|
[le, d.value]
|
|
1928
1945
|
]),
|
|
1929
|
-
Q(
|
|
1946
|
+
Q(N(Te, { vertical: "" }, null, 512), [
|
|
1930
1947
|
[le, d.value]
|
|
1931
1948
|
]),
|
|
1932
|
-
|
|
1949
|
+
N(ha, {
|
|
1933
1950
|
modelValue: d.value,
|
|
1934
|
-
"onUpdate:modelValue":
|
|
1951
|
+
"onUpdate:modelValue": w[1] || (w[1] = (h) => d.value = h)
|
|
1935
1952
|
}, null, 8, ["modelValue"])
|
|
1936
1953
|
])), [
|
|
1937
1954
|
[u(r), e.gasket]
|
|
@@ -2009,19 +2026,19 @@ const xa = { class: "bsgoal-base-dialog" }, Ca = { class: "base_dialog" }, Va =
|
|
|
2009
2026
|
}, t = () => {
|
|
2010
2027
|
r.value = !1, s("on-confirm");
|
|
2011
2028
|
};
|
|
2012
|
-
|
|
2029
|
+
de(
|
|
2013
2030
|
() => l.modelValue,
|
|
2014
2031
|
(d) => {
|
|
2015
2032
|
r.value = d;
|
|
2016
2033
|
}
|
|
2017
|
-
),
|
|
2034
|
+
), de(r, (d) => {
|
|
2018
2035
|
s("update:modelValue", d);
|
|
2019
2036
|
});
|
|
2020
2037
|
const c = J(() => {
|
|
2021
|
-
const { width: d, size:
|
|
2038
|
+
const { width: d, size: v } = l;
|
|
2022
2039
|
if (d)
|
|
2023
2040
|
return d;
|
|
2024
|
-
switch (
|
|
2041
|
+
switch (v) {
|
|
2025
2042
|
case "small":
|
|
2026
2043
|
return "480px";
|
|
2027
2044
|
case "medium":
|
|
@@ -2036,44 +2053,44 @@ const xa = { class: "bsgoal-base-dialog" }, Ca = { class: "base_dialog" }, Va =
|
|
|
2036
2053
|
return d;
|
|
2037
2054
|
}
|
|
2038
2055
|
});
|
|
2039
|
-
return (d,
|
|
2040
|
-
const
|
|
2041
|
-
return n(),
|
|
2042
|
-
|
|
2043
|
-
|
|
2056
|
+
return (d, v) => {
|
|
2057
|
+
const M = f("el-button"), $ = f("el-dialog");
|
|
2058
|
+
return n(), b("div", xa, [
|
|
2059
|
+
S("div", Ca, [
|
|
2060
|
+
N($, {
|
|
2044
2061
|
modelValue: r.value,
|
|
2045
|
-
"onUpdate:modelValue":
|
|
2062
|
+
"onUpdate:modelValue": v[0] || (v[0] = (w) => r.value = w),
|
|
2046
2063
|
"custom-class": "bsgoal_base_dialog_main",
|
|
2047
|
-
class:
|
|
2064
|
+
class: _e({ "bsgoal-dialog__footer--conceal": !e.footer }),
|
|
2048
2065
|
width: u(c)
|
|
2049
2066
|
}, {
|
|
2050
|
-
header:
|
|
2051
|
-
|
|
2067
|
+
header: T(() => [
|
|
2068
|
+
S("div", Va, Y(e.title), 1)
|
|
2052
2069
|
]),
|
|
2053
|
-
footer:
|
|
2070
|
+
footer: T(() => [
|
|
2054
2071
|
e.footer ? q(d.$slots, "footer", { key: 0 }, () => [
|
|
2055
|
-
|
|
2056
|
-
|
|
2057
|
-
default:
|
|
2058
|
-
W(
|
|
2072
|
+
S("span", Ma, [
|
|
2073
|
+
N(M, { onClick: i }, {
|
|
2074
|
+
default: T(() => [
|
|
2075
|
+
W(Y(e.cancelTxt), 1)
|
|
2059
2076
|
]),
|
|
2060
2077
|
_: 1
|
|
2061
2078
|
}),
|
|
2062
|
-
|
|
2079
|
+
N(M, {
|
|
2063
2080
|
type: "primary",
|
|
2064
2081
|
onClick: t
|
|
2065
2082
|
}, {
|
|
2066
|
-
default:
|
|
2067
|
-
W(
|
|
2083
|
+
default: T(() => [
|
|
2084
|
+
W(Y(e.confirmTxt), 1)
|
|
2068
2085
|
]),
|
|
2069
2086
|
_: 1
|
|
2070
2087
|
})
|
|
2071
2088
|
])
|
|
2072
2089
|
]) : V("", !0)
|
|
2073
2090
|
]),
|
|
2074
|
-
default:
|
|
2075
|
-
|
|
2076
|
-
class:
|
|
2091
|
+
default: T(() => [
|
|
2092
|
+
S("div", {
|
|
2093
|
+
class: _e(["base_dialog_content", { "base_dialog_content--form": e.type === "form" }])
|
|
2077
2094
|
}, [
|
|
2078
2095
|
q(d.$slots, "default")
|
|
2079
2096
|
], 2)
|
|
@@ -2085,9 +2102,9 @@ const xa = { class: "bsgoal-base-dialog" }, Ca = { class: "base_dialog" }, Va =
|
|
|
2085
2102
|
};
|
|
2086
2103
|
}
|
|
2087
2104
|
});
|
|
2088
|
-
const
|
|
2105
|
+
const wa = { class: "bsgoal-base-tabs" }, Ba = {
|
|
2089
2106
|
name: "BsgoalBaseTabs"
|
|
2090
|
-
}, Da = /* @__PURE__ */ Object.assign(
|
|
2107
|
+
}, Da = /* @__PURE__ */ Object.assign(Ba, {
|
|
2091
2108
|
props: {
|
|
2092
2109
|
/**
|
|
2093
2110
|
* 配置项
|
|
@@ -2127,23 +2144,23 @@ const Ba = { class: "bsgoal-base-tabs" }, wa = {
|
|
|
2127
2144
|
};
|
|
2128
2145
|
return (r, i) => {
|
|
2129
2146
|
const t = f("el-tab-pane"), c = f("el-tabs");
|
|
2130
|
-
return n(),
|
|
2131
|
-
|
|
2147
|
+
return n(), b("div", wa, [
|
|
2148
|
+
N(c, {
|
|
2132
2149
|
stretch: "",
|
|
2133
2150
|
class: "bsgoal_base_tabs",
|
|
2134
2151
|
type: e.type,
|
|
2135
2152
|
"model-value": e.modelValue,
|
|
2136
2153
|
onTabChange: l
|
|
2137
2154
|
}, {
|
|
2138
|
-
default:
|
|
2139
|
-
(n(!0),
|
|
2140
|
-
key:
|
|
2155
|
+
default: T(() => [
|
|
2156
|
+
(n(!0), b(P, null, X(e.configOptions, ({ label: d, value: v }, M) => (n(), E(t, {
|
|
2157
|
+
key: M,
|
|
2141
2158
|
label: d,
|
|
2142
|
-
name:
|
|
2159
|
+
name: v
|
|
2143
2160
|
}, {
|
|
2144
|
-
default:
|
|
2145
|
-
q(r.$slots,
|
|
2146
|
-
W(
|
|
2161
|
+
default: T(() => [
|
|
2162
|
+
q(r.$slots, v, {}, () => [
|
|
2163
|
+
W(Y(d), 1)
|
|
2147
2164
|
])
|
|
2148
2165
|
]),
|
|
2149
2166
|
_: 2
|
|
@@ -2155,9 +2172,9 @@ const Ba = { class: "bsgoal-base-tabs" }, wa = {
|
|
|
2155
2172
|
};
|
|
2156
2173
|
}
|
|
2157
2174
|
});
|
|
2158
|
-
const ka = { class: "bsgoal-base-link" },
|
|
2175
|
+
const ka = { class: "bsgoal-base-link" }, Sa = {
|
|
2159
2176
|
name: "BsgoalBaseLink"
|
|
2160
|
-
},
|
|
2177
|
+
}, Oa = /* @__PURE__ */ Object.assign(Sa, {
|
|
2161
2178
|
props: {
|
|
2162
2179
|
/**
|
|
2163
2180
|
* 内容
|
|
@@ -2188,17 +2205,17 @@ const ka = { class: "bsgoal-base-link" }, Oa = {
|
|
|
2188
2205
|
};
|
|
2189
2206
|
return (r, i) => {
|
|
2190
2207
|
const t = f("el-link");
|
|
2191
|
-
return n(),
|
|
2192
|
-
|
|
2208
|
+
return n(), b("div", ka, [
|
|
2209
|
+
N(t, {
|
|
2193
2210
|
class: "bsgoal_base_link",
|
|
2194
2211
|
type: "primary",
|
|
2195
2212
|
underline: e.underline,
|
|
2196
2213
|
style: Ue(e.styler),
|
|
2197
2214
|
onClick: l
|
|
2198
2215
|
}, {
|
|
2199
|
-
default:
|
|
2216
|
+
default: T(() => [
|
|
2200
2217
|
q(r.$slots, "default", {}, () => [
|
|
2201
|
-
W(
|
|
2218
|
+
W(Y(e.content), 1)
|
|
2202
2219
|
], !0)
|
|
2203
2220
|
]),
|
|
2204
2221
|
_: 3
|
|
@@ -2206,12 +2223,12 @@ const ka = { class: "bsgoal-base-link" }, Oa = {
|
|
|
2206
2223
|
]);
|
|
2207
2224
|
};
|
|
2208
2225
|
}
|
|
2209
|
-
}), Ia = /* @__PURE__ */ $e(
|
|
2226
|
+
}), Ia = /* @__PURE__ */ $e(Oa, [["__scopeId", "data-v-3b0290b0"]]), La = a, za = ye, Pa = {
|
|
2210
2227
|
install(e, s = {}) {
|
|
2211
2228
|
const { exclude: l = [] } = s, r = {
|
|
2212
2229
|
BsgoalBaseForm: We,
|
|
2213
2230
|
BsgoalBaseTable: Ne,
|
|
2214
|
-
BsgoalBaseLine:
|
|
2231
|
+
BsgoalBaseLine: Te,
|
|
2215
2232
|
BsgoalBaseSearchTable: fa,
|
|
2216
2233
|
BsgoalBaseTree: Aa,
|
|
2217
2234
|
BsgoalBaseDialog: Na,
|
|
@@ -2222,11 +2239,11 @@ const ka = { class: "bsgoal-base-link" }, Oa = {
|
|
|
2222
2239
|
l.includes(i) || e.component(i, t);
|
|
2223
2240
|
},
|
|
2224
2241
|
enumType: a,
|
|
2225
|
-
useFetch:
|
|
2242
|
+
useFetch: ye
|
|
2226
2243
|
};
|
|
2227
2244
|
export {
|
|
2228
2245
|
La as EnumType,
|
|
2229
|
-
|
|
2246
|
+
Pa as default,
|
|
2230
2247
|
za as useFetchApi
|
|
2231
2248
|
};
|
|
2232
2249
|
//# sourceMappingURL=index.mjs.map
|