iking-web-ui-pro 1.2.3 → 1.2.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/IkApprovalProcess/ik.index.es.js +378 -374
- package/dist/IkApprovalProcess/iking-web-ui-pro.css +1 -1
- package/dist/IkApprovalProcessDetail/ik.index.es.js +126 -123
- package/dist/IkApprovalProcessDetail/iking-web-ui-pro.css +1 -1
- package/dist/IkBaseDialog/ik.index.es.js +4 -4
- package/dist/IkBaseDialog/iking-web-ui-pro.css +1 -1
- package/dist/IkBtnSetting/ik.index.es.js +3 -3
- package/dist/IkBtnSetting/iking-web-ui-pro.css +1 -1
- package/dist/IkCalendar/ik.index.es.js +1043 -1039
- package/dist/IkCalendar/iking-web-ui-pro.css +1 -1
- package/dist/IkCollapseCard/ik.index.es.js +2 -2
- package/dist/IkCollapseCard/iking-web-ui-pro.css +1 -1
- package/dist/IkDescription/ik.index.es.js +122 -119
- package/dist/IkDescription/iking-web-ui-pro.css +1 -1
- package/dist/IkDetailPreviewFiles/ik.index.es.js +121 -118
- package/dist/IkDetailPreviewFiles/iking-web-ui-pro.css +1 -1
- package/dist/IkDragList/ik.index.es.js +1 -1
- package/dist/IkDragList/iking-web-ui-pro.css +1 -1
- package/dist/IkEmpty/ik.index.es.js +6 -6
- package/dist/IkEmpty/iking-web-ui-pro.css +1 -1
- package/dist/IkExpandCollapse/ik.index.es.js +11 -11
- package/dist/IkExpandCollapse/iking-web-ui-pro.css +1 -1
- package/dist/IkHorizontalStepBar/ik.index.es.js +1 -1
- package/dist/IkHorizontalStepBar/iking-web-ui-pro.css +1 -1
- package/dist/IkIconPicker/ik.index.es.js +1 -1
- package/dist/IkIconPicker/iking-web-ui-pro.css +1 -1
- package/dist/IkImageUploadEditor/ik.index.es.js +127 -124
- package/dist/IkImageUploadEditor/iking-web-ui-pro.css +1 -1
- package/dist/IkMonacoEditor/ik.index.es.js +1 -1
- package/dist/IkMonacoEditor/iking-web-ui-pro.css +1 -1
- package/dist/IkPageFull/ik.index.es.js +441 -437
- package/dist/IkPageFull/iking-web-ui-pro.css +1 -1
- package/dist/IkPageTabs/ik.index.es.js +1 -1
- package/dist/IkPageTabs/iking-web-ui-pro.css +1 -1
- package/dist/IkPickerUser/ik.index.es.js +416 -412
- package/dist/IkPickerUser/iking-web-ui-pro.css +1 -1
- package/dist/IkPlayer/ik.index.es.js +103 -100
- package/dist/IkPreviewFile/ik.index.es.js +110 -107
- package/dist/IkPreviewFile/iking-web-ui-pro.css +1 -1
- package/dist/IkPreviewFileDialog/ik.index.es.js +90 -87
- package/dist/IkPreviewFileDialog/iking-web-ui-pro.css +1 -1
- package/dist/IkPrint/ik.index.es.js +1 -1
- package/dist/IkPrint/iking-web-ui-pro.css +1 -1
- package/dist/IkRadioGroup/ik.index.es.js +2 -2
- package/dist/IkRadioGroup/iking-web-ui-pro.css +1 -1
- package/dist/IkSearch/ik.index.es.js +397 -393
- package/dist/IkSearch/iking-web-ui-pro.css +1 -1
- package/dist/IkSearchHead/ik.index.es.js +1 -1
- package/dist/IkSearchHead/iking-web-ui-pro.css +1 -1
- package/dist/IkSelectTag/ik.index.es.js +22 -22
- package/dist/IkSelectTag/iking-web-ui-pro.css +1 -1
- package/dist/IkSideText/ik.index.es.js +42 -39
- package/dist/IkSideText/iking-web-ui-pro.css +1 -1
- package/dist/IkStatu/ik.index.es.js +4 -4
- package/dist/IkStatu/iking-web-ui-pro.css +1 -1
- package/dist/IkStatuOver/ik.index.es.js +2 -2
- package/dist/IkStatuOver/iking-web-ui-pro.css +1 -1
- package/dist/IkSvgIcon/ik.index.es.js +16 -16
- package/dist/IkSvgIcon/iking-web-ui-pro.css +1 -1
- package/dist/IkTinymce/ik.index.es.js +9005 -9004
- package/dist/IkTinymce/iking-web-ui-pro.css +1 -1
- package/dist/IkTree/ik.index.es.js +13 -13
- package/dist/IkTree/iking-web-ui-pro.css +1 -1
- package/dist/IkUploadFile/ik.index.es.js +1419 -1416
- package/dist/IkUploadFile/iking-web-ui-pro.css +1 -1
- package/dist/IkUploadImage/ik.index.es.js +423 -421
- package/dist/IkUploadImage/iking-web-ui-pro.css +1 -1
- package/dist/IkVerticalStepBar/ik.index.es.js +2 -2
- package/dist/IkVerticalStepBar/iking-web-ui-pro.css +1 -1
- package/dist/Provider/ik.index.es.js +14 -10
- package/dist/iking-web-ui-pro.css +2 -2
- package/dist/{index-DzZt3b9I.mjs → index-DTIv4saG.mjs} +16667 -16662
- package/dist/{index.es-BGemUek4.mjs → index.es-DJTszikI.mjs} +2 -2
- package/dist/index.es.js +1 -1
- package/dist/index.umd.js +169 -169
- package/dist/{jspdf.es.min-BVrfmj8U.mjs → jspdf.es.min-CB6UoKKF.mjs} +1 -1
- package/dist/src/components/IkTinymce/index.d.ts +2 -2
- package/dist/src/components/IkTinymce/src/index.vue.d.ts +2 -2
- package/dist/src/components/IkUploadFile/index.d.ts +3 -3
- package/dist/src/components/IkUploadFile/src/index.vue.d.ts +2 -2
- package/dist/src/components/IkUploadImage/index.d.ts +3 -3
- package/dist/src/components/IkUploadImage/src/index.vue.d.ts +2 -2
- package/dist/src/components/Provider/ProviderConfig.vue.d.ts +9 -0
- package/dist/src/components/Provider/index.d.ts +15 -0
- package/dist/src/utils/use-provider.d.ts +1 -0
- package/package.json +1 -1
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { defineComponent as ue, createElementBlock as
|
|
1
|
+
import { defineComponent as ue, createElementBlock as A, openBlock as s, createElementVNode as u, inject as Se, computed as z, resolveComponent as te, normalizeStyle as ze, normalizeClass as ce, createBlock as D, Fragment as Z, withCtx as P, mergeProps as le, createTextVNode as ae, toDisplayString as X, createCommentVNode as k, ref as B, watch as re, createVNode as y, unref as T, renderList as me, toRef as At, reactive as nt, nextTick as st, watchEffect as ot, withDirectives as Ce, withModifiers as $e, vShow as bt, mergeModels as Ee, useModel as et, resolveDirective as tt, createSlots as kt, Transition as vt, renderSlot as ve, isVNode as xt, useCssVars as Ot, getCurrentInstance as wt } from "vue";
|
|
2
2
|
import { ElCheckbox as Le, ElCheckboxGroup as He, ElRadioGroup as Fe, ElRadio as We, ElDialog as Ct, ElInput as je, ElBreadcrumb as Bt, ElBreadcrumbItem as Pt, vLoading as Ze, ElButton as Je, ElCol as Lt, ElFormItem as it, ElCard as St, ElForm as Tt, ElRow as Ut, ElSelect as rt, ElOption as ut, ElTreeSelect as Vt, ElDatePicker as dt, ElRadioButton as It, ElInputNumber as _t } from "element-plus";
|
|
3
|
-
import { ikColor as Dt, ikStore as
|
|
3
|
+
import { ikColor as Dt, ikStore as Te, _ as se } from "iking-utils-pro";
|
|
4
4
|
import gt from "vuedraggable";
|
|
5
|
-
import
|
|
5
|
+
import $t from "axios";
|
|
6
6
|
const Re = (l, c) => (l.install = (e) => {
|
|
7
7
|
for (const t of [l, ...Object.values({})])
|
|
8
8
|
e.component(t.name, t);
|
|
9
9
|
}, l);
|
|
10
10
|
/*! Element Plus Icons Vue v2.3.1 */
|
|
11
|
-
var
|
|
11
|
+
var Mt = /* @__PURE__ */ ue({
|
|
12
12
|
name: "DCaret",
|
|
13
13
|
__name: "d-caret",
|
|
14
14
|
setup(l) {
|
|
15
|
-
return (c, e) => (s(),
|
|
15
|
+
return (c, e) => (s(), A("svg", {
|
|
16
16
|
xmlns: "http://www.w3.org/2000/svg",
|
|
17
17
|
viewBox: "0 0 1024 1024"
|
|
18
18
|
}, [
|
|
@@ -22,13 +22,13 @@ var Et = /* @__PURE__ */ ue({
|
|
|
22
22
|
})
|
|
23
23
|
]));
|
|
24
24
|
}
|
|
25
|
-
}),
|
|
25
|
+
}), Et = Mt;
|
|
26
26
|
const oe = (l, c) => {
|
|
27
27
|
const e = l.__vccOpts || l;
|
|
28
28
|
for (const [t, b] of c)
|
|
29
29
|
e[t] = b;
|
|
30
30
|
return e;
|
|
31
|
-
},
|
|
31
|
+
}, zt = (l, c) => {
|
|
32
32
|
if (!c) return "";
|
|
33
33
|
const e = /(\/api\/server\/oss\/download\?fileUrl=)(.*)(\/api\/server\/oss\/download\?fileUrl=)/;
|
|
34
34
|
return c.startsWith("http") ? c.replace(e, "$1$2") : `${l || location.origin}${c}`.replace(e, "$1$2");
|
|
@@ -87,25 +87,28 @@ const oe = (l, c) => {
|
|
|
87
87
|
"mp4",
|
|
88
88
|
"flv",
|
|
89
89
|
"tls"
|
|
90
|
-
],
|
|
91
|
-
const c =
|
|
90
|
+
], Rt = (l) => {
|
|
91
|
+
const c = Se("loadUrl"), e = z(() => l.loadUrl || l.fileUrl || (c == null ? void 0 : c.value)), t = Se("uploadUrl"), b = z(() => l.action || l.uploadUrl || (t == null ? void 0 : t.value)), h = Se("token"), O = z(() => l.token || (h == null ? void 0 : h.value)), v = Se("header"), F = z(() => l.header || (v == null ? void 0 : v.value) || {
|
|
92
|
+
Authorization: O.value
|
|
93
|
+
}), x = Se("onlyofficeConfig"), C = z(() => l.onlyofficeConfig || (x == null ? void 0 : x.value)), m = Se("userInfo"), o = z(() => l.userInfo || (m == null ? void 0 : m.value)), a = [...ct, ...ct.map((i) => i.toLocaleUpperCase())];
|
|
92
94
|
return {
|
|
93
95
|
cLoadUrl: e,
|
|
94
96
|
cUploadUrl: b,
|
|
95
97
|
cToken: O,
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
98
|
+
cHeader: F,
|
|
99
|
+
cOnlyofficeConfig: C,
|
|
100
|
+
cUserInfo: o,
|
|
101
|
+
cOnlyofficePreviewType: a
|
|
99
102
|
};
|
|
100
|
-
},
|
|
103
|
+
}, Nt = {
|
|
101
104
|
key: 1,
|
|
102
105
|
class: "h-[1em] w-[1em]",
|
|
103
106
|
"aria-hidden": "true"
|
|
104
|
-
},
|
|
107
|
+
}, jt = ["xlink:href"], Ht = ["src"], Ft = {
|
|
105
108
|
key: 1,
|
|
106
109
|
class: "h-[1em] w-[1em]",
|
|
107
110
|
"aria-hidden": "true"
|
|
108
|
-
},
|
|
111
|
+
}, Wt = ["xlink:href"], Gt = ["src"], Yt = /* @__PURE__ */ ue({
|
|
109
112
|
name: "IkSvgIcon",
|
|
110
113
|
__name: "index",
|
|
111
114
|
props: {
|
|
@@ -134,28 +137,28 @@ const oe = (l, c) => {
|
|
|
134
137
|
},
|
|
135
138
|
emits: ["click", "mouseenter", "mouseleave", "dblclick"],
|
|
136
139
|
setup(l, { emit: c }) {
|
|
137
|
-
const e = l, t =
|
|
138
|
-
const { name:
|
|
139
|
-
return /^http?:\/\//.test(
|
|
140
|
-
}), h =
|
|
141
|
-
const
|
|
140
|
+
const e = l, t = z(() => e), b = z(() => {
|
|
141
|
+
const { name: m } = t.value;
|
|
142
|
+
return /^http?:\/\//.test(m) ? "img" : /i-[^:]+:[^:]+/.test(m) ? "unocss" : m != null && m.startsWith("iksig") ? "iksig" : m != null && m.includes(":") ? "iconify" : m != null && m.startsWith("iksvg") ? "svg" : "i";
|
|
143
|
+
}), h = z(() => {
|
|
144
|
+
const m = [];
|
|
142
145
|
if (t.value.flip)
|
|
143
146
|
switch (t.value.flip) {
|
|
144
147
|
case "horizontal":
|
|
145
|
-
|
|
148
|
+
m.push("rotateY(180deg)");
|
|
146
149
|
break;
|
|
147
150
|
case "vertical":
|
|
148
|
-
|
|
151
|
+
m.push("rotateX(180deg)");
|
|
149
152
|
break;
|
|
150
153
|
case "both":
|
|
151
|
-
|
|
154
|
+
m.push("rotateX(180deg)"), m.push("rotateY(180deg)");
|
|
152
155
|
break;
|
|
153
156
|
}
|
|
154
|
-
t.value.rotate &&
|
|
157
|
+
t.value.rotate && m.push(`rotate(${t.value.rotate % 360}deg)`);
|
|
155
158
|
const o = {
|
|
156
159
|
...t.value.color && { color: t.value.color },
|
|
157
160
|
...t.value.size && { fontSize: typeof t.value.size == "number" ? `${t.value.size}px` : t.value.size },
|
|
158
|
-
...
|
|
161
|
+
...m.length && { transform: m.join(" ") },
|
|
159
162
|
padding: t.value.showBg || t.value.bg ? t.value.padding : 0,
|
|
160
163
|
...t.value.color && b.value !== "iksig" ? {
|
|
161
164
|
"--ik-icon-deep-color": t.value.color,
|
|
@@ -163,18 +166,18 @@ const oe = (l, c) => {
|
|
|
163
166
|
} : {}
|
|
164
167
|
};
|
|
165
168
|
return t.value.width && (o.width = o.height = typeof t.value.width == "number" ? `${t.value.width}px` : t.value.width), o;
|
|
166
|
-
}), O = c, v = (
|
|
167
|
-
O("click",
|
|
168
|
-
}, F = (
|
|
169
|
-
O("mouseenter",
|
|
170
|
-
}, x = (
|
|
171
|
-
O("mouseleave",
|
|
172
|
-
}, C = (
|
|
173
|
-
O("dblclick",
|
|
169
|
+
}), O = c, v = (m) => {
|
|
170
|
+
O("click", m);
|
|
171
|
+
}, F = (m) => {
|
|
172
|
+
O("mouseenter", m);
|
|
173
|
+
}, x = (m) => {
|
|
174
|
+
O("mouseleave", m);
|
|
175
|
+
}, C = (m) => {
|
|
176
|
+
O("dblclick", m);
|
|
174
177
|
};
|
|
175
|
-
return (
|
|
178
|
+
return (m, o) => {
|
|
176
179
|
const a = te("el-tooltip"), i = te("el-button");
|
|
177
|
-
return s(),
|
|
180
|
+
return s(), A(
|
|
178
181
|
"i",
|
|
179
182
|
{
|
|
180
183
|
class: ce(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition", {
|
|
@@ -198,15 +201,15 @@ const oe = (l, c) => {
|
|
|
198
201
|
onMouseleave: x
|
|
199
202
|
},
|
|
200
203
|
[
|
|
201
|
-
t.value.tableIconType === "icon" || !t.value.tableIconType ? (s(),
|
|
204
|
+
t.value.tableIconType === "icon" || !t.value.tableIconType ? (s(), A(
|
|
202
205
|
Z,
|
|
203
206
|
{ key: 0 },
|
|
204
207
|
[
|
|
205
|
-
t.value.notip || !t.value.title ? (s(),
|
|
208
|
+
t.value.notip || !t.value.title ? (s(), A(
|
|
206
209
|
Z,
|
|
207
210
|
{ key: 0 },
|
|
208
211
|
[
|
|
209
|
-
b.value === "iksig" ? (s(),
|
|
212
|
+
b.value === "iksig" ? (s(), A(
|
|
210
213
|
"i",
|
|
211
214
|
{
|
|
212
215
|
key: 0,
|
|
@@ -215,15 +218,15 @@ const oe = (l, c) => {
|
|
|
215
218
|
null,
|
|
216
219
|
2
|
|
217
220
|
/* CLASS */
|
|
218
|
-
)) : b.value === "svg" ? (s(),
|
|
221
|
+
)) : b.value === "svg" ? (s(), A("svg", Nt, [
|
|
219
222
|
u("use", {
|
|
220
223
|
"xlink:href": `#${t.value.name}`
|
|
221
|
-
}, null, 8,
|
|
222
|
-
])) : b.value === "img" ? (s(),
|
|
224
|
+
}, null, 8, jt)
|
|
225
|
+
])) : b.value === "img" ? (s(), A("img", {
|
|
223
226
|
key: 2,
|
|
224
227
|
src: t.value.name,
|
|
225
228
|
class: "h-[1em] w-[1em]"
|
|
226
|
-
}, null, 8,
|
|
229
|
+
}, null, 8, Ht)) : (s(), A(
|
|
227
230
|
"i",
|
|
228
231
|
{
|
|
229
232
|
key: 3,
|
|
@@ -244,7 +247,7 @@ const oe = (l, c) => {
|
|
|
244
247
|
"hide-after": 0
|
|
245
248
|
}, {
|
|
246
249
|
default: P(() => [
|
|
247
|
-
b.value === "iksig" ? (s(),
|
|
250
|
+
b.value === "iksig" ? (s(), A(
|
|
248
251
|
"i",
|
|
249
252
|
{
|
|
250
253
|
key: 0,
|
|
@@ -253,15 +256,15 @@ const oe = (l, c) => {
|
|
|
253
256
|
null,
|
|
254
257
|
2
|
|
255
258
|
/* CLASS */
|
|
256
|
-
)) : b.value === "svg" ? (s(),
|
|
259
|
+
)) : b.value === "svg" ? (s(), A("svg", Ft, [
|
|
257
260
|
u("use", {
|
|
258
261
|
"xlink:href": `#${t.value.name}`
|
|
259
|
-
}, null, 8,
|
|
260
|
-
])) : b.value === "img" ? (s(),
|
|
262
|
+
}, null, 8, Wt)
|
|
263
|
+
])) : b.value === "img" ? (s(), A("img", {
|
|
261
264
|
key: 2,
|
|
262
265
|
src: t.value.name,
|
|
263
266
|
class: "h-[1em] w-[1em]"
|
|
264
|
-
}, null, 8,
|
|
267
|
+
}, null, 8, Gt)) : (s(), A(
|
|
265
268
|
"i",
|
|
266
269
|
{
|
|
267
270
|
key: 3,
|
|
@@ -278,7 +281,7 @@ const oe = (l, c) => {
|
|
|
278
281
|
],
|
|
279
282
|
64
|
|
280
283
|
/* STABLE_FRAGMENT */
|
|
281
|
-
)) : (s(), D(i, le({ key: 1 },
|
|
284
|
+
)) : (s(), D(i, le({ key: 1 }, m.$attrs, {
|
|
282
285
|
type: ["warning", "error"].includes(t.value.type) ? "danger" : ""
|
|
283
286
|
}), {
|
|
284
287
|
default: P(() => [
|
|
@@ -297,15 +300,15 @@ const oe = (l, c) => {
|
|
|
297
300
|
);
|
|
298
301
|
};
|
|
299
302
|
}
|
|
300
|
-
}),
|
|
303
|
+
}), Qt = /* @__PURE__ */ oe(Yt, [["__scopeId", "data-v-9ebb0a94"]]), Oe = Re(Qt), Xt = {}, qt = {
|
|
301
304
|
t: "1672194715727",
|
|
302
305
|
class: "icon",
|
|
303
306
|
viewBox: "0 0 1024 1024",
|
|
304
307
|
version: "1.1",
|
|
305
308
|
"p-id": "2667"
|
|
306
309
|
};
|
|
307
|
-
function
|
|
308
|
-
return s(),
|
|
310
|
+
function Kt(l, c) {
|
|
311
|
+
return s(), A("svg", qt, [...c[0] || (c[0] = [
|
|
309
312
|
u(
|
|
310
313
|
"path",
|
|
311
314
|
{
|
|
@@ -330,7 +333,7 @@ function Zt(l, c) {
|
|
|
330
333
|
)
|
|
331
334
|
])]);
|
|
332
335
|
}
|
|
333
|
-
const
|
|
336
|
+
const Zt = /* @__PURE__ */ oe(Xt, [["render", Kt]]), Jt = {}, el = {
|
|
334
337
|
t: "1710907270798",
|
|
335
338
|
class: "icon",
|
|
336
339
|
viewBox: "0 0 1024 1024",
|
|
@@ -340,8 +343,8 @@ const Jt = /* @__PURE__ */ oe(qt, [["render", Zt]]), el = {}, tl = {
|
|
|
340
343
|
width: "200",
|
|
341
344
|
height: "200"
|
|
342
345
|
};
|
|
343
|
-
function
|
|
344
|
-
return s(),
|
|
346
|
+
function tl(l, c) {
|
|
347
|
+
return s(), A("svg", el, [...c[0] || (c[0] = [
|
|
345
348
|
u(
|
|
346
349
|
"path",
|
|
347
350
|
{
|
|
@@ -366,7 +369,7 @@ function ll(l, c) {
|
|
|
366
369
|
)
|
|
367
370
|
])]);
|
|
368
371
|
}
|
|
369
|
-
const
|
|
372
|
+
const ll = /* @__PURE__ */ oe(Jt, [["render", tl]]), al = {}, nl = {
|
|
370
373
|
t: "1710904463698",
|
|
371
374
|
class: "icon",
|
|
372
375
|
viewBox: "0 0 1024 1024",
|
|
@@ -376,8 +379,8 @@ const al = /* @__PURE__ */ oe(el, [["render", ll]]), nl = {}, sl = {
|
|
|
376
379
|
width: "200",
|
|
377
380
|
height: "200"
|
|
378
381
|
};
|
|
379
|
-
function
|
|
380
|
-
return s(),
|
|
382
|
+
function sl(l, c) {
|
|
383
|
+
return s(), A("svg", nl, [...c[0] || (c[0] = [
|
|
381
384
|
u(
|
|
382
385
|
"path",
|
|
383
386
|
{
|
|
@@ -402,7 +405,7 @@ function ol(l, c) {
|
|
|
402
405
|
)
|
|
403
406
|
])]);
|
|
404
407
|
}
|
|
405
|
-
const
|
|
408
|
+
const ol = /* @__PURE__ */ oe(al, [["render", sl]]), il = {}, rl = {
|
|
406
409
|
t: "1710904436436",
|
|
407
410
|
class: "icon",
|
|
408
411
|
viewBox: "0 0 1024 1024",
|
|
@@ -412,8 +415,8 @@ const il = /* @__PURE__ */ oe(nl, [["render", ol]]), rl = {}, ul = {
|
|
|
412
415
|
width: "200",
|
|
413
416
|
height: "200"
|
|
414
417
|
};
|
|
415
|
-
function
|
|
416
|
-
return s(),
|
|
418
|
+
function ul(l, c) {
|
|
419
|
+
return s(), A("svg", rl, [...c[0] || (c[0] = [
|
|
417
420
|
u(
|
|
418
421
|
"path",
|
|
419
422
|
{
|
|
@@ -438,7 +441,7 @@ function dl(l, c) {
|
|
|
438
441
|
)
|
|
439
442
|
])]);
|
|
440
443
|
}
|
|
441
|
-
const
|
|
444
|
+
const dl = /* @__PURE__ */ oe(il, [["render", ul]]), cl = {}, pl = {
|
|
442
445
|
t: "1710904287393",
|
|
443
446
|
class: "icon",
|
|
444
447
|
viewBox: "0 0 1024 1024",
|
|
@@ -448,8 +451,8 @@ const cl = /* @__PURE__ */ oe(rl, [["render", dl]]), pl = {}, fl = {
|
|
|
448
451
|
width: "200",
|
|
449
452
|
height: "200"
|
|
450
453
|
};
|
|
451
|
-
function
|
|
452
|
-
return s(),
|
|
454
|
+
function fl(l, c) {
|
|
455
|
+
return s(), A("svg", pl, [...c[0] || (c[0] = [
|
|
453
456
|
u(
|
|
454
457
|
"path",
|
|
455
458
|
{
|
|
@@ -474,13 +477,13 @@ function hl(l, c) {
|
|
|
474
477
|
)
|
|
475
478
|
])]);
|
|
476
479
|
}
|
|
477
|
-
const
|
|
480
|
+
const hl = /* @__PURE__ */ oe(cl, [["render", fl]]), vl = { class: "avatar" }, gl = {
|
|
478
481
|
key: 3,
|
|
479
482
|
class: "user_box"
|
|
480
483
|
}, yl = {
|
|
481
484
|
key: 1,
|
|
482
485
|
class: "avatar_name"
|
|
483
|
-
},
|
|
486
|
+
}, ml = /* @__PURE__ */ ue({
|
|
484
487
|
__name: "Avatar",
|
|
485
488
|
props: {
|
|
486
489
|
fixPropOpt: {
|
|
@@ -504,16 +507,16 @@ const vl = /* @__PURE__ */ oe(pl, [["render", hl]]), gl = { class: "avatar" }, m
|
|
|
504
507
|
}
|
|
505
508
|
},
|
|
506
509
|
setup(l) {
|
|
507
|
-
const c = l, { cLoadUrl: e } =
|
|
510
|
+
const c = l, { cLoadUrl: e } = Rt(c), t = (b) => zt(e.value, b);
|
|
508
511
|
return (b, h) => {
|
|
509
512
|
const O = te("el-avatar");
|
|
510
|
-
return s(),
|
|
511
|
-
c.fixTypeOpt.group === l.element[c.fixPropOpt.type] ? (s(), D(
|
|
513
|
+
return s(), A("div", vl, [
|
|
514
|
+
c.fixTypeOpt.group === l.element[c.fixPropOpt.type] ? (s(), D(hl, { key: 0 })) : c.fixTypeOpt.role === l.element[c.fixPropOpt.type] ? (s(), D(ol, { key: 1 })) : c.fixTypeOpt.post === l.element[c.fixPropOpt.type] ? (s(), D(dl, { key: 2 })) : c.fixTypeOpt.user === l.element[c.fixPropOpt.type] ? (s(), A("div", gl, [
|
|
512
515
|
l.element[l.fixPropOpt.avatar] ? (s(), D(O, {
|
|
513
516
|
key: 0,
|
|
514
517
|
shape: "square",
|
|
515
518
|
src: t(l.fixPropOpt.avatar ? l.element[l.fixPropOpt.avatar] : "")
|
|
516
|
-
}, null, 8, ["src"])) : (s(),
|
|
519
|
+
}, null, 8, ["src"])) : (s(), A(
|
|
517
520
|
"div",
|
|
518
521
|
yl,
|
|
519
522
|
X(l.element[l.fixPropOpt.name].slice(-2)),
|
|
@@ -524,7 +527,7 @@ const vl = /* @__PURE__ */ oe(pl, [["render", hl]]), gl = { class: "avatar" }, m
|
|
|
524
527
|
]);
|
|
525
528
|
};
|
|
526
529
|
}
|
|
527
|
-
}), pe = /* @__PURE__ */ oe(
|
|
530
|
+
}), pe = /* @__PURE__ */ oe(ml, [["__scopeId", "data-v-8031ce9b"]]), lt = "data:image/webp;base64,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", at = {
|
|
528
531
|
// 所有数据
|
|
529
532
|
list: {
|
|
530
533
|
type: Array,
|
|
@@ -582,31 +585,31 @@ const vl = /* @__PURE__ */ oe(pl, [["render", hl]]), gl = { class: "avatar" }, m
|
|
|
582
585
|
// 传['dep', 'user', 'role']则选择人员、部门和角色
|
|
583
586
|
default: () => ["dep"]
|
|
584
587
|
}
|
|
585
|
-
},
|
|
588
|
+
}, Al = { class: "left-pick-list" }, bl = {
|
|
586
589
|
key: 0,
|
|
587
590
|
class: "post-view-list"
|
|
588
|
-
},
|
|
591
|
+
}, kl = { class: "checkText" }, xl = { class: "iconBox" }, Ol = { class: "name_number" }, wl = { class: "title" }, Cl = {
|
|
589
592
|
key: 0,
|
|
590
593
|
class: "userCount"
|
|
591
|
-
},
|
|
594
|
+
}, Bl = {
|
|
592
595
|
key: 1,
|
|
593
596
|
class: "checkText"
|
|
594
|
-
},
|
|
597
|
+
}, Pl = { class: "iconBox" }, Ll = { class: "name_number" }, Sl = { class: "title" }, Tl = {
|
|
595
598
|
key: 0,
|
|
596
599
|
class: "userCount"
|
|
597
|
-
},
|
|
600
|
+
}, Ul = ["onClick"], Vl = { class: "checkText" }, Il = { class: "iconBox" }, _l = { class: "name_number" }, Dl = { class: "title" }, $l = {
|
|
598
601
|
key: 0,
|
|
599
602
|
class: "userCount"
|
|
600
|
-
},
|
|
603
|
+
}, Ml = {
|
|
601
604
|
key: 1,
|
|
602
605
|
class: "checkText"
|
|
603
|
-
},
|
|
606
|
+
}, El = { class: "iconBox" }, zl = { class: "name_number" }, Rl = { class: "title" }, Nl = {
|
|
604
607
|
key: 0,
|
|
605
608
|
class: "userCount"
|
|
606
|
-
},
|
|
609
|
+
}, jl = ["onClick"], Hl = {
|
|
607
610
|
key: 1,
|
|
608
611
|
class: "empty"
|
|
609
|
-
},
|
|
612
|
+
}, Fl = /* @__PURE__ */ ue({
|
|
610
613
|
__name: "GroupList",
|
|
611
614
|
props: at,
|
|
612
615
|
emits: ["change", "check", "handChild"],
|
|
@@ -632,7 +635,7 @@ const vl = /* @__PURE__ */ oe(pl, [["render", hl]]), gl = { class: "avatar" }, m
|
|
|
632
635
|
},
|
|
633
636
|
{ immediate: !0 }
|
|
634
637
|
);
|
|
635
|
-
const b =
|
|
638
|
+
const b = z(() => {
|
|
636
639
|
var d, g, W;
|
|
637
640
|
const i = (d = e.handList.filter(
|
|
638
641
|
($) => e.chooseType.includes($[e.fixPropOpt.type].toLowerCase())
|
|
@@ -656,17 +659,17 @@ const vl = /* @__PURE__ */ oe(pl, [["render", hl]]), gl = { class: "avatar" }, m
|
|
|
656
659
|
v("change", i, e.list);
|
|
657
660
|
}, C = (i) => {
|
|
658
661
|
v("change", i, e.list);
|
|
659
|
-
},
|
|
662
|
+
}, m = (i, w) => {
|
|
660
663
|
w || v("handChild", i);
|
|
661
664
|
};
|
|
662
665
|
return (i, w) => {
|
|
663
666
|
const d = te("el-scrollbar");
|
|
664
|
-
return s(),
|
|
667
|
+
return s(), A(
|
|
665
668
|
Z,
|
|
666
669
|
null,
|
|
667
670
|
[
|
|
668
671
|
k(" 遍历list多选 "),
|
|
669
|
-
u("div",
|
|
672
|
+
u("div", Al, [
|
|
670
673
|
i.multiple && i.list && i.list.length ? (s(), D(T(Le), {
|
|
671
674
|
key: 0,
|
|
672
675
|
modelValue: t.value,
|
|
@@ -684,9 +687,9 @@ const vl = /* @__PURE__ */ oe(pl, [["render", hl]]), gl = { class: "avatar" }, m
|
|
|
684
687
|
_: 1
|
|
685
688
|
/* STABLE */
|
|
686
689
|
}, 8, ["modelValue", "indeterminate"])) : k("v-if", !0),
|
|
687
|
-
|
|
690
|
+
y(d, null, {
|
|
688
691
|
default: P(() => [
|
|
689
|
-
i.list && i.list.length ? (s(),
|
|
692
|
+
i.list && i.list.length ? (s(), A("ul", bl, [
|
|
690
693
|
i.multiple ? (s(), D(T(He), {
|
|
691
694
|
key: 0,
|
|
692
695
|
modelValue: h.value,
|
|
@@ -694,12 +697,12 @@ const vl = /* @__PURE__ */ oe(pl, [["render", hl]]), gl = { class: "avatar" }, m
|
|
|
694
697
|
onChange: x
|
|
695
698
|
}, {
|
|
696
699
|
default: P(() => [
|
|
697
|
-
(s(!0),
|
|
700
|
+
(s(!0), A(
|
|
698
701
|
Z,
|
|
699
702
|
null,
|
|
700
|
-
|
|
703
|
+
me(i.list, (g) => {
|
|
701
704
|
var W;
|
|
702
|
-
return s(),
|
|
705
|
+
return s(), A("li", {
|
|
703
706
|
key: g[e.fixPropOpt.id]
|
|
704
707
|
}, [
|
|
705
708
|
i.chooseType.includes(
|
|
@@ -710,26 +713,26 @@ const vl = /* @__PURE__ */ oe(pl, [["render", hl]]), gl = { class: "avatar" }, m
|
|
|
710
713
|
disabled: g.available === !1
|
|
711
714
|
}, {
|
|
712
715
|
default: P(() => [
|
|
713
|
-
u("div",
|
|
714
|
-
u("div",
|
|
715
|
-
|
|
716
|
+
u("div", kl, [
|
|
717
|
+
u("div", xl, [
|
|
718
|
+
y(pe, {
|
|
716
719
|
fixTypeOpt: e.fixTypeOpt,
|
|
717
720
|
fixPropOpt: e.fixPropOpt,
|
|
718
721
|
element: g,
|
|
719
722
|
imageBaseUrl: e.imageBaseUrl
|
|
720
723
|
}, null, 8, ["fixTypeOpt", "fixPropOpt", "element", "imageBaseUrl"])
|
|
721
724
|
]),
|
|
722
|
-
u("div",
|
|
725
|
+
u("div", Ol, [
|
|
723
726
|
u(
|
|
724
727
|
"div",
|
|
725
|
-
|
|
728
|
+
wl,
|
|
726
729
|
X(g[e.fixPropOpt.name]),
|
|
727
730
|
1
|
|
728
731
|
/* TEXT */
|
|
729
732
|
),
|
|
730
|
-
g[e.fixPropOpt.type] === e.fixTypeOpt.group ? (s(),
|
|
733
|
+
g[e.fixPropOpt.type] === e.fixTypeOpt.group ? (s(), A(
|
|
731
734
|
"div",
|
|
732
|
-
|
|
735
|
+
Cl,
|
|
733
736
|
" (" + X(g.userCount) + ") ",
|
|
734
737
|
1
|
|
735
738
|
/* TEXT */
|
|
@@ -739,7 +742,7 @@ const vl = /* @__PURE__ */ oe(pl, [["render", hl]]), gl = { class: "avatar" }, m
|
|
|
739
742
|
]),
|
|
740
743
|
_: 2
|
|
741
744
|
/* DYNAMIC */
|
|
742
|
-
}, 1032, ["label", "disabled"])) : (s(),
|
|
745
|
+
}, 1032, ["label", "disabled"])) : (s(), A("div", Bl, [
|
|
743
746
|
w[4] || (w[4] = u(
|
|
744
747
|
"div",
|
|
745
748
|
{ class: "side" },
|
|
@@ -747,32 +750,32 @@ const vl = /* @__PURE__ */ oe(pl, [["render", hl]]), gl = { class: "avatar" }, m
|
|
|
747
750
|
-1
|
|
748
751
|
/* CACHED */
|
|
749
752
|
)),
|
|
750
|
-
u("div",
|
|
751
|
-
|
|
753
|
+
u("div", Pl, [
|
|
754
|
+
y(pe, {
|
|
752
755
|
fixTypeOpt: e.fixTypeOpt,
|
|
753
756
|
fixPropOpt: e.fixPropOpt,
|
|
754
757
|
element: g,
|
|
755
758
|
imageBaseUrl: e.imageBaseUrl
|
|
756
759
|
}, null, 8, ["fixTypeOpt", "fixPropOpt", "element", "imageBaseUrl"])
|
|
757
760
|
]),
|
|
758
|
-
u("div",
|
|
761
|
+
u("div", Ll, [
|
|
759
762
|
u(
|
|
760
763
|
"div",
|
|
761
|
-
|
|
764
|
+
Sl,
|
|
762
765
|
X(g[e.fixPropOpt.name]),
|
|
763
766
|
1
|
|
764
767
|
/* TEXT */
|
|
765
768
|
),
|
|
766
|
-
g[e.fixPropOpt.type] === e.fixTypeOpt.group ? (s(),
|
|
769
|
+
g[e.fixPropOpt.type] === e.fixTypeOpt.group ? (s(), A(
|
|
767
770
|
"div",
|
|
768
|
-
|
|
771
|
+
Tl,
|
|
769
772
|
" (" + X(g.userCount) + ") ",
|
|
770
773
|
1
|
|
771
774
|
/* TEXT */
|
|
772
775
|
)) : k("v-if", !0)
|
|
773
776
|
])
|
|
774
777
|
])),
|
|
775
|
-
g[e.fixPropOpt.type] === e.fixTypeOpt.group && e.children ? (s(),
|
|
778
|
+
g[e.fixPropOpt.type] === e.fixTypeOpt.group && e.children ? (s(), A("span", {
|
|
776
779
|
key: 2,
|
|
777
780
|
class: ce(["nextLevel", {
|
|
778
781
|
"is-disabled": (W = h.value) == null ? void 0 : W.find(
|
|
@@ -781,12 +784,12 @@ const vl = /* @__PURE__ */ oe(pl, [["render", hl]]), gl = { class: "avatar" }, m
|
|
|
781
784
|
}]),
|
|
782
785
|
onClick: ($) => {
|
|
783
786
|
var f;
|
|
784
|
-
return
|
|
787
|
+
return m(
|
|
785
788
|
g,
|
|
786
789
|
(f = h.value) == null ? void 0 : f.find((ne) => ne === g[e.fixPropOpt.id])
|
|
787
790
|
);
|
|
788
791
|
}
|
|
789
|
-
}, " 下级", 10,
|
|
792
|
+
}, " 下级", 10, Ul)) : k("v-if", !0)
|
|
790
793
|
]);
|
|
791
794
|
}),
|
|
792
795
|
128
|
|
@@ -803,12 +806,12 @@ const vl = /* @__PURE__ */ oe(pl, [["render", hl]]), gl = { class: "avatar" }, m
|
|
|
803
806
|
onChange: C
|
|
804
807
|
}, {
|
|
805
808
|
default: P(() => [
|
|
806
|
-
(s(!0),
|
|
809
|
+
(s(!0), A(
|
|
807
810
|
Z,
|
|
808
811
|
null,
|
|
809
|
-
|
|
812
|
+
me(i.list, (g) => {
|
|
810
813
|
var W;
|
|
811
|
-
return s(),
|
|
814
|
+
return s(), A("li", {
|
|
812
815
|
class: "w-full",
|
|
813
816
|
key: g[e.fixPropOpt.id]
|
|
814
817
|
}, [
|
|
@@ -819,26 +822,26 @@ const vl = /* @__PURE__ */ oe(pl, [["render", hl]]), gl = { class: "avatar" }, m
|
|
|
819
822
|
label: g[e.fixPropOpt.id]
|
|
820
823
|
}, {
|
|
821
824
|
default: P(() => [
|
|
822
|
-
u("div",
|
|
823
|
-
u("div",
|
|
824
|
-
|
|
825
|
+
u("div", Vl, [
|
|
826
|
+
u("div", Il, [
|
|
827
|
+
y(pe, {
|
|
825
828
|
fixTypeOpt: e.fixTypeOpt,
|
|
826
829
|
fixPropOpt: e.fixPropOpt,
|
|
827
830
|
element: g,
|
|
828
831
|
imageBaseUrl: e.imageBaseUrl
|
|
829
832
|
}, null, 8, ["fixTypeOpt", "fixPropOpt", "element", "imageBaseUrl"])
|
|
830
833
|
]),
|
|
831
|
-
u("div",
|
|
834
|
+
u("div", _l, [
|
|
832
835
|
u(
|
|
833
836
|
"div",
|
|
834
|
-
|
|
837
|
+
Dl,
|
|
835
838
|
X(g[e.fixPropOpt.name]),
|
|
836
839
|
1
|
|
837
840
|
/* TEXT */
|
|
838
841
|
),
|
|
839
|
-
g[e.fixPropOpt.type] === e.fixTypeOpt.group ? (s(),
|
|
842
|
+
g[e.fixPropOpt.type] === e.fixTypeOpt.group ? (s(), A(
|
|
840
843
|
"div",
|
|
841
|
-
|
|
844
|
+
$l,
|
|
842
845
|
" (" + X((g == null ? void 0 : g.userCount) || 0) + ") ",
|
|
843
846
|
1
|
|
844
847
|
/* TEXT */
|
|
@@ -848,7 +851,7 @@ const vl = /* @__PURE__ */ oe(pl, [["render", hl]]), gl = { class: "avatar" }, m
|
|
|
848
851
|
]),
|
|
849
852
|
_: 2
|
|
850
853
|
/* DYNAMIC */
|
|
851
|
-
}, 1032, ["label"])) : (s(),
|
|
854
|
+
}, 1032, ["label"])) : (s(), A("div", Ml, [
|
|
852
855
|
w[5] || (w[5] = u(
|
|
853
856
|
"div",
|
|
854
857
|
{ class: "side" },
|
|
@@ -856,32 +859,32 @@ const vl = /* @__PURE__ */ oe(pl, [["render", hl]]), gl = { class: "avatar" }, m
|
|
|
856
859
|
-1
|
|
857
860
|
/* CACHED */
|
|
858
861
|
)),
|
|
859
|
-
u("div",
|
|
860
|
-
|
|
862
|
+
u("div", El, [
|
|
863
|
+
y(pe, {
|
|
861
864
|
fixTypeOpt: e.fixTypeOpt,
|
|
862
865
|
fixPropOpt: e.fixPropOpt,
|
|
863
866
|
element: g,
|
|
864
867
|
imageBaseUrl: e.imageBaseUrl
|
|
865
868
|
}, null, 8, ["fixTypeOpt", "fixPropOpt", "element", "imageBaseUrl"])
|
|
866
869
|
]),
|
|
867
|
-
u("div",
|
|
870
|
+
u("div", zl, [
|
|
868
871
|
u(
|
|
869
872
|
"div",
|
|
870
|
-
|
|
873
|
+
Rl,
|
|
871
874
|
X(g[e.fixPropOpt.name]),
|
|
872
875
|
1
|
|
873
876
|
/* TEXT */
|
|
874
877
|
),
|
|
875
|
-
g[e.fixPropOpt.type] === e.fixTypeOpt.group ? (s(),
|
|
878
|
+
g[e.fixPropOpt.type] === e.fixTypeOpt.group ? (s(), A(
|
|
876
879
|
"div",
|
|
877
|
-
|
|
880
|
+
Nl,
|
|
878
881
|
" (" + X(g.userCount) + ") ",
|
|
879
882
|
1
|
|
880
883
|
/* TEXT */
|
|
881
884
|
)) : k("v-if", !0)
|
|
882
885
|
])
|
|
883
886
|
])),
|
|
884
|
-
g[e.fixPropOpt.type] === e.fixTypeOpt.group && e.children ? (s(),
|
|
887
|
+
g[e.fixPropOpt.type] === e.fixTypeOpt.group && e.children ? (s(), A("span", {
|
|
885
888
|
key: 2,
|
|
886
889
|
class: ce(["nextLevel", {
|
|
887
890
|
"is-disabled": (W = h.value) == null ? void 0 : W.find(
|
|
@@ -890,12 +893,12 @@ const vl = /* @__PURE__ */ oe(pl, [["render", hl]]), gl = { class: "avatar" }, m
|
|
|
890
893
|
}]),
|
|
891
894
|
onClick: ($) => {
|
|
892
895
|
var f;
|
|
893
|
-
return
|
|
896
|
+
return m(
|
|
894
897
|
g,
|
|
895
898
|
(f = h.value) == null ? void 0 : f.find((ne) => ne === g[e.fixPropOpt.id])
|
|
896
899
|
);
|
|
897
900
|
}
|
|
898
|
-
}, " 下级", 10,
|
|
901
|
+
}, " 下级", 10, jl)) : k("v-if", !0)
|
|
899
902
|
]);
|
|
900
903
|
}),
|
|
901
904
|
128
|
|
@@ -905,7 +908,7 @@ const vl = /* @__PURE__ */ oe(pl, [["render", hl]]), gl = { class: "avatar" }, m
|
|
|
905
908
|
_: 1
|
|
906
909
|
/* STABLE */
|
|
907
910
|
}, 8, ["isIndeterminate", "modelValue"]))
|
|
908
|
-
])) : (s(),
|
|
911
|
+
])) : (s(), A("div", Hl, [
|
|
909
912
|
w[6] || (w[6] = u(
|
|
910
913
|
"img",
|
|
911
914
|
{
|
|
@@ -935,34 +938,34 @@ const vl = /* @__PURE__ */ oe(pl, [["render", hl]]), gl = { class: "avatar" }, m
|
|
|
935
938
|
);
|
|
936
939
|
};
|
|
937
940
|
}
|
|
938
|
-
}),
|
|
941
|
+
}), Wl = /* @__PURE__ */ oe(Fl, [["__scopeId", "data-v-f7a238bb"]]), Gl = { class: "left-pick-list" }, Yl = {
|
|
939
942
|
key: 0,
|
|
940
943
|
class: "post-view-list"
|
|
941
|
-
},
|
|
944
|
+
}, Ql = { class: "iconBox" }, Xl = {
|
|
942
945
|
key: 1,
|
|
943
946
|
class: "checkText"
|
|
944
|
-
},
|
|
947
|
+
}, ql = { class: "iconBox" }, Kl = { class: "title" }, Zl = { class: "ik-picker-single" }, Jl = { class: "iconBox" }, ea = {
|
|
945
948
|
key: 1,
|
|
946
949
|
class: "checkText"
|
|
947
|
-
},
|
|
950
|
+
}, ta = { class: "iconBox" }, la = { class: "title" }, aa = {
|
|
948
951
|
key: 1,
|
|
949
952
|
class: "empty"
|
|
950
|
-
},
|
|
953
|
+
}, na = /* @__PURE__ */ ue({
|
|
951
954
|
__name: "PostList",
|
|
952
955
|
props: at,
|
|
953
956
|
emits: ["change", "check"],
|
|
954
957
|
setup(l, { emit: c }) {
|
|
955
|
-
var
|
|
956
|
-
const e = l, t =
|
|
958
|
+
var m, o;
|
|
959
|
+
const e = l, t = z(() => {
|
|
957
960
|
var a, i;
|
|
958
961
|
return ((a = e.handList) == null ? void 0 : a.length) === ((i = e.list) == null ? void 0 : i.length);
|
|
959
|
-
}), b =
|
|
962
|
+
}), b = z(() => {
|
|
960
963
|
var w, d, g, W;
|
|
961
964
|
const a = (w = e.handList) == null ? void 0 : w.length, i = (d = e.list) == null ? void 0 : d.length;
|
|
962
965
|
return e.multiple ? h.value = e.handList.map(($) => $[e.fixPropOpt.id]) : O.value = (W = (g = e.handList) == null ? void 0 : g[0]) == null ? void 0 : W[e.fixPropOpt.id], a > 0 && a < i;
|
|
963
966
|
}), h = B(
|
|
964
967
|
e.handList.map((a) => a[e.fixPropOpt.id])
|
|
965
|
-
), O = B((o = (
|
|
968
|
+
), O = B((o = (m = e.handList) == null ? void 0 : m[0]) == null ? void 0 : o[e.fixPropOpt.id]), v = c, F = (a) => {
|
|
966
969
|
const i = a ? e.list.map((w) => w[e.fixPropOpt.id]) : [];
|
|
967
970
|
v("change", i, a ? e.list : []);
|
|
968
971
|
}, x = (a) => {
|
|
@@ -972,12 +975,12 @@ const vl = /* @__PURE__ */ oe(pl, [["render", hl]]), gl = { class: "avatar" }, m
|
|
|
972
975
|
};
|
|
973
976
|
return (a, i) => {
|
|
974
977
|
const w = te("el-scrollbar");
|
|
975
|
-
return s(),
|
|
978
|
+
return s(), A(
|
|
976
979
|
Z,
|
|
977
980
|
null,
|
|
978
981
|
[
|
|
979
982
|
k(" 遍历list多选 "),
|
|
980
|
-
u("div",
|
|
983
|
+
u("div", Gl, [
|
|
981
984
|
a.multiple && a.chooseType.includes("post") && a.list && a.list.length ? (s(), D(T(Le), {
|
|
982
985
|
key: 0,
|
|
983
986
|
modelValue: t.value,
|
|
@@ -995,9 +998,9 @@ const vl = /* @__PURE__ */ oe(pl, [["render", hl]]), gl = { class: "avatar" }, m
|
|
|
995
998
|
_: 1
|
|
996
999
|
/* STABLE */
|
|
997
1000
|
}, 8, ["modelValue", "indeterminate"])) : k("v-if", !0),
|
|
998
|
-
|
|
1001
|
+
y(w, null, {
|
|
999
1002
|
default: P(() => [
|
|
1000
|
-
a.list && a.list.length ? (s(),
|
|
1003
|
+
a.list && a.list.length ? (s(), A("ul", Yl, [
|
|
1001
1004
|
a.multiple ? (s(), D(T(He), {
|
|
1002
1005
|
key: 0,
|
|
1003
1006
|
modelValue: h.value,
|
|
@@ -1005,10 +1008,10 @@ const vl = /* @__PURE__ */ oe(pl, [["render", hl]]), gl = { class: "avatar" }, m
|
|
|
1005
1008
|
onChange: x
|
|
1006
1009
|
}, {
|
|
1007
1010
|
default: P(() => [
|
|
1008
|
-
(s(!0),
|
|
1011
|
+
(s(!0), A(
|
|
1009
1012
|
Z,
|
|
1010
1013
|
null,
|
|
1011
|
-
|
|
1014
|
+
me(a.list, (d) => (s(), A("li", {
|
|
1012
1015
|
key: d[e.fixPropOpt.id]
|
|
1013
1016
|
}, [
|
|
1014
1017
|
a.chooseType.includes(d[e.fixPropOpt.type].toLowerCase()) ? (s(), D(T(Le), {
|
|
@@ -1016,8 +1019,8 @@ const vl = /* @__PURE__ */ oe(pl, [["render", hl]]), gl = { class: "avatar" }, m
|
|
|
1016
1019
|
label: d[e.fixPropOpt.id]
|
|
1017
1020
|
}, {
|
|
1018
1021
|
default: P(() => [
|
|
1019
|
-
u("div",
|
|
1020
|
-
|
|
1022
|
+
u("div", Ql, [
|
|
1023
|
+
y(pe, {
|
|
1021
1024
|
fixTypeOpt: e.fixTypeOpt,
|
|
1022
1025
|
fixPropOpt: e.fixPropOpt,
|
|
1023
1026
|
element: d,
|
|
@@ -1034,7 +1037,7 @@ const vl = /* @__PURE__ */ oe(pl, [["render", hl]]), gl = { class: "avatar" }, m
|
|
|
1034
1037
|
]),
|
|
1035
1038
|
_: 2
|
|
1036
1039
|
/* DYNAMIC */
|
|
1037
|
-
}, 1032, ["label"])) : (s(),
|
|
1040
|
+
}, 1032, ["label"])) : (s(), A("div", Xl, [
|
|
1038
1041
|
i[4] || (i[4] = u(
|
|
1039
1042
|
"div",
|
|
1040
1043
|
{ class: "side" },
|
|
@@ -1042,8 +1045,8 @@ const vl = /* @__PURE__ */ oe(pl, [["render", hl]]), gl = { class: "avatar" }, m
|
|
|
1042
1045
|
-1
|
|
1043
1046
|
/* CACHED */
|
|
1044
1047
|
)),
|
|
1045
|
-
u("div",
|
|
1046
|
-
|
|
1048
|
+
u("div", ql, [
|
|
1049
|
+
y(pe, {
|
|
1047
1050
|
fixTypeOpt: e.fixTypeOpt,
|
|
1048
1051
|
fixPropOpt: e.fixPropOpt,
|
|
1049
1052
|
element: d,
|
|
@@ -1052,7 +1055,7 @@ const vl = /* @__PURE__ */ oe(pl, [["render", hl]]), gl = { class: "avatar" }, m
|
|
|
1052
1055
|
]),
|
|
1053
1056
|
u(
|
|
1054
1057
|
"div",
|
|
1055
|
-
|
|
1058
|
+
Kl,
|
|
1056
1059
|
X(d[e.fixPropOpt.name]),
|
|
1057
1060
|
1
|
|
1058
1061
|
/* TEXT */
|
|
@@ -1073,10 +1076,10 @@ const vl = /* @__PURE__ */ oe(pl, [["render", hl]]), gl = { class: "avatar" }, m
|
|
|
1073
1076
|
onChange: C
|
|
1074
1077
|
}, {
|
|
1075
1078
|
default: P(() => [
|
|
1076
|
-
(s(!0),
|
|
1079
|
+
(s(!0), A(
|
|
1077
1080
|
Z,
|
|
1078
1081
|
null,
|
|
1079
|
-
|
|
1082
|
+
me(a.list, (d) => (s(), A("li", {
|
|
1080
1083
|
class: "w-full",
|
|
1081
1084
|
key: d[e.fixPropOpt.id]
|
|
1082
1085
|
}, [
|
|
@@ -1085,9 +1088,9 @@ const vl = /* @__PURE__ */ oe(pl, [["render", hl]]), gl = { class: "avatar" }, m
|
|
|
1085
1088
|
label: d[e.fixPropOpt.id]
|
|
1086
1089
|
}, {
|
|
1087
1090
|
default: P(() => [
|
|
1088
|
-
u("div",
|
|
1089
|
-
u("div",
|
|
1090
|
-
|
|
1091
|
+
u("div", Zl, [
|
|
1092
|
+
u("div", Jl, [
|
|
1093
|
+
y(pe, {
|
|
1091
1094
|
fixTypeOpt: e.fixTypeOpt,
|
|
1092
1095
|
fixPropOpt: e.fixPropOpt,
|
|
1093
1096
|
element: d,
|
|
@@ -1105,7 +1108,7 @@ const vl = /* @__PURE__ */ oe(pl, [["render", hl]]), gl = { class: "avatar" }, m
|
|
|
1105
1108
|
]),
|
|
1106
1109
|
_: 2
|
|
1107
1110
|
/* DYNAMIC */
|
|
1108
|
-
}, 1032, ["label"])) : (s(),
|
|
1111
|
+
}, 1032, ["label"])) : (s(), A("div", ea, [
|
|
1109
1112
|
i[5] || (i[5] = u(
|
|
1110
1113
|
"div",
|
|
1111
1114
|
{ class: "side" },
|
|
@@ -1113,8 +1116,8 @@ const vl = /* @__PURE__ */ oe(pl, [["render", hl]]), gl = { class: "avatar" }, m
|
|
|
1113
1116
|
-1
|
|
1114
1117
|
/* CACHED */
|
|
1115
1118
|
)),
|
|
1116
|
-
u("div",
|
|
1117
|
-
|
|
1119
|
+
u("div", ta, [
|
|
1120
|
+
y(pe, {
|
|
1118
1121
|
fixTypeOpt: e.fixTypeOpt,
|
|
1119
1122
|
fixPropOpt: e.fixPropOpt,
|
|
1120
1123
|
element: d,
|
|
@@ -1123,7 +1126,7 @@ const vl = /* @__PURE__ */ oe(pl, [["render", hl]]), gl = { class: "avatar" }, m
|
|
|
1123
1126
|
]),
|
|
1124
1127
|
u(
|
|
1125
1128
|
"div",
|
|
1126
|
-
|
|
1129
|
+
la,
|
|
1127
1130
|
X(d[e.fixPropOpt.name]),
|
|
1128
1131
|
1
|
|
1129
1132
|
/* TEXT */
|
|
@@ -1137,7 +1140,7 @@ const vl = /* @__PURE__ */ oe(pl, [["render", hl]]), gl = { class: "avatar" }, m
|
|
|
1137
1140
|
_: 1
|
|
1138
1141
|
/* STABLE */
|
|
1139
1142
|
}, 8, ["isIndeterminate", "modelValue"]))
|
|
1140
|
-
])) : (s(),
|
|
1143
|
+
])) : (s(), A("div", aa, [
|
|
1141
1144
|
i[6] || (i[6] = u(
|
|
1142
1145
|
"img",
|
|
1143
1146
|
{
|
|
@@ -1167,34 +1170,34 @@ const vl = /* @__PURE__ */ oe(pl, [["render", hl]]), gl = { class: "avatar" }, m
|
|
|
1167
1170
|
);
|
|
1168
1171
|
};
|
|
1169
1172
|
}
|
|
1170
|
-
}),
|
|
1173
|
+
}), sa = /* @__PURE__ */ oe(na, [["__scopeId", "data-v-ab605706"]]), oa = { class: "left-pick-list" }, ia = {
|
|
1171
1174
|
key: 0,
|
|
1172
1175
|
class: "role-view-list"
|
|
1173
|
-
},
|
|
1176
|
+
}, ra = { class: "iconBox" }, ua = ["title"], da = {
|
|
1174
1177
|
key: 1,
|
|
1175
1178
|
class: "checkText"
|
|
1176
|
-
},
|
|
1179
|
+
}, ca = { class: "iconBox" }, pa = ["title"], fa = { class: "ik-picker-single" }, ha = { class: "iconBox" }, va = ["title"], ga = {
|
|
1177
1180
|
key: 1,
|
|
1178
1181
|
class: "checkText"
|
|
1179
|
-
}, ya = { class: "iconBox" },
|
|
1182
|
+
}, ya = { class: "iconBox" }, ma = ["title"], Aa = {
|
|
1180
1183
|
key: 1,
|
|
1181
1184
|
class: "empty"
|
|
1182
|
-
},
|
|
1185
|
+
}, ba = /* @__PURE__ */ ue({
|
|
1183
1186
|
__name: "RoleList",
|
|
1184
1187
|
props: at,
|
|
1185
1188
|
emits: ["change", "check"],
|
|
1186
1189
|
setup(l, { emit: c }) {
|
|
1187
|
-
var
|
|
1188
|
-
const e = l, t =
|
|
1190
|
+
var m, o;
|
|
1191
|
+
const e = l, t = z(() => {
|
|
1189
1192
|
var a, i;
|
|
1190
1193
|
return ((a = e.handList) == null ? void 0 : a.length) === ((i = e.list) == null ? void 0 : i.length);
|
|
1191
|
-
}), b =
|
|
1194
|
+
}), b = z(() => {
|
|
1192
1195
|
var w, d, g, W;
|
|
1193
1196
|
const a = (w = e.handList) == null ? void 0 : w.length, i = (d = e.list) == null ? void 0 : d.length;
|
|
1194
1197
|
return e.multiple ? h.value = e.handList.map(($) => $[e.fixPropOpt.id]) : O.value = (W = (g = e.handList) == null ? void 0 : g[0]) == null ? void 0 : W[e.fixPropOpt.id], a > 0 && a < i;
|
|
1195
1198
|
}), h = B(
|
|
1196
1199
|
e.handList.map((a) => a[e.fixPropOpt.id])
|
|
1197
|
-
), O = B((o = (
|
|
1200
|
+
), O = B((o = (m = e.handList) == null ? void 0 : m[0]) == null ? void 0 : o[e.fixPropOpt.id]), v = c, F = (a) => {
|
|
1198
1201
|
const i = a ? e.list.map((w) => w[e.fixPropOpt.id]) : [];
|
|
1199
1202
|
v("change", i, a ? e.list : []);
|
|
1200
1203
|
}, x = (a) => {
|
|
@@ -1204,12 +1207,12 @@ const vl = /* @__PURE__ */ oe(pl, [["render", hl]]), gl = { class: "avatar" }, m
|
|
|
1204
1207
|
};
|
|
1205
1208
|
return (a, i) => {
|
|
1206
1209
|
const w = te("el-scrollbar");
|
|
1207
|
-
return s(),
|
|
1210
|
+
return s(), A(
|
|
1208
1211
|
Z,
|
|
1209
1212
|
null,
|
|
1210
1213
|
[
|
|
1211
1214
|
k(" 遍历list多选 "),
|
|
1212
|
-
u("div",
|
|
1215
|
+
u("div", oa, [
|
|
1213
1216
|
a.multiple && a.chooseType.includes("role") && a.list && a.list.length ? (s(), D(T(Le), {
|
|
1214
1217
|
key: 0,
|
|
1215
1218
|
modelValue: t.value,
|
|
@@ -1227,9 +1230,9 @@ const vl = /* @__PURE__ */ oe(pl, [["render", hl]]), gl = { class: "avatar" }, m
|
|
|
1227
1230
|
_: 1
|
|
1228
1231
|
/* STABLE */
|
|
1229
1232
|
}, 8, ["modelValue", "indeterminate"])) : k("v-if", !0),
|
|
1230
|
-
|
|
1233
|
+
y(w, null, {
|
|
1231
1234
|
default: P(() => [
|
|
1232
|
-
a.list && a.list.length ? (s(),
|
|
1235
|
+
a.list && a.list.length ? (s(), A("ul", ia, [
|
|
1233
1236
|
a.multiple ? (s(), D(T(He), {
|
|
1234
1237
|
key: 0,
|
|
1235
1238
|
modelValue: h.value,
|
|
@@ -1237,10 +1240,10 @@ const vl = /* @__PURE__ */ oe(pl, [["render", hl]]), gl = { class: "avatar" }, m
|
|
|
1237
1240
|
onChange: x
|
|
1238
1241
|
}, {
|
|
1239
1242
|
default: P(() => [
|
|
1240
|
-
(s(!0),
|
|
1243
|
+
(s(!0), A(
|
|
1241
1244
|
Z,
|
|
1242
1245
|
null,
|
|
1243
|
-
|
|
1246
|
+
me(a.list, (d) => (s(), A("li", {
|
|
1244
1247
|
key: d[a.fixPropOpt.id]
|
|
1245
1248
|
}, [
|
|
1246
1249
|
a.chooseType.includes(d[e.fixPropOpt.type].toLowerCase()) ? (s(), D(T(Le), {
|
|
@@ -1250,8 +1253,8 @@ const vl = /* @__PURE__ */ oe(pl, [["render", hl]]), gl = { class: "avatar" }, m
|
|
|
1250
1253
|
disabled: d.disabled
|
|
1251
1254
|
}, {
|
|
1252
1255
|
default: P(() => [
|
|
1253
|
-
u("div",
|
|
1254
|
-
|
|
1256
|
+
u("div", ra, [
|
|
1257
|
+
y(pe, {
|
|
1255
1258
|
fixTypeOpt: e.fixTypeOpt,
|
|
1256
1259
|
fixPropOpt: e.fixPropOpt,
|
|
1257
1260
|
element: d,
|
|
@@ -1260,11 +1263,11 @@ const vl = /* @__PURE__ */ oe(pl, [["render", hl]]), gl = { class: "avatar" }, m
|
|
|
1260
1263
|
]),
|
|
1261
1264
|
u("p", {
|
|
1262
1265
|
title: d[a.fixPropOpt.name]
|
|
1263
|
-
}, X(d[a.fixPropOpt.name]), 9,
|
|
1266
|
+
}, X(d[a.fixPropOpt.name]), 9, ua)
|
|
1264
1267
|
]),
|
|
1265
1268
|
_: 2
|
|
1266
1269
|
/* DYNAMIC */
|
|
1267
|
-
}, 1032, ["label", "value", "disabled"])) : (s(),
|
|
1270
|
+
}, 1032, ["label", "value", "disabled"])) : (s(), A("div", da, [
|
|
1268
1271
|
i[4] || (i[4] = u(
|
|
1269
1272
|
"div",
|
|
1270
1273
|
{ class: "side" },
|
|
@@ -1272,8 +1275,8 @@ const vl = /* @__PURE__ */ oe(pl, [["render", hl]]), gl = { class: "avatar" }, m
|
|
|
1272
1275
|
-1
|
|
1273
1276
|
/* CACHED */
|
|
1274
1277
|
)),
|
|
1275
|
-
u("div",
|
|
1276
|
-
|
|
1278
|
+
u("div", ca, [
|
|
1279
|
+
y(pe, {
|
|
1277
1280
|
fixTypeOpt: e.fixTypeOpt,
|
|
1278
1281
|
fixPropOpt: e.fixPropOpt,
|
|
1279
1282
|
element: d,
|
|
@@ -1283,7 +1286,7 @@ const vl = /* @__PURE__ */ oe(pl, [["render", hl]]), gl = { class: "avatar" }, m
|
|
|
1283
1286
|
u("div", {
|
|
1284
1287
|
class: "title",
|
|
1285
1288
|
title: d[a.fixPropOpt.name]
|
|
1286
|
-
}, X(d[a.fixPropOpt.name]), 9,
|
|
1289
|
+
}, X(d[a.fixPropOpt.name]), 9, pa)
|
|
1287
1290
|
]))
|
|
1288
1291
|
]))),
|
|
1289
1292
|
128
|
|
@@ -1300,10 +1303,10 @@ const vl = /* @__PURE__ */ oe(pl, [["render", hl]]), gl = { class: "avatar" }, m
|
|
|
1300
1303
|
onChange: C
|
|
1301
1304
|
}, {
|
|
1302
1305
|
default: P(() => [
|
|
1303
|
-
(s(!0),
|
|
1306
|
+
(s(!0), A(
|
|
1304
1307
|
Z,
|
|
1305
1308
|
null,
|
|
1306
|
-
|
|
1309
|
+
me(a.list, (d) => (s(), A("li", {
|
|
1307
1310
|
class: "w-full",
|
|
1308
1311
|
key: d[a.fixPropOpt.id]
|
|
1309
1312
|
}, [
|
|
@@ -1314,9 +1317,9 @@ const vl = /* @__PURE__ */ oe(pl, [["render", hl]]), gl = { class: "avatar" }, m
|
|
|
1314
1317
|
disabled: d.disabled
|
|
1315
1318
|
}, {
|
|
1316
1319
|
default: P(() => [
|
|
1317
|
-
u("div",
|
|
1318
|
-
u("div",
|
|
1319
|
-
|
|
1320
|
+
u("div", fa, [
|
|
1321
|
+
u("div", ha, [
|
|
1322
|
+
y(pe, {
|
|
1320
1323
|
fixTypeOpt: e.fixTypeOpt,
|
|
1321
1324
|
fixPropOpt: e.fixPropOpt,
|
|
1322
1325
|
element: d,
|
|
@@ -1325,12 +1328,12 @@ const vl = /* @__PURE__ */ oe(pl, [["render", hl]]), gl = { class: "avatar" }, m
|
|
|
1325
1328
|
]),
|
|
1326
1329
|
u("p", {
|
|
1327
1330
|
title: d[a.fixPropOpt.name]
|
|
1328
|
-
}, X(d[a.fixPropOpt.name]), 9,
|
|
1331
|
+
}, X(d[a.fixPropOpt.name]), 9, va)
|
|
1329
1332
|
])
|
|
1330
1333
|
]),
|
|
1331
1334
|
_: 2
|
|
1332
1335
|
/* DYNAMIC */
|
|
1333
|
-
}, 1032, ["label", "value", "disabled"])) : (s(),
|
|
1336
|
+
}, 1032, ["label", "value", "disabled"])) : (s(), A("div", ga, [
|
|
1334
1337
|
i[5] || (i[5] = u(
|
|
1335
1338
|
"div",
|
|
1336
1339
|
{ class: "side" },
|
|
@@ -1339,7 +1342,7 @@ const vl = /* @__PURE__ */ oe(pl, [["render", hl]]), gl = { class: "avatar" }, m
|
|
|
1339
1342
|
/* CACHED */
|
|
1340
1343
|
)),
|
|
1341
1344
|
u("div", ya, [
|
|
1342
|
-
|
|
1345
|
+
y(pe, {
|
|
1343
1346
|
fixTypeOpt: e.fixTypeOpt,
|
|
1344
1347
|
fixPropOpt: e.fixPropOpt,
|
|
1345
1348
|
element: d,
|
|
@@ -1349,7 +1352,7 @@ const vl = /* @__PURE__ */ oe(pl, [["render", hl]]), gl = { class: "avatar" }, m
|
|
|
1349
1352
|
u("div", {
|
|
1350
1353
|
class: "title",
|
|
1351
1354
|
title: d[a.fixPropOpt.name]
|
|
1352
|
-
}, X(d[a.fixPropOpt.name]), 9,
|
|
1355
|
+
}, X(d[a.fixPropOpt.name]), 9, ma)
|
|
1353
1356
|
]))
|
|
1354
1357
|
]))),
|
|
1355
1358
|
128
|
|
@@ -1359,7 +1362,7 @@ const vl = /* @__PURE__ */ oe(pl, [["render", hl]]), gl = { class: "avatar" }, m
|
|
|
1359
1362
|
_: 1
|
|
1360
1363
|
/* STABLE */
|
|
1361
1364
|
}, 8, ["indeterminate", "modelValue"]))
|
|
1362
|
-
])) : (s(),
|
|
1365
|
+
])) : (s(), A("div", Aa, [
|
|
1363
1366
|
i[6] || (i[6] = u(
|
|
1364
1367
|
"img",
|
|
1365
1368
|
{
|
|
@@ -1389,9 +1392,9 @@ const vl = /* @__PURE__ */ oe(pl, [["render", hl]]), gl = { class: "avatar" }, m
|
|
|
1389
1392
|
);
|
|
1390
1393
|
};
|
|
1391
1394
|
}
|
|
1392
|
-
}),
|
|
1395
|
+
}), ka = /* @__PURE__ */ oe(ba, [["__scopeId", "data-v-5e7c0e02"]]);
|
|
1393
1396
|
var Me = /* @__PURE__ */ ((l) => (l.group = "group", l.role = "role", l.post = "post", l))(Me || {});
|
|
1394
|
-
const
|
|
1397
|
+
const xa = {
|
|
1395
1398
|
// 是否允许选择子集
|
|
1396
1399
|
children: {
|
|
1397
1400
|
type: Boolean,
|
|
@@ -1567,10 +1570,10 @@ const Oa = {
|
|
|
1567
1570
|
}, pt = (l) => {
|
|
1568
1571
|
const c = window.location.search;
|
|
1569
1572
|
return new URLSearchParams(c).get(l);
|
|
1570
|
-
},
|
|
1571
|
-
const c =
|
|
1573
|
+
}, Oa = (l) => {
|
|
1574
|
+
const c = Te.local.getItem("x_domain");
|
|
1572
1575
|
c && (l["X-DOMAIN"] = c);
|
|
1573
|
-
},
|
|
1576
|
+
}, wa = (l) => {
|
|
1574
1577
|
var e;
|
|
1575
1578
|
const c = pt("domain");
|
|
1576
1579
|
if (c) {
|
|
@@ -1578,14 +1581,14 @@ const Oa = {
|
|
|
1578
1581
|
const t = pt("code");
|
|
1579
1582
|
c === "APPLICATION" && (l["X-APP"] = t);
|
|
1580
1583
|
} else
|
|
1581
|
-
|
|
1582
|
-
(e =
|
|
1583
|
-
},
|
|
1584
|
+
Oa(l);
|
|
1585
|
+
(e = Te.local.getItem("tenant")) == null || e.code;
|
|
1586
|
+
}, Ca = (l, c) => {
|
|
1584
1587
|
const e = B([]), t = async (h, O) => {
|
|
1585
1588
|
var U, L, j;
|
|
1586
|
-
const { url: v, methods: F, headers: x, param: C } = l.value || {},
|
|
1589
|
+
const { url: v, methods: F, headers: x, param: C } = l.value || {}, m = {
|
|
1587
1590
|
// 额外参数
|
|
1588
|
-
rootDepartmentId: ((U =
|
|
1591
|
+
rootDepartmentId: ((U = Te.local.getItem("now_shop")) == null ? void 0 : U.storeId) || "",
|
|
1589
1592
|
parentDepartmentId: h || "",
|
|
1590
1593
|
name: O || "",
|
|
1591
1594
|
rootDepartmentOnly: c.rootDepartmentOnly,
|
|
@@ -1598,10 +1601,10 @@ const Oa = {
|
|
|
1598
1601
|
"Content-Type": "application/json;charset=UTF-8",
|
|
1599
1602
|
...x
|
|
1600
1603
|
},
|
|
1601
|
-
data: JSON.stringify(
|
|
1604
|
+
data: JSON.stringify(m)
|
|
1602
1605
|
};
|
|
1603
|
-
|
|
1604
|
-
const a = await
|
|
1606
|
+
wa(o.headers);
|
|
1607
|
+
const a = await $t(o), { success: i, data: w } = a.data;
|
|
1605
1608
|
if (!i)
|
|
1606
1609
|
return {
|
|
1607
1610
|
groupList: [],
|
|
@@ -1642,34 +1645,34 @@ const Oa = {
|
|
|
1642
1645
|
},
|
|
1643
1646
|
bannerList: e
|
|
1644
1647
|
};
|
|
1645
|
-
},
|
|
1648
|
+
}, Ba = {
|
|
1646
1649
|
shadow: "hover",
|
|
1647
1650
|
class: "sel-list"
|
|
1648
|
-
},
|
|
1651
|
+
}, Pa = { key: 0 }, La = { class: "choose-list" }, Sa = { class: "choose-item" }, Ta = { class: "list-group-item draggable-item" }, Ua = { class: "item_info" }, Va = { class: "avatar_box" }, Ia = { class: "dialog-footer" }, _a = /* @__PURE__ */ ue({
|
|
1649
1652
|
__name: "picker",
|
|
1650
|
-
props:
|
|
1653
|
+
props: xa,
|
|
1651
1654
|
emits: ["handChild", "update:show", "update:modelValue", "ok", "search"],
|
|
1652
1655
|
setup(l, { expose: c, emit: e }) {
|
|
1653
|
-
const t = l, b = B(""), h = B(""), O = B([]), v = B([]), F = B([]), x = B([]), C = B(!1),
|
|
1656
|
+
const t = l, b = B(""), h = B(""), O = B([]), v = B([]), F = B([]), x = B([]), C = B(!1), m = z(() => j.value.includes("user") ? v.value.concat(O.value) : v.value);
|
|
1654
1657
|
re(
|
|
1655
1658
|
() => t.api,
|
|
1656
1659
|
() => {
|
|
1657
1660
|
t.show && U("");
|
|
1658
1661
|
}
|
|
1659
1662
|
);
|
|
1660
|
-
const o =
|
|
1663
|
+
const o = z(() => ({
|
|
1661
1664
|
name: "name",
|
|
1662
1665
|
type: "type",
|
|
1663
1666
|
id: "id",
|
|
1664
1667
|
avatar: "avatar",
|
|
1665
1668
|
...t.propOption
|
|
1666
|
-
})), a =
|
|
1669
|
+
})), a = z(() => ({
|
|
1667
1670
|
user: "USER",
|
|
1668
1671
|
role: "ROLE",
|
|
1669
1672
|
post: "POST",
|
|
1670
1673
|
group: "DEPT",
|
|
1671
1674
|
...t.typeOption
|
|
1672
|
-
})), i = B([]), w =
|
|
1675
|
+
})), i = B([]), w = Ca(At(t, "api"), t), d = w.handData, g = w.bannerList;
|
|
1673
1676
|
t.immediate && d(h.value, b.value);
|
|
1674
1677
|
const W = (n) => (n.forEach((p) => {
|
|
1675
1678
|
var S, G;
|
|
@@ -1677,7 +1680,7 @@ const Oa = {
|
|
|
1677
1680
|
(be) => be[o.value.id] === p[o.value.id]
|
|
1678
1681
|
)) == null ? void 0 : G.disabled) || !1;
|
|
1679
1682
|
}), n), $ = async () => {
|
|
1680
|
-
var n, p, S, G, be, q,
|
|
1683
|
+
var n, p, S, G, be, q, De, Ke;
|
|
1681
1684
|
C.value = !0;
|
|
1682
1685
|
try {
|
|
1683
1686
|
if ((n = t.groupList) != null && n.length || (p = t.userList) != null && p.length || (S = t.roleList) != null && S.length || (G = t.postList) != null && G.length) {
|
|
@@ -1685,7 +1688,7 @@ const Oa = {
|
|
|
1685
1688
|
(ke) => ke[o.value.name].includes(b.value)
|
|
1686
1689
|
), v.value = (q = t.groupList) == null ? void 0 : q.filter(
|
|
1687
1690
|
(ke) => ke[o.value.name].includes(b.value)
|
|
1688
|
-
), F.value = (
|
|
1691
|
+
), F.value = (De = t.roleList) == null ? void 0 : De.filter(
|
|
1689
1692
|
(ke) => ke[o.value.name].includes(b.value)
|
|
1690
1693
|
), x.value = (Ke = t.postList) == null ? void 0 : Ke.filter(
|
|
1691
1694
|
(ke) => ke[o.value.name].includes(b.value)
|
|
@@ -1720,7 +1723,7 @@ const Oa = {
|
|
|
1720
1723
|
// 半选状态
|
|
1721
1724
|
checkAll: 0
|
|
1722
1725
|
// 全选状态(0: 未选, 1: 全选)
|
|
1723
|
-
}), V = (n) => f.group.has(n) || f.user.has(n) || f.role.has(n) || f.post.has(n), U =
|
|
1726
|
+
}), V = (n) => f.group.has(n) || f.user.has(n) || f.role.has(n) || f.post.has(n), U = se.debounce($, 300), L = z(() => {
|
|
1724
1727
|
const n = Array.from(f.group.values()), p = Array.from(f.role.values()), S = Array.from(f.user.values()), G = Array.from(f.post.values());
|
|
1725
1728
|
return i.value = [...p, ...G, ...S, ...n], {
|
|
1726
1729
|
list: [...p, ...S, ...G, ...n],
|
|
@@ -1742,12 +1745,12 @@ const Oa = {
|
|
|
1742
1745
|
len: n.length
|
|
1743
1746
|
}
|
|
1744
1747
|
};
|
|
1745
|
-
}), j =
|
|
1748
|
+
}), j = z(() => {
|
|
1746
1749
|
const n = t.chooseType.map((S) => S.toLocaleLowerCase());
|
|
1747
1750
|
let p = [...n];
|
|
1748
1751
|
return n.includes("dep") && (p = [...p, "dept"]), n.includes("dep_user") && (p = [...p, "user"]), p;
|
|
1749
|
-
}),
|
|
1750
|
-
|
|
1752
|
+
}), R = B([]), ie = (n) => {
|
|
1753
|
+
R.value = n, R.value.forEach((p) => {
|
|
1751
1754
|
p.readonly = p == null ? void 0 : p.disabled;
|
|
1752
1755
|
});
|
|
1753
1756
|
}, M = e, J = B(!1), ee = (n = !1) => {
|
|
@@ -1777,7 +1780,7 @@ const Oa = {
|
|
|
1777
1780
|
N();
|
|
1778
1781
|
}
|
|
1779
1782
|
), ot(() => {
|
|
1780
|
-
let n =
|
|
1783
|
+
let n = R.value.length;
|
|
1781
1784
|
const p = f.trans.length;
|
|
1782
1785
|
ne.indeterminate = f.trans.length ? p !== n : !1, ne.checkAll = +(n !== 0 && p === n);
|
|
1783
1786
|
}), re(
|
|
@@ -1859,11 +1862,11 @@ const Oa = {
|
|
|
1859
1862
|
() => f.trans,
|
|
1860
1863
|
(n) => {
|
|
1861
1864
|
if (!n.length)
|
|
1862
|
-
|
|
1865
|
+
R.value.forEach((p) => {
|
|
1863
1866
|
p.disabled = !1;
|
|
1864
1867
|
});
|
|
1865
1868
|
else {
|
|
1866
|
-
const p =
|
|
1869
|
+
const p = R.value.filter(
|
|
1867
1870
|
(S) => n.includes(S[o.value.id])
|
|
1868
1871
|
);
|
|
1869
1872
|
for (const S of p)
|
|
@@ -1876,7 +1879,7 @@ const Oa = {
|
|
|
1876
1879
|
(n) => {
|
|
1877
1880
|
var p;
|
|
1878
1881
|
if (n) {
|
|
1879
|
-
const S = (p =
|
|
1882
|
+
const S = (p = R.value) == null ? void 0 : p.find((G) => G[o.value.id] === n);
|
|
1880
1883
|
S && (f.user.clear(), f.role.clear(), f.post.clear(), f.group.clear(), f.trans = [], st(() => {
|
|
1881
1884
|
ge(S);
|
|
1882
1885
|
}));
|
|
@@ -1885,16 +1888,16 @@ const Oa = {
|
|
|
1885
1888
|
);
|
|
1886
1889
|
const r = (n) => {
|
|
1887
1890
|
h.value = n == null ? void 0 : n.elementId, $(), g.value.push(n);
|
|
1888
|
-
}, E =
|
|
1891
|
+
}, E = z(() => g.value.length), _ = (n, p) => {
|
|
1889
1892
|
!p && !t.topLink || p !== E.value - 1 && (h.value = n == null ? void 0 : n.elementId, $(), g.value.splice(p + 1));
|
|
1890
|
-
}, I =
|
|
1893
|
+
}, I = z(
|
|
1891
1894
|
() => t.chooseType.includes("role") && t.chooseType.length === 1
|
|
1892
|
-
), H =
|
|
1895
|
+
), H = z(
|
|
1893
1896
|
() => t.chooseType.includes("post") && t.chooseType.length === 1
|
|
1894
1897
|
), K = B(t.tabs[0]), Y = B(t.tabs[0]);
|
|
1895
1898
|
ot(() => (Y.value = I.value ? t.tabs[1] : H.value ? t.tabs[2] : K.value, Y.value));
|
|
1896
1899
|
const N = () => {
|
|
1897
|
-
f.user.clear(), f.role.clear(), f.post.clear(), f.group.clear(), f.trans = [],
|
|
1900
|
+
f.user.clear(), f.role.clear(), f.post.clear(), f.group.clear(), f.trans = [], ye.value = [], _e.value = [], K.value = t.tabs[0], Y.value = t.tabs[0], b.value = "", h.value = t.orgPid, g.value.splice(1, g.value.length), f.single = "", i.value = [];
|
|
1898
1901
|
}, Q = () => {
|
|
1899
1902
|
var n;
|
|
1900
1903
|
M(
|
|
@@ -1917,18 +1920,18 @@ const Oa = {
|
|
|
1917
1920
|
handDelete: fe
|
|
1918
1921
|
// 删除选中项
|
|
1919
1922
|
});
|
|
1920
|
-
const
|
|
1923
|
+
const Ue = z(() => {
|
|
1921
1924
|
const n = j.value;
|
|
1922
1925
|
return !!((n.includes("post") || n.includes("role")) && n.length > 1);
|
|
1923
|
-
}),
|
|
1926
|
+
}), Ve = z(() => [
|
|
1924
1927
|
{ name: "group", label: "组织架构" },
|
|
1925
1928
|
{ name: "role", label: "角色列表" },
|
|
1926
1929
|
{ name: "post", label: "岗位列表" }
|
|
1927
|
-
].filter((n) => t.tabs.includes(n.name))),
|
|
1930
|
+
].filter((n) => t.tabs.includes(n.name))), Ie = z(
|
|
1928
1931
|
() => `${typeof t.height == "string" ? Number.parseInt(t.height) : t.height}px`
|
|
1929
1932
|
), Be = () => {
|
|
1930
1933
|
t.multiple || (f.post.clear(), f.role.clear(), f.user.clear(), f.group.clear(), f.single = "");
|
|
1931
|
-
}, we =
|
|
1934
|
+
}, we = z(() => L.value.groups.list.concat(L.value.user.list)), he = (n, p) => {
|
|
1932
1935
|
t.multiple || (f.single = "");
|
|
1933
1936
|
const S = t.multiple ? n : [n];
|
|
1934
1937
|
if (!S.length) {
|
|
@@ -1938,7 +1941,7 @@ const Oa = {
|
|
|
1938
1941
|
Be(), p.forEach((G) => {
|
|
1939
1942
|
S != null && S.includes(G[o.value.id]) ? ge(G) : fe(G);
|
|
1940
1943
|
});
|
|
1941
|
-
},
|
|
1944
|
+
}, ye = B([]), qe = (n, p) => {
|
|
1942
1945
|
t.multiple || (f.single = "");
|
|
1943
1946
|
const S = t.multiple ? n : [n];
|
|
1944
1947
|
if (!S.length) {
|
|
@@ -1952,10 +1955,10 @@ const Oa = {
|
|
|
1952
1955
|
re(
|
|
1953
1956
|
() => L.value.role.len,
|
|
1954
1957
|
(n) => {
|
|
1955
|
-
|
|
1958
|
+
ye.value = se.cloneDeep(L.value.role.list);
|
|
1956
1959
|
}
|
|
1957
1960
|
);
|
|
1958
|
-
const
|
|
1961
|
+
const _e = B([]), mt = (n, p) => {
|
|
1959
1962
|
t.multiple || (f.single = "");
|
|
1960
1963
|
const S = t.multiple ? n : [n];
|
|
1961
1964
|
if (!S.length) {
|
|
@@ -1969,7 +1972,7 @@ const Oa = {
|
|
|
1969
1972
|
return re(
|
|
1970
1973
|
() => L.value.post.len,
|
|
1971
1974
|
(n) => {
|
|
1972
|
-
|
|
1975
|
+
_e.value = se.cloneDeep(L.value.post.list);
|
|
1973
1976
|
}
|
|
1974
1977
|
), re(
|
|
1975
1978
|
() => b.value,
|
|
@@ -1978,12 +1981,12 @@ const Oa = {
|
|
|
1978
1981
|
}
|
|
1979
1982
|
), (n, p) => {
|
|
1980
1983
|
const S = te("el-tab-pane"), G = te("el-tabs"), be = te("el-scrollbar");
|
|
1981
|
-
return s(),
|
|
1984
|
+
return s(), A(
|
|
1982
1985
|
Z,
|
|
1983
1986
|
null,
|
|
1984
1987
|
[
|
|
1985
1988
|
k(" 主弹窗容器 "),
|
|
1986
|
-
|
|
1989
|
+
y(T(Ct), {
|
|
1987
1990
|
modelValue: J.value,
|
|
1988
1991
|
"onUpdate:modelValue": p[3] || (p[3] = (q) => J.value = q),
|
|
1989
1992
|
title: n.title,
|
|
@@ -1999,9 +2002,10 @@ const Oa = {
|
|
|
1999
2002
|
onClose: Ae
|
|
2000
2003
|
}, {
|
|
2001
2004
|
footer: P(() => [
|
|
2002
|
-
u("span",
|
|
2005
|
+
u("span", Ia, [
|
|
2003
2006
|
k(" 取消按钮 "),
|
|
2004
|
-
|
|
2007
|
+
y(T(Je), {
|
|
2008
|
+
ciyao: "",
|
|
2005
2009
|
onClick: $e(Ae, ["stop"])
|
|
2006
2010
|
}, {
|
|
2007
2011
|
default: P(() => [...p[7] || (p[7] = [
|
|
@@ -2015,7 +2019,7 @@ const Oa = {
|
|
|
2015
2019
|
/* STABLE */
|
|
2016
2020
|
}),
|
|
2017
2021
|
k(" 确定按钮 "),
|
|
2018
|
-
|
|
2022
|
+
y(T(Je), {
|
|
2019
2023
|
type: "primary",
|
|
2020
2024
|
onClick: $e(Q, ["stop"])
|
|
2021
2025
|
}, {
|
|
@@ -2036,33 +2040,33 @@ const Oa = {
|
|
|
2036
2040
|
"div",
|
|
2037
2041
|
{
|
|
2038
2042
|
class: "dep-use-picker",
|
|
2039
|
-
style: ze({ height:
|
|
2043
|
+
style: ze({ height: Ie.value })
|
|
2040
2044
|
},
|
|
2041
2045
|
[
|
|
2042
2046
|
k(" 左侧选择区域 "),
|
|
2043
|
-
u("div",
|
|
2047
|
+
u("div", Ba, [
|
|
2044
2048
|
k(" 搜索框和标签页 "),
|
|
2045
2049
|
u("div", null, [
|
|
2046
2050
|
k(" 搜索输入框 "),
|
|
2047
|
-
|
|
2051
|
+
y(T(je), {
|
|
2048
2052
|
modelValue: b.value,
|
|
2049
2053
|
"onUpdate:modelValue": p[0] || (p[0] = (q) => b.value = q),
|
|
2050
2054
|
clearable: "",
|
|
2051
2055
|
placeholder: n.placeholder,
|
|
2052
|
-
"suffix-icon":
|
|
2056
|
+
"suffix-icon": Zt
|
|
2053
2057
|
}, null, 8, ["modelValue", "placeholder"]),
|
|
2054
2058
|
k(" 标签页切换 "),
|
|
2055
|
-
|
|
2059
|
+
Ue.value ? (s(), D(G, {
|
|
2056
2060
|
key: 0,
|
|
2057
2061
|
modelValue: K.value,
|
|
2058
2062
|
"onUpdate:modelValue": p[1] || (p[1] = (q) => K.value = q),
|
|
2059
2063
|
class: "ik-picker-tab"
|
|
2060
2064
|
}, {
|
|
2061
2065
|
default: P(() => [
|
|
2062
|
-
(s(!0),
|
|
2066
|
+
(s(!0), A(
|
|
2063
2067
|
Z,
|
|
2064
2068
|
null,
|
|
2065
|
-
|
|
2069
|
+
me(Ve.value, (q) => (s(), D(S, {
|
|
2066
2070
|
label: q.label,
|
|
2067
2071
|
name: q.name,
|
|
2068
2072
|
key: q.label
|
|
@@ -2076,23 +2080,23 @@ const Oa = {
|
|
|
2076
2080
|
}, 8, ["modelValue"])) : k("v-if", !0)
|
|
2077
2081
|
]),
|
|
2078
2082
|
k(" 面包屑导航区域 "),
|
|
2079
|
-
Y.value === T(Me).group ? (s(),
|
|
2083
|
+
Y.value === T(Me).group ? (s(), A(
|
|
2080
2084
|
Z,
|
|
2081
2085
|
{ key: 0 },
|
|
2082
2086
|
[
|
|
2083
|
-
E.value ? (s(),
|
|
2087
|
+
E.value ? (s(), A("div", Pa, [
|
|
2084
2088
|
k(" 面包屑导航 "),
|
|
2085
|
-
|
|
2089
|
+
y(T(Bt), {
|
|
2086
2090
|
separator: ">",
|
|
2087
2091
|
class: ce(["banner", { "top-unlink": !n.topLink }])
|
|
2088
2092
|
}, {
|
|
2089
2093
|
default: P(() => [
|
|
2090
|
-
(s(!0),
|
|
2094
|
+
(s(!0), A(
|
|
2091
2095
|
Z,
|
|
2092
2096
|
null,
|
|
2093
|
-
|
|
2097
|
+
me(T(g), (q, De) => (s(), D(T(Pt), {
|
|
2094
2098
|
key: q[o.value.id],
|
|
2095
|
-
onClick: $e((Ke) => _(q,
|
|
2099
|
+
onClick: $e((Ke) => _(q, De), ["stop"])
|
|
2096
2100
|
}, {
|
|
2097
2101
|
default: P(() => [
|
|
2098
2102
|
ae(
|
|
@@ -2118,11 +2122,11 @@ const Oa = {
|
|
|
2118
2122
|
)) : k("v-if", !0),
|
|
2119
2123
|
k(" 数据列表区域 "),
|
|
2120
2124
|
k(" 组织架构列表 "),
|
|
2121
|
-
Y.value === T(Me).group ? Ce((s(), D(
|
|
2125
|
+
Y.value === T(Me).group ? Ce((s(), D(Wl, {
|
|
2122
2126
|
key: 1,
|
|
2123
2127
|
fixPropOpt: o.value,
|
|
2124
2128
|
fixTypeOpt: a.value,
|
|
2125
|
-
list:
|
|
2129
|
+
list: m.value,
|
|
2126
2130
|
max: n.max,
|
|
2127
2131
|
multiple: n.multiple,
|
|
2128
2132
|
"hand-list": we.value,
|
|
@@ -2134,18 +2138,18 @@ const Oa = {
|
|
|
2134
2138
|
onChange: he
|
|
2135
2139
|
}, null, 8, ["fixPropOpt", "fixTypeOpt", "list", "max", "multiple", "hand-list", "imageBaseUrl", "emptyText", "children", "choose-type"])), [
|
|
2136
2140
|
[T(Ze), C.value]
|
|
2137
|
-
]) : Y.value === T(Me).role ? (s(),
|
|
2141
|
+
]) : Y.value === T(Me).role ? (s(), A(
|
|
2138
2142
|
Z,
|
|
2139
2143
|
{ key: 2 },
|
|
2140
2144
|
[
|
|
2141
2145
|
k(" 角色列表 "),
|
|
2142
|
-
Ce(
|
|
2146
|
+
Ce(y(ka, {
|
|
2143
2147
|
fixPropOpt: o.value,
|
|
2144
2148
|
fixTypeOpt: a.value,
|
|
2145
2149
|
list: F.value,
|
|
2146
2150
|
max: n.max,
|
|
2147
2151
|
multiple: n.multiple,
|
|
2148
|
-
"hand-list":
|
|
2152
|
+
"hand-list": ye.value,
|
|
2149
2153
|
imageBaseUrl: t.imageBaseUrl,
|
|
2150
2154
|
emptyText: t.emptyText,
|
|
2151
2155
|
"choose-type": j.value,
|
|
@@ -2156,22 +2160,22 @@ const Oa = {
|
|
|
2156
2160
|
],
|
|
2157
2161
|
64
|
|
2158
2162
|
/* STABLE_FRAGMENT */
|
|
2159
|
-
)) : Y.value === T(Me).post ? (s(),
|
|
2163
|
+
)) : Y.value === T(Me).post ? (s(), A(
|
|
2160
2164
|
Z,
|
|
2161
2165
|
{ key: 3 },
|
|
2162
2166
|
[
|
|
2163
2167
|
k(" 岗位列表 "),
|
|
2164
|
-
Ce(
|
|
2168
|
+
Ce(y(sa, {
|
|
2165
2169
|
fixPropOpt: o.value,
|
|
2166
2170
|
fixTypeOpt: a.value,
|
|
2167
2171
|
list: x.value,
|
|
2168
2172
|
max: n.max,
|
|
2169
2173
|
multiple: n.multiple,
|
|
2170
|
-
"hand-list":
|
|
2174
|
+
"hand-list": _e.value,
|
|
2171
2175
|
imageBaseUrl: t.imageBaseUrl,
|
|
2172
2176
|
emptyText: t.emptyText,
|
|
2173
2177
|
"choose-type": j.value,
|
|
2174
|
-
onChange:
|
|
2178
|
+
onChange: mt
|
|
2175
2179
|
}, null, 8, ["fixPropOpt", "fixTypeOpt", "list", "max", "multiple", "hand-list", "imageBaseUrl", "emptyText", "choose-type"]), [
|
|
2176
2180
|
[T(Ze), C.value]
|
|
2177
2181
|
])
|
|
@@ -2189,9 +2193,9 @@ const Oa = {
|
|
|
2189
2193
|
/* CACHED */
|
|
2190
2194
|
)),
|
|
2191
2195
|
k(" 右侧已选区域 "),
|
|
2192
|
-
u("div",
|
|
2196
|
+
u("div", La, [
|
|
2193
2197
|
k(" 已选标题和清空按钮 "),
|
|
2194
|
-
u("div",
|
|
2198
|
+
u("div", Sa, [
|
|
2195
2199
|
p[5] || (p[5] = u(
|
|
2196
2200
|
"div",
|
|
2197
2201
|
null,
|
|
@@ -2202,7 +2206,7 @@ const Oa = {
|
|
|
2202
2206
|
-1
|
|
2203
2207
|
/* CACHED */
|
|
2204
2208
|
)),
|
|
2205
|
-
|
|
2209
|
+
y(T(Je), {
|
|
2206
2210
|
type: "primary",
|
|
2207
2211
|
link: "",
|
|
2208
2212
|
onClick: $e(N, ["stop"])
|
|
@@ -2218,10 +2222,10 @@ const Oa = {
|
|
|
2218
2222
|
/* STABLE */
|
|
2219
2223
|
})
|
|
2220
2224
|
]),
|
|
2221
|
-
|
|
2225
|
+
y(be, null, {
|
|
2222
2226
|
default: P(() => [
|
|
2223
2227
|
k(" 已选项目列表 "),
|
|
2224
|
-
|
|
2228
|
+
y(T(gt), {
|
|
2225
2229
|
modelValue: i.value,
|
|
2226
2230
|
"onUpdate:modelValue": p[2] || (p[2] = (q) => i.value = q),
|
|
2227
2231
|
class: "choose-box",
|
|
@@ -2235,11 +2239,11 @@ const Oa = {
|
|
|
2235
2239
|
onEnd: Ye
|
|
2236
2240
|
}, {
|
|
2237
2241
|
item: P(({ element: q }) => [
|
|
2238
|
-
u("li",
|
|
2239
|
-
u("div",
|
|
2242
|
+
u("li", Ta, [
|
|
2243
|
+
u("div", Ua, [
|
|
2240
2244
|
k(" 头像图标 "),
|
|
2241
|
-
u("div",
|
|
2242
|
-
|
|
2245
|
+
u("div", Va, [
|
|
2246
|
+
y(pe, {
|
|
2243
2247
|
fixTypeOpt: a.value,
|
|
2244
2248
|
fixPropOpt: o.value,
|
|
2245
2249
|
element: q,
|
|
@@ -2256,9 +2260,9 @@ const Oa = {
|
|
|
2256
2260
|
)
|
|
2257
2261
|
]),
|
|
2258
2262
|
k(" 删除按钮 "),
|
|
2259
|
-
Ce(
|
|
2263
|
+
Ce(y(ll, {
|
|
2260
2264
|
class: "close",
|
|
2261
|
-
onClick: $e((
|
|
2265
|
+
onClick: $e((De) => Ne(q), ["stop"])
|
|
2262
2266
|
}, null, 8, ["onClick"]), [
|
|
2263
2267
|
[bt, !(q != null && q.readonly)]
|
|
2264
2268
|
])
|
|
@@ -2286,7 +2290,7 @@ const Oa = {
|
|
|
2286
2290
|
);
|
|
2287
2291
|
};
|
|
2288
2292
|
}
|
|
2289
|
-
}),
|
|
2293
|
+
}), Da = Re(_a), $a = { class: "check-right" }, Ma = { class: "dialog-footer" }, Ea = /* @__PURE__ */ ue({
|
|
2290
2294
|
__name: "IkBtnSetting",
|
|
2291
2295
|
props: /* @__PURE__ */ Ee({
|
|
2292
2296
|
list: {
|
|
@@ -2346,45 +2350,45 @@ const Oa = {
|
|
|
2346
2350
|
}),
|
|
2347
2351
|
emits: /* @__PURE__ */ Ee(["sort"], ["update:modelValue"]),
|
|
2348
2352
|
setup(l, { emit: c }) {
|
|
2349
|
-
const e = l, t = c, b = et(l, "modelValue"), { t: h, dialog: O, path: v, user: F } = e.config, x =
|
|
2350
|
-
const U =
|
|
2351
|
-
return !U &&
|
|
2353
|
+
const e = l, t = c, b = et(l, "modelValue"), { t: h, dialog: O, path: v, user: F } = e.config, x = z(() => `${F == null ? void 0 : F.id}_${v}${e.tab !== "" ? `_${e.tab}` : ""}`), C = B([]), m = B([]), o = B([]), a = /* @__PURE__ */ new Map(), i = B(!1), w = z(() => {
|
|
2354
|
+
const U = m.value.length && m.value.length !== e.list.length;
|
|
2355
|
+
return !U && m.value.length && (i.value = !0), !!U;
|
|
2352
2356
|
}), d = (U) => {
|
|
2353
2357
|
var j;
|
|
2354
2358
|
const L = se.cloneDeep(o.value);
|
|
2355
|
-
L == null || L.forEach((
|
|
2359
|
+
L == null || L.forEach((R) => {
|
|
2356
2360
|
var ie;
|
|
2357
|
-
if (!
|
|
2361
|
+
if (!m.value.length)
|
|
2358
2362
|
o.value = [];
|
|
2359
|
-
else if (!
|
|
2360
|
-
const M = (ie = o.value) == null ? void 0 : ie.findIndex((J) => J.key ===
|
|
2361
|
-
M !== -1 && o.value.splice(M, 1),
|
|
2363
|
+
else if (!m.value.includes(R == null ? void 0 : R.key)) {
|
|
2364
|
+
const M = (ie = o.value) == null ? void 0 : ie.findIndex((J) => J.key === R.key);
|
|
2365
|
+
M !== -1 && o.value.splice(M, 1), R.show = !1, a.set(R.key, R);
|
|
2362
2366
|
}
|
|
2363
|
-
}),
|
|
2367
|
+
}), m.value.forEach((R) => {
|
|
2364
2368
|
var M;
|
|
2365
|
-
if (((M = o.value) == null ? void 0 : M.findIndex((J) => (J == null ? void 0 : J.key) ===
|
|
2366
|
-
const J = a.get(
|
|
2369
|
+
if (((M = o.value) == null ? void 0 : M.findIndex((J) => (J == null ? void 0 : J.key) === R)) === -1) {
|
|
2370
|
+
const J = a.get(R);
|
|
2367
2371
|
J && (J.show = !0, o.value.push(J));
|
|
2368
2372
|
}
|
|
2369
2373
|
}), (j = o.value) != null && j.length || (o.value = se.cloneDeep(e.list)), U === !0 && (t("sort", se.cloneDeep(o.value)), b.value = se.cloneDeep(o.value));
|
|
2370
2374
|
}, g = (U) => {
|
|
2371
2375
|
if (U)
|
|
2372
|
-
|
|
2376
|
+
m.value = e.list.map((L) => L.key);
|
|
2373
2377
|
else {
|
|
2374
2378
|
const L = e.list.find((j) => !j.key || j.label === "操作");
|
|
2375
|
-
|
|
2379
|
+
m.value = L ? [L.key] : [];
|
|
2376
2380
|
}
|
|
2377
2381
|
d();
|
|
2378
2382
|
}, W = () => {
|
|
2379
|
-
const U =
|
|
2383
|
+
const U = Te.local.getItem(x.value);
|
|
2380
2384
|
try {
|
|
2381
2385
|
const L = se.cloneDeep(e == null ? void 0 : e.list);
|
|
2382
|
-
if ((!U || !(U != null && U.length)) &&
|
|
2386
|
+
if ((!U || !(U != null && U.length)) && Te.local.setItem(
|
|
2383
2387
|
x.value,
|
|
2384
|
-
L.map(({ show: j, type:
|
|
2388
|
+
L.map(({ show: j, type: R, key: ie, label: M, width: J, minWidth: ee, align: fe }) => ({
|
|
2385
2389
|
show: j,
|
|
2386
2390
|
key: ie,
|
|
2387
|
-
type:
|
|
2391
|
+
type: R,
|
|
2388
2392
|
label: M,
|
|
2389
2393
|
width: J,
|
|
2390
2394
|
minWidth: ee,
|
|
@@ -2396,11 +2400,11 @@ const Oa = {
|
|
|
2396
2400
|
show: j.show || !1
|
|
2397
2401
|
}))) || []
|
|
2398
2402
|
], U) {
|
|
2399
|
-
const j = U.filter((
|
|
2400
|
-
|
|
2403
|
+
const j = U.filter((R) => R.show).map((R) => R.key);
|
|
2404
|
+
m.value = [...j];
|
|
2401
2405
|
} else {
|
|
2402
|
-
const j = C.value.filter((
|
|
2403
|
-
|
|
2406
|
+
const j = C.value.filter((R) => R.show);
|
|
2407
|
+
m.value = j.map((R) => R.key);
|
|
2404
2408
|
}
|
|
2405
2409
|
d(!0);
|
|
2406
2410
|
} catch (L) {
|
|
@@ -2415,13 +2419,13 @@ const Oa = {
|
|
|
2415
2419
|
}, ne = (U) => {
|
|
2416
2420
|
o.value = U;
|
|
2417
2421
|
}, V = () => {
|
|
2418
|
-
$.value = !1,
|
|
2422
|
+
$.value = !1, Te.local.setItem(
|
|
2419
2423
|
x.value,
|
|
2420
|
-
o.value.map(({ show: U, key: L, label: j, value:
|
|
2424
|
+
o.value.map(({ show: U, key: L, label: j, value: R, width: ie, minWidth: M, align: J }) => ({
|
|
2421
2425
|
show: U,
|
|
2422
2426
|
key: L,
|
|
2423
2427
|
label: j,
|
|
2424
|
-
value:
|
|
2428
|
+
value: R,
|
|
2425
2429
|
width: ie,
|
|
2426
2430
|
minWidth: M,
|
|
2427
2431
|
align: J
|
|
@@ -2429,8 +2433,8 @@ const Oa = {
|
|
|
2429
2433
|
), t("sort", se.cloneDeep(o.value)), b.value = se.cloneDeep(o.value);
|
|
2430
2434
|
};
|
|
2431
2435
|
return (U, L) => {
|
|
2432
|
-
const j = te("el-button"),
|
|
2433
|
-
return s(),
|
|
2436
|
+
const j = te("el-button"), R = te("el-checkbox"), ie = te("el-checkbox-group"), M = te("el-dialog"), J = tt("role");
|
|
2437
|
+
return s(), A(
|
|
2434
2438
|
Z,
|
|
2435
2439
|
null,
|
|
2436
2440
|
[
|
|
@@ -2481,7 +2485,7 @@ const Oa = {
|
|
|
2481
2485
|
)), [
|
|
2482
2486
|
[J, U.$props.role]
|
|
2483
2487
|
]) : k("v-if", !0),
|
|
2484
|
-
|
|
2488
|
+
y(M, {
|
|
2485
2489
|
modelValue: $.value,
|
|
2486
2490
|
"onUpdate:modelValue": L[3] || (L[3] = (ee) => $.value = ee),
|
|
2487
2491
|
draggable: "",
|
|
@@ -2493,8 +2497,8 @@ const Oa = {
|
|
|
2493
2497
|
onOpen: W
|
|
2494
2498
|
}, {
|
|
2495
2499
|
footer: P(() => [
|
|
2496
|
-
u("div",
|
|
2497
|
-
|
|
2500
|
+
u("div", Ma, [
|
|
2501
|
+
y(j, {
|
|
2498
2502
|
onClick: L[2] || (L[2] = (ee) => $.value = !1)
|
|
2499
2503
|
}, {
|
|
2500
2504
|
default: P(() => [
|
|
@@ -2508,7 +2512,7 @@ const Oa = {
|
|
|
2508
2512
|
_: 1
|
|
2509
2513
|
/* STABLE */
|
|
2510
2514
|
}),
|
|
2511
|
-
|
|
2515
|
+
y(j, {
|
|
2512
2516
|
type: "primary",
|
|
2513
2517
|
disabled: o.value.length < 2,
|
|
2514
2518
|
onClick: V
|
|
@@ -2538,7 +2542,7 @@ const Oa = {
|
|
|
2538
2542
|
style: ze({ flex: l.inline ? 2 : 1 })
|
|
2539
2543
|
},
|
|
2540
2544
|
[
|
|
2541
|
-
|
|
2545
|
+
y(R, {
|
|
2542
2546
|
modelValue: i.value,
|
|
2543
2547
|
"onUpdate:modelValue": L[0] || (L[0] = (ee) => i.value = ee),
|
|
2544
2548
|
class: "single-line",
|
|
@@ -2555,16 +2559,16 @@ const Oa = {
|
|
|
2555
2559
|
_: 1
|
|
2556
2560
|
/* STABLE */
|
|
2557
2561
|
}, 8, ["modelValue", "indeterminate"]),
|
|
2558
|
-
|
|
2559
|
-
modelValue:
|
|
2560
|
-
"onUpdate:modelValue": L[1] || (L[1] = (ee) =>
|
|
2562
|
+
y(ie, {
|
|
2563
|
+
modelValue: m.value,
|
|
2564
|
+
"onUpdate:modelValue": L[1] || (L[1] = (ee) => m.value = ee),
|
|
2561
2565
|
onChange: d
|
|
2562
2566
|
}, {
|
|
2563
2567
|
default: P(() => [
|
|
2564
|
-
(s(!0),
|
|
2568
|
+
(s(!0), A(
|
|
2565
2569
|
Z,
|
|
2566
2570
|
null,
|
|
2567
|
-
|
|
2571
|
+
me(C.value, (ee) => (s(), D(R, {
|
|
2568
2572
|
key: ee.key,
|
|
2569
2573
|
disabled: !ee.key,
|
|
2570
2574
|
label: ee.key
|
|
@@ -2590,8 +2594,8 @@ const Oa = {
|
|
|
2590
2594
|
4
|
|
2591
2595
|
/* STYLE */
|
|
2592
2596
|
),
|
|
2593
|
-
u("div",
|
|
2594
|
-
|
|
2597
|
+
u("div", $a, [
|
|
2598
|
+
y(T(Fa), {
|
|
2595
2599
|
list: o.value,
|
|
2596
2600
|
"item-style": { bottom: 4 },
|
|
2597
2601
|
onChange: ne
|
|
@@ -2611,7 +2615,7 @@ const Oa = {
|
|
|
2611
2615
|
);
|
|
2612
2616
|
};
|
|
2613
2617
|
}
|
|
2614
|
-
}),
|
|
2618
|
+
}), za = /* @__PURE__ */ oe(Ea, [["__scopeId", "data-v-f2f41a7c"]]), Ra = Re(za), ft = {
|
|
2615
2619
|
animation: 200,
|
|
2616
2620
|
group: "gl",
|
|
2617
2621
|
disabled: !1,
|
|
@@ -2624,7 +2628,7 @@ const Oa = {
|
|
|
2624
2628
|
bottom: 8,
|
|
2625
2629
|
background: "var(--ik-sub-sidebar-menu-bg)"
|
|
2626
2630
|
}
|
|
2627
|
-
},
|
|
2631
|
+
}, Na = {
|
|
2628
2632
|
list: {
|
|
2629
2633
|
required: !0,
|
|
2630
2634
|
type: Array,
|
|
@@ -2762,9 +2766,9 @@ const Oa = {
|
|
|
2762
2766
|
}
|
|
2763
2767
|
})
|
|
2764
2768
|
}
|
|
2765
|
-
},
|
|
2769
|
+
}, ja = /* @__PURE__ */ ue({
|
|
2766
2770
|
__name: "IkDragList",
|
|
2767
|
-
props:
|
|
2771
|
+
props: Na,
|
|
2768
2772
|
emits: ["change"],
|
|
2769
2773
|
setup(l, { emit: c }) {
|
|
2770
2774
|
const e = l, t = c, b = B([]);
|
|
@@ -2778,7 +2782,7 @@ const Oa = {
|
|
|
2778
2782
|
deep: !0
|
|
2779
2783
|
}
|
|
2780
2784
|
);
|
|
2781
|
-
const h =
|
|
2785
|
+
const h = z(() => ({
|
|
2782
2786
|
...ft,
|
|
2783
2787
|
...e,
|
|
2784
2788
|
itemStyle: {
|
|
@@ -2797,7 +2801,7 @@ const Oa = {
|
|
|
2797
2801
|
});
|
|
2798
2802
|
};
|
|
2799
2803
|
return (x, C) => {
|
|
2800
|
-
const
|
|
2804
|
+
const m = te("el-icon");
|
|
2801
2805
|
return s(), D(T(gt), {
|
|
2802
2806
|
modelValue: b.value,
|
|
2803
2807
|
"onUpdate:modelValue": C[0] || (C[0] = (o) => b.value = o),
|
|
@@ -2814,7 +2818,7 @@ const Oa = {
|
|
|
2814
2818
|
onEnd: F
|
|
2815
2819
|
}, {
|
|
2816
2820
|
item: P(({ element: o }) => [
|
|
2817
|
-
|
|
2821
|
+
y(
|
|
2818
2822
|
vt,
|
|
2819
2823
|
{
|
|
2820
2824
|
type: "transition",
|
|
@@ -2825,7 +2829,7 @@ const Oa = {
|
|
|
2825
2829
|
x.$slots.item ? ve(x.$slots, "item", {
|
|
2826
2830
|
key: 0,
|
|
2827
2831
|
item: o
|
|
2828
|
-
}, void 0, !0) : (s(),
|
|
2832
|
+
}, void 0, !0) : (s(), A(
|
|
2829
2833
|
"li",
|
|
2830
2834
|
{
|
|
2831
2835
|
key: 1,
|
|
@@ -2837,9 +2841,9 @@ const Oa = {
|
|
|
2837
2841
|
})
|
|
2838
2842
|
},
|
|
2839
2843
|
[
|
|
2840
|
-
h.value.showIcon && !x.$slots.icon ? (s(), D(
|
|
2844
|
+
h.value.showIcon && !x.$slots.icon ? (s(), D(m, { key: 0 }, {
|
|
2841
2845
|
default: P(() => [
|
|
2842
|
-
|
|
2846
|
+
y(T(Et))
|
|
2843
2847
|
]),
|
|
2844
2848
|
_: 1
|
|
2845
2849
|
/* STABLE */
|
|
@@ -2866,12 +2870,12 @@ const Oa = {
|
|
|
2866
2870
|
}, 8, ["modelValue", "class", "attrs", "animation", "group", "disabled", "ghost-class", "force-fallback"]);
|
|
2867
2871
|
};
|
|
2868
2872
|
}
|
|
2869
|
-
}),
|
|
2873
|
+
}), Ha = /* @__PURE__ */ oe(ja, [["__scopeId", "data-v-4a642ae7"]]), Fa = Re(Ha);
|
|
2870
2874
|
var xe = /* @__PURE__ */ ((l) => (l.input = "input", l.area = "area", l.number = "number", l.select = "select", l.date = "date", l.datetime = "datetime", l.checkbox = "checkbox", l.radio = "radio", l.treeselect = "treeselect", l.choosePerson = "choosePerson", l))(xe || {}), Pe = /* @__PURE__ */ ((l) => (l.year = "year", l.month = "month", l.date = "date", l.dates = "dates", l.datetime = "datetime", l.week = "week", l.datetimerange = "datetimerange", l.daterange = "daterange", l.monthrange = "monthrange", l))(Pe || {});
|
|
2871
2875
|
function ht(l) {
|
|
2872
2876
|
return typeof l == "function" || Object.prototype.toString.call(l) === "[object Object]" && !xt(l);
|
|
2873
2877
|
}
|
|
2874
|
-
const
|
|
2878
|
+
const Wa = /* @__PURE__ */ ue({
|
|
2875
2879
|
name: "IkSearchAuto",
|
|
2876
2880
|
props: {
|
|
2877
2881
|
// 查询字段列表
|
|
@@ -2931,7 +2935,7 @@ const Ga = /* @__PURE__ */ ue({
|
|
|
2931
2935
|
F(), re(() => l.list, () => {
|
|
2932
2936
|
F();
|
|
2933
2937
|
});
|
|
2934
|
-
const x =
|
|
2938
|
+
const x = z(() => O.value.map((r) => l.list.find((E) => E.key === r))), C = () => {
|
|
2935
2939
|
var r;
|
|
2936
2940
|
v.value.page = 1, (r = l.search) == null || r.call(l, v.value), c("search", v.value);
|
|
2937
2941
|
};
|
|
@@ -2963,7 +2967,7 @@ const Ga = /* @__PURE__ */ ue({
|
|
|
2963
2967
|
formProp: K = {},
|
|
2964
2968
|
value: Y,
|
|
2965
2969
|
label: N
|
|
2966
|
-
}) =>
|
|
2970
|
+
}) => y(je, le({
|
|
2967
2971
|
modelValue: v.value[_],
|
|
2968
2972
|
"onUpdate:modelValue": [(Q) => v.value[_] = Q, (Q) => v.value[_] = Q],
|
|
2969
2973
|
clearable: !0,
|
|
@@ -2983,7 +2987,7 @@ const Ga = /* @__PURE__ */ ue({
|
|
|
2983
2987
|
step: Y = 1,
|
|
2984
2988
|
label: N,
|
|
2985
2989
|
formProp: Q = {}
|
|
2986
|
-
}) =>
|
|
2990
|
+
}) => y(_t, le({
|
|
2987
2991
|
modelValue: v.value[r],
|
|
2988
2992
|
"onUpdate:modelValue": (Ae) => v.value[r] = Ae,
|
|
2989
2993
|
clearable: !0,
|
|
@@ -3004,7 +3008,7 @@ const Ga = /* @__PURE__ */ ue({
|
|
|
3004
3008
|
multiple: K = !1,
|
|
3005
3009
|
filterable: Y = !0,
|
|
3006
3010
|
formProp: N = {}
|
|
3007
|
-
}) =>
|
|
3011
|
+
}) => y(rt, le({
|
|
3008
3012
|
modelValue: v.value[r],
|
|
3009
3013
|
"onUpdate:modelValue": (Q) => v.value[r] = Q,
|
|
3010
3014
|
clearable: !0,
|
|
@@ -3015,7 +3019,7 @@ const Ga = /* @__PURE__ */ ue({
|
|
|
3015
3019
|
}, N, {
|
|
3016
3020
|
placeholder: (N == null ? void 0 : N.placeholder) || E || `请选择${H || ""}`
|
|
3017
3021
|
}), {
|
|
3018
|
-
default: () => [I == null ? void 0 : I.map((Q) =>
|
|
3022
|
+
default: () => [I == null ? void 0 : I.map((Q) => y(ut, {
|
|
3019
3023
|
key: Q.value,
|
|
3020
3024
|
label: Q.label,
|
|
3021
3025
|
value: Q.value
|
|
@@ -3025,17 +3029,17 @@ const Ga = /* @__PURE__ */ ue({
|
|
|
3025
3029
|
disabled: E,
|
|
3026
3030
|
options: _,
|
|
3027
3031
|
formProp: I = {}
|
|
3028
|
-
}) =>
|
|
3032
|
+
}) => y(Fe, le({
|
|
3029
3033
|
modelValue: v.value[r],
|
|
3030
3034
|
"onUpdate:modelValue": (H) => v.value[r] = H,
|
|
3031
3035
|
disabled: E,
|
|
3032
3036
|
onChange: () => a()
|
|
3033
3037
|
}, I), {
|
|
3034
|
-
default: () => [_ == null ? void 0 : _.map((H) => (I == null ? void 0 : I.radioType) === "button" ?
|
|
3038
|
+
default: () => [_ == null ? void 0 : _.map((H) => (I == null ? void 0 : I.radioType) === "button" ? y(It, {
|
|
3035
3039
|
key: H.value,
|
|
3036
3040
|
label: H.value,
|
|
3037
3041
|
name: H.label
|
|
3038
|
-
}, null) :
|
|
3042
|
+
}, null) : y(We, {
|
|
3039
3043
|
key: H.value,
|
|
3040
3044
|
label: H.value,
|
|
3041
3045
|
name: H.label
|
|
@@ -3047,7 +3051,7 @@ const Ga = /* @__PURE__ */ ue({
|
|
|
3047
3051
|
min: I,
|
|
3048
3052
|
max: H,
|
|
3049
3053
|
formProp: K = {}
|
|
3050
|
-
}) =>
|
|
3054
|
+
}) => y(He, le({
|
|
3051
3055
|
modelValue: v.value[r],
|
|
3052
3056
|
"onUpdate:modelValue": (Y) => v.value[r] = Y,
|
|
3053
3057
|
disabled: E,
|
|
@@ -3055,7 +3059,7 @@ const Ga = /* @__PURE__ */ ue({
|
|
|
3055
3059
|
min: I,
|
|
3056
3060
|
onChange: () => a()
|
|
3057
3061
|
}, K), {
|
|
3058
|
-
default: () => [_ == null ? void 0 : _.map((Y) =>
|
|
3062
|
+
default: () => [_ == null ? void 0 : _.map((Y) => y(Le, {
|
|
3059
3063
|
key: Y.value,
|
|
3060
3064
|
label: Y.label,
|
|
3061
3065
|
value: Y.value
|
|
@@ -3065,7 +3069,7 @@ const Ga = /* @__PURE__ */ ue({
|
|
|
3065
3069
|
label: E,
|
|
3066
3070
|
formProp: _ = {},
|
|
3067
3071
|
placeholder: I
|
|
3068
|
-
}) =>
|
|
3072
|
+
}) => y(dt, le({
|
|
3069
3073
|
modelValue: v.value[r],
|
|
3070
3074
|
"onUpdate:modelValue": (H) => v.value[r] = H,
|
|
3071
3075
|
onChange: () => a()
|
|
@@ -3082,9 +3086,9 @@ const Ga = /* @__PURE__ */ ue({
|
|
|
3082
3086
|
placeholder: N = "请选择日期",
|
|
3083
3087
|
popperclass: Q,
|
|
3084
3088
|
rangeSeparator: Ae = "-",
|
|
3085
|
-
defaultValue:
|
|
3086
|
-
defaultTime:
|
|
3087
|
-
valueFormat:
|
|
3089
|
+
defaultValue: Ue,
|
|
3090
|
+
defaultTime: Ve,
|
|
3091
|
+
valueFormat: Ie,
|
|
3088
3092
|
disabledDate: Be = () => !1,
|
|
3089
3093
|
formProp: we = {}
|
|
3090
3094
|
}) => {
|
|
@@ -3110,9 +3114,9 @@ const Ga = /* @__PURE__ */ ue({
|
|
|
3110
3114
|
default:
|
|
3111
3115
|
he = "";
|
|
3112
3116
|
}
|
|
3113
|
-
return
|
|
3117
|
+
return y(dt, le({
|
|
3114
3118
|
modelValue: v.value[r],
|
|
3115
|
-
"onUpdate:modelValue": (
|
|
3119
|
+
"onUpdate:modelValue": (ye) => v.value[r] = ye,
|
|
3116
3120
|
onChange: () => a(),
|
|
3117
3121
|
disabled: E,
|
|
3118
3122
|
type: K,
|
|
@@ -3122,9 +3126,9 @@ const Ga = /* @__PURE__ */ ue({
|
|
|
3122
3126
|
rangeSeparator: Ae,
|
|
3123
3127
|
format: he,
|
|
3124
3128
|
popperClass: Q,
|
|
3125
|
-
defaultValue:
|
|
3126
|
-
defaultTime:
|
|
3127
|
-
valueFormat:
|
|
3129
|
+
defaultValue: Ue,
|
|
3130
|
+
defaultTime: Ve,
|
|
3131
|
+
valueFormat: Ie,
|
|
3128
3132
|
disabledDate: Be
|
|
3129
3133
|
}, we, {
|
|
3130
3134
|
placeholder: (we == null ? void 0 : we.placeholder) || N || "请选择日期"
|
|
@@ -3140,17 +3144,17 @@ const Ga = /* @__PURE__ */ ue({
|
|
|
3140
3144
|
defaultExpandAll: N = !1,
|
|
3141
3145
|
expandOnClickNode: Q = !1,
|
|
3142
3146
|
placeholder: Ae = "全部",
|
|
3143
|
-
checkOnClickNode:
|
|
3144
|
-
showCheckbox:
|
|
3145
|
-
checkStrictly:
|
|
3147
|
+
checkOnClickNode: Ue = !1,
|
|
3148
|
+
showCheckbox: Ve = !1,
|
|
3149
|
+
checkStrictly: Ie = !0,
|
|
3146
3150
|
defaultCheckedKeys: Be = [],
|
|
3147
3151
|
currentNodeKey: we = "",
|
|
3148
3152
|
accordion: he = !1,
|
|
3149
|
-
formProp:
|
|
3153
|
+
formProp: ye = {},
|
|
3150
3154
|
label: qe
|
|
3151
|
-
}) =>
|
|
3155
|
+
}) => y(Vt, le({
|
|
3152
3156
|
modelValue: v.value[r],
|
|
3153
|
-
"onUpdate:modelValue": (
|
|
3157
|
+
"onUpdate:modelValue": (_e) => v.value[r] = _e,
|
|
3154
3158
|
data: E,
|
|
3155
3159
|
onChange: () => a(),
|
|
3156
3160
|
clearable: !0,
|
|
@@ -3162,14 +3166,14 @@ const Ga = /* @__PURE__ */ ue({
|
|
|
3162
3166
|
highlightCurrent: Y,
|
|
3163
3167
|
defaultExpandAll: N,
|
|
3164
3168
|
expandOnClickNode: Q,
|
|
3165
|
-
checkOnClickNode:
|
|
3166
|
-
showCheckbox:
|
|
3167
|
-
checkStrictly:
|
|
3169
|
+
checkOnClickNode: Ue,
|
|
3170
|
+
showCheckbox: Ve,
|
|
3171
|
+
checkStrictly: Ie,
|
|
3168
3172
|
defaultCheckedKeys: Be,
|
|
3169
3173
|
currentNodeKey: we,
|
|
3170
3174
|
accordion: he
|
|
3171
|
-
},
|
|
3172
|
-
placeholder: (
|
|
3175
|
+
}, ye, {
|
|
3176
|
+
placeholder: (ye == null ? void 0 : ye.placeholder) || Ae || `请选择${qe || ""}`
|
|
3173
3177
|
}), null), L = ({
|
|
3174
3178
|
key: r,
|
|
3175
3179
|
selectKey: E,
|
|
@@ -3179,7 +3183,7 @@ const Ga = /* @__PURE__ */ ue({
|
|
|
3179
3183
|
multiple: K = !1,
|
|
3180
3184
|
filterable: Y = !0,
|
|
3181
3185
|
formProp: N = {}
|
|
3182
|
-
}) =>
|
|
3186
|
+
}) => y(je, le({
|
|
3183
3187
|
disabled: I,
|
|
3184
3188
|
modelValue: v.value[r],
|
|
3185
3189
|
"onUpdate:modelValue": (Q) => v.value[r] = Q,
|
|
@@ -3187,7 +3191,7 @@ const Ga = /* @__PURE__ */ ue({
|
|
|
3187
3191
|
}, N, {
|
|
3188
3192
|
placeholder: (N == null ? void 0 : N.placeholder) || _ || "全部"
|
|
3189
3193
|
}), {
|
|
3190
|
-
prepend: () =>
|
|
3194
|
+
prepend: () => y(rt, le({
|
|
3191
3195
|
disabled: I,
|
|
3192
3196
|
multiple: K,
|
|
3193
3197
|
filterable: Y,
|
|
@@ -3195,13 +3199,13 @@ const Ga = /* @__PURE__ */ ue({
|
|
|
3195
3199
|
"onUpdate:modelValue": (Q) => v.value[E] = Q,
|
|
3196
3200
|
onChange: () => a()
|
|
3197
3201
|
}, N), {
|
|
3198
|
-
default: () => [H == null ? void 0 : H.map((Q) =>
|
|
3202
|
+
default: () => [H == null ? void 0 : H.map((Q) => y(ut, {
|
|
3199
3203
|
key: Q.value,
|
|
3200
3204
|
label: Q.label,
|
|
3201
3205
|
value: Q.value
|
|
3202
3206
|
}, null))]
|
|
3203
3207
|
})
|
|
3204
|
-
}), j = "",
|
|
3208
|
+
}), j = "", R = "iking", ie = B(null), M = B([]), J = B(!1), ee = B(""), fe = /* @__PURE__ */ new Map(), Ne = (r) => {
|
|
3205
3209
|
J.value = !0, M.value = fe.has(r) ? fe.get(r) : v.value[r], ee.value = r;
|
|
3206
3210
|
}, Ge = () => {
|
|
3207
3211
|
fe.set(ee.value, []), ee.value = "", a();
|
|
@@ -3217,7 +3221,7 @@ const Ga = /* @__PURE__ */ ue({
|
|
|
3217
3221
|
minlength: K,
|
|
3218
3222
|
disabled: Y,
|
|
3219
3223
|
formProp: N
|
|
3220
|
-
}) =>
|
|
3224
|
+
}) => y(je, le({
|
|
3221
3225
|
modelValue: v.value[r],
|
|
3222
3226
|
"onUpdate:modelValue": (Q) => v.value[r] = Q,
|
|
3223
3227
|
clearable: !0,
|
|
@@ -3261,16 +3265,16 @@ const Ga = /* @__PURE__ */ ue({
|
|
|
3261
3265
|
case "select-input":
|
|
3262
3266
|
return L(r);
|
|
3263
3267
|
default:
|
|
3264
|
-
return
|
|
3268
|
+
return y(Z, null, null);
|
|
3265
3269
|
}
|
|
3266
|
-
}, Xe =
|
|
3270
|
+
}, Xe = z(() => {
|
|
3267
3271
|
var _;
|
|
3268
3272
|
const r = [], E = x.value.length - 1;
|
|
3269
3273
|
return (_ = x.value) == null || _.forEach((I, H) => {
|
|
3270
3274
|
let K, Y;
|
|
3271
3275
|
if (!I) return [];
|
|
3272
3276
|
const N = I.col || 1;
|
|
3273
|
-
r.push(
|
|
3277
|
+
r.push(y(Lt, {
|
|
3274
3278
|
xl: {
|
|
3275
3279
|
span: N * 6
|
|
3276
3280
|
},
|
|
@@ -3286,14 +3290,14 @@ const Ga = /* @__PURE__ */ ue({
|
|
|
3286
3290
|
}, {
|
|
3287
3291
|
default: () => [H === E ? (
|
|
3288
3292
|
// 最后一个form后跟上选项className="last-form"
|
|
3289
|
-
|
|
3293
|
+
y("div", {
|
|
3290
3294
|
class: "last-form"
|
|
3291
|
-
}, [
|
|
3295
|
+
}, [y(it, {
|
|
3292
3296
|
label: I.type === "select-input" ? "" : I.label,
|
|
3293
3297
|
prop: I.key
|
|
3294
3298
|
}, ht(K = ge(I)) ? K : {
|
|
3295
3299
|
default: () => [K]
|
|
3296
|
-
}),
|
|
3300
|
+
}), y(Oe, {
|
|
3297
3301
|
name: "icon-sousuo1",
|
|
3298
3302
|
pop: !0,
|
|
3299
3303
|
title: "搜索",
|
|
@@ -3301,7 +3305,7 @@ const Ga = /* @__PURE__ */ ue({
|
|
|
3301
3305
|
"show-bg": !0,
|
|
3302
3306
|
width: 40,
|
|
3303
3307
|
onClick: () => a()
|
|
3304
|
-
}, null),
|
|
3308
|
+
}, null), y(Oe, {
|
|
3305
3309
|
name: "icon-zhongzhi",
|
|
3306
3310
|
pop: !0,
|
|
3307
3311
|
title: "重置并搜索",
|
|
@@ -3310,7 +3314,7 @@ const Ga = /* @__PURE__ */ ue({
|
|
|
3310
3314
|
width: 40,
|
|
3311
3315
|
onClick: () => w()
|
|
3312
3316
|
}, null)])
|
|
3313
|
-
) :
|
|
3317
|
+
) : y(it, {
|
|
3314
3318
|
label: I.type === "select-input" ? "" : I.label,
|
|
3315
3319
|
prop: I.key
|
|
3316
3320
|
}, ht(Y = ge(I)) ? Y : {
|
|
@@ -3319,23 +3323,23 @@ const Ga = /* @__PURE__ */ ue({
|
|
|
3319
3323
|
}));
|
|
3320
3324
|
}), r;
|
|
3321
3325
|
});
|
|
3322
|
-
return () =>
|
|
3326
|
+
return () => y(Z, null, [y(St, {
|
|
3323
3327
|
class: "gl-search-card",
|
|
3324
3328
|
shadow: l.shadow
|
|
3325
3329
|
}, {
|
|
3326
|
-
default: () => [
|
|
3330
|
+
default: () => [y(Tt, {
|
|
3327
3331
|
class: "auto-search-form",
|
|
3328
3332
|
onKeyup: i,
|
|
3329
3333
|
ref: t,
|
|
3330
3334
|
model: v.value
|
|
3331
3335
|
}, {
|
|
3332
|
-
default: () => [
|
|
3336
|
+
default: () => [y(Ut, {
|
|
3333
3337
|
gutter: 16
|
|
3334
3338
|
}, {
|
|
3335
3339
|
default: () => [Xe.value]
|
|
3336
3340
|
})]
|
|
3337
3341
|
})]
|
|
3338
|
-
}),
|
|
3342
|
+
}), y(Da, {
|
|
3339
3343
|
ref: ie.value,
|
|
3340
3344
|
modelValue: M.value,
|
|
3341
3345
|
"onUpdate:modelValue": (r) => M.value = r,
|
|
@@ -3347,7 +3351,7 @@ const Ga = /* @__PURE__ */ ue({
|
|
|
3347
3351
|
url: `${j}/server/component/pick/mix`,
|
|
3348
3352
|
headers: {
|
|
3349
3353
|
"Content-Type": "application/json;charset=UTF-8",
|
|
3350
|
-
Authorization:
|
|
3354
|
+
Authorization: R
|
|
3351
3355
|
}
|
|
3352
3356
|
},
|
|
3353
3357
|
tabs: ["group", "role", "post"],
|
|
@@ -3366,7 +3370,7 @@ const Ga = /* @__PURE__ */ ue({
|
|
|
3366
3370
|
onOk: (r) => Ye(r)
|
|
3367
3371
|
}, null)]);
|
|
3368
3372
|
}
|
|
3369
|
-
}),
|
|
3373
|
+
}), Ga = { class: "header-left" }, Ya = { class: "title" }, Qa = { class: "flex items-center" }, Xa = /* @__PURE__ */ ue({
|
|
3370
3374
|
__name: "IkPageHead",
|
|
3371
3375
|
props: /* @__PURE__ */ Ee({
|
|
3372
3376
|
// 标题
|
|
@@ -3434,17 +3438,17 @@ const Ga = /* @__PURE__ */ ue({
|
|
|
3434
3438
|
emits: ["update:modelValue"],
|
|
3435
3439
|
setup(l) {
|
|
3436
3440
|
Ot((x) => ({
|
|
3437
|
-
|
|
3441
|
+
v11f89150: F
|
|
3438
3442
|
}));
|
|
3439
3443
|
const c = l, e = et(l, "modelValue"), t = B(c.defaultShow), b = () => {
|
|
3440
3444
|
t.value = !t.value;
|
|
3441
|
-
}, h =
|
|
3445
|
+
}, h = z(() => c.fields.filter((x) => !x.onlyForm)), O = z(() => {
|
|
3442
3446
|
var x;
|
|
3443
3447
|
return (x = c.fields) == null ? void 0 : x.filter((C) => C.search);
|
|
3444
|
-
}), v =
|
|
3448
|
+
}), v = z(() => O.value.length), F = `${c.headerHeight}px`;
|
|
3445
3449
|
return (x, C) => {
|
|
3446
|
-
const
|
|
3447
|
-
return s(),
|
|
3450
|
+
const m = te("el-card");
|
|
3451
|
+
return s(), A(
|
|
3448
3452
|
"div",
|
|
3449
3453
|
{
|
|
3450
3454
|
class: ce(["ik-page-header", { "show-search": t.value }])
|
|
@@ -3460,11 +3464,11 @@ const Ga = /* @__PURE__ */ ue({
|
|
|
3460
3464
|
})
|
|
3461
3465
|
},
|
|
3462
3466
|
[
|
|
3463
|
-
u("div",
|
|
3467
|
+
u("div", Ga, [
|
|
3464
3468
|
k(' 左侧标题、tab页或自定义内容 v-if="!$slots.headerLeft" '),
|
|
3465
3469
|
u(
|
|
3466
3470
|
"span",
|
|
3467
|
-
|
|
3471
|
+
Ya,
|
|
3468
3472
|
X(l.headerTitle),
|
|
3469
3473
|
1
|
|
3470
3474
|
/* TEXT */
|
|
@@ -3472,7 +3476,7 @@ const Ga = /* @__PURE__ */ ue({
|
|
|
3472
3476
|
ve(x.$slots, "headerLeft", {}, void 0, !0)
|
|
3473
3477
|
]),
|
|
3474
3478
|
k(" 默认按钮 "),
|
|
3475
|
-
u("div",
|
|
3479
|
+
u("div", Qa, [
|
|
3476
3480
|
k(" 右侧操作或自定义内容 "),
|
|
3477
3481
|
ve(x.$slots, "headerRight", {}, void 0, !0),
|
|
3478
3482
|
l.exportBtn ? (s(), D(T(Oe), {
|
|
@@ -3499,13 +3503,13 @@ const Ga = /* @__PURE__ */ ue({
|
|
|
3499
3503
|
size: "default",
|
|
3500
3504
|
onClick: l.search
|
|
3501
3505
|
}, null, 8, ["onClick"])) : k("v-if", !0),
|
|
3502
|
-
k(` <IkSvgIcon
|
|
3503
|
-
name="icon-shezhi"
|
|
3504
|
-
show-bg
|
|
3505
|
-
:width="40"
|
|
3506
|
-
size="small"
|
|
3506
|
+
k(` <IkSvgIcon
|
|
3507
|
+
name="icon-shezhi"
|
|
3508
|
+
show-bg
|
|
3509
|
+
:width="40"
|
|
3510
|
+
size="small"
|
|
3507
3511
|
/> `),
|
|
3508
|
-
|
|
3512
|
+
y(T(Ra), {
|
|
3509
3513
|
modelValue: e.value,
|
|
3510
3514
|
"onUpdate:modelValue": C[0] || (C[0] = (o) => e.value = o),
|
|
3511
3515
|
title: "设置表格字段",
|
|
@@ -3517,12 +3521,12 @@ const Ga = /* @__PURE__ */ ue({
|
|
|
3517
3521
|
4
|
|
3518
3522
|
/* STYLE */
|
|
3519
3523
|
),
|
|
3520
|
-
m
|
|
3524
|
+
y(m, {
|
|
3521
3525
|
shadow: "always",
|
|
3522
3526
|
class: "search-form"
|
|
3523
3527
|
}, {
|
|
3524
3528
|
default: P(() => [
|
|
3525
|
-
|
|
3529
|
+
y(T(Wa), {
|
|
3526
3530
|
list: O.value,
|
|
3527
3531
|
search: l.search,
|
|
3528
3532
|
loading: l.loading
|
|
@@ -3531,7 +3535,7 @@ const Ga = /* @__PURE__ */ ue({
|
|
|
3531
3535
|
class: "hide-serch",
|
|
3532
3536
|
onClick: b
|
|
3533
3537
|
}, [
|
|
3534
|
-
|
|
3538
|
+
y(T(Oe), {
|
|
3535
3539
|
title: "收起",
|
|
3536
3540
|
rotate: "180",
|
|
3537
3541
|
name: "icon-shouqi"
|
|
@@ -3547,7 +3551,7 @@ const Ga = /* @__PURE__ */ ue({
|
|
|
3547
3551
|
);
|
|
3548
3552
|
};
|
|
3549
3553
|
}
|
|
3550
|
-
}),
|
|
3554
|
+
}), qa = /* @__PURE__ */ oe(Xa, [["__scopeId", "data-v-7cfcfdba"]]), yt = {
|
|
3551
3555
|
// 标题
|
|
3552
3556
|
headerTitle: {
|
|
3553
3557
|
type: String,
|
|
@@ -3669,7 +3673,7 @@ const Ga = /* @__PURE__ */ ue({
|
|
|
3669
3673
|
type: Number,
|
|
3670
3674
|
default: 66
|
|
3671
3675
|
}
|
|
3672
|
-
},
|
|
3676
|
+
}, Ka = { class: "total" }, Za = { class: "num" }, Ja = /* @__PURE__ */ ue({
|
|
3673
3677
|
__name: "IkPage",
|
|
3674
3678
|
props: {
|
|
3675
3679
|
// 总条数
|
|
@@ -3709,8 +3713,8 @@ const Ga = /* @__PURE__ */ ue({
|
|
|
3709
3713
|
});
|
|
3710
3714
|
};
|
|
3711
3715
|
return (x, C) => {
|
|
3712
|
-
const
|
|
3713
|
-
return s(), D(
|
|
3716
|
+
const m = te("el-pagination");
|
|
3717
|
+
return s(), D(m, le({
|
|
3714
3718
|
"current-page": b.value,
|
|
3715
3719
|
"onUpdate:currentPage": C[0] || (C[0] = (o) => b.value = o),
|
|
3716
3720
|
"page-size": O.value,
|
|
@@ -3725,7 +3729,7 @@ const Ga = /* @__PURE__ */ ue({
|
|
|
3725
3729
|
onCurrentChange: F
|
|
3726
3730
|
}), {
|
|
3727
3731
|
default: P(() => [
|
|
3728
|
-
u("span",
|
|
3732
|
+
u("span", Ka, [
|
|
3729
3733
|
C[2] || (C[2] = ae(
|
|
3730
3734
|
" 共",
|
|
3731
3735
|
-1
|
|
@@ -3733,7 +3737,7 @@ const Ga = /* @__PURE__ */ ue({
|
|
|
3733
3737
|
)),
|
|
3734
3738
|
u(
|
|
3735
3739
|
"span",
|
|
3736
|
-
|
|
3740
|
+
Za,
|
|
3737
3741
|
X(l.total),
|
|
3738
3742
|
1
|
|
3739
3743
|
/* TEXT */
|
|
@@ -3750,16 +3754,16 @@ const Ga = /* @__PURE__ */ ue({
|
|
|
3750
3754
|
}, 16, ["current-page", "page-size", "small", "total"]);
|
|
3751
3755
|
};
|
|
3752
3756
|
}
|
|
3753
|
-
}),
|
|
3757
|
+
}), en = /* @__PURE__ */ oe(Ja, [["__scopeId", "data-v-c1c1999c"]]), tn = /* @__PURE__ */ ue({
|
|
3754
3758
|
__name: "IkPageTable",
|
|
3755
|
-
props:
|
|
3759
|
+
props: yt,
|
|
3756
3760
|
emits: ["selection-change", "page-change"],
|
|
3757
3761
|
setup(l, { expose: c, emit: e }) {
|
|
3758
3762
|
var o;
|
|
3759
3763
|
const t = l, b = e, { attrs: h } = wt(), O = B({
|
|
3760
3764
|
page: ((o = h.page) == null ? void 0 : o.page) || 1,
|
|
3761
3765
|
rows: 15
|
|
3762
|
-
}), v =
|
|
3766
|
+
}), v = z(() => {
|
|
3763
3767
|
const { page: a, rows: i } = (h == null ? void 0 : h.page) || O.value, w = se.cloneDeep(t.tableData);
|
|
3764
3768
|
return w.forEach((d, g) => {
|
|
3765
3769
|
d.__index = a === 1 ? g + 1 : (a - 1) * i + g + 1;
|
|
@@ -3768,25 +3772,25 @@ const Ga = /* @__PURE__ */ ue({
|
|
|
3768
3772
|
O.value = a, b("page-change", a), t.search();
|
|
3769
3773
|
}, x = B([]), C = (a) => {
|
|
3770
3774
|
x.value = a, b("selection-change", a);
|
|
3771
|
-
},
|
|
3772
|
-
return c({ table:
|
|
3775
|
+
}, m = B();
|
|
3776
|
+
return c({ table: m }), (a, i) => {
|
|
3773
3777
|
var W, $, f;
|
|
3774
3778
|
const w = te("el-table-column"), d = te("el-table"), g = tt("loading");
|
|
3775
|
-
return s(),
|
|
3779
|
+
return s(), A(
|
|
3776
3780
|
Z,
|
|
3777
3781
|
null,
|
|
3778
3782
|
[
|
|
3779
3783
|
k(" 自定义表格 "),
|
|
3780
|
-
(W = a.$slots) != null && W.table ? ve(a.$slots, "table", { key: 0 }, void 0, !0) : (s(),
|
|
3784
|
+
(W = a.$slots) != null && W.table ? ve(a.$slots, "table", { key: 0 }, void 0, !0) : (s(), A(
|
|
3781
3785
|
Z,
|
|
3782
3786
|
{ key: 1 },
|
|
3783
3787
|
[
|
|
3784
3788
|
k(" 默认表格 "),
|
|
3785
|
-
|
|
3789
|
+
y(vt, { name: "el-zoom-in-center" }, {
|
|
3786
3790
|
default: P(() => [
|
|
3787
3791
|
Ce((s(), D(d, le({
|
|
3788
3792
|
ref_key: "refTable",
|
|
3789
|
-
ref:
|
|
3793
|
+
ref: m
|
|
3790
3794
|
}, { ...a.$attrs, ...t }, {
|
|
3791
3795
|
data: v.value,
|
|
3792
3796
|
style: { width: "100%" },
|
|
@@ -3822,7 +3826,7 @@ const Ga = /* @__PURE__ */ ue({
|
|
|
3822
3826
|
/* STABLE_FRAGMENT */
|
|
3823
3827
|
)),
|
|
3824
3828
|
k(" 分页 "),
|
|
3825
|
-
a.total ? (s(), D(
|
|
3829
|
+
a.total ? (s(), D(en, {
|
|
3826
3830
|
key: 2,
|
|
3827
3831
|
current: ((f = ($ = a.$attrs) == null ? void 0 : $.page) == null ? void 0 : f.page) || 1,
|
|
3828
3832
|
total: a.total,
|
|
@@ -3834,9 +3838,9 @@ const Ga = /* @__PURE__ */ ue({
|
|
|
3834
3838
|
);
|
|
3835
3839
|
};
|
|
3836
3840
|
}
|
|
3837
|
-
}),
|
|
3841
|
+
}), ln = /* @__PURE__ */ oe(tn, [["__scopeId", "data-v-5926a243"]]), an = { class: "choose" }, nn = { class: "btn" }, sn = /* @__PURE__ */ ue({
|
|
3838
3842
|
__name: "index",
|
|
3839
|
-
props: /* @__PURE__ */ Ee(
|
|
3843
|
+
props: /* @__PURE__ */ Ee(yt, {
|
|
3840
3844
|
modelValue: {
|
|
3841
3845
|
type: Object,
|
|
3842
3846
|
default: () => ({
|
|
@@ -3873,9 +3877,9 @@ const Ga = /* @__PURE__ */ ue({
|
|
|
3873
3877
|
});
|
|
3874
3878
|
}, x = B([]), C = (V) => {
|
|
3875
3879
|
x.value = V, b("selection-change", V);
|
|
3876
|
-
},
|
|
3880
|
+
}, m = z(() => x.value.length || t.chooseLen), o = B(t.fields), a = z(() => "light"), i = B(), w = B(), d = B(), g = B(!1), W = B(void 0), $ = B(t.title || ""), f = (V) => {
|
|
3877
3881
|
W.value = V ? { ...V } : null, t.title ? t.title.includes("新增") || t.title.includes("修改") ? $.value = V ? t.title.replace(/新增/g, "修改") : t.title.replace(/修改/g, "新增") : $.value = V ? `修改${t.title}` : `新增${t.title}` : $.value = V ? "修改" : "新增", g.value = !0;
|
|
3878
|
-
}, ne =
|
|
3882
|
+
}, ne = z(() => t.fields.find((V) => V.isEdit));
|
|
3879
3883
|
return c({
|
|
3880
3884
|
table: i,
|
|
3881
3885
|
header: w,
|
|
@@ -3885,13 +3889,13 @@ const Ga = /* @__PURE__ */ ue({
|
|
|
3885
3889
|
dialog: d,
|
|
3886
3890
|
handAdd: f
|
|
3887
3891
|
}), (V, U) => {
|
|
3888
|
-
const L = te("el-button"), j = te("IkNumberDuration"),
|
|
3889
|
-
return s(),
|
|
3892
|
+
const L = te("el-button"), j = te("IkNumberDuration"), R = te("el-table-column"), ie = tt("role");
|
|
3893
|
+
return s(), A(
|
|
3890
3894
|
Z,
|
|
3891
3895
|
null,
|
|
3892
3896
|
[
|
|
3893
3897
|
k(" 标题 + 搜索表单 "),
|
|
3894
|
-
|
|
3898
|
+
y(qa, le({
|
|
3895
3899
|
ref_key: "refHeader",
|
|
3896
3900
|
ref: w
|
|
3897
3901
|
}, { ...V.$attrs, ...t }, {
|
|
@@ -3929,21 +3933,21 @@ const Ga = /* @__PURE__ */ ue({
|
|
|
3929
3933
|
/* FORWARDED */
|
|
3930
3934
|
}, 16, ["modelValue", "loading", "tab-id"]),
|
|
3931
3935
|
k(" 选中表格项 "),
|
|
3932
|
-
V.selection ? (s(),
|
|
3936
|
+
V.selection ? (s(), A(
|
|
3933
3937
|
"div",
|
|
3934
3938
|
{
|
|
3935
3939
|
key: 0,
|
|
3936
|
-
class: ce(["hand-selection", { select:
|
|
3940
|
+
class: ce(["hand-selection", { select: m.value }])
|
|
3937
3941
|
},
|
|
3938
3942
|
[
|
|
3939
|
-
u("p",
|
|
3943
|
+
u("p", an, [
|
|
3940
3944
|
U[5] || (U[5] = ae(
|
|
3941
3945
|
" 已选 ",
|
|
3942
3946
|
-1
|
|
3943
3947
|
/* CACHED */
|
|
3944
3948
|
)),
|
|
3945
3949
|
u("span", null, [
|
|
3946
|
-
|
|
3950
|
+
y(j, { value: m.value }, null, 8, ["value"])
|
|
3947
3951
|
]),
|
|
3948
3952
|
U[6] || (U[6] = ae(
|
|
3949
3953
|
" 条 ",
|
|
@@ -3951,18 +3955,18 @@ const Ga = /* @__PURE__ */ ue({
|
|
|
3951
3955
|
/* CACHED */
|
|
3952
3956
|
))
|
|
3953
3957
|
]),
|
|
3954
|
-
u("div",
|
|
3955
|
-
V.$slots.selectionRight ? ve(V.$slots, "selectionRight", { key: 1 }, void 0, !0) : (s(),
|
|
3958
|
+
u("div", nn, [
|
|
3959
|
+
V.$slots.selectionRight ? ve(V.$slots, "selectionRight", { key: 1 }, void 0, !0) : (s(), A(
|
|
3956
3960
|
Z,
|
|
3957
3961
|
{ key: 0 },
|
|
3958
3962
|
[
|
|
3959
|
-
|
|
3963
|
+
y(T(Oe), {
|
|
3960
3964
|
name: "icon-shanchu",
|
|
3961
3965
|
"show-bg": "",
|
|
3962
3966
|
size: "default",
|
|
3963
3967
|
onClick: U[2] || (U[2] = (M) => V.$emit("delete", x.value))
|
|
3964
3968
|
}),
|
|
3965
|
-
|
|
3969
|
+
y(T(Oe), {
|
|
3966
3970
|
ize: "default",
|
|
3967
3971
|
name: "icon-xiazai",
|
|
3968
3972
|
"show-bg": "",
|
|
@@ -3979,7 +3983,7 @@ const Ga = /* @__PURE__ */ ue({
|
|
|
3979
3983
|
)) : k("v-if", !0),
|
|
3980
3984
|
k(" 自定义表格 "),
|
|
3981
3985
|
ve(V.$slots, "table", {}, () => [
|
|
3982
|
-
|
|
3986
|
+
y(ln, le({
|
|
3983
3987
|
ref_key: "refTable",
|
|
3984
3988
|
ref: i,
|
|
3985
3989
|
page: h.value
|
|
@@ -3988,20 +3992,20 @@ const Ga = /* @__PURE__ */ ue({
|
|
|
3988
3992
|
onSelectionChange: C
|
|
3989
3993
|
}), {
|
|
3990
3994
|
default: P(() => [
|
|
3991
|
-
(s(!0),
|
|
3995
|
+
(s(!0), A(
|
|
3992
3996
|
Z,
|
|
3993
3997
|
null,
|
|
3994
|
-
|
|
3998
|
+
me(o.value, (M) => (s(), A(
|
|
3995
3999
|
Z,
|
|
3996
4000
|
{
|
|
3997
4001
|
key: M.key
|
|
3998
4002
|
},
|
|
3999
4003
|
[
|
|
4000
|
-
M.show ? (s(),
|
|
4004
|
+
M.show ? (s(), A(
|
|
4001
4005
|
Z,
|
|
4002
4006
|
{ key: 0 },
|
|
4003
4007
|
[
|
|
4004
|
-
M.tableSlot ? (s(), D(
|
|
4008
|
+
M.tableSlot ? (s(), D(R, le({
|
|
4005
4009
|
key: 1,
|
|
4006
4010
|
align: M.align,
|
|
4007
4011
|
width: M.width,
|
|
@@ -4015,7 +4019,7 @@ const Ga = /* @__PURE__ */ ue({
|
|
|
4015
4019
|
]),
|
|
4016
4020
|
_: 2
|
|
4017
4021
|
/* DYNAMIC */
|
|
4018
|
-
}, 1040, ["align", "width", "min-width", "show-overflow-tooltip"])) : (s(), D(
|
|
4022
|
+
}, 1040, ["align", "width", "min-width", "show-overflow-tooltip"])) : (s(), D(R, le({
|
|
4019
4023
|
key: 0,
|
|
4020
4024
|
prop: M.key,
|
|
4021
4025
|
width: M.width,
|
|
@@ -4043,17 +4047,17 @@ const Ga = /* @__PURE__ */ ue({
|
|
|
4043
4047
|
}, 16, ["page"])
|
|
4044
4048
|
], !0),
|
|
4045
4049
|
k(" 新增修改 "),
|
|
4046
|
-
k(` <IkDialog
|
|
4047
|
-
v-if="needAutoForm"
|
|
4048
|
-
ref="refIkDialog"
|
|
4049
|
-
v-bind="{ ...dialogProp }"
|
|
4050
|
-
v-model:visible="visible"
|
|
4051
|
-
:title="dialogTitle"
|
|
4052
|
-
:fields="fields"
|
|
4053
|
-
:size="dialogSize"
|
|
4054
|
-
:form-key="formKey"
|
|
4055
|
-
:edit-data="editData"
|
|
4056
|
-
@addFunction="sureAdd"
|
|
4050
|
+
k(` <IkDialog
|
|
4051
|
+
v-if="needAutoForm"
|
|
4052
|
+
ref="refIkDialog"
|
|
4053
|
+
v-bind="{ ...dialogProp }"
|
|
4054
|
+
v-model:visible="visible"
|
|
4055
|
+
:title="dialogTitle"
|
|
4056
|
+
:fields="fields"
|
|
4057
|
+
:size="dialogSize"
|
|
4058
|
+
:form-key="formKey"
|
|
4059
|
+
:edit-data="editData"
|
|
4060
|
+
@addFunction="sureAdd"
|
|
4057
4061
|
/> `)
|
|
4058
4062
|
],
|
|
4059
4063
|
64
|
|
@@ -4061,8 +4065,8 @@ const Ga = /* @__PURE__ */ ue({
|
|
|
4061
4065
|
);
|
|
4062
4066
|
};
|
|
4063
4067
|
}
|
|
4064
|
-
}),
|
|
4068
|
+
}), on = /* @__PURE__ */ oe(sn, [["__scopeId", "data-v-1a21e0d2"]]), fn = Re(on);
|
|
4065
4069
|
export {
|
|
4066
|
-
|
|
4067
|
-
|
|
4070
|
+
fn as IkPageFull,
|
|
4071
|
+
fn as default
|
|
4068
4072
|
};
|