iking-web-ui-pro 0.2.14 → 0.2.16
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 +245 -242
- package/dist/IKApprovalProcess/ik.index.umd.js +1 -0
- package/dist/{IkApprovalProcess → IKApprovalProcess}/style.css +1 -1
- package/dist/IKApprovalProcessDetail/ik.index.es.js +13292 -0
- package/dist/IKApprovalProcessDetail/ik.index.umd.js +226 -0
- package/dist/IKApprovalProcessDetail/style.css +1 -0
- package/dist/{IkCalendar → IKCalendar}/ik.index.es.js +657 -674
- package/dist/IKCalendar/ik.index.umd.js +1 -0
- package/dist/{IkCalendar → IKCalendar}/style.css +1 -1
- package/dist/IKDetailPreviewFiles/ik.index.es.js +11549 -632
- package/dist/IKDetailPreviewFiles/ik.index.umd.js +226 -1
- package/dist/IKDetailPreviewFiles/style.css +1 -1
- package/dist/IKHorizontalStepBar/ik.index.es.js +172 -125
- package/dist/IKHorizontalStepBar/ik.index.umd.js +1 -1
- package/dist/IKHorizontalStepBar/style.css +1 -1
- package/dist/IKPreviewFile/ik.index.es.js +11542 -625
- package/dist/IKPreviewFile/ik.index.umd.js +226 -1
- package/dist/IKPreviewFile/style.css +1 -1
- package/dist/IkDescription/ik.index.es.js +11494 -578
- package/dist/IkDescription/ik.index.umd.js +226 -1
- package/dist/IkDescription/style.css +1 -1
- package/dist/IkFileIcon/ik.index.es.js +624 -0
- package/dist/IkFileIcon/ik.index.umd.js +1 -0
- package/dist/IkFullCalendar/ik.index.es.js +584 -601
- package/dist/IkFullCalendar/ik.index.umd.js +1 -1
- package/dist/IkPlayer/ik.index.es.js +10940 -0
- package/dist/IkPlayer/ik.index.umd.js +226 -0
- package/dist/IkPlayer/style.css +1 -0
- package/dist/IkPreviewFileDialog/ik.index.es.js +11284 -358
- package/dist/IkPreviewFileDialog/ik.index.umd.js +226 -1
- package/dist/IkPreviewFileDialog/style.css +1 -1
- package/dist/IkSchedule/ik.index.es.js +675 -692
- package/dist/IkSchedule/ik.index.umd.js +1 -1
- package/dist/IkTinymce/ik.index.es.js +24690 -24493
- package/dist/IkTinymce/ik.index.umd.js +64 -66
- package/dist/IkUploadFile/ik.index.es.js +11790 -877
- package/dist/IkUploadFile/ik.index.umd.js +226 -1
- package/dist/IkUploadFile/style.css +1 -1
- package/dist/index.es.js +54632 -43504
- package/dist/index.umd.js +303 -80
- package/dist/src/components/IKDetailPreviewFiles/index.d.ts +1 -1
- package/dist/src/components/IKDetailPreviewFiles/src/IKDetailPreviewFiles.vue.d.ts +1 -1
- package/dist/src/components/IKHorizontalStepBar/index.d.ts +14 -14
- package/dist/src/components/IKHorizontalStepBar/src/IKHorizontalStepBar.vue.d.ts +30 -17
- package/dist/src/components/IKPreviewFile/index.d.ts +25 -25
- package/dist/src/components/IKPreviewFile/src/IkPreviewFile.vue.d.ts +18 -16
- package/dist/src/components/IKSearch/index.d.ts +7 -7
- package/dist/src/components/IKSearch/src/IKSearch.vue.d.ts +6 -4
- package/dist/src/components/IkApprovalProcess/index.d.ts +8 -8
- package/dist/src/components/IkApprovalProcess/src/IKApprovalProcess.vue.d.ts +8 -8
- package/dist/src/components/IkAutoCard/index.d.ts +3 -3
- package/dist/src/components/IkAutoCard/src/IkAutoCard.vue.d.ts +6 -4
- package/dist/src/components/IkBaseDialog/index.d.ts +3 -3
- package/dist/src/components/IkBaseDialog/src/IkBaseDialog.vue.d.ts +9 -7
- package/dist/src/components/IkBottomOperate/index.d.ts +3 -3
- package/dist/src/components/IkBottomOperate/src/IkBottomOperate.vue.d.ts +6 -4
- package/dist/src/components/IkBtnContent/index.d.ts +4 -4
- package/dist/src/components/IkBtnContent/src/index.d.ts +4 -4
- package/dist/src/components/IkBtnSetting/index.d.ts +5 -5
- package/dist/src/components/IkBtnSetting/src/IkBtnSetting.vue.d.ts +7 -7
- package/dist/src/components/IkCollapseCard/index.d.ts +3 -3
- package/dist/src/components/IkCollapseCard/src/index.vue.d.ts +8 -6
- package/dist/src/components/IkDescription/index.d.ts +7 -7
- package/dist/src/components/IkDescription/src/IkDescription.vue.d.ts +8 -6
- package/dist/src/components/IkDragList/index.d.ts +7 -7
- package/dist/src/components/IkDragList/src/IkDragList.vue.d.ts +11 -9
- package/dist/src/components/IkDragList/src/default-props.d.ts +1 -1
- package/dist/src/components/IkEmpty/index.d.ts +3 -3
- package/dist/src/components/IkEmpty/src/index.vue.d.ts +6 -4
- package/dist/src/components/IkFileIcon/index.d.ts +40 -0
- package/dist/src/components/{IkUploadFile/src/components/FileIcon.vue.d.ts → IkFileIcon/src/IkFileIcon.vue.d.ts} +5 -3
- package/dist/src/components/IkFullCalendar/index.d.ts +1 -1
- package/dist/src/components/IkIconPicker/index.d.ts +1 -1
- package/dist/src/components/IkIconPicker/src/index.vue.d.ts +1 -1
- package/dist/src/components/IkMonacoEditor/index.d.ts +3 -3
- package/dist/src/components/IkMonacoEditor/src/index.vue.d.ts +3 -3
- package/dist/src/components/IkPageFull/index.d.ts +21 -21
- package/dist/src/components/IkPageFull/src/IkDialog.d.ts +1 -1
- package/dist/src/components/IkPageFull/src/IkPageHead.vue.d.ts +10 -8
- package/dist/src/components/IkPageFull/src/IkPageTable.vue.d.ts +15 -13
- package/dist/src/components/IkPageFull/src/IkSearchAuto.d.ts +1 -1
- package/dist/src/components/IkPageFull/src/index.vue.d.ts +21 -19
- package/dist/src/components/IkPageFull/src/props.d.ts +3 -3
- package/dist/src/components/IkPageTabs/index.d.ts +18 -18
- package/dist/src/components/IkPageTabs/src/IkPageTabs.vue.d.ts +15 -13
- package/dist/src/components/IkPickerUser/index.d.ts +58 -58
- package/dist/src/components/IkPickerUser/src/default.d.ts +22 -22
- package/dist/src/components/IkPickerUser/src/list/GroupList.vue.d.ts +1 -1
- package/dist/src/components/IkPickerUser/src/list/PostList.vue.d.ts +1 -1
- package/dist/src/components/IkPickerUser/src/list/RoleList.vue.d.ts +1 -1
- package/dist/src/components/IkPickerUser/src/picker.vue.d.ts +59 -59
- package/dist/src/components/IkPlayer/index.d.ts +98 -0
- package/dist/src/components/IkPlayer/src/Player.vue.d.ts +48 -0
- package/dist/src/components/IkPreviewFileDialog/index.d.ts +12 -12
- package/dist/src/components/IkPreviewFileDialog/src/IkPreviewFileDialog.vue.d.ts +14 -14
- package/dist/src/components/IkPrintView/index.d.ts +9 -9
- package/dist/src/components/IkRadioGroup/src/index.vue.d.ts +2 -2
- package/dist/src/components/IkSchedule/index.d.ts +6 -6
- package/dist/src/components/IkSelectTag/index.d.ts +3 -3
- package/dist/src/components/IkSelectTag/src/index.vue.d.ts +8 -6
- package/dist/src/components/IkSideText/IkLinearIcon.vue.d.ts +1 -1
- package/dist/src/components/IkSideText/IkSideText.vue.d.ts +5 -5
- package/dist/src/components/IkSideText/index.d.ts +5 -5
- package/dist/src/components/IkStatu/index.d.ts +2 -2
- package/dist/src/components/IkStatu/src/index.vue.d.ts +2 -2
- package/dist/src/components/IkSvgIcon/index.d.ts +16 -16
- package/dist/src/components/IkSvgIcon/src/index.vue.d.ts +42 -42
- package/dist/src/components/IkTooltip/index.d.ts +7 -7
- package/dist/src/components/IkTooltip/src/index.vue.d.ts +8 -6
- package/dist/src/components/IkTree/IkTree.vue.d.ts +104 -102
- package/dist/src/components/IkTree/index.d.ts +288 -288
- package/dist/src/components/IkUploadFile/index.d.ts +3 -3
- package/dist/src/components/IkUploadFile/src/index.vue.d.ts +12 -10
- package/dist/src/components/IkUploadImage/index.d.ts +10 -10
- package/dist/src/components/IkUploadImage/src/index.vue.d.ts +11 -9
- package/dist/src/components/Provider/ProviderConfig.vue.d.ts +6 -4
- package/dist/src/components/Provider/index.d.ts +3 -3
- package/dist/src/components/index.d.ts +2 -0
- package/dist/src/iking-ui/defaults.d.ts +1 -1
- package/dist/src/iking-ui/index.d.ts +1 -1
- package/dist/src/utils/math.d.ts +2 -2
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/IkApprovalProcess/ik.index.umd.js +0 -1
- package/dist/IkApprovalProcessDetail/ik.index.es.js +0 -2371
- package/dist/IkApprovalProcessDetail/ik.index.umd.js +0 -1
- package/dist/IkApprovalProcessDetail/style.css +0 -1
- package/dist/IkCalendar/ik.index.umd.js +0 -1
- package/dist/src/components/IkPlayer-beta/index.d.ts +0 -76
- package/dist/src/components/IkPlayer-beta/src/player.d.ts +0 -19
|
@@ -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 d, 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 ue, 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 dt, ElBreadcrumbItem as ut, vLoading as Pe } from "element-plus";
|
|
4
4
|
import ct from "axios";
|
|
5
5
|
const He = (o, v) => {
|
|
6
6
|
if (o.install = (e) => {
|
|
@@ -34,6 +34,10 @@ const He = (o, v) => {
|
|
|
34
34
|
// id
|
|
35
35
|
parallelInstances: "parallelInstances",
|
|
36
36
|
// 并行分支
|
|
37
|
+
backToInstanceNodeName: "backToInstanceNodeName",
|
|
38
|
+
// 回退节点名称
|
|
39
|
+
backToRecordNodeName: "backToRecordNodeName",
|
|
40
|
+
// 回退记录节点名称 - old
|
|
37
41
|
nodeId: "sortOrder",
|
|
38
42
|
// 排序值
|
|
39
43
|
nodeType: "type",
|
|
@@ -122,7 +126,7 @@ const He = (o, v) => {
|
|
|
122
126
|
}
|
|
123
127
|
return `ikapprove ${l}`;
|
|
124
128
|
}, At = (o) => {
|
|
125
|
-
const v = ne("loadUrl"), e = S(() => o.loadUrl || o.fileUrl || (v == null ? void 0 : v.value)), l = ne("uploadUrl"), O = S(() => o.action || o.uploadUrl || (l == null ? void 0 : l.value)), x = ne("token"), b = S(() => o.token || (x == null ? void 0 : x.value)), C = ne("onlyofficeConfig"), p = S(() => o.onlyofficeConfig || (C == null ? void 0 : C.value)),
|
|
129
|
+
const v = ne("loadUrl"), e = S(() => o.loadUrl || o.fileUrl || (v == null ? void 0 : v.value)), l = ne("uploadUrl"), O = S(() => o.action || o.uploadUrl || (l == null ? void 0 : l.value)), x = ne("token"), b = S(() => o.token || (x == null ? void 0 : x.value)), C = ne("onlyofficeConfig"), p = S(() => o.onlyofficeConfig || (C == null ? void 0 : C.value)), F = ne("userInfo"), V = S(() => o.userInfo || (F == null ? void 0 : F.value));
|
|
126
130
|
return {
|
|
127
131
|
cLoadUrl: e,
|
|
128
132
|
cUploadUrl: O,
|
|
@@ -161,7 +165,7 @@ const He = (o, v) => {
|
|
|
161
165
|
mt
|
|
162
166
|
];
|
|
163
167
|
function xt(o, v) {
|
|
164
|
-
return a(),
|
|
168
|
+
return a(), d("svg", yt, _t);
|
|
165
169
|
}
|
|
166
170
|
const Ot = /* @__PURE__ */ G(vt, [["render", xt]]), Pt = {}, Tt = {
|
|
167
171
|
t: "1710907270798",
|
|
@@ -197,7 +201,7 @@ const Ot = /* @__PURE__ */ G(vt, [["render", xt]]), Pt = {}, Tt = {
|
|
|
197
201
|
Lt
|
|
198
202
|
];
|
|
199
203
|
function Ct(o, v) {
|
|
200
|
-
return a(),
|
|
204
|
+
return a(), d("svg", Tt, bt);
|
|
201
205
|
}
|
|
202
206
|
const Ut = /* @__PURE__ */ G(Pt, [["render", Ct]]), St = {}, Bt = {
|
|
203
207
|
t: "1710904463698",
|
|
@@ -218,7 +222,7 @@ const Ut = /* @__PURE__ */ G(Pt, [["render", Ct]]), St = {}, Bt = {
|
|
|
218
222
|
null,
|
|
219
223
|
-1
|
|
220
224
|
/* HOISTED */
|
|
221
|
-
),
|
|
225
|
+
), It = /* @__PURE__ */ n(
|
|
222
226
|
"path",
|
|
223
227
|
{
|
|
224
228
|
d: "M41.984 901.12c0 57.408 46.784 103.872 104.512 103.872h731.52c57.664 0 104.448-46.464 104.448-103.808v-51.968c0-143.36-116.992-259.648-261.248-259.648H303.232c-144.256 0-261.248 116.224-261.248 259.648v51.968z",
|
|
@@ -228,14 +232,14 @@ const Ut = /* @__PURE__ */ G(Pt, [["render", Ct]]), St = {}, Bt = {
|
|
|
228
232
|
null,
|
|
229
233
|
-1
|
|
230
234
|
/* HOISTED */
|
|
231
|
-
),
|
|
235
|
+
), Et = [
|
|
232
236
|
wt,
|
|
233
|
-
|
|
237
|
+
It
|
|
234
238
|
];
|
|
235
239
|
function Vt(o, v) {
|
|
236
|
-
return a(),
|
|
240
|
+
return a(), d("svg", Bt, Et);
|
|
237
241
|
}
|
|
238
|
-
const
|
|
242
|
+
const Nt = /* @__PURE__ */ G(St, [["render", Vt]]), Ft = {}, Dt = {
|
|
239
243
|
t: "1710904436436",
|
|
240
244
|
class: "icon",
|
|
241
245
|
viewBox: "0 0 1024 1024",
|
|
@@ -269,9 +273,9 @@ const Ft = /* @__PURE__ */ G(St, [["render", Vt]]), Dt = {}, Nt = {
|
|
|
269
273
|
$t
|
|
270
274
|
];
|
|
271
275
|
function Wt(o, v) {
|
|
272
|
-
return a(),
|
|
276
|
+
return a(), d("svg", Dt, Mt);
|
|
273
277
|
}
|
|
274
|
-
const jt = /* @__PURE__ */ G(
|
|
278
|
+
const jt = /* @__PURE__ */ G(Ft, [["render", Wt]]), Ht = {}, Gt = {
|
|
275
279
|
t: "1710904287393",
|
|
276
280
|
class: "icon",
|
|
277
281
|
viewBox: "0 0 1024 1024",
|
|
@@ -305,7 +309,7 @@ const jt = /* @__PURE__ */ G(Dt, [["render", Wt]]), Ht = {}, Gt = {
|
|
|
305
309
|
Qt
|
|
306
310
|
];
|
|
307
311
|
function qt(o, v) {
|
|
308
|
-
return a(),
|
|
312
|
+
return a(), d("svg", Gt, Xt);
|
|
309
313
|
}
|
|
310
314
|
const Zt = /* @__PURE__ */ G(Ht, [["render", qt]]), Kt = { class: "avatar" }, Yt = {
|
|
311
315
|
key: 3,
|
|
@@ -340,13 +344,13 @@ const Zt = /* @__PURE__ */ G(Ht, [["render", qt]]), Kt = { class: "avatar" }, Yt
|
|
|
340
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}` : "";
|
|
341
345
|
return (O, x) => {
|
|
342
346
|
const b = ce("el-avatar");
|
|
343
|
-
return a(),
|
|
344
|
-
v.fixTypeOpt.group === o.element[v.fixPropOpt.type] ? (a(), B(Zt, { key: 0 })) : v.fixTypeOpt.role === o.element[v.fixPropOpt.type] ? (a(), B(
|
|
347
|
+
return a(), d("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(), d("div", Yt, [
|
|
345
349
|
o.element[o.fixPropOpt.avatar] ? (a(), B(b, {
|
|
346
350
|
key: 0,
|
|
347
351
|
shape: "square",
|
|
348
352
|
src: l(o.fixPropOpt.avatar ? o.element[o.fixPropOpt.avatar] : "")
|
|
349
|
-
}, null, 8, ["src"])) : (a(),
|
|
353
|
+
}, null, 8, ["src"])) : (a(), d(
|
|
350
354
|
"div",
|
|
351
355
|
Jt,
|
|
352
356
|
T(o.element[o.fixPropOpt.name].slice(-2)),
|
|
@@ -431,7 +435,7 @@ const $ = /* @__PURE__ */ G(el, [["__scopeId", "data-v-4069f4f8"]]), Ue = "data:
|
|
|
431
435
|
null,
|
|
432
436
|
-1
|
|
433
437
|
/* HOISTED */
|
|
434
|
-
)),
|
|
438
|
+
)), dl = { class: "iconBox" }, ul = { class: "name_number" }, cl = { class: "title" }, fl = {
|
|
435
439
|
key: 0,
|
|
436
440
|
class: "userCount"
|
|
437
441
|
}, hl = ["onClick"], Al = { class: "checkText" }, vl = { class: "iconBox" }, yl = { class: "name_number" }, gl = { class: "title" }, ml = {
|
|
@@ -471,26 +475,26 @@ const $ = /* @__PURE__ */ G(el, [["__scopeId", "data-v-4069f4f8"]]), Ue = "data:
|
|
|
471
475
|
var A, t;
|
|
472
476
|
return ((A = e.handList) == null ? void 0 : A.length) === ((t = e.list) == null ? void 0 : t.length);
|
|
473
477
|
}), O = S(() => {
|
|
474
|
-
var r, h,
|
|
478
|
+
var r, h, u, U;
|
|
475
479
|
const A = (r = e.handList) == null ? void 0 : r.length, t = (h = e.list) == null ? void 0 : h.length;
|
|
476
|
-
return e.multiple ? x.value = e.handList.map((c) => c[e.fixPropOpt.id]) : b.value = (U = (
|
|
477
|
-
}), x =
|
|
480
|
+
return e.multiple ? x.value = e.handList.map((c) => c[e.fixPropOpt.id]) : b.value = (U = (u = e.handList) == null ? void 0 : u[0]) == null ? void 0 : U[e.fixPropOpt.id], A > 0 && A < t;
|
|
481
|
+
}), x = E(
|
|
478
482
|
e.handList.map((A) => A[e.fixPropOpt.id])
|
|
479
|
-
), b =
|
|
483
|
+
), b = E((i = (y = e.handList) == null ? void 0 : y[0]) == null ? void 0 : i[e.fixPropOpt.id]), C = v, p = (A) => {
|
|
480
484
|
const t = A ? e.list.map((r) => {
|
|
481
485
|
if (e.chooseType.includes(r[e.fixPropOpt.type].toLowerCase()) && r.available !== !1)
|
|
482
486
|
return r[e.fixPropOpt.id];
|
|
483
487
|
}) : [];
|
|
484
488
|
C("change", t, A ? e.list : []);
|
|
485
|
-
},
|
|
489
|
+
}, F = (A) => {
|
|
486
490
|
C("change", A, e.list);
|
|
487
491
|
}, V = (A) => {
|
|
488
492
|
C("change", A, e.list);
|
|
489
|
-
},
|
|
493
|
+
}, D = (A, t) => {
|
|
490
494
|
t || C("handChild", A);
|
|
491
495
|
};
|
|
492
|
-
return (A, t) => (a(),
|
|
493
|
-
|
|
496
|
+
return (A, t) => (a(), d(
|
|
497
|
+
N,
|
|
494
498
|
null,
|
|
495
499
|
[
|
|
496
500
|
_(" 遍历list多选 "),
|
|
@@ -502,26 +506,26 @@ const $ = /* @__PURE__ */ G(el, [["__scopeId", "data-v-4069f4f8"]]), Ue = "data:
|
|
|
502
506
|
indeterminate: O.value,
|
|
503
507
|
onChange: p
|
|
504
508
|
}, {
|
|
505
|
-
default:
|
|
509
|
+
default: I(() => [
|
|
506
510
|
Y("全选")
|
|
507
511
|
]),
|
|
508
512
|
_: 1
|
|
509
513
|
/* STABLE */
|
|
510
514
|
}, 8, ["modelValue", "indeterminate"])) : _("v-if", !0),
|
|
511
|
-
A.list && A.list.length ? (a(),
|
|
515
|
+
A.list && A.list.length ? (a(), d("ul", ll, [
|
|
512
516
|
A.multiple ? (a(), B(P(Le), {
|
|
513
517
|
key: 0,
|
|
514
518
|
modelValue: x.value,
|
|
515
519
|
"onUpdate:modelValue": t[1] || (t[1] = (r) => x.value = r),
|
|
516
|
-
onChange:
|
|
520
|
+
onChange: F
|
|
517
521
|
}, {
|
|
518
|
-
default:
|
|
519
|
-
(a(!0),
|
|
520
|
-
|
|
522
|
+
default: I(() => [
|
|
523
|
+
(a(!0), d(
|
|
524
|
+
N,
|
|
521
525
|
null,
|
|
522
526
|
W(A.list, (r) => {
|
|
523
527
|
var h;
|
|
524
|
-
return a(),
|
|
528
|
+
return a(), d("li", {
|
|
525
529
|
key: r[e.fixPropOpt.id]
|
|
526
530
|
}, [
|
|
527
531
|
A.chooseType.includes(
|
|
@@ -531,7 +535,7 @@ const $ = /* @__PURE__ */ G(el, [["__scopeId", "data-v-4069f4f8"]]), Ue = "data:
|
|
|
531
535
|
label: r[e.fixPropOpt.id],
|
|
532
536
|
disabled: r.available === !1
|
|
533
537
|
}, {
|
|
534
|
-
default:
|
|
538
|
+
default: I(() => [
|
|
535
539
|
n("div", sl, [
|
|
536
540
|
n("div", al, [
|
|
537
541
|
w($, {
|
|
@@ -549,7 +553,7 @@ const $ = /* @__PURE__ */ G(el, [["__scopeId", "data-v-4069f4f8"]]), Ue = "data:
|
|
|
549
553
|
1
|
|
550
554
|
/* TEXT */
|
|
551
555
|
),
|
|
552
|
-
r[e.fixPropOpt.type] === e.fixTypeOpt.group ? (a(),
|
|
556
|
+
r[e.fixPropOpt.type] === e.fixTypeOpt.group ? (a(), d(
|
|
553
557
|
"div",
|
|
554
558
|
il,
|
|
555
559
|
" (" + T(r.userCount) + ") ",
|
|
@@ -561,9 +565,9 @@ const $ = /* @__PURE__ */ G(el, [["__scopeId", "data-v-4069f4f8"]]), Ue = "data:
|
|
|
561
565
|
]),
|
|
562
566
|
_: 2
|
|
563
567
|
/* DYNAMIC */
|
|
564
|
-
}, 1032, ["label", "disabled"])) : (a(),
|
|
568
|
+
}, 1032, ["label", "disabled"])) : (a(), d("div", rl, [
|
|
565
569
|
pl,
|
|
566
|
-
n("div",
|
|
570
|
+
n("div", dl, [
|
|
567
571
|
w($, {
|
|
568
572
|
fixTypeOpt: e.fixTypeOpt,
|
|
569
573
|
fixPropOpt: e.fixPropOpt,
|
|
@@ -571,7 +575,7 @@ const $ = /* @__PURE__ */ G(el, [["__scopeId", "data-v-4069f4f8"]]), Ue = "data:
|
|
|
571
575
|
imageBaseUrl: e.imageBaseUrl
|
|
572
576
|
}, null, 8, ["fixTypeOpt", "fixPropOpt", "element", "imageBaseUrl"])
|
|
573
577
|
]),
|
|
574
|
-
n("div",
|
|
578
|
+
n("div", ul, [
|
|
575
579
|
n(
|
|
576
580
|
"div",
|
|
577
581
|
cl,
|
|
@@ -579,7 +583,7 @@ const $ = /* @__PURE__ */ G(el, [["__scopeId", "data-v-4069f4f8"]]), Ue = "data:
|
|
|
579
583
|
1
|
|
580
584
|
/* TEXT */
|
|
581
585
|
),
|
|
582
|
-
r[e.fixPropOpt.type] === e.fixTypeOpt.group ? (a(),
|
|
586
|
+
r[e.fixPropOpt.type] === e.fixTypeOpt.group ? (a(), d(
|
|
583
587
|
"div",
|
|
584
588
|
fl,
|
|
585
589
|
" (" + T(r.userCount) + ") ",
|
|
@@ -588,16 +592,16 @@ const $ = /* @__PURE__ */ G(el, [["__scopeId", "data-v-4069f4f8"]]), Ue = "data:
|
|
|
588
592
|
)) : _("v-if", !0)
|
|
589
593
|
])
|
|
590
594
|
])),
|
|
591
|
-
r[e.fixPropOpt.type] === e.fixTypeOpt.group && e.children ? (a(),
|
|
595
|
+
r[e.fixPropOpt.type] === e.fixTypeOpt.group && e.children ? (a(), d("span", {
|
|
592
596
|
key: 2,
|
|
593
597
|
class: se(["nextLevel", {
|
|
594
598
|
"is-disabled": (h = x.value) == null ? void 0 : h.find(
|
|
595
|
-
(
|
|
599
|
+
(u) => u === r[e.fixPropOpt.id]
|
|
596
600
|
)
|
|
597
601
|
}]),
|
|
598
|
-
onClick: (
|
|
602
|
+
onClick: (u) => {
|
|
599
603
|
var U;
|
|
600
|
-
return
|
|
604
|
+
return D(
|
|
601
605
|
r,
|
|
602
606
|
(U = x.value) == null ? void 0 : U.find((c) => c === r[e.fixPropOpt.id])
|
|
603
607
|
);
|
|
@@ -618,13 +622,13 @@ const $ = /* @__PURE__ */ G(el, [["__scopeId", "data-v-4069f4f8"]]), Ue = "data:
|
|
|
618
622
|
"onUpdate:modelValue": t[2] || (t[2] = (r) => b.value = r),
|
|
619
623
|
onChange: V
|
|
620
624
|
}, {
|
|
621
|
-
default:
|
|
622
|
-
(a(!0),
|
|
623
|
-
|
|
625
|
+
default: I(() => [
|
|
626
|
+
(a(!0), d(
|
|
627
|
+
N,
|
|
624
628
|
null,
|
|
625
629
|
W(A.list, (r) => {
|
|
626
630
|
var h;
|
|
627
|
-
return a(),
|
|
631
|
+
return a(), d("li", {
|
|
628
632
|
class: "w-full",
|
|
629
633
|
key: r[e.fixPropOpt.id]
|
|
630
634
|
}, [
|
|
@@ -632,7 +636,7 @@ const $ = /* @__PURE__ */ G(el, [["__scopeId", "data-v-4069f4f8"]]), Ue = "data:
|
|
|
632
636
|
key: 0,
|
|
633
637
|
label: r[e.fixPropOpt.id]
|
|
634
638
|
}, {
|
|
635
|
-
default:
|
|
639
|
+
default: I(() => [
|
|
636
640
|
n("div", Al, [
|
|
637
641
|
n("div", vl, [
|
|
638
642
|
w($, {
|
|
@@ -650,7 +654,7 @@ const $ = /* @__PURE__ */ G(el, [["__scopeId", "data-v-4069f4f8"]]), Ue = "data:
|
|
|
650
654
|
1
|
|
651
655
|
/* TEXT */
|
|
652
656
|
),
|
|
653
|
-
r[e.fixPropOpt.type] === e.fixTypeOpt.group ? (a(),
|
|
657
|
+
r[e.fixPropOpt.type] === e.fixTypeOpt.group ? (a(), d(
|
|
654
658
|
"div",
|
|
655
659
|
ml,
|
|
656
660
|
" (" + T(r.userCount) + ") ",
|
|
@@ -662,7 +666,7 @@ const $ = /* @__PURE__ */ G(el, [["__scopeId", "data-v-4069f4f8"]]), Ue = "data:
|
|
|
662
666
|
]),
|
|
663
667
|
_: 2
|
|
664
668
|
/* DYNAMIC */
|
|
665
|
-
}, 1032, ["label"])) : (a(),
|
|
669
|
+
}, 1032, ["label"])) : (a(), d("div", _l, [
|
|
666
670
|
xl,
|
|
667
671
|
n("div", Ol, [
|
|
668
672
|
w($, {
|
|
@@ -680,7 +684,7 @@ const $ = /* @__PURE__ */ G(el, [["__scopeId", "data-v-4069f4f8"]]), Ue = "data:
|
|
|
680
684
|
1
|
|
681
685
|
/* TEXT */
|
|
682
686
|
),
|
|
683
|
-
r[e.fixPropOpt.type] === e.fixTypeOpt.group ? (a(),
|
|
687
|
+
r[e.fixPropOpt.type] === e.fixTypeOpt.group ? (a(), d(
|
|
684
688
|
"div",
|
|
685
689
|
kl,
|
|
686
690
|
" (" + T(r.userCount) + ") ",
|
|
@@ -689,16 +693,16 @@ const $ = /* @__PURE__ */ G(el, [["__scopeId", "data-v-4069f4f8"]]), Ue = "data:
|
|
|
689
693
|
)) : _("v-if", !0)
|
|
690
694
|
])
|
|
691
695
|
])),
|
|
692
|
-
r[e.fixPropOpt.type] === e.fixTypeOpt.group && e.children ? (a(),
|
|
696
|
+
r[e.fixPropOpt.type] === e.fixTypeOpt.group && e.children ? (a(), d("span", {
|
|
693
697
|
key: 2,
|
|
694
698
|
class: se(["nextLevel", {
|
|
695
699
|
"is-disabled": (h = x.value) == null ? void 0 : h.find(
|
|
696
|
-
(
|
|
700
|
+
(u) => u === r[e.fixPropOpt.id]
|
|
697
701
|
)
|
|
698
702
|
}]),
|
|
699
|
-
onClick: (
|
|
703
|
+
onClick: (u) => {
|
|
700
704
|
var U;
|
|
701
|
-
return
|
|
705
|
+
return D(
|
|
702
706
|
r,
|
|
703
707
|
(U = x.value) == null ? void 0 : U.find((c) => c === r[e.fixPropOpt.id])
|
|
704
708
|
);
|
|
@@ -713,7 +717,7 @@ const $ = /* @__PURE__ */ G(el, [["__scopeId", "data-v-4069f4f8"]]), Ue = "data:
|
|
|
713
717
|
_: 1
|
|
714
718
|
/* STABLE */
|
|
715
719
|
}, 8, ["isIndeterminate", "modelValue"]))
|
|
716
|
-
])) : (a(),
|
|
720
|
+
])) : (a(), d("div", bl, [
|
|
717
721
|
Cl,
|
|
718
722
|
n(
|
|
719
723
|
"div",
|
|
@@ -733,7 +737,7 @@ const $ = /* @__PURE__ */ G(el, [["__scopeId", "data-v-4069f4f8"]]), Ue = "data:
|
|
|
733
737
|
const Sl = /* @__PURE__ */ G(Ul, [["__scopeId", "data-v-f7a5199f"]]), we = (o) => (he("data-v-e03f0d36"), o = o(), Ae(), o), Bl = { class: "left-pick-list" }, wl = {
|
|
734
738
|
key: 1,
|
|
735
739
|
class: "post-view-list"
|
|
736
|
-
},
|
|
740
|
+
}, Il = { class: "iconBox" }, El = {
|
|
737
741
|
key: 1,
|
|
738
742
|
class: "checkText"
|
|
739
743
|
}, Vl = /* @__PURE__ */ we(() => /* @__PURE__ */ n(
|
|
@@ -742,7 +746,7 @@ const Sl = /* @__PURE__ */ G(Ul, [["__scopeId", "data-v-f7a5199f"]]), we = (o) =
|
|
|
742
746
|
null,
|
|
743
747
|
-1
|
|
744
748
|
/* HOISTED */
|
|
745
|
-
)),
|
|
749
|
+
)), Nl = { class: "iconBox" }, Fl = { class: "title" }, Dl = { class: "ik-picker-single" }, Rl = { class: "iconBox" }, $l = {
|
|
746
750
|
key: 1,
|
|
747
751
|
class: "checkText"
|
|
748
752
|
}, Ml = /* @__PURE__ */ we(() => /* @__PURE__ */ n(
|
|
@@ -768,26 +772,26 @@ const Sl = /* @__PURE__ */ G(Ul, [["__scopeId", "data-v-f7a5199f"]]), we = (o) =
|
|
|
768
772
|
props: Se,
|
|
769
773
|
emits: ["change", "check"],
|
|
770
774
|
setup(o, { emit: v }) {
|
|
771
|
-
var
|
|
775
|
+
var D, y;
|
|
772
776
|
const e = o, l = S(() => {
|
|
773
777
|
var i, A;
|
|
774
778
|
return ((i = e.handList) == null ? void 0 : i.length) === ((A = e.list) == null ? void 0 : A.length);
|
|
775
779
|
}), O = S(() => {
|
|
776
|
-
var t, r, h,
|
|
780
|
+
var t, r, h, u;
|
|
777
781
|
const i = (t = e.handList) == null ? void 0 : t.length, A = (r = e.list) == null ? void 0 : r.length;
|
|
778
|
-
return e.multiple ? x.value = e.handList.map((U) => U[e.fixPropOpt.id]) : b.value = (
|
|
779
|
-
}), x =
|
|
782
|
+
return e.multiple ? x.value = e.handList.map((U) => U[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;
|
|
783
|
+
}), x = E(
|
|
780
784
|
e.handList.map((i) => i[e.fixPropOpt.id])
|
|
781
|
-
), b =
|
|
785
|
+
), b = E((y = (D = e.handList) == null ? void 0 : D[0]) == null ? void 0 : y[e.fixPropOpt.id]), C = v, p = (i) => {
|
|
782
786
|
const A = i ? e.list.map((t) => t[e.fixPropOpt.id]) : [];
|
|
783
787
|
C("change", A, i ? e.list : []);
|
|
784
|
-
},
|
|
788
|
+
}, F = (i) => {
|
|
785
789
|
C("change", i, e.list);
|
|
786
790
|
}, V = (i) => {
|
|
787
791
|
C("change", i, e.list);
|
|
788
792
|
};
|
|
789
|
-
return (i, A) => (a(),
|
|
790
|
-
|
|
793
|
+
return (i, A) => (a(), d(
|
|
794
|
+
N,
|
|
791
795
|
null,
|
|
792
796
|
[
|
|
793
797
|
_(" 遍历list多选 "),
|
|
@@ -799,32 +803,32 @@ const Sl = /* @__PURE__ */ G(Ul, [["__scopeId", "data-v-f7a5199f"]]), we = (o) =
|
|
|
799
803
|
indeterminate: O.value,
|
|
800
804
|
onChange: p
|
|
801
805
|
}, {
|
|
802
|
-
default:
|
|
806
|
+
default: I(() => [
|
|
803
807
|
Y("全选")
|
|
804
808
|
]),
|
|
805
809
|
_: 1
|
|
806
810
|
/* STABLE */
|
|
807
811
|
}, 8, ["modelValue", "indeterminate"])) : _("v-if", !0),
|
|
808
|
-
i.list && i.list.length ? (a(),
|
|
812
|
+
i.list && i.list.length ? (a(), d("ul", wl, [
|
|
809
813
|
i.multiple ? (a(), B(P(Le), {
|
|
810
814
|
key: 0,
|
|
811
815
|
modelValue: x.value,
|
|
812
816
|
"onUpdate:modelValue": A[1] || (A[1] = (t) => x.value = t),
|
|
813
|
-
onChange:
|
|
817
|
+
onChange: F
|
|
814
818
|
}, {
|
|
815
|
-
default:
|
|
816
|
-
(a(!0),
|
|
817
|
-
|
|
819
|
+
default: I(() => [
|
|
820
|
+
(a(!0), d(
|
|
821
|
+
N,
|
|
818
822
|
null,
|
|
819
|
-
W(i.list, (t) => (a(),
|
|
823
|
+
W(i.list, (t) => (a(), d("li", {
|
|
820
824
|
key: t[e.fixPropOpt.id]
|
|
821
825
|
}, [
|
|
822
826
|
i.chooseType.includes(t[e.fixPropOpt.type].toLowerCase()) ? (a(), B(P(ae), {
|
|
823
827
|
key: 0,
|
|
824
828
|
label: t[e.fixPropOpt.id]
|
|
825
829
|
}, {
|
|
826
|
-
default:
|
|
827
|
-
n("div",
|
|
830
|
+
default: I(() => [
|
|
831
|
+
n("div", Il, [
|
|
828
832
|
w($, {
|
|
829
833
|
fixTypeOpt: e.fixTypeOpt,
|
|
830
834
|
fixPropOpt: e.fixPropOpt,
|
|
@@ -842,9 +846,9 @@ const Sl = /* @__PURE__ */ G(Ul, [["__scopeId", "data-v-f7a5199f"]]), we = (o) =
|
|
|
842
846
|
]),
|
|
843
847
|
_: 2
|
|
844
848
|
/* DYNAMIC */
|
|
845
|
-
}, 1032, ["label"])) : (a(),
|
|
849
|
+
}, 1032, ["label"])) : (a(), d("div", El, [
|
|
846
850
|
Vl,
|
|
847
|
-
n("div",
|
|
851
|
+
n("div", Nl, [
|
|
848
852
|
w($, {
|
|
849
853
|
fixTypeOpt: e.fixTypeOpt,
|
|
850
854
|
fixPropOpt: e.fixPropOpt,
|
|
@@ -854,7 +858,7 @@ const Sl = /* @__PURE__ */ G(Ul, [["__scopeId", "data-v-f7a5199f"]]), we = (o) =
|
|
|
854
858
|
]),
|
|
855
859
|
n(
|
|
856
860
|
"div",
|
|
857
|
-
|
|
861
|
+
Fl,
|
|
858
862
|
T(t[e.fixPropOpt.name]),
|
|
859
863
|
1
|
|
860
864
|
/* TEXT */
|
|
@@ -874,11 +878,11 @@ const Sl = /* @__PURE__ */ G(Ul, [["__scopeId", "data-v-f7a5199f"]]), we = (o) =
|
|
|
874
878
|
"onUpdate:modelValue": A[2] || (A[2] = (t) => b.value = t),
|
|
875
879
|
onChange: V
|
|
876
880
|
}, {
|
|
877
|
-
default:
|
|
878
|
-
(a(!0),
|
|
879
|
-
|
|
881
|
+
default: I(() => [
|
|
882
|
+
(a(!0), d(
|
|
883
|
+
N,
|
|
880
884
|
null,
|
|
881
|
-
W(i.list, (t) => (a(),
|
|
885
|
+
W(i.list, (t) => (a(), d("li", {
|
|
882
886
|
class: "w-full",
|
|
883
887
|
key: t[e.fixPropOpt.id]
|
|
884
888
|
}, [
|
|
@@ -886,8 +890,8 @@ const Sl = /* @__PURE__ */ G(Ul, [["__scopeId", "data-v-f7a5199f"]]), we = (o) =
|
|
|
886
890
|
key: 0,
|
|
887
891
|
label: t[e.fixPropOpt.id]
|
|
888
892
|
}, {
|
|
889
|
-
default:
|
|
890
|
-
n("div",
|
|
893
|
+
default: I(() => [
|
|
894
|
+
n("div", Dl, [
|
|
891
895
|
n("div", Rl, [
|
|
892
896
|
w($, {
|
|
893
897
|
fixTypeOpt: e.fixTypeOpt,
|
|
@@ -907,7 +911,7 @@ const Sl = /* @__PURE__ */ G(Ul, [["__scopeId", "data-v-f7a5199f"]]), we = (o) =
|
|
|
907
911
|
]),
|
|
908
912
|
_: 2
|
|
909
913
|
/* DYNAMIC */
|
|
910
|
-
}, 1032, ["label"])) : (a(),
|
|
914
|
+
}, 1032, ["label"])) : (a(), d("div", $l, [
|
|
911
915
|
Ml,
|
|
912
916
|
n("div", Wl, [
|
|
913
917
|
w($, {
|
|
@@ -933,7 +937,7 @@ const Sl = /* @__PURE__ */ G(Ul, [["__scopeId", "data-v-f7a5199f"]]), we = (o) =
|
|
|
933
937
|
_: 1
|
|
934
938
|
/* STABLE */
|
|
935
939
|
}, 8, ["isIndeterminate", "modelValue"]))
|
|
936
|
-
])) : (a(),
|
|
940
|
+
])) : (a(), d("div", Hl, [
|
|
937
941
|
Gl,
|
|
938
942
|
n(
|
|
939
943
|
"div",
|
|
@@ -950,13 +954,13 @@ const Sl = /* @__PURE__ */ G(Ul, [["__scopeId", "data-v-f7a5199f"]]), we = (o) =
|
|
|
950
954
|
));
|
|
951
955
|
}
|
|
952
956
|
});
|
|
953
|
-
const Ql = /* @__PURE__ */ G(zl, [["__scopeId", "data-v-e03f0d36"]]),
|
|
957
|
+
const Ql = /* @__PURE__ */ G(zl, [["__scopeId", "data-v-e03f0d36"]]), Ie = (o) => (he("data-v-be3b3e45"), o = o(), Ae(), o), Xl = { class: "left-pick-list" }, ql = {
|
|
954
958
|
key: 1,
|
|
955
959
|
class: "role-view-list"
|
|
956
960
|
}, Zl = { class: "iconBox" }, Kl = ["title"], Yl = {
|
|
957
961
|
key: 1,
|
|
958
962
|
class: "checkText"
|
|
959
|
-
}, Jl = /* @__PURE__ */
|
|
963
|
+
}, Jl = /* @__PURE__ */ Ie(() => /* @__PURE__ */ n(
|
|
960
964
|
"div",
|
|
961
965
|
{ class: "side" },
|
|
962
966
|
null,
|
|
@@ -965,7 +969,7 @@ const Ql = /* @__PURE__ */ G(zl, [["__scopeId", "data-v-e03f0d36"]]), Ee = (o) =
|
|
|
965
969
|
)), es = { class: "iconBox" }, ts = ["title"], ls = { class: "ik-picker-single" }, ss = { class: "iconBox" }, as = ["title"], os = {
|
|
966
970
|
key: 1,
|
|
967
971
|
class: "checkText"
|
|
968
|
-
}, ns = /* @__PURE__ */
|
|
972
|
+
}, ns = /* @__PURE__ */ Ie(() => /* @__PURE__ */ n(
|
|
969
973
|
"div",
|
|
970
974
|
{ class: "side" },
|
|
971
975
|
null,
|
|
@@ -974,7 +978,7 @@ const Ql = /* @__PURE__ */ G(zl, [["__scopeId", "data-v-e03f0d36"]]), Ee = (o) =
|
|
|
974
978
|
)), is = { class: "iconBox" }, rs = ["title"], ps = {
|
|
975
979
|
key: 2,
|
|
976
980
|
class: "empty"
|
|
977
|
-
},
|
|
981
|
+
}, ds = /* @__PURE__ */ Ie(() => /* @__PURE__ */ n(
|
|
978
982
|
"img",
|
|
979
983
|
{
|
|
980
984
|
src: Ue,
|
|
@@ -983,31 +987,31 @@ const Ql = /* @__PURE__ */ G(zl, [["__scopeId", "data-v-e03f0d36"]]), Ee = (o) =
|
|
|
983
987
|
null,
|
|
984
988
|
-1
|
|
985
989
|
/* HOISTED */
|
|
986
|
-
)),
|
|
990
|
+
)), us = /* @__PURE__ */ oe({
|
|
987
991
|
__name: "RoleList",
|
|
988
992
|
props: Se,
|
|
989
993
|
emits: ["change", "check"],
|
|
990
994
|
setup(o, { emit: v }) {
|
|
991
|
-
var
|
|
995
|
+
var D, y;
|
|
992
996
|
const e = o, l = S(() => {
|
|
993
997
|
var i, A;
|
|
994
998
|
return ((i = e.handList) == null ? void 0 : i.length) === ((A = e.list) == null ? void 0 : A.length);
|
|
995
999
|
}), O = S(() => {
|
|
996
|
-
var t, r, h,
|
|
1000
|
+
var t, r, h, u;
|
|
997
1001
|
const i = (t = e.handList) == null ? void 0 : t.length, A = (r = e.list) == null ? void 0 : r.length;
|
|
998
|
-
return e.multiple ? x.value = e.handList.map((U) => U[e.fixPropOpt.id]) : b.value = (
|
|
999
|
-
}), x =
|
|
1002
|
+
return e.multiple ? x.value = e.handList.map((U) => U[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;
|
|
1003
|
+
}), x = E(
|
|
1000
1004
|
e.handList.map((i) => i[e.fixPropOpt.id])
|
|
1001
|
-
), b =
|
|
1005
|
+
), b = E((y = (D = e.handList) == null ? void 0 : D[0]) == null ? void 0 : y[e.fixPropOpt.id]), C = v, p = (i) => {
|
|
1002
1006
|
const A = i ? e.list.map((t) => t[e.fixPropOpt.id]) : [];
|
|
1003
1007
|
C("change", A, i ? e.list : []);
|
|
1004
|
-
},
|
|
1008
|
+
}, F = (i) => {
|
|
1005
1009
|
C("change", i, e.list);
|
|
1006
1010
|
}, V = (i) => {
|
|
1007
1011
|
C("change", i, e.list);
|
|
1008
1012
|
};
|
|
1009
|
-
return (i, A) => (a(),
|
|
1010
|
-
|
|
1013
|
+
return (i, A) => (a(), d(
|
|
1014
|
+
N,
|
|
1011
1015
|
null,
|
|
1012
1016
|
[
|
|
1013
1017
|
_(" 遍历list多选 "),
|
|
@@ -1019,24 +1023,24 @@ const Ql = /* @__PURE__ */ G(zl, [["__scopeId", "data-v-e03f0d36"]]), Ee = (o) =
|
|
|
1019
1023
|
indeterminate: O.value,
|
|
1020
1024
|
onChange: p
|
|
1021
1025
|
}, {
|
|
1022
|
-
default:
|
|
1026
|
+
default: I(() => [
|
|
1023
1027
|
Y("全选")
|
|
1024
1028
|
]),
|
|
1025
1029
|
_: 1
|
|
1026
1030
|
/* STABLE */
|
|
1027
1031
|
}, 8, ["modelValue", "indeterminate"])) : _("v-if", !0),
|
|
1028
|
-
i.list && i.list.length ? (a(),
|
|
1032
|
+
i.list && i.list.length ? (a(), d("ul", ql, [
|
|
1029
1033
|
i.multiple ? (a(), B(P(Le), {
|
|
1030
1034
|
key: 0,
|
|
1031
1035
|
modelValue: x.value,
|
|
1032
1036
|
"onUpdate:modelValue": A[1] || (A[1] = (t) => x.value = t),
|
|
1033
|
-
onChange:
|
|
1037
|
+
onChange: F
|
|
1034
1038
|
}, {
|
|
1035
|
-
default:
|
|
1036
|
-
(a(!0),
|
|
1037
|
-
|
|
1039
|
+
default: I(() => [
|
|
1040
|
+
(a(!0), d(
|
|
1041
|
+
N,
|
|
1038
1042
|
null,
|
|
1039
|
-
W(i.list, (t) => (a(),
|
|
1043
|
+
W(i.list, (t) => (a(), d("li", {
|
|
1040
1044
|
key: t[i.fixPropOpt.id]
|
|
1041
1045
|
}, [
|
|
1042
1046
|
i.chooseType.includes(t[e.fixPropOpt.type].toLowerCase()) ? (a(), B(P(ae), {
|
|
@@ -1045,7 +1049,7 @@ const Ql = /* @__PURE__ */ G(zl, [["__scopeId", "data-v-e03f0d36"]]), Ee = (o) =
|
|
|
1045
1049
|
value: t[i.fixPropOpt.id],
|
|
1046
1050
|
disabled: t.disabled
|
|
1047
1051
|
}, {
|
|
1048
|
-
default:
|
|
1052
|
+
default: I(() => [
|
|
1049
1053
|
n("div", Zl, [
|
|
1050
1054
|
w($, {
|
|
1051
1055
|
fixTypeOpt: e.fixTypeOpt,
|
|
@@ -1060,7 +1064,7 @@ const Ql = /* @__PURE__ */ G(zl, [["__scopeId", "data-v-e03f0d36"]]), Ee = (o) =
|
|
|
1060
1064
|
]),
|
|
1061
1065
|
_: 2
|
|
1062
1066
|
/* DYNAMIC */
|
|
1063
|
-
}, 1032, ["label", "value", "disabled"])) : (a(),
|
|
1067
|
+
}, 1032, ["label", "value", "disabled"])) : (a(), d("div", Yl, [
|
|
1064
1068
|
Jl,
|
|
1065
1069
|
n("div", es, [
|
|
1066
1070
|
w($, {
|
|
@@ -1089,11 +1093,11 @@ const Ql = /* @__PURE__ */ G(zl, [["__scopeId", "data-v-e03f0d36"]]), Ee = (o) =
|
|
|
1089
1093
|
"onUpdate:modelValue": A[2] || (A[2] = (t) => b.value = t),
|
|
1090
1094
|
onChange: V
|
|
1091
1095
|
}, {
|
|
1092
|
-
default:
|
|
1093
|
-
(a(!0),
|
|
1094
|
-
|
|
1096
|
+
default: I(() => [
|
|
1097
|
+
(a(!0), d(
|
|
1098
|
+
N,
|
|
1095
1099
|
null,
|
|
1096
|
-
W(i.list, (t) => (a(),
|
|
1100
|
+
W(i.list, (t) => (a(), d("li", {
|
|
1097
1101
|
class: "w-full",
|
|
1098
1102
|
key: t[i.fixPropOpt.id]
|
|
1099
1103
|
}, [
|
|
@@ -1103,7 +1107,7 @@ const Ql = /* @__PURE__ */ G(zl, [["__scopeId", "data-v-e03f0d36"]]), Ee = (o) =
|
|
|
1103
1107
|
value: t[i.fixPropOpt.id],
|
|
1104
1108
|
disabled: t.disabled
|
|
1105
1109
|
}, {
|
|
1106
|
-
default:
|
|
1110
|
+
default: I(() => [
|
|
1107
1111
|
n("div", ls, [
|
|
1108
1112
|
n("div", ss, [
|
|
1109
1113
|
w($, {
|
|
@@ -1120,7 +1124,7 @@ const Ql = /* @__PURE__ */ G(zl, [["__scopeId", "data-v-e03f0d36"]]), Ee = (o) =
|
|
|
1120
1124
|
]),
|
|
1121
1125
|
_: 2
|
|
1122
1126
|
/* DYNAMIC */
|
|
1123
|
-
}, 1032, ["label", "value", "disabled"])) : (a(),
|
|
1127
|
+
}, 1032, ["label", "value", "disabled"])) : (a(), d("div", os, [
|
|
1124
1128
|
ns,
|
|
1125
1129
|
n("div", is, [
|
|
1126
1130
|
w($, {
|
|
@@ -1143,8 +1147,8 @@ const Ql = /* @__PURE__ */ G(zl, [["__scopeId", "data-v-e03f0d36"]]), Ee = (o) =
|
|
|
1143
1147
|
_: 1
|
|
1144
1148
|
/* STABLE */
|
|
1145
1149
|
}, 8, ["indeterminate", "modelValue"]))
|
|
1146
|
-
])) : (a(),
|
|
1147
|
-
|
|
1150
|
+
])) : (a(), d("div", ps, [
|
|
1151
|
+
ds,
|
|
1148
1152
|
n(
|
|
1149
1153
|
"div",
|
|
1150
1154
|
null,
|
|
@@ -1160,7 +1164,7 @@ const Ql = /* @__PURE__ */ G(zl, [["__scopeId", "data-v-e03f0d36"]]), Ee = (o) =
|
|
|
1160
1164
|
));
|
|
1161
1165
|
}
|
|
1162
1166
|
});
|
|
1163
|
-
const cs = /* @__PURE__ */ G(
|
|
1167
|
+
const cs = /* @__PURE__ */ G(us, [["__scopeId", "data-v-be3b3e45"]]);
|
|
1164
1168
|
var re = /* @__PURE__ */ ((o) => (o.group = "group", o.role = "role", o.post = "post", o))(re || {});
|
|
1165
1169
|
const fs = {
|
|
1166
1170
|
// 是否允许选择子集
|
|
@@ -1349,9 +1353,9 @@ const fs = {
|
|
|
1349
1353
|
hs(o);
|
|
1350
1354
|
(e = fe.local.getItem("tenant")) == null || e.code;
|
|
1351
1355
|
}, vs = (o, v) => {
|
|
1352
|
-
const e =
|
|
1356
|
+
const e = E([]), l = async (x, b) => {
|
|
1353
1357
|
var Z, L;
|
|
1354
|
-
const { url: C, methods: p, headers:
|
|
1358
|
+
const { url: C, methods: p, headers: F, param: V } = o.value || {}, D = {
|
|
1355
1359
|
...V || {},
|
|
1356
1360
|
parentDepartmentId: x || "",
|
|
1357
1361
|
name: b || "",
|
|
@@ -1362,9 +1366,9 @@ const fs = {
|
|
|
1362
1366
|
url: C,
|
|
1363
1367
|
headers: {
|
|
1364
1368
|
"Content-Type": "application/json;charset=UTF-8",
|
|
1365
|
-
...
|
|
1369
|
+
...F
|
|
1366
1370
|
},
|
|
1367
|
-
data: JSON.stringify(
|
|
1371
|
+
data: JSON.stringify(D)
|
|
1368
1372
|
};
|
|
1369
1373
|
As(y.headers);
|
|
1370
1374
|
const i = await ct(y), { success: A, data: t } = i.data;
|
|
@@ -1380,7 +1384,7 @@ const fs = {
|
|
|
1380
1384
|
const {
|
|
1381
1385
|
departments: r,
|
|
1382
1386
|
roles: h,
|
|
1383
|
-
posts:
|
|
1387
|
+
posts: u,
|
|
1384
1388
|
users: U,
|
|
1385
1389
|
rootOrganization: c,
|
|
1386
1390
|
rootDepartment: M
|
|
@@ -1395,7 +1399,7 @@ const fs = {
|
|
|
1395
1399
|
}), {
|
|
1396
1400
|
groupList: X.cloneDeep(r),
|
|
1397
1401
|
roleList: X.cloneDeep(h),
|
|
1398
|
-
postList: X.cloneDeep(
|
|
1402
|
+
postList: X.cloneDeep(u),
|
|
1399
1403
|
userList: X.cloneDeep(U),
|
|
1400
1404
|
rootOrganization: c,
|
|
1401
1405
|
rootDepartment: M
|
|
@@ -1429,9 +1433,9 @@ const fs = {
|
|
|
1429
1433
|
emits: ["handChild", "update:show", "update:modelValue", "ok", "search"],
|
|
1430
1434
|
setup(o, { expose: v, emit: e }) {
|
|
1431
1435
|
at((s) => ({
|
|
1432
|
-
d3f7bd36:
|
|
1436
|
+
d3f7bd36: De.value
|
|
1433
1437
|
}));
|
|
1434
|
-
const l = o, O =
|
|
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);
|
|
1435
1439
|
K(
|
|
1436
1440
|
() => l.api,
|
|
1437
1441
|
() => {
|
|
@@ -1450,9 +1454,9 @@ const fs = {
|
|
|
1450
1454
|
post: "POST",
|
|
1451
1455
|
group: "DEPT",
|
|
1452
1456
|
...l.typeOption
|
|
1453
|
-
})), A =
|
|
1457
|
+
})), A = E([]), t = vs(ot(l, "api"), l), r = t.handData, h = t.bannerList;
|
|
1454
1458
|
l.immediate && r(x.value, O.value);
|
|
1455
|
-
const
|
|
1459
|
+
const u = (s) => (s.forEach((f) => {
|
|
1456
1460
|
var g, m;
|
|
1457
1461
|
f.disabled = ((m = (g = l.modelValue) == null ? void 0 : g.find(
|
|
1458
1462
|
(k) => k[y.value.id] === f[y.value.id]
|
|
@@ -1468,14 +1472,14 @@ const fs = {
|
|
|
1468
1472
|
(Q) => Q[y.value.name].includes(O.value)
|
|
1469
1473
|
), p.value = (xe = l.roleList) == null ? void 0 : xe.filter(
|
|
1470
1474
|
(Q) => Q[y.value.name].includes(O.value)
|
|
1471
|
-
),
|
|
1475
|
+
), F.value = (Re = l.postList) == null ? void 0 : Re.filter(
|
|
1472
1476
|
(Q) => Q[y.value.name].includes(O.value)
|
|
1473
1477
|
), ye(), V.value = !1;
|
|
1474
1478
|
return;
|
|
1475
1479
|
}
|
|
1476
1480
|
const R = await r(x.value, O.value);
|
|
1477
1481
|
try {
|
|
1478
|
-
b.value =
|
|
1482
|
+
b.value = u((R == null ? void 0 : R.userList) || []), C.value = u((R == null ? void 0 : R.groupList) || []), p.value = u((R == null ? void 0 : R.roleList) || []), F.value = u((R == null ? void 0 : R.postList) || []);
|
|
1479
1483
|
} catch (Q) {
|
|
1480
1484
|
V.value = !1, console.info("error: ", Q);
|
|
1481
1485
|
}
|
|
@@ -1524,21 +1528,21 @@ const fs = {
|
|
|
1524
1528
|
const s = l.chooseType.map((g) => g.toLocaleLowerCase());
|
|
1525
1529
|
let f = [...s];
|
|
1526
1530
|
return s.includes("dep") && (f = [...f, "dept"]), s.includes("dep_user") && (f = [...f, "user"]), f;
|
|
1527
|
-
}), H =
|
|
1531
|
+
}), H = E([]), Ee = (s) => {
|
|
1528
1532
|
H.value = s, H.value.forEach((f) => {
|
|
1529
1533
|
f.readonly = f == null ? void 0 : f.disabled;
|
|
1530
1534
|
});
|
|
1531
|
-
}, pe = e, ve =
|
|
1535
|
+
}, pe = e, ve = E(!1), ye = (s = !1) => {
|
|
1532
1536
|
var g;
|
|
1533
1537
|
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];
|
|
1534
|
-
return !s &&
|
|
1538
|
+
return !s && Ee(f), f;
|
|
1535
1539
|
};
|
|
1536
1540
|
K(
|
|
1537
1541
|
() => l.show,
|
|
1538
1542
|
async (s) => {
|
|
1539
1543
|
var f;
|
|
1540
1544
|
if (ve.value = s, s) {
|
|
1541
|
-
x.value = ((f = l.org) == null ? void 0 : f.elementId) || l.orgPid, !l.userList.length && !l.groupList.length && !l.roleList.length && !l.postList.length ? await U() : (b.value = l.userList, C.value = l.groupList, p.value = l.roleList,
|
|
1545
|
+
x.value = ((f = l.org) == null ? void 0 : f.elementId) || l.orgPid, !l.userList.length && !l.groupList.length && !l.roleList.length && !l.postList.length ? await U() : (b.value = l.userList, C.value = l.groupList, p.value = l.roleList, F.value = l.postList), c.trans = [], M.checkAll = 0, M.indeterminate = !1;
|
|
1542
1546
|
const g = ye(!0);
|
|
1543
1547
|
for (const k of g)
|
|
1544
1548
|
q(k[y.value.id]) && c.trans.push(k[y.value.id]);
|
|
@@ -1650,16 +1654,16 @@ const fs = {
|
|
|
1650
1654
|
);
|
|
1651
1655
|
const Qe = (s) => {
|
|
1652
1656
|
x.value = s == null ? void 0 : s.elementId, U(), h.value.push(s);
|
|
1653
|
-
},
|
|
1654
|
-
!f && !l.topLink || f !==
|
|
1657
|
+
}, Ne = S(() => h.value.length), Xe = (s, f) => {
|
|
1658
|
+
!f && !l.topLink || f !== Ne.value - 1 && (x.value = s == null ? void 0 : s.elementId, U(), h.value.splice(f + 1));
|
|
1655
1659
|
}, qe = S(
|
|
1656
1660
|
() => l.chooseType.includes("role") && l.chooseType.length === 1
|
|
1657
1661
|
), Ze = S(
|
|
1658
1662
|
() => l.chooseType.includes("post") && l.chooseType.length === 1
|
|
1659
|
-
),
|
|
1660
|
-
$e(() => (te.value = qe.value ? l.tabs[1] : Ze.value ? l.tabs[2] :
|
|
1663
|
+
), de = E(l.tabs[0]), te = E(l.tabs[0]);
|
|
1664
|
+
$e(() => (te.value = qe.value ? l.tabs[1] : Ze.value ? l.tabs[2] : de.value, te.value));
|
|
1661
1665
|
const le = () => {
|
|
1662
|
-
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 = [], de.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 = [];
|
|
1663
1667
|
}, Ke = () => {
|
|
1664
1668
|
var s;
|
|
1665
1669
|
pe(
|
|
@@ -1671,7 +1675,7 @@ const fs = {
|
|
|
1671
1675
|
sort: A.value
|
|
1672
1676
|
})
|
|
1673
1677
|
), pe("update:modelValue", X.cloneDeep(((s = L.value) == null ? void 0 : s.list) || [])), pe("update:show", !1), le();
|
|
1674
|
-
},
|
|
1678
|
+
}, Fe = () => {
|
|
1675
1679
|
pe("update:show", !1), le();
|
|
1676
1680
|
};
|
|
1677
1681
|
v({ handClear: le, handRomeve: Ve, handDelete: J });
|
|
@@ -1682,7 +1686,7 @@ const fs = {
|
|
|
1682
1686
|
{ name: "group", label: "组织架构" },
|
|
1683
1687
|
{ name: "role", label: "角色列表" },
|
|
1684
1688
|
{ name: "post", label: "岗位列表" }
|
|
1685
|
-
].filter((s) => l.tabs.includes(s.name))),
|
|
1689
|
+
].filter((s) => l.tabs.includes(s.name))), De = S(
|
|
1686
1690
|
() => `${typeof l.height == "string" ? Number.parseInt(l.height) : l.height}px`
|
|
1687
1691
|
), ge = () => {
|
|
1688
1692
|
l.multiple || (c.post.clear(), c.role.clear(), c.user.clear(), c.group.clear(), c.single = "");
|
|
@@ -1696,7 +1700,7 @@ const fs = {
|
|
|
1696
1700
|
ge(), f.forEach((m) => {
|
|
1697
1701
|
g != null && g.includes(m[y.value.id]) ? ee(m) : J(m);
|
|
1698
1702
|
});
|
|
1699
|
-
}, me =
|
|
1703
|
+
}, me = E([]), lt = (s, f) => {
|
|
1700
1704
|
l.multiple || (c.single = "");
|
|
1701
1705
|
const g = l.multiple ? s : [s];
|
|
1702
1706
|
if (!g.length) {
|
|
@@ -1713,7 +1717,7 @@ const fs = {
|
|
|
1713
1717
|
me.value = X.cloneDeep(L.value.role.list);
|
|
1714
1718
|
}
|
|
1715
1719
|
);
|
|
1716
|
-
const _e =
|
|
1720
|
+
const _e = E([]), st = (s, f) => {
|
|
1717
1721
|
l.multiple || (c.single = "");
|
|
1718
1722
|
const g = l.multiple ? s : [s];
|
|
1719
1723
|
if (!g.length) {
|
|
@@ -1749,14 +1753,14 @@ const fs = {
|
|
|
1749
1753
|
width: typeof s.width == "string" ? s.width : `${s.width}%`,
|
|
1750
1754
|
class: "p_p_picker-dialog",
|
|
1751
1755
|
"modal-class": "p_p_picker-dialog-modal-user",
|
|
1752
|
-
onClose:
|
|
1756
|
+
onClose: Fe
|
|
1753
1757
|
}, {
|
|
1754
|
-
footer:
|
|
1758
|
+
footer: I(() => [
|
|
1755
1759
|
n("span", bs, [
|
|
1756
1760
|
w(P(Oe), {
|
|
1757
|
-
onClick: ie(
|
|
1761
|
+
onClick: ie(Fe, ["stop"])
|
|
1758
1762
|
}, {
|
|
1759
|
-
default:
|
|
1763
|
+
default: I(() => [
|
|
1760
1764
|
Y("取消")
|
|
1761
1765
|
]),
|
|
1762
1766
|
_: 1
|
|
@@ -1766,7 +1770,7 @@ const fs = {
|
|
|
1766
1770
|
type: "primary",
|
|
1767
1771
|
onClick: ie(Ke, ["stop"])
|
|
1768
1772
|
}, {
|
|
1769
|
-
default:
|
|
1773
|
+
default: I(() => [
|
|
1770
1774
|
Y(" 确定 ")
|
|
1771
1775
|
]),
|
|
1772
1776
|
_: 1
|
|
@@ -1774,12 +1778,12 @@ const fs = {
|
|
|
1774
1778
|
})
|
|
1775
1779
|
])
|
|
1776
1780
|
]),
|
|
1777
|
-
default:
|
|
1781
|
+
default: I(() => [
|
|
1778
1782
|
n(
|
|
1779
1783
|
"div",
|
|
1780
1784
|
{
|
|
1781
1785
|
class: "dep-use-picker",
|
|
1782
|
-
style: je({ height:
|
|
1786
|
+
style: je({ height: De.value })
|
|
1783
1787
|
},
|
|
1784
1788
|
[
|
|
1785
1789
|
n("div", ys, [
|
|
@@ -1793,13 +1797,13 @@ const fs = {
|
|
|
1793
1797
|
}, null, 8, ["modelValue", "placeholder"]),
|
|
1794
1798
|
Ye.value ? (a(), B(m, {
|
|
1795
1799
|
key: 0,
|
|
1796
|
-
modelValue:
|
|
1797
|
-
"onUpdate:modelValue": f[1] || (f[1] = (k) =>
|
|
1800
|
+
modelValue: de.value,
|
|
1801
|
+
"onUpdate:modelValue": f[1] || (f[1] = (k) => de.value = k),
|
|
1798
1802
|
class: "ik-picker-tab"
|
|
1799
1803
|
}, {
|
|
1800
|
-
default:
|
|
1801
|
-
(a(!0),
|
|
1802
|
-
|
|
1804
|
+
default: I(() => [
|
|
1805
|
+
(a(!0), d(
|
|
1806
|
+
N,
|
|
1803
1807
|
null,
|
|
1804
1808
|
W(Je.value, (k) => (a(), B(g, {
|
|
1805
1809
|
label: k.label,
|
|
@@ -1815,21 +1819,21 @@ const fs = {
|
|
|
1815
1819
|
}, 8, ["modelValue"])) : _("v-if", !0)
|
|
1816
1820
|
]),
|
|
1817
1821
|
_(" 过滤 "),
|
|
1818
|
-
te.value === P(re).group ? (a(),
|
|
1822
|
+
te.value === P(re).group ? (a(), d("div", gs, [
|
|
1819
1823
|
_(" 面包屑 全选 "),
|
|
1820
|
-
w(P(
|
|
1824
|
+
w(P(dt), {
|
|
1821
1825
|
separator: ">",
|
|
1822
1826
|
class: se(["banner", { "top-unlink": !s.topLink }])
|
|
1823
1827
|
}, {
|
|
1824
|
-
default:
|
|
1825
|
-
|
|
1826
|
-
|
|
1828
|
+
default: I(() => [
|
|
1829
|
+
Ne.value ? (a(!0), d(
|
|
1830
|
+
N,
|
|
1827
1831
|
{ key: 0 },
|
|
1828
|
-
W(P(h), (k, z) => (a(), B(P(
|
|
1832
|
+
W(P(h), (k, z) => (a(), B(P(ut), {
|
|
1829
1833
|
key: k[y.value.id],
|
|
1830
1834
|
onClick: ie((xe) => Xe(k, z), ["stop"])
|
|
1831
1835
|
}, {
|
|
1832
|
-
default:
|
|
1836
|
+
default: I(() => [
|
|
1833
1837
|
Y(
|
|
1834
1838
|
T(k[y.value.name]),
|
|
1835
1839
|
1
|
|
@@ -1849,11 +1853,11 @@ const fs = {
|
|
|
1849
1853
|
])) : _("v-if", !0),
|
|
1850
1854
|
_(" 左侧列表 "),
|
|
1851
1855
|
_(" 组织架构 "),
|
|
1852
|
-
te.value === P(re).group ?
|
|
1856
|
+
te.value === P(re).group ? ue((a(), B(Sl, {
|
|
1853
1857
|
key: 1,
|
|
1854
1858
|
fixPropOpt: y.value,
|
|
1855
1859
|
fixTypeOpt: i.value,
|
|
1856
|
-
list:
|
|
1860
|
+
list: D.value,
|
|
1857
1861
|
max: s.max,
|
|
1858
1862
|
multiple: s.multiple,
|
|
1859
1863
|
"hand-list": et.value,
|
|
@@ -1865,12 +1869,12 @@ const fs = {
|
|
|
1865
1869
|
onChange: tt
|
|
1866
1870
|
}, null, 8, ["fixPropOpt", "fixTypeOpt", "list", "max", "multiple", "hand-list", "imageBaseUrl", "emptyText", "children", "choose-type"])), [
|
|
1867
1871
|
[P(Pe), V.value]
|
|
1868
|
-
]) : te.value === P(re).role ? (a(),
|
|
1869
|
-
|
|
1872
|
+
]) : te.value === P(re).role ? (a(), d(
|
|
1873
|
+
N,
|
|
1870
1874
|
{ key: 2 },
|
|
1871
1875
|
[
|
|
1872
1876
|
_(" 角色 "),
|
|
1873
|
-
|
|
1877
|
+
ue(w(cs, {
|
|
1874
1878
|
fixPropOpt: y.value,
|
|
1875
1879
|
fixTypeOpt: i.value,
|
|
1876
1880
|
list: p.value,
|
|
@@ -1887,15 +1891,15 @@ const fs = {
|
|
|
1887
1891
|
],
|
|
1888
1892
|
64
|
|
1889
1893
|
/* STABLE_FRAGMENT */
|
|
1890
|
-
)) : te.value === P(re).post ? (a(),
|
|
1891
|
-
|
|
1894
|
+
)) : te.value === P(re).post ? (a(), d(
|
|
1895
|
+
N,
|
|
1892
1896
|
{ key: 3 },
|
|
1893
1897
|
[
|
|
1894
1898
|
_(" 岗位 "),
|
|
1895
|
-
|
|
1899
|
+
ue(w(Ql, {
|
|
1896
1900
|
fixPropOpt: y.value,
|
|
1897
1901
|
fixTypeOpt: i.value,
|
|
1898
|
-
list:
|
|
1902
|
+
list: F.value,
|
|
1899
1903
|
max: s.max,
|
|
1900
1904
|
multiple: s.multiple,
|
|
1901
1905
|
"hand-list": _e.value,
|
|
@@ -1921,7 +1925,7 @@ const fs = {
|
|
|
1921
1925
|
link: "",
|
|
1922
1926
|
onClick: ie(le, ["stop"])
|
|
1923
1927
|
}, {
|
|
1924
|
-
default:
|
|
1928
|
+
default: I(() => [
|
|
1925
1929
|
Y("清空")
|
|
1926
1930
|
]),
|
|
1927
1931
|
_: 1
|
|
@@ -1929,10 +1933,10 @@ const fs = {
|
|
|
1929
1933
|
})
|
|
1930
1934
|
]),
|
|
1931
1935
|
n("ul", Ps, [
|
|
1932
|
-
(a(!0),
|
|
1933
|
-
|
|
1936
|
+
(a(!0), d(
|
|
1937
|
+
N,
|
|
1934
1938
|
null,
|
|
1935
|
-
W(A.value, (k) => (a(),
|
|
1939
|
+
W(A.value, (k) => (a(), d("li", Ts, [
|
|
1936
1940
|
n("div", ks, [
|
|
1937
1941
|
_(" icon前缀 "),
|
|
1938
1942
|
n("div", Ls, [
|
|
@@ -1951,7 +1955,7 @@ const fs = {
|
|
|
1951
1955
|
/* TEXT */
|
|
1952
1956
|
)
|
|
1953
1957
|
]),
|
|
1954
|
-
|
|
1958
|
+
ue(w(Ut, {
|
|
1955
1959
|
class: "close",
|
|
1956
1960
|
onClick: ie((z) => Ve(k), ["stop"])
|
|
1957
1961
|
}, null, 8, ["onClick"]), [
|
|
@@ -1974,13 +1978,13 @@ const fs = {
|
|
|
1974
1978
|
};
|
|
1975
1979
|
}
|
|
1976
1980
|
});
|
|
1977
|
-
const Us = He(Cs), Ge = (o) => (he("data-v-
|
|
1981
|
+
const Us = He(Cs), Ge = (o) => (he("data-v-45d32b3a"), o = o(), Ae(), o), Ss = {
|
|
1978
1982
|
class: "approveProcess",
|
|
1979
1983
|
id: "approveProcess"
|
|
1980
|
-
}, Bs = { class: "node" }, ws = { class: "nodeBg" },
|
|
1984
|
+
}, Bs = { class: "node" }, ws = { class: "nodeBg" }, Is = {
|
|
1981
1985
|
key: 0,
|
|
1982
1986
|
class: "info"
|
|
1983
|
-
},
|
|
1987
|
+
}, Es = { class: "explain" }, Vs = { key: 0 }, Ns = { key: 0 }, Fs = { key: 1 }, Ds = { key: 0 }, Rs = { key: 1 }, $s = { class: "personlist" }, Ms = { style: { width: "58px" } }, Ws = { class: "avatar" }, js = ["src"], Hs = {
|
|
1984
1988
|
key: 1,
|
|
1985
1989
|
class: "nodeBg"
|
|
1986
1990
|
}, Gs = ["onClick"], zs = ["title"], Qs = {
|
|
@@ -2041,7 +2045,7 @@ const Us = He(Cs), Ge = (o) => (he("data-v-32b8f908"), o = o(), Ae(), o), Ss = {
|
|
|
2041
2045
|
}
|
|
2042
2046
|
},
|
|
2043
2047
|
setup(o, { expose: v }) {
|
|
2044
|
-
const e = o, { cLoadUrl: l } = At(e), O = fe.local.getItem("token") || "Bearer 841b7a7b0d9c4021b1655192c28ac61b", x =
|
|
2048
|
+
const e = o, { cLoadUrl: l } = At(e), O = fe.local.getItem("token") || "Bearer 841b7a7b0d9c4021b1655192c28ac61b", x = E("sys");
|
|
2045
2049
|
function b(t) {
|
|
2046
2050
|
const r = window.location.search;
|
|
2047
2051
|
return new URLSearchParams(r).get(t);
|
|
@@ -2052,7 +2056,7 @@ const Us = He(Cs), Ge = (o) => (he("data-v-32b8f908"), o = o(), Ae(), o), Ss = {
|
|
|
2052
2056
|
t && (x.value = t);
|
|
2053
2057
|
}
|
|
2054
2058
|
C();
|
|
2055
|
-
const p = Te(ft(e)),
|
|
2059
|
+
const p = Te(ft(e)), F = async (t) => {
|
|
2056
2060
|
var r;
|
|
2057
2061
|
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.抄送节点)
|
|
2058
2062
|
t.handList.forEach((h) => {
|
|
@@ -2076,18 +2080,17 @@ const Us = He(Cs), Ge = (o) => (he("data-v-32b8f908"), o = o(), Ae(), o), Ss = {
|
|
|
2076
2080
|
t.isShow = !0;
|
|
2077
2081
|
});
|
|
2078
2082
|
}, V = (t) => {
|
|
2079
|
-
console.log("str", t, l.value);
|
|
2080
2083
|
let r = "";
|
|
2081
|
-
return t.includes("http") || t.includes("https") ? r = t : r = l.value ? `${l.value}${t}` : `${location.origin + location.pathname}server/oss/download?fileUrl=${t}`, r;
|
|
2082
|
-
},
|
|
2084
|
+
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
|
+
}, D = (t, r) => {
|
|
2083
2086
|
e.dataList[r].handList = t.list;
|
|
2084
|
-
let
|
|
2087
|
+
let u = (e.dataList[r][p.defaultFile.approvePersonList] || []).filter((c) => !c.canDele), U = t.list.map((c) => ({
|
|
2085
2088
|
...c,
|
|
2086
2089
|
userName: c.elementName,
|
|
2087
2090
|
userAvatar: c.avatar,
|
|
2088
2091
|
canDele: !0
|
|
2089
2092
|
}));
|
|
2090
|
-
e.dataList[r][p.defaultFile.approvePersonList] =
|
|
2093
|
+
e.dataList[r][p.defaultFile.approvePersonList] = u.concat(U);
|
|
2091
2094
|
}, y = (t, r) => {
|
|
2092
2095
|
e.dataList[t][p.defaultFile.approvePersonList].splice(r, 1), e.dataList[t].handList = e.dataList[t][p.defaultFile.approvePersonList];
|
|
2093
2096
|
}, i = () => {
|
|
@@ -2121,15 +2124,15 @@ const Us = He(Cs), Ge = (o) => (he("data-v-32b8f908"), o = o(), Ae(), o), Ss = {
|
|
|
2121
2124
|
}));
|
|
2122
2125
|
return v({ requiredVerification: i }), (t, r) => {
|
|
2123
2126
|
const h = ce("IkApprovalProcess");
|
|
2124
|
-
return a(),
|
|
2125
|
-
(a(!0),
|
|
2126
|
-
|
|
2127
|
+
return a(), d("div", Ss, [
|
|
2128
|
+
(a(!0), d(
|
|
2129
|
+
N,
|
|
2127
2130
|
null,
|
|
2128
|
-
W(e.dataList, (
|
|
2131
|
+
W(e.dataList, (u, U) => {
|
|
2129
2132
|
var c, M, q, Z;
|
|
2130
|
-
return a(),
|
|
2133
|
+
return a(), d("div", {
|
|
2131
2134
|
class: "content",
|
|
2132
|
-
key:
|
|
2135
|
+
key: u.id
|
|
2133
2136
|
}, [
|
|
2134
2137
|
_(" 审批节点类型 "),
|
|
2135
2138
|
n("div", Bs, [
|
|
@@ -2137,7 +2140,7 @@ const Us = He(Cs), Ge = (o) => (he("data-v-32b8f908"), o = o(), Ae(), o), Ss = {
|
|
|
2137
2140
|
n(
|
|
2138
2141
|
"i",
|
|
2139
2142
|
{
|
|
2140
|
-
class: se(P(ht)(p,
|
|
2143
|
+
class: se(P(ht)(p, u[p.defaultFile.nodeType]))
|
|
2141
2144
|
},
|
|
2142
2145
|
null,
|
|
2143
2146
|
2
|
|
@@ -2155,47 +2158,47 @@ const Us = He(Cs), Ge = (o) => (he("data-v-32b8f908"), o = o(), Ae(), o), Ss = {
|
|
|
2155
2158
|
/* STYLE */
|
|
2156
2159
|
)
|
|
2157
2160
|
]),
|
|
2158
|
-
|
|
2161
|
+
u[p.defaultFile.nodeType] !== p.nodeType.并行分支 ? (a(), d("div", Is, [
|
|
2159
2162
|
n("div", null, [
|
|
2160
2163
|
n(
|
|
2161
2164
|
"div",
|
|
2162
2165
|
null,
|
|
2163
|
-
T(
|
|
2166
|
+
T(u[p.defaultFile.nodeTypeName]),
|
|
2164
2167
|
1
|
|
2165
2168
|
/* TEXT */
|
|
2166
2169
|
),
|
|
2167
|
-
n("div",
|
|
2170
|
+
n("div", Es, [
|
|
2168
2171
|
_(" 抄送节点 "),
|
|
2169
|
-
|
|
2170
|
-
|
|
2172
|
+
u[p.defaultFile.nodeType] == p.nodeType.抄送节点 ? (a(), d("span", Vs, [
|
|
2173
|
+
u[p.defaultFile.approvePersonList].length ? (a(), d(
|
|
2171
2174
|
"span",
|
|
2172
|
-
|
|
2173
|
-
T(`抄送${
|
|
2175
|
+
Ns,
|
|
2176
|
+
T(`抄送${u[p.defaultFile.approvePersonList].length}人`),
|
|
2174
2177
|
1
|
|
2175
2178
|
/* TEXT */
|
|
2176
2179
|
)) : _("v-if", !0),
|
|
2177
|
-
|
|
2178
|
-
])) : (a(),
|
|
2179
|
-
|
|
2180
|
+
u[p.defaultFile.isShowAdd] ? (a(), d("span", Fs, ",可添加抄送人")) : _("v-if", !0)
|
|
2181
|
+
])) : (a(), d(
|
|
2182
|
+
N,
|
|
2180
2183
|
{ key: 1 },
|
|
2181
2184
|
[
|
|
2182
2185
|
_(" 审批节点 "),
|
|
2183
2186
|
n("span", null, [
|
|
2184
2187
|
_(" 存在审批人时 "),
|
|
2185
|
-
(c =
|
|
2188
|
+
(c = u[p.defaultFile.approvePersonList]) != null && c.length ? (a(), d(
|
|
2186
2189
|
"span",
|
|
2187
|
-
|
|
2188
|
-
T(((M =
|
|
2190
|
+
Ds,
|
|
2191
|
+
T(((M = u[p.defaultFile.approvePersonList]) == null ? void 0 : M.length) == 1 ? "1人审批" : `${(q = u[p.defaultFile.approvePersonList]) == null ? void 0 : q.length}人${u[p.defaultFile.multiExecutorTypeName]}`),
|
|
2189
2192
|
1
|
|
2190
2193
|
/* TEXT */
|
|
2191
|
-
)) : [p.statusWithoutApprover.自动通过, p.statusWithoutApprover.自动拒绝].includes(
|
|
2194
|
+
)) : [p.statusWithoutApprover.自动通过, p.statusWithoutApprover.自动拒绝].includes(u[p.defaultFile.approveType]) ? (a(), d(
|
|
2192
2195
|
"span",
|
|
2193
2196
|
Rs,
|
|
2194
|
-
T(
|
|
2197
|
+
T(u[p.defaultFile.approveTypeName]),
|
|
2195
2198
|
1
|
|
2196
2199
|
/* TEXT */
|
|
2197
|
-
)) :
|
|
2198
|
-
|
|
2200
|
+
)) : u[p.defaultFile.executorEmptyStrategy] && u[p.defaultFile.executorEmpty] ? (a(), d(
|
|
2201
|
+
N,
|
|
2199
2202
|
{ key: 2 },
|
|
2200
2203
|
[
|
|
2201
2204
|
_(" 没有审批人,并且有指定默认审批方式 "),
|
|
@@ -2204,7 +2207,7 @@ const Us = He(Cs), Ge = (o) => (he("data-v-32b8f908"), o = o(), Ae(), o), Ss = {
|
|
|
2204
2207
|
n(
|
|
2205
2208
|
"span",
|
|
2206
2209
|
null,
|
|
2207
|
-
T(
|
|
2210
|
+
T(u[p.defaultFile.executorEmptyStrategy] == p.statusWithoutApprover.自动通过 ? "将自动通过" : u[p.defaultFile.executorEmptyStrategy] == p.statusWithoutApprover.自动转交管理员 ? "自动转交给管理员" : u[p.defaultFile.executorEmptyStrategy] == p.statusWithoutApprover.指定人员审批 ? `将自动转给指定成员${u[p.defaultFile.reserveExecutorUsers] && u[p.defaultFile.reserveExecutorUsers][0].userName}` : ""),
|
|
2208
2211
|
1
|
|
2209
2212
|
/* TEXT */
|
|
2210
2213
|
)
|
|
@@ -2212,13 +2215,13 @@ const Us = He(Cs), Ge = (o) => (he("data-v-32b8f908"), o = o(), Ae(), o), Ss = {
|
|
|
2212
2215
|
],
|
|
2213
2216
|
2112
|
|
2214
2217
|
/* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
|
|
2215
|
-
)) : [p.nodeType.并行分支, p.nodeType.子流程].includes(
|
|
2218
|
+
)) : [p.nodeType.并行分支, p.nodeType.子流程].includes(u[p.defaultFile.nodeType]) ? _("v-if", !0) : (a(), d(
|
|
2216
2219
|
"span",
|
|
2217
2220
|
{
|
|
2218
2221
|
key: 3,
|
|
2219
|
-
class: se(
|
|
2222
|
+
class: se(u.required ? "warn" : "")
|
|
2220
2223
|
},
|
|
2221
|
-
" 请选择" + T(
|
|
2224
|
+
" 请选择" + T(u[p.defaultFile.nodeType] === p.nodeType.办理节点 ? "办理人" : "审批人"),
|
|
2222
2225
|
3
|
|
2223
2226
|
/* TEXT, CLASS */
|
|
2224
2227
|
))
|
|
@@ -2230,22 +2233,22 @@ const Us = He(Cs), Ge = (o) => (he("data-v-32b8f908"), o = o(), Ae(), o), Ss = {
|
|
|
2230
2233
|
])
|
|
2231
2234
|
]),
|
|
2232
2235
|
n("div", $s, [
|
|
2233
|
-
(a(!0),
|
|
2234
|
-
|
|
2236
|
+
(a(!0), d(
|
|
2237
|
+
N,
|
|
2235
2238
|
null,
|
|
2236
|
-
W(
|
|
2239
|
+
W(u[p.defaultFile.approvePersonList], (L, j) => {
|
|
2237
2240
|
var H;
|
|
2238
|
-
return a(),
|
|
2241
|
+
return a(), d("div", {
|
|
2239
2242
|
class: "list",
|
|
2240
2243
|
key: L.userId
|
|
2241
2244
|
}, [
|
|
2242
2245
|
n("div", Ms, [
|
|
2243
2246
|
n("div", Ws, [
|
|
2244
|
-
L.userAvatar ? (a(),
|
|
2247
|
+
L.userAvatar ? (a(), d("img", {
|
|
2245
2248
|
key: 0,
|
|
2246
2249
|
src: V(L.userAvatar),
|
|
2247
2250
|
alt: ""
|
|
2248
|
-
}, null, 8, js)) : (a(),
|
|
2251
|
+
}, null, 8, js)) : (a(), d("div", Hs, [
|
|
2249
2252
|
n(
|
|
2250
2253
|
"span",
|
|
2251
2254
|
null,
|
|
@@ -2254,9 +2257,9 @@ const Us = He(Cs), Ge = (o) => (he("data-v-32b8f908"), o = o(), Ae(), o), Ss = {
|
|
|
2254
2257
|
/* TEXT */
|
|
2255
2258
|
)
|
|
2256
2259
|
])),
|
|
2257
|
-
L.canDele ? (a(),
|
|
2260
|
+
L.canDele ? (a(), d("i", {
|
|
2258
2261
|
key: 2,
|
|
2259
|
-
onClick: (
|
|
2262
|
+
onClick: (Ee) => y(U, j),
|
|
2260
2263
|
class: "ikapprove ikapprove-shanchu1"
|
|
2261
2264
|
}, null, 8, Gs)) : _("v-if", !0)
|
|
2262
2265
|
]),
|
|
@@ -2266,17 +2269,17 @@ const Us = He(Cs), Ge = (o) => (he("data-v-32b8f908"), o = o(), Ae(), o), Ss = {
|
|
|
2266
2269
|
}, T(L.userName), 9, zs)
|
|
2267
2270
|
]),
|
|
2268
2271
|
_(" 显示添加人按钮,不是单选且已选中一个人的情况,显示图标 "),
|
|
2269
|
-
|
|
2272
|
+
u[p.defaultFile.isShowAdd] && !(u[p.defaultFile.singleApproval] && ((H = u[p.defaultFile.approvePersonList]) == null ? void 0 : H.length) == 1) ? (a(), d("span", Qs, [
|
|
2270
2273
|
_(" 抄送默认 "),
|
|
2271
|
-
|
|
2272
|
-
|
|
2274
|
+
u[p.defaultFile.nodeType] == p.nodeType.抄送节点 ? (a(), d("span", Xs, "+")) : (a(), d(
|
|
2275
|
+
N,
|
|
2273
2276
|
{ key: 1 },
|
|
2274
2277
|
[
|
|
2275
2278
|
_(" 审批 "),
|
|
2276
2279
|
n(
|
|
2277
2280
|
"span",
|
|
2278
2281
|
null,
|
|
2279
|
-
T(
|
|
2282
|
+
T(u[p.defaultFile.multiExecutorType] == "ANY" ? "/" : u[p.defaultFile.multiExecutorType] == "ALL" ? "+" : ">"),
|
|
2280
2283
|
1
|
|
2281
2284
|
/* TEXT */
|
|
2282
2285
|
)
|
|
@@ -2291,37 +2294,37 @@ const Us = He(Cs), Ge = (o) => (he("data-v-32b8f908"), o = o(), Ae(), o), Ss = {
|
|
|
2291
2294
|
/* KEYED_FRAGMENT */
|
|
2292
2295
|
)),
|
|
2293
2296
|
_(" 显示添加人按钮,不是单选且已选中一个人的情况,显示按钮 (item[state.defaultFile.isShowAdd] && "),
|
|
2294
|
-
|
|
2297
|
+
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", {
|
|
2295
2298
|
key: 0,
|
|
2296
2299
|
class: "addBg",
|
|
2297
|
-
onClick: (L) =>
|
|
2300
|
+
onClick: (L) => F(u)
|
|
2298
2301
|
}, [
|
|
2299
|
-
|
|
2302
|
+
u[p.defaultFile.nodeType] == p.nodeType.审批节点 ? (a(), d("span", Zs)) : _("v-if", !0),
|
|
2300
2303
|
Ks
|
|
2301
2304
|
], 8, qs)) : _("v-if", !0),
|
|
2302
2305
|
_(" 添加人组件 "),
|
|
2303
2306
|
w(P(Us), Me({
|
|
2304
|
-
modelValue:
|
|
2305
|
-
"onUpdate:modelValue": (L) =>
|
|
2306
|
-
show:
|
|
2307
|
-
"onUpdate:show": (L) =>
|
|
2308
|
-
onOk: (L) =>
|
|
2309
|
-
multiple:
|
|
2310
|
-
"dep-list":
|
|
2311
|
-
"user-list":
|
|
2312
|
-
"organization-list":
|
|
2307
|
+
modelValue: u.handList,
|
|
2308
|
+
"onUpdate:modelValue": (L) => u.handList = L,
|
|
2309
|
+
show: u.isShow,
|
|
2310
|
+
"onUpdate:show": (L) => u.isShow = L,
|
|
2311
|
+
onOk: (L) => D(L, U),
|
|
2312
|
+
multiple: u.multiple,
|
|
2313
|
+
"dep-list": u.depList,
|
|
2314
|
+
"user-list": u.userList,
|
|
2315
|
+
"organization-list": u.organizationList,
|
|
2313
2316
|
ref_for: !0
|
|
2314
2317
|
}, A.value, {
|
|
2315
|
-
chooseType:
|
|
2318
|
+
chooseType: u.chooseType
|
|
2316
2319
|
}), null, 16, ["modelValue", "onUpdate:modelValue", "show", "onUpdate:show", "onOk", "multiple", "dep-list", "user-list", "organization-list", "chooseType"])
|
|
2317
2320
|
])
|
|
2318
|
-
])) : (a(),
|
|
2321
|
+
])) : (a(), d("div", Ys, [
|
|
2319
2322
|
Js,
|
|
2320
2323
|
n("div", ea, [
|
|
2321
|
-
(a(!0),
|
|
2322
|
-
|
|
2324
|
+
(a(!0), d(
|
|
2325
|
+
N,
|
|
2323
2326
|
null,
|
|
2324
|
-
W(
|
|
2327
|
+
W(u.parallelInstances, (L, j) => (a(), d(
|
|
2325
2328
|
"div",
|
|
2326
2329
|
{
|
|
2327
2330
|
key: j,
|
|
@@ -2357,7 +2360,7 @@ const Us = He(Cs), Ge = (o) => (he("data-v-32b8f908"), o = o(), Ae(), o), Ss = {
|
|
|
2357
2360
|
};
|
|
2358
2361
|
}
|
|
2359
2362
|
});
|
|
2360
|
-
const aa = /* @__PURE__ */ G(sa, [["__scopeId", "data-v-
|
|
2363
|
+
const aa = /* @__PURE__ */ G(sa, [["__scopeId", "data-v-45d32b3a"]]), pa = He(aa);
|
|
2361
2364
|
export {
|
|
2362
2365
|
pa as IKApprovalProcess,
|
|
2363
2366
|
pa as default
|