mwl-components 0.0.13 → 0.0.14
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.js +401 -407
- package/dist/mwl-components.css +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { ElCard as
|
|
3
|
-
const
|
|
1
|
+
import { defineComponent as w, useSlots as Y, ref as V, createBlock as u, openBlock as l, unref as r, normalizeClass as q, createSlots as M, withCtx as i, renderSlot as b, createElementVNode as D, createElementBlock as g, createCommentVNode as h, toDisplayString as k, createVNode as x, watch as G, nextTick as J, computed as F, mergeProps as v, normalizeStyle as N, createTextVNode as $, Fragment as C, renderList as y, resolveComponent as A, getCurrentInstance as K, onMounted as Q, onUnmounted as X, resolveDynamicComponent as Z, normalizeProps as _, guardReactiveProps as ee, withDirectives as te, vShow as ae } from "vue";
|
|
2
|
+
import { ElCard as le, ElTooltip as ne, ElIcon as oe, ElDialog as re, ElScrollbar as ue, ElButton as L, ElForm as de, ElFormItem as z, ElInput as R, ElInputNumber as se, ElRadioGroup as ie, ElRadio as ce, ElCheckboxGroup as me, ElCheckbox as fe, ElSelect as he, ElOption as ge, ElCascader as pe, ElSwitch as be, ElDatePicker as B, ElTableColumn as P, ElTable as ye, ElSubMenu as ve, ElMenuItem as Ce, ElMenu as ke, ElPagination as De } from "element-plus";
|
|
3
|
+
const we = { class: "flex items-center justify-between" }, Ve = { class: "flex items-center" }, xe = { class: "text-16px font-700" }, Ee = { class: "max-w-200px" }, $e = {
|
|
4
4
|
key: 0,
|
|
5
5
|
class: "flex justify-end"
|
|
6
|
-
},
|
|
6
|
+
}, Se = {
|
|
7
7
|
key: 0,
|
|
8
8
|
class: "mt-8px flex items-center"
|
|
9
|
-
},
|
|
9
|
+
}, He = /* @__PURE__ */ w({
|
|
10
10
|
name: "ContentWarp",
|
|
11
11
|
__name: "index",
|
|
12
12
|
props: {
|
|
@@ -14,58 +14,58 @@ const Ce = { class: "flex items-center justify-between" }, ke = { class: "flex i
|
|
|
14
14
|
message: String
|
|
15
15
|
},
|
|
16
16
|
setup(t) {
|
|
17
|
-
const
|
|
18
|
-
return (c,
|
|
19
|
-
class:
|
|
17
|
+
const d = Y(), s = V("content-wrap");
|
|
18
|
+
return (c, o) => (l(), u(r(le), {
|
|
19
|
+
class: q([s.value, "mb-[10px]"]),
|
|
20
20
|
shadow: "never"
|
|
21
|
-
},
|
|
22
|
-
default:
|
|
23
|
-
|
|
21
|
+
}, M({
|
|
22
|
+
default: i(() => [
|
|
23
|
+
b(c.$slots, "default", {}, void 0, !0)
|
|
24
24
|
]),
|
|
25
25
|
_: 2
|
|
26
26
|
}, [
|
|
27
27
|
t.title ? {
|
|
28
28
|
name: "header",
|
|
29
|
-
fn:
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
t.message ? (
|
|
29
|
+
fn: i(() => [
|
|
30
|
+
D("div", we, [
|
|
31
|
+
D("div", Ve, [
|
|
32
|
+
D("span", xe, k(t.title), 1),
|
|
33
|
+
t.message ? (l(), u(r(ne), {
|
|
34
34
|
key: 0,
|
|
35
35
|
effect: "dark",
|
|
36
36
|
placement: "right"
|
|
37
37
|
}, {
|
|
38
|
-
content:
|
|
39
|
-
|
|
38
|
+
content: i(() => [
|
|
39
|
+
D("div", Ee, k(t.message), 1)
|
|
40
40
|
]),
|
|
41
|
-
default:
|
|
42
|
-
|
|
41
|
+
default: i(() => [
|
|
42
|
+
x(r(oe), {
|
|
43
43
|
size: 14,
|
|
44
44
|
class: "ml-5px",
|
|
45
45
|
icon: "ep:question-filled"
|
|
46
46
|
})
|
|
47
47
|
]),
|
|
48
48
|
_: 1
|
|
49
|
-
})) :
|
|
49
|
+
})) : h("", !0)
|
|
50
50
|
]),
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
])) :
|
|
51
|
+
d.buttonTip ? (l(), g("div", $e, [
|
|
52
|
+
b(c.$slots, "buttonTip", {}, void 0, !0)
|
|
53
|
+
])) : h("", !0)
|
|
54
54
|
]),
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
])) :
|
|
55
|
+
d.descTip ? (l(), g("div", Se, [
|
|
56
|
+
b(c.$slots, "descTip", {}, void 0, !0)
|
|
57
|
+
])) : h("", !0)
|
|
58
58
|
]),
|
|
59
59
|
key: "0"
|
|
60
60
|
} : void 0
|
|
61
61
|
]), 1032, ["class"]));
|
|
62
62
|
}
|
|
63
|
-
}),
|
|
64
|
-
const
|
|
65
|
-
for (const [c,
|
|
66
|
-
|
|
67
|
-
return
|
|
68
|
-
},
|
|
63
|
+
}), I = (t, d) => {
|
|
64
|
+
const s = t.__vccOpts || t;
|
|
65
|
+
for (const [c, o] of d)
|
|
66
|
+
s[c] = o;
|
|
67
|
+
return s;
|
|
68
|
+
}, Me = /* @__PURE__ */ I(He, [["__scopeId", "data-v-cce44bc6"]]), Ie = { class: "dialog-header" }, Ue = /* @__PURE__ */ w({
|
|
69
69
|
name: "Dialog",
|
|
70
70
|
__name: "index",
|
|
71
71
|
props: {
|
|
@@ -91,79 +91,76 @@ const Ce = { class: "flex items-center justify-between" }, ke = { class: "flex i
|
|
|
91
91
|
}
|
|
92
92
|
},
|
|
93
93
|
setup(t) {
|
|
94
|
-
const
|
|
94
|
+
const d = Y(), s = t, c = V(!1), o = () => {
|
|
95
95
|
c.value = !unref(c);
|
|
96
|
-
}, m =
|
|
97
|
-
|
|
96
|
+
}, m = V(s.maxHeight);
|
|
97
|
+
G(
|
|
98
98
|
() => c.value,
|
|
99
|
-
async (
|
|
100
|
-
if (await
|
|
101
|
-
const
|
|
102
|
-
m.value = `${
|
|
99
|
+
async (n) => {
|
|
100
|
+
if (await J(), n) {
|
|
101
|
+
const e = document.documentElement.offsetHeight;
|
|
102
|
+
m.value = `${e - 55 - 40 - (d.footer ? 63 : 0)}px`;
|
|
103
103
|
} else
|
|
104
|
-
m.value =
|
|
104
|
+
m.value = s.maxHeight;
|
|
105
105
|
},
|
|
106
106
|
{
|
|
107
107
|
immediate: !0
|
|
108
108
|
}
|
|
109
109
|
);
|
|
110
|
-
const
|
|
111
|
-
if (
|
|
110
|
+
const p = F(() => {
|
|
111
|
+
if (s.maxHeight)
|
|
112
112
|
return {
|
|
113
113
|
height: unref(m)
|
|
114
114
|
};
|
|
115
115
|
});
|
|
116
|
-
return console.log(
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
color: "#909399"
|
|
138
|
-
})
|
|
139
|
-
])
|
|
116
|
+
return console.log(s), (n, e) => (l(), u(r(re), v(n.$attrs, {
|
|
117
|
+
"close-on-click-modal": !1,
|
|
118
|
+
fullscreen: c.value,
|
|
119
|
+
width: t.width,
|
|
120
|
+
"destroy-on-close": "",
|
|
121
|
+
draggable: "",
|
|
122
|
+
"lock-scroll": "",
|
|
123
|
+
class: "custom-dialog",
|
|
124
|
+
"append-to-body": ""
|
|
125
|
+
}), M({
|
|
126
|
+
header: i(() => [
|
|
127
|
+
D("div", Ie, [
|
|
128
|
+
b(n.$slots, "title", {}, () => [
|
|
129
|
+
$(k(t.title), 1)
|
|
130
|
+
]),
|
|
131
|
+
D("div", { onClick: o }, [
|
|
132
|
+
x(r(L), {
|
|
133
|
+
link: "",
|
|
134
|
+
icon: "FullScreen",
|
|
135
|
+
color: "#909399"
|
|
136
|
+
})
|
|
140
137
|
])
|
|
141
|
-
])
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
_: 3
|
|
151
|
-
}, 8, ["style"])) : C(h.$slots, "default", { key: 1 })
|
|
152
|
-
]),
|
|
153
|
-
_: 2
|
|
154
|
-
}, [
|
|
155
|
-
u.footer ? {
|
|
156
|
-
name: "footer",
|
|
157
|
-
fn: s(() => [
|
|
158
|
-
C(h.$slots, "footer")
|
|
138
|
+
])
|
|
139
|
+
]),
|
|
140
|
+
default: i(() => [
|
|
141
|
+
t.scroll ? (l(), u(r(ue), {
|
|
142
|
+
key: 0,
|
|
143
|
+
style: N(p.value)
|
|
144
|
+
}, {
|
|
145
|
+
default: i(() => [
|
|
146
|
+
b(n.$slots, "default")
|
|
159
147
|
]),
|
|
160
|
-
|
|
161
|
-
} :
|
|
162
|
-
]),
|
|
163
|
-
|
|
148
|
+
_: 3
|
|
149
|
+
}, 8, ["style"])) : b(n.$slots, "default", { key: 1 })
|
|
150
|
+
]),
|
|
151
|
+
_: 2
|
|
152
|
+
}, [
|
|
153
|
+
d.footer ? {
|
|
154
|
+
name: "footer",
|
|
155
|
+
fn: i(() => [
|
|
156
|
+
b(n.$slots, "footer")
|
|
157
|
+
]),
|
|
158
|
+
key: "0"
|
|
159
|
+
} : void 0
|
|
160
|
+
]), 1040, ["fullscreen", "width"]));
|
|
164
161
|
}
|
|
165
|
-
}),
|
|
166
|
-
...
|
|
162
|
+
}), We = {}, Fe = /* @__PURE__ */ w({
|
|
163
|
+
...We,
|
|
167
164
|
name: "EasyForm",
|
|
168
165
|
__name: "index",
|
|
169
166
|
props: {
|
|
@@ -192,228 +189,225 @@ const Ce = { class: "flex items-center justify-between" }, ke = { class: "flex i
|
|
|
192
189
|
default: "200px"
|
|
193
190
|
}
|
|
194
191
|
},
|
|
195
|
-
setup(t, { expose:
|
|
196
|
-
const
|
|
197
|
-
return
|
|
192
|
+
setup(t, { expose: d }) {
|
|
193
|
+
const s = V();
|
|
194
|
+
return d({
|
|
198
195
|
resetFields: () => {
|
|
199
|
-
|
|
196
|
+
s.value?.resetFields();
|
|
200
197
|
},
|
|
201
198
|
getFormData: async () => {
|
|
202
|
-
const m = await
|
|
199
|
+
const m = await s.value.validate();
|
|
203
200
|
return m || null;
|
|
204
201
|
}
|
|
205
|
-
}), (m,
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
onChange: (l) => e.change && e.change(t.formData[e.prop])
|
|
357
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "format", "value-format", "type", "disabled", "onChange"])) : p("", !0)
|
|
358
|
-
]),
|
|
359
|
-
_: 2
|
|
360
|
-
}, 1032, ["label", "prop", "rules"])) : p("", !0),
|
|
361
|
-
o == "custom" ? C(m.$slots, e.prop, {
|
|
362
|
-
key: 1,
|
|
363
|
-
item: e
|
|
364
|
-
}, void 0, !0) : p("", !0)
|
|
365
|
-
], 64))), 256)),
|
|
366
|
-
S(i(B), null, {
|
|
367
|
-
default: s(() => [
|
|
368
|
-
C(m.$slots, "append", {}, void 0, !0)
|
|
202
|
+
}), (m, p) => (l(), u(r(de), {
|
|
203
|
+
ref_key: "formRef",
|
|
204
|
+
ref: s,
|
|
205
|
+
model: t.formData,
|
|
206
|
+
"label-width": t.labelWidth,
|
|
207
|
+
inline: t.inline,
|
|
208
|
+
"scroll-to-error": ""
|
|
209
|
+
}, {
|
|
210
|
+
default: i(() => [
|
|
211
|
+
(l(!0), g(C, null, y(t.formItems, ({ type: n, ...e }) => (l(), g(C, null, [
|
|
212
|
+
n != "custom" && !e.hidden ? (l(), u(r(z), {
|
|
213
|
+
key: 0,
|
|
214
|
+
label: e.label,
|
|
215
|
+
prop: e.prop,
|
|
216
|
+
rules: e.rule
|
|
217
|
+
}, {
|
|
218
|
+
default: i(() => [
|
|
219
|
+
n == "text" || n == "" ? (l(), u(r(R), v({
|
|
220
|
+
key: 0,
|
|
221
|
+
placeholder: "请输入" + e.label
|
|
222
|
+
}, { ref_for: !0 }, { ...e }, {
|
|
223
|
+
modelValue: t.formData[e.prop],
|
|
224
|
+
"onUpdate:modelValue": (a) => t.formData[e.prop] = a,
|
|
225
|
+
"show-word-limit": "",
|
|
226
|
+
style: { width: e.width ? e.width : t.itemWidth }
|
|
227
|
+
}), null, 16, ["placeholder", "modelValue", "onUpdate:modelValue", "style"])) : h("", !0),
|
|
228
|
+
n == "textarea" ? (l(), u(r(R), v({
|
|
229
|
+
key: 1,
|
|
230
|
+
ref_for: !0
|
|
231
|
+
}, { ...e }, {
|
|
232
|
+
modelValue: t.formData[e.prop],
|
|
233
|
+
"onUpdate:modelValue": (a) => t.formData[e.prop] = a,
|
|
234
|
+
type: "textarea",
|
|
235
|
+
style: { width: e.width ? e.width : t.itemWidth }
|
|
236
|
+
}), null, 16, ["modelValue", "onUpdate:modelValue", "style"])) : h("", !0),
|
|
237
|
+
n == "number" ? (l(), u(r(se), v({
|
|
238
|
+
key: 2,
|
|
239
|
+
"controls-position": "right"
|
|
240
|
+
}, { ref_for: !0 }, { ...e }, {
|
|
241
|
+
modelValue: t.formData[e.prop],
|
|
242
|
+
"onUpdate:modelValue": (a) => t.formData[e.prop] = a,
|
|
243
|
+
style: { width: e.width ? e.width : t.itemWidth }
|
|
244
|
+
}), null, 16, ["modelValue", "onUpdate:modelValue", "style"])) : h("", !0),
|
|
245
|
+
n == "radio" ? (l(), u(r(ie), v({
|
|
246
|
+
key: 3,
|
|
247
|
+
modelValue: t.formData[e.prop],
|
|
248
|
+
"onUpdate:modelValue": (a) => t.formData[e.prop] = a,
|
|
249
|
+
style: { width: e.width ? e.width : t.itemWidth },
|
|
250
|
+
onChange: (a) => e.change && e.change(t.formData[e.prop])
|
|
251
|
+
}, { ref_for: !0 }, { ...e }), {
|
|
252
|
+
default: i(() => [
|
|
253
|
+
(l(!0), g(C, null, y(e.options, (a, f) => (l(), u(r(ce), {
|
|
254
|
+
key: f,
|
|
255
|
+
value: a.value
|
|
256
|
+
}, {
|
|
257
|
+
default: i(() => [
|
|
258
|
+
$(k(a.label), 1)
|
|
259
|
+
]),
|
|
260
|
+
_: 2
|
|
261
|
+
}, 1032, ["value"]))), 128))
|
|
262
|
+
]),
|
|
263
|
+
_: 2
|
|
264
|
+
}, 1040, ["modelValue", "onUpdate:modelValue", "style", "onChange"])) : h("", !0),
|
|
265
|
+
n == "checkbox" ? (l(), u(r(me), v({
|
|
266
|
+
key: 4,
|
|
267
|
+
modelValue: t.formData[e.prop],
|
|
268
|
+
"onUpdate:modelValue": (a) => t.formData[e.prop] = a,
|
|
269
|
+
style: { width: e.width ? e.width : t.itemWidth },
|
|
270
|
+
onChange: (a) => e.change && e.change(t.formData[e.prop])
|
|
271
|
+
}, { ref_for: !0 }, { ...e }), {
|
|
272
|
+
default: i(() => [
|
|
273
|
+
(l(!0), g(C, null, y(e.options, (a, f) => (l(), u(r(fe), {
|
|
274
|
+
key: f,
|
|
275
|
+
value: a.value
|
|
276
|
+
}, {
|
|
277
|
+
default: i(() => [
|
|
278
|
+
$(k(a.label), 1)
|
|
279
|
+
]),
|
|
280
|
+
_: 2
|
|
281
|
+
}, 1032, ["value"]))), 128))
|
|
282
|
+
]),
|
|
283
|
+
_: 2
|
|
284
|
+
}, 1040, ["modelValue", "onUpdate:modelValue", "style", "onChange"])) : h("", !0),
|
|
285
|
+
n == "select" || n == "multipleselect" ? (l(), u(r(he), v({
|
|
286
|
+
key: 5,
|
|
287
|
+
modelValue: t.formData[e.prop],
|
|
288
|
+
"onUpdate:modelValue": (a) => t.formData[e.prop] = a,
|
|
289
|
+
placeholder: "请选择",
|
|
290
|
+
style: { width: e.width ? e.width : t.itemWidth },
|
|
291
|
+
onChange: (a) => e.change && e.change(t.formData[e.prop])
|
|
292
|
+
}, { ref_for: !0 }, { ...e }), {
|
|
293
|
+
default: i(() => [
|
|
294
|
+
(l(!0), g(C, null, y(e.options, (a, f) => (l(), u(r(ge), {
|
|
295
|
+
key: f,
|
|
296
|
+
label: e.defaultProp ? a[e.defaultProp.label] : a.label,
|
|
297
|
+
value: e.defaultProp ? a[e.defaultProp.value] : a.value
|
|
298
|
+
}, null, 8, ["label", "value"]))), 128))
|
|
299
|
+
]),
|
|
300
|
+
_: 2
|
|
301
|
+
}, 1040, ["modelValue", "onUpdate:modelValue", "style", "onChange"])) : h("", !0),
|
|
302
|
+
n == "cascader" ? (l(), u(r(pe), {
|
|
303
|
+
key: 6,
|
|
304
|
+
modelValue: t.formData[e.prop],
|
|
305
|
+
"onUpdate:modelValue": (a) => t.formData[e.prop] = a,
|
|
306
|
+
options: e.options || [],
|
|
307
|
+
props: e.defaultProp || { label: "label", value: "value" },
|
|
308
|
+
style: N({ width: e.width ? e.width : t.itemWidth }),
|
|
309
|
+
disabled: e.disabled,
|
|
310
|
+
clearable: e.clearable,
|
|
311
|
+
placeholder: e.placeholder,
|
|
312
|
+
"popper-class": e.popperClass,
|
|
313
|
+
teleported: e.teleported,
|
|
314
|
+
"disabled-date": e.disabledDate,
|
|
315
|
+
onChange: (a) => e.change && e.change(t.formData[e.prop])
|
|
316
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "options", "props", "style", "disabled", "clearable", "placeholder", "popper-class", "teleported", "disabled-date", "onChange"])) : h("", !0),
|
|
317
|
+
n === "switch" ? (l(), u(r(be), {
|
|
318
|
+
key: 7,
|
|
319
|
+
modelValue: t.formData[e.prop],
|
|
320
|
+
"onUpdate:modelValue": (a) => t.formData[e.prop] = a,
|
|
321
|
+
disabled: e.disabled,
|
|
322
|
+
style: N({ width: e.width ? e.width : t.itemWidth }),
|
|
323
|
+
onChange: (a) => e.change && e.change(t.formData[e.prop])
|
|
324
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "disabled", "style", "onChange"])) : h("", !0),
|
|
325
|
+
n == "date" || n == "datetime" || n == "year" || n == "month" ? (l(), u(r(B), v({
|
|
326
|
+
key: 8,
|
|
327
|
+
style: { width: e.width ? e.width : t.itemWidth },
|
|
328
|
+
modelValue: t.formData[e.prop],
|
|
329
|
+
"onUpdate:modelValue": (a) => t.formData[e.prop] = a
|
|
330
|
+
}, { ref_for: !0 }, { ...e }, {
|
|
331
|
+
format: e.format || "YYYY-MM-DD HH:mm:ss",
|
|
332
|
+
"value-format": e.valueFormat || "YYYY-MM-DD HH:mm:ss",
|
|
333
|
+
disabled: e.disabled,
|
|
334
|
+
clearable: e.clearable,
|
|
335
|
+
placeholder: e.placeholder || "请选择",
|
|
336
|
+
"disabled-date": e.disabledDate,
|
|
337
|
+
type: n,
|
|
338
|
+
onChange: (a) => e.change && e.change(t.formData[e.prop])
|
|
339
|
+
}), null, 16, ["style", "modelValue", "onUpdate:modelValue", "format", "value-format", "disabled", "clearable", "placeholder", "disabled-date", "type", "onChange"])) : h("", !0),
|
|
340
|
+
n == "daterange" ? (l(), u(r(B), {
|
|
341
|
+
key: 9,
|
|
342
|
+
modelValue: t.formData[e.prop],
|
|
343
|
+
"onUpdate:modelValue": (a) => t.formData[e.prop] = a,
|
|
344
|
+
format: e.format || "YYYY-MM-DD HH:mm:ss",
|
|
345
|
+
"value-format": e.valueFormat || "YYYY-MM-DD HH:mm:ss",
|
|
346
|
+
type: n,
|
|
347
|
+
disabled: e.disabled,
|
|
348
|
+
"range-separator": "至",
|
|
349
|
+
"start-placeholder": "开始日期",
|
|
350
|
+
"end-placeholder": "结束日期",
|
|
351
|
+
onChange: (a) => e.change && e.change(t.formData[e.prop])
|
|
352
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "format", "value-format", "type", "disabled", "onChange"])) : h("", !0)
|
|
369
353
|
]),
|
|
370
|
-
_:
|
|
371
|
-
})
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
354
|
+
_: 2
|
|
355
|
+
}, 1032, ["label", "prop", "rules"])) : h("", !0),
|
|
356
|
+
n == "custom" ? b(m.$slots, e.prop, {
|
|
357
|
+
key: 1,
|
|
358
|
+
item: e
|
|
359
|
+
}, void 0, !0) : h("", !0)
|
|
360
|
+
], 64))), 256)),
|
|
361
|
+
x(r(z), null, {
|
|
362
|
+
default: i(() => [
|
|
363
|
+
b(m.$slots, "append", {}, void 0, !0)
|
|
364
|
+
]),
|
|
365
|
+
_: 3
|
|
366
|
+
})
|
|
367
|
+
]),
|
|
368
|
+
_: 3
|
|
369
|
+
}, 8, ["model", "label-width", "inline"]));
|
|
376
370
|
}
|
|
377
|
-
}),
|
|
371
|
+
}), Ye = /* @__PURE__ */ I(Fe, [["__scopeId", "data-v-84850699"]]), Ne = /* @__PURE__ */ w({
|
|
378
372
|
__name: "tableColumnItem",
|
|
379
373
|
props: {
|
|
380
374
|
tableColumn: {}
|
|
381
375
|
},
|
|
382
376
|
setup(t) {
|
|
383
|
-
const
|
|
384
|
-
const { tableColumn:
|
|
385
|
-
return
|
|
377
|
+
const d = Y(), s = t, c = () => {
|
|
378
|
+
const { tableColumn: o } = s;
|
|
379
|
+
return o.children?.length || delete o.children, o;
|
|
386
380
|
};
|
|
387
|
-
return (
|
|
388
|
-
const
|
|
389
|
-
return !
|
|
390
|
-
prop:
|
|
391
|
-
label:
|
|
392
|
-
}),
|
|
393
|
-
|
|
381
|
+
return (o, m) => {
|
|
382
|
+
const p = A("tableColumnItem", !0);
|
|
383
|
+
return !o.tableColumn.children || o.tableColumn.children?.length == 0 ? (l(), u(r(P), v({ key: 0 }, { ...c() }, {
|
|
384
|
+
prop: o.tableColumn.prop,
|
|
385
|
+
label: o.tableColumn.label
|
|
386
|
+
}), M({ _: 2 }, [
|
|
387
|
+
o.tableColumn.prop && d[o.tableColumn.prop] ? {
|
|
394
388
|
name: "default",
|
|
395
|
-
fn:
|
|
396
|
-
|
|
397
|
-
row:
|
|
389
|
+
fn: i((n) => [
|
|
390
|
+
b(o.$slots, o.tableColumn.prop, {
|
|
391
|
+
row: n.row
|
|
398
392
|
})
|
|
399
393
|
]),
|
|
400
394
|
key: "0"
|
|
401
395
|
} : void 0
|
|
402
|
-
]), 1040, ["prop", "label"])) : (
|
|
396
|
+
]), 1040, ["prop", "label"])) : (l(), u(r(P), {
|
|
403
397
|
key: 1,
|
|
404
|
-
align:
|
|
405
|
-
label:
|
|
398
|
+
align: o.tableColumn.align,
|
|
399
|
+
label: o.tableColumn.label
|
|
406
400
|
}, {
|
|
407
|
-
default:
|
|
408
|
-
(
|
|
409
|
-
key:
|
|
410
|
-
"table-column": { align:
|
|
411
|
-
},
|
|
412
|
-
|
|
413
|
-
name:
|
|
414
|
-
fn:
|
|
415
|
-
|
|
416
|
-
|
|
401
|
+
default: i(() => [
|
|
402
|
+
(l(!0), g(C, null, y(o.tableColumn.children, (n, e) => (l(), u(p, {
|
|
403
|
+
key: e,
|
|
404
|
+
"table-column": { align: n.align || o.tableColumn.align, ...n }
|
|
405
|
+
}, M({ _: 2 }, [
|
|
406
|
+
y(d, (a, f) => ({
|
|
407
|
+
name: f,
|
|
408
|
+
fn: i(({ row: U }) => [
|
|
409
|
+
b(o.$slots, f, { row: U }, () => [
|
|
410
|
+
$(k(U[f]), 1)
|
|
417
411
|
])
|
|
418
412
|
])
|
|
419
413
|
}))
|
|
@@ -423,7 +417,7 @@ const Ce = { class: "flex items-center justify-between" }, ke = { class: "flex i
|
|
|
423
417
|
}, 8, ["align", "label"]));
|
|
424
418
|
};
|
|
425
419
|
}
|
|
426
|
-
}),
|
|
420
|
+
}), Pe = /* @__PURE__ */ w({
|
|
427
421
|
name: "EasyTable",
|
|
428
422
|
__name: "index",
|
|
429
423
|
props: {
|
|
@@ -458,81 +452,81 @@ const Ce = { class: "flex items-center justify-between" }, ke = { class: "flex i
|
|
|
458
452
|
}
|
|
459
453
|
},
|
|
460
454
|
setup(t) {
|
|
461
|
-
const
|
|
462
|
-
let
|
|
463
|
-
const
|
|
464
|
-
let
|
|
465
|
-
if (
|
|
455
|
+
const d = t, s = F(() => (d.buttonWidth.toString().indexOf("px") > -1 ? d.buttonWidth.toString().slice(0, -2) : d.buttonWidth, d.buttonWidth)), c = Y(), o = V(), m = V("auto");
|
|
456
|
+
let p = K();
|
|
457
|
+
const n = () => {
|
|
458
|
+
let f = "auto";
|
|
459
|
+
if (p?.parent?.attrs?.class?.indexOf("content-wrap") > -1) {
|
|
466
460
|
try {
|
|
467
|
-
const
|
|
468
|
-
|
|
461
|
+
const S = p?.refs.tableRef, { top: H } = S?.getBoundingClientRect();
|
|
462
|
+
f = document.documentElement.clientHeight - H - 65 - 20;
|
|
469
463
|
} catch {
|
|
470
464
|
}
|
|
471
|
-
return
|
|
465
|
+
return f;
|
|
472
466
|
}
|
|
473
|
-
return
|
|
474
|
-
},
|
|
475
|
-
|
|
476
|
-
m.value =
|
|
467
|
+
return f;
|
|
468
|
+
}, e = V(), a = () => {
|
|
469
|
+
e.value && clearTimeout(e.value), e.value = setTimeout(() => {
|
|
470
|
+
m.value = n(), e.value = null;
|
|
477
471
|
}, 100);
|
|
478
472
|
};
|
|
479
|
-
return
|
|
480
|
-
m.value =
|
|
481
|
-
}),
|
|
482
|
-
window.removeEventListener("resize",
|
|
483
|
-
}), (
|
|
473
|
+
return Q(() => {
|
|
474
|
+
m.value = n(), window.addEventListener("resize", a);
|
|
475
|
+
}), X(() => {
|
|
476
|
+
window.removeEventListener("resize", a);
|
|
477
|
+
}), (f, U) => (l(), g("div", {
|
|
484
478
|
ref_key: "tableRef",
|
|
485
|
-
ref:
|
|
479
|
+
ref: o
|
|
486
480
|
}, [
|
|
487
|
-
|
|
481
|
+
x(r(ye), v({ style: { width: "100%" } }, f.$attrs, {
|
|
488
482
|
data: t.data,
|
|
489
483
|
height: t.height,
|
|
490
484
|
maxHeight: t.maxHeight ? t.maxHeight : m.value
|
|
491
485
|
}), {
|
|
492
|
-
default:
|
|
493
|
-
(
|
|
494
|
-
key:
|
|
495
|
-
"table-column": { align: t.align, ...
|
|
496
|
-
},
|
|
497
|
-
|
|
498
|
-
name:
|
|
499
|
-
fn:
|
|
500
|
-
|
|
501
|
-
|
|
486
|
+
default: i(() => [
|
|
487
|
+
(l(!0), g(C, null, y(t.tableColumns, (W, E) => (l(), u(Ne, {
|
|
488
|
+
key: E,
|
|
489
|
+
"table-column": { align: t.align, ...W }
|
|
490
|
+
}, M({ _: 2 }, [
|
|
491
|
+
y(c, (S, H) => ({
|
|
492
|
+
name: H,
|
|
493
|
+
fn: i(({ row: T }) => [
|
|
494
|
+
b(f.$slots, H, { row: T }, () => [
|
|
495
|
+
$(k(T[H]), 1)
|
|
502
496
|
], !0)
|
|
503
497
|
])
|
|
504
498
|
}))
|
|
505
499
|
]), 1032, ["table-column"]))), 128)),
|
|
506
|
-
t.buttons && t.buttons.length ? (
|
|
500
|
+
t.buttons && t.buttons.length ? (l(), u(r(P), {
|
|
507
501
|
key: 0,
|
|
508
502
|
align: "center",
|
|
509
503
|
fixed: "right",
|
|
510
504
|
label: "操作",
|
|
511
|
-
width:
|
|
505
|
+
width: s.value
|
|
512
506
|
}, {
|
|
513
|
-
default:
|
|
514
|
-
(
|
|
515
|
-
key:
|
|
516
|
-
type:
|
|
507
|
+
default: i((W) => [
|
|
508
|
+
(l(!0), g(C, null, y(t.buttons, (E, S) => (l(), u(r(L), {
|
|
509
|
+
key: S,
|
|
510
|
+
type: E.type.includes("del") ? "danger" : "primary",
|
|
517
511
|
onClick: () => {
|
|
518
|
-
|
|
512
|
+
E.click?.(W.row);
|
|
519
513
|
},
|
|
520
514
|
link: ""
|
|
521
515
|
}, {
|
|
522
|
-
default:
|
|
523
|
-
|
|
516
|
+
default: i(() => [
|
|
517
|
+
$(k(E.label), 1)
|
|
524
518
|
]),
|
|
525
519
|
_: 2
|
|
526
520
|
}, 1032, ["type", "onClick"]))), 128))
|
|
527
521
|
]),
|
|
528
522
|
_: 1
|
|
529
|
-
}, 8, ["width"])) :
|
|
523
|
+
}, 8, ["width"])) : h("", !0)
|
|
530
524
|
]),
|
|
531
525
|
_: 3
|
|
532
526
|
}, 16, ["data", "height", "maxHeight"])
|
|
533
527
|
], 512));
|
|
534
528
|
}
|
|
535
|
-
}),
|
|
529
|
+
}), Te = /* @__PURE__ */ I(Pe, [["__scopeId", "data-v-283c4a1e"]]), ze = {
|
|
536
530
|
name: "",
|
|
537
531
|
components: {},
|
|
538
532
|
props: {
|
|
@@ -542,13 +536,13 @@ const Ce = { class: "flex items-center justify-between" }, ke = { class: "flex i
|
|
|
542
536
|
}
|
|
543
537
|
}
|
|
544
538
|
};
|
|
545
|
-
function
|
|
546
|
-
return
|
|
539
|
+
function Re(t, d, s, c, o, m) {
|
|
540
|
+
return s.icon ? (l(), u(Z(s.icon), {
|
|
547
541
|
key: 0,
|
|
548
542
|
class: "menu_icon"
|
|
549
|
-
})) :
|
|
543
|
+
})) : h("", !0);
|
|
550
544
|
}
|
|
551
|
-
const
|
|
545
|
+
const O = /* @__PURE__ */ I(ze, [["render", Re], ["__scopeId", "data-v-261ce99a"]]), Be = /* @__PURE__ */ w({
|
|
552
546
|
name: "subMenu",
|
|
553
547
|
__name: "subMenu",
|
|
554
548
|
props: {
|
|
@@ -558,43 +552,43 @@ const j = /* @__PURE__ */ F(Pe, [["render", Te], ["__scopeId", "data-v-261ce99a"
|
|
|
558
552
|
}
|
|
559
553
|
},
|
|
560
554
|
emits: ["handleMenuItemClick"],
|
|
561
|
-
setup(t, { emit:
|
|
562
|
-
const
|
|
563
|
-
function c(
|
|
564
|
-
|
|
555
|
+
setup(t, { emit: d }) {
|
|
556
|
+
const s = d;
|
|
557
|
+
function c(o) {
|
|
558
|
+
s("handleMenuItemClick", o);
|
|
565
559
|
}
|
|
566
|
-
return (
|
|
567
|
-
const
|
|
568
|
-
return t.routeData.children && t.routeData.children.length > 0 ? (
|
|
560
|
+
return (o, m) => {
|
|
561
|
+
const p = A("subMenu", !0);
|
|
562
|
+
return t.routeData.children && t.routeData.children.length > 0 ? (l(), u(r(ve), {
|
|
569
563
|
key: 0,
|
|
570
564
|
index: t.routeData.path
|
|
571
565
|
}, {
|
|
572
|
-
title:
|
|
573
|
-
|
|
566
|
+
title: i(() => [
|
|
567
|
+
x(O, {
|
|
574
568
|
icon: t.routeData.meta.icon
|
|
575
569
|
}, null, 8, ["icon"]),
|
|
576
|
-
|
|
570
|
+
D("span", null, k(t.routeData.meta.title), 1)
|
|
577
571
|
]),
|
|
578
|
-
default:
|
|
579
|
-
(
|
|
572
|
+
default: i(() => [
|
|
573
|
+
(l(!0), g(C, null, y(t.routeData.children, (n, e) => (l(), u(p, {
|
|
580
574
|
onHandleMenuItemClick: c,
|
|
581
|
-
routeData:
|
|
582
|
-
key:
|
|
575
|
+
routeData: n,
|
|
576
|
+
key: e
|
|
583
577
|
}, null, 8, ["routeData"]))), 128))
|
|
584
578
|
]),
|
|
585
579
|
_: 1
|
|
586
|
-
}, 8, ["index"])) : (
|
|
580
|
+
}, 8, ["index"])) : (l(), g("div", {
|
|
587
581
|
key: 1,
|
|
588
|
-
onClick: m[0] || (m[0] = (
|
|
582
|
+
onClick: m[0] || (m[0] = (n) => c(t.routeData))
|
|
589
583
|
}, [
|
|
590
|
-
|
|
584
|
+
x(r(Ce), {
|
|
591
585
|
index: t.routeData.path
|
|
592
586
|
}, {
|
|
593
|
-
title:
|
|
594
|
-
|
|
587
|
+
title: i(() => [
|
|
588
|
+
D("span", null, k(t.routeData.meta.title), 1)
|
|
595
589
|
]),
|
|
596
|
-
default:
|
|
597
|
-
|
|
590
|
+
default: i(() => [
|
|
591
|
+
x(O, {
|
|
598
592
|
icon: t.routeData.meta.icon
|
|
599
593
|
}, null, 8, ["icon"])
|
|
600
594
|
]),
|
|
@@ -603,7 +597,7 @@ const j = /* @__PURE__ */ F(Pe, [["render", Te], ["__scopeId", "data-v-261ce99a"
|
|
|
603
597
|
]));
|
|
604
598
|
};
|
|
605
599
|
}
|
|
606
|
-
}),
|
|
600
|
+
}), Oe = /* @__PURE__ */ w({
|
|
607
601
|
name: "MenuTree",
|
|
608
602
|
__name: "index",
|
|
609
603
|
props: {
|
|
@@ -613,21 +607,21 @@ const j = /* @__PURE__ */ F(Pe, [["render", Te], ["__scopeId", "data-v-261ce99a"
|
|
|
613
607
|
}
|
|
614
608
|
},
|
|
615
609
|
emits: ["handleMenuItemClick"],
|
|
616
|
-
setup(t, { emit:
|
|
617
|
-
const
|
|
618
|
-
|
|
610
|
+
setup(t, { emit: d }) {
|
|
611
|
+
const s = d, c = (o) => {
|
|
612
|
+
s("handleMenuItemClick", o);
|
|
619
613
|
};
|
|
620
|
-
return (
|
|
621
|
-
default:
|
|
622
|
-
(
|
|
623
|
-
routeData:
|
|
614
|
+
return (o, m) => (l(), u(r(ke), _(ee(o.$attrs)), {
|
|
615
|
+
default: i(() => [
|
|
616
|
+
(l(!0), g(C, null, y(t.menuList, (p) => (l(), u(Be, {
|
|
617
|
+
routeData: p,
|
|
624
618
|
onHandleMenuItemClick: c
|
|
625
619
|
}, null, 8, ["routeData"]))), 256))
|
|
626
620
|
]),
|
|
627
621
|
_: 1
|
|
628
622
|
}, 16));
|
|
629
623
|
}
|
|
630
|
-
}),
|
|
624
|
+
}), je = /* @__PURE__ */ w({
|
|
631
625
|
name: "Pagination",
|
|
632
626
|
__name: "index",
|
|
633
627
|
props: {
|
|
@@ -655,62 +649,62 @@ const j = /* @__PURE__ */ F(Pe, [["render", Te], ["__scopeId", "data-v-261ce99a"
|
|
|
655
649
|
onPagination: { type: Function }
|
|
656
650
|
},
|
|
657
651
|
emits: ["update:page", "update:limit", "pagination"],
|
|
658
|
-
setup(t, { emit:
|
|
659
|
-
const
|
|
652
|
+
setup(t, { emit: d }) {
|
|
653
|
+
const s = t, c = d, o = F({
|
|
660
654
|
get() {
|
|
661
|
-
return
|
|
655
|
+
return s.page;
|
|
662
656
|
},
|
|
663
|
-
set(
|
|
664
|
-
c("update:page",
|
|
657
|
+
set(e) {
|
|
658
|
+
c("update:page", e);
|
|
665
659
|
}
|
|
666
|
-
}), m =
|
|
660
|
+
}), m = F({
|
|
667
661
|
get() {
|
|
668
|
-
return
|
|
662
|
+
return s.limit;
|
|
669
663
|
},
|
|
670
|
-
set(
|
|
671
|
-
c("update:limit",
|
|
664
|
+
set(e) {
|
|
665
|
+
c("update:limit", e);
|
|
672
666
|
}
|
|
673
|
-
}),
|
|
674
|
-
|
|
675
|
-
},
|
|
676
|
-
c("pagination", { page:
|
|
667
|
+
}), p = (e) => {
|
|
668
|
+
o.value * e > s.total && (o.value = 1), c("pagination", { page: o.value, limit: e });
|
|
669
|
+
}, n = (e) => {
|
|
670
|
+
c("pagination", { page: e, limit: m.value });
|
|
677
671
|
};
|
|
678
|
-
return (
|
|
679
|
-
"current-page":
|
|
680
|
-
"onUpdate:currentPage":
|
|
672
|
+
return (e, a) => te((l(), u(r(De), {
|
|
673
|
+
"current-page": o.value,
|
|
674
|
+
"onUpdate:currentPage": a[0] || (a[0] = (f) => o.value = f),
|
|
681
675
|
"page-size": m.value,
|
|
682
|
-
"onUpdate:pageSize":
|
|
676
|
+
"onUpdate:pageSize": a[1] || (a[1] = (f) => m.value = f),
|
|
683
677
|
background: !0,
|
|
684
678
|
"page-sizes": [10, 20, 30, 50, 100],
|
|
685
679
|
"pager-count": t.pagerCount,
|
|
686
680
|
total: t.total,
|
|
687
681
|
class: "pagination",
|
|
688
682
|
layout: "total, sizes, prev, pager, next, jumper",
|
|
689
|
-
onSizeChange:
|
|
690
|
-
onCurrentChange:
|
|
683
|
+
onSizeChange: p,
|
|
684
|
+
onCurrentChange: n
|
|
691
685
|
}, null, 8, ["current-page", "page-size", "pager-count", "total"])), [
|
|
692
|
-
[
|
|
686
|
+
[ae, t.total > 0]
|
|
693
687
|
]);
|
|
694
688
|
}
|
|
695
|
-
}),
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
Ie,
|
|
689
|
+
}), Ae = /* @__PURE__ */ I(je, [["__scopeId", "data-v-e3fa4ed7"]]), Le = [
|
|
690
|
+
Me,
|
|
691
|
+
Ue,
|
|
699
692
|
Ye,
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
},
|
|
693
|
+
Te,
|
|
694
|
+
Oe,
|
|
695
|
+
Ae
|
|
696
|
+
], j = [], qe = (t) => {
|
|
697
|
+
Le.forEach((d) => {
|
|
698
|
+
j.push(d.name), t.component(d.name, d);
|
|
699
|
+
}), console.log("mwl-components", j);
|
|
700
|
+
}, Ke = { install: qe };
|
|
707
701
|
export {
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
702
|
+
Me as ContentWarp,
|
|
703
|
+
Ue as Dialog,
|
|
704
|
+
Ye as EasyForm,
|
|
705
|
+
Te as EasyTable,
|
|
706
|
+
Oe as MenuTree,
|
|
707
|
+
Ae as Pagination,
|
|
708
|
+
Ke as default,
|
|
709
|
+
qe as install
|
|
716
710
|
};
|
package/dist/mwl-components.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.el-card[data-v-cce44bc6]{background-color:transparent;margin-bottom:10px}[data-v-cce44bc6] .el-card__body:has(>.el-form){padding:18px 20px 0}[data-v-cce44bc6] .el-card__body{padding:20px}.custom-dialog{padding:0}.custom-dialog .el-dialog__header{--el-dialog-padding-primary: 20px;margin-right:0!important;border-bottom:1px solid #eee;padding:var(--el-dialog-padding-primary);padding-bottom:10px}.dialog-header{display:flex;align-items:center;justify-content:space-between;margin-right:30px}.dialog-header .fullScreen{cursor:pointer;z-index:99}.el-dialog__headerbtn{top:8px}.el-dialog__body{padding:20px 30px;color:#606266;font-size:14px}.el-dialog__footer{padding:10px 20px 20px;border-top:1px solid #eee}[data-v-
|
|
1
|
+
.el-card[data-v-cce44bc6]{background-color:transparent;margin-bottom:10px}[data-v-cce44bc6] .el-card__body:has(>.el-form){padding:18px 20px 0}[data-v-cce44bc6] .el-card__body{padding:20px}.custom-dialog{padding:0}.custom-dialog .el-dialog__header{--el-dialog-padding-primary: 20px;margin-right:0!important;border-bottom:1px solid #eee;padding:var(--el-dialog-padding-primary);padding-bottom:10px}.dialog-header{display:flex;align-items:center;justify-content:space-between;margin-right:30px}.dialog-header .fullScreen{cursor:pointer;z-index:99}.el-dialog__headerbtn{top:8px}.el-dialog__body{padding:20px 30px;color:#606266;font-size:14px}.el-dialog__footer{padding:10px 20px 20px;border-top:1px solid #eee}[data-v-84850699] .el-form-item__label{font-size:var(--el-font-size-base)}[data-v-283c4a1e] .el-table,[data-v-283c4a1e] th.el-table__cell,[data-v-283c4a1e] tr{background-color:transparent!important}.menu_icon[data-v-261ce99a]{width:22px;height:22px;margin-right:5px;fill:currentColor;display:inline-block;font-size:16px}.pagination[data-v-e3fa4ed7]{margin-top:15px;margin-bottom:15px;float:right}@media screen and (max-width: 1370px){.pagination[data-v-e3fa4ed7]{margin-top:8px;margin-bottom:8px}}
|