iking-web-ui-pro 0.2.37 → 0.2.38
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{IkApprovalProcess → IKApprovalProcess}/ik.index.es.js +189 -188
- package/dist/{IkApprovalProcess → IKApprovalProcess}/ik.index.umd.js +1 -1
- package/dist/{IkApprovalProcess → IKApprovalProcess}/style.css +1 -1
- package/dist/{IkApprovalProcessDetail → IKApprovalProcessDetail}/ik.index.es.js +9 -13
- package/dist/{IkApprovalProcessDetail → IKApprovalProcessDetail}/ik.index.umd.js +2 -2
- package/dist/{IkApprovalProcessDetail → IKApprovalProcessDetail}/style.css +1 -1
- package/dist/{IkCalendar → IKCalendar}/ik.index.es.js +901 -917
- package/dist/IKCalendar/ik.index.umd.js +1 -0
- package/dist/{IkCalendar → IKCalendar}/style.css +1 -1
- package/dist/IKPreviewFile/ik.index.es.js +7 -11
- package/dist/IKPreviewFile/ik.index.umd.js +1 -1
- package/dist/IKSearch/ik.index.es.js +406 -405
- package/dist/IKSearch/ik.index.umd.js +2 -2
- package/dist/IKSearch/style.css +1 -1
- package/dist/IkDescription/ik.index.es.js +7 -11
- package/dist/IkDescription/ik.index.umd.js +1 -1
- package/dist/IkDetailPreviewFiles/ik.index.es.js +250 -254
- package/dist/IkDetailPreviewFiles/ik.index.umd.js +1 -1
- package/dist/IkFullCalendar/ik.index.es.js +584 -601
- package/dist/IkFullCalendar/ik.index.umd.js +1 -1
- package/dist/IkPageFull/ik.index.es.js +424 -423
- package/dist/IkPageFull/ik.index.umd.js +2 -2
- package/dist/IkPageFull/style.css +1 -1
- package/dist/IkPickerUser/ik.index.es.js +24 -23
- package/dist/IkPickerUser/ik.index.umd.js +1 -1
- package/dist/IkPickerUser/style.css +1 -1
- package/dist/IkSchedule/ik.index.es.js +674 -691
- package/dist/IkSchedule/ik.index.umd.js +1 -1
- package/dist/IkUploadImage/ik.index.es.js +405 -410
- package/dist/IkUploadImage/ik.index.umd.js +1 -1
- package/dist/IkUploadImage/style.css +1 -1
- package/dist/index.es.js +11550 -11575
- package/dist/index.umd.js +89 -89
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/IkCalendar/ik.index.umd.js +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { inject as ne, computed as U, openBlock as a, createElementBlock as d, createElementVNode as n, defineComponent as oe, resolveComponent as
|
|
1
|
+
import { inject as ne, computed as U, openBlock as a, createElementBlock as d, createElementVNode as n, defineComponent as oe, resolveComponent as ue, 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 W, 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 ie, normalizeStyle as He, withDirectives as ce, vShow as rt, mergeProps as Me } from "vue";
|
|
2
2
|
import { _ as X, ikStore as fe, ikEvent as pt } from "iking-utils-pro";
|
|
3
|
-
import { ElCheckbox as ae, ElCheckboxGroup as Le, ElRadioGroup as be, ElRadio as Ce, ElDialog as dt, ElButton as Oe, ElInput as
|
|
3
|
+
import { ElCheckbox as ae, ElCheckboxGroup as Le, ElRadioGroup as be, ElRadio as Ce, ElDialog as dt, ElButton as Oe, ElInput as ct, ElBreadcrumb as ut, 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) => {
|
|
@@ -190,7 +190,7 @@ const Ge = (o, v) => {
|
|
|
190
190
|
cUserInfo: V,
|
|
191
191
|
cOnlyofficePreviewType: D
|
|
192
192
|
};
|
|
193
|
-
},
|
|
193
|
+
}, gt = {}, mt = {
|
|
194
194
|
t: "1672194715727",
|
|
195
195
|
class: "icon",
|
|
196
196
|
viewBox: "0 0 1024 1024",
|
|
@@ -221,9 +221,9 @@ const Ge = (o, v) => {
|
|
|
221
221
|
_t
|
|
222
222
|
];
|
|
223
223
|
function Pt(o, v) {
|
|
224
|
-
return a(), d("svg",
|
|
224
|
+
return a(), d("svg", mt, Ot);
|
|
225
225
|
}
|
|
226
|
-
const Tt = /* @__PURE__ */ G(
|
|
226
|
+
const Tt = /* @__PURE__ */ G(gt, [["render", Pt]]), kt = {}, Lt = {
|
|
227
227
|
t: "1710907270798",
|
|
228
228
|
class: "icon",
|
|
229
229
|
viewBox: "0 0 1024 1024",
|
|
@@ -399,7 +399,7 @@ 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 = ue("el-avatar");
|
|
403
403
|
return a(), d("div", Jt, [
|
|
404
404
|
v.fixTypeOpt.group === o.element[v.fixPropOpt.type] ? (a(), B(Yt, { key: 0 })) : v.fixTypeOpt.role === o.element[v.fixPropOpt.type] ? (a(), B(Dt, { 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, {
|
|
@@ -485,16 +485,16 @@ const $ = /* @__PURE__ */ G(ll, [["__scopeId", "data-v-8031ce9b"]]), Se = "data:
|
|
|
485
485
|
}, dl = {
|
|
486
486
|
key: 1,
|
|
487
487
|
class: "checkText"
|
|
488
|
-
},
|
|
488
|
+
}, cl = /* @__PURE__ */ Be(() => /* @__PURE__ */ n(
|
|
489
489
|
"div",
|
|
490
490
|
{ class: "side" },
|
|
491
491
|
null,
|
|
492
492
|
-1
|
|
493
493
|
/* HOISTED */
|
|
494
|
-
)),
|
|
494
|
+
)), ul = { class: "iconBox" }, fl = { class: "name_number" }, hl = { class: "title" }, Al = {
|
|
495
495
|
key: 0,
|
|
496
496
|
class: "userCount"
|
|
497
|
-
}, vl = ["onClick"], yl = { class: "checkText" },
|
|
497
|
+
}, vl = ["onClick"], yl = { class: "checkText" }, gl = { class: "iconBox" }, ml = { class: "name_number" }, xl = { class: "title" }, _l = {
|
|
498
498
|
key: 0,
|
|
499
499
|
class: "userCount"
|
|
500
500
|
}, Ol = {
|
|
@@ -531,9 +531,9 @@ const $ = /* @__PURE__ */ G(ll, [["__scopeId", "data-v-8031ce9b"]]), Se = "data:
|
|
|
531
531
|
var A, t;
|
|
532
532
|
return ((A = e.handList) == null ? void 0 : A.length) === ((t = e.list) == null ? void 0 : t.length);
|
|
533
533
|
}), k = U(() => {
|
|
534
|
-
var r, h,
|
|
534
|
+
var r, h, c, S;
|
|
535
535
|
const A = (r = e.handList) == null ? void 0 : r.length, t = (h = e.list) == null ? void 0 : h.length;
|
|
536
|
-
return e.multiple ? _.value = e.handList.map((
|
|
536
|
+
return e.multiple ? _.value = e.handList.map((u) => u[e.fixPropOpt.id]) : b.value = (S = (c = e.handList) == null ? void 0 : c[0]) == null ? void 0 : S[e.fixPropOpt.id], A > 0 && A < t;
|
|
537
537
|
}), _ = E(
|
|
538
538
|
e.handList.map((A) => A[e.fixPropOpt.id])
|
|
539
539
|
), b = E((i = (y = e.handList) == null ? void 0 : y[0]) == null ? void 0 : i[e.fixPropOpt.id]), C = v, p = (A) => {
|
|
@@ -622,8 +622,8 @@ const $ = /* @__PURE__ */ G(ll, [["__scopeId", "data-v-8031ce9b"]]), Se = "data:
|
|
|
622
622
|
_: 2
|
|
623
623
|
/* DYNAMIC */
|
|
624
624
|
}, 1032, ["label", "disabled"])) : (a(), d("div", dl, [
|
|
625
|
-
|
|
626
|
-
n("div",
|
|
625
|
+
cl,
|
|
626
|
+
n("div", ul, [
|
|
627
627
|
w($, {
|
|
628
628
|
fixTypeOpt: e.fixTypeOpt,
|
|
629
629
|
fixPropOpt: e.fixPropOpt,
|
|
@@ -652,14 +652,14 @@ const $ = /* @__PURE__ */ G(ll, [["__scopeId", "data-v-8031ce9b"]]), Se = "data:
|
|
|
652
652
|
key: 2,
|
|
653
653
|
class: se(["nextLevel", {
|
|
654
654
|
"is-disabled": (h = _.value) == null ? void 0 : h.find(
|
|
655
|
-
(
|
|
655
|
+
(c) => c === r[e.fixPropOpt.id]
|
|
656
656
|
)
|
|
657
657
|
}]),
|
|
658
|
-
onClick: (
|
|
658
|
+
onClick: (c) => {
|
|
659
659
|
var S;
|
|
660
660
|
return D(
|
|
661
661
|
r,
|
|
662
|
-
(S = _.value) == null ? void 0 : S.find((
|
|
662
|
+
(S = _.value) == null ? void 0 : S.find((u) => u === r[e.fixPropOpt.id])
|
|
663
663
|
);
|
|
664
664
|
}
|
|
665
665
|
}, " 下级", 10, vl)) : x("v-if", !0)
|
|
@@ -694,7 +694,7 @@ const $ = /* @__PURE__ */ G(ll, [["__scopeId", "data-v-8031ce9b"]]), Se = "data:
|
|
|
694
694
|
}, {
|
|
695
695
|
default: I(() => [
|
|
696
696
|
n("div", yl, [
|
|
697
|
-
n("div",
|
|
697
|
+
n("div", gl, [
|
|
698
698
|
w($, {
|
|
699
699
|
fixTypeOpt: e.fixTypeOpt,
|
|
700
700
|
fixPropOpt: e.fixPropOpt,
|
|
@@ -702,7 +702,7 @@ const $ = /* @__PURE__ */ G(ll, [["__scopeId", "data-v-8031ce9b"]]), Se = "data:
|
|
|
702
702
|
imageBaseUrl: e.imageBaseUrl
|
|
703
703
|
}, null, 8, ["fixTypeOpt", "fixPropOpt", "element", "imageBaseUrl"])
|
|
704
704
|
]),
|
|
705
|
-
n("div",
|
|
705
|
+
n("div", ml, [
|
|
706
706
|
n(
|
|
707
707
|
"div",
|
|
708
708
|
xl,
|
|
@@ -753,14 +753,14 @@ const $ = /* @__PURE__ */ G(ll, [["__scopeId", "data-v-8031ce9b"]]), Se = "data:
|
|
|
753
753
|
key: 2,
|
|
754
754
|
class: se(["nextLevel", {
|
|
755
755
|
"is-disabled": (h = _.value) == null ? void 0 : h.find(
|
|
756
|
-
(
|
|
756
|
+
(c) => c === r[e.fixPropOpt.id]
|
|
757
757
|
)
|
|
758
758
|
}]),
|
|
759
|
-
onClick: (
|
|
759
|
+
onClick: (c) => {
|
|
760
760
|
var S;
|
|
761
761
|
return D(
|
|
762
762
|
r,
|
|
763
|
-
(S = _.value) == null ? void 0 : S.find((
|
|
763
|
+
(S = _.value) == null ? void 0 : S.find((u) => u === r[e.fixPropOpt.id])
|
|
764
764
|
);
|
|
765
765
|
}
|
|
766
766
|
}, " 下级", 10, Cl)) : x("v-if", !0)
|
|
@@ -833,9 +833,9 @@ const wl = /* @__PURE__ */ G(Bl, [["__scopeId", "data-v-8c34a55d"]]), we = (o) =
|
|
|
833
833
|
var i, A;
|
|
834
834
|
return ((i = e.handList) == null ? void 0 : i.length) === ((A = e.list) == null ? void 0 : A.length);
|
|
835
835
|
}), k = U(() => {
|
|
836
|
-
var t, r, h,
|
|
836
|
+
var t, r, h, c;
|
|
837
837
|
const i = (t = e.handList) == null ? void 0 : t.length, A = (r = e.list) == null ? void 0 : r.length;
|
|
838
|
-
return e.multiple ? _.value = e.handList.map((S) => S[e.fixPropOpt.id]) : b.value = (
|
|
838
|
+
return e.multiple ? _.value = e.handList.map((S) => S[e.fixPropOpt.id]) : b.value = (c = (h = e.handList) == null ? void 0 : h[0]) == null ? void 0 : c[e.fixPropOpt.id], i > 0 && i < A;
|
|
839
839
|
}), _ = E(
|
|
840
840
|
e.handList.map((i) => i[e.fixPropOpt.id])
|
|
841
841
|
), b = E((y = (D = e.handList) == null ? void 0 : D[0]) == null ? void 0 : y[e.fixPropOpt.id]), C = v, p = (i) => {
|
|
@@ -1031,10 +1031,10 @@ const ql = /* @__PURE__ */ G(Xl, [["__scopeId", "data-v-e03f0d36"]]), Ie = (o) =
|
|
|
1031
1031
|
null,
|
|
1032
1032
|
-1
|
|
1033
1033
|
/* HOISTED */
|
|
1034
|
-
)), ps = { class: "iconBox" }, ds = ["title"],
|
|
1034
|
+
)), ps = { class: "iconBox" }, ds = ["title"], cs = {
|
|
1035
1035
|
key: 2,
|
|
1036
1036
|
class: "empty"
|
|
1037
|
-
},
|
|
1037
|
+
}, us = /* @__PURE__ */ Ie(() => /* @__PURE__ */ n(
|
|
1038
1038
|
"img",
|
|
1039
1039
|
{
|
|
1040
1040
|
src: Se,
|
|
@@ -1053,9 +1053,9 @@ const ql = /* @__PURE__ */ G(Xl, [["__scopeId", "data-v-e03f0d36"]]), Ie = (o) =
|
|
|
1053
1053
|
var i, A;
|
|
1054
1054
|
return ((i = e.handList) == null ? void 0 : i.length) === ((A = e.list) == null ? void 0 : A.length);
|
|
1055
1055
|
}), k = U(() => {
|
|
1056
|
-
var t, r, h,
|
|
1056
|
+
var t, r, h, c;
|
|
1057
1057
|
const i = (t = e.handList) == null ? void 0 : t.length, A = (r = e.list) == null ? void 0 : r.length;
|
|
1058
|
-
return e.multiple ? _.value = e.handList.map((S) => S[e.fixPropOpt.id]) : b.value = (
|
|
1058
|
+
return e.multiple ? _.value = e.handList.map((S) => S[e.fixPropOpt.id]) : b.value = (c = (h = e.handList) == null ? void 0 : h[0]) == null ? void 0 : c[e.fixPropOpt.id], i > 0 && i < A;
|
|
1059
1059
|
}), _ = E(
|
|
1060
1060
|
e.handList.map((i) => i[e.fixPropOpt.id])
|
|
1061
1061
|
), b = E((y = (D = e.handList) == null ? void 0 : D[0]) == null ? void 0 : y[e.fixPropOpt.id]), C = v, p = (i) => {
|
|
@@ -1203,8 +1203,8 @@ const ql = /* @__PURE__ */ G(Xl, [["__scopeId", "data-v-e03f0d36"]]), Ie = (o) =
|
|
|
1203
1203
|
_: 1
|
|
1204
1204
|
/* STABLE */
|
|
1205
1205
|
}, 8, ["indeterminate", "modelValue"]))
|
|
1206
|
-
])) : (a(), d("div",
|
|
1207
|
-
|
|
1206
|
+
])) : (a(), d("div", cs, [
|
|
1207
|
+
us,
|
|
1208
1208
|
n(
|
|
1209
1209
|
"div",
|
|
1210
1210
|
null,
|
|
@@ -1408,7 +1408,7 @@ const As = {
|
|
|
1408
1408
|
} else
|
|
1409
1409
|
vs(o);
|
|
1410
1410
|
(e = fe.local.getItem("tenant")) == null || e.code;
|
|
1411
|
-
},
|
|
1411
|
+
}, gs = (o, v) => {
|
|
1412
1412
|
const e = E([]), l = async (_, b) => {
|
|
1413
1413
|
var Z, L;
|
|
1414
1414
|
const { url: C, methods: p, headers: F, param: V } = o.value || {}, D = {
|
|
@@ -1440,11 +1440,11 @@ const As = {
|
|
|
1440
1440
|
const {
|
|
1441
1441
|
departments: r,
|
|
1442
1442
|
roles: h,
|
|
1443
|
-
posts:
|
|
1443
|
+
posts: c,
|
|
1444
1444
|
users: S,
|
|
1445
|
-
rootOrganization:
|
|
1445
|
+
rootOrganization: u,
|
|
1446
1446
|
rootDepartment: M
|
|
1447
|
-
} = t, q =
|
|
1447
|
+
} = t, q = u || M;
|
|
1448
1448
|
return e.value.length === 0 && (e.value[0] = v.org ? {
|
|
1449
1449
|
...v.org,
|
|
1450
1450
|
id: v.elementId,
|
|
@@ -1455,9 +1455,9 @@ const As = {
|
|
|
1455
1455
|
}), {
|
|
1456
1456
|
groupList: X.cloneDeep(r),
|
|
1457
1457
|
roleList: X.cloneDeep(h),
|
|
1458
|
-
postList: X.cloneDeep(
|
|
1458
|
+
postList: X.cloneDeep(c),
|
|
1459
1459
|
userList: X.cloneDeep(S),
|
|
1460
|
-
rootOrganization:
|
|
1460
|
+
rootOrganization: u,
|
|
1461
1461
|
rootDepartment: M
|
|
1462
1462
|
};
|
|
1463
1463
|
};
|
|
@@ -1468,7 +1468,7 @@ const As = {
|
|
|
1468
1468
|
},
|
|
1469
1469
|
bannerList: e
|
|
1470
1470
|
};
|
|
1471
|
-
},
|
|
1471
|
+
}, ms = {
|
|
1472
1472
|
shadow: "hover",
|
|
1473
1473
|
class: "sel-list"
|
|
1474
1474
|
}, xs = { key: 0 }, _s = /* @__PURE__ */ n(
|
|
@@ -1489,9 +1489,9 @@ const As = {
|
|
|
1489
1489
|
emits: ["handChild", "update:show", "update:modelValue", "ok", "search"],
|
|
1490
1490
|
setup(o, { expose: v, emit: e }) {
|
|
1491
1491
|
nt((s) => ({
|
|
1492
|
-
"
|
|
1492
|
+
"843ec862": De.value
|
|
1493
1493
|
}));
|
|
1494
|
-
const l = o, k = E(""), _ = E(""), b = E([]), C = E([]), p = E([]), F = E([]), V = E(!1), D = U(() =>
|
|
1494
|
+
const l = o, k = E(""), _ = E(""), b = E([]), C = E([]), p = E([]), F = E([]), V = E(!1), D = U(() => H.value.includes("user") ? C.value.concat(b.value) : C.value);
|
|
1495
1495
|
K(
|
|
1496
1496
|
() => l.api,
|
|
1497
1497
|
() => {
|
|
@@ -1510,18 +1510,18 @@ const As = {
|
|
|
1510
1510
|
post: "POST",
|
|
1511
1511
|
group: "DEPT",
|
|
1512
1512
|
...l.typeOption
|
|
1513
|
-
})), A = E([]), t =
|
|
1513
|
+
})), A = E([]), t = gs(it(l, "api"), l), r = t.handData, h = t.bannerList;
|
|
1514
1514
|
l.immediate && r(_.value, k.value);
|
|
1515
|
-
const
|
|
1516
|
-
var
|
|
1517
|
-
f.disabled = ((
|
|
1515
|
+
const c = (s) => (s.forEach((f) => {
|
|
1516
|
+
var g, m;
|
|
1517
|
+
f.disabled = ((m = (g = l.modelValue) == null ? void 0 : g.find(
|
|
1518
1518
|
(T) => T[y.value.id] === f[y.value.id]
|
|
1519
|
-
)) == null ? void 0 :
|
|
1519
|
+
)) == null ? void 0 : m.disabled) || !1;
|
|
1520
1520
|
}), s), S = async () => {
|
|
1521
|
-
var s, f,
|
|
1521
|
+
var s, f, g, m, T, z, _e, Re;
|
|
1522
1522
|
V.value = !0;
|
|
1523
1523
|
try {
|
|
1524
|
-
if ((s = l.groupList) != null && s.length || (f = l.userList) != null && f.length || (
|
|
1524
|
+
if ((s = l.groupList) != null && s.length || (f = l.userList) != null && f.length || (g = l.roleList) != null && g.length || (m = l.postList) != null && m.length) {
|
|
1525
1525
|
b.value = (T = l.userList) == null ? void 0 : T.filter(
|
|
1526
1526
|
(Q) => Q[y.value.name].includes(k.value)
|
|
1527
1527
|
), C.value = (z = l.groupList) == null ? void 0 : z.filter(
|
|
@@ -1535,7 +1535,7 @@ const As = {
|
|
|
1535
1535
|
}
|
|
1536
1536
|
const R = await r(_.value, k.value);
|
|
1537
1537
|
try {
|
|
1538
|
-
b.value =
|
|
1538
|
+
b.value = c((R == null ? void 0 : R.userList) || []), C.value = c((R == null ? void 0 : R.groupList) || []), p.value = c((R == null ? void 0 : R.roleList) || []), F.value = c((R == null ? void 0 : R.postList) || []);
|
|
1539
1539
|
} catch (Q) {
|
|
1540
1540
|
V.value = !1, console.info("error: ", Q);
|
|
1541
1541
|
}
|
|
@@ -1543,7 +1543,7 @@ const As = {
|
|
|
1543
1543
|
} catch {
|
|
1544
1544
|
V.value = !1;
|
|
1545
1545
|
}
|
|
1546
|
-
},
|
|
1546
|
+
}, u = Te({
|
|
1547
1547
|
//组织架构
|
|
1548
1548
|
group: /* @__PURE__ */ new Map(),
|
|
1549
1549
|
// 用户
|
|
@@ -1559,38 +1559,38 @@ const As = {
|
|
|
1559
1559
|
}), M = Te({
|
|
1560
1560
|
indeterminate: !1,
|
|
1561
1561
|
checkAll: 0
|
|
1562
|
-
}), q = (s) =>
|
|
1563
|
-
const s = Array.from(
|
|
1564
|
-
return A.value = [...f, ...
|
|
1565
|
-
list: [...f, ...
|
|
1562
|
+
}), q = (s) => u.group.has(s) || u.user.has(s) || u.role.has(s) || u.post.has(s), Z = pt.debounce(S, 300), L = U(() => {
|
|
1563
|
+
const s = Array.from(u.group.values()), f = Array.from(u.role.values()), g = Array.from(u.user.values()), m = Array.from(u.post.values());
|
|
1564
|
+
return A.value = [...f, ...m, ...g, ...s], {
|
|
1565
|
+
list: [...f, ...g, ...m, ...s],
|
|
1566
1566
|
role: {
|
|
1567
1567
|
list: f,
|
|
1568
1568
|
len: f.length
|
|
1569
1569
|
},
|
|
1570
1570
|
user: {
|
|
1571
|
-
list: m,
|
|
1572
|
-
len: m.length
|
|
1573
|
-
},
|
|
1574
|
-
post: {
|
|
1575
1571
|
list: g,
|
|
1576
1572
|
len: g.length
|
|
1577
1573
|
},
|
|
1574
|
+
post: {
|
|
1575
|
+
list: m,
|
|
1576
|
+
len: m.length
|
|
1577
|
+
},
|
|
1578
1578
|
groups: {
|
|
1579
1579
|
list: s,
|
|
1580
1580
|
len: s.length
|
|
1581
1581
|
}
|
|
1582
1582
|
};
|
|
1583
|
-
}),
|
|
1584
|
-
const s = l.chooseType.map((
|
|
1583
|
+
}), H = U(() => {
|
|
1584
|
+
const s = l.chooseType.map((g) => g.toLocaleLowerCase());
|
|
1585
1585
|
let f = [...s];
|
|
1586
1586
|
return s.includes("dep") && (f = [...f, "dept"]), s.includes("dep_user") && (f = [...f, "user"]), f;
|
|
1587
|
-
}),
|
|
1588
|
-
|
|
1587
|
+
}), j = E([]), Ee = (s) => {
|
|
1588
|
+
j.value = s, j.value.forEach((f) => {
|
|
1589
1589
|
f.readonly = f == null ? void 0 : f.disabled;
|
|
1590
1590
|
});
|
|
1591
1591
|
}, pe = e, ve = E(!1), ye = (s = !1) => {
|
|
1592
|
-
var
|
|
1593
|
-
const f = (
|
|
1592
|
+
var g;
|
|
1593
|
+
const f = (g = l == null ? void 0 : l.userList) != null && g.length ? X.cloneDeep([...l == null ? void 0 : l.userList, ...l == null ? void 0 : l.groupList]) : [...C.value, ...b.value];
|
|
1594
1594
|
return !s && Ee(f), f;
|
|
1595
1595
|
};
|
|
1596
1596
|
K(
|
|
@@ -1598,15 +1598,15 @@ const As = {
|
|
|
1598
1598
|
async (s) => {
|
|
1599
1599
|
var f;
|
|
1600
1600
|
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, F.value = l.postList),
|
|
1602
|
-
const
|
|
1603
|
-
for (const T of
|
|
1604
|
-
q(T[y.value.id]) &&
|
|
1605
|
-
const
|
|
1606
|
-
M.indeterminate = !!(
|
|
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, F.value = l.postList), u.trans = [], M.checkAll = 0, M.indeterminate = !1;
|
|
1602
|
+
const g = ye(!0);
|
|
1603
|
+
for (const T of g)
|
|
1604
|
+
q(T[y.value.id]) && u.trans.push(T[y.value.id]);
|
|
1605
|
+
const m = g.length === u.trans.length;
|
|
1606
|
+
M.indeterminate = !!(g.length && !m), M.checkAll = Number(g.length && m), ke(() => {
|
|
1607
1607
|
var T;
|
|
1608
1608
|
(T = l.modelValue) != null && T.length ? l.modelValue.forEach((z) => {
|
|
1609
|
-
J(z), l.multiple ?
|
|
1609
|
+
J(z), l.multiple ? u.trans.push(z[y.value.id]) : u.single = z[y.value.id];
|
|
1610
1610
|
}) : te();
|
|
1611
1611
|
});
|
|
1612
1612
|
} else
|
|
@@ -1614,41 +1614,41 @@ const As = {
|
|
|
1614
1614
|
}
|
|
1615
1615
|
), $e(() => {
|
|
1616
1616
|
let s;
|
|
1617
|
-
s =
|
|
1618
|
-
const f =
|
|
1619
|
-
M.indeterminate =
|
|
1617
|
+
s = j.value.length;
|
|
1618
|
+
const f = u.trans.length;
|
|
1619
|
+
M.indeterminate = u.trans.length ? f !== s : !1, M.checkAll = +(s !== 0 && f === s);
|
|
1620
1620
|
}), K(
|
|
1621
1621
|
() => l.modelValue,
|
|
1622
1622
|
(s) => {
|
|
1623
1623
|
s != null && s.length ? s.forEach((f) => {
|
|
1624
|
-
J(f), l.multiple ?
|
|
1624
|
+
J(f), l.multiple ? u.trans.push(f[y.value.id]) : u.single = f[y.value.id];
|
|
1625
1625
|
}) : te();
|
|
1626
1626
|
}
|
|
1627
1627
|
);
|
|
1628
1628
|
const le = (s) => {
|
|
1629
1629
|
var f;
|
|
1630
1630
|
if (s) {
|
|
1631
|
-
if (
|
|
1632
|
-
const
|
|
1633
|
-
(
|
|
1631
|
+
if (u.single = "", s[y.value.id]) {
|
|
1632
|
+
const g = (f = u.trans) == null ? void 0 : f.findIndex(
|
|
1633
|
+
(m) => m === s[y.value.id]
|
|
1634
1634
|
);
|
|
1635
|
-
|
|
1635
|
+
g !== -1 && u.trans.splice(g, 1);
|
|
1636
1636
|
}
|
|
1637
1637
|
switch (s[y.value.type]) {
|
|
1638
1638
|
case i.value.user:
|
|
1639
|
-
return
|
|
1639
|
+
return u.user.delete(s[y.value.id]);
|
|
1640
1640
|
case i.value.role:
|
|
1641
|
-
return
|
|
1641
|
+
return u.role.delete(s[y.value.id]);
|
|
1642
1642
|
case i.value.post:
|
|
1643
|
-
return
|
|
1643
|
+
return u.post.delete(s[y.value.id]);
|
|
1644
1644
|
case i.value.group:
|
|
1645
|
-
return
|
|
1645
|
+
return u.group.delete(s[y.value.id]);
|
|
1646
1646
|
default:
|
|
1647
1647
|
return;
|
|
1648
1648
|
}
|
|
1649
1649
|
}
|
|
1650
1650
|
}, Ve = (s) => {
|
|
1651
|
-
le(s);
|
|
1651
|
+
console.log("---6666--", val), le(s);
|
|
1652
1652
|
}, J = (s) => {
|
|
1653
1653
|
if (!q(s[y.value.id])) {
|
|
1654
1654
|
const f = {
|
|
@@ -1657,13 +1657,13 @@ const As = {
|
|
|
1657
1657
|
};
|
|
1658
1658
|
switch (s[y.value.type]) {
|
|
1659
1659
|
case i.value.user:
|
|
1660
|
-
return
|
|
1660
|
+
return u.user.set(s[y.value.id], f);
|
|
1661
1661
|
case i.value.role:
|
|
1662
|
-
return
|
|
1662
|
+
return u.role.set(s[y.value.id], f);
|
|
1663
1663
|
case i.value.post:
|
|
1664
|
-
return
|
|
1664
|
+
return u.post.set(s[y.value.id], f);
|
|
1665
1665
|
case i.value.group:
|
|
1666
|
-
return
|
|
1666
|
+
return u.group.set(s[y.value.id], f);
|
|
1667
1667
|
default:
|
|
1668
1668
|
return;
|
|
1669
1669
|
}
|
|
@@ -1672,34 +1672,35 @@ const As = {
|
|
|
1672
1672
|
s[y.value.type]
|
|
1673
1673
|
) ? s == null ? void 0 : s.hasOwnProperty("disabled") : !1;
|
|
1674
1674
|
K(
|
|
1675
|
-
() =>
|
|
1675
|
+
() => u.trans,
|
|
1676
1676
|
(s) => {
|
|
1677
|
-
if (!s.length)
|
|
1678
|
-
|
|
1677
|
+
if (console.log("-----", s, j.value), !s.length)
|
|
1678
|
+
j.value.forEach((f) => {
|
|
1679
1679
|
f.disabled = !1;
|
|
1680
1680
|
});
|
|
1681
1681
|
else {
|
|
1682
|
-
|
|
1683
|
-
|
|
1682
|
+
console.log("---11111--", s);
|
|
1683
|
+
const f = j.value.filter(
|
|
1684
|
+
(m) => !s.includes(m[y.value.id])
|
|
1684
1685
|
);
|
|
1685
|
-
for (const
|
|
1686
|
-
|
|
1687
|
-
const
|
|
1688
|
-
(
|
|
1686
|
+
for (const m of f)
|
|
1687
|
+
m.disabled = !1, console.log("--9999---", s), l.multiple && le(m);
|
|
1688
|
+
const g = j.value.filter(
|
|
1689
|
+
(m) => s.includes(m[y.value.id])
|
|
1689
1690
|
);
|
|
1690
|
-
for (const
|
|
1691
|
-
|
|
1691
|
+
for (const m of g)
|
|
1692
|
+
m.disabled = Xe(m), J(m);
|
|
1692
1693
|
}
|
|
1693
1694
|
},
|
|
1694
1695
|
{ deep: !0 }
|
|
1695
1696
|
), K(
|
|
1696
|
-
() =>
|
|
1697
|
+
() => u.single,
|
|
1697
1698
|
(s) => {
|
|
1698
1699
|
var f;
|
|
1699
1700
|
if (s) {
|
|
1700
|
-
const
|
|
1701
|
-
|
|
1702
|
-
J(
|
|
1701
|
+
const g = (f = j.value) == null ? void 0 : f.find((m) => m[y.value.id] === s);
|
|
1702
|
+
g && (u.user.clear(), u.role.clear(), u.post.clear(), u.group.clear(), u.trans = [], ke(() => {
|
|
1703
|
+
J(g);
|
|
1703
1704
|
}));
|
|
1704
1705
|
}
|
|
1705
1706
|
}
|
|
@@ -1715,7 +1716,7 @@ const As = {
|
|
|
1715
1716
|
), de = E(l.tabs[0]), ee = E(l.tabs[0]);
|
|
1716
1717
|
$e(() => (ee.value = Ke.value ? l.tabs[1] : Ye.value ? l.tabs[2] : de.value, ee.value));
|
|
1717
1718
|
const te = () => {
|
|
1718
|
-
|
|
1719
|
+
u.user.clear(), u.role.clear(), u.post.clear(), u.group.clear(), u.trans = [], me.value = [], xe.value = [], de.value = l.tabs[0], ee.value = l.tabs[0], k.value = "", _.value = l.orgPid, h.value.splice(1, h.value.length), u.single = "", A.value = [];
|
|
1719
1720
|
}, Je = () => {
|
|
1720
1721
|
var s;
|
|
1721
1722
|
pe(
|
|
@@ -1732,7 +1733,7 @@ const As = {
|
|
|
1732
1733
|
};
|
|
1733
1734
|
v({ handClear: te, handRomeve: Ve, handDelete: le });
|
|
1734
1735
|
const et = U(() => {
|
|
1735
|
-
const s =
|
|
1736
|
+
const s = H.value;
|
|
1736
1737
|
return !!((s.includes("post") || s.includes("role")) && s.length > 1);
|
|
1737
1738
|
}), tt = U(() => [
|
|
1738
1739
|
{ name: "group", label: "组织架构" },
|
|
@@ -1740,44 +1741,44 @@ const As = {
|
|
|
1740
1741
|
{ name: "post", label: "岗位列表" }
|
|
1741
1742
|
].filter((s) => l.tabs.includes(s.name))), De = U(
|
|
1742
1743
|
() => `${typeof l.height == "string" ? Number.parseInt(l.height) : l.height}px`
|
|
1743
|
-
),
|
|
1744
|
-
l.multiple || (
|
|
1744
|
+
), ge = () => {
|
|
1745
|
+
l.multiple || (u.post.clear(), u.role.clear(), u.user.clear(), u.group.clear(), u.single = "");
|
|
1745
1746
|
}, lt = U(() => L.value.groups.list.concat(L.value.user.list)), st = (s, f) => {
|
|
1746
|
-
l.multiple || (
|
|
1747
|
-
const
|
|
1748
|
-
if (!
|
|
1749
|
-
|
|
1747
|
+
l.multiple || (u.single = "");
|
|
1748
|
+
const g = l.multiple ? s : [s];
|
|
1749
|
+
if (!g.length) {
|
|
1750
|
+
u.group.clear(), u.user.clear();
|
|
1750
1751
|
return;
|
|
1751
1752
|
}
|
|
1752
|
-
|
|
1753
|
-
|
|
1753
|
+
ge(), f.forEach((m) => {
|
|
1754
|
+
g != null && g.includes(m[y.value.id]) ? J(m) : (console.log("--2222---", g), le(m));
|
|
1754
1755
|
});
|
|
1755
|
-
},
|
|
1756
|
-
l.multiple || (
|
|
1757
|
-
const
|
|
1758
|
-
if (!
|
|
1759
|
-
|
|
1756
|
+
}, me = E([]), at = (s, f) => {
|
|
1757
|
+
l.multiple || (u.single = "");
|
|
1758
|
+
const g = l.multiple ? s : [s];
|
|
1759
|
+
if (!g.length) {
|
|
1760
|
+
u.role.clear();
|
|
1760
1761
|
return;
|
|
1761
1762
|
}
|
|
1762
|
-
|
|
1763
|
-
|
|
1763
|
+
ge(), f.forEach((m) => {
|
|
1764
|
+
g != null && g.includes(m[y.value.id]) ? J(m) : (console.log("--4444---", g), le(m));
|
|
1764
1765
|
});
|
|
1765
1766
|
};
|
|
1766
1767
|
K(
|
|
1767
1768
|
() => L.value.role.len,
|
|
1768
1769
|
(s) => {
|
|
1769
|
-
|
|
1770
|
+
me.value = X.cloneDeep(L.value.role.list);
|
|
1770
1771
|
}
|
|
1771
1772
|
);
|
|
1772
1773
|
const xe = E([]), ot = (s, f) => {
|
|
1773
|
-
l.multiple || (
|
|
1774
|
-
const
|
|
1775
|
-
if (!
|
|
1776
|
-
|
|
1774
|
+
l.multiple || (u.single = "");
|
|
1775
|
+
const g = l.multiple ? s : [s];
|
|
1776
|
+
if (!g.length) {
|
|
1777
|
+
u.post.clear();
|
|
1777
1778
|
return;
|
|
1778
1779
|
}
|
|
1779
|
-
|
|
1780
|
-
|
|
1780
|
+
ge(), f.forEach((m) => {
|
|
1781
|
+
g != null && g.includes(m[y.value.id]) ? J(m) : (console.log("--5555---", g), le(m));
|
|
1781
1782
|
});
|
|
1782
1783
|
};
|
|
1783
1784
|
return K(
|
|
@@ -1791,7 +1792,7 @@ const As = {
|
|
|
1791
1792
|
Z("");
|
|
1792
1793
|
}
|
|
1793
1794
|
), (s, f) => {
|
|
1794
|
-
const
|
|
1795
|
+
const g = ue("el-tab-pane"), m = ue("el-tabs");
|
|
1795
1796
|
return a(), B(O(dt), {
|
|
1796
1797
|
modelValue: ve.value,
|
|
1797
1798
|
"onUpdate:modelValue": f[2] || (f[2] = (T) => ve.value = T),
|
|
@@ -1838,16 +1839,16 @@ const As = {
|
|
|
1838
1839
|
style: He({ height: De.value })
|
|
1839
1840
|
},
|
|
1840
1841
|
[
|
|
1841
|
-
n("div",
|
|
1842
|
+
n("div", ms, [
|
|
1842
1843
|
n("div", null, [
|
|
1843
|
-
w(O(
|
|
1844
|
+
w(O(ct), {
|
|
1844
1845
|
modelValue: k.value,
|
|
1845
1846
|
"onUpdate:modelValue": f[0] || (f[0] = (T) => k.value = T),
|
|
1846
1847
|
clearable: "",
|
|
1847
1848
|
placeholder: s.placeholder,
|
|
1848
1849
|
"suffix-icon": Tt
|
|
1849
1850
|
}, null, 8, ["modelValue", "placeholder"]),
|
|
1850
|
-
et.value ? (a(), B(
|
|
1851
|
+
et.value ? (a(), B(m, {
|
|
1851
1852
|
key: 0,
|
|
1852
1853
|
modelValue: de.value,
|
|
1853
1854
|
"onUpdate:modelValue": f[1] || (f[1] = (T) => de.value = T),
|
|
@@ -1857,7 +1858,7 @@ const As = {
|
|
|
1857
1858
|
(a(!0), d(
|
|
1858
1859
|
N,
|
|
1859
1860
|
null,
|
|
1860
|
-
W(tt.value, (T) => (a(), B(
|
|
1861
|
+
W(tt.value, (T) => (a(), B(g, {
|
|
1861
1862
|
label: T.label,
|
|
1862
1863
|
name: T.name,
|
|
1863
1864
|
key: T.label
|
|
@@ -1877,7 +1878,7 @@ const As = {
|
|
|
1877
1878
|
[
|
|
1878
1879
|
Ne.value ? (a(), d("div", xs, [
|
|
1879
1880
|
x(" 面包屑 全选 "),
|
|
1880
|
-
w(O(
|
|
1881
|
+
w(O(ut), {
|
|
1881
1882
|
separator: ">",
|
|
1882
1883
|
class: se(["banner", { "top-unlink": !s.topLink }])
|
|
1883
1884
|
}, {
|
|
@@ -1913,7 +1914,7 @@ const As = {
|
|
|
1913
1914
|
)) : x("v-if", !0),
|
|
1914
1915
|
x(" 左侧列表 "),
|
|
1915
1916
|
x(" 组织架构 "),
|
|
1916
|
-
ee.value === O(re).group ?
|
|
1917
|
+
ee.value === O(re).group ? ce((a(), B(wl, {
|
|
1917
1918
|
key: 1,
|
|
1918
1919
|
fixPropOpt: y.value,
|
|
1919
1920
|
fixTypeOpt: i.value,
|
|
@@ -1924,7 +1925,7 @@ const As = {
|
|
|
1924
1925
|
imageBaseUrl: l.imageBaseUrl,
|
|
1925
1926
|
emptyText: l.emptyText,
|
|
1926
1927
|
children: l.children,
|
|
1927
|
-
"choose-type":
|
|
1928
|
+
"choose-type": H.value,
|
|
1928
1929
|
onHandChild: qe,
|
|
1929
1930
|
onChange: st
|
|
1930
1931
|
}, null, 8, ["fixPropOpt", "fixTypeOpt", "list", "max", "multiple", "hand-list", "imageBaseUrl", "emptyText", "children", "choose-type"])), [
|
|
@@ -1934,16 +1935,16 @@ const As = {
|
|
|
1934
1935
|
{ key: 2 },
|
|
1935
1936
|
[
|
|
1936
1937
|
x(" 角色 "),
|
|
1937
|
-
|
|
1938
|
+
ce(w(hs, {
|
|
1938
1939
|
fixPropOpt: y.value,
|
|
1939
1940
|
fixTypeOpt: i.value,
|
|
1940
1941
|
list: p.value,
|
|
1941
1942
|
max: s.max,
|
|
1942
1943
|
multiple: s.multiple,
|
|
1943
|
-
"hand-list":
|
|
1944
|
+
"hand-list": me.value,
|
|
1944
1945
|
imageBaseUrl: l.imageBaseUrl,
|
|
1945
1946
|
emptyText: l.emptyText,
|
|
1946
|
-
"choose-type":
|
|
1947
|
+
"choose-type": H.value,
|
|
1947
1948
|
onChange: at
|
|
1948
1949
|
}, null, 8, ["fixPropOpt", "fixTypeOpt", "list", "max", "multiple", "hand-list", "imageBaseUrl", "emptyText", "choose-type"]), [
|
|
1949
1950
|
[O(Pe), V.value]
|
|
@@ -1956,7 +1957,7 @@ const As = {
|
|
|
1956
1957
|
{ key: 3 },
|
|
1957
1958
|
[
|
|
1958
1959
|
x(" 岗位 "),
|
|
1959
|
-
|
|
1960
|
+
ce(w(ql, {
|
|
1960
1961
|
fixPropOpt: y.value,
|
|
1961
1962
|
fixTypeOpt: i.value,
|
|
1962
1963
|
list: F.value,
|
|
@@ -1965,7 +1966,7 @@ const As = {
|
|
|
1965
1966
|
"hand-list": xe.value,
|
|
1966
1967
|
imageBaseUrl: l.imageBaseUrl,
|
|
1967
1968
|
emptyText: l.emptyText,
|
|
1968
|
-
"choose-type":
|
|
1969
|
+
"choose-type": H.value,
|
|
1969
1970
|
onChange: ot
|
|
1970
1971
|
}, null, 8, ["fixPropOpt", "fixTypeOpt", "list", "max", "multiple", "hand-list", "imageBaseUrl", "emptyText", "choose-type"]), [
|
|
1971
1972
|
[O(Pe), V.value]
|
|
@@ -2015,7 +2016,7 @@ const As = {
|
|
|
2015
2016
|
/* TEXT */
|
|
2016
2017
|
)
|
|
2017
2018
|
]),
|
|
2018
|
-
|
|
2019
|
+
ce(w(Bt, {
|
|
2019
2020
|
class: "close",
|
|
2020
2021
|
onClick: ie((z) => Ve(T), ["stop"])
|
|
2021
2022
|
}, null, 8, ["onClick"]), [
|
|
@@ -2038,7 +2039,7 @@ const As = {
|
|
|
2038
2039
|
};
|
|
2039
2040
|
}
|
|
2040
2041
|
});
|
|
2041
|
-
const Bs = Ge(Us), Qe = (o) => (he("data-v-
|
|
2042
|
+
const Bs = Ge(Us), Qe = (o) => (he("data-v-45d32b3a"), o = o(), Ae(), o), ws = {
|
|
2042
2043
|
class: "approveProcess",
|
|
2043
2044
|
id: "approveProcess"
|
|
2044
2045
|
}, Is = { class: "node" }, Es = { class: "nodeBg" }, Vs = {
|
|
@@ -2144,13 +2145,13 @@ const Bs = Ge(Us), Qe = (o) => (he("data-v-0f9a3920"), o = o(), Ae(), o), ws = {
|
|
|
2144
2145
|
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;
|
|
2145
2146
|
}, D = (t, r) => {
|
|
2146
2147
|
e.dataList[r].handList = t.list;
|
|
2147
|
-
let
|
|
2148
|
-
...
|
|
2149
|
-
userName:
|
|
2150
|
-
userAvatar:
|
|
2148
|
+
let c = (e.dataList[r][p.defaultFile.approvePersonList] || []).filter((u) => !u.canDele), S = t.list.map((u) => ({
|
|
2149
|
+
...u,
|
|
2150
|
+
userName: u.elementName,
|
|
2151
|
+
userAvatar: u.avatar,
|
|
2151
2152
|
canDele: !0
|
|
2152
2153
|
}));
|
|
2153
|
-
e.dataList[r][p.defaultFile.approvePersonList] =
|
|
2154
|
+
e.dataList[r][p.defaultFile.approvePersonList] = c.concat(S);
|
|
2154
2155
|
}, y = (t, r) => {
|
|
2155
2156
|
e.dataList[t][p.defaultFile.approvePersonList].splice(r, 1), e.dataList[t].handList = e.dataList[t][p.defaultFile.approvePersonList];
|
|
2156
2157
|
}, i = () => {
|
|
@@ -2183,16 +2184,16 @@ const Bs = Ge(Us), Qe = (o) => (he("data-v-0f9a3920"), o = o(), Ae(), o), ws = {
|
|
|
2183
2184
|
}
|
|
2184
2185
|
}));
|
|
2185
2186
|
return v({ requiredVerification: i }), (t, r) => {
|
|
2186
|
-
const h =
|
|
2187
|
+
const h = ue("IkApprovalProcess");
|
|
2187
2188
|
return a(), d("div", ws, [
|
|
2188
2189
|
(a(!0), d(
|
|
2189
2190
|
N,
|
|
2190
2191
|
null,
|
|
2191
|
-
W(e.dataList, (
|
|
2192
|
-
var
|
|
2192
|
+
W(e.dataList, (c, S) => {
|
|
2193
|
+
var u, M, q, Z;
|
|
2193
2194
|
return a(), d("div", {
|
|
2194
2195
|
class: "content",
|
|
2195
|
-
key:
|
|
2196
|
+
key: c.id
|
|
2196
2197
|
}, [
|
|
2197
2198
|
x(" 审批节点类型 "),
|
|
2198
2199
|
n("div", Is, [
|
|
@@ -2200,7 +2201,7 @@ const Bs = Ge(Us), Qe = (o) => (he("data-v-0f9a3920"), o = o(), Ae(), o), ws = {
|
|
|
2200
2201
|
n(
|
|
2201
2202
|
"i",
|
|
2202
2203
|
{
|
|
2203
|
-
class: se(O(yt)(p,
|
|
2204
|
+
class: se(O(yt)(p, c[p.defaultFile.nodeType]))
|
|
2204
2205
|
},
|
|
2205
2206
|
null,
|
|
2206
2207
|
2
|
|
@@ -2218,26 +2219,26 @@ const Bs = Ge(Us), Qe = (o) => (he("data-v-0f9a3920"), o = o(), Ae(), o), ws = {
|
|
|
2218
2219
|
/* STYLE */
|
|
2219
2220
|
)
|
|
2220
2221
|
]),
|
|
2221
|
-
|
|
2222
|
+
c[p.defaultFile.nodeType] !== p.nodeType.并行分支 ? (a(), d("div", Vs, [
|
|
2222
2223
|
n("div", null, [
|
|
2223
2224
|
n(
|
|
2224
2225
|
"div",
|
|
2225
2226
|
null,
|
|
2226
|
-
P(
|
|
2227
|
+
P(c[p.defaultFile.nodeTypeName]),
|
|
2227
2228
|
1
|
|
2228
2229
|
/* TEXT */
|
|
2229
2230
|
),
|
|
2230
2231
|
n("div", Ns, [
|
|
2231
2232
|
x(" 抄送节点 "),
|
|
2232
|
-
|
|
2233
|
-
|
|
2233
|
+
c[p.defaultFile.nodeType] == p.nodeType.抄送节点 ? (a(), d("span", Fs, [
|
|
2234
|
+
c[p.defaultFile.approvePersonList].length ? (a(), d(
|
|
2234
2235
|
"span",
|
|
2235
2236
|
Ds,
|
|
2236
|
-
P(`抄送${
|
|
2237
|
+
P(`抄送${c[p.defaultFile.approvePersonList].length}人`),
|
|
2237
2238
|
1
|
|
2238
2239
|
/* TEXT */
|
|
2239
2240
|
)) : x("v-if", !0),
|
|
2240
|
-
|
|
2241
|
+
c[p.defaultFile.isShowAdd] ? (a(), d("span", Rs, ",可添加抄送人")) : x("v-if", !0)
|
|
2241
2242
|
])) : (a(), d(
|
|
2242
2243
|
N,
|
|
2243
2244
|
{ key: 1 },
|
|
@@ -2245,19 +2246,19 @@ const Bs = Ge(Us), Qe = (o) => (he("data-v-0f9a3920"), o = o(), Ae(), o), ws = {
|
|
|
2245
2246
|
x(" 审批节点 "),
|
|
2246
2247
|
n("span", null, [
|
|
2247
2248
|
x(" 存在审批人时 "),
|
|
2248
|
-
(
|
|
2249
|
+
(u = c[p.defaultFile.approvePersonList]) != null && u.length ? (a(), d(
|
|
2249
2250
|
"span",
|
|
2250
2251
|
$s,
|
|
2251
|
-
P(((M =
|
|
2252
|
+
P(((M = c[p.defaultFile.approvePersonList]) == null ? void 0 : M.length) == 1 ? "1人审批" : `${(q = c[p.defaultFile.approvePersonList]) == null ? void 0 : q.length}人${c[p.defaultFile.multiExecutorTypeName]}`),
|
|
2252
2253
|
1
|
|
2253
2254
|
/* TEXT */
|
|
2254
|
-
)) : [p.statusWithoutApprover.自动通过, p.statusWithoutApprover.自动拒绝].includes(
|
|
2255
|
+
)) : [p.statusWithoutApprover.自动通过, p.statusWithoutApprover.自动拒绝].includes(c[p.defaultFile.approveType]) ? (a(), d(
|
|
2255
2256
|
"span",
|
|
2256
2257
|
Ms,
|
|
2257
|
-
P(
|
|
2258
|
+
P(c[p.defaultFile.approveTypeName]),
|
|
2258
2259
|
1
|
|
2259
2260
|
/* TEXT */
|
|
2260
|
-
)) :
|
|
2261
|
+
)) : c[p.defaultFile.executorEmptyStrategy] && c[p.defaultFile.executorEmpty] ? (a(), d(
|
|
2261
2262
|
N,
|
|
2262
2263
|
{ key: 2 },
|
|
2263
2264
|
[
|
|
@@ -2267,7 +2268,7 @@ const Bs = Ge(Us), Qe = (o) => (he("data-v-0f9a3920"), o = o(), Ae(), o), ws = {
|
|
|
2267
2268
|
n(
|
|
2268
2269
|
"span",
|
|
2269
2270
|
null,
|
|
2270
|
-
P(
|
|
2271
|
+
P(c[p.defaultFile.executorEmptyStrategy] == p.statusWithoutApprover.自动通过 ? "将自动通过" : c[p.defaultFile.executorEmptyStrategy] == p.statusWithoutApprover.自动转交管理员 ? "自动转交给管理员" : c[p.defaultFile.executorEmptyStrategy] == p.statusWithoutApprover.指定人员审批 ? `将自动转给指定成员${c[p.defaultFile.reserveExecutorUsers] && c[p.defaultFile.reserveExecutorUsers][0].userName}` : ""),
|
|
2271
2272
|
1
|
|
2272
2273
|
/* TEXT */
|
|
2273
2274
|
)
|
|
@@ -2275,13 +2276,13 @@ const Bs = Ge(Us), Qe = (o) => (he("data-v-0f9a3920"), o = o(), Ae(), o), ws = {
|
|
|
2275
2276
|
],
|
|
2276
2277
|
2112
|
|
2277
2278
|
/* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
|
|
2278
|
-
)) : [p.nodeType.并行分支, p.nodeType.子流程].includes(
|
|
2279
|
+
)) : [p.nodeType.并行分支, p.nodeType.子流程].includes(c[p.defaultFile.nodeType]) ? x("v-if", !0) : (a(), d(
|
|
2279
2280
|
"span",
|
|
2280
2281
|
{
|
|
2281
2282
|
key: 3,
|
|
2282
|
-
class: se(
|
|
2283
|
+
class: se(c.required ? "warn" : "")
|
|
2283
2284
|
},
|
|
2284
|
-
" 请选择" + P(
|
|
2285
|
+
" 请选择" + P(c[p.defaultFile.nodeType] === p.nodeType.办理节点 ? "办理人" : "审批人"),
|
|
2285
2286
|
3
|
|
2286
2287
|
/* TEXT, CLASS */
|
|
2287
2288
|
))
|
|
@@ -2296,8 +2297,8 @@ const Bs = Ge(Us), Qe = (o) => (he("data-v-0f9a3920"), o = o(), Ae(), o), ws = {
|
|
|
2296
2297
|
(a(!0), d(
|
|
2297
2298
|
N,
|
|
2298
2299
|
null,
|
|
2299
|
-
W(
|
|
2300
|
-
var
|
|
2300
|
+
W(c[p.defaultFile.approvePersonList], (L, H) => {
|
|
2301
|
+
var j;
|
|
2301
2302
|
return a(), d("div", {
|
|
2302
2303
|
class: "list",
|
|
2303
2304
|
key: L.userId
|
|
@@ -2319,7 +2320,7 @@ const Bs = Ge(Us), Qe = (o) => (he("data-v-0f9a3920"), o = o(), Ae(), o), ws = {
|
|
|
2319
2320
|
])),
|
|
2320
2321
|
L.canDele ? (a(), d("i", {
|
|
2321
2322
|
key: 2,
|
|
2322
|
-
onClick: (Ee) => y(S,
|
|
2323
|
+
onClick: (Ee) => y(S, H),
|
|
2323
2324
|
class: "ikapprove ikapprove-shanchu1"
|
|
2324
2325
|
}, null, 8, Qs)) : x("v-if", !0)
|
|
2325
2326
|
]),
|
|
@@ -2329,9 +2330,9 @@ const Bs = Ge(Us), Qe = (o) => (he("data-v-0f9a3920"), o = o(), Ae(), o), ws = {
|
|
|
2329
2330
|
}, P(L.userName), 9, Xs)
|
|
2330
2331
|
]),
|
|
2331
2332
|
x(" 显示添加人按钮,不是单选且已选中一个人的情况,显示图标 "),
|
|
2332
|
-
|
|
2333
|
+
c[p.defaultFile.isShowAdd] && !(c[p.defaultFile.singleApproval] && ((j = c[p.defaultFile.approvePersonList]) == null ? void 0 : j.length) == 1) ? (a(), d("span", qs, [
|
|
2333
2334
|
x(" 抄送默认 "),
|
|
2334
|
-
|
|
2335
|
+
c[p.defaultFile.nodeType] == p.nodeType.抄送节点 ? (a(), d("span", Zs, "+")) : (a(), d(
|
|
2335
2336
|
N,
|
|
2336
2337
|
{ key: 1 },
|
|
2337
2338
|
[
|
|
@@ -2339,7 +2340,7 @@ const Bs = Ge(Us), Qe = (o) => (he("data-v-0f9a3920"), o = o(), Ae(), o), ws = {
|
|
|
2339
2340
|
n(
|
|
2340
2341
|
"span",
|
|
2341
2342
|
null,
|
|
2342
|
-
P(
|
|
2343
|
+
P(c[p.defaultFile.multiExecutorType] == "ANY" ? "/" : c[p.defaultFile.multiExecutorType] == "ALL" ? "+" : ">"),
|
|
2343
2344
|
1
|
|
2344
2345
|
/* TEXT */
|
|
2345
2346
|
)
|
|
@@ -2354,28 +2355,28 @@ const Bs = Ge(Us), Qe = (o) => (he("data-v-0f9a3920"), o = o(), Ae(), o), ws = {
|
|
|
2354
2355
|
/* KEYED_FRAGMENT */
|
|
2355
2356
|
)),
|
|
2356
2357
|
x(" 显示添加人按钮,不是单选且已选中一个人的情况,显示按钮 (item[state.defaultFile.isShowAdd] && "),
|
|
2357
|
-
|
|
2358
|
+
c[p.defaultFile.isShowAdd] && !(c[p.defaultFile.singleApproval] && ((Z = c[p.defaultFile.approvePersonList]) == null ? void 0 : Z.length) == 1) || c[p.defaultFile.isShowAddCopy] ? (a(), d("span", {
|
|
2358
2359
|
key: 0,
|
|
2359
2360
|
class: "addBg",
|
|
2360
|
-
onClick: (L) => F(
|
|
2361
|
+
onClick: (L) => F(c)
|
|
2361
2362
|
}, [
|
|
2362
|
-
|
|
2363
|
+
c[p.defaultFile.nodeType] == p.nodeType.审批节点 ? (a(), d("span", Ys)) : x("v-if", !0),
|
|
2363
2364
|
Js
|
|
2364
2365
|
], 8, Ks)) : x("v-if", !0),
|
|
2365
2366
|
x(" 添加人组件 "),
|
|
2366
2367
|
w(O(Bs), Me({
|
|
2367
|
-
modelValue:
|
|
2368
|
-
"onUpdate:modelValue": (L) =>
|
|
2369
|
-
show:
|
|
2370
|
-
"onUpdate:show": (L) =>
|
|
2368
|
+
modelValue: c.handList,
|
|
2369
|
+
"onUpdate:modelValue": (L) => c.handList = L,
|
|
2370
|
+
show: c.isShow,
|
|
2371
|
+
"onUpdate:show": (L) => c.isShow = L,
|
|
2371
2372
|
onOk: (L) => D(L, S),
|
|
2372
|
-
multiple:
|
|
2373
|
-
"dep-list":
|
|
2374
|
-
"user-list":
|
|
2375
|
-
"organization-list":
|
|
2373
|
+
multiple: c.multiple,
|
|
2374
|
+
"dep-list": c.depList,
|
|
2375
|
+
"user-list": c.userList,
|
|
2376
|
+
"organization-list": c.organizationList,
|
|
2376
2377
|
ref_for: !0
|
|
2377
2378
|
}, A.value, {
|
|
2378
|
-
chooseType:
|
|
2379
|
+
chooseType: c.chooseType
|
|
2379
2380
|
}), null, 16, ["modelValue", "onUpdate:modelValue", "show", "onUpdate:show", "onOk", "multiple", "dep-list", "user-list", "organization-list", "chooseType"])
|
|
2380
2381
|
])
|
|
2381
2382
|
])) : (a(), d("div", ea, [
|
|
@@ -2384,11 +2385,11 @@ const Bs = Ge(Us), Qe = (o) => (he("data-v-0f9a3920"), o = o(), Ae(), o), ws = {
|
|
|
2384
2385
|
(a(!0), d(
|
|
2385
2386
|
N,
|
|
2386
2387
|
null,
|
|
2387
|
-
W(
|
|
2388
|
+
W(c.parallelInstances, (L, H) => (a(), d(
|
|
2388
2389
|
"div",
|
|
2389
2390
|
{
|
|
2390
|
-
key:
|
|
2391
|
-
class: se(`branch branch-${
|
|
2391
|
+
key: H,
|
|
2392
|
+
class: se(`branch branch-${H}`)
|
|
2392
2393
|
},
|
|
2393
2394
|
[
|
|
2394
2395
|
n(
|
|
@@ -2420,8 +2421,8 @@ const Bs = Ge(Us), Qe = (o) => (he("data-v-0f9a3920"), o = o(), Ae(), o), ws = {
|
|
|
2420
2421
|
};
|
|
2421
2422
|
}
|
|
2422
2423
|
});
|
|
2423
|
-
const na = /* @__PURE__ */ G(oa, [["__scopeId", "data-v-
|
|
2424
|
+
const na = /* @__PURE__ */ G(oa, [["__scopeId", "data-v-45d32b3a"]]), ca = Ge(na);
|
|
2424
2425
|
export {
|
|
2425
|
-
|
|
2426
|
-
|
|
2426
|
+
ca as IKApprovalProcess,
|
|
2427
|
+
ca as default
|
|
2427
2428
|
};
|