iking-web-ui-pro 0.2.24 → 0.2.26
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/IKSearch/ik.index.es.js +41 -33
- package/dist/IKSearch/ik.index.umd.js +1 -1
- package/dist/IKSearch/style.css +1 -1
- package/dist/IkApprovalProcess/ik.index.es.js +167 -159
- package/dist/IkApprovalProcess/ik.index.umd.js +1 -1
- package/dist/IkApprovalProcess/style.css +1 -1
- package/dist/IkCalendar/ik.index.es.js +73 -65
- package/dist/IkCalendar/ik.index.umd.js +1 -1
- package/dist/IkCalendar/style.css +1 -1
- package/dist/IkPageFull/ik.index.es.js +303 -295
- package/dist/IkPageFull/ik.index.umd.js +2 -2
- package/dist/IkPageFull/style.css +1 -1
- package/dist/IkPickerUser/ik.index.es.js +41 -33
- package/dist/IkPickerUser/ik.index.umd.js +1 -1
- package/dist/IkPickerUser/style.css +1 -1
- package/dist/IkUploadFile/ik.index.es.js +1454 -1448
- package/dist/IkUploadFile/ik.index.umd.js +57 -57
- package/dist/IkUploadFile/style.css +1 -1
- package/dist/index.es.js +11726 -11712
- package/dist/index.umd.js +84 -84
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as de, openBlock as
|
|
1
|
+
import { defineComponent as de, openBlock as n, createElementBlock as f, createElementVNode as d, computed as j, resolveComponent as ne, normalizeClass as ue, normalizeStyle as ye, createCommentVNode as _, createBlock as V, withCtx as P, createTextVNode as le, toDisplayString as X, ref as O, Fragment as K, unref as C, renderList as ge, createVNode as m, pushScopeId as Ne, popScopeId as je, useCssVars as gt, watch as he, toRef as At, reactive as ot, nextTick as it, watchEffect as rt, withModifiers as Ue, withDirectives as Ce, vShow as kt, mergeModels as ze, useModel as Ze, resolveDirective as Je, mergeProps as te, createSlots as bt, Transition as yt, renderSlot as ve, isVNode as _t, getCurrentInstance as xt } from "vue";
|
|
2
2
|
import { ElCheckbox as Se, ElCheckboxGroup as He, ElRadioGroup as Fe, ElRadio as We, ElDialog as Ot, ElButton as qe, ElInput as Re, ElBreadcrumb as wt, ElBreadcrumbItem as Ct, vLoading as Ke, ElCol as Bt, ElFormItem as ut, ElCard as Pt, ElForm as Lt, ElRow as St, ElInputNumber as Tt, ElSelect as dt, ElOption as ct, ElRadioButton as It, ElDatePicker as pt, ElTreeSelect as Vt } from "element-plus";
|
|
3
3
|
import { ikColor as Ut, _ as ae, ikStore as De, ikEvent as $t } from "iking-utils-pro";
|
|
4
4
|
import Dt from "axios";
|
|
@@ -17,7 +17,7 @@ var Et = /* @__PURE__ */ de({
|
|
|
17
17
|
name: "DCaret",
|
|
18
18
|
__name: "d-caret",
|
|
19
19
|
setup(t) {
|
|
20
|
-
return (y, e) => (
|
|
20
|
+
return (y, e) => (n(), f("svg", {
|
|
21
21
|
xmlns: "http://www.w3.org/2000/svg",
|
|
22
22
|
viewBox: "0 0 1024 1024"
|
|
23
23
|
}, [
|
|
@@ -104,8 +104,8 @@ const se = (t, y) => {
|
|
|
104
104
|
});
|
|
105
105
|
return (o, b) => {
|
|
106
106
|
const p = ne("el-tooltip"), W = ne("el-button");
|
|
107
|
-
return e.value.tableIconType === "icon" || !e.value.tableIconType ? (
|
|
108
|
-
e.value.notip || !e.value.title ? (
|
|
107
|
+
return e.value.tableIconType === "icon" || !e.value.tableIconType ? (n(), f("span", Rt, [
|
|
108
|
+
e.value.notip || !e.value.title ? (n(), f(
|
|
109
109
|
"i",
|
|
110
110
|
{
|
|
111
111
|
key: 0,
|
|
@@ -126,7 +126,7 @@ const se = (t, y) => {
|
|
|
126
126
|
},
|
|
127
127
|
[
|
|
128
128
|
_(` <Icon v-if="outputType === 'iconify'" :icon="name" /> `),
|
|
129
|
-
l.value === "iksig" ? (
|
|
129
|
+
l.value === "iksig" ? (n(), f(
|
|
130
130
|
"i",
|
|
131
131
|
{
|
|
132
132
|
key: 0,
|
|
@@ -136,15 +136,15 @@ const se = (t, y) => {
|
|
|
136
136
|
null,
|
|
137
137
|
6
|
|
138
138
|
/* CLASS, STYLE */
|
|
139
|
-
)) : l.value === "svg" ? (
|
|
139
|
+
)) : l.value === "svg" ? (n(), f("svg", Nt, [
|
|
140
140
|
d("use", {
|
|
141
141
|
"xlink:href": `#${e.value.name}`
|
|
142
142
|
}, null, 8, jt)
|
|
143
|
-
])) : l.value === "img" ? (
|
|
143
|
+
])) : l.value === "img" ? (n(), f("img", {
|
|
144
144
|
key: 2,
|
|
145
145
|
src: e.value.name,
|
|
146
146
|
class: "h-[1em] w-[1em]"
|
|
147
|
-
}, null, 8, Ht)) : (
|
|
147
|
+
}, null, 8, Ht)) : (n(), f(
|
|
148
148
|
"i",
|
|
149
149
|
{
|
|
150
150
|
key: 3,
|
|
@@ -158,7 +158,7 @@ const se = (t, y) => {
|
|
|
158
158
|
],
|
|
159
159
|
6
|
|
160
160
|
/* CLASS, STYLE */
|
|
161
|
-
)) : (
|
|
161
|
+
)) : (n(), V(p, {
|
|
162
162
|
key: 1,
|
|
163
163
|
content: e.value.title,
|
|
164
164
|
placement: "top"
|
|
@@ -182,7 +182,7 @@ const se = (t, y) => {
|
|
|
182
182
|
style: ye(A.value)
|
|
183
183
|
},
|
|
184
184
|
[
|
|
185
|
-
l.value === "iksig" ? (
|
|
185
|
+
l.value === "iksig" ? (n(), f(
|
|
186
186
|
"i",
|
|
187
187
|
{
|
|
188
188
|
key: 0,
|
|
@@ -192,15 +192,15 @@ const se = (t, y) => {
|
|
|
192
192
|
null,
|
|
193
193
|
6
|
|
194
194
|
/* CLASS, STYLE */
|
|
195
|
-
)) : l.value === "svg" ? (
|
|
195
|
+
)) : l.value === "svg" ? (n(), f("svg", Ft, [
|
|
196
196
|
d("use", {
|
|
197
197
|
"xlink:href": `#${e.value.name}`
|
|
198
198
|
}, null, 8, Wt)
|
|
199
|
-
])) : l.value === "img" ? (
|
|
199
|
+
])) : l.value === "img" ? (n(), f("img", {
|
|
200
200
|
key: 2,
|
|
201
201
|
src: e.value.name,
|
|
202
202
|
class: "h-[1em] w-[1em]"
|
|
203
|
-
}, null, 8, Gt)) : (
|
|
203
|
+
}, null, 8, Gt)) : (n(), f(
|
|
204
204
|
"i",
|
|
205
205
|
{
|
|
206
206
|
key: 3,
|
|
@@ -219,7 +219,7 @@ const se = (t, y) => {
|
|
|
219
219
|
_: 1
|
|
220
220
|
/* STABLE */
|
|
221
221
|
}, 8, ["content"]))
|
|
222
|
-
])) : (
|
|
222
|
+
])) : (n(), V(W, {
|
|
223
223
|
key: 1,
|
|
224
224
|
type: ["warning", "error"].includes(e.value.type) ? "danger" : ""
|
|
225
225
|
}, {
|
|
@@ -267,7 +267,7 @@ const Qt = /* @__PURE__ */ se(Yt, [["__scopeId", "data-v-52806adf"]]), xe = Ee(Q
|
|
|
267
267
|
Zt
|
|
268
268
|
];
|
|
269
269
|
function el(t, y) {
|
|
270
|
-
return
|
|
270
|
+
return n(), f("svg", qt, Jt);
|
|
271
271
|
}
|
|
272
272
|
const tl = /* @__PURE__ */ se(Xt, [["render", el]]), ll = {}, al = {
|
|
273
273
|
t: "1710907270798",
|
|
@@ -303,7 +303,7 @@ const tl = /* @__PURE__ */ se(Xt, [["render", el]]), ll = {}, al = {
|
|
|
303
303
|
sl
|
|
304
304
|
];
|
|
305
305
|
function il(t, y) {
|
|
306
|
-
return
|
|
306
|
+
return n(), f("svg", al, ol);
|
|
307
307
|
}
|
|
308
308
|
const rl = /* @__PURE__ */ se(ll, [["render", il]]), ul = {}, dl = {
|
|
309
309
|
t: "1710904463698",
|
|
@@ -339,7 +339,7 @@ const rl = /* @__PURE__ */ se(ll, [["render", il]]), ul = {}, dl = {
|
|
|
339
339
|
pl
|
|
340
340
|
];
|
|
341
341
|
function fl(t, y) {
|
|
342
|
-
return
|
|
342
|
+
return n(), f("svg", dl, hl);
|
|
343
343
|
}
|
|
344
344
|
const vl = /* @__PURE__ */ se(ul, [["render", fl]]), gl = {}, yl = {
|
|
345
345
|
t: "1710904436436",
|
|
@@ -375,7 +375,7 @@ const vl = /* @__PURE__ */ se(ul, [["render", fl]]), gl = {}, yl = {
|
|
|
375
375
|
Al
|
|
376
376
|
];
|
|
377
377
|
function bl(t, y) {
|
|
378
|
-
return
|
|
378
|
+
return n(), f("svg", yl, kl);
|
|
379
379
|
}
|
|
380
380
|
const _l = /* @__PURE__ */ se(gl, [["render", bl]]), xl = {}, Ol = {
|
|
381
381
|
t: "1710904287393",
|
|
@@ -411,7 +411,7 @@ const _l = /* @__PURE__ */ se(gl, [["render", bl]]), xl = {}, Ol = {
|
|
|
411
411
|
Cl
|
|
412
412
|
];
|
|
413
413
|
function Pl(t, y) {
|
|
414
|
-
return
|
|
414
|
+
return n(), f("svg", Ol, Bl);
|
|
415
415
|
}
|
|
416
416
|
const Ll = /* @__PURE__ */ se(xl, [["render", Pl]]), Sl = { class: "avatar" }, Tl = {
|
|
417
417
|
key: 3,
|
|
@@ -446,13 +446,13 @@ const Ll = /* @__PURE__ */ se(xl, [["render", Pl]]), Sl = { class: "avatar" }, T
|
|
|
446
446
|
const y = t, e = y.imageBaseUrl ? `${y.imageBaseUrl}/server/oss/download?fileUrl=` : `${location.origin}/server/oss/download?fileUrl=`, l = (A) => A ? A.startsWith("http") ? A : `${e}${A}` : "";
|
|
447
447
|
return (A, o) => {
|
|
448
448
|
const b = ne("el-avatar");
|
|
449
|
-
return
|
|
450
|
-
y.fixTypeOpt.group === t.element[y.fixPropOpt.type] ? (
|
|
451
|
-
t.element[t.fixPropOpt.avatar] ? (
|
|
449
|
+
return n(), f("div", Sl, [
|
|
450
|
+
y.fixTypeOpt.group === t.element[y.fixPropOpt.type] ? (n(), V(Ll, { key: 0 })) : y.fixTypeOpt.role === t.element[y.fixPropOpt.type] ? (n(), V(vl, { key: 1 })) : y.fixTypeOpt.post === t.element[y.fixPropOpt.type] ? (n(), V(_l, { key: 2 })) : y.fixTypeOpt.user === t.element[y.fixPropOpt.type] ? (n(), f("div", Tl, [
|
|
451
|
+
t.element[t.fixPropOpt.avatar] ? (n(), V(b, {
|
|
452
452
|
key: 0,
|
|
453
453
|
shape: "square",
|
|
454
454
|
src: l(t.fixPropOpt.avatar ? t.element[t.fixPropOpt.avatar] : "")
|
|
455
|
-
}, null, 8, ["src"])) : (
|
|
455
|
+
}, null, 8, ["src"])) : (n(), f(
|
|
456
456
|
"div",
|
|
457
457
|
Il,
|
|
458
458
|
X(t.element[t.fixPropOpt.name].slice(-2)),
|
|
@@ -595,13 +595,13 @@ const fe = /* @__PURE__ */ se(Vl, [["__scopeId", "data-v-4069f4f8"]]), et = "dat
|
|
|
595
595
|
}, z = (c, i) => {
|
|
596
596
|
i || p("handChild", c);
|
|
597
597
|
};
|
|
598
|
-
return (c, i) => (
|
|
599
|
-
|
|
598
|
+
return (c, i) => (n(), f(
|
|
599
|
+
K,
|
|
600
600
|
null,
|
|
601
601
|
[
|
|
602
602
|
_(" 遍历list多选 "),
|
|
603
603
|
d("div", Ul, [
|
|
604
|
-
c.multiple && c.list && c.list.length ? (
|
|
604
|
+
c.multiple && c.list && c.list.length ? (n(), V(C(Se), {
|
|
605
605
|
key: 0,
|
|
606
606
|
modelValue: l.value,
|
|
607
607
|
"onUpdate:modelValue": i[0] || (i[0] = (v) => l.value = v),
|
|
@@ -614,25 +614,25 @@ const fe = /* @__PURE__ */ se(Vl, [["__scopeId", "data-v-4069f4f8"]]), et = "dat
|
|
|
614
614
|
_: 1
|
|
615
615
|
/* STABLE */
|
|
616
616
|
}, 8, ["modelValue", "indeterminate"])) : _("v-if", !0),
|
|
617
|
-
c.list && c.list.length ? (
|
|
618
|
-
c.multiple ? (
|
|
617
|
+
c.list && c.list.length ? (n(), f("ul", $l, [
|
|
618
|
+
c.multiple ? (n(), V(C(He), {
|
|
619
619
|
key: 0,
|
|
620
620
|
modelValue: o.value,
|
|
621
621
|
"onUpdate:modelValue": i[1] || (i[1] = (v) => o.value = v),
|
|
622
622
|
onChange: k
|
|
623
623
|
}, {
|
|
624
624
|
default: P(() => [
|
|
625
|
-
(
|
|
626
|
-
|
|
625
|
+
(n(!0), f(
|
|
626
|
+
K,
|
|
627
627
|
null,
|
|
628
628
|
ge(c.list, (v) => {
|
|
629
629
|
var R;
|
|
630
|
-
return
|
|
630
|
+
return n(), f("li", {
|
|
631
631
|
key: v[e.fixPropOpt.id]
|
|
632
632
|
}, [
|
|
633
633
|
c.chooseType.includes(
|
|
634
634
|
v[e.fixPropOpt.type].toLowerCase()
|
|
635
|
-
) && v.available !== !1 ? (
|
|
635
|
+
) && v.available !== !1 ? (n(), V(C(Se), {
|
|
636
636
|
key: 0,
|
|
637
637
|
label: v[e.fixPropOpt.id],
|
|
638
638
|
disabled: v.available === !1
|
|
@@ -655,7 +655,7 @@ const fe = /* @__PURE__ */ se(Vl, [["__scopeId", "data-v-4069f4f8"]]), et = "dat
|
|
|
655
655
|
1
|
|
656
656
|
/* TEXT */
|
|
657
657
|
),
|
|
658
|
-
v[e.fixPropOpt.type] === e.fixTypeOpt.group ? (
|
|
658
|
+
v[e.fixPropOpt.type] === e.fixTypeOpt.group ? (n(), f(
|
|
659
659
|
"div",
|
|
660
660
|
Rl,
|
|
661
661
|
" (" + X(v.userCount) + ") ",
|
|
@@ -667,7 +667,7 @@ const fe = /* @__PURE__ */ se(Vl, [["__scopeId", "data-v-4069f4f8"]]), et = "dat
|
|
|
667
667
|
]),
|
|
668
668
|
_: 2
|
|
669
669
|
/* DYNAMIC */
|
|
670
|
-
}, 1032, ["label", "disabled"])) : (
|
|
670
|
+
}, 1032, ["label", "disabled"])) : (n(), f("div", Nl, [
|
|
671
671
|
jl,
|
|
672
672
|
d("div", Hl, [
|
|
673
673
|
m(fe, {
|
|
@@ -685,7 +685,7 @@ const fe = /* @__PURE__ */ se(Vl, [["__scopeId", "data-v-4069f4f8"]]), et = "dat
|
|
|
685
685
|
1
|
|
686
686
|
/* TEXT */
|
|
687
687
|
),
|
|
688
|
-
v[e.fixPropOpt.type] === e.fixTypeOpt.group ? (
|
|
688
|
+
v[e.fixPropOpt.type] === e.fixTypeOpt.group ? (n(), f(
|
|
689
689
|
"div",
|
|
690
690
|
Gl,
|
|
691
691
|
" (" + X(v.userCount) + ") ",
|
|
@@ -694,7 +694,7 @@ const fe = /* @__PURE__ */ se(Vl, [["__scopeId", "data-v-4069f4f8"]]), et = "dat
|
|
|
694
694
|
)) : _("v-if", !0)
|
|
695
695
|
])
|
|
696
696
|
])),
|
|
697
|
-
v[e.fixPropOpt.type] === e.fixTypeOpt.group && e.children ? (
|
|
697
|
+
v[e.fixPropOpt.type] === e.fixTypeOpt.group && e.children ? (n(), f("span", {
|
|
698
698
|
key: 2,
|
|
699
699
|
class: ue(["nextLevel", {
|
|
700
700
|
"is-disabled": (R = o.value) == null ? void 0 : R.find(
|
|
@@ -717,7 +717,7 @@ const fe = /* @__PURE__ */ se(Vl, [["__scopeId", "data-v-4069f4f8"]]), et = "dat
|
|
|
717
717
|
]),
|
|
718
718
|
_: 1
|
|
719
719
|
/* STABLE */
|
|
720
|
-
}, 8, ["modelValue"])) : (
|
|
720
|
+
}, 8, ["modelValue"])) : (n(), V(C(Fe), {
|
|
721
721
|
key: 1,
|
|
722
722
|
isIndeterminate: A.value,
|
|
723
723
|
modelValue: b.value,
|
|
@@ -725,16 +725,16 @@ const fe = /* @__PURE__ */ se(Vl, [["__scopeId", "data-v-4069f4f8"]]), et = "dat
|
|
|
725
725
|
onChange: L
|
|
726
726
|
}, {
|
|
727
727
|
default: P(() => [
|
|
728
|
-
(
|
|
729
|
-
|
|
728
|
+
(n(!0), f(
|
|
729
|
+
K,
|
|
730
730
|
null,
|
|
731
731
|
ge(c.list, (v) => {
|
|
732
732
|
var R;
|
|
733
|
-
return
|
|
733
|
+
return n(), f("li", {
|
|
734
734
|
class: "w-full",
|
|
735
735
|
key: v[e.fixPropOpt.id]
|
|
736
736
|
}, [
|
|
737
|
-
c.chooseType.includes(v[e.fixPropOpt.type].toLowerCase()) && v.available !== !1 ? (
|
|
737
|
+
c.chooseType.includes(v[e.fixPropOpt.type].toLowerCase()) && v.available !== !1 ? (n(), V(C(We), {
|
|
738
738
|
key: 0,
|
|
739
739
|
label: v[e.fixPropOpt.id]
|
|
740
740
|
}, {
|
|
@@ -756,7 +756,7 @@ const fe = /* @__PURE__ */ se(Vl, [["__scopeId", "data-v-4069f4f8"]]), et = "dat
|
|
|
756
756
|
1
|
|
757
757
|
/* TEXT */
|
|
758
758
|
),
|
|
759
|
-
v[e.fixPropOpt.type] === e.fixTypeOpt.group ? (
|
|
759
|
+
v[e.fixPropOpt.type] === e.fixTypeOpt.group ? (n(), f(
|
|
760
760
|
"div",
|
|
761
761
|
Zl,
|
|
762
762
|
" (" + X(v.userCount) + ") ",
|
|
@@ -768,7 +768,7 @@ const fe = /* @__PURE__ */ se(Vl, [["__scopeId", "data-v-4069f4f8"]]), et = "dat
|
|
|
768
768
|
]),
|
|
769
769
|
_: 2
|
|
770
770
|
/* DYNAMIC */
|
|
771
|
-
}, 1032, ["label"])) : (
|
|
771
|
+
}, 1032, ["label"])) : (n(), f("div", Jl, [
|
|
772
772
|
ea,
|
|
773
773
|
d("div", ta, [
|
|
774
774
|
m(fe, {
|
|
@@ -786,7 +786,7 @@ const fe = /* @__PURE__ */ se(Vl, [["__scopeId", "data-v-4069f4f8"]]), et = "dat
|
|
|
786
786
|
1
|
|
787
787
|
/* TEXT */
|
|
788
788
|
),
|
|
789
|
-
v[e.fixPropOpt.type] === e.fixTypeOpt.group ? (
|
|
789
|
+
v[e.fixPropOpt.type] === e.fixTypeOpt.group ? (n(), f(
|
|
790
790
|
"div",
|
|
791
791
|
na,
|
|
792
792
|
" (" + X(v.userCount) + ") ",
|
|
@@ -795,7 +795,7 @@ const fe = /* @__PURE__ */ se(Vl, [["__scopeId", "data-v-4069f4f8"]]), et = "dat
|
|
|
795
795
|
)) : _("v-if", !0)
|
|
796
796
|
])
|
|
797
797
|
])),
|
|
798
|
-
v[e.fixPropOpt.type] === e.fixTypeOpt.group && e.children ? (
|
|
798
|
+
v[e.fixPropOpt.type] === e.fixTypeOpt.group && e.children ? (n(), f("span", {
|
|
799
799
|
key: 2,
|
|
800
800
|
class: ue(["nextLevel", {
|
|
801
801
|
"is-disabled": (R = o.value) == null ? void 0 : R.find(
|
|
@@ -819,7 +819,7 @@ const fe = /* @__PURE__ */ se(Vl, [["__scopeId", "data-v-4069f4f8"]]), et = "dat
|
|
|
819
819
|
_: 1
|
|
820
820
|
/* STABLE */
|
|
821
821
|
}, 8, ["isIndeterminate", "modelValue"]))
|
|
822
|
-
])) : (
|
|
822
|
+
])) : (n(), f("div", oa, [
|
|
823
823
|
ia,
|
|
824
824
|
d(
|
|
825
825
|
"div",
|
|
@@ -892,13 +892,13 @@ const ua = /* @__PURE__ */ se(ra, [["__scopeId", "data-v-f7a5199f"]]), at = (t)
|
|
|
892
892
|
}, L = (a) => {
|
|
893
893
|
p("change", a, e.list);
|
|
894
894
|
};
|
|
895
|
-
return (a, c) => (
|
|
896
|
-
|
|
895
|
+
return (a, c) => (n(), f(
|
|
896
|
+
K,
|
|
897
897
|
null,
|
|
898
898
|
[
|
|
899
899
|
_(" 遍历list多选 "),
|
|
900
900
|
d("div", da, [
|
|
901
|
-
a.multiple && a.chooseType.includes("post") && a.list && a.list.length ? (
|
|
901
|
+
a.multiple && a.chooseType.includes("post") && a.list && a.list.length ? (n(), V(C(Se), {
|
|
902
902
|
key: 0,
|
|
903
903
|
modelValue: l.value,
|
|
904
904
|
"onUpdate:modelValue": c[0] || (c[0] = (i) => l.value = i),
|
|
@@ -911,21 +911,21 @@ const ua = /* @__PURE__ */ se(ra, [["__scopeId", "data-v-f7a5199f"]]), at = (t)
|
|
|
911
911
|
_: 1
|
|
912
912
|
/* STABLE */
|
|
913
913
|
}, 8, ["modelValue", "indeterminate"])) : _("v-if", !0),
|
|
914
|
-
a.list && a.list.length ? (
|
|
915
|
-
a.multiple ? (
|
|
914
|
+
a.list && a.list.length ? (n(), f("ul", ca, [
|
|
915
|
+
a.multiple ? (n(), V(C(He), {
|
|
916
916
|
key: 0,
|
|
917
917
|
modelValue: o.value,
|
|
918
918
|
"onUpdate:modelValue": c[1] || (c[1] = (i) => o.value = i),
|
|
919
919
|
onChange: k
|
|
920
920
|
}, {
|
|
921
921
|
default: P(() => [
|
|
922
|
-
(
|
|
923
|
-
|
|
922
|
+
(n(!0), f(
|
|
923
|
+
K,
|
|
924
924
|
null,
|
|
925
|
-
ge(a.list, (i) => (
|
|
925
|
+
ge(a.list, (i) => (n(), f("li", {
|
|
926
926
|
key: i[e.fixPropOpt.id]
|
|
927
927
|
}, [
|
|
928
|
-
a.chooseType.includes(i[e.fixPropOpt.type].toLowerCase()) ? (
|
|
928
|
+
a.chooseType.includes(i[e.fixPropOpt.type].toLowerCase()) ? (n(), V(C(Se), {
|
|
929
929
|
key: 0,
|
|
930
930
|
label: i[e.fixPropOpt.id]
|
|
931
931
|
}, {
|
|
@@ -948,7 +948,7 @@ const ua = /* @__PURE__ */ se(ra, [["__scopeId", "data-v-f7a5199f"]]), at = (t)
|
|
|
948
948
|
]),
|
|
949
949
|
_: 2
|
|
950
950
|
/* DYNAMIC */
|
|
951
|
-
}, 1032, ["label"])) : (
|
|
951
|
+
}, 1032, ["label"])) : (n(), f("div", ha, [
|
|
952
952
|
fa,
|
|
953
953
|
d("div", va, [
|
|
954
954
|
m(fe, {
|
|
@@ -973,7 +973,7 @@ const ua = /* @__PURE__ */ se(ra, [["__scopeId", "data-v-f7a5199f"]]), at = (t)
|
|
|
973
973
|
]),
|
|
974
974
|
_: 1
|
|
975
975
|
/* STABLE */
|
|
976
|
-
}, 8, ["modelValue"])) : (
|
|
976
|
+
}, 8, ["modelValue"])) : (n(), V(C(Fe), {
|
|
977
977
|
key: 1,
|
|
978
978
|
isIndeterminate: A.value,
|
|
979
979
|
modelValue: b.value,
|
|
@@ -981,14 +981,14 @@ const ua = /* @__PURE__ */ se(ra, [["__scopeId", "data-v-f7a5199f"]]), at = (t)
|
|
|
981
981
|
onChange: L
|
|
982
982
|
}, {
|
|
983
983
|
default: P(() => [
|
|
984
|
-
(
|
|
985
|
-
|
|
984
|
+
(n(!0), f(
|
|
985
|
+
K,
|
|
986
986
|
null,
|
|
987
|
-
ge(a.list, (i) => (
|
|
987
|
+
ge(a.list, (i) => (n(), f("li", {
|
|
988
988
|
class: "w-full",
|
|
989
989
|
key: i[e.fixPropOpt.id]
|
|
990
990
|
}, [
|
|
991
|
-
a.chooseType.includes(i[e.fixPropOpt.type].toLowerCase()) ? (
|
|
991
|
+
a.chooseType.includes(i[e.fixPropOpt.type].toLowerCase()) ? (n(), V(C(We), {
|
|
992
992
|
key: 0,
|
|
993
993
|
label: i[e.fixPropOpt.id]
|
|
994
994
|
}, {
|
|
@@ -1013,7 +1013,7 @@ const ua = /* @__PURE__ */ se(ra, [["__scopeId", "data-v-f7a5199f"]]), at = (t)
|
|
|
1013
1013
|
]),
|
|
1014
1014
|
_: 2
|
|
1015
1015
|
/* DYNAMIC */
|
|
1016
|
-
}, 1032, ["label"])) : (
|
|
1016
|
+
}, 1032, ["label"])) : (n(), f("div", Aa, [
|
|
1017
1017
|
ka,
|
|
1018
1018
|
d("div", ba, [
|
|
1019
1019
|
m(fe, {
|
|
@@ -1039,7 +1039,7 @@ const ua = /* @__PURE__ */ se(ra, [["__scopeId", "data-v-f7a5199f"]]), at = (t)
|
|
|
1039
1039
|
_: 1
|
|
1040
1040
|
/* STABLE */
|
|
1041
1041
|
}, 8, ["isIndeterminate", "modelValue"]))
|
|
1042
|
-
])) : (
|
|
1042
|
+
])) : (n(), f("div", xa, [
|
|
1043
1043
|
Oa,
|
|
1044
1044
|
d(
|
|
1045
1045
|
"div",
|
|
@@ -1112,13 +1112,13 @@ const Ca = /* @__PURE__ */ se(wa, [["__scopeId", "data-v-e03f0d36"]]), nt = (t)
|
|
|
1112
1112
|
}, L = (a) => {
|
|
1113
1113
|
p("change", a, e.list);
|
|
1114
1114
|
};
|
|
1115
|
-
return (a, c) => (
|
|
1116
|
-
|
|
1115
|
+
return (a, c) => (n(), f(
|
|
1116
|
+
K,
|
|
1117
1117
|
null,
|
|
1118
1118
|
[
|
|
1119
1119
|
_(" 遍历list多选 "),
|
|
1120
1120
|
d("div", Ba, [
|
|
1121
|
-
a.multiple && a.chooseType.includes("role") && a.list && a.list.length ? (
|
|
1121
|
+
a.multiple && a.chooseType.includes("role") && a.list && a.list.length ? (n(), V(C(Se), {
|
|
1122
1122
|
key: 0,
|
|
1123
1123
|
modelValue: l.value,
|
|
1124
1124
|
"onUpdate:modelValue": c[0] || (c[0] = (i) => l.value = i),
|
|
@@ -1131,21 +1131,21 @@ const Ca = /* @__PURE__ */ se(wa, [["__scopeId", "data-v-e03f0d36"]]), nt = (t)
|
|
|
1131
1131
|
_: 1
|
|
1132
1132
|
/* STABLE */
|
|
1133
1133
|
}, 8, ["modelValue", "indeterminate"])) : _("v-if", !0),
|
|
1134
|
-
a.list && a.list.length ? (
|
|
1135
|
-
a.multiple ? (
|
|
1134
|
+
a.list && a.list.length ? (n(), f("ul", Pa, [
|
|
1135
|
+
a.multiple ? (n(), V(C(He), {
|
|
1136
1136
|
key: 0,
|
|
1137
1137
|
modelValue: o.value,
|
|
1138
1138
|
"onUpdate:modelValue": c[1] || (c[1] = (i) => o.value = i),
|
|
1139
1139
|
onChange: k
|
|
1140
1140
|
}, {
|
|
1141
1141
|
default: P(() => [
|
|
1142
|
-
(
|
|
1143
|
-
|
|
1142
|
+
(n(!0), f(
|
|
1143
|
+
K,
|
|
1144
1144
|
null,
|
|
1145
|
-
ge(a.list, (i) => (
|
|
1145
|
+
ge(a.list, (i) => (n(), f("li", {
|
|
1146
1146
|
key: i[a.fixPropOpt.id]
|
|
1147
1147
|
}, [
|
|
1148
|
-
a.chooseType.includes(i[e.fixPropOpt.type].toLowerCase()) ? (
|
|
1148
|
+
a.chooseType.includes(i[e.fixPropOpt.type].toLowerCase()) ? (n(), V(C(Se), {
|
|
1149
1149
|
key: 0,
|
|
1150
1150
|
label: i[a.fixPropOpt.id],
|
|
1151
1151
|
value: i[a.fixPropOpt.id],
|
|
@@ -1166,7 +1166,7 @@ const Ca = /* @__PURE__ */ se(wa, [["__scopeId", "data-v-e03f0d36"]]), nt = (t)
|
|
|
1166
1166
|
]),
|
|
1167
1167
|
_: 2
|
|
1168
1168
|
/* DYNAMIC */
|
|
1169
|
-
}, 1032, ["label", "value", "disabled"])) : (
|
|
1169
|
+
}, 1032, ["label", "value", "disabled"])) : (n(), f("div", Ta, [
|
|
1170
1170
|
Ia,
|
|
1171
1171
|
d("div", Va, [
|
|
1172
1172
|
m(fe, {
|
|
@@ -1188,7 +1188,7 @@ const Ca = /* @__PURE__ */ se(wa, [["__scopeId", "data-v-e03f0d36"]]), nt = (t)
|
|
|
1188
1188
|
]),
|
|
1189
1189
|
_: 1
|
|
1190
1190
|
/* STABLE */
|
|
1191
|
-
}, 8, ["modelValue"])) : (
|
|
1191
|
+
}, 8, ["modelValue"])) : (n(), V(C(Fe), {
|
|
1192
1192
|
key: 1,
|
|
1193
1193
|
indeterminate: A.value,
|
|
1194
1194
|
modelValue: b.value,
|
|
@@ -1196,14 +1196,14 @@ const Ca = /* @__PURE__ */ se(wa, [["__scopeId", "data-v-e03f0d36"]]), nt = (t)
|
|
|
1196
1196
|
onChange: L
|
|
1197
1197
|
}, {
|
|
1198
1198
|
default: P(() => [
|
|
1199
|
-
(
|
|
1200
|
-
|
|
1199
|
+
(n(!0), f(
|
|
1200
|
+
K,
|
|
1201
1201
|
null,
|
|
1202
|
-
ge(a.list, (i) => (
|
|
1202
|
+
ge(a.list, (i) => (n(), f("li", {
|
|
1203
1203
|
class: "w-full",
|
|
1204
1204
|
key: i[a.fixPropOpt.id]
|
|
1205
1205
|
}, [
|
|
1206
|
-
a.chooseType.includes(i[e.fixPropOpt.type].toLowerCase()) ? (
|
|
1206
|
+
a.chooseType.includes(i[e.fixPropOpt.type].toLowerCase()) ? (n(), V(C(We), {
|
|
1207
1207
|
key: 0,
|
|
1208
1208
|
label: i[a.fixPropOpt.id],
|
|
1209
1209
|
value: i[a.fixPropOpt.id],
|
|
@@ -1226,7 +1226,7 @@ const Ca = /* @__PURE__ */ se(wa, [["__scopeId", "data-v-e03f0d36"]]), nt = (t)
|
|
|
1226
1226
|
]),
|
|
1227
1227
|
_: 2
|
|
1228
1228
|
/* DYNAMIC */
|
|
1229
|
-
}, 1032, ["label", "value", "disabled"])) : (
|
|
1229
|
+
}, 1032, ["label", "value", "disabled"])) : (n(), f("div", Ea, [
|
|
1230
1230
|
Ma,
|
|
1231
1231
|
d("div", Ra, [
|
|
1232
1232
|
m(fe, {
|
|
@@ -1249,7 +1249,7 @@ const Ca = /* @__PURE__ */ se(wa, [["__scopeId", "data-v-e03f0d36"]]), nt = (t)
|
|
|
1249
1249
|
_: 1
|
|
1250
1250
|
/* STABLE */
|
|
1251
1251
|
}, 8, ["indeterminate", "modelValue"]))
|
|
1252
|
-
])) : (
|
|
1252
|
+
])) : (n(), f("div", ja, [
|
|
1253
1253
|
Ha,
|
|
1254
1254
|
d(
|
|
1255
1255
|
"div",
|
|
@@ -1534,8 +1534,8 @@ const Ga = {
|
|
|
1534
1534
|
props: Ga,
|
|
1535
1535
|
emits: ["handChild", "update:show", "update:modelValue", "ok", "search"],
|
|
1536
1536
|
setup(t, { expose: y, emit: e }) {
|
|
1537
|
-
gt((
|
|
1538
|
-
|
|
1537
|
+
gt((s) => ({
|
|
1538
|
+
"204e6f3a": Ae.value
|
|
1539
1539
|
}));
|
|
1540
1540
|
const l = t, A = O(""), o = O(""), b = O([]), p = O([]), W = O([]), k = O([]), L = O(!1), z = j(() => F.value.includes("user") ? p.value.concat(b.value) : p.value);
|
|
1541
1541
|
he(
|
|
@@ -1558,16 +1558,16 @@ const Ga = {
|
|
|
1558
1558
|
...l.typeOption
|
|
1559
1559
|
})), c = O([]), i = Xa(At(l, "api"), l), v = i.handData, R = i.bannerList;
|
|
1560
1560
|
l.immediate && v(o.value, A.value);
|
|
1561
|
-
const H = (
|
|
1561
|
+
const H = (s) => (s.forEach((g) => {
|
|
1562
1562
|
var B, I;
|
|
1563
1563
|
g.disabled = ((I = (B = l.modelValue) == null ? void 0 : B.find(
|
|
1564
1564
|
(G) => G[r.value.id] === g[r.value.id]
|
|
1565
1565
|
)) == null ? void 0 : I.disabled) || !1;
|
|
1566
|
-
}),
|
|
1567
|
-
var
|
|
1566
|
+
}), s), N = async () => {
|
|
1567
|
+
var s, g, B, I, G, ke, Xe, st;
|
|
1568
1568
|
L.value = !0;
|
|
1569
1569
|
try {
|
|
1570
|
-
if ((
|
|
1570
|
+
if ((s = l.groupList) != null && s.length || (g = l.userList) != null && g.length || (B = l.roleList) != null && B.length || (I = l.postList) != null && I.length) {
|
|
1571
1571
|
b.value = (G = l.userList) == null ? void 0 : G.filter(
|
|
1572
1572
|
(be) => be[r.value.name].includes(A.value)
|
|
1573
1573
|
), p.value = (ke = l.groupList) == null ? void 0 : ke.filter(
|
|
@@ -1605,10 +1605,10 @@ const Ga = {
|
|
|
1605
1605
|
}), oe = ot({
|
|
1606
1606
|
indeterminate: !1,
|
|
1607
1607
|
checkAll: 0
|
|
1608
|
-
}), w = (
|
|
1609
|
-
const
|
|
1610
|
-
return c.value = [...g, ...I, ...B, ...
|
|
1611
|
-
list: [...g, ...B, ...I, ...
|
|
1608
|
+
}), w = (s) => h.group.has(s) || h.user.has(s) || h.role.has(s) || h.post.has(s), U = $t.debounce(N, 300), S = j(() => {
|
|
1609
|
+
const s = Array.from(h.group.values()), g = Array.from(h.role.values()), B = Array.from(h.user.values()), I = Array.from(h.post.values());
|
|
1610
|
+
return c.value = [...g, ...I, ...B, ...s], {
|
|
1611
|
+
list: [...g, ...B, ...I, ...s],
|
|
1612
1612
|
role: {
|
|
1613
1613
|
list: g,
|
|
1614
1614
|
len: g.length
|
|
@@ -1622,28 +1622,28 @@ const Ga = {
|
|
|
1622
1622
|
len: I.length
|
|
1623
1623
|
},
|
|
1624
1624
|
groups: {
|
|
1625
|
-
list:
|
|
1626
|
-
len:
|
|
1625
|
+
list: s,
|
|
1626
|
+
len: s.length
|
|
1627
1627
|
}
|
|
1628
1628
|
};
|
|
1629
1629
|
}), F = j(() => {
|
|
1630
|
-
const
|
|
1631
|
-
let g = [...
|
|
1632
|
-
return
|
|
1633
|
-
}), E = O([]), ie = (
|
|
1634
|
-
E.value =
|
|
1630
|
+
const s = l.chooseType.map((B) => B.toLocaleLowerCase());
|
|
1631
|
+
let g = [...s];
|
|
1632
|
+
return s.includes("dep") && (g = [...g, "dept"]), s.includes("dep_user") && (g = [...g, "user"]), g;
|
|
1633
|
+
}), E = O([]), ie = (s) => {
|
|
1634
|
+
E.value = s, E.value.forEach((g) => {
|
|
1635
1635
|
g.readonly = g == null ? void 0 : g.disabled;
|
|
1636
1636
|
});
|
|
1637
|
-
}, D = e, q = O(!1), ee = (
|
|
1637
|
+
}, D = e, q = O(!1), ee = (s = !1) => {
|
|
1638
1638
|
var B;
|
|
1639
1639
|
const g = (B = l == null ? void 0 : l.userList) != null && B.length ? ae.cloneDeep([...l == null ? void 0 : l.userList, ...l == null ? void 0 : l.groupList]) : [...p.value, ...b.value];
|
|
1640
|
-
return !
|
|
1640
|
+
return !s && ie(g), g;
|
|
1641
1641
|
};
|
|
1642
1642
|
he(
|
|
1643
1643
|
() => l.show,
|
|
1644
|
-
async (
|
|
1644
|
+
async (s) => {
|
|
1645
1645
|
var g;
|
|
1646
|
-
if (q.value =
|
|
1646
|
+
if (q.value = s, s) {
|
|
1647
1647
|
o.value = ((g = l.org) == null ? void 0 : g.elementId) || l.orgPid, !l.userList.length && !l.groupList.length && !l.roleList.length && !l.postList.length ? await N() : (b.value = l.userList, p.value = l.groupList, W.value = l.roleList, k.value = l.postList), h.trans = [], oe.checkAll = 0, oe.indeterminate = !1;
|
|
1648
1648
|
const B = ee(!0);
|
|
1649
1649
|
for (const G of B)
|
|
@@ -1659,68 +1659,68 @@ const Ga = {
|
|
|
1659
1659
|
$();
|
|
1660
1660
|
}
|
|
1661
1661
|
), rt(() => {
|
|
1662
|
-
let
|
|
1663
|
-
|
|
1662
|
+
let s;
|
|
1663
|
+
s = E.value.length;
|
|
1664
1664
|
const g = h.trans.length;
|
|
1665
|
-
oe.indeterminate = h.trans.length ? g !==
|
|
1665
|
+
oe.indeterminate = h.trans.length ? g !== s : !1, oe.checkAll = +(s !== 0 && g === s);
|
|
1666
1666
|
}), he(
|
|
1667
1667
|
() => l.modelValue,
|
|
1668
|
-
(
|
|
1669
|
-
|
|
1668
|
+
(s) => {
|
|
1669
|
+
s != null && s.length ? s.forEach((g) => {
|
|
1670
1670
|
me(g), l.multiple ? h.trans.push(g[r.value.id]) : h.single = g[r.value.id];
|
|
1671
1671
|
}) : $();
|
|
1672
1672
|
}
|
|
1673
1673
|
);
|
|
1674
|
-
const re = (
|
|
1674
|
+
const re = (s) => {
|
|
1675
1675
|
var g;
|
|
1676
|
-
if (
|
|
1677
|
-
if (h.single = "",
|
|
1676
|
+
if (s) {
|
|
1677
|
+
if (h.single = "", s[r.value.id]) {
|
|
1678
1678
|
const B = (g = h.trans) == null ? void 0 : g.findIndex(
|
|
1679
|
-
(I) => I ===
|
|
1679
|
+
(I) => I === s[r.value.id]
|
|
1680
1680
|
);
|
|
1681
1681
|
B !== -1 && h.trans.splice(B, 1);
|
|
1682
1682
|
}
|
|
1683
|
-
switch (
|
|
1683
|
+
switch (s[r.value.type]) {
|
|
1684
1684
|
case a.value.user:
|
|
1685
|
-
return h.user.delete(
|
|
1685
|
+
return h.user.delete(s[r.value.id]);
|
|
1686
1686
|
case a.value.role:
|
|
1687
|
-
return h.role.delete(
|
|
1687
|
+
return h.role.delete(s[r.value.id]);
|
|
1688
1688
|
case a.value.post:
|
|
1689
|
-
return h.post.delete(
|
|
1689
|
+
return h.post.delete(s[r.value.id]);
|
|
1690
1690
|
case a.value.group:
|
|
1691
|
-
return h.group.delete(
|
|
1691
|
+
return h.group.delete(s[r.value.id]);
|
|
1692
1692
|
default:
|
|
1693
1693
|
return;
|
|
1694
1694
|
}
|
|
1695
1695
|
}
|
|
1696
|
-
}, Me = (
|
|
1697
|
-
re(
|
|
1698
|
-
}, me = (
|
|
1699
|
-
if (!w(
|
|
1696
|
+
}, Me = (s) => {
|
|
1697
|
+
re(s);
|
|
1698
|
+
}, me = (s) => {
|
|
1699
|
+
if (!w(s[r.value.id])) {
|
|
1700
1700
|
const g = {
|
|
1701
|
-
...
|
|
1701
|
+
...s
|
|
1702
1702
|
// readonly: item.disabled
|
|
1703
1703
|
};
|
|
1704
|
-
switch (
|
|
1704
|
+
switch (s[r.value.type]) {
|
|
1705
1705
|
case a.value.user:
|
|
1706
|
-
return h.user.set(
|
|
1706
|
+
return h.user.set(s[r.value.id], g);
|
|
1707
1707
|
case a.value.role:
|
|
1708
|
-
return h.role.set(
|
|
1708
|
+
return h.role.set(s[r.value.id], g);
|
|
1709
1709
|
case a.value.post:
|
|
1710
|
-
return h.post.set(
|
|
1710
|
+
return h.post.set(s[r.value.id], g);
|
|
1711
1711
|
case a.value.group:
|
|
1712
|
-
return h.group.set(
|
|
1712
|
+
return h.group.set(s[r.value.id], g);
|
|
1713
1713
|
default:
|
|
1714
1714
|
return;
|
|
1715
1715
|
}
|
|
1716
1716
|
}
|
|
1717
|
-
}, Ge = (
|
|
1718
|
-
|
|
1719
|
-
) ?
|
|
1717
|
+
}, Ge = (s) => [a.value.group].includes(
|
|
1718
|
+
s[r.value.type]
|
|
1719
|
+
) ? s == null ? void 0 : s.hasOwnProperty("disabled") : !1;
|
|
1720
1720
|
he(
|
|
1721
1721
|
() => h.trans,
|
|
1722
|
-
(
|
|
1723
|
-
if (!
|
|
1722
|
+
(s) => {
|
|
1723
|
+
if (!s.length)
|
|
1724
1724
|
E.value.forEach((g) => {
|
|
1725
1725
|
g.disabled = !1;
|
|
1726
1726
|
try {
|
|
@@ -1730,12 +1730,12 @@ const Ga = {
|
|
|
1730
1730
|
});
|
|
1731
1731
|
else {
|
|
1732
1732
|
const g = E.value.filter(
|
|
1733
|
-
(I) => !
|
|
1733
|
+
(I) => !s.includes(I[r.value.id])
|
|
1734
1734
|
);
|
|
1735
1735
|
for (const I of g)
|
|
1736
1736
|
I.disabled = !1, l.multiple && re(I);
|
|
1737
1737
|
const B = E.value.filter(
|
|
1738
|
-
(I) =>
|
|
1738
|
+
(I) => s.includes(I[r.value.id])
|
|
1739
1739
|
);
|
|
1740
1740
|
for (const I of B)
|
|
1741
1741
|
I.disabled = Ge(I), me(I);
|
|
@@ -1744,20 +1744,20 @@ const Ga = {
|
|
|
1744
1744
|
{ deep: !0 }
|
|
1745
1745
|
), he(
|
|
1746
1746
|
() => h.single,
|
|
1747
|
-
(
|
|
1747
|
+
(s) => {
|
|
1748
1748
|
var g;
|
|
1749
|
-
if (
|
|
1750
|
-
const B = (g = E.value) == null ? void 0 : g.find((I) => I[r.value.id] ===
|
|
1749
|
+
if (s) {
|
|
1750
|
+
const B = (g = E.value) == null ? void 0 : g.find((I) => I[r.value.id] === s);
|
|
1751
1751
|
B && (h.user.clear(), h.role.clear(), h.post.clear(), h.group.clear(), h.trans = [], it(() => {
|
|
1752
1752
|
me(B);
|
|
1753
1753
|
}));
|
|
1754
1754
|
}
|
|
1755
1755
|
}
|
|
1756
1756
|
);
|
|
1757
|
-
const Ye = (
|
|
1758
|
-
o.value =
|
|
1759
|
-
}, Te = j(() => R.value.length), Qe = (
|
|
1760
|
-
!g && !l.topLink || g !== Te.value - 1 && (o.value =
|
|
1757
|
+
const Ye = (s) => {
|
|
1758
|
+
o.value = s == null ? void 0 : s.elementId, N(), R.value.push(s);
|
|
1759
|
+
}, Te = j(() => R.value.length), Qe = (s, g) => {
|
|
1760
|
+
!g && !l.topLink || g !== Te.value - 1 && (o.value = s == null ? void 0 : s.elementId, N(), R.value.splice(g + 1));
|
|
1761
1761
|
}, u = j(
|
|
1762
1762
|
() => l.chooseType.includes("role") && l.chooseType.length === 1
|
|
1763
1763
|
), M = j(
|
|
@@ -1766,8 +1766,8 @@ const Ga = {
|
|
|
1766
1766
|
rt(() => (x.value = u.value ? l.tabs[1] : M.value ? l.tabs[2] : T.value, x.value));
|
|
1767
1767
|
const $ = () => {
|
|
1768
1768
|
h.user.clear(), h.role.clear(), h.post.clear(), h.group.clear(), h.trans = [], Pe.value = [], ce.value = [], T.value = l.tabs[0], x.value = l.tabs[0], A.value = "", o.value = l.orgPid, R.value.splice(1, R.value.length), h.single = "", c.value = [];
|
|
1769
|
-
},
|
|
1770
|
-
var
|
|
1769
|
+
}, Z = () => {
|
|
1770
|
+
var s;
|
|
1771
1771
|
D(
|
|
1772
1772
|
"ok",
|
|
1773
1773
|
ae.cloneDeep({
|
|
@@ -1776,25 +1776,25 @@ const Ga = {
|
|
|
1776
1776
|
// 排序后的列表
|
|
1777
1777
|
sort: c.value
|
|
1778
1778
|
})
|
|
1779
|
-
), D("update:modelValue", ae.cloneDeep(((
|
|
1780
|
-
},
|
|
1779
|
+
), D("update:modelValue", ae.cloneDeep(((s = S.value) == null ? void 0 : s.list) || [])), D("update:show", !1), $();
|
|
1780
|
+
}, J = () => {
|
|
1781
1781
|
D("update:show", !1), $();
|
|
1782
1782
|
};
|
|
1783
1783
|
y({ handClear: $, handRomeve: Me, handDelete: re });
|
|
1784
1784
|
const Y = j(() => {
|
|
1785
|
-
const
|
|
1786
|
-
return !!((
|
|
1785
|
+
const s = F.value;
|
|
1786
|
+
return !!((s.includes("post") || s.includes("role")) && s.length > 1);
|
|
1787
1787
|
}), Q = j(() => [
|
|
1788
1788
|
{ name: "group", label: "组织架构" },
|
|
1789
1789
|
{ name: "role", label: "角色列表" },
|
|
1790
1790
|
{ name: "post", label: "岗位列表" }
|
|
1791
|
-
].filter((
|
|
1791
|
+
].filter((s) => l.tabs.includes(s.name))), Ae = j(
|
|
1792
1792
|
() => `${typeof l.height == "string" ? Number.parseInt(l.height) : l.height}px`
|
|
1793
1793
|
), Be = () => {
|
|
1794
1794
|
l.multiple || (h.post.clear(), h.role.clear(), h.user.clear(), h.group.clear(), h.single = "");
|
|
1795
|
-
}, Ie = j(() => S.value.groups.list.concat(S.value.user.list)), Ve = (
|
|
1795
|
+
}, Ie = j(() => S.value.groups.list.concat(S.value.user.list)), Ve = (s, g) => {
|
|
1796
1796
|
l.multiple || (h.single = "");
|
|
1797
|
-
const B = l.multiple ?
|
|
1797
|
+
const B = l.multiple ? s : [s];
|
|
1798
1798
|
if (!B.length) {
|
|
1799
1799
|
h.group.clear(), h.user.clear();
|
|
1800
1800
|
return;
|
|
@@ -1802,9 +1802,9 @@ const Ga = {
|
|
|
1802
1802
|
Be(), g.forEach((I) => {
|
|
1803
1803
|
B != null && B.includes(I[r.value.id]) ? me(I) : re(I);
|
|
1804
1804
|
});
|
|
1805
|
-
}, Pe = O([]), Oe = (
|
|
1805
|
+
}, Pe = O([]), Oe = (s, g) => {
|
|
1806
1806
|
l.multiple || (h.single = "");
|
|
1807
|
-
const B = l.multiple ?
|
|
1807
|
+
const B = l.multiple ? s : [s];
|
|
1808
1808
|
if (!B.length) {
|
|
1809
1809
|
h.role.clear();
|
|
1810
1810
|
return;
|
|
@@ -1815,13 +1815,13 @@ const Ga = {
|
|
|
1815
1815
|
};
|
|
1816
1816
|
he(
|
|
1817
1817
|
() => S.value.role.len,
|
|
1818
|
-
(
|
|
1818
|
+
(s) => {
|
|
1819
1819
|
Pe.value = ae.cloneDeep(S.value.role.list);
|
|
1820
1820
|
}
|
|
1821
1821
|
);
|
|
1822
|
-
const ce = O([]), we = (
|
|
1822
|
+
const ce = O([]), we = (s, g) => {
|
|
1823
1823
|
l.multiple || (h.single = "");
|
|
1824
|
-
const B = l.multiple ?
|
|
1824
|
+
const B = l.multiple ? s : [s];
|
|
1825
1825
|
if (!B.length) {
|
|
1826
1826
|
h.post.clear();
|
|
1827
1827
|
return;
|
|
@@ -1832,35 +1832,35 @@ const Ga = {
|
|
|
1832
1832
|
};
|
|
1833
1833
|
return he(
|
|
1834
1834
|
() => S.value.post.len,
|
|
1835
|
-
(
|
|
1835
|
+
(s) => {
|
|
1836
1836
|
ce.value = ae.cloneDeep(S.value.post.list);
|
|
1837
1837
|
}
|
|
1838
1838
|
), he(
|
|
1839
1839
|
() => A.value,
|
|
1840
|
-
(
|
|
1840
|
+
(s) => {
|
|
1841
1841
|
U("");
|
|
1842
1842
|
}
|
|
1843
|
-
), (
|
|
1843
|
+
), (s, g) => {
|
|
1844
1844
|
const B = ne("el-tab-pane"), I = ne("el-tabs");
|
|
1845
|
-
return
|
|
1845
|
+
return n(), V(C(Ot), {
|
|
1846
1846
|
modelValue: q.value,
|
|
1847
1847
|
"onUpdate:modelValue": g[2] || (g[2] = (G) => q.value = G),
|
|
1848
|
-
title:
|
|
1848
|
+
title: s.title,
|
|
1849
1849
|
"destroy-on-close": "",
|
|
1850
1850
|
"append-to-body": "",
|
|
1851
1851
|
"close-on-click-modal": !1,
|
|
1852
1852
|
"close-on-click-escape": !1,
|
|
1853
1853
|
draggable: "",
|
|
1854
1854
|
"align-center": "",
|
|
1855
|
-
width: typeof
|
|
1855
|
+
width: typeof s.width == "string" ? s.width : `${s.width}%`,
|
|
1856
1856
|
class: "p_p_picker-dialog",
|
|
1857
1857
|
"modal-class": "p_p_picker-dialog-modal-user",
|
|
1858
|
-
onClose:
|
|
1858
|
+
onClose: J
|
|
1859
1859
|
}, {
|
|
1860
1860
|
footer: P(() => [
|
|
1861
1861
|
d("span", on, [
|
|
1862
1862
|
m(C(qe), {
|
|
1863
|
-
onClick: Ue(
|
|
1863
|
+
onClick: Ue(J, ["stop"])
|
|
1864
1864
|
}, {
|
|
1865
1865
|
default: P(() => [
|
|
1866
1866
|
le("取消")
|
|
@@ -1870,7 +1870,7 @@ const Ga = {
|
|
|
1870
1870
|
}),
|
|
1871
1871
|
m(C(qe), {
|
|
1872
1872
|
type: "primary",
|
|
1873
|
-
onClick: Ue(
|
|
1873
|
+
onClick: Ue(Z, ["stop"])
|
|
1874
1874
|
}, {
|
|
1875
1875
|
default: P(() => [
|
|
1876
1876
|
le(" 确定 ")
|
|
@@ -1894,20 +1894,20 @@ const Ga = {
|
|
|
1894
1894
|
modelValue: A.value,
|
|
1895
1895
|
"onUpdate:modelValue": g[0] || (g[0] = (G) => A.value = G),
|
|
1896
1896
|
clearable: "",
|
|
1897
|
-
placeholder:
|
|
1897
|
+
placeholder: s.placeholder,
|
|
1898
1898
|
"suffix-icon": tl
|
|
1899
1899
|
}, null, 8, ["modelValue", "placeholder"]),
|
|
1900
|
-
Y.value ? (
|
|
1900
|
+
Y.value ? (n(), V(I, {
|
|
1901
1901
|
key: 0,
|
|
1902
1902
|
modelValue: T.value,
|
|
1903
1903
|
"onUpdate:modelValue": g[1] || (g[1] = (G) => T.value = G),
|
|
1904
1904
|
class: "ik-picker-tab"
|
|
1905
1905
|
}, {
|
|
1906
1906
|
default: P(() => [
|
|
1907
|
-
(
|
|
1908
|
-
|
|
1907
|
+
(n(!0), f(
|
|
1908
|
+
K,
|
|
1909
1909
|
null,
|
|
1910
|
-
ge(Q.value, (G) => (
|
|
1910
|
+
ge(Q.value, (G) => (n(), V(B, {
|
|
1911
1911
|
label: G.label,
|
|
1912
1912
|
name: G.name,
|
|
1913
1913
|
key: G.label
|
|
@@ -1921,47 +1921,55 @@ const Ga = {
|
|
|
1921
1921
|
}, 8, ["modelValue"])) : _("v-if", !0)
|
|
1922
1922
|
]),
|
|
1923
1923
|
_(" 过滤 "),
|
|
1924
|
-
x.value === C($e).group ? (
|
|
1925
|
-
|
|
1926
|
-
|
|
1927
|
-
|
|
1928
|
-
|
|
1929
|
-
|
|
1930
|
-
|
|
1931
|
-
|
|
1932
|
-
|
|
1933
|
-
|
|
1934
|
-
|
|
1935
|
-
|
|
1936
|
-
|
|
1937
|
-
|
|
1938
|
-
|
|
1939
|
-
|
|
1940
|
-
|
|
1941
|
-
|
|
1942
|
-
|
|
1943
|
-
|
|
1944
|
-
|
|
1945
|
-
|
|
1946
|
-
|
|
1947
|
-
|
|
1948
|
-
|
|
1949
|
-
|
|
1950
|
-
|
|
1951
|
-
|
|
1952
|
-
|
|
1953
|
-
|
|
1954
|
-
|
|
1955
|
-
|
|
1924
|
+
x.value === C($e).group ? (n(), f(
|
|
1925
|
+
K,
|
|
1926
|
+
{ key: 0 },
|
|
1927
|
+
[
|
|
1928
|
+
Te.value ? (n(), f("div", Ka, [
|
|
1929
|
+
_(" 面包屑 全选 "),
|
|
1930
|
+
m(C(wt), {
|
|
1931
|
+
separator: ">",
|
|
1932
|
+
class: ue(["banner", { "top-unlink": !s.topLink }])
|
|
1933
|
+
}, {
|
|
1934
|
+
default: P(() => [
|
|
1935
|
+
(n(!0), f(
|
|
1936
|
+
K,
|
|
1937
|
+
null,
|
|
1938
|
+
ge(C(R), (G, ke) => (n(), V(C(Ct), {
|
|
1939
|
+
key: G[r.value.id],
|
|
1940
|
+
onClick: Ue((Xe) => Qe(G, ke), ["stop"])
|
|
1941
|
+
}, {
|
|
1942
|
+
default: P(() => [
|
|
1943
|
+
le(
|
|
1944
|
+
X(G[r.value.name]),
|
|
1945
|
+
1
|
|
1946
|
+
/* TEXT */
|
|
1947
|
+
)
|
|
1948
|
+
]),
|
|
1949
|
+
_: 2
|
|
1950
|
+
/* DYNAMIC */
|
|
1951
|
+
}, 1032, ["onClick"]))),
|
|
1952
|
+
128
|
|
1953
|
+
/* KEYED_FRAGMENT */
|
|
1954
|
+
))
|
|
1955
|
+
]),
|
|
1956
|
+
_: 1
|
|
1957
|
+
/* STABLE */
|
|
1958
|
+
}, 8, ["class"])
|
|
1959
|
+
])) : _("v-if", !0)
|
|
1960
|
+
],
|
|
1961
|
+
64
|
|
1962
|
+
/* STABLE_FRAGMENT */
|
|
1963
|
+
)) : _("v-if", !0),
|
|
1956
1964
|
_(" 左侧列表 "),
|
|
1957
1965
|
_(" 组织架构 "),
|
|
1958
|
-
x.value === C($e).group ? Ce((
|
|
1966
|
+
x.value === C($e).group ? Ce((n(), V(ua, {
|
|
1959
1967
|
key: 1,
|
|
1960
1968
|
fixPropOpt: r.value,
|
|
1961
1969
|
fixTypeOpt: a.value,
|
|
1962
1970
|
list: z.value,
|
|
1963
|
-
max:
|
|
1964
|
-
multiple:
|
|
1971
|
+
max: s.max,
|
|
1972
|
+
multiple: s.multiple,
|
|
1965
1973
|
"hand-list": Ie.value,
|
|
1966
1974
|
imageBaseUrl: l.imageBaseUrl,
|
|
1967
1975
|
emptyText: l.emptyText,
|
|
@@ -1971,8 +1979,8 @@ const Ga = {
|
|
|
1971
1979
|
onChange: Ve
|
|
1972
1980
|
}, null, 8, ["fixPropOpt", "fixTypeOpt", "list", "max", "multiple", "hand-list", "imageBaseUrl", "emptyText", "children", "choose-type"])), [
|
|
1973
1981
|
[C(Ke), L.value]
|
|
1974
|
-
]) : x.value === C($e).role ? (
|
|
1975
|
-
|
|
1982
|
+
]) : x.value === C($e).role ? (n(), f(
|
|
1983
|
+
K,
|
|
1976
1984
|
{ key: 2 },
|
|
1977
1985
|
[
|
|
1978
1986
|
_(" 角色 "),
|
|
@@ -1980,8 +1988,8 @@ const Ga = {
|
|
|
1980
1988
|
fixPropOpt: r.value,
|
|
1981
1989
|
fixTypeOpt: a.value,
|
|
1982
1990
|
list: W.value,
|
|
1983
|
-
max:
|
|
1984
|
-
multiple:
|
|
1991
|
+
max: s.max,
|
|
1992
|
+
multiple: s.multiple,
|
|
1985
1993
|
"hand-list": Pe.value,
|
|
1986
1994
|
imageBaseUrl: l.imageBaseUrl,
|
|
1987
1995
|
emptyText: l.emptyText,
|
|
@@ -1993,8 +2001,8 @@ const Ga = {
|
|
|
1993
2001
|
],
|
|
1994
2002
|
64
|
|
1995
2003
|
/* STABLE_FRAGMENT */
|
|
1996
|
-
)) : x.value === C($e).post ? (
|
|
1997
|
-
|
|
2004
|
+
)) : x.value === C($e).post ? (n(), f(
|
|
2005
|
+
K,
|
|
1998
2006
|
{ key: 3 },
|
|
1999
2007
|
[
|
|
2000
2008
|
_(" 岗位 "),
|
|
@@ -2002,8 +2010,8 @@ const Ga = {
|
|
|
2002
2010
|
fixPropOpt: r.value,
|
|
2003
2011
|
fixTypeOpt: a.value,
|
|
2004
2012
|
list: k.value,
|
|
2005
|
-
max:
|
|
2006
|
-
multiple:
|
|
2013
|
+
max: s.max,
|
|
2014
|
+
multiple: s.multiple,
|
|
2007
2015
|
"hand-list": ce.value,
|
|
2008
2016
|
imageBaseUrl: l.imageBaseUrl,
|
|
2009
2017
|
emptyText: l.emptyText,
|
|
@@ -2035,10 +2043,10 @@ const Ga = {
|
|
|
2035
2043
|
})
|
|
2036
2044
|
]),
|
|
2037
2045
|
d("ul", ln, [
|
|
2038
|
-
(
|
|
2039
|
-
|
|
2046
|
+
(n(!0), f(
|
|
2047
|
+
K,
|
|
2040
2048
|
null,
|
|
2041
|
-
ge(c.value, (G) => (
|
|
2049
|
+
ge(c.value, (G) => (n(), f("li", an, [
|
|
2042
2050
|
d("div", nn, [
|
|
2043
2051
|
_(" icon前缀 "),
|
|
2044
2052
|
d("div", sn, [
|
|
@@ -2230,11 +2238,11 @@ const un = Ee(rn), dn = (t) => (Ne("data-v-b5ed17ed"), t = t(), je(), t), cn = /
|
|
|
2230
2238
|
};
|
|
2231
2239
|
return (U, S) => {
|
|
2232
2240
|
const F = ne("el-button"), E = ne("el-checkbox"), ie = ne("el-checkbox-group"), D = ne("el-dialog"), q = Je("role");
|
|
2233
|
-
return
|
|
2234
|
-
|
|
2241
|
+
return n(), f(
|
|
2242
|
+
K,
|
|
2235
2243
|
null,
|
|
2236
2244
|
[
|
|
2237
|
-
t.btnType === "button" ? Ce((
|
|
2245
|
+
t.btnType === "button" ? Ce((n(), V(F, te({ key: 0 }, U.$attrs, {
|
|
2238
2246
|
circle: t.circle,
|
|
2239
2247
|
type: t.type,
|
|
2240
2248
|
style: { minWidth: t.circle ? "40px" : "", minHeight: t.circle ? "40px" : "" },
|
|
@@ -2261,7 +2269,7 @@ const un = Ee(rn), dn = (t) => (Ne("data-v-b5ed17ed"), t = t(), je(), t), cn = /
|
|
|
2261
2269
|
]), 1040, ["circle", "type", "style"])), [
|
|
2262
2270
|
[q, U.$props.role]
|
|
2263
2271
|
]) : _("v-if", !0),
|
|
2264
|
-
t.btnType === "icon" ? Ce((
|
|
2272
|
+
t.btnType === "icon" ? Ce((n(), V(
|
|
2265
2273
|
C(xe),
|
|
2266
2274
|
te({
|
|
2267
2275
|
key: 1,
|
|
@@ -2351,10 +2359,10 @@ const un = Ee(rn), dn = (t) => (Ne("data-v-b5ed17ed"), t = t(), je(), t), cn = /
|
|
|
2351
2359
|
onChange: v
|
|
2352
2360
|
}, {
|
|
2353
2361
|
default: P(() => [
|
|
2354
|
-
(
|
|
2355
|
-
|
|
2362
|
+
(n(!0), f(
|
|
2363
|
+
K,
|
|
2356
2364
|
null,
|
|
2357
|
-
ge(L.value, (ee) => (
|
|
2365
|
+
ge(L.value, (ee) => (n(), V(E, {
|
|
2358
2366
|
key: ee.key,
|
|
2359
2367
|
disabled: !ee.key,
|
|
2360
2368
|
label: ee.key
|
|
@@ -2589,7 +2597,7 @@ const vn = /* @__PURE__ */ se(fn, [["__scopeId", "data-v-b5ed17ed"]]), gn = Ee(v
|
|
|
2589
2597
|
};
|
|
2590
2598
|
return (k, L) => {
|
|
2591
2599
|
const z = ne("el-icon");
|
|
2592
|
-
return
|
|
2600
|
+
return n(), V(C(zt), {
|
|
2593
2601
|
modelValue: A.value,
|
|
2594
2602
|
"onUpdate:modelValue": L[0] || (L[0] = (r) => A.value = r),
|
|
2595
2603
|
class: ue(["list-group", [o.value.groupClass]]),
|
|
@@ -2616,7 +2624,7 @@ const vn = /* @__PURE__ */ se(fn, [["__scopeId", "data-v-b5ed17ed"]]), gn = Ee(v
|
|
|
2616
2624
|
k.$slots.item ? ve(k.$slots, "item", {
|
|
2617
2625
|
key: 0,
|
|
2618
2626
|
item: r
|
|
2619
|
-
}, void 0, !0) : (
|
|
2627
|
+
}, void 0, !0) : (n(), f(
|
|
2620
2628
|
"li",
|
|
2621
2629
|
{
|
|
2622
2630
|
key: 1,
|
|
@@ -2628,7 +2636,7 @@ const vn = /* @__PURE__ */ se(fn, [["__scopeId", "data-v-b5ed17ed"]]), gn = Ee(v
|
|
|
2628
2636
|
})
|
|
2629
2637
|
},
|
|
2630
2638
|
[
|
|
2631
|
-
o.value.showIcon && !k.$slots.icon ? (
|
|
2639
|
+
o.value.showIcon && !k.$slots.icon ? (n(), V(z, { key: 0 }, {
|
|
2632
2640
|
default: P(() => [
|
|
2633
2641
|
m(C(Mt))
|
|
2634
2642
|
]),
|
|
@@ -2752,8 +2760,8 @@ const bn = /* @__PURE__ */ de({
|
|
|
2752
2760
|
key: T,
|
|
2753
2761
|
disabled: x,
|
|
2754
2762
|
placeholder: $,
|
|
2755
|
-
formProp:
|
|
2756
|
-
value:
|
|
2763
|
+
formProp: Z = {},
|
|
2764
|
+
value: J,
|
|
2757
2765
|
label: Y
|
|
2758
2766
|
}) => m(Re, te({
|
|
2759
2767
|
modelValue: p.value[T],
|
|
@@ -2763,16 +2771,16 @@ const bn = /* @__PURE__ */ de({
|
|
|
2763
2771
|
minlength: M,
|
|
2764
2772
|
disabled: x,
|
|
2765
2773
|
onBlur: () => a()
|
|
2766
|
-
},
|
|
2767
|
-
placeholder: (
|
|
2774
|
+
}, Z, {
|
|
2775
|
+
placeholder: (Z == null ? void 0 : Z.placeholder) || $ || `请输入${Y || ""}`
|
|
2768
2776
|
}), null), R = ({
|
|
2769
2777
|
key: u,
|
|
2770
2778
|
placeholder: M,
|
|
2771
2779
|
max: T,
|
|
2772
2780
|
min: x,
|
|
2773
2781
|
disabled: $,
|
|
2774
|
-
precision:
|
|
2775
|
-
step:
|
|
2782
|
+
precision: Z,
|
|
2783
|
+
step: J = 1,
|
|
2776
2784
|
label: Y,
|
|
2777
2785
|
formProp: Q = {}
|
|
2778
2786
|
}) => m(Tt, te({
|
|
@@ -2782,8 +2790,8 @@ const bn = /* @__PURE__ */ de({
|
|
|
2782
2790
|
max: T,
|
|
2783
2791
|
min: x,
|
|
2784
2792
|
disabled: $,
|
|
2785
|
-
precision:
|
|
2786
|
-
step:
|
|
2793
|
+
precision: Z,
|
|
2794
|
+
step: J,
|
|
2787
2795
|
onChange: () => a()
|
|
2788
2796
|
}, Q, {
|
|
2789
2797
|
placeholder: (Q == null ? void 0 : Q.placeholder) || M || `请输入${Y || ""}`
|
|
@@ -2793,16 +2801,16 @@ const bn = /* @__PURE__ */ de({
|
|
|
2793
2801
|
disabled: T,
|
|
2794
2802
|
options: x,
|
|
2795
2803
|
label: $,
|
|
2796
|
-
multiple:
|
|
2797
|
-
filterable:
|
|
2804
|
+
multiple: Z = !1,
|
|
2805
|
+
filterable: J = !0,
|
|
2798
2806
|
formProp: Y = {}
|
|
2799
2807
|
}) => m(dt, te({
|
|
2800
2808
|
modelValue: p.value[u],
|
|
2801
2809
|
"onUpdate:modelValue": (Q) => p.value[u] = Q,
|
|
2802
2810
|
clearable: !0,
|
|
2803
2811
|
disabled: T,
|
|
2804
|
-
multiple:
|
|
2805
|
-
filterable:
|
|
2812
|
+
multiple: Z,
|
|
2813
|
+
filterable: J,
|
|
2806
2814
|
onChange: () => a()
|
|
2807
2815
|
}, Y, {
|
|
2808
2816
|
placeholder: (Y == null ? void 0 : Y.placeholder) || M || `请选择${$ || ""}`
|
|
@@ -2838,19 +2846,19 @@ const bn = /* @__PURE__ */ de({
|
|
|
2838
2846
|
options: T,
|
|
2839
2847
|
min: x,
|
|
2840
2848
|
max: $,
|
|
2841
|
-
formProp:
|
|
2849
|
+
formProp: Z = {}
|
|
2842
2850
|
}) => m(He, te({
|
|
2843
2851
|
modelValue: p.value[u],
|
|
2844
|
-
"onUpdate:modelValue": (
|
|
2852
|
+
"onUpdate:modelValue": (J) => p.value[u] = J,
|
|
2845
2853
|
disabled: M,
|
|
2846
2854
|
max: $,
|
|
2847
2855
|
min: x,
|
|
2848
2856
|
onChange: () => a()
|
|
2849
|
-
},
|
|
2850
|
-
default: () => [T == null ? void 0 : T.map((
|
|
2851
|
-
key:
|
|
2852
|
-
label:
|
|
2853
|
-
value:
|
|
2857
|
+
}, Z), {
|
|
2858
|
+
default: () => [T == null ? void 0 : T.map((J) => m(Se, {
|
|
2859
|
+
key: J.value,
|
|
2860
|
+
label: J.label,
|
|
2861
|
+
value: J.value
|
|
2854
2862
|
}, null))]
|
|
2855
2863
|
}), oe = ({
|
|
2856
2864
|
key: u,
|
|
@@ -2869,8 +2877,8 @@ const bn = /* @__PURE__ */ de({
|
|
|
2869
2877
|
editable: T = !0,
|
|
2870
2878
|
startPlaceholder: x = "开始日期",
|
|
2871
2879
|
endplaceholder: $ = "结束日期",
|
|
2872
|
-
dateType:
|
|
2873
|
-
format:
|
|
2880
|
+
dateType: Z = Le.date,
|
|
2881
|
+
format: J,
|
|
2874
2882
|
placeholder: Y = "请选择日期",
|
|
2875
2883
|
popperclass: Q,
|
|
2876
2884
|
rangeSeparator: Ae = "-",
|
|
@@ -2880,9 +2888,9 @@ const bn = /* @__PURE__ */ de({
|
|
|
2880
2888
|
disabledDate: Pe = () => !1,
|
|
2881
2889
|
formProp: Oe = {}
|
|
2882
2890
|
}) => {
|
|
2883
|
-
let ce =
|
|
2891
|
+
let ce = J;
|
|
2884
2892
|
if (ce)
|
|
2885
|
-
switch (
|
|
2893
|
+
switch (Z) {
|
|
2886
2894
|
case Le.date:
|
|
2887
2895
|
case Le.dates:
|
|
2888
2896
|
ce = "YYYY-MM-DD";
|
|
@@ -2904,7 +2912,7 @@ const bn = /* @__PURE__ */ de({
|
|
|
2904
2912
|
"onUpdate:modelValue": (we) => p.value[u] = we,
|
|
2905
2913
|
onChange: () => a(),
|
|
2906
2914
|
disabled: M,
|
|
2907
|
-
type:
|
|
2915
|
+
type: Z,
|
|
2908
2916
|
editable: T,
|
|
2909
2917
|
startPlaceholder: x,
|
|
2910
2918
|
endPlaceholder: $,
|
|
@@ -2924,8 +2932,8 @@ const bn = /* @__PURE__ */ de({
|
|
|
2924
2932
|
multiple: T = !1,
|
|
2925
2933
|
filterable: x = !0,
|
|
2926
2934
|
nodeKey: $ = "id",
|
|
2927
|
-
props:
|
|
2928
|
-
highlightCurrent:
|
|
2935
|
+
props: Z,
|
|
2936
|
+
highlightCurrent: J = !0,
|
|
2929
2937
|
defaultExpandAll: Y = !1,
|
|
2930
2938
|
expandOnClickNode: Q = !1,
|
|
2931
2939
|
placeholder: Ae = "全部",
|
|
@@ -2936,7 +2944,7 @@ const bn = /* @__PURE__ */ de({
|
|
|
2936
2944
|
currentNodeKey: Oe = "",
|
|
2937
2945
|
accordion: ce = !1,
|
|
2938
2946
|
formProp: we = {},
|
|
2939
|
-
label:
|
|
2947
|
+
label: s
|
|
2940
2948
|
}) => m(Vt, te({
|
|
2941
2949
|
modelValue: p.value[u],
|
|
2942
2950
|
"onUpdate:modelValue": (g) => p.value[u] = g,
|
|
@@ -2944,11 +2952,11 @@ const bn = /* @__PURE__ */ de({
|
|
|
2944
2952
|
onChange: () => a(),
|
|
2945
2953
|
clearable: !0,
|
|
2946
2954
|
multiple: T,
|
|
2947
|
-
props:
|
|
2955
|
+
props: Z,
|
|
2948
2956
|
placeholder: Ae,
|
|
2949
2957
|
filterable: x,
|
|
2950
2958
|
nodeKey: $,
|
|
2951
|
-
highlightCurrent:
|
|
2959
|
+
highlightCurrent: J,
|
|
2952
2960
|
defaultExpandAll: Y,
|
|
2953
2961
|
expandOnClickNode: Q,
|
|
2954
2962
|
checkOnClickNode: Be,
|
|
@@ -2958,15 +2966,15 @@ const bn = /* @__PURE__ */ de({
|
|
|
2958
2966
|
currentNodeKey: Oe,
|
|
2959
2967
|
accordion: ce
|
|
2960
2968
|
}, we, {
|
|
2961
|
-
placeholder: (we == null ? void 0 : we.placeholder) || Ae || `请选择${
|
|
2969
|
+
placeholder: (we == null ? void 0 : we.placeholder) || Ae || `请选择${s || ""}`
|
|
2962
2970
|
}), null), S = ({
|
|
2963
2971
|
key: u,
|
|
2964
2972
|
selectKey: M,
|
|
2965
2973
|
placeholder: T,
|
|
2966
2974
|
disabled: x,
|
|
2967
2975
|
options: $,
|
|
2968
|
-
multiple:
|
|
2969
|
-
filterable:
|
|
2976
|
+
multiple: Z = !1,
|
|
2977
|
+
filterable: J = !0,
|
|
2970
2978
|
formProp: Y = {}
|
|
2971
2979
|
}) => m(Re, te({
|
|
2972
2980
|
disabled: x,
|
|
@@ -2978,8 +2986,8 @@ const bn = /* @__PURE__ */ de({
|
|
|
2978
2986
|
}), {
|
|
2979
2987
|
prepend: () => m(dt, te({
|
|
2980
2988
|
disabled: x,
|
|
2981
|
-
multiple:
|
|
2982
|
-
filterable:
|
|
2989
|
+
multiple: Z,
|
|
2990
|
+
filterable: J,
|
|
2983
2991
|
modelValue: p.value[M],
|
|
2984
2992
|
"onUpdate:modelValue": (Q) => p.value[M] = Q,
|
|
2985
2993
|
onChange: () => a()
|
|
@@ -3003,16 +3011,16 @@ const bn = /* @__PURE__ */ de({
|
|
|
3003
3011
|
typeOption: T,
|
|
3004
3012
|
_list: x,
|
|
3005
3013
|
maxlength: $,
|
|
3006
|
-
minlength:
|
|
3007
|
-
disabled:
|
|
3014
|
+
minlength: Z,
|
|
3015
|
+
disabled: J,
|
|
3008
3016
|
formProp: Y
|
|
3009
3017
|
}) => m(Re, te({
|
|
3010
3018
|
modelValue: p.value[u],
|
|
3011
3019
|
"onUpdate:modelValue": (Q) => p.value[u] = Q,
|
|
3012
3020
|
clearable: !0,
|
|
3013
3021
|
maxlength: $,
|
|
3014
|
-
minlength:
|
|
3015
|
-
disabled:
|
|
3022
|
+
minlength: Z,
|
|
3023
|
+
disabled: J
|
|
3016
3024
|
}, Y, {
|
|
3017
3025
|
onClick: () => Me(u),
|
|
3018
3026
|
onClear: () => me(),
|
|
@@ -3050,13 +3058,13 @@ const bn = /* @__PURE__ */ de({
|
|
|
3050
3058
|
case "select-input":
|
|
3051
3059
|
return S(u);
|
|
3052
3060
|
default:
|
|
3053
|
-
return m(
|
|
3061
|
+
return m(K, null, null);
|
|
3054
3062
|
}
|
|
3055
3063
|
}, Qe = j(() => {
|
|
3056
3064
|
var T;
|
|
3057
3065
|
const u = [], M = k.value.length - 1;
|
|
3058
3066
|
return (T = k.value) == null || T.forEach((x, $) => {
|
|
3059
|
-
let
|
|
3067
|
+
let Z, J;
|
|
3060
3068
|
if (!x)
|
|
3061
3069
|
return [];
|
|
3062
3070
|
const Y = x.col || 1;
|
|
@@ -3081,8 +3089,8 @@ const bn = /* @__PURE__ */ de({
|
|
|
3081
3089
|
}, [m(ut, {
|
|
3082
3090
|
label: x.type === "select-input" ? "" : x.label,
|
|
3083
3091
|
prop: x.key
|
|
3084
|
-
}, vt(
|
|
3085
|
-
default: () => [
|
|
3092
|
+
}, vt(Z = Te(x)) ? Z : {
|
|
3093
|
+
default: () => [Z]
|
|
3086
3094
|
}), m(xe, {
|
|
3087
3095
|
name: "icon-sousuo1",
|
|
3088
3096
|
pop: !0,
|
|
@@ -3103,13 +3111,13 @@ const bn = /* @__PURE__ */ de({
|
|
|
3103
3111
|
) : m(ut, {
|
|
3104
3112
|
label: x.type === "select-input" ? "" : x.label,
|
|
3105
3113
|
prop: x.key
|
|
3106
|
-
}, vt(
|
|
3107
|
-
default: () => [
|
|
3114
|
+
}, vt(J = Te(x)) ? J : {
|
|
3115
|
+
default: () => [J]
|
|
3108
3116
|
})]
|
|
3109
3117
|
}));
|
|
3110
3118
|
}), u;
|
|
3111
3119
|
});
|
|
3112
|
-
return () => m(
|
|
3120
|
+
return () => m(K, null, [m(Pt, {
|
|
3113
3121
|
class: "gl-search-card",
|
|
3114
3122
|
shadow: t.shadow
|
|
3115
3123
|
}, {
|
|
@@ -3234,7 +3242,7 @@ const bn = /* @__PURE__ */ de({
|
|
|
3234
3242
|
}), p = j(() => b.value.length), W = `${y.headerHeight}px`;
|
|
3235
3243
|
return (k, L) => {
|
|
3236
3244
|
const z = ne("el-card");
|
|
3237
|
-
return
|
|
3245
|
+
return n(), f(
|
|
3238
3246
|
"div",
|
|
3239
3247
|
{
|
|
3240
3248
|
class: ue(["ik-page-header", { "show-search": l.value }])
|
|
@@ -3265,7 +3273,7 @@ const bn = /* @__PURE__ */ de({
|
|
|
3265
3273
|
d("div", wn, [
|
|
3266
3274
|
_(" 右侧操作或自定义内容 "),
|
|
3267
3275
|
ve(k.$slots, "headerRight", {}, void 0, !0),
|
|
3268
|
-
t.exportBtn ? (
|
|
3276
|
+
t.exportBtn ? (n(), V(C(xe), {
|
|
3269
3277
|
key: 0,
|
|
3270
3278
|
name: "iksvg_xiazai",
|
|
3271
3279
|
type: "primary",
|
|
@@ -3273,7 +3281,7 @@ const bn = /* @__PURE__ */ de({
|
|
|
3273
3281
|
"show-bg": "",
|
|
3274
3282
|
size: "default"
|
|
3275
3283
|
})) : _("v-if", !0),
|
|
3276
|
-
p.value ? (
|
|
3284
|
+
p.value ? (n(), V(C(xe), {
|
|
3277
3285
|
key: 1,
|
|
3278
3286
|
name: "iksvg_shaixuan1",
|
|
3279
3287
|
size: "default",
|
|
@@ -3281,7 +3289,7 @@ const bn = /* @__PURE__ */ de({
|
|
|
3281
3289
|
"show-bg": "",
|
|
3282
3290
|
onClick: A
|
|
3283
3291
|
}, null, 8, ["title"])) : _("v-if", !0),
|
|
3284
|
-
t.refreshBtn ? (
|
|
3292
|
+
t.refreshBtn ? (n(), V(C(xe), {
|
|
3285
3293
|
key: 2,
|
|
3286
3294
|
name: "iksvg_zhongzhi1",
|
|
3287
3295
|
title: "保留搜索条件刷新",
|
|
@@ -3501,7 +3509,7 @@ const Bn = /* @__PURE__ */ se(Cn, [["__scopeId", "data-v-659625f1"]]), mt = {
|
|
|
3501
3509
|
};
|
|
3502
3510
|
return (k, L) => {
|
|
3503
3511
|
const z = ne("el-pagination");
|
|
3504
|
-
return
|
|
3512
|
+
return n(), V(z, te({
|
|
3505
3513
|
"current-page": A.value,
|
|
3506
3514
|
"onUpdate:currentPage": L[0] || (L[0] = (r) => A.value = r),
|
|
3507
3515
|
"page-size": b.value,
|
|
@@ -3556,19 +3564,19 @@ const Tn = /* @__PURE__ */ se(Sn, [["__scopeId", "data-v-e7b4fc6e"]]), In = /* @
|
|
|
3556
3564
|
return y({ table: z }), (a, c) => {
|
|
3557
3565
|
var H, N, h;
|
|
3558
3566
|
const i = ne("el-table-column"), v = ne("el-table"), R = Je("loading");
|
|
3559
|
-
return
|
|
3560
|
-
|
|
3567
|
+
return n(), f(
|
|
3568
|
+
K,
|
|
3561
3569
|
null,
|
|
3562
3570
|
[
|
|
3563
3571
|
_(" 自定义表格 "),
|
|
3564
|
-
(H = a.$slots) != null && H.table ? ve(a.$slots, "table", { key: 0 }, void 0, !0) : (
|
|
3565
|
-
|
|
3572
|
+
(H = a.$slots) != null && H.table ? ve(a.$slots, "table", { key: 0 }, void 0, !0) : (n(), f(
|
|
3573
|
+
K,
|
|
3566
3574
|
{ key: 1 },
|
|
3567
3575
|
[
|
|
3568
3576
|
_(" 默认表格 "),
|
|
3569
3577
|
m(yt, { name: "el-zoom-in-center" }, {
|
|
3570
3578
|
default: P(() => [
|
|
3571
|
-
Ce((
|
|
3579
|
+
Ce((n(), V(v, te({
|
|
3572
3580
|
ref_key: "refTable",
|
|
3573
3581
|
ref: z
|
|
3574
3582
|
}, { ...a.$attrs, ...l }, {
|
|
@@ -3577,13 +3585,13 @@ const Tn = /* @__PURE__ */ se(Sn, [["__scopeId", "data-v-e7b4fc6e"]]), In = /* @
|
|
|
3577
3585
|
onSelectionChange: L
|
|
3578
3586
|
}), {
|
|
3579
3587
|
default: P(() => [
|
|
3580
|
-
a.selection ? (
|
|
3588
|
+
a.selection ? (n(), V(i, {
|
|
3581
3589
|
key: 0,
|
|
3582
3590
|
type: "selection",
|
|
3583
3591
|
align: "center",
|
|
3584
3592
|
width: "56"
|
|
3585
3593
|
})) : _("v-if", !0),
|
|
3586
|
-
a.serial ? (
|
|
3594
|
+
a.serial ? (n(), V(i, {
|
|
3587
3595
|
key: 1,
|
|
3588
3596
|
prop: "__index",
|
|
3589
3597
|
label: "序号",
|
|
@@ -3606,7 +3614,7 @@ const Tn = /* @__PURE__ */ se(Sn, [["__scopeId", "data-v-e7b4fc6e"]]), In = /* @
|
|
|
3606
3614
|
/* STABLE_FRAGMENT */
|
|
3607
3615
|
)),
|
|
3608
3616
|
_(" 分页 "),
|
|
3609
|
-
a.total ? (
|
|
3617
|
+
a.total ? (n(), V(Tn, {
|
|
3610
3618
|
key: 2,
|
|
3611
3619
|
current: ((h = (N = a.$attrs) == null ? void 0 : N.page) == null ? void 0 : h.page) || 1,
|
|
3612
3620
|
total: a.total,
|
|
@@ -3671,8 +3679,8 @@ const Vn = /* @__PURE__ */ se(In, [["__scopeId", "data-v-7e61d7f1"]]), Un = { cl
|
|
|
3671
3679
|
handAdd: h
|
|
3672
3680
|
}), (w, U) => {
|
|
3673
3681
|
const S = ne("el-button"), F = ne("IkNumberDuration"), E = ne("el-table-column"), ie = Je("role");
|
|
3674
|
-
return
|
|
3675
|
-
|
|
3682
|
+
return n(), f(
|
|
3683
|
+
K,
|
|
3676
3684
|
null,
|
|
3677
3685
|
[
|
|
3678
3686
|
_(" 标题 + 搜索表单 "),
|
|
@@ -3691,7 +3699,7 @@ const Vn = /* @__PURE__ */ se(In, [["__scopeId", "data-v-7e61d7f1"]]), Un = { cl
|
|
|
3691
3699
|
]),
|
|
3692
3700
|
headerRight: P(() => [
|
|
3693
3701
|
ve(w.$slots, "headerRight", {}, () => [
|
|
3694
|
-
oe.value ? Ce((
|
|
3702
|
+
oe.value ? Ce((n(), V(S, {
|
|
3695
3703
|
key: 0,
|
|
3696
3704
|
type: "primary",
|
|
3697
3705
|
onClick: U[0] || (U[0] = (D) => h(null))
|
|
@@ -3710,7 +3718,7 @@ const Vn = /* @__PURE__ */ se(In, [["__scopeId", "data-v-7e61d7f1"]]), Un = { cl
|
|
|
3710
3718
|
/* FORWARDED */
|
|
3711
3719
|
}, 16, ["modelValue", "loading", "tab-id"]),
|
|
3712
3720
|
_(" 选中表格项 "),
|
|
3713
|
-
w.selection ? (
|
|
3721
|
+
w.selection ? (n(), f(
|
|
3714
3722
|
"div",
|
|
3715
3723
|
{
|
|
3716
3724
|
key: 0,
|
|
@@ -3725,8 +3733,8 @@ const Vn = /* @__PURE__ */ se(In, [["__scopeId", "data-v-7e61d7f1"]]), Un = { cl
|
|
|
3725
3733
|
le(" 条 ")
|
|
3726
3734
|
]),
|
|
3727
3735
|
d("div", $n, [
|
|
3728
|
-
w.$slots.selectionRight ? ve(w.$slots, "selectionRight", { key: 1 }, void 0, !0) : (
|
|
3729
|
-
|
|
3736
|
+
w.$slots.selectionRight ? ve(w.$slots, "selectionRight", { key: 1 }, void 0, !0) : (n(), f(
|
|
3737
|
+
K,
|
|
3730
3738
|
{ key: 0 },
|
|
3731
3739
|
[
|
|
3732
3740
|
m(C(xe), {
|
|
@@ -3761,20 +3769,20 @@ const Vn = /* @__PURE__ */ se(In, [["__scopeId", "data-v-7e61d7f1"]]), Un = { cl
|
|
|
3761
3769
|
onSelectionChange: L
|
|
3762
3770
|
}), {
|
|
3763
3771
|
default: P(() => [
|
|
3764
|
-
(
|
|
3765
|
-
|
|
3772
|
+
(n(!0), f(
|
|
3773
|
+
K,
|
|
3766
3774
|
null,
|
|
3767
|
-
ge(r.value, (D) => (
|
|
3768
|
-
|
|
3775
|
+
ge(r.value, (D) => (n(), f(
|
|
3776
|
+
K,
|
|
3769
3777
|
{
|
|
3770
3778
|
key: D.key
|
|
3771
3779
|
},
|
|
3772
3780
|
[
|
|
3773
|
-
D.show ? (
|
|
3774
|
-
|
|
3781
|
+
D.show ? (n(), f(
|
|
3782
|
+
K,
|
|
3775
3783
|
{ key: 0 },
|
|
3776
3784
|
[
|
|
3777
|
-
D.tableSlot ? (
|
|
3785
|
+
D.tableSlot ? (n(), V(E, te({
|
|
3778
3786
|
key: 1,
|
|
3779
3787
|
align: D.align,
|
|
3780
3788
|
width: D.width,
|
|
@@ -3789,7 +3797,7 @@ const Vn = /* @__PURE__ */ se(In, [["__scopeId", "data-v-7e61d7f1"]]), Un = { cl
|
|
|
3789
3797
|
]),
|
|
3790
3798
|
_: 2
|
|
3791
3799
|
/* DYNAMIC */
|
|
3792
|
-
}, 1040, ["align", "width", "min-width", "show-overflow-tooltip"])) : (
|
|
3800
|
+
}, 1040, ["align", "width", "min-width", "show-overflow-tooltip"])) : (n(), V(E, te({
|
|
3793
3801
|
key: 0,
|
|
3794
3802
|
prop: D.key,
|
|
3795
3803
|
width: D.width,
|