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,6 +1,6 @@
|
|
|
1
|
-
import { inject as ne, computed as S, openBlock as a, createElementBlock as
|
|
1
|
+
import { inject as ne, computed as S, openBlock as a, createElementBlock as u, createElementVNode as n, defineComponent as oe, resolveComponent as ce, createBlock as B, toDisplayString as T, createCommentVNode as _, ref as E, Fragment as N, unref as P, withCtx as I, createTextVNode as Y, renderList as W, createVNode as w, normalizeClass as se, pushScopeId as he, popScopeId as Ae, useCssVars as at, watch as K, toRef as ot, reactive as Te, nextTick as ke, watchEffect as $e, withModifiers as ie, normalizeStyle as je, withDirectives as de, vShow as nt, mergeProps as Me } from "vue";
|
|
2
2
|
import { _ as X, ikStore as fe, ikEvent as it } from "iking-utils-pro";
|
|
3
|
-
import { ElCheckbox as ae, ElCheckboxGroup as Le, ElRadioGroup as be, ElRadio as Ce, ElDialog as rt, ElButton as Oe, ElInput as pt, ElBreadcrumb as
|
|
3
|
+
import { ElCheckbox as ae, ElCheckboxGroup as Le, ElRadioGroup as be, ElRadio as Ce, ElDialog as rt, ElButton as Oe, ElInput as pt, ElBreadcrumb as ut, ElBreadcrumbItem as dt, vLoading as Pe } from "element-plus";
|
|
4
4
|
import ct from "axios";
|
|
5
5
|
const He = (o, v) => {
|
|
6
6
|
if (o.install = (e) => {
|
|
@@ -165,7 +165,7 @@ const He = (o, v) => {
|
|
|
165
165
|
mt
|
|
166
166
|
];
|
|
167
167
|
function xt(o, v) {
|
|
168
|
-
return a(),
|
|
168
|
+
return a(), u("svg", yt, _t);
|
|
169
169
|
}
|
|
170
170
|
const Ot = /* @__PURE__ */ G(vt, [["render", xt]]), Pt = {}, Tt = {
|
|
171
171
|
t: "1710907270798",
|
|
@@ -201,7 +201,7 @@ const Ot = /* @__PURE__ */ G(vt, [["render", xt]]), Pt = {}, Tt = {
|
|
|
201
201
|
Lt
|
|
202
202
|
];
|
|
203
203
|
function Ct(o, v) {
|
|
204
|
-
return a(),
|
|
204
|
+
return a(), u("svg", Tt, bt);
|
|
205
205
|
}
|
|
206
206
|
const Ut = /* @__PURE__ */ G(Pt, [["render", Ct]]), St = {}, Bt = {
|
|
207
207
|
t: "1710904463698",
|
|
@@ -237,7 +237,7 @@ const Ut = /* @__PURE__ */ G(Pt, [["render", Ct]]), St = {}, Bt = {
|
|
|
237
237
|
It
|
|
238
238
|
];
|
|
239
239
|
function Vt(o, v) {
|
|
240
|
-
return a(),
|
|
240
|
+
return a(), u("svg", Bt, Et);
|
|
241
241
|
}
|
|
242
242
|
const Nt = /* @__PURE__ */ G(St, [["render", Vt]]), Ft = {}, Dt = {
|
|
243
243
|
t: "1710904436436",
|
|
@@ -273,7 +273,7 @@ const Nt = /* @__PURE__ */ G(St, [["render", Vt]]), Ft = {}, Dt = {
|
|
|
273
273
|
$t
|
|
274
274
|
];
|
|
275
275
|
function Wt(o, v) {
|
|
276
|
-
return a(),
|
|
276
|
+
return a(), u("svg", Dt, Mt);
|
|
277
277
|
}
|
|
278
278
|
const jt = /* @__PURE__ */ G(Ft, [["render", Wt]]), Ht = {}, Gt = {
|
|
279
279
|
t: "1710904287393",
|
|
@@ -309,7 +309,7 @@ const jt = /* @__PURE__ */ G(Ft, [["render", Wt]]), Ht = {}, Gt = {
|
|
|
309
309
|
Qt
|
|
310
310
|
];
|
|
311
311
|
function qt(o, v) {
|
|
312
|
-
return a(),
|
|
312
|
+
return a(), u("svg", Gt, Xt);
|
|
313
313
|
}
|
|
314
314
|
const Zt = /* @__PURE__ */ G(Ht, [["render", qt]]), Kt = { class: "avatar" }, Yt = {
|
|
315
315
|
key: 3,
|
|
@@ -344,13 +344,13 @@ const Zt = /* @__PURE__ */ G(Ht, [["render", qt]]), Kt = { class: "avatar" }, Yt
|
|
|
344
344
|
const v = o, e = v.imageBaseUrl ? `${v.imageBaseUrl}/server/oss/download?fileUrl=` : `${location.origin}/server/oss/download?fileUrl=`, l = (O) => O ? O.startsWith("http") ? O : `${e}${O}` : "";
|
|
345
345
|
return (O, x) => {
|
|
346
346
|
const b = ce("el-avatar");
|
|
347
|
-
return a(),
|
|
348
|
-
v.fixTypeOpt.group === o.element[v.fixPropOpt.type] ? (a(), B(Zt, { key: 0 })) : v.fixTypeOpt.role === o.element[v.fixPropOpt.type] ? (a(), B(Nt, { key: 1 })) : v.fixTypeOpt.post === o.element[v.fixPropOpt.type] ? (a(), B(jt, { key: 2 })) : v.fixTypeOpt.user === o.element[v.fixPropOpt.type] ? (a(),
|
|
347
|
+
return a(), u("div", Kt, [
|
|
348
|
+
v.fixTypeOpt.group === o.element[v.fixPropOpt.type] ? (a(), B(Zt, { key: 0 })) : v.fixTypeOpt.role === o.element[v.fixPropOpt.type] ? (a(), B(Nt, { key: 1 })) : v.fixTypeOpt.post === o.element[v.fixPropOpt.type] ? (a(), B(jt, { key: 2 })) : v.fixTypeOpt.user === o.element[v.fixPropOpt.type] ? (a(), u("div", Yt, [
|
|
349
349
|
o.element[o.fixPropOpt.avatar] ? (a(), B(b, {
|
|
350
350
|
key: 0,
|
|
351
351
|
shape: "square",
|
|
352
352
|
src: l(o.fixPropOpt.avatar ? o.element[o.fixPropOpt.avatar] : "")
|
|
353
|
-
}, null, 8, ["src"])) : (a(),
|
|
353
|
+
}, null, 8, ["src"])) : (a(), u(
|
|
354
354
|
"div",
|
|
355
355
|
Jt,
|
|
356
356
|
T(o.element[o.fixPropOpt.name].slice(-2)),
|
|
@@ -435,7 +435,7 @@ const $ = /* @__PURE__ */ G(el, [["__scopeId", "data-v-4069f4f8"]]), Ue = "data:
|
|
|
435
435
|
null,
|
|
436
436
|
-1
|
|
437
437
|
/* HOISTED */
|
|
438
|
-
)),
|
|
438
|
+
)), ul = { class: "iconBox" }, dl = { class: "name_number" }, cl = { class: "title" }, fl = {
|
|
439
439
|
key: 0,
|
|
440
440
|
class: "userCount"
|
|
441
441
|
}, hl = ["onClick"], Al = { class: "checkText" }, vl = { class: "iconBox" }, yl = { class: "name_number" }, gl = { class: "title" }, ml = {
|
|
@@ -475,9 +475,9 @@ const $ = /* @__PURE__ */ G(el, [["__scopeId", "data-v-4069f4f8"]]), Ue = "data:
|
|
|
475
475
|
var A, t;
|
|
476
476
|
return ((A = e.handList) == null ? void 0 : A.length) === ((t = e.list) == null ? void 0 : t.length);
|
|
477
477
|
}), O = S(() => {
|
|
478
|
-
var r, h,
|
|
478
|
+
var r, h, d, U;
|
|
479
479
|
const A = (r = e.handList) == null ? void 0 : r.length, t = (h = e.list) == null ? void 0 : h.length;
|
|
480
|
-
return e.multiple ? x.value = e.handList.map((c) => c[e.fixPropOpt.id]) : b.value = (U = (
|
|
480
|
+
return e.multiple ? x.value = e.handList.map((c) => c[e.fixPropOpt.id]) : b.value = (U = (d = e.handList) == null ? void 0 : d[0]) == null ? void 0 : U[e.fixPropOpt.id], A > 0 && A < t;
|
|
481
481
|
}), x = E(
|
|
482
482
|
e.handList.map((A) => A[e.fixPropOpt.id])
|
|
483
483
|
), b = E((i = (y = e.handList) == null ? void 0 : y[0]) == null ? void 0 : i[e.fixPropOpt.id]), C = v, p = (A) => {
|
|
@@ -493,7 +493,7 @@ const $ = /* @__PURE__ */ G(el, [["__scopeId", "data-v-4069f4f8"]]), Ue = "data:
|
|
|
493
493
|
}, D = (A, t) => {
|
|
494
494
|
t || C("handChild", A);
|
|
495
495
|
};
|
|
496
|
-
return (A, t) => (a(),
|
|
496
|
+
return (A, t) => (a(), u(
|
|
497
497
|
N,
|
|
498
498
|
null,
|
|
499
499
|
[
|
|
@@ -512,7 +512,7 @@ const $ = /* @__PURE__ */ G(el, [["__scopeId", "data-v-4069f4f8"]]), Ue = "data:
|
|
|
512
512
|
_: 1
|
|
513
513
|
/* STABLE */
|
|
514
514
|
}, 8, ["modelValue", "indeterminate"])) : _("v-if", !0),
|
|
515
|
-
A.list && A.list.length ? (a(),
|
|
515
|
+
A.list && A.list.length ? (a(), u("ul", ll, [
|
|
516
516
|
A.multiple ? (a(), B(P(Le), {
|
|
517
517
|
key: 0,
|
|
518
518
|
modelValue: x.value,
|
|
@@ -520,12 +520,12 @@ const $ = /* @__PURE__ */ G(el, [["__scopeId", "data-v-4069f4f8"]]), Ue = "data:
|
|
|
520
520
|
onChange: F
|
|
521
521
|
}, {
|
|
522
522
|
default: I(() => [
|
|
523
|
-
(a(!0),
|
|
523
|
+
(a(!0), u(
|
|
524
524
|
N,
|
|
525
525
|
null,
|
|
526
526
|
W(A.list, (r) => {
|
|
527
527
|
var h;
|
|
528
|
-
return a(),
|
|
528
|
+
return a(), u("li", {
|
|
529
529
|
key: r[e.fixPropOpt.id]
|
|
530
530
|
}, [
|
|
531
531
|
A.chooseType.includes(
|
|
@@ -553,7 +553,7 @@ const $ = /* @__PURE__ */ G(el, [["__scopeId", "data-v-4069f4f8"]]), Ue = "data:
|
|
|
553
553
|
1
|
|
554
554
|
/* TEXT */
|
|
555
555
|
),
|
|
556
|
-
r[e.fixPropOpt.type] === e.fixTypeOpt.group ? (a(),
|
|
556
|
+
r[e.fixPropOpt.type] === e.fixTypeOpt.group ? (a(), u(
|
|
557
557
|
"div",
|
|
558
558
|
il,
|
|
559
559
|
" (" + T(r.userCount) + ") ",
|
|
@@ -565,9 +565,9 @@ const $ = /* @__PURE__ */ G(el, [["__scopeId", "data-v-4069f4f8"]]), Ue = "data:
|
|
|
565
565
|
]),
|
|
566
566
|
_: 2
|
|
567
567
|
/* DYNAMIC */
|
|
568
|
-
}, 1032, ["label", "disabled"])) : (a(),
|
|
568
|
+
}, 1032, ["label", "disabled"])) : (a(), u("div", rl, [
|
|
569
569
|
pl,
|
|
570
|
-
n("div",
|
|
570
|
+
n("div", ul, [
|
|
571
571
|
w($, {
|
|
572
572
|
fixTypeOpt: e.fixTypeOpt,
|
|
573
573
|
fixPropOpt: e.fixPropOpt,
|
|
@@ -575,7 +575,7 @@ const $ = /* @__PURE__ */ G(el, [["__scopeId", "data-v-4069f4f8"]]), Ue = "data:
|
|
|
575
575
|
imageBaseUrl: e.imageBaseUrl
|
|
576
576
|
}, null, 8, ["fixTypeOpt", "fixPropOpt", "element", "imageBaseUrl"])
|
|
577
577
|
]),
|
|
578
|
-
n("div",
|
|
578
|
+
n("div", dl, [
|
|
579
579
|
n(
|
|
580
580
|
"div",
|
|
581
581
|
cl,
|
|
@@ -583,7 +583,7 @@ const $ = /* @__PURE__ */ G(el, [["__scopeId", "data-v-4069f4f8"]]), Ue = "data:
|
|
|
583
583
|
1
|
|
584
584
|
/* TEXT */
|
|
585
585
|
),
|
|
586
|
-
r[e.fixPropOpt.type] === e.fixTypeOpt.group ? (a(),
|
|
586
|
+
r[e.fixPropOpt.type] === e.fixTypeOpt.group ? (a(), u(
|
|
587
587
|
"div",
|
|
588
588
|
fl,
|
|
589
589
|
" (" + T(r.userCount) + ") ",
|
|
@@ -592,14 +592,14 @@ const $ = /* @__PURE__ */ G(el, [["__scopeId", "data-v-4069f4f8"]]), Ue = "data:
|
|
|
592
592
|
)) : _("v-if", !0)
|
|
593
593
|
])
|
|
594
594
|
])),
|
|
595
|
-
r[e.fixPropOpt.type] === e.fixTypeOpt.group && e.children ? (a(),
|
|
595
|
+
r[e.fixPropOpt.type] === e.fixTypeOpt.group && e.children ? (a(), u("span", {
|
|
596
596
|
key: 2,
|
|
597
597
|
class: se(["nextLevel", {
|
|
598
598
|
"is-disabled": (h = x.value) == null ? void 0 : h.find(
|
|
599
|
-
(
|
|
599
|
+
(d) => d === r[e.fixPropOpt.id]
|
|
600
600
|
)
|
|
601
601
|
}]),
|
|
602
|
-
onClick: (
|
|
602
|
+
onClick: (d) => {
|
|
603
603
|
var U;
|
|
604
604
|
return D(
|
|
605
605
|
r,
|
|
@@ -623,12 +623,12 @@ const $ = /* @__PURE__ */ G(el, [["__scopeId", "data-v-4069f4f8"]]), Ue = "data:
|
|
|
623
623
|
onChange: V
|
|
624
624
|
}, {
|
|
625
625
|
default: I(() => [
|
|
626
|
-
(a(!0),
|
|
626
|
+
(a(!0), u(
|
|
627
627
|
N,
|
|
628
628
|
null,
|
|
629
629
|
W(A.list, (r) => {
|
|
630
630
|
var h;
|
|
631
|
-
return a(),
|
|
631
|
+
return a(), u("li", {
|
|
632
632
|
class: "w-full",
|
|
633
633
|
key: r[e.fixPropOpt.id]
|
|
634
634
|
}, [
|
|
@@ -654,7 +654,7 @@ const $ = /* @__PURE__ */ G(el, [["__scopeId", "data-v-4069f4f8"]]), Ue = "data:
|
|
|
654
654
|
1
|
|
655
655
|
/* TEXT */
|
|
656
656
|
),
|
|
657
|
-
r[e.fixPropOpt.type] === e.fixTypeOpt.group ? (a(),
|
|
657
|
+
r[e.fixPropOpt.type] === e.fixTypeOpt.group ? (a(), u(
|
|
658
658
|
"div",
|
|
659
659
|
ml,
|
|
660
660
|
" (" + T(r.userCount) + ") ",
|
|
@@ -666,7 +666,7 @@ const $ = /* @__PURE__ */ G(el, [["__scopeId", "data-v-4069f4f8"]]), Ue = "data:
|
|
|
666
666
|
]),
|
|
667
667
|
_: 2
|
|
668
668
|
/* DYNAMIC */
|
|
669
|
-
}, 1032, ["label"])) : (a(),
|
|
669
|
+
}, 1032, ["label"])) : (a(), u("div", _l, [
|
|
670
670
|
xl,
|
|
671
671
|
n("div", Ol, [
|
|
672
672
|
w($, {
|
|
@@ -684,7 +684,7 @@ const $ = /* @__PURE__ */ G(el, [["__scopeId", "data-v-4069f4f8"]]), Ue = "data:
|
|
|
684
684
|
1
|
|
685
685
|
/* TEXT */
|
|
686
686
|
),
|
|
687
|
-
r[e.fixPropOpt.type] === e.fixTypeOpt.group ? (a(),
|
|
687
|
+
r[e.fixPropOpt.type] === e.fixTypeOpt.group ? (a(), u(
|
|
688
688
|
"div",
|
|
689
689
|
kl,
|
|
690
690
|
" (" + T(r.userCount) + ") ",
|
|
@@ -693,14 +693,14 @@ const $ = /* @__PURE__ */ G(el, [["__scopeId", "data-v-4069f4f8"]]), Ue = "data:
|
|
|
693
693
|
)) : _("v-if", !0)
|
|
694
694
|
])
|
|
695
695
|
])),
|
|
696
|
-
r[e.fixPropOpt.type] === e.fixTypeOpt.group && e.children ? (a(),
|
|
696
|
+
r[e.fixPropOpt.type] === e.fixTypeOpt.group && e.children ? (a(), u("span", {
|
|
697
697
|
key: 2,
|
|
698
698
|
class: se(["nextLevel", {
|
|
699
699
|
"is-disabled": (h = x.value) == null ? void 0 : h.find(
|
|
700
|
-
(
|
|
700
|
+
(d) => d === r[e.fixPropOpt.id]
|
|
701
701
|
)
|
|
702
702
|
}]),
|
|
703
|
-
onClick: (
|
|
703
|
+
onClick: (d) => {
|
|
704
704
|
var U;
|
|
705
705
|
return D(
|
|
706
706
|
r,
|
|
@@ -717,7 +717,7 @@ const $ = /* @__PURE__ */ G(el, [["__scopeId", "data-v-4069f4f8"]]), Ue = "data:
|
|
|
717
717
|
_: 1
|
|
718
718
|
/* STABLE */
|
|
719
719
|
}, 8, ["isIndeterminate", "modelValue"]))
|
|
720
|
-
])) : (a(),
|
|
720
|
+
])) : (a(), u("div", bl, [
|
|
721
721
|
Cl,
|
|
722
722
|
n(
|
|
723
723
|
"div",
|
|
@@ -777,9 +777,9 @@ const Sl = /* @__PURE__ */ G(Ul, [["__scopeId", "data-v-f7a5199f"]]), we = (o) =
|
|
|
777
777
|
var i, A;
|
|
778
778
|
return ((i = e.handList) == null ? void 0 : i.length) === ((A = e.list) == null ? void 0 : A.length);
|
|
779
779
|
}), O = S(() => {
|
|
780
|
-
var t, r, h,
|
|
780
|
+
var t, r, h, d;
|
|
781
781
|
const i = (t = e.handList) == null ? void 0 : t.length, A = (r = e.list) == null ? void 0 : r.length;
|
|
782
|
-
return e.multiple ? x.value = e.handList.map((U) => U[e.fixPropOpt.id]) : b.value = (
|
|
782
|
+
return e.multiple ? x.value = e.handList.map((U) => U[e.fixPropOpt.id]) : b.value = (d = (h = e.handList) == null ? void 0 : h[0]) == null ? void 0 : d[e.fixPropOpt.id], i > 0 && i < A;
|
|
783
783
|
}), x = E(
|
|
784
784
|
e.handList.map((i) => i[e.fixPropOpt.id])
|
|
785
785
|
), b = E((y = (D = e.handList) == null ? void 0 : D[0]) == null ? void 0 : y[e.fixPropOpt.id]), C = v, p = (i) => {
|
|
@@ -790,7 +790,7 @@ const Sl = /* @__PURE__ */ G(Ul, [["__scopeId", "data-v-f7a5199f"]]), we = (o) =
|
|
|
790
790
|
}, V = (i) => {
|
|
791
791
|
C("change", i, e.list);
|
|
792
792
|
};
|
|
793
|
-
return (i, A) => (a(),
|
|
793
|
+
return (i, A) => (a(), u(
|
|
794
794
|
N,
|
|
795
795
|
null,
|
|
796
796
|
[
|
|
@@ -809,7 +809,7 @@ const Sl = /* @__PURE__ */ G(Ul, [["__scopeId", "data-v-f7a5199f"]]), we = (o) =
|
|
|
809
809
|
_: 1
|
|
810
810
|
/* STABLE */
|
|
811
811
|
}, 8, ["modelValue", "indeterminate"])) : _("v-if", !0),
|
|
812
|
-
i.list && i.list.length ? (a(),
|
|
812
|
+
i.list && i.list.length ? (a(), u("ul", wl, [
|
|
813
813
|
i.multiple ? (a(), B(P(Le), {
|
|
814
814
|
key: 0,
|
|
815
815
|
modelValue: x.value,
|
|
@@ -817,10 +817,10 @@ const Sl = /* @__PURE__ */ G(Ul, [["__scopeId", "data-v-f7a5199f"]]), we = (o) =
|
|
|
817
817
|
onChange: F
|
|
818
818
|
}, {
|
|
819
819
|
default: I(() => [
|
|
820
|
-
(a(!0),
|
|
820
|
+
(a(!0), u(
|
|
821
821
|
N,
|
|
822
822
|
null,
|
|
823
|
-
W(i.list, (t) => (a(),
|
|
823
|
+
W(i.list, (t) => (a(), u("li", {
|
|
824
824
|
key: t[e.fixPropOpt.id]
|
|
825
825
|
}, [
|
|
826
826
|
i.chooseType.includes(t[e.fixPropOpt.type].toLowerCase()) ? (a(), B(P(ae), {
|
|
@@ -846,7 +846,7 @@ const Sl = /* @__PURE__ */ G(Ul, [["__scopeId", "data-v-f7a5199f"]]), we = (o) =
|
|
|
846
846
|
]),
|
|
847
847
|
_: 2
|
|
848
848
|
/* DYNAMIC */
|
|
849
|
-
}, 1032, ["label"])) : (a(),
|
|
849
|
+
}, 1032, ["label"])) : (a(), u("div", El, [
|
|
850
850
|
Vl,
|
|
851
851
|
n("div", Nl, [
|
|
852
852
|
w($, {
|
|
@@ -879,10 +879,10 @@ const Sl = /* @__PURE__ */ G(Ul, [["__scopeId", "data-v-f7a5199f"]]), we = (o) =
|
|
|
879
879
|
onChange: V
|
|
880
880
|
}, {
|
|
881
881
|
default: I(() => [
|
|
882
|
-
(a(!0),
|
|
882
|
+
(a(!0), u(
|
|
883
883
|
N,
|
|
884
884
|
null,
|
|
885
|
-
W(i.list, (t) => (a(),
|
|
885
|
+
W(i.list, (t) => (a(), u("li", {
|
|
886
886
|
class: "w-full",
|
|
887
887
|
key: t[e.fixPropOpt.id]
|
|
888
888
|
}, [
|
|
@@ -911,7 +911,7 @@ const Sl = /* @__PURE__ */ G(Ul, [["__scopeId", "data-v-f7a5199f"]]), we = (o) =
|
|
|
911
911
|
]),
|
|
912
912
|
_: 2
|
|
913
913
|
/* DYNAMIC */
|
|
914
|
-
}, 1032, ["label"])) : (a(),
|
|
914
|
+
}, 1032, ["label"])) : (a(), u("div", $l, [
|
|
915
915
|
Ml,
|
|
916
916
|
n("div", Wl, [
|
|
917
917
|
w($, {
|
|
@@ -937,7 +937,7 @@ const Sl = /* @__PURE__ */ G(Ul, [["__scopeId", "data-v-f7a5199f"]]), we = (o) =
|
|
|
937
937
|
_: 1
|
|
938
938
|
/* STABLE */
|
|
939
939
|
}, 8, ["isIndeterminate", "modelValue"]))
|
|
940
|
-
])) : (a(),
|
|
940
|
+
])) : (a(), u("div", Hl, [
|
|
941
941
|
Gl,
|
|
942
942
|
n(
|
|
943
943
|
"div",
|
|
@@ -978,7 +978,7 @@ const Ql = /* @__PURE__ */ G(zl, [["__scopeId", "data-v-e03f0d36"]]), Ie = (o) =
|
|
|
978
978
|
)), is = { class: "iconBox" }, rs = ["title"], ps = {
|
|
979
979
|
key: 2,
|
|
980
980
|
class: "empty"
|
|
981
|
-
},
|
|
981
|
+
}, us = /* @__PURE__ */ Ie(() => /* @__PURE__ */ n(
|
|
982
982
|
"img",
|
|
983
983
|
{
|
|
984
984
|
src: Ue,
|
|
@@ -987,7 +987,7 @@ const Ql = /* @__PURE__ */ G(zl, [["__scopeId", "data-v-e03f0d36"]]), Ie = (o) =
|
|
|
987
987
|
null,
|
|
988
988
|
-1
|
|
989
989
|
/* HOISTED */
|
|
990
|
-
)),
|
|
990
|
+
)), ds = /* @__PURE__ */ oe({
|
|
991
991
|
__name: "RoleList",
|
|
992
992
|
props: Se,
|
|
993
993
|
emits: ["change", "check"],
|
|
@@ -997,9 +997,9 @@ const Ql = /* @__PURE__ */ G(zl, [["__scopeId", "data-v-e03f0d36"]]), Ie = (o) =
|
|
|
997
997
|
var i, A;
|
|
998
998
|
return ((i = e.handList) == null ? void 0 : i.length) === ((A = e.list) == null ? void 0 : A.length);
|
|
999
999
|
}), O = S(() => {
|
|
1000
|
-
var t, r, h,
|
|
1000
|
+
var t, r, h, d;
|
|
1001
1001
|
const i = (t = e.handList) == null ? void 0 : t.length, A = (r = e.list) == null ? void 0 : r.length;
|
|
1002
|
-
return e.multiple ? x.value = e.handList.map((U) => U[e.fixPropOpt.id]) : b.value = (
|
|
1002
|
+
return e.multiple ? x.value = e.handList.map((U) => U[e.fixPropOpt.id]) : b.value = (d = (h = e.handList) == null ? void 0 : h[0]) == null ? void 0 : d[e.fixPropOpt.id], i > 0 && i < A;
|
|
1003
1003
|
}), x = E(
|
|
1004
1004
|
e.handList.map((i) => i[e.fixPropOpt.id])
|
|
1005
1005
|
), b = E((y = (D = e.handList) == null ? void 0 : D[0]) == null ? void 0 : y[e.fixPropOpt.id]), C = v, p = (i) => {
|
|
@@ -1010,7 +1010,7 @@ const Ql = /* @__PURE__ */ G(zl, [["__scopeId", "data-v-e03f0d36"]]), Ie = (o) =
|
|
|
1010
1010
|
}, V = (i) => {
|
|
1011
1011
|
C("change", i, e.list);
|
|
1012
1012
|
};
|
|
1013
|
-
return (i, A) => (a(),
|
|
1013
|
+
return (i, A) => (a(), u(
|
|
1014
1014
|
N,
|
|
1015
1015
|
null,
|
|
1016
1016
|
[
|
|
@@ -1029,7 +1029,7 @@ const Ql = /* @__PURE__ */ G(zl, [["__scopeId", "data-v-e03f0d36"]]), Ie = (o) =
|
|
|
1029
1029
|
_: 1
|
|
1030
1030
|
/* STABLE */
|
|
1031
1031
|
}, 8, ["modelValue", "indeterminate"])) : _("v-if", !0),
|
|
1032
|
-
i.list && i.list.length ? (a(),
|
|
1032
|
+
i.list && i.list.length ? (a(), u("ul", ql, [
|
|
1033
1033
|
i.multiple ? (a(), B(P(Le), {
|
|
1034
1034
|
key: 0,
|
|
1035
1035
|
modelValue: x.value,
|
|
@@ -1037,10 +1037,10 @@ const Ql = /* @__PURE__ */ G(zl, [["__scopeId", "data-v-e03f0d36"]]), Ie = (o) =
|
|
|
1037
1037
|
onChange: F
|
|
1038
1038
|
}, {
|
|
1039
1039
|
default: I(() => [
|
|
1040
|
-
(a(!0),
|
|
1040
|
+
(a(!0), u(
|
|
1041
1041
|
N,
|
|
1042
1042
|
null,
|
|
1043
|
-
W(i.list, (t) => (a(),
|
|
1043
|
+
W(i.list, (t) => (a(), u("li", {
|
|
1044
1044
|
key: t[i.fixPropOpt.id]
|
|
1045
1045
|
}, [
|
|
1046
1046
|
i.chooseType.includes(t[e.fixPropOpt.type].toLowerCase()) ? (a(), B(P(ae), {
|
|
@@ -1064,7 +1064,7 @@ const Ql = /* @__PURE__ */ G(zl, [["__scopeId", "data-v-e03f0d36"]]), Ie = (o) =
|
|
|
1064
1064
|
]),
|
|
1065
1065
|
_: 2
|
|
1066
1066
|
/* DYNAMIC */
|
|
1067
|
-
}, 1032, ["label", "value", "disabled"])) : (a(),
|
|
1067
|
+
}, 1032, ["label", "value", "disabled"])) : (a(), u("div", Yl, [
|
|
1068
1068
|
Jl,
|
|
1069
1069
|
n("div", es, [
|
|
1070
1070
|
w($, {
|
|
@@ -1094,10 +1094,10 @@ const Ql = /* @__PURE__ */ G(zl, [["__scopeId", "data-v-e03f0d36"]]), Ie = (o) =
|
|
|
1094
1094
|
onChange: V
|
|
1095
1095
|
}, {
|
|
1096
1096
|
default: I(() => [
|
|
1097
|
-
(a(!0),
|
|
1097
|
+
(a(!0), u(
|
|
1098
1098
|
N,
|
|
1099
1099
|
null,
|
|
1100
|
-
W(i.list, (t) => (a(),
|
|
1100
|
+
W(i.list, (t) => (a(), u("li", {
|
|
1101
1101
|
class: "w-full",
|
|
1102
1102
|
key: t[i.fixPropOpt.id]
|
|
1103
1103
|
}, [
|
|
@@ -1124,7 +1124,7 @@ const Ql = /* @__PURE__ */ G(zl, [["__scopeId", "data-v-e03f0d36"]]), Ie = (o) =
|
|
|
1124
1124
|
]),
|
|
1125
1125
|
_: 2
|
|
1126
1126
|
/* DYNAMIC */
|
|
1127
|
-
}, 1032, ["label", "value", "disabled"])) : (a(),
|
|
1127
|
+
}, 1032, ["label", "value", "disabled"])) : (a(), u("div", os, [
|
|
1128
1128
|
ns,
|
|
1129
1129
|
n("div", is, [
|
|
1130
1130
|
w($, {
|
|
@@ -1147,8 +1147,8 @@ const Ql = /* @__PURE__ */ G(zl, [["__scopeId", "data-v-e03f0d36"]]), Ie = (o) =
|
|
|
1147
1147
|
_: 1
|
|
1148
1148
|
/* STABLE */
|
|
1149
1149
|
}, 8, ["indeterminate", "modelValue"]))
|
|
1150
|
-
])) : (a(),
|
|
1151
|
-
|
|
1150
|
+
])) : (a(), u("div", ps, [
|
|
1151
|
+
us,
|
|
1152
1152
|
n(
|
|
1153
1153
|
"div",
|
|
1154
1154
|
null,
|
|
@@ -1164,7 +1164,7 @@ const Ql = /* @__PURE__ */ G(zl, [["__scopeId", "data-v-e03f0d36"]]), Ie = (o) =
|
|
|
1164
1164
|
));
|
|
1165
1165
|
}
|
|
1166
1166
|
});
|
|
1167
|
-
const cs = /* @__PURE__ */ G(
|
|
1167
|
+
const cs = /* @__PURE__ */ G(ds, [["__scopeId", "data-v-be3b3e45"]]);
|
|
1168
1168
|
var re = /* @__PURE__ */ ((o) => (o.group = "group", o.role = "role", o.post = "post", o))(re || {});
|
|
1169
1169
|
const fs = {
|
|
1170
1170
|
// 是否允许选择子集
|
|
@@ -1384,7 +1384,7 @@ const fs = {
|
|
|
1384
1384
|
const {
|
|
1385
1385
|
departments: r,
|
|
1386
1386
|
roles: h,
|
|
1387
|
-
posts:
|
|
1387
|
+
posts: d,
|
|
1388
1388
|
users: U,
|
|
1389
1389
|
rootOrganization: c,
|
|
1390
1390
|
rootDepartment: M
|
|
@@ -1399,7 +1399,7 @@ const fs = {
|
|
|
1399
1399
|
}), {
|
|
1400
1400
|
groupList: X.cloneDeep(r),
|
|
1401
1401
|
roleList: X.cloneDeep(h),
|
|
1402
|
-
postList: X.cloneDeep(
|
|
1402
|
+
postList: X.cloneDeep(d),
|
|
1403
1403
|
userList: X.cloneDeep(U),
|
|
1404
1404
|
rootOrganization: c,
|
|
1405
1405
|
rootDepartment: M
|
|
@@ -1433,7 +1433,7 @@ const fs = {
|
|
|
1433
1433
|
emits: ["handChild", "update:show", "update:modelValue", "ok", "search"],
|
|
1434
1434
|
setup(o, { expose: v, emit: e }) {
|
|
1435
1435
|
at((s) => ({
|
|
1436
|
-
|
|
1436
|
+
"204e6f3a": De.value
|
|
1437
1437
|
}));
|
|
1438
1438
|
const l = o, O = E(""), x = E(""), b = E([]), C = E([]), p = E([]), F = E([]), V = E(!1), D = S(() => j.value.includes("user") ? C.value.concat(b.value) : C.value);
|
|
1439
1439
|
K(
|
|
@@ -1456,7 +1456,7 @@ const fs = {
|
|
|
1456
1456
|
...l.typeOption
|
|
1457
1457
|
})), A = E([]), t = vs(ot(l, "api"), l), r = t.handData, h = t.bannerList;
|
|
1458
1458
|
l.immediate && r(x.value, O.value);
|
|
1459
|
-
const
|
|
1459
|
+
const d = (s) => (s.forEach((f) => {
|
|
1460
1460
|
var g, m;
|
|
1461
1461
|
f.disabled = ((m = (g = l.modelValue) == null ? void 0 : g.find(
|
|
1462
1462
|
(k) => k[y.value.id] === f[y.value.id]
|
|
@@ -1479,7 +1479,7 @@ const fs = {
|
|
|
1479
1479
|
}
|
|
1480
1480
|
const R = await r(x.value, O.value);
|
|
1481
1481
|
try {
|
|
1482
|
-
b.value =
|
|
1482
|
+
b.value = d((R == null ? void 0 : R.userList) || []), C.value = d((R == null ? void 0 : R.groupList) || []), p.value = d((R == null ? void 0 : R.roleList) || []), F.value = d((R == null ? void 0 : R.postList) || []);
|
|
1483
1483
|
} catch (Q) {
|
|
1484
1484
|
V.value = !1, console.info("error: ", Q);
|
|
1485
1485
|
}
|
|
@@ -1660,10 +1660,10 @@ const fs = {
|
|
|
1660
1660
|
() => l.chooseType.includes("role") && l.chooseType.length === 1
|
|
1661
1661
|
), Ze = S(
|
|
1662
1662
|
() => l.chooseType.includes("post") && l.chooseType.length === 1
|
|
1663
|
-
),
|
|
1664
|
-
$e(() => (te.value = qe.value ? l.tabs[1] : Ze.value ? l.tabs[2] :
|
|
1663
|
+
), ue = E(l.tabs[0]), te = E(l.tabs[0]);
|
|
1664
|
+
$e(() => (te.value = qe.value ? l.tabs[1] : Ze.value ? l.tabs[2] : ue.value, te.value));
|
|
1665
1665
|
const le = () => {
|
|
1666
|
-
c.user.clear(), c.role.clear(), c.post.clear(), c.group.clear(), c.trans = [], me.value = [], _e.value = [],
|
|
1666
|
+
c.user.clear(), c.role.clear(), c.post.clear(), c.group.clear(), c.trans = [], me.value = [], _e.value = [], ue.value = l.tabs[0], te.value = l.tabs[0], O.value = "", x.value = l.orgPid, h.value.splice(1, h.value.length), c.single = "", A.value = [];
|
|
1667
1667
|
}, Ke = () => {
|
|
1668
1668
|
var s;
|
|
1669
1669
|
pe(
|
|
@@ -1797,12 +1797,12 @@ const fs = {
|
|
|
1797
1797
|
}, null, 8, ["modelValue", "placeholder"]),
|
|
1798
1798
|
Ye.value ? (a(), B(m, {
|
|
1799
1799
|
key: 0,
|
|
1800
|
-
modelValue:
|
|
1801
|
-
"onUpdate:modelValue": f[1] || (f[1] = (k) =>
|
|
1800
|
+
modelValue: ue.value,
|
|
1801
|
+
"onUpdate:modelValue": f[1] || (f[1] = (k) => ue.value = k),
|
|
1802
1802
|
class: "ik-picker-tab"
|
|
1803
1803
|
}, {
|
|
1804
1804
|
default: I(() => [
|
|
1805
|
-
(a(!0),
|
|
1805
|
+
(a(!0), u(
|
|
1806
1806
|
N,
|
|
1807
1807
|
null,
|
|
1808
1808
|
W(Je.value, (k) => (a(), B(g, {
|
|
@@ -1819,41 +1819,49 @@ const fs = {
|
|
|
1819
1819
|
}, 8, ["modelValue"])) : _("v-if", !0)
|
|
1820
1820
|
]),
|
|
1821
1821
|
_(" 过滤 "),
|
|
1822
|
-
te.value === P(re).group ? (a(),
|
|
1823
|
-
|
|
1824
|
-
|
|
1825
|
-
|
|
1826
|
-
|
|
1827
|
-
|
|
1828
|
-
|
|
1829
|
-
|
|
1830
|
-
|
|
1831
|
-
|
|
1832
|
-
|
|
1833
|
-
|
|
1834
|
-
|
|
1835
|
-
|
|
1836
|
-
|
|
1837
|
-
|
|
1838
|
-
|
|
1839
|
-
|
|
1840
|
-
|
|
1841
|
-
|
|
1842
|
-
|
|
1843
|
-
|
|
1844
|
-
|
|
1845
|
-
|
|
1846
|
-
|
|
1847
|
-
|
|
1848
|
-
|
|
1849
|
-
|
|
1850
|
-
|
|
1851
|
-
|
|
1852
|
-
|
|
1853
|
-
|
|
1822
|
+
te.value === P(re).group ? (a(), u(
|
|
1823
|
+
N,
|
|
1824
|
+
{ key: 0 },
|
|
1825
|
+
[
|
|
1826
|
+
Ne.value ? (a(), u("div", gs, [
|
|
1827
|
+
_(" 面包屑 全选 "),
|
|
1828
|
+
w(P(ut), {
|
|
1829
|
+
separator: ">",
|
|
1830
|
+
class: se(["banner", { "top-unlink": !s.topLink }])
|
|
1831
|
+
}, {
|
|
1832
|
+
default: I(() => [
|
|
1833
|
+
(a(!0), u(
|
|
1834
|
+
N,
|
|
1835
|
+
null,
|
|
1836
|
+
W(P(h), (k, z) => (a(), B(P(dt), {
|
|
1837
|
+
key: k[y.value.id],
|
|
1838
|
+
onClick: ie((xe) => Xe(k, z), ["stop"])
|
|
1839
|
+
}, {
|
|
1840
|
+
default: I(() => [
|
|
1841
|
+
Y(
|
|
1842
|
+
T(k[y.value.name]),
|
|
1843
|
+
1
|
|
1844
|
+
/* TEXT */
|
|
1845
|
+
)
|
|
1846
|
+
]),
|
|
1847
|
+
_: 2
|
|
1848
|
+
/* DYNAMIC */
|
|
1849
|
+
}, 1032, ["onClick"]))),
|
|
1850
|
+
128
|
|
1851
|
+
/* KEYED_FRAGMENT */
|
|
1852
|
+
))
|
|
1853
|
+
]),
|
|
1854
|
+
_: 1
|
|
1855
|
+
/* STABLE */
|
|
1856
|
+
}, 8, ["class"])
|
|
1857
|
+
])) : _("v-if", !0)
|
|
1858
|
+
],
|
|
1859
|
+
64
|
|
1860
|
+
/* STABLE_FRAGMENT */
|
|
1861
|
+
)) : _("v-if", !0),
|
|
1854
1862
|
_(" 左侧列表 "),
|
|
1855
1863
|
_(" 组织架构 "),
|
|
1856
|
-
te.value === P(re).group ?
|
|
1864
|
+
te.value === P(re).group ? de((a(), B(Sl, {
|
|
1857
1865
|
key: 1,
|
|
1858
1866
|
fixPropOpt: y.value,
|
|
1859
1867
|
fixTypeOpt: i.value,
|
|
@@ -1869,12 +1877,12 @@ const fs = {
|
|
|
1869
1877
|
onChange: tt
|
|
1870
1878
|
}, null, 8, ["fixPropOpt", "fixTypeOpt", "list", "max", "multiple", "hand-list", "imageBaseUrl", "emptyText", "children", "choose-type"])), [
|
|
1871
1879
|
[P(Pe), V.value]
|
|
1872
|
-
]) : te.value === P(re).role ? (a(),
|
|
1880
|
+
]) : te.value === P(re).role ? (a(), u(
|
|
1873
1881
|
N,
|
|
1874
1882
|
{ key: 2 },
|
|
1875
1883
|
[
|
|
1876
1884
|
_(" 角色 "),
|
|
1877
|
-
|
|
1885
|
+
de(w(cs, {
|
|
1878
1886
|
fixPropOpt: y.value,
|
|
1879
1887
|
fixTypeOpt: i.value,
|
|
1880
1888
|
list: p.value,
|
|
@@ -1891,12 +1899,12 @@ const fs = {
|
|
|
1891
1899
|
],
|
|
1892
1900
|
64
|
|
1893
1901
|
/* STABLE_FRAGMENT */
|
|
1894
|
-
)) : te.value === P(re).post ? (a(),
|
|
1902
|
+
)) : te.value === P(re).post ? (a(), u(
|
|
1895
1903
|
N,
|
|
1896
1904
|
{ key: 3 },
|
|
1897
1905
|
[
|
|
1898
1906
|
_(" 岗位 "),
|
|
1899
|
-
|
|
1907
|
+
de(w(Ql, {
|
|
1900
1908
|
fixPropOpt: y.value,
|
|
1901
1909
|
fixTypeOpt: i.value,
|
|
1902
1910
|
list: F.value,
|
|
@@ -1933,10 +1941,10 @@ const fs = {
|
|
|
1933
1941
|
})
|
|
1934
1942
|
]),
|
|
1935
1943
|
n("ul", Ps, [
|
|
1936
|
-
(a(!0),
|
|
1944
|
+
(a(!0), u(
|
|
1937
1945
|
N,
|
|
1938
1946
|
null,
|
|
1939
|
-
W(A.value, (k) => (a(),
|
|
1947
|
+
W(A.value, (k) => (a(), u("li", Ts, [
|
|
1940
1948
|
n("div", ks, [
|
|
1941
1949
|
_(" icon前缀 "),
|
|
1942
1950
|
n("div", Ls, [
|
|
@@ -1955,7 +1963,7 @@ const fs = {
|
|
|
1955
1963
|
/* TEXT */
|
|
1956
1964
|
)
|
|
1957
1965
|
]),
|
|
1958
|
-
|
|
1966
|
+
de(w(Ut, {
|
|
1959
1967
|
class: "close",
|
|
1960
1968
|
onClick: ie((z) => Ve(k), ["stop"])
|
|
1961
1969
|
}, null, 8, ["onClick"]), [
|
|
@@ -2084,13 +2092,13 @@ const Us = He(Cs), Ge = (o) => (he("data-v-0f9a3920"), o = o(), Ae(), o), Ss = {
|
|
|
2084
2092
|
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;
|
|
2085
2093
|
}, D = (t, r) => {
|
|
2086
2094
|
e.dataList[r].handList = t.list;
|
|
2087
|
-
let
|
|
2095
|
+
let d = (e.dataList[r][p.defaultFile.approvePersonList] || []).filter((c) => !c.canDele), U = t.list.map((c) => ({
|
|
2088
2096
|
...c,
|
|
2089
2097
|
userName: c.elementName,
|
|
2090
2098
|
userAvatar: c.avatar,
|
|
2091
2099
|
canDele: !0
|
|
2092
2100
|
}));
|
|
2093
|
-
e.dataList[r][p.defaultFile.approvePersonList] =
|
|
2101
|
+
e.dataList[r][p.defaultFile.approvePersonList] = d.concat(U);
|
|
2094
2102
|
}, y = (t, r) => {
|
|
2095
2103
|
e.dataList[t][p.defaultFile.approvePersonList].splice(r, 1), e.dataList[t].handList = e.dataList[t][p.defaultFile.approvePersonList];
|
|
2096
2104
|
}, i = () => {
|
|
@@ -2124,15 +2132,15 @@ const Us = He(Cs), Ge = (o) => (he("data-v-0f9a3920"), o = o(), Ae(), o), Ss = {
|
|
|
2124
2132
|
}));
|
|
2125
2133
|
return v({ requiredVerification: i }), (t, r) => {
|
|
2126
2134
|
const h = ce("IkApprovalProcess");
|
|
2127
|
-
return a(),
|
|
2128
|
-
(a(!0),
|
|
2135
|
+
return a(), u("div", Ss, [
|
|
2136
|
+
(a(!0), u(
|
|
2129
2137
|
N,
|
|
2130
2138
|
null,
|
|
2131
|
-
W(e.dataList, (
|
|
2139
|
+
W(e.dataList, (d, U) => {
|
|
2132
2140
|
var c, M, q, Z;
|
|
2133
|
-
return a(),
|
|
2141
|
+
return a(), u("div", {
|
|
2134
2142
|
class: "content",
|
|
2135
|
-
key:
|
|
2143
|
+
key: d.id
|
|
2136
2144
|
}, [
|
|
2137
2145
|
_(" 审批节点类型 "),
|
|
2138
2146
|
n("div", Bs, [
|
|
@@ -2140,7 +2148,7 @@ const Us = He(Cs), Ge = (o) => (he("data-v-0f9a3920"), o = o(), Ae(), o), Ss = {
|
|
|
2140
2148
|
n(
|
|
2141
2149
|
"i",
|
|
2142
2150
|
{
|
|
2143
|
-
class: se(P(ht)(p,
|
|
2151
|
+
class: se(P(ht)(p, d[p.defaultFile.nodeType]))
|
|
2144
2152
|
},
|
|
2145
2153
|
null,
|
|
2146
2154
|
2
|
|
@@ -2158,46 +2166,46 @@ const Us = He(Cs), Ge = (o) => (he("data-v-0f9a3920"), o = o(), Ae(), o), Ss = {
|
|
|
2158
2166
|
/* STYLE */
|
|
2159
2167
|
)
|
|
2160
2168
|
]),
|
|
2161
|
-
|
|
2169
|
+
d[p.defaultFile.nodeType] !== p.nodeType.并行分支 ? (a(), u("div", Is, [
|
|
2162
2170
|
n("div", null, [
|
|
2163
2171
|
n(
|
|
2164
2172
|
"div",
|
|
2165
2173
|
null,
|
|
2166
|
-
T(
|
|
2174
|
+
T(d[p.defaultFile.nodeTypeName]),
|
|
2167
2175
|
1
|
|
2168
2176
|
/* TEXT */
|
|
2169
2177
|
),
|
|
2170
2178
|
n("div", Es, [
|
|
2171
2179
|
_(" 抄送节点 "),
|
|
2172
|
-
|
|
2173
|
-
|
|
2180
|
+
d[p.defaultFile.nodeType] == p.nodeType.抄送节点 ? (a(), u("span", Vs, [
|
|
2181
|
+
d[p.defaultFile.approvePersonList].length ? (a(), u(
|
|
2174
2182
|
"span",
|
|
2175
2183
|
Ns,
|
|
2176
|
-
T(`抄送${
|
|
2184
|
+
T(`抄送${d[p.defaultFile.approvePersonList].length}人`),
|
|
2177
2185
|
1
|
|
2178
2186
|
/* TEXT */
|
|
2179
2187
|
)) : _("v-if", !0),
|
|
2180
|
-
|
|
2181
|
-
])) : (a(),
|
|
2188
|
+
d[p.defaultFile.isShowAdd] ? (a(), u("span", Fs, ",可添加抄送人")) : _("v-if", !0)
|
|
2189
|
+
])) : (a(), u(
|
|
2182
2190
|
N,
|
|
2183
2191
|
{ key: 1 },
|
|
2184
2192
|
[
|
|
2185
2193
|
_(" 审批节点 "),
|
|
2186
2194
|
n("span", null, [
|
|
2187
2195
|
_(" 存在审批人时 "),
|
|
2188
|
-
(c =
|
|
2196
|
+
(c = d[p.defaultFile.approvePersonList]) != null && c.length ? (a(), u(
|
|
2189
2197
|
"span",
|
|
2190
2198
|
Ds,
|
|
2191
|
-
T(((M =
|
|
2199
|
+
T(((M = d[p.defaultFile.approvePersonList]) == null ? void 0 : M.length) == 1 ? "1人审批" : `${(q = d[p.defaultFile.approvePersonList]) == null ? void 0 : q.length}人${d[p.defaultFile.multiExecutorTypeName]}`),
|
|
2192
2200
|
1
|
|
2193
2201
|
/* TEXT */
|
|
2194
|
-
)) : [p.statusWithoutApprover.自动通过, p.statusWithoutApprover.自动拒绝].includes(
|
|
2202
|
+
)) : [p.statusWithoutApprover.自动通过, p.statusWithoutApprover.自动拒绝].includes(d[p.defaultFile.approveType]) ? (a(), u(
|
|
2195
2203
|
"span",
|
|
2196
2204
|
Rs,
|
|
2197
|
-
T(
|
|
2205
|
+
T(d[p.defaultFile.approveTypeName]),
|
|
2198
2206
|
1
|
|
2199
2207
|
/* TEXT */
|
|
2200
|
-
)) :
|
|
2208
|
+
)) : d[p.defaultFile.executorEmptyStrategy] && d[p.defaultFile.executorEmpty] ? (a(), u(
|
|
2201
2209
|
N,
|
|
2202
2210
|
{ key: 2 },
|
|
2203
2211
|
[
|
|
@@ -2207,7 +2215,7 @@ const Us = He(Cs), Ge = (o) => (he("data-v-0f9a3920"), o = o(), Ae(), o), Ss = {
|
|
|
2207
2215
|
n(
|
|
2208
2216
|
"span",
|
|
2209
2217
|
null,
|
|
2210
|
-
T(
|
|
2218
|
+
T(d[p.defaultFile.executorEmptyStrategy] == p.statusWithoutApprover.自动通过 ? "将自动通过" : d[p.defaultFile.executorEmptyStrategy] == p.statusWithoutApprover.自动转交管理员 ? "自动转交给管理员" : d[p.defaultFile.executorEmptyStrategy] == p.statusWithoutApprover.指定人员审批 ? `将自动转给指定成员${d[p.defaultFile.reserveExecutorUsers] && d[p.defaultFile.reserveExecutorUsers][0].userName}` : ""),
|
|
2211
2219
|
1
|
|
2212
2220
|
/* TEXT */
|
|
2213
2221
|
)
|
|
@@ -2215,13 +2223,13 @@ const Us = He(Cs), Ge = (o) => (he("data-v-0f9a3920"), o = o(), Ae(), o), Ss = {
|
|
|
2215
2223
|
],
|
|
2216
2224
|
2112
|
|
2217
2225
|
/* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
|
|
2218
|
-
)) : [p.nodeType.并行分支, p.nodeType.子流程].includes(
|
|
2226
|
+
)) : [p.nodeType.并行分支, p.nodeType.子流程].includes(d[p.defaultFile.nodeType]) ? _("v-if", !0) : (a(), u(
|
|
2219
2227
|
"span",
|
|
2220
2228
|
{
|
|
2221
2229
|
key: 3,
|
|
2222
|
-
class: se(
|
|
2230
|
+
class: se(d.required ? "warn" : "")
|
|
2223
2231
|
},
|
|
2224
|
-
" 请选择" + T(
|
|
2232
|
+
" 请选择" + T(d[p.defaultFile.nodeType] === p.nodeType.办理节点 ? "办理人" : "审批人"),
|
|
2225
2233
|
3
|
|
2226
2234
|
/* TEXT, CLASS */
|
|
2227
2235
|
))
|
|
@@ -2233,22 +2241,22 @@ const Us = He(Cs), Ge = (o) => (he("data-v-0f9a3920"), o = o(), Ae(), o), Ss = {
|
|
|
2233
2241
|
])
|
|
2234
2242
|
]),
|
|
2235
2243
|
n("div", $s, [
|
|
2236
|
-
(a(!0),
|
|
2244
|
+
(a(!0), u(
|
|
2237
2245
|
N,
|
|
2238
2246
|
null,
|
|
2239
|
-
W(
|
|
2247
|
+
W(d[p.defaultFile.approvePersonList], (L, j) => {
|
|
2240
2248
|
var H;
|
|
2241
|
-
return a(),
|
|
2249
|
+
return a(), u("div", {
|
|
2242
2250
|
class: "list",
|
|
2243
2251
|
key: L.userId
|
|
2244
2252
|
}, [
|
|
2245
2253
|
n("div", Ms, [
|
|
2246
2254
|
n("div", Ws, [
|
|
2247
|
-
L.userAvatar ? (a(),
|
|
2255
|
+
L.userAvatar ? (a(), u("img", {
|
|
2248
2256
|
key: 0,
|
|
2249
2257
|
src: V(L.userAvatar),
|
|
2250
2258
|
alt: ""
|
|
2251
|
-
}, null, 8, js)) : (a(),
|
|
2259
|
+
}, null, 8, js)) : (a(), u("div", Hs, [
|
|
2252
2260
|
n(
|
|
2253
2261
|
"span",
|
|
2254
2262
|
null,
|
|
@@ -2257,7 +2265,7 @@ const Us = He(Cs), Ge = (o) => (he("data-v-0f9a3920"), o = o(), Ae(), o), Ss = {
|
|
|
2257
2265
|
/* TEXT */
|
|
2258
2266
|
)
|
|
2259
2267
|
])),
|
|
2260
|
-
L.canDele ? (a(),
|
|
2268
|
+
L.canDele ? (a(), u("i", {
|
|
2261
2269
|
key: 2,
|
|
2262
2270
|
onClick: (Ee) => y(U, j),
|
|
2263
2271
|
class: "ikapprove ikapprove-shanchu1"
|
|
@@ -2269,9 +2277,9 @@ const Us = He(Cs), Ge = (o) => (he("data-v-0f9a3920"), o = o(), Ae(), o), Ss = {
|
|
|
2269
2277
|
}, T(L.userName), 9, zs)
|
|
2270
2278
|
]),
|
|
2271
2279
|
_(" 显示添加人按钮,不是单选且已选中一个人的情况,显示图标 "),
|
|
2272
|
-
|
|
2280
|
+
d[p.defaultFile.isShowAdd] && !(d[p.defaultFile.singleApproval] && ((H = d[p.defaultFile.approvePersonList]) == null ? void 0 : H.length) == 1) ? (a(), u("span", Qs, [
|
|
2273
2281
|
_(" 抄送默认 "),
|
|
2274
|
-
|
|
2282
|
+
d[p.defaultFile.nodeType] == p.nodeType.抄送节点 ? (a(), u("span", Xs, "+")) : (a(), u(
|
|
2275
2283
|
N,
|
|
2276
2284
|
{ key: 1 },
|
|
2277
2285
|
[
|
|
@@ -2279,7 +2287,7 @@ const Us = He(Cs), Ge = (o) => (he("data-v-0f9a3920"), o = o(), Ae(), o), Ss = {
|
|
|
2279
2287
|
n(
|
|
2280
2288
|
"span",
|
|
2281
2289
|
null,
|
|
2282
|
-
T(
|
|
2290
|
+
T(d[p.defaultFile.multiExecutorType] == "ANY" ? "/" : d[p.defaultFile.multiExecutorType] == "ALL" ? "+" : ">"),
|
|
2283
2291
|
1
|
|
2284
2292
|
/* TEXT */
|
|
2285
2293
|
)
|
|
@@ -2294,37 +2302,37 @@ const Us = He(Cs), Ge = (o) => (he("data-v-0f9a3920"), o = o(), Ae(), o), Ss = {
|
|
|
2294
2302
|
/* KEYED_FRAGMENT */
|
|
2295
2303
|
)),
|
|
2296
2304
|
_(" 显示添加人按钮,不是单选且已选中一个人的情况,显示按钮 (item[state.defaultFile.isShowAdd] && "),
|
|
2297
|
-
|
|
2305
|
+
d[p.defaultFile.isShowAdd] && !(d[p.defaultFile.singleApproval] && ((Z = d[p.defaultFile.approvePersonList]) == null ? void 0 : Z.length) == 1) || d[p.defaultFile.isShowAddCopy] ? (a(), u("span", {
|
|
2298
2306
|
key: 0,
|
|
2299
2307
|
class: "addBg",
|
|
2300
|
-
onClick: (L) => F(
|
|
2308
|
+
onClick: (L) => F(d)
|
|
2301
2309
|
}, [
|
|
2302
|
-
|
|
2310
|
+
d[p.defaultFile.nodeType] == p.nodeType.审批节点 ? (a(), u("span", Zs)) : _("v-if", !0),
|
|
2303
2311
|
Ks
|
|
2304
2312
|
], 8, qs)) : _("v-if", !0),
|
|
2305
2313
|
_(" 添加人组件 "),
|
|
2306
2314
|
w(P(Us), Me({
|
|
2307
|
-
modelValue:
|
|
2308
|
-
"onUpdate:modelValue": (L) =>
|
|
2309
|
-
show:
|
|
2310
|
-
"onUpdate:show": (L) =>
|
|
2315
|
+
modelValue: d.handList,
|
|
2316
|
+
"onUpdate:modelValue": (L) => d.handList = L,
|
|
2317
|
+
show: d.isShow,
|
|
2318
|
+
"onUpdate:show": (L) => d.isShow = L,
|
|
2311
2319
|
onOk: (L) => D(L, U),
|
|
2312
|
-
multiple:
|
|
2313
|
-
"dep-list":
|
|
2314
|
-
"user-list":
|
|
2315
|
-
"organization-list":
|
|
2320
|
+
multiple: d.multiple,
|
|
2321
|
+
"dep-list": d.depList,
|
|
2322
|
+
"user-list": d.userList,
|
|
2323
|
+
"organization-list": d.organizationList,
|
|
2316
2324
|
ref_for: !0
|
|
2317
2325
|
}, A.value, {
|
|
2318
|
-
chooseType:
|
|
2326
|
+
chooseType: d.chooseType
|
|
2319
2327
|
}), null, 16, ["modelValue", "onUpdate:modelValue", "show", "onUpdate:show", "onOk", "multiple", "dep-list", "user-list", "organization-list", "chooseType"])
|
|
2320
2328
|
])
|
|
2321
|
-
])) : (a(),
|
|
2329
|
+
])) : (a(), u("div", Ys, [
|
|
2322
2330
|
Js,
|
|
2323
2331
|
n("div", ea, [
|
|
2324
|
-
(a(!0),
|
|
2332
|
+
(a(!0), u(
|
|
2325
2333
|
N,
|
|
2326
2334
|
null,
|
|
2327
|
-
W(
|
|
2335
|
+
W(d.parallelInstances, (L, j) => (a(), u(
|
|
2328
2336
|
"div",
|
|
2329
2337
|
{
|
|
2330
2338
|
key: j,
|