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