iking-web-ui-pro 0.2.43 → 0.2.44
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/IKPreviewFile/ik.index.es.js +352 -354
- package/dist/IKPreviewFile/ik.index.umd.js +44 -44
- package/dist/IKSearch/ik.index.es.js +111 -109
- package/dist/IKSearch/ik.index.umd.js +2 -2
- package/dist/IkApprovalProcess/ik.index.es.js +167 -158
- package/dist/IkApprovalProcess/ik.index.umd.js +1 -1
- package/dist/IkApprovalProcess/style.css +1 -1
- package/dist/IkApprovalProcessDetail/ik.index.es.js +359 -361
- package/dist/IkApprovalProcessDetail/ik.index.umd.js +44 -44
- package/dist/IkCalendar/ik.index.es.js +355 -353
- package/dist/IkCalendar/ik.index.umd.js +1 -1
- package/dist/IkDescription/ik.index.es.js +299 -301
- package/dist/IkDescription/ik.index.umd.js +44 -44
- package/dist/IkDetailPreviewFiles/ik.index.es.js +307 -309
- package/dist/IkDetailPreviewFiles/ik.index.umd.js +44 -44
- package/dist/IkOnlyOffice/ik.index.es.js +13 -19
- package/dist/IkOnlyOffice/ik.index.umd.js +1 -1
- package/dist/IkPageFull/ik.index.es.js +154 -152
- package/dist/IkPageFull/ik.index.umd.js +2 -2
- package/dist/IkPickerUser/ik.index.es.js +119 -117
- package/dist/IkPickerUser/ik.index.umd.js +1 -1
- package/dist/IkPreviewFileDialog/ik.index.es.js +343 -345
- package/dist/IkPreviewFileDialog/ik.index.umd.js +44 -44
- package/dist/IkTemplateOfficeConfig/ik.index.es.js +77 -78
- package/dist/IkTemplateOfficeConfig/ik.index.umd.js +1 -1
- package/dist/IkTinymce/ik.index.es.js +8803 -8741
- package/dist/IkTinymce/ik.index.umd.js +38 -38
- package/dist/IkTinymce/style.css +1 -1
- package/dist/IkUploadFile/ik.index.es.js +333 -335
- package/dist/IkUploadFile/ik.index.umd.js +46 -46
- package/dist/index.es.js +6738 -6729
- package/dist/index.umd.js +106 -106
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/IkOnlyOffice/style.css +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { inject as
|
|
2
|
-
import {
|
|
3
|
-
import { ElCheckbox as
|
|
1
|
+
import { inject as ie, computed as U, openBlock as a, createElementBlock as d, createElementVNode as n, defineComponent as ne, resolveComponent as fe, createBlock as B, toDisplayString as P, createCommentVNode as x, ref as E, Fragment as N, unref as O, withCtx as I, createTextVNode as Y, renderList as j, createVNode as w, normalizeClass as se, pushScopeId as he, popScopeId as Ae, useCssVars as nt, watch as K, toRef as it, reactive as Te, nextTick as ke, watchEffect as $e, withModifiers as re, normalizeStyle as He, withDirectives as ce, vShow as rt, mergeProps as Me } from "vue";
|
|
2
|
+
import { ikStore as ae, _ as X, ikEvent as pt } from "iking-utils-pro";
|
|
3
|
+
import { ElCheckbox as oe, ElCheckboxGroup as Le, ElRadioGroup as be, ElRadio as Ce, ElDialog as dt, ElButton as Oe, ElInput as ut, ElBreadcrumb as ct, ElBreadcrumbItem as ft, vLoading as Pe } from "element-plus";
|
|
4
4
|
import ht from "axios";
|
|
5
5
|
const Ge = (o, v) => {
|
|
6
6
|
if (o.install = (e) => {
|
|
@@ -181,14 +181,14 @@ const Ge = (o, v) => {
|
|
|
181
181
|
"flv",
|
|
182
182
|
"tls"
|
|
183
183
|
], ze = (o) => {
|
|
184
|
-
const v =
|
|
184
|
+
const v = ie("loadUrl"), e = U(() => o.loadUrl || o.fileUrl || (v == null ? void 0 : v.value)), l = ie("uploadUrl"), k = U(() => o.action || o.uploadUrl || (l == null ? void 0 : l.value)), _ = ie("token"), b = U(() => o.token || (_ == null ? void 0 : _.value)), C = ie("onlyofficeConfig"), p = U(() => o.onlyofficeConfig || (C == null ? void 0 : C.value)), D = ie("userInfo"), V = U(() => o.userInfo || (D == null ? void 0 : D.value)), F = [...We, ...We.map((y) => y.toLocaleUpperCase())];
|
|
185
185
|
return {
|
|
186
186
|
cLoadUrl: e,
|
|
187
187
|
cUploadUrl: k,
|
|
188
188
|
cToken: b,
|
|
189
189
|
cOnlyofficeConfig: p,
|
|
190
190
|
cUserInfo: V,
|
|
191
|
-
cOnlyofficePreviewType:
|
|
191
|
+
cOnlyofficePreviewType: F
|
|
192
192
|
};
|
|
193
193
|
}, mt = {}, gt = {
|
|
194
194
|
t: "1672194715727",
|
|
@@ -292,10 +292,10 @@ const Bt = /* @__PURE__ */ G(kt, [["render", Ut]]), wt = {}, It = {
|
|
|
292
292
|
Et,
|
|
293
293
|
Vt
|
|
294
294
|
];
|
|
295
|
-
function
|
|
295
|
+
function Dt(o, v) {
|
|
296
296
|
return a(), d("svg", It, Nt);
|
|
297
297
|
}
|
|
298
|
-
const
|
|
298
|
+
const Ft = /* @__PURE__ */ G(wt, [["render", Dt]]), Rt = {}, $t = {
|
|
299
299
|
t: "1710904436436",
|
|
300
300
|
class: "icon",
|
|
301
301
|
viewBox: "0 0 1024 1024",
|
|
@@ -373,7 +373,7 @@ const Yt = /* @__PURE__ */ G(zt, [["render", Kt]]), Jt = { class: "avatar" }, el
|
|
|
373
373
|
}, tl = {
|
|
374
374
|
key: 1,
|
|
375
375
|
class: "avatar_name"
|
|
376
|
-
}, ll = /* @__PURE__ */
|
|
376
|
+
}, ll = /* @__PURE__ */ ne({
|
|
377
377
|
__name: "Avatar",
|
|
378
378
|
props: {
|
|
379
379
|
fixPropOpt: {
|
|
@@ -399,9 +399,9 @@ const Yt = /* @__PURE__ */ G(zt, [["render", Kt]]), Jt = { class: "avatar" }, el
|
|
|
399
399
|
setup(o) {
|
|
400
400
|
const v = o, { cLoadUrl: e } = ze(v), l = (k) => At(e.value, k);
|
|
401
401
|
return (k, _) => {
|
|
402
|
-
const b =
|
|
402
|
+
const b = fe("el-avatar");
|
|
403
403
|
return a(), d("div", Jt, [
|
|
404
|
-
v.fixTypeOpt.group === o.element[v.fixPropOpt.type] ? (a(), B(Yt, { key: 0 })) : v.fixTypeOpt.role === o.element[v.fixPropOpt.type] ? (a(), B(
|
|
404
|
+
v.fixTypeOpt.group === o.element[v.fixPropOpt.type] ? (a(), B(Yt, { key: 0 })) : v.fixTypeOpt.role === o.element[v.fixPropOpt.type] ? (a(), B(Ft, { key: 1 })) : v.fixTypeOpt.post === o.element[v.fixPropOpt.type] ? (a(), B(Gt, { key: 2 })) : v.fixTypeOpt.user === o.element[v.fixPropOpt.type] ? (a(), d("div", el, [
|
|
405
405
|
o.element[o.fixPropOpt.avatar] ? (a(), B(b, {
|
|
406
406
|
key: 0,
|
|
407
407
|
shape: "square",
|
|
@@ -418,7 +418,7 @@ const Yt = /* @__PURE__ */ G(zt, [["render", Kt]]), Jt = { class: "avatar" }, el
|
|
|
418
418
|
};
|
|
419
419
|
}
|
|
420
420
|
});
|
|
421
|
-
const
|
|
421
|
+
const M = /* @__PURE__ */ G(ll, [["__scopeId", "data-v-8031ce9b"]]), Se = "data:image/webp;base64,UklGRogSAABXRUJQVlA4WAoAAAAwAAAAxwAAzQAASUNDUMgBAAAAAAHIAAAAAAQwAABtbnRyUkdCIFhZWiAH4AABAAEAAAAAAABhY3NwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAA9tYAAQAAAADTLQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAlkZXNjAAAA8AAAACRyWFlaAAABFAAAABRnWFlaAAABKAAAABRiWFlaAAABPAAAABR3dHB0AAABUAAAABRyVFJDAAABZAAAAChnVFJDAAABZAAAAChiVFJDAAABZAAAAChjcHJ0AAABjAAAADxtbHVjAAAAAAAAAAEAAAAMZW5VUwAAAAgAAAAcAHMAUgBHAEJYWVogAAAAAAAAb6IAADj1AAADkFhZWiAAAAAAAABimQAAt4UAABjaWFlaIAAAAAAAACSgAAAPhAAAts9YWVogAAAAAAAA9tYAAQAAAADTLXBhcmEAAAAAAAQAAAACZmYAAPKnAAANWQAAE9AAAApbAAAAAAAAAABtbHVjAAAAAAAAAAEAAAAMZW5VUwAA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2Y9f3+xrM9KPN55AGLwUs8yRaGNKw9ngyAAfv8bf7tO4JOhTqKsM4JbfTtFKmlQhMS77J/ZyxsS7I+u5WO0/gjo83E7/80LOn4Ple50oLNP3yW4yTSnlNCwg+COLMFER8MfaIeAHTLvnkH3eDLow61YfoXxUp6SIMiBAHJ75Y1CrZeW1DvEoWdfnDhpz06KBs12oE7Ob6wCwc+FXeaKHfhDxAz/7xTqCDxZf++IGd1QQAB/TN8qRAl4EZQF8tbRrVQIKm2g8cbO8potBMoXyVFfUtI4r31krwmWYxDz2AAAAAAAA", Ue = {
|
|
422
422
|
// 所有数据
|
|
423
423
|
list: {
|
|
424
424
|
type: Array,
|
|
@@ -521,7 +521,7 @@ const $ = /* @__PURE__ */ G(ll, [["__scopeId", "data-v-8031ce9b"]]), Se = "data:
|
|
|
521
521
|
null,
|
|
522
522
|
-1
|
|
523
523
|
/* HOISTED */
|
|
524
|
-
)), Bl = /* @__PURE__ */
|
|
524
|
+
)), Bl = /* @__PURE__ */ ne({
|
|
525
525
|
__name: "GroupList",
|
|
526
526
|
props: Ue,
|
|
527
527
|
emits: ["change", "check", "handChild"],
|
|
@@ -542,11 +542,11 @@ const $ = /* @__PURE__ */ G(ll, [["__scopeId", "data-v-8031ce9b"]]), Se = "data:
|
|
|
542
542
|
return r[e.fixPropOpt.id];
|
|
543
543
|
}) : [];
|
|
544
544
|
C("change", t, A ? e.list : []);
|
|
545
|
-
},
|
|
545
|
+
}, D = (A) => {
|
|
546
546
|
C("change", A, e.list);
|
|
547
547
|
}, V = (A) => {
|
|
548
548
|
C("change", A, e.list);
|
|
549
|
-
},
|
|
549
|
+
}, F = (A, t) => {
|
|
550
550
|
t || C("handChild", A);
|
|
551
551
|
};
|
|
552
552
|
return (A, t) => (a(), d(
|
|
@@ -555,7 +555,7 @@ const $ = /* @__PURE__ */ G(ll, [["__scopeId", "data-v-8031ce9b"]]), Se = "data:
|
|
|
555
555
|
[
|
|
556
556
|
x(" 遍历list多选 "),
|
|
557
557
|
n("div", sl, [
|
|
558
|
-
A.multiple && A.list && A.list.length ? (a(), B(O(
|
|
558
|
+
A.multiple && A.list && A.list.length ? (a(), B(O(oe), {
|
|
559
559
|
key: 0,
|
|
560
560
|
modelValue: l.value,
|
|
561
561
|
"onUpdate:modelValue": t[0] || (t[0] = (r) => l.value = r),
|
|
@@ -573,20 +573,20 @@ const $ = /* @__PURE__ */ G(ll, [["__scopeId", "data-v-8031ce9b"]]), Se = "data:
|
|
|
573
573
|
key: 0,
|
|
574
574
|
modelValue: _.value,
|
|
575
575
|
"onUpdate:modelValue": t[1] || (t[1] = (r) => _.value = r),
|
|
576
|
-
onChange:
|
|
576
|
+
onChange: D
|
|
577
577
|
}, {
|
|
578
578
|
default: I(() => [
|
|
579
579
|
(a(!0), d(
|
|
580
580
|
N,
|
|
581
581
|
null,
|
|
582
|
-
|
|
582
|
+
j(A.list, (r) => {
|
|
583
583
|
var h;
|
|
584
584
|
return a(), d("li", {
|
|
585
585
|
key: r[e.fixPropOpt.id]
|
|
586
586
|
}, [
|
|
587
587
|
A.chooseType.includes(
|
|
588
588
|
r[e.fixPropOpt.type].toLowerCase()
|
|
589
|
-
) && r.available !== !1 ? (a(), B(O(
|
|
589
|
+
) && r.available !== !1 ? (a(), B(O(oe), {
|
|
590
590
|
key: 0,
|
|
591
591
|
label: r[e.fixPropOpt.id],
|
|
592
592
|
disabled: r.available === !1
|
|
@@ -594,7 +594,7 @@ const $ = /* @__PURE__ */ G(ll, [["__scopeId", "data-v-8031ce9b"]]), Se = "data:
|
|
|
594
594
|
default: I(() => [
|
|
595
595
|
n("div", ol, [
|
|
596
596
|
n("div", nl, [
|
|
597
|
-
w(
|
|
597
|
+
w(M, {
|
|
598
598
|
fixTypeOpt: e.fixTypeOpt,
|
|
599
599
|
fixPropOpt: e.fixPropOpt,
|
|
600
600
|
element: r,
|
|
@@ -624,7 +624,7 @@ const $ = /* @__PURE__ */ G(ll, [["__scopeId", "data-v-8031ce9b"]]), Se = "data:
|
|
|
624
624
|
}, 1032, ["label", "disabled"])) : (a(), d("div", dl, [
|
|
625
625
|
ul,
|
|
626
626
|
n("div", cl, [
|
|
627
|
-
w(
|
|
627
|
+
w(M, {
|
|
628
628
|
fixTypeOpt: e.fixTypeOpt,
|
|
629
629
|
fixPropOpt: e.fixPropOpt,
|
|
630
630
|
element: r,
|
|
@@ -657,7 +657,7 @@ const $ = /* @__PURE__ */ G(ll, [["__scopeId", "data-v-8031ce9b"]]), Se = "data:
|
|
|
657
657
|
}]),
|
|
658
658
|
onClick: (u) => {
|
|
659
659
|
var S;
|
|
660
|
-
return
|
|
660
|
+
return F(
|
|
661
661
|
r,
|
|
662
662
|
(S = _.value) == null ? void 0 : S.find((c) => c === r[e.fixPropOpt.id])
|
|
663
663
|
);
|
|
@@ -682,7 +682,7 @@ const $ = /* @__PURE__ */ G(ll, [["__scopeId", "data-v-8031ce9b"]]), Se = "data:
|
|
|
682
682
|
(a(!0), d(
|
|
683
683
|
N,
|
|
684
684
|
null,
|
|
685
|
-
|
|
685
|
+
j(A.list, (r) => {
|
|
686
686
|
var h;
|
|
687
687
|
return a(), d("li", {
|
|
688
688
|
class: "w-full",
|
|
@@ -695,7 +695,7 @@ const $ = /* @__PURE__ */ G(ll, [["__scopeId", "data-v-8031ce9b"]]), Se = "data:
|
|
|
695
695
|
default: I(() => [
|
|
696
696
|
n("div", yl, [
|
|
697
697
|
n("div", ml, [
|
|
698
|
-
w(
|
|
698
|
+
w(M, {
|
|
699
699
|
fixTypeOpt: e.fixTypeOpt,
|
|
700
700
|
fixPropOpt: e.fixPropOpt,
|
|
701
701
|
element: r,
|
|
@@ -725,7 +725,7 @@ const $ = /* @__PURE__ */ G(ll, [["__scopeId", "data-v-8031ce9b"]]), Se = "data:
|
|
|
725
725
|
}, 1032, ["label"])) : (a(), d("div", Ol, [
|
|
726
726
|
Pl,
|
|
727
727
|
n("div", Tl, [
|
|
728
|
-
w(
|
|
728
|
+
w(M, {
|
|
729
729
|
fixTypeOpt: e.fixTypeOpt,
|
|
730
730
|
fixPropOpt: e.fixPropOpt,
|
|
731
731
|
element: r,
|
|
@@ -758,7 +758,7 @@ const $ = /* @__PURE__ */ G(ll, [["__scopeId", "data-v-8031ce9b"]]), Se = "data:
|
|
|
758
758
|
}]),
|
|
759
759
|
onClick: (u) => {
|
|
760
760
|
var S;
|
|
761
|
-
return
|
|
761
|
+
return F(
|
|
762
762
|
r,
|
|
763
763
|
(S = _.value) == null ? void 0 : S.find((c) => c === r[e.fixPropOpt.id])
|
|
764
764
|
);
|
|
@@ -796,13 +796,13 @@ const wl = /* @__PURE__ */ G(Bl, [["__scopeId", "data-v-8c34a55d"]]), we = (o) =
|
|
|
796
796
|
}, Vl = { class: "iconBox" }, Nl = {
|
|
797
797
|
key: 1,
|
|
798
798
|
class: "checkText"
|
|
799
|
-
},
|
|
799
|
+
}, Dl = /* @__PURE__ */ we(() => /* @__PURE__ */ n(
|
|
800
800
|
"div",
|
|
801
801
|
{ class: "side" },
|
|
802
802
|
null,
|
|
803
803
|
-1
|
|
804
804
|
/* HOISTED */
|
|
805
|
-
)),
|
|
805
|
+
)), Fl = { class: "iconBox" }, Rl = { class: "title" }, $l = { class: "ik-picker-single" }, Ml = { class: "iconBox" }, Wl = {
|
|
806
806
|
key: 1,
|
|
807
807
|
class: "checkText"
|
|
808
808
|
}, jl = /* @__PURE__ */ we(() => /* @__PURE__ */ n(
|
|
@@ -823,12 +823,12 @@ const wl = /* @__PURE__ */ G(Bl, [["__scopeId", "data-v-8c34a55d"]]), we = (o) =
|
|
|
823
823
|
null,
|
|
824
824
|
-1
|
|
825
825
|
/* HOISTED */
|
|
826
|
-
)), Xl = /* @__PURE__ */
|
|
826
|
+
)), Xl = /* @__PURE__ */ ne({
|
|
827
827
|
__name: "PostList",
|
|
828
828
|
props: Ue,
|
|
829
829
|
emits: ["change", "check"],
|
|
830
830
|
setup(o, { emit: v }) {
|
|
831
|
-
var
|
|
831
|
+
var F, y;
|
|
832
832
|
const e = o, l = U(() => {
|
|
833
833
|
var i, A;
|
|
834
834
|
return ((i = e.handList) == null ? void 0 : i.length) === ((A = e.list) == null ? void 0 : A.length);
|
|
@@ -838,10 +838,10 @@ const wl = /* @__PURE__ */ G(Bl, [["__scopeId", "data-v-8c34a55d"]]), we = (o) =
|
|
|
838
838
|
return e.multiple ? _.value = e.handList.map((S) => S[e.fixPropOpt.id]) : b.value = (u = (h = e.handList) == null ? void 0 : h[0]) == null ? void 0 : u[e.fixPropOpt.id], i > 0 && i < A;
|
|
839
839
|
}), _ = E(
|
|
840
840
|
e.handList.map((i) => i[e.fixPropOpt.id])
|
|
841
|
-
), b = E((y = (
|
|
841
|
+
), b = E((y = (F = e.handList) == null ? void 0 : F[0]) == null ? void 0 : y[e.fixPropOpt.id]), C = v, p = (i) => {
|
|
842
842
|
const A = i ? e.list.map((t) => t[e.fixPropOpt.id]) : [];
|
|
843
843
|
C("change", A, i ? e.list : []);
|
|
844
|
-
},
|
|
844
|
+
}, D = (i) => {
|
|
845
845
|
C("change", i, e.list);
|
|
846
846
|
}, V = (i) => {
|
|
847
847
|
C("change", i, e.list);
|
|
@@ -852,7 +852,7 @@ const wl = /* @__PURE__ */ G(Bl, [["__scopeId", "data-v-8c34a55d"]]), we = (o) =
|
|
|
852
852
|
[
|
|
853
853
|
x(" 遍历list多选 "),
|
|
854
854
|
n("div", Il, [
|
|
855
|
-
i.multiple && i.chooseType.includes("post") && i.list && i.list.length ? (a(), B(O(
|
|
855
|
+
i.multiple && i.chooseType.includes("post") && i.list && i.list.length ? (a(), B(O(oe), {
|
|
856
856
|
key: 0,
|
|
857
857
|
modelValue: l.value,
|
|
858
858
|
"onUpdate:modelValue": A[0] || (A[0] = (t) => l.value = t),
|
|
@@ -870,22 +870,22 @@ const wl = /* @__PURE__ */ G(Bl, [["__scopeId", "data-v-8c34a55d"]]), we = (o) =
|
|
|
870
870
|
key: 0,
|
|
871
871
|
modelValue: _.value,
|
|
872
872
|
"onUpdate:modelValue": A[1] || (A[1] = (t) => _.value = t),
|
|
873
|
-
onChange:
|
|
873
|
+
onChange: D
|
|
874
874
|
}, {
|
|
875
875
|
default: I(() => [
|
|
876
876
|
(a(!0), d(
|
|
877
877
|
N,
|
|
878
878
|
null,
|
|
879
|
-
|
|
879
|
+
j(i.list, (t) => (a(), d("li", {
|
|
880
880
|
key: t[e.fixPropOpt.id]
|
|
881
881
|
}, [
|
|
882
|
-
i.chooseType.includes(t[e.fixPropOpt.type].toLowerCase()) ? (a(), B(O(
|
|
882
|
+
i.chooseType.includes(t[e.fixPropOpt.type].toLowerCase()) ? (a(), B(O(oe), {
|
|
883
883
|
key: 0,
|
|
884
884
|
label: t[e.fixPropOpt.id]
|
|
885
885
|
}, {
|
|
886
886
|
default: I(() => [
|
|
887
887
|
n("div", Vl, [
|
|
888
|
-
w(
|
|
888
|
+
w(M, {
|
|
889
889
|
fixTypeOpt: e.fixTypeOpt,
|
|
890
890
|
fixPropOpt: e.fixPropOpt,
|
|
891
891
|
element: t,
|
|
@@ -903,9 +903,9 @@ const wl = /* @__PURE__ */ G(Bl, [["__scopeId", "data-v-8c34a55d"]]), we = (o) =
|
|
|
903
903
|
_: 2
|
|
904
904
|
/* DYNAMIC */
|
|
905
905
|
}, 1032, ["label"])) : (a(), d("div", Nl, [
|
|
906
|
-
|
|
907
|
-
n("div",
|
|
908
|
-
w(
|
|
906
|
+
Dl,
|
|
907
|
+
n("div", Fl, [
|
|
908
|
+
w(M, {
|
|
909
909
|
fixTypeOpt: e.fixTypeOpt,
|
|
910
910
|
fixPropOpt: e.fixPropOpt,
|
|
911
911
|
element: t,
|
|
@@ -938,7 +938,7 @@ const wl = /* @__PURE__ */ G(Bl, [["__scopeId", "data-v-8c34a55d"]]), we = (o) =
|
|
|
938
938
|
(a(!0), d(
|
|
939
939
|
N,
|
|
940
940
|
null,
|
|
941
|
-
|
|
941
|
+
j(i.list, (t) => (a(), d("li", {
|
|
942
942
|
class: "w-full",
|
|
943
943
|
key: t[e.fixPropOpt.id]
|
|
944
944
|
}, [
|
|
@@ -949,7 +949,7 @@ const wl = /* @__PURE__ */ G(Bl, [["__scopeId", "data-v-8c34a55d"]]), we = (o) =
|
|
|
949
949
|
default: I(() => [
|
|
950
950
|
n("div", $l, [
|
|
951
951
|
n("div", Ml, [
|
|
952
|
-
w(
|
|
952
|
+
w(M, {
|
|
953
953
|
fixTypeOpt: e.fixTypeOpt,
|
|
954
954
|
fixPropOpt: e.fixPropOpt,
|
|
955
955
|
element: t,
|
|
@@ -970,7 +970,7 @@ const wl = /* @__PURE__ */ G(Bl, [["__scopeId", "data-v-8c34a55d"]]), we = (o) =
|
|
|
970
970
|
}, 1032, ["label"])) : (a(), d("div", Wl, [
|
|
971
971
|
jl,
|
|
972
972
|
n("div", Hl, [
|
|
973
|
-
w(
|
|
973
|
+
w(M, {
|
|
974
974
|
fixTypeOpt: e.fixTypeOpt,
|
|
975
975
|
fixPropOpt: e.fixPropOpt,
|
|
976
976
|
element: t,
|
|
@@ -1043,12 +1043,12 @@ const ql = /* @__PURE__ */ G(Xl, [["__scopeId", "data-v-e03f0d36"]]), Ie = (o) =
|
|
|
1043
1043
|
null,
|
|
1044
1044
|
-1
|
|
1045
1045
|
/* HOISTED */
|
|
1046
|
-
)), fs = /* @__PURE__ */
|
|
1046
|
+
)), fs = /* @__PURE__ */ ne({
|
|
1047
1047
|
__name: "RoleList",
|
|
1048
1048
|
props: Ue,
|
|
1049
1049
|
emits: ["change", "check"],
|
|
1050
1050
|
setup(o, { emit: v }) {
|
|
1051
|
-
var
|
|
1051
|
+
var F, y;
|
|
1052
1052
|
const e = o, l = U(() => {
|
|
1053
1053
|
var i, A;
|
|
1054
1054
|
return ((i = e.handList) == null ? void 0 : i.length) === ((A = e.list) == null ? void 0 : A.length);
|
|
@@ -1058,10 +1058,10 @@ const ql = /* @__PURE__ */ G(Xl, [["__scopeId", "data-v-e03f0d36"]]), Ie = (o) =
|
|
|
1058
1058
|
return e.multiple ? _.value = e.handList.map((S) => S[e.fixPropOpt.id]) : b.value = (u = (h = e.handList) == null ? void 0 : h[0]) == null ? void 0 : u[e.fixPropOpt.id], i > 0 && i < A;
|
|
1059
1059
|
}), _ = E(
|
|
1060
1060
|
e.handList.map((i) => i[e.fixPropOpt.id])
|
|
1061
|
-
), b = E((y = (
|
|
1061
|
+
), b = E((y = (F = e.handList) == null ? void 0 : F[0]) == null ? void 0 : y[e.fixPropOpt.id]), C = v, p = (i) => {
|
|
1062
1062
|
const A = i ? e.list.map((t) => t[e.fixPropOpt.id]) : [];
|
|
1063
1063
|
C("change", A, i ? e.list : []);
|
|
1064
|
-
},
|
|
1064
|
+
}, D = (i) => {
|
|
1065
1065
|
C("change", i, e.list);
|
|
1066
1066
|
}, V = (i) => {
|
|
1067
1067
|
C("change", i, e.list);
|
|
@@ -1072,7 +1072,7 @@ const ql = /* @__PURE__ */ G(Xl, [["__scopeId", "data-v-e03f0d36"]]), Ie = (o) =
|
|
|
1072
1072
|
[
|
|
1073
1073
|
x(" 遍历list多选 "),
|
|
1074
1074
|
n("div", Zl, [
|
|
1075
|
-
i.multiple && i.chooseType.includes("role") && i.list && i.list.length ? (a(), B(O(
|
|
1075
|
+
i.multiple && i.chooseType.includes("role") && i.list && i.list.length ? (a(), B(O(oe), {
|
|
1076
1076
|
key: 0,
|
|
1077
1077
|
modelValue: l.value,
|
|
1078
1078
|
"onUpdate:modelValue": A[0] || (A[0] = (t) => l.value = t),
|
|
@@ -1090,16 +1090,16 @@ const ql = /* @__PURE__ */ G(Xl, [["__scopeId", "data-v-e03f0d36"]]), Ie = (o) =
|
|
|
1090
1090
|
key: 0,
|
|
1091
1091
|
modelValue: _.value,
|
|
1092
1092
|
"onUpdate:modelValue": A[1] || (A[1] = (t) => _.value = t),
|
|
1093
|
-
onChange:
|
|
1093
|
+
onChange: D
|
|
1094
1094
|
}, {
|
|
1095
1095
|
default: I(() => [
|
|
1096
1096
|
(a(!0), d(
|
|
1097
1097
|
N,
|
|
1098
1098
|
null,
|
|
1099
|
-
|
|
1099
|
+
j(i.list, (t) => (a(), d("li", {
|
|
1100
1100
|
key: t[i.fixPropOpt.id]
|
|
1101
1101
|
}, [
|
|
1102
|
-
i.chooseType.includes(t[e.fixPropOpt.type].toLowerCase()) ? (a(), B(O(
|
|
1102
|
+
i.chooseType.includes(t[e.fixPropOpt.type].toLowerCase()) ? (a(), B(O(oe), {
|
|
1103
1103
|
key: 0,
|
|
1104
1104
|
label: t[i.fixPropOpt.id],
|
|
1105
1105
|
value: t[i.fixPropOpt.id],
|
|
@@ -1107,7 +1107,7 @@ const ql = /* @__PURE__ */ G(Xl, [["__scopeId", "data-v-e03f0d36"]]), Ie = (o) =
|
|
|
1107
1107
|
}, {
|
|
1108
1108
|
default: I(() => [
|
|
1109
1109
|
n("div", Yl, [
|
|
1110
|
-
w(
|
|
1110
|
+
w(M, {
|
|
1111
1111
|
fixTypeOpt: e.fixTypeOpt,
|
|
1112
1112
|
fixPropOpt: e.fixPropOpt,
|
|
1113
1113
|
element: t,
|
|
@@ -1123,7 +1123,7 @@ const ql = /* @__PURE__ */ G(Xl, [["__scopeId", "data-v-e03f0d36"]]), Ie = (o) =
|
|
|
1123
1123
|
}, 1032, ["label", "value", "disabled"])) : (a(), d("div", es, [
|
|
1124
1124
|
ts,
|
|
1125
1125
|
n("div", ls, [
|
|
1126
|
-
w(
|
|
1126
|
+
w(M, {
|
|
1127
1127
|
fixTypeOpt: e.fixTypeOpt,
|
|
1128
1128
|
fixPropOpt: e.fixPropOpt,
|
|
1129
1129
|
element: t,
|
|
@@ -1153,7 +1153,7 @@ const ql = /* @__PURE__ */ G(Xl, [["__scopeId", "data-v-e03f0d36"]]), Ie = (o) =
|
|
|
1153
1153
|
(a(!0), d(
|
|
1154
1154
|
N,
|
|
1155
1155
|
null,
|
|
1156
|
-
|
|
1156
|
+
j(i.list, (t) => (a(), d("li", {
|
|
1157
1157
|
class: "w-full",
|
|
1158
1158
|
key: t[i.fixPropOpt.id]
|
|
1159
1159
|
}, [
|
|
@@ -1166,7 +1166,7 @@ const ql = /* @__PURE__ */ G(Xl, [["__scopeId", "data-v-e03f0d36"]]), Ie = (o) =
|
|
|
1166
1166
|
default: I(() => [
|
|
1167
1167
|
n("div", as, [
|
|
1168
1168
|
n("div", os, [
|
|
1169
|
-
w(
|
|
1169
|
+
w(M, {
|
|
1170
1170
|
fixTypeOpt: e.fixTypeOpt,
|
|
1171
1171
|
fixPropOpt: e.fixPropOpt,
|
|
1172
1172
|
element: t,
|
|
@@ -1183,7 +1183,7 @@ const ql = /* @__PURE__ */ G(Xl, [["__scopeId", "data-v-e03f0d36"]]), Ie = (o) =
|
|
|
1183
1183
|
}, 1032, ["label", "value", "disabled"])) : (a(), d("div", is, [
|
|
1184
1184
|
rs,
|
|
1185
1185
|
n("div", ps, [
|
|
1186
|
-
w(
|
|
1186
|
+
w(M, {
|
|
1187
1187
|
fixTypeOpt: e.fixTypeOpt,
|
|
1188
1188
|
fixPropOpt: e.fixPropOpt,
|
|
1189
1189
|
element: t,
|
|
@@ -1221,7 +1221,7 @@ const ql = /* @__PURE__ */ G(Xl, [["__scopeId", "data-v-e03f0d36"]]), Ie = (o) =
|
|
|
1221
1221
|
}
|
|
1222
1222
|
});
|
|
1223
1223
|
const hs = /* @__PURE__ */ G(fs, [["__scopeId", "data-v-be3b3e45"]]);
|
|
1224
|
-
var
|
|
1224
|
+
var pe = /* @__PURE__ */ ((o) => (o.group = "group", o.role = "role", o.post = "post", o))(pe || {});
|
|
1225
1225
|
const As = {
|
|
1226
1226
|
// 是否允许选择子集
|
|
1227
1227
|
children: {
|
|
@@ -1396,7 +1396,7 @@ const As = {
|
|
|
1396
1396
|
const v = window.location.search;
|
|
1397
1397
|
return new URLSearchParams(v).get(o);
|
|
1398
1398
|
}, vs = (o) => {
|
|
1399
|
-
const v =
|
|
1399
|
+
const v = ae.local.getItem("x_domain");
|
|
1400
1400
|
v && (o["X-DOMAIN"] = v);
|
|
1401
1401
|
}, ys = (o) => {
|
|
1402
1402
|
var e;
|
|
@@ -1407,12 +1407,14 @@ const As = {
|
|
|
1407
1407
|
v === "APPLICATION" && (o["X-APP"] = l);
|
|
1408
1408
|
} else
|
|
1409
1409
|
vs(o);
|
|
1410
|
-
(e =
|
|
1410
|
+
(e = ae.local.getItem("tenant")) == null || e.code;
|
|
1411
1411
|
}, ms = (o, v) => {
|
|
1412
1412
|
const e = E([]), l = async (_, b) => {
|
|
1413
|
-
var Z, L;
|
|
1414
|
-
const { url: C, methods: p, headers:
|
|
1413
|
+
var Z, L, R;
|
|
1414
|
+
const { url: C, methods: p, headers: D, param: V } = o.value || {}, F = {
|
|
1415
1415
|
...V || {},
|
|
1416
|
+
// 额外参数
|
|
1417
|
+
rootDepartmentId: ((Z = ae.local.getItem("now_shop")) == null ? void 0 : Z.id) || "",
|
|
1416
1418
|
parentDepartmentId: _ || "",
|
|
1417
1419
|
name: b || "",
|
|
1418
1420
|
rootDepartmentOnly: v.rootDepartmentOnly,
|
|
@@ -1422,9 +1424,9 @@ const As = {
|
|
|
1422
1424
|
url: C,
|
|
1423
1425
|
headers: {
|
|
1424
1426
|
"Content-Type": "application/json;charset=UTF-8",
|
|
1425
|
-
...
|
|
1427
|
+
...D
|
|
1426
1428
|
},
|
|
1427
|
-
data: JSON.stringify(
|
|
1429
|
+
data: JSON.stringify(F)
|
|
1428
1430
|
};
|
|
1429
1431
|
ys(y.headers);
|
|
1430
1432
|
const i = await ht(y), { success: A, data: t } = i.data;
|
|
@@ -1443,12 +1445,12 @@ const As = {
|
|
|
1443
1445
|
posts: u,
|
|
1444
1446
|
users: S,
|
|
1445
1447
|
rootOrganization: c,
|
|
1446
|
-
rootDepartment:
|
|
1447
|
-
} = t, q = c ||
|
|
1448
|
+
rootDepartment: W
|
|
1449
|
+
} = t, q = c || W;
|
|
1448
1450
|
return e.value.length === 0 && (e.value[0] = v.org ? {
|
|
1449
1451
|
...v.org,
|
|
1450
1452
|
id: v.elementId,
|
|
1451
|
-
elementType: (
|
|
1453
|
+
elementType: (R = (L = v.org) == null ? void 0 : L.elementType) == null ? void 0 : R.toLocaleUpperCase()
|
|
1452
1454
|
} : {
|
|
1453
1455
|
...q,
|
|
1454
1456
|
id: q.elementId
|
|
@@ -1458,7 +1460,7 @@ const As = {
|
|
|
1458
1460
|
postList: X.cloneDeep(u),
|
|
1459
1461
|
userList: X.cloneDeep(S),
|
|
1460
1462
|
rootOrganization: c,
|
|
1461
|
-
rootDepartment:
|
|
1463
|
+
rootDepartment: W
|
|
1462
1464
|
};
|
|
1463
1465
|
};
|
|
1464
1466
|
return {
|
|
@@ -1483,15 +1485,15 @@ const As = {
|
|
|
1483
1485
|
"已选",
|
|
1484
1486
|
-1
|
|
1485
1487
|
/* HOISTED */
|
|
1486
|
-
), ks = { class: "choose-box" }, Ls = { class: "list-group-item" }, bs = { class: "item_info" }, Cs = { class: "avatar_box" }, Ss = { class: "dialog-footer" }, Us = /* @__PURE__ */
|
|
1488
|
+
), ks = { class: "choose-box" }, Ls = { class: "list-group-item" }, bs = { class: "item_info" }, Cs = { class: "avatar_box" }, Ss = { class: "dialog-footer" }, Us = /* @__PURE__ */ ne({
|
|
1487
1489
|
__name: "picker",
|
|
1488
1490
|
props: As,
|
|
1489
1491
|
emits: ["handChild", "update:show", "update:modelValue", "ok", "search"],
|
|
1490
1492
|
setup(o, { expose: v, emit: e }) {
|
|
1491
1493
|
nt((s) => ({
|
|
1492
|
-
"775d0d08":
|
|
1494
|
+
"775d0d08": Fe.value
|
|
1493
1495
|
}));
|
|
1494
|
-
const l = o, k = E(""), _ = E(""), b = E([]), C = E([]), p = E([]),
|
|
1496
|
+
const l = o, k = E(""), _ = E(""), b = E([]), C = E([]), p = E([]), D = E([]), V = E(!1), F = U(() => R.value.includes("user") ? C.value.concat(b.value) : C.value);
|
|
1495
1497
|
K(
|
|
1496
1498
|
() => l.api,
|
|
1497
1499
|
() => {
|
|
@@ -1528,14 +1530,14 @@ const As = {
|
|
|
1528
1530
|
(Q) => Q[y.value.name].includes(k.value)
|
|
1529
1531
|
), p.value = (_e = l.roleList) == null ? void 0 : _e.filter(
|
|
1530
1532
|
(Q) => Q[y.value.name].includes(k.value)
|
|
1531
|
-
),
|
|
1533
|
+
), D.value = (Re = l.postList) == null ? void 0 : Re.filter(
|
|
1532
1534
|
(Q) => Q[y.value.name].includes(k.value)
|
|
1533
1535
|
), ye(), V.value = !1;
|
|
1534
1536
|
return;
|
|
1535
1537
|
}
|
|
1536
|
-
const
|
|
1538
|
+
const $ = await r(_.value, k.value);
|
|
1537
1539
|
try {
|
|
1538
|
-
b.value = u((
|
|
1540
|
+
b.value = u(($ == null ? void 0 : $.userList) || []), C.value = u(($ == null ? void 0 : $.groupList) || []), p.value = u(($ == null ? void 0 : $.roleList) || []), D.value = u(($ == null ? void 0 : $.postList) || []);
|
|
1539
1541
|
} catch (Q) {
|
|
1540
1542
|
V.value = !1, console.info("error: ", Q);
|
|
1541
1543
|
}
|
|
@@ -1556,7 +1558,7 @@ const As = {
|
|
|
1556
1558
|
trans: [],
|
|
1557
1559
|
// 单选
|
|
1558
1560
|
single: ""
|
|
1559
|
-
}),
|
|
1561
|
+
}), W = Te({
|
|
1560
1562
|
indeterminate: !1,
|
|
1561
1563
|
checkAll: 0
|
|
1562
1564
|
}), q = (s) => c.group.has(s) || c.user.has(s) || c.role.has(s) || c.post.has(s), Z = pt.debounce(S, 300), L = U(() => {
|
|
@@ -1580,7 +1582,7 @@ const As = {
|
|
|
1580
1582
|
len: s.length
|
|
1581
1583
|
}
|
|
1582
1584
|
};
|
|
1583
|
-
}),
|
|
1585
|
+
}), R = U(() => {
|
|
1584
1586
|
const s = l.chooseType.map((m) => m.toLocaleLowerCase());
|
|
1585
1587
|
let f = [...s];
|
|
1586
1588
|
return s.includes("dep") && (f = [...f, "dept"]), s.includes("dep_user") && (f = [...f, "user"]), f;
|
|
@@ -1588,7 +1590,7 @@ const As = {
|
|
|
1588
1590
|
H.value = s, H.value.forEach((f) => {
|
|
1589
1591
|
f.readonly = f == null ? void 0 : f.disabled;
|
|
1590
1592
|
});
|
|
1591
|
-
},
|
|
1593
|
+
}, de = e, ve = E(!1), ye = (s = !1) => {
|
|
1592
1594
|
var m;
|
|
1593
1595
|
const f = (m = l == null ? void 0 : l.userList) != null && m.length ? X.cloneDeep([...l == null ? void 0 : l.userList, ...l == null ? void 0 : l.groupList]) : [...C.value, ...b.value];
|
|
1594
1596
|
return !s && Ee(f), f;
|
|
@@ -1598,12 +1600,12 @@ const As = {
|
|
|
1598
1600
|
async (s) => {
|
|
1599
1601
|
var f;
|
|
1600
1602
|
if (ve.value = s, s) {
|
|
1601
|
-
_.value = ((f = l.org) == null ? void 0 : f.elementId) || l.orgPid, !l.userList.length && !l.groupList.length && !l.roleList.length && !l.postList.length ? await S() : (b.value = l.userList, C.value = l.groupList, p.value = l.roleList,
|
|
1603
|
+
_.value = ((f = l.org) == null ? void 0 : f.elementId) || l.orgPid, !l.userList.length && !l.groupList.length && !l.roleList.length && !l.postList.length ? await S() : (b.value = l.userList, C.value = l.groupList, p.value = l.roleList, D.value = l.postList), c.trans = [], W.checkAll = 0, W.indeterminate = !1;
|
|
1602
1604
|
const m = ye(!0);
|
|
1603
1605
|
for (const T of m)
|
|
1604
1606
|
q(T[y.value.id]) && c.trans.push(T[y.value.id]);
|
|
1605
1607
|
const g = m.length === c.trans.length;
|
|
1606
|
-
|
|
1608
|
+
W.indeterminate = !!(m.length && !g), W.checkAll = Number(m.length && g), ke(() => {
|
|
1607
1609
|
var T;
|
|
1608
1610
|
(T = l.modelValue) != null && T.length ? l.modelValue.forEach((z) => {
|
|
1609
1611
|
J(z), l.multiple ? c.trans.push(z[y.value.id]) : c.single = z[y.value.id];
|
|
@@ -1616,7 +1618,7 @@ const As = {
|
|
|
1616
1618
|
let s;
|
|
1617
1619
|
s = H.value.length;
|
|
1618
1620
|
const f = c.trans.length;
|
|
1619
|
-
|
|
1621
|
+
W.indeterminate = c.trans.length ? f !== s : !1, W.checkAll = +(s !== 0 && f === s);
|
|
1620
1622
|
}), K(
|
|
1621
1623
|
() => l.modelValue,
|
|
1622
1624
|
(s) => {
|
|
@@ -1712,13 +1714,13 @@ const As = {
|
|
|
1712
1714
|
() => l.chooseType.includes("role") && l.chooseType.length === 1
|
|
1713
1715
|
), Ye = U(
|
|
1714
1716
|
() => l.chooseType.includes("post") && l.chooseType.length === 1
|
|
1715
|
-
),
|
|
1716
|
-
$e(() => (ee.value = Ke.value ? l.tabs[1] : Ye.value ? l.tabs[2] :
|
|
1717
|
+
), ue = E(l.tabs[0]), ee = E(l.tabs[0]);
|
|
1718
|
+
$e(() => (ee.value = Ke.value ? l.tabs[1] : Ye.value ? l.tabs[2] : ue.value, ee.value));
|
|
1717
1719
|
const te = () => {
|
|
1718
|
-
c.user.clear(), c.role.clear(), c.post.clear(), c.group.clear(), c.trans = [], ge.value = [], xe.value = [],
|
|
1720
|
+
c.user.clear(), c.role.clear(), c.post.clear(), c.group.clear(), c.trans = [], ge.value = [], xe.value = [], ue.value = l.tabs[0], ee.value = l.tabs[0], k.value = "", _.value = l.orgPid, h.value.splice(1, h.value.length), c.single = "", A.value = [];
|
|
1719
1721
|
}, Je = () => {
|
|
1720
1722
|
var s;
|
|
1721
|
-
|
|
1723
|
+
de(
|
|
1722
1724
|
"ok",
|
|
1723
1725
|
X.cloneDeep({
|
|
1724
1726
|
// 所有选项、部门、人员、角色分别列出
|
|
@@ -1726,19 +1728,19 @@ const As = {
|
|
|
1726
1728
|
// 排序后的列表
|
|
1727
1729
|
sort: A.value
|
|
1728
1730
|
})
|
|
1729
|
-
),
|
|
1730
|
-
},
|
|
1731
|
-
|
|
1731
|
+
), de("update:modelValue", X.cloneDeep(((s = L.value) == null ? void 0 : s.list) || [])), de("update:show", !1), te();
|
|
1732
|
+
}, De = () => {
|
|
1733
|
+
de("update:show", !1), te();
|
|
1732
1734
|
};
|
|
1733
1735
|
v({ handClear: te, handRomeve: Ve, handDelete: le });
|
|
1734
1736
|
const et = U(() => {
|
|
1735
|
-
const s =
|
|
1737
|
+
const s = R.value;
|
|
1736
1738
|
return !!((s.includes("post") || s.includes("role")) && s.length > 1);
|
|
1737
1739
|
}), tt = U(() => [
|
|
1738
1740
|
{ name: "group", label: "组织架构" },
|
|
1739
1741
|
{ name: "role", label: "角色列表" },
|
|
1740
1742
|
{ name: "post", label: "岗位列表" }
|
|
1741
|
-
].filter((s) => l.tabs.includes(s.name))),
|
|
1743
|
+
].filter((s) => l.tabs.includes(s.name))), Fe = U(
|
|
1742
1744
|
() => `${typeof l.height == "string" ? Number.parseInt(l.height) : l.height}px`
|
|
1743
1745
|
), me = () => {
|
|
1744
1746
|
l.multiple || (c.post.clear(), c.role.clear(), c.user.clear(), c.group.clear(), c.single = "");
|
|
@@ -1791,7 +1793,7 @@ const As = {
|
|
|
1791
1793
|
Z("");
|
|
1792
1794
|
}
|
|
1793
1795
|
), (s, f) => {
|
|
1794
|
-
const m =
|
|
1796
|
+
const m = fe("el-tab-pane"), g = fe("el-tabs");
|
|
1795
1797
|
return a(), B(O(dt), {
|
|
1796
1798
|
modelValue: ve.value,
|
|
1797
1799
|
"onUpdate:modelValue": f[2] || (f[2] = (T) => ve.value = T),
|
|
@@ -1805,12 +1807,12 @@ const As = {
|
|
|
1805
1807
|
width: typeof s.width == "string" ? s.width : `${s.width}%`,
|
|
1806
1808
|
class: "p_p_picker-dialog",
|
|
1807
1809
|
"modal-class": "p_p_picker-dialog-modal-user",
|
|
1808
|
-
onClose:
|
|
1810
|
+
onClose: De
|
|
1809
1811
|
}, {
|
|
1810
1812
|
footer: I(() => [
|
|
1811
1813
|
n("span", Ss, [
|
|
1812
1814
|
w(O(Oe), {
|
|
1813
|
-
onClick:
|
|
1815
|
+
onClick: re(De, ["stop"])
|
|
1814
1816
|
}, {
|
|
1815
1817
|
default: I(() => [
|
|
1816
1818
|
Y("取消")
|
|
@@ -1820,7 +1822,7 @@ const As = {
|
|
|
1820
1822
|
}),
|
|
1821
1823
|
w(O(Oe), {
|
|
1822
1824
|
type: "primary",
|
|
1823
|
-
onClick:
|
|
1825
|
+
onClick: re(Je, ["stop"])
|
|
1824
1826
|
}, {
|
|
1825
1827
|
default: I(() => [
|
|
1826
1828
|
Y(" 确定 ")
|
|
@@ -1835,7 +1837,7 @@ const As = {
|
|
|
1835
1837
|
"div",
|
|
1836
1838
|
{
|
|
1837
1839
|
class: "dep-use-picker",
|
|
1838
|
-
style: He({ height:
|
|
1840
|
+
style: He({ height: Fe.value })
|
|
1839
1841
|
},
|
|
1840
1842
|
[
|
|
1841
1843
|
n("div", gs, [
|
|
@@ -1849,15 +1851,15 @@ const As = {
|
|
|
1849
1851
|
}, null, 8, ["modelValue", "placeholder"]),
|
|
1850
1852
|
et.value ? (a(), B(g, {
|
|
1851
1853
|
key: 0,
|
|
1852
|
-
modelValue:
|
|
1853
|
-
"onUpdate:modelValue": f[1] || (f[1] = (T) =>
|
|
1854
|
+
modelValue: ue.value,
|
|
1855
|
+
"onUpdate:modelValue": f[1] || (f[1] = (T) => ue.value = T),
|
|
1854
1856
|
class: "ik-picker-tab"
|
|
1855
1857
|
}, {
|
|
1856
1858
|
default: I(() => [
|
|
1857
1859
|
(a(!0), d(
|
|
1858
1860
|
N,
|
|
1859
1861
|
null,
|
|
1860
|
-
|
|
1862
|
+
j(tt.value, (T) => (a(), B(m, {
|
|
1861
1863
|
label: T.label,
|
|
1862
1864
|
name: T.name,
|
|
1863
1865
|
key: T.label
|
|
@@ -1871,7 +1873,7 @@ const As = {
|
|
|
1871
1873
|
}, 8, ["modelValue"])) : x("v-if", !0)
|
|
1872
1874
|
]),
|
|
1873
1875
|
x(" 过滤 "),
|
|
1874
|
-
ee.value === O(
|
|
1876
|
+
ee.value === O(pe).group ? (a(), d(
|
|
1875
1877
|
N,
|
|
1876
1878
|
{ key: 0 },
|
|
1877
1879
|
[
|
|
@@ -1885,9 +1887,9 @@ const As = {
|
|
|
1885
1887
|
(a(!0), d(
|
|
1886
1888
|
N,
|
|
1887
1889
|
null,
|
|
1888
|
-
|
|
1890
|
+
j(O(h), (T, z) => (a(), B(O(ft), {
|
|
1889
1891
|
key: T[y.value.id],
|
|
1890
|
-
onClick:
|
|
1892
|
+
onClick: re((_e) => Ze(T, z), ["stop"])
|
|
1891
1893
|
}, {
|
|
1892
1894
|
default: I(() => [
|
|
1893
1895
|
Y(
|
|
@@ -1913,28 +1915,28 @@ const As = {
|
|
|
1913
1915
|
)) : x("v-if", !0),
|
|
1914
1916
|
x(" 左侧列表 "),
|
|
1915
1917
|
x(" 组织架构 "),
|
|
1916
|
-
ee.value === O(
|
|
1918
|
+
ee.value === O(pe).group ? ce((a(), B(wl, {
|
|
1917
1919
|
key: 1,
|
|
1918
1920
|
fixPropOpt: y.value,
|
|
1919
1921
|
fixTypeOpt: i.value,
|
|
1920
|
-
list:
|
|
1922
|
+
list: F.value,
|
|
1921
1923
|
max: s.max,
|
|
1922
1924
|
multiple: s.multiple,
|
|
1923
1925
|
"hand-list": lt.value,
|
|
1924
1926
|
imageBaseUrl: l.imageBaseUrl,
|
|
1925
1927
|
emptyText: l.emptyText,
|
|
1926
1928
|
children: l.children,
|
|
1927
|
-
"choose-type":
|
|
1929
|
+
"choose-type": R.value,
|
|
1928
1930
|
onHandChild: qe,
|
|
1929
1931
|
onChange: st
|
|
1930
1932
|
}, null, 8, ["fixPropOpt", "fixTypeOpt", "list", "max", "multiple", "hand-list", "imageBaseUrl", "emptyText", "children", "choose-type"])), [
|
|
1931
1933
|
[O(Pe), V.value]
|
|
1932
|
-
]) : ee.value === O(
|
|
1934
|
+
]) : ee.value === O(pe).role ? (a(), d(
|
|
1933
1935
|
N,
|
|
1934
1936
|
{ key: 2 },
|
|
1935
1937
|
[
|
|
1936
1938
|
x(" 角色 "),
|
|
1937
|
-
|
|
1939
|
+
ce(w(hs, {
|
|
1938
1940
|
fixPropOpt: y.value,
|
|
1939
1941
|
fixTypeOpt: i.value,
|
|
1940
1942
|
list: p.value,
|
|
@@ -1943,7 +1945,7 @@ const As = {
|
|
|
1943
1945
|
"hand-list": ge.value,
|
|
1944
1946
|
imageBaseUrl: l.imageBaseUrl,
|
|
1945
1947
|
emptyText: l.emptyText,
|
|
1946
|
-
"choose-type":
|
|
1948
|
+
"choose-type": R.value,
|
|
1947
1949
|
onChange: at
|
|
1948
1950
|
}, null, 8, ["fixPropOpt", "fixTypeOpt", "list", "max", "multiple", "hand-list", "imageBaseUrl", "emptyText", "choose-type"]), [
|
|
1949
1951
|
[O(Pe), V.value]
|
|
@@ -1951,21 +1953,21 @@ const As = {
|
|
|
1951
1953
|
],
|
|
1952
1954
|
64
|
|
1953
1955
|
/* STABLE_FRAGMENT */
|
|
1954
|
-
)) : ee.value === O(
|
|
1956
|
+
)) : ee.value === O(pe).post ? (a(), d(
|
|
1955
1957
|
N,
|
|
1956
1958
|
{ key: 3 },
|
|
1957
1959
|
[
|
|
1958
1960
|
x(" 岗位 "),
|
|
1959
|
-
|
|
1961
|
+
ce(w(ql, {
|
|
1960
1962
|
fixPropOpt: y.value,
|
|
1961
1963
|
fixTypeOpt: i.value,
|
|
1962
|
-
list:
|
|
1964
|
+
list: D.value,
|
|
1963
1965
|
max: s.max,
|
|
1964
1966
|
multiple: s.multiple,
|
|
1965
1967
|
"hand-list": xe.value,
|
|
1966
1968
|
imageBaseUrl: l.imageBaseUrl,
|
|
1967
1969
|
emptyText: l.emptyText,
|
|
1968
|
-
"choose-type":
|
|
1970
|
+
"choose-type": R.value,
|
|
1969
1971
|
onChange: ot
|
|
1970
1972
|
}, null, 8, ["fixPropOpt", "fixTypeOpt", "list", "max", "multiple", "hand-list", "imageBaseUrl", "emptyText", "choose-type"]), [
|
|
1971
1973
|
[O(Pe), V.value]
|
|
@@ -1983,7 +1985,7 @@ const As = {
|
|
|
1983
1985
|
w(O(Oe), {
|
|
1984
1986
|
type: "primary",
|
|
1985
1987
|
link: "",
|
|
1986
|
-
onClick:
|
|
1988
|
+
onClick: re(te, ["stop"])
|
|
1987
1989
|
}, {
|
|
1988
1990
|
default: I(() => [
|
|
1989
1991
|
Y("清空")
|
|
@@ -1996,11 +1998,11 @@ const As = {
|
|
|
1996
1998
|
(a(!0), d(
|
|
1997
1999
|
N,
|
|
1998
2000
|
null,
|
|
1999
|
-
|
|
2001
|
+
j(A.value, (T) => (a(), d("li", Ls, [
|
|
2000
2002
|
n("div", bs, [
|
|
2001
2003
|
x(" icon前缀 "),
|
|
2002
2004
|
n("div", Cs, [
|
|
2003
|
-
w(
|
|
2005
|
+
w(M, {
|
|
2004
2006
|
fixTypeOpt: i.value,
|
|
2005
2007
|
fixPropOpt: y.value,
|
|
2006
2008
|
element: T,
|
|
@@ -2015,9 +2017,9 @@ const As = {
|
|
|
2015
2017
|
/* TEXT */
|
|
2016
2018
|
)
|
|
2017
2019
|
]),
|
|
2018
|
-
|
|
2020
|
+
ce(w(Bt, {
|
|
2019
2021
|
class: "close",
|
|
2020
|
-
onClick:
|
|
2022
|
+
onClick: re((z) => Ve(T), ["stop"])
|
|
2021
2023
|
}, null, 8, ["onClick"]), [
|
|
2022
2024
|
[rt, !(T != null && T.readonly)]
|
|
2023
2025
|
])
|
|
@@ -2038,13 +2040,13 @@ const As = {
|
|
|
2038
2040
|
};
|
|
2039
2041
|
}
|
|
2040
2042
|
});
|
|
2041
|
-
const Bs = Ge(Us), Qe = (o) => (he("data-v-
|
|
2043
|
+
const Bs = Ge(Us), Qe = (o) => (he("data-v-319618dc"), o = o(), Ae(), o), ws = {
|
|
2042
2044
|
class: "approveProcess",
|
|
2043
2045
|
id: "approveProcess"
|
|
2044
2046
|
}, Is = { class: "node" }, Es = { class: "nodeBg" }, Vs = {
|
|
2045
2047
|
key: 0,
|
|
2046
2048
|
class: "info"
|
|
2047
|
-
}, Ns = { class: "explain" },
|
|
2049
|
+
}, Ns = { class: "explain" }, Ds = { key: 0 }, Fs = { key: 0 }, Rs = { key: 1 }, $s = { key: 0 }, Ms = { key: 1 }, Ws = { class: "personlist" }, js = { style: { width: "58px" } }, Hs = { class: "avatar" }, Gs = ["src"], zs = {
|
|
2048
2050
|
key: 1,
|
|
2049
2051
|
class: "nodeBg"
|
|
2050
2052
|
}, Qs = ["onClick"], Xs = ["title"], qs = {
|
|
@@ -2070,7 +2072,7 @@ const Bs = Ge(Us), Qe = (o) => (he("data-v-52aca8e8"), o = o(), Ae(), o), ws = {
|
|
|
2070
2072
|
/* HOISTED */
|
|
2071
2073
|
)), la = { style: { flex: "1" } }, sa = { class: "node-branch" }, aa = {
|
|
2072
2074
|
name: "IkApprovalProcess"
|
|
2073
|
-
}, oa = /* @__PURE__ */
|
|
2075
|
+
}, oa = /* @__PURE__ */ ne({
|
|
2074
2076
|
...aa,
|
|
2075
2077
|
props: {
|
|
2076
2078
|
// 选人组件请求地址
|
|
@@ -2109,18 +2111,18 @@ const Bs = Ge(Us), Qe = (o) => (he("data-v-52aca8e8"), o = o(), Ae(), o), ws = {
|
|
|
2109
2111
|
}
|
|
2110
2112
|
},
|
|
2111
2113
|
setup(o, { expose: v }) {
|
|
2112
|
-
const e = o, { cLoadUrl: l } = ze(e), k =
|
|
2114
|
+
const e = o, { cLoadUrl: l } = ze(e), k = ae.local.getItem("token") || "Bearer 841b7a7b0d9c4021b1655192c28ac61b", _ = E("sys");
|
|
2113
2115
|
function b(t) {
|
|
2114
2116
|
const r = window.location.search;
|
|
2115
2117
|
return new URLSearchParams(r).get(t);
|
|
2116
2118
|
}
|
|
2117
2119
|
function C() {
|
|
2118
2120
|
var r;
|
|
2119
|
-
const t = b("xTenant") || ((r =
|
|
2121
|
+
const t = b("xTenant") || ((r = ae.local.getItem("tenant")) == null ? void 0 : r.code);
|
|
2120
2122
|
t && (_.value = t);
|
|
2121
2123
|
}
|
|
2122
2124
|
C();
|
|
2123
|
-
const p = Te(vt(e)),
|
|
2125
|
+
const p = Te(vt(e)), D = async (t) => {
|
|
2124
2126
|
var r;
|
|
2125
2127
|
if (t.multiple = !t[p.defaultFile.singleApproval] || t[p.defaultFile.isShowAddCopy], t.handList = t[p.defaultFile.approvePersonList] ? t[p.defaultFile.approvePersonList] : [], t[p.defaultFile.nodeType] === p.nodeType.抄送节点)
|
|
2126
2128
|
t.handList.forEach((h) => {
|
|
@@ -2146,7 +2148,7 @@ const Bs = Ge(Us), Qe = (o) => (he("data-v-52aca8e8"), o = o(), Ae(), o), ws = {
|
|
|
2146
2148
|
}, V = (t) => {
|
|
2147
2149
|
let r = "";
|
|
2148
2150
|
return t.includes("http") || t.includes("https") ? r = t : r = l.value ? `${t.includes(l.value) ? "" : l.value}${t}` : `${location.origin + location.pathname}server/oss/download?fileUrl=${t}`, r;
|
|
2149
|
-
},
|
|
2151
|
+
}, F = (t, r) => {
|
|
2150
2152
|
e.dataList[r].handList = t.list;
|
|
2151
2153
|
let u = (e.dataList[r][p.defaultFile.approvePersonList] || []).filter((c) => !c.canDele), S = t.list.map((c) => ({
|
|
2152
2154
|
...c,
|
|
@@ -2163,38 +2165,45 @@ const Bs = Ge(Us), Qe = (o) => (he("data-v-52aca8e8"), o = o(), Ae(), o), ws = {
|
|
|
2163
2165
|
var h;
|
|
2164
2166
|
r.required = !1, r[p.defaultFile.nodeType] == p.nodeType.审批节点 && r[p.defaultFile.isShowAdd] && ((h = r[p.defaultFile.approvePersonList]) != null && h.length || (t = !1, r.required = !0));
|
|
2165
2167
|
}), t;
|
|
2166
|
-
}, A = U(() =>
|
|
2167
|
-
|
|
2168
|
-
|
|
2169
|
-
|
|
2170
|
-
|
|
2171
|
-
|
|
2172
|
-
|
|
2173
|
-
|
|
2174
|
-
|
|
2175
|
-
|
|
2176
|
-
|
|
2177
|
-
|
|
2178
|
-
|
|
2179
|
-
|
|
2180
|
-
|
|
2181
|
-
|
|
2182
|
-
|
|
2183
|
-
|
|
2184
|
-
|
|
2185
|
-
|
|
2186
|
-
|
|
2187
|
-
|
|
2188
|
-
|
|
2189
|
-
|
|
2168
|
+
}, A = U(() => {
|
|
2169
|
+
var t;
|
|
2170
|
+
return {
|
|
2171
|
+
propOption: {
|
|
2172
|
+
name: "elementName",
|
|
2173
|
+
id: "elementId",
|
|
2174
|
+
type: "elementType",
|
|
2175
|
+
avatar: "avatar"
|
|
2176
|
+
},
|
|
2177
|
+
typeOption: {
|
|
2178
|
+
dep: "DEPT",
|
|
2179
|
+
user: "USER",
|
|
2180
|
+
role: "ROLE",
|
|
2181
|
+
post: "POST"
|
|
2182
|
+
},
|
|
2183
|
+
api: {
|
|
2184
|
+
methods: "post",
|
|
2185
|
+
url: e.pickerUrl,
|
|
2186
|
+
headers: {
|
|
2187
|
+
"Content-Type": "application/json;charset=UTF-8",
|
|
2188
|
+
Authorization: k,
|
|
2189
|
+
"X-Tenant": _.value
|
|
2190
|
+
},
|
|
2191
|
+
param: {
|
|
2192
|
+
rootDepartmentId: ((t = ae.local.getItem("now_shop")) == null ? void 0 : t.storeId) || "",
|
|
2193
|
+
rootDepartmentOnly: !1
|
|
2194
|
+
}
|
|
2195
|
+
},
|
|
2196
|
+
...e.pickerConfig
|
|
2197
|
+
};
|
|
2198
|
+
});
|
|
2190
2199
|
return v({ requiredVerification: i }), (t, r) => {
|
|
2191
|
-
const h =
|
|
2200
|
+
const h = fe("IkApprovalProcess");
|
|
2192
2201
|
return a(), d("div", ws, [
|
|
2193
2202
|
(a(!0), d(
|
|
2194
2203
|
N,
|
|
2195
2204
|
null,
|
|
2196
|
-
|
|
2197
|
-
var c,
|
|
2205
|
+
j(e.dataList, (u, S) => {
|
|
2206
|
+
var c, W, q, Z;
|
|
2198
2207
|
return a(), d("div", {
|
|
2199
2208
|
class: "content",
|
|
2200
2209
|
key: u.id
|
|
@@ -2234,10 +2243,10 @@ const Bs = Ge(Us), Qe = (o) => (he("data-v-52aca8e8"), o = o(), Ae(), o), ws = {
|
|
|
2234
2243
|
),
|
|
2235
2244
|
n("div", Ns, [
|
|
2236
2245
|
x(" 抄送节点 "),
|
|
2237
|
-
u[p.defaultFile.nodeType] == p.nodeType.抄送节点 ? (a(), d("span",
|
|
2246
|
+
u[p.defaultFile.nodeType] == p.nodeType.抄送节点 ? (a(), d("span", Ds, [
|
|
2238
2247
|
u[p.defaultFile.approvePersonList].length ? (a(), d(
|
|
2239
2248
|
"span",
|
|
2240
|
-
|
|
2249
|
+
Fs,
|
|
2241
2250
|
P(`抄送${u[p.defaultFile.approvePersonList].length}人`),
|
|
2242
2251
|
1
|
|
2243
2252
|
/* TEXT */
|
|
@@ -2253,7 +2262,7 @@ const Bs = Ge(Us), Qe = (o) => (he("data-v-52aca8e8"), o = o(), Ae(), o), ws = {
|
|
|
2253
2262
|
(c = u[p.defaultFile.approvePersonList]) != null && c.length ? (a(), d(
|
|
2254
2263
|
"span",
|
|
2255
2264
|
$s,
|
|
2256
|
-
P(((
|
|
2265
|
+
P(((W = u[p.defaultFile.approvePersonList]) == null ? void 0 : W.length) == 1 ? "1人审批" : `${(q = u[p.defaultFile.approvePersonList]) == null ? void 0 : q.length}人${u[p.defaultFile.multiExecutorTypeName]}`),
|
|
2257
2266
|
1
|
|
2258
2267
|
/* TEXT */
|
|
2259
2268
|
)) : [p.statusWithoutApprover.自动通过, p.statusWithoutApprover.自动拒绝].includes(u[p.defaultFile.approveType]) ? (a(), d(
|
|
@@ -2301,7 +2310,7 @@ const Bs = Ge(Us), Qe = (o) => (he("data-v-52aca8e8"), o = o(), Ae(), o), ws = {
|
|
|
2301
2310
|
(a(!0), d(
|
|
2302
2311
|
N,
|
|
2303
2312
|
null,
|
|
2304
|
-
|
|
2313
|
+
j(u[p.defaultFile.approvePersonList], (L, R) => {
|
|
2305
2314
|
var H;
|
|
2306
2315
|
return a(), d("div", {
|
|
2307
2316
|
class: "list",
|
|
@@ -2324,7 +2333,7 @@ const Bs = Ge(Us), Qe = (o) => (he("data-v-52aca8e8"), o = o(), Ae(), o), ws = {
|
|
|
2324
2333
|
])),
|
|
2325
2334
|
L.canDele ? (a(), d("i", {
|
|
2326
2335
|
key: 2,
|
|
2327
|
-
onClick: (Ee) => y(S,
|
|
2336
|
+
onClick: (Ee) => y(S, R),
|
|
2328
2337
|
class: "ikapprove ikapprove-shanchu1"
|
|
2329
2338
|
}, null, 8, Qs)) : x("v-if", !0)
|
|
2330
2339
|
]),
|
|
@@ -2362,7 +2371,7 @@ const Bs = Ge(Us), Qe = (o) => (he("data-v-52aca8e8"), o = o(), Ae(), o), ws = {
|
|
|
2362
2371
|
u[p.defaultFile.isShowAdd] && !(u[p.defaultFile.singleApproval] && ((Z = u[p.defaultFile.approvePersonList]) == null ? void 0 : Z.length) == 1) || u[p.defaultFile.isShowAddCopy] ? (a(), d("span", {
|
|
2363
2372
|
key: 0,
|
|
2364
2373
|
class: "addBg",
|
|
2365
|
-
onClick: (L) =>
|
|
2374
|
+
onClick: (L) => D(u)
|
|
2366
2375
|
}, [
|
|
2367
2376
|
u[p.defaultFile.nodeType] == p.nodeType.审批节点 ? (a(), d("span", Ys)) : x("v-if", !0),
|
|
2368
2377
|
Js
|
|
@@ -2373,7 +2382,7 @@ const Bs = Ge(Us), Qe = (o) => (he("data-v-52aca8e8"), o = o(), Ae(), o), ws = {
|
|
|
2373
2382
|
"onUpdate:modelValue": (L) => u.handList = L,
|
|
2374
2383
|
show: u.isShow,
|
|
2375
2384
|
"onUpdate:show": (L) => u.isShow = L,
|
|
2376
|
-
onOk: (L) =>
|
|
2385
|
+
onOk: (L) => F(L, S),
|
|
2377
2386
|
multiple: u.multiple,
|
|
2378
2387
|
"dep-list": u.depList,
|
|
2379
2388
|
"user-list": u.userList,
|
|
@@ -2389,11 +2398,11 @@ const Bs = Ge(Us), Qe = (o) => (he("data-v-52aca8e8"), o = o(), Ae(), o), ws = {
|
|
|
2389
2398
|
(a(!0), d(
|
|
2390
2399
|
N,
|
|
2391
2400
|
null,
|
|
2392
|
-
|
|
2401
|
+
j(u.parallelInstances, (L, R) => (a(), d(
|
|
2393
2402
|
"div",
|
|
2394
2403
|
{
|
|
2395
|
-
key:
|
|
2396
|
-
class: se(`branch branch-${
|
|
2404
|
+
key: R,
|
|
2405
|
+
class: se(`branch branch-${R}`)
|
|
2397
2406
|
},
|
|
2398
2407
|
[
|
|
2399
2408
|
n(
|
|
@@ -2425,7 +2434,7 @@ const Bs = Ge(Us), Qe = (o) => (he("data-v-52aca8e8"), o = o(), Ae(), o), ws = {
|
|
|
2425
2434
|
};
|
|
2426
2435
|
}
|
|
2427
2436
|
});
|
|
2428
|
-
const na = /* @__PURE__ */ G(oa, [["__scopeId", "data-v-
|
|
2437
|
+
const na = /* @__PURE__ */ G(oa, [["__scopeId", "data-v-319618dc"]]), ua = Ge(na);
|
|
2429
2438
|
export {
|
|
2430
2439
|
ua as IKApprovalProcess,
|
|
2431
2440
|
ua as default
|