iking-web-ui-pro 0.1.24 → 0.1.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{IkApprovalProcess → IKApprovalProcess}/ik.index.es.js +326 -326
- package/dist/IKApprovalProcess/ik.index.umd.js +1 -0
- package/dist/IKApprovalProcess/style.css +1 -0
- package/dist/{IkApprovalProcessDetail → IKApprovalProcessDetail}/ik.index.es.js +16 -16
- package/dist/{IkApprovalProcessDetail → IKApprovalProcessDetail}/ik.index.umd.js +1 -1
- package/dist/{IkApprovalProcessDetail → IKApprovalProcessDetail}/style.css +1 -1
- package/dist/{IkCalendar → IKCalendar}/ik.index.es.js +527 -527
- package/dist/{IkCalendar → IKCalendar}/ik.index.umd.js +1 -1
- package/dist/IKCalendar/style.css +1 -0
- package/dist/{IkDescription → IKDescription}/ik.index.es.js +13 -13
- package/dist/IKDescription/ik.index.umd.js +1 -0
- package/dist/IKDescription/style.css +1 -0
- package/dist/IKDetailPreviewFiles/ik.index.es.js +17 -17
- package/dist/IKDetailPreviewFiles/ik.index.umd.js +1 -1
- package/dist/IKPreviewFile/ik.index.es.js +14 -14
- package/dist/IKPreviewFile/ik.index.umd.js +1 -1
- package/dist/IKSearch/ik.index.es.js +432 -432
- package/dist/IKSearch/ik.index.umd.js +2 -2
- package/dist/IKSearch/style.css +1 -1
- package/dist/IkBaseDialog/ik.index.es.js +19 -19
- package/dist/IkBaseDialog/ik.index.umd.js +1 -1
- package/dist/IkBaseDialog/style.css +1 -1
- package/dist/IkPageFull/ik.index.es.js +150 -150
- package/dist/IkPageFull/ik.index.umd.js +3 -3
- package/dist/IkPageFull/style.css +1 -1
- package/dist/IkPickerUser/ik.index.es.js +168 -168
- package/dist/IkPickerUser/ik.index.umd.js +1 -1
- package/dist/IkPickerUser/style.css +1 -1
- package/dist/IkUploadFile/ik.index.es.js +205 -205
- package/dist/IkUploadFile/ik.index.umd.js +1 -1
- package/dist/IkUploadFile/style.css +1 -1
- package/dist/index.es.js +22083 -21690
- package/dist/index.umd.js +66 -66
- package/dist/src/components/IKDetailPreviewFiles/src/IKDetailPreviewFiles.vue.d.ts +53 -0
- package/dist/src/components/IKExpandCollapse/src/IKExpandCollapse.vue.d.ts +37 -0
- package/dist/src/components/IkBottomOperate/src/IkBottomOperate.vue.d.ts +73 -0
- package/dist/src/components/IkPrintConfig/index.d.ts +6 -6
- package/dist/src/components/IkPrintView/index.d.ts +6 -6
- package/dist/src/components/index.d.ts +3 -0
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/IkApprovalProcess/ik.index.umd.js +0 -1
- package/dist/IkApprovalProcess/style.css +0 -1
- package/dist/IkCalendar/style.css +0 -1
- package/dist/IkDescription/ik.index.umd.js +0 -1
- package/dist/IkDescription/style.css +0 -1
- /package/dist/src/components/{IkDescription → IKDescription}/index.d.ts +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { openBlock as a, createElementBlock as
|
|
1
|
+
import { openBlock as a, createElementBlock as d, createElementVNode as i, defineComponent as le, resolveComponent as _e, createBlock as C, toDisplayString as P, createCommentVNode as g, computed as I, ref as S, Fragment as E, unref as x, withCtx as B, createTextVNode as X, renderList as W, createVNode as w, normalizeClass as ne, pushScopeId as ue, popScopeId as ce, useCssVars as tt, watch as K, toRef as lt, reactive as Oe, nextTick as Pe, watchEffect as Ne, withModifiers as ae, normalizeStyle as $e, withDirectives as de, vShow as st } from "vue";
|
|
2
2
|
import { _ as Q, ikStore as ke, ikEvent as at } from "iking-utils-pro";
|
|
3
3
|
import { ElCheckbox as te, ElCheckboxGroup as Le, ElRadioGroup as Te, ElRadio as Ce, ElDialog as ot, ElButton as me, ElInput as nt, ElBreadcrumb as it, ElBreadcrumbItem as rt, vLoading as xe } from "element-plus";
|
|
4
4
|
import pt from "axios";
|
|
5
|
-
const
|
|
5
|
+
const Me = (p, v) => {
|
|
6
6
|
if (p.install = (e) => {
|
|
7
7
|
for (const s of [p, ...Object.values(v ?? {})])
|
|
8
8
|
e.component(s.name, s);
|
|
@@ -15,7 +15,7 @@ const $e = (p, v) => {
|
|
|
15
15
|
for (const [s, o] of v)
|
|
16
16
|
e[s] = o;
|
|
17
17
|
return e;
|
|
18
|
-
},
|
|
18
|
+
}, dt = {}, ut = {
|
|
19
19
|
t: "1672194715727",
|
|
20
20
|
class: "icon",
|
|
21
21
|
viewBox: "0 0 1024 1024",
|
|
@@ -46,9 +46,9 @@ const $e = (p, v) => {
|
|
|
46
46
|
ft
|
|
47
47
|
];
|
|
48
48
|
function At(p, v) {
|
|
49
|
-
return a(),
|
|
49
|
+
return a(), d("svg", ut, ht);
|
|
50
50
|
}
|
|
51
|
-
const vt = /* @__PURE__ */ H(
|
|
51
|
+
const vt = /* @__PURE__ */ H(dt, [["render", At]]), yt = {}, gt = {
|
|
52
52
|
t: "1710907270798",
|
|
53
53
|
class: "icon",
|
|
54
54
|
viewBox: "0 0 1024 1024",
|
|
@@ -77,14 +77,14 @@ const vt = /* @__PURE__ */ H(ut, [["render", At]]), yt = {}, gt = {
|
|
|
77
77
|
null,
|
|
78
78
|
-1
|
|
79
79
|
/* HOISTED */
|
|
80
|
-
),
|
|
80
|
+
), _t = [
|
|
81
81
|
mt,
|
|
82
82
|
xt
|
|
83
83
|
];
|
|
84
|
-
function
|
|
85
|
-
return a(),
|
|
84
|
+
function Ot(p, v) {
|
|
85
|
+
return a(), d("svg", gt, _t);
|
|
86
86
|
}
|
|
87
|
-
const Pt = /* @__PURE__ */ H(yt, [["render",
|
|
87
|
+
const Pt = /* @__PURE__ */ H(yt, [["render", Ot]]), kt = {}, Lt = {
|
|
88
88
|
t: "1710904463698",
|
|
89
89
|
class: "icon",
|
|
90
90
|
viewBox: "0 0 1024 1024",
|
|
@@ -118,7 +118,7 @@ const Pt = /* @__PURE__ */ H(yt, [["render", _t]]), kt = {}, Lt = {
|
|
|
118
118
|
Ct
|
|
119
119
|
];
|
|
120
120
|
function Ut(p, v) {
|
|
121
|
-
return a(),
|
|
121
|
+
return a(), d("svg", Lt, Bt);
|
|
122
122
|
}
|
|
123
123
|
const bt = /* @__PURE__ */ H(kt, [["render", Ut]]), wt = {}, St = {
|
|
124
124
|
t: "1710904436436",
|
|
@@ -154,7 +154,7 @@ const bt = /* @__PURE__ */ H(kt, [["render", Ut]]), wt = {}, St = {
|
|
|
154
154
|
It
|
|
155
155
|
];
|
|
156
156
|
function Ft(p, v) {
|
|
157
|
-
return a(),
|
|
157
|
+
return a(), d("svg", St, Vt);
|
|
158
158
|
}
|
|
159
159
|
const Dt = /* @__PURE__ */ H(wt, [["render", Ft]]), Nt = {}, Rt = {
|
|
160
160
|
t: "1710904287393",
|
|
@@ -165,7 +165,7 @@ const Dt = /* @__PURE__ */ H(wt, [["render", Ft]]), Nt = {}, Rt = {
|
|
|
165
165
|
"p-id": "6854",
|
|
166
166
|
width: "200",
|
|
167
167
|
height: "200"
|
|
168
|
-
},
|
|
168
|
+
}, $t = /* @__PURE__ */ i(
|
|
169
169
|
"path",
|
|
170
170
|
{
|
|
171
171
|
d: "M512 271.296c27.264 0 49.792 22.336 51.136 50.816l0.064 2.688v147.072H832c62.272 0 113.28 51.776 115.2 116.8v103.872c0 28.992-22.144 52.736-49.92 53.44-27.776 0.768-51.008-21.76-52.416-50.752l-0.064-2.688V592.256a13.184 13.184 0 0 0-11.328-13.312L832 578.88H563.2v113.664c0 28.992-22.144 52.736-49.92 53.44-27.776 0.768-51.008-21.76-52.416-50.752L460.8 692.48V578.88H192a12.992 12.992 0 0 0-12.736 11.776l-0.064 1.6v100.288c0 28.992-22.144 52.736-49.92 53.44-27.776 0.768-51.008-21.76-52.416-50.752L76.8 692.48V592.256c0-65.088 49.536-118.4 111.808-120.32H460.8v-147.2c0-29.504 22.912-53.44 51.2-53.44z",
|
|
@@ -175,7 +175,7 @@ const Dt = /* @__PURE__ */ H(wt, [["render", Ft]]), Nt = {}, Rt = {
|
|
|
175
175
|
null,
|
|
176
176
|
-1
|
|
177
177
|
/* HOISTED */
|
|
178
|
-
),
|
|
178
|
+
), Mt = /* @__PURE__ */ i(
|
|
179
179
|
"path",
|
|
180
180
|
{
|
|
181
181
|
d: "M204.8 692.48c13.568 0 26.624 5.696 36.224 15.744 9.6 9.984 14.976 23.616 14.976 37.76v160.512c0 29.568-22.912 53.504-51.2 53.504H51.2c-28.288 0-51.2-23.936-51.2-53.504v-160.448c0-29.568 22.912-53.504 51.2-53.504h153.6zM588.8 692.48c13.568 0 26.624 5.696 36.224 15.744 9.6 9.984 14.976 23.616 14.976 37.76v160.512c0 29.568-22.912 53.504-51.2 53.504H435.2c-28.288 0-51.2-23.936-51.2-53.504v-160.448c0-29.568 22.912-53.504 51.2-53.504h153.6zM972.8 692.48c13.568 0 26.624 5.696 36.224 15.744 9.6 9.984 14.976 23.616 14.976 37.76v160.512c0 29.568-22.912 53.504-51.2 53.504h-153.6c-28.288 0-51.2-23.936-51.2-53.504v-160.448c0-29.568 22.912-53.504 51.2-53.504h153.6zM665.6 64c28.288 0 51.2 23.936 51.2 53.504v213.952c0 29.568-22.912 53.504-51.2 53.504H358.4c-28.288 0-51.2-23.936-51.2-53.504V117.504c0-29.568 22.912-53.504 51.2-53.504h307.2z",
|
|
@@ -186,11 +186,11 @@ const Dt = /* @__PURE__ */ H(wt, [["render", Ft]]), Nt = {}, Rt = {
|
|
|
186
186
|
-1
|
|
187
187
|
/* HOISTED */
|
|
188
188
|
), Wt = [
|
|
189
|
-
|
|
190
|
-
|
|
189
|
+
$t,
|
|
190
|
+
Mt
|
|
191
191
|
];
|
|
192
192
|
function Ht(p, v) {
|
|
193
|
-
return a(),
|
|
193
|
+
return a(), d("svg", Rt, Wt);
|
|
194
194
|
}
|
|
195
195
|
const jt = /* @__PURE__ */ H(Nt, [["render", Ht]]), Gt = { class: "avatar" }, Qt = {
|
|
196
196
|
key: 3,
|
|
@@ -223,15 +223,15 @@ const jt = /* @__PURE__ */ H(Nt, [["render", Ht]]), Gt = { class: "avatar" }, Qt
|
|
|
223
223
|
},
|
|
224
224
|
setup(p) {
|
|
225
225
|
const v = p, e = v.imageBaseUrl ? `${v.imageBaseUrl}/server/oss/download?fileUrl=` : `${location.origin}/server/oss/download?fileUrl=`, s = (o) => o ? o.startsWith("http") ? o : `${e}${o}` : "";
|
|
226
|
-
return (o,
|
|
227
|
-
const L =
|
|
228
|
-
return a(),
|
|
229
|
-
v.fixTypeOpt.group === p.element[v.fixPropOpt.type] ? (a(), C(jt, { key: 0 })) : v.fixTypeOpt.role === p.element[v.fixPropOpt.type] ? (a(), C(bt, { key: 1 })) : v.fixTypeOpt.post === p.element[v.fixPropOpt.type] ? (a(), C(Dt, { key: 2 })) : v.fixTypeOpt.user === p.element[v.fixPropOpt.type] ? (a(),
|
|
226
|
+
return (o, _) => {
|
|
227
|
+
const L = _e("el-avatar");
|
|
228
|
+
return a(), d("div", Gt, [
|
|
229
|
+
v.fixTypeOpt.group === p.element[v.fixPropOpt.type] ? (a(), C(jt, { key: 0 })) : v.fixTypeOpt.role === p.element[v.fixPropOpt.type] ? (a(), C(bt, { key: 1 })) : v.fixTypeOpt.post === p.element[v.fixPropOpt.type] ? (a(), C(Dt, { key: 2 })) : v.fixTypeOpt.user === p.element[v.fixPropOpt.type] ? (a(), d("div", Qt, [
|
|
230
230
|
p.element[p.fixPropOpt.avatar] ? (a(), C(L, {
|
|
231
231
|
key: 0,
|
|
232
232
|
shape: "square",
|
|
233
233
|
src: s(p.fixPropOpt.avatar ? p.element[p.fixPropOpt.avatar] : "")
|
|
234
|
-
}, null, 8, ["src"])) : (a(),
|
|
234
|
+
}, null, 8, ["src"])) : (a(), d(
|
|
235
235
|
"div",
|
|
236
236
|
Xt,
|
|
237
237
|
P(p.element[p.fixPropOpt.name].slice(-2)),
|
|
@@ -301,43 +301,43 @@ const R = /* @__PURE__ */ H(zt, [["__scopeId", "data-v-4069f4f8"]]), Be = "data:
|
|
|
301
301
|
// 传['dep', 'user', 'role']则选择人员、部门和角色
|
|
302
302
|
default: () => ["dep"]
|
|
303
303
|
}
|
|
304
|
-
}, be = (p) => (
|
|
304
|
+
}, be = (p) => (ue("data-v-58cee3f7"), p = p(), ce(), p), qt = { class: "left-pick-list" }, Zt = {
|
|
305
305
|
key: 1,
|
|
306
306
|
class: "post-view-list"
|
|
307
|
-
}, Kt = { class: "checkText" }, Yt = { class: "iconBox" }, Jt = {
|
|
307
|
+
}, Kt = { class: "checkText" }, Yt = { class: "iconBox" }, Jt = { class: "name_number" }, el = { class: "title" }, tl = {
|
|
308
308
|
key: 0,
|
|
309
309
|
class: "userCount"
|
|
310
|
-
},
|
|
310
|
+
}, ll = {
|
|
311
311
|
key: 1,
|
|
312
312
|
class: "checkText"
|
|
313
|
-
},
|
|
313
|
+
}, sl = /* @__PURE__ */ be(() => /* @__PURE__ */ i(
|
|
314
314
|
"div",
|
|
315
315
|
{ class: "side" },
|
|
316
316
|
null,
|
|
317
317
|
-1
|
|
318
318
|
/* HOISTED */
|
|
319
|
-
)),
|
|
319
|
+
)), al = { class: "iconBox" }, ol = { class: "name_number" }, nl = { class: "title" }, il = {
|
|
320
320
|
key: 0,
|
|
321
321
|
class: "userCount"
|
|
322
|
-
},
|
|
322
|
+
}, rl = ["onClick"], pl = { class: "ik-picker-single" }, dl = { class: "iconBox" }, ul = { class: "name_number" }, cl = { class: "title" }, fl = {
|
|
323
323
|
key: 0,
|
|
324
324
|
class: "userCount"
|
|
325
|
-
},
|
|
325
|
+
}, hl = {
|
|
326
326
|
key: 1,
|
|
327
327
|
class: "checkText"
|
|
328
|
-
},
|
|
328
|
+
}, Al = /* @__PURE__ */ be(() => /* @__PURE__ */ i(
|
|
329
329
|
"div",
|
|
330
330
|
{ class: "side" },
|
|
331
331
|
null,
|
|
332
332
|
-1
|
|
333
333
|
/* HOISTED */
|
|
334
|
-
)),
|
|
334
|
+
)), vl = { class: "iconBox" }, yl = { class: "name_number" }, gl = { class: "title" }, ml = {
|
|
335
335
|
key: 0,
|
|
336
336
|
class: "userCount"
|
|
337
|
-
},
|
|
337
|
+
}, xl = ["onClick"], _l = {
|
|
338
338
|
key: 2,
|
|
339
339
|
class: "empty"
|
|
340
|
-
},
|
|
340
|
+
}, Ol = /* @__PURE__ */ be(() => /* @__PURE__ */ i(
|
|
341
341
|
"img",
|
|
342
342
|
{
|
|
343
343
|
src: Be,
|
|
@@ -346,41 +346,41 @@ const R = /* @__PURE__ */ H(zt, [["__scopeId", "data-v-4069f4f8"]]), Be = "data:
|
|
|
346
346
|
null,
|
|
347
347
|
-1
|
|
348
348
|
/* HOISTED */
|
|
349
|
-
)),
|
|
349
|
+
)), Pl = /* @__PURE__ */ le({
|
|
350
350
|
__name: "GroupList",
|
|
351
351
|
props: Ue,
|
|
352
352
|
emits: ["change", "check", "handChild"],
|
|
353
353
|
setup(p, { emit: v }) {
|
|
354
354
|
var r, t;
|
|
355
355
|
const e = p, s = I(() => {
|
|
356
|
-
var
|
|
357
|
-
return ((
|
|
356
|
+
var u, n;
|
|
357
|
+
return ((u = e.handList) == null ? void 0 : u.length) === ((n = e.list) == null ? void 0 : n.length);
|
|
358
358
|
}), o = I(() => {
|
|
359
359
|
var c, T, b, k;
|
|
360
|
-
const
|
|
361
|
-
return e.multiple ?
|
|
362
|
-
}),
|
|
363
|
-
e.handList.map((
|
|
364
|
-
), L = S((t = (r = e.handList) == null ? void 0 : r[0]) == null ? void 0 : t[e.fixPropOpt.id]), U = v, F = (
|
|
365
|
-
const n =
|
|
360
|
+
const u = (c = e.handList) == null ? void 0 : c.length, n = (T = e.list) == null ? void 0 : T.length;
|
|
361
|
+
return e.multiple ? _.value = e.handList.map((h) => h[e.fixPropOpt.id]) : L.value = (k = (b = e.handList) == null ? void 0 : b[0]) == null ? void 0 : k[e.fixPropOpt.id], u > 0 && u < n;
|
|
362
|
+
}), _ = S(
|
|
363
|
+
e.handList.map((u) => u[e.fixPropOpt.id])
|
|
364
|
+
), L = S((t = (r = e.handList) == null ? void 0 : r[0]) == null ? void 0 : t[e.fixPropOpt.id]), U = v, F = (u) => {
|
|
365
|
+
const n = u ? e.list.map((c) => {
|
|
366
366
|
if (e.chooseType.includes(c[e.fixPropOpt.type].toLowerCase()))
|
|
367
367
|
return c[e.fixPropOpt.id];
|
|
368
368
|
}) : [];
|
|
369
|
-
U("change", n,
|
|
370
|
-
}, D = (
|
|
371
|
-
U("change",
|
|
372
|
-
}, V = (
|
|
373
|
-
U("change",
|
|
374
|
-
}, A = (
|
|
375
|
-
n || U("handChild",
|
|
369
|
+
U("change", n, u ? e.list : []);
|
|
370
|
+
}, D = (u) => {
|
|
371
|
+
U("change", u, e.list);
|
|
372
|
+
}, V = (u) => {
|
|
373
|
+
U("change", u, e.list);
|
|
374
|
+
}, A = (u, n) => {
|
|
375
|
+
n || U("handChild", u);
|
|
376
376
|
};
|
|
377
|
-
return (
|
|
377
|
+
return (u, n) => (a(), d(
|
|
378
378
|
E,
|
|
379
379
|
null,
|
|
380
380
|
[
|
|
381
381
|
g(" 遍历list多选 "),
|
|
382
382
|
i("div", qt, [
|
|
383
|
-
|
|
383
|
+
u.multiple ? (a(), C(x(te), {
|
|
384
384
|
key: 0,
|
|
385
385
|
modelValue: s.value,
|
|
386
386
|
"onUpdate:modelValue": n[0] || (n[0] = (c) => s.value = c),
|
|
@@ -393,21 +393,21 @@ const R = /* @__PURE__ */ H(zt, [["__scopeId", "data-v-4069f4f8"]]), Be = "data:
|
|
|
393
393
|
_: 1
|
|
394
394
|
/* STABLE */
|
|
395
395
|
}, 8, ["modelValue", "indeterminate"])) : g("v-if", !0),
|
|
396
|
-
|
|
397
|
-
|
|
396
|
+
u.list && u.list.length ? (a(), d("ul", Zt, [
|
|
397
|
+
u.multiple ? (a(), C(x(Le), {
|
|
398
398
|
key: 0,
|
|
399
|
-
modelValue:
|
|
400
|
-
"onUpdate:modelValue": n[1] || (n[1] = (c) =>
|
|
399
|
+
modelValue: _.value,
|
|
400
|
+
"onUpdate:modelValue": n[1] || (n[1] = (c) => _.value = c),
|
|
401
401
|
onChange: D
|
|
402
402
|
}, {
|
|
403
403
|
default: B(() => [
|
|
404
|
-
(a(!0),
|
|
404
|
+
(a(!0), d(
|
|
405
405
|
E,
|
|
406
406
|
null,
|
|
407
|
-
W(
|
|
407
|
+
W(u.list, (c) => (a(), d("li", {
|
|
408
408
|
key: c[e.fixPropOpt.id]
|
|
409
409
|
}, [
|
|
410
|
-
|
|
410
|
+
u.chooseType.includes(c[e.fixPropOpt.type].toLowerCase()) ? (a(), C(x(te), {
|
|
411
411
|
key: 0,
|
|
412
412
|
label: c[e.fixPropOpt.id],
|
|
413
413
|
disabled: c.available === !1
|
|
@@ -422,18 +422,18 @@ const R = /* @__PURE__ */ H(zt, [["__scopeId", "data-v-4069f4f8"]]), Be = "data:
|
|
|
422
422
|
imageBaseUrl: e.imageBaseUrl
|
|
423
423
|
}, null, 8, ["fixTypeOpt", "fixPropOpt", "element", "imageBaseUrl"])
|
|
424
424
|
]),
|
|
425
|
-
i("
|
|
425
|
+
i("div", Jt, [
|
|
426
426
|
i(
|
|
427
|
-
"
|
|
428
|
-
|
|
427
|
+
"div",
|
|
428
|
+
el,
|
|
429
429
|
P(c[e.fixPropOpt.name]),
|
|
430
430
|
1
|
|
431
431
|
/* TEXT */
|
|
432
432
|
),
|
|
433
|
-
c[e.fixPropOpt.type] === e.fixTypeOpt.group ? (a(),
|
|
434
|
-
"
|
|
435
|
-
|
|
436
|
-
"(" + P(c.userCount) + ")",
|
|
433
|
+
c[e.fixPropOpt.type] === e.fixTypeOpt.group ? (a(), d(
|
|
434
|
+
"div",
|
|
435
|
+
tl,
|
|
436
|
+
" (" + P(c.userCount) + ") ",
|
|
437
437
|
1
|
|
438
438
|
/* TEXT */
|
|
439
439
|
)) : g("v-if", !0)
|
|
@@ -442,9 +442,9 @@ const R = /* @__PURE__ */ H(zt, [["__scopeId", "data-v-4069f4f8"]]), Be = "data:
|
|
|
442
442
|
]),
|
|
443
443
|
_: 2
|
|
444
444
|
/* DYNAMIC */
|
|
445
|
-
}, 1032, ["label", "disabled"])) : (a(),
|
|
446
|
-
|
|
447
|
-
i("div",
|
|
445
|
+
}, 1032, ["label", "disabled"])) : (a(), d("div", ll, [
|
|
446
|
+
sl,
|
|
447
|
+
i("div", al, [
|
|
448
448
|
w(R, {
|
|
449
449
|
fixTypeOpt: e.fixTypeOpt,
|
|
450
450
|
fixPropOpt: e.fixPropOpt,
|
|
@@ -452,35 +452,35 @@ const R = /* @__PURE__ */ H(zt, [["__scopeId", "data-v-4069f4f8"]]), Be = "data:
|
|
|
452
452
|
imageBaseUrl: e.imageBaseUrl
|
|
453
453
|
}, null, 8, ["fixTypeOpt", "fixPropOpt", "element", "imageBaseUrl"])
|
|
454
454
|
]),
|
|
455
|
-
i("
|
|
455
|
+
i("div", ol, [
|
|
456
456
|
i(
|
|
457
|
-
"
|
|
458
|
-
|
|
457
|
+
"div",
|
|
458
|
+
nl,
|
|
459
459
|
P(c[e.fixPropOpt.name]),
|
|
460
460
|
1
|
|
461
461
|
/* TEXT */
|
|
462
462
|
),
|
|
463
|
-
c[e.fixPropOpt.type] === e.fixTypeOpt.group ? (a(),
|
|
464
|
-
"
|
|
465
|
-
|
|
466
|
-
"(" + P(c.userCount) + ")",
|
|
463
|
+
c[e.fixPropOpt.type] === e.fixTypeOpt.group ? (a(), d(
|
|
464
|
+
"div",
|
|
465
|
+
il,
|
|
466
|
+
" (" + P(c.userCount) + ") ",
|
|
467
467
|
1
|
|
468
468
|
/* TEXT */
|
|
469
469
|
)) : g("v-if", !0)
|
|
470
470
|
])
|
|
471
471
|
])),
|
|
472
|
-
c[e.fixPropOpt.type] === e.fixTypeOpt.group && e.children ? (a(),
|
|
472
|
+
c[e.fixPropOpt.type] === e.fixTypeOpt.group && e.children ? (a(), d("span", {
|
|
473
473
|
key: 2,
|
|
474
474
|
class: ne(["nextLevel", {
|
|
475
|
-
"is-disabled":
|
|
475
|
+
"is-disabled": _.value.find(
|
|
476
476
|
(T) => T === c[e.fixPropOpt.id]
|
|
477
477
|
)
|
|
478
478
|
}]),
|
|
479
479
|
onClick: (T) => A(
|
|
480
480
|
c,
|
|
481
|
-
|
|
481
|
+
_.value.find((b) => b === c[e.fixPropOpt.id])
|
|
482
482
|
)
|
|
483
|
-
}, " 下级", 10,
|
|
483
|
+
}, " 下级", 10, rl)) : g("v-if", !0)
|
|
484
484
|
]))),
|
|
485
485
|
128
|
|
486
486
|
/* KEYED_FRAGMENT */
|
|
@@ -496,20 +496,20 @@ const R = /* @__PURE__ */ H(zt, [["__scopeId", "data-v-4069f4f8"]]), Be = "data:
|
|
|
496
496
|
onChange: V
|
|
497
497
|
}, {
|
|
498
498
|
default: B(() => [
|
|
499
|
-
(a(!0),
|
|
499
|
+
(a(!0), d(
|
|
500
500
|
E,
|
|
501
501
|
null,
|
|
502
|
-
W(
|
|
502
|
+
W(u.list, (c) => (a(), d("li", {
|
|
503
503
|
class: "w-full",
|
|
504
504
|
key: c[e.fixPropOpt.id]
|
|
505
505
|
}, [
|
|
506
|
-
|
|
506
|
+
u.chooseType.includes(c[e.fixPropOpt.type].toLowerCase()) ? (a(), C(x(Ce), {
|
|
507
507
|
key: 0,
|
|
508
508
|
label: c[e.fixPropOpt.id]
|
|
509
509
|
}, {
|
|
510
510
|
default: B(() => [
|
|
511
|
-
i("div",
|
|
512
|
-
i("div",
|
|
511
|
+
i("div", pl, [
|
|
512
|
+
i("div", dl, [
|
|
513
513
|
w(R, {
|
|
514
514
|
fixTypeOpt: e.fixTypeOpt,
|
|
515
515
|
fixPropOpt: e.fixPropOpt,
|
|
@@ -517,18 +517,18 @@ const R = /* @__PURE__ */ H(zt, [["__scopeId", "data-v-4069f4f8"]]), Be = "data:
|
|
|
517
517
|
imageBaseUrl: e.imageBaseUrl
|
|
518
518
|
}, null, 8, ["fixTypeOpt", "fixPropOpt", "element", "imageBaseUrl"])
|
|
519
519
|
]),
|
|
520
|
-
i("
|
|
520
|
+
i("div", ul, [
|
|
521
521
|
i(
|
|
522
|
-
"
|
|
523
|
-
|
|
522
|
+
"div",
|
|
523
|
+
cl,
|
|
524
524
|
P(c[e.fixPropOpt.name]),
|
|
525
525
|
1
|
|
526
526
|
/* TEXT */
|
|
527
527
|
),
|
|
528
|
-
c[e.fixPropOpt.type] === e.fixTypeOpt.group ? (a(),
|
|
529
|
-
"
|
|
530
|
-
|
|
531
|
-
"(" + P(c.userCount) + ")",
|
|
528
|
+
c[e.fixPropOpt.type] === e.fixTypeOpt.group ? (a(), d(
|
|
529
|
+
"div",
|
|
530
|
+
fl,
|
|
531
|
+
" (" + P(c.userCount) + ") ",
|
|
532
532
|
1
|
|
533
533
|
/* TEXT */
|
|
534
534
|
)) : g("v-if", !0)
|
|
@@ -537,9 +537,9 @@ const R = /* @__PURE__ */ H(zt, [["__scopeId", "data-v-4069f4f8"]]), Be = "data:
|
|
|
537
537
|
]),
|
|
538
538
|
_: 2
|
|
539
539
|
/* DYNAMIC */
|
|
540
|
-
}, 1032, ["label"])) : (a(),
|
|
541
|
-
|
|
542
|
-
i("div",
|
|
540
|
+
}, 1032, ["label"])) : (a(), d("div", hl, [
|
|
541
|
+
Al,
|
|
542
|
+
i("div", vl, [
|
|
543
543
|
w(R, {
|
|
544
544
|
fixTypeOpt: e.fixTypeOpt,
|
|
545
545
|
fixPropOpt: e.fixPropOpt,
|
|
@@ -547,35 +547,35 @@ const R = /* @__PURE__ */ H(zt, [["__scopeId", "data-v-4069f4f8"]]), Be = "data:
|
|
|
547
547
|
imageBaseUrl: e.imageBaseUrl
|
|
548
548
|
}, null, 8, ["fixTypeOpt", "fixPropOpt", "element", "imageBaseUrl"])
|
|
549
549
|
]),
|
|
550
|
-
i("
|
|
550
|
+
i("div", yl, [
|
|
551
551
|
i(
|
|
552
|
-
"
|
|
553
|
-
|
|
552
|
+
"div",
|
|
553
|
+
gl,
|
|
554
554
|
P(c[e.fixPropOpt.name]),
|
|
555
555
|
1
|
|
556
556
|
/* TEXT */
|
|
557
557
|
),
|
|
558
|
-
c[e.fixPropOpt.type] === e.fixTypeOpt.group ? (a(),
|
|
559
|
-
"
|
|
560
|
-
|
|
561
|
-
"(" + P(c.userCount) + ")",
|
|
558
|
+
c[e.fixPropOpt.type] === e.fixTypeOpt.group ? (a(), d(
|
|
559
|
+
"div",
|
|
560
|
+
ml,
|
|
561
|
+
" (" + P(c.userCount) + ") ",
|
|
562
562
|
1
|
|
563
563
|
/* TEXT */
|
|
564
564
|
)) : g("v-if", !0)
|
|
565
565
|
])
|
|
566
566
|
])),
|
|
567
|
-
c[e.fixPropOpt.type] === e.fixTypeOpt.group && e.children ? (a(),
|
|
567
|
+
c[e.fixPropOpt.type] === e.fixTypeOpt.group && e.children ? (a(), d("span", {
|
|
568
568
|
key: 2,
|
|
569
569
|
class: ne(["nextLevel", {
|
|
570
|
-
"is-disabled":
|
|
570
|
+
"is-disabled": _.value.find(
|
|
571
571
|
(T) => T === c[e.fixPropOpt.id]
|
|
572
572
|
)
|
|
573
573
|
}]),
|
|
574
574
|
onClick: (T) => A(
|
|
575
575
|
c,
|
|
576
|
-
|
|
576
|
+
_.value.find((b) => b === c[e.fixPropOpt.id])
|
|
577
577
|
)
|
|
578
|
-
}, " 下级", 10,
|
|
578
|
+
}, " 下级", 10, xl)) : g("v-if", !0)
|
|
579
579
|
]))),
|
|
580
580
|
128
|
|
581
581
|
/* KEYED_FRAGMENT */
|
|
@@ -584,8 +584,8 @@ const R = /* @__PURE__ */ H(zt, [["__scopeId", "data-v-4069f4f8"]]), Be = "data:
|
|
|
584
584
|
_: 1
|
|
585
585
|
/* STABLE */
|
|
586
586
|
}, 8, ["isIndeterminate", "modelValue"]))
|
|
587
|
-
])) : (a(),
|
|
588
|
-
|
|
587
|
+
])) : (a(), d("div", _l, [
|
|
588
|
+
Ol,
|
|
589
589
|
i(
|
|
590
590
|
"div",
|
|
591
591
|
null,
|
|
@@ -601,25 +601,25 @@ const R = /* @__PURE__ */ H(zt, [["__scopeId", "data-v-4069f4f8"]]), Be = "data:
|
|
|
601
601
|
));
|
|
602
602
|
}
|
|
603
603
|
});
|
|
604
|
-
const
|
|
604
|
+
const kl = /* @__PURE__ */ H(Pl, [["__scopeId", "data-v-58cee3f7"]]), we = (p) => (ue("data-v-83d8077c"), p = p(), ce(), p), Ll = { class: "left-pick-list" }, Tl = {
|
|
605
605
|
key: 1,
|
|
606
606
|
class: "post-view-list"
|
|
607
|
-
},
|
|
607
|
+
}, Cl = { class: "iconBox" }, Bl = { key: 1 }, Ul = /* @__PURE__ */ we(() => /* @__PURE__ */ i(
|
|
608
608
|
"div",
|
|
609
609
|
{ class: "side" },
|
|
610
610
|
null,
|
|
611
611
|
-1
|
|
612
612
|
/* HOISTED */
|
|
613
|
-
)),
|
|
613
|
+
)), bl = { class: "iconBox" }, wl = { class: "ik-picker-single" }, Sl = { class: "iconBox" }, El = { key: 1 }, Il = /* @__PURE__ */ we(() => /* @__PURE__ */ i(
|
|
614
614
|
"div",
|
|
615
615
|
{ class: "side" },
|
|
616
616
|
null,
|
|
617
617
|
-1
|
|
618
618
|
/* HOISTED */
|
|
619
|
-
)),
|
|
619
|
+
)), Vl = { class: "iconBox" }, Fl = {
|
|
620
620
|
key: 2,
|
|
621
621
|
class: "empty"
|
|
622
|
-
},
|
|
622
|
+
}, Dl = /* @__PURE__ */ we(() => /* @__PURE__ */ i(
|
|
623
623
|
"img",
|
|
624
624
|
{
|
|
625
625
|
src: Be,
|
|
@@ -628,39 +628,39 @@ const vl = /* @__PURE__ */ H(Al, [["__scopeId", "data-v-5e76088d"]]), we = (p) =
|
|
|
628
628
|
null,
|
|
629
629
|
-1
|
|
630
630
|
/* HOISTED */
|
|
631
|
-
)),
|
|
631
|
+
)), Nl = /* @__PURE__ */ le({
|
|
632
632
|
__name: "PostList",
|
|
633
633
|
props: Ue,
|
|
634
634
|
emits: ["change", "check"],
|
|
635
635
|
setup(p, { emit: v }) {
|
|
636
636
|
var A, r;
|
|
637
637
|
const e = p, s = I(() => {
|
|
638
|
-
var t,
|
|
639
|
-
return ((t = e.handList) == null ? void 0 : t.length) === ((
|
|
638
|
+
var t, u;
|
|
639
|
+
return ((t = e.handList) == null ? void 0 : t.length) === ((u = e.list) == null ? void 0 : u.length);
|
|
640
640
|
}), o = I(() => {
|
|
641
641
|
var n, c, T, b;
|
|
642
|
-
const t = (n = e.handList) == null ? void 0 : n.length,
|
|
643
|
-
return e.multiple ?
|
|
644
|
-
}),
|
|
642
|
+
const t = (n = e.handList) == null ? void 0 : n.length, u = (c = e.list) == null ? void 0 : c.length;
|
|
643
|
+
return e.multiple ? _.value = e.handList.map((k) => k[e.fixPropOpt.id]) : L.value = (b = (T = e.handList) == null ? void 0 : T[0]) == null ? void 0 : b[e.fixPropOpt.id], t > 0 && t < u;
|
|
644
|
+
}), _ = S(
|
|
645
645
|
e.handList.map((t) => t[e.fixPropOpt.id])
|
|
646
646
|
), L = S((r = (A = e.handList) == null ? void 0 : A[0]) == null ? void 0 : r[e.fixPropOpt.id]), U = v, F = (t) => {
|
|
647
|
-
const
|
|
648
|
-
U("change",
|
|
647
|
+
const u = t ? e.list.map((n) => n[e.fixPropOpt.id]) : [];
|
|
648
|
+
U("change", u, t ? e.list : []);
|
|
649
649
|
}, D = (t) => {
|
|
650
650
|
U("change", t, e.list);
|
|
651
651
|
}, V = (t) => {
|
|
652
652
|
U("change", t, e.list);
|
|
653
653
|
};
|
|
654
|
-
return (t,
|
|
654
|
+
return (t, u) => (a(), d(
|
|
655
655
|
E,
|
|
656
656
|
null,
|
|
657
657
|
[
|
|
658
658
|
g(" 遍历list多选 "),
|
|
659
|
-
i("div",
|
|
659
|
+
i("div", Ll, [
|
|
660
660
|
t.multiple && t.chooseType.includes("post") ? (a(), C(x(te), {
|
|
661
661
|
key: 0,
|
|
662
662
|
modelValue: s.value,
|
|
663
|
-
"onUpdate:modelValue":
|
|
663
|
+
"onUpdate:modelValue": u[0] || (u[0] = (n) => s.value = n),
|
|
664
664
|
indeterminate: o.value,
|
|
665
665
|
onChange: F
|
|
666
666
|
}, {
|
|
@@ -670,18 +670,18 @@ const vl = /* @__PURE__ */ H(Al, [["__scopeId", "data-v-5e76088d"]]), we = (p) =
|
|
|
670
670
|
_: 1
|
|
671
671
|
/* STABLE */
|
|
672
672
|
}, 8, ["modelValue", "indeterminate"])) : g("v-if", !0),
|
|
673
|
-
t.list && t.list.length ? (a(),
|
|
673
|
+
t.list && t.list.length ? (a(), d("ul", Tl, [
|
|
674
674
|
t.multiple ? (a(), C(x(Le), {
|
|
675
675
|
key: 0,
|
|
676
|
-
modelValue:
|
|
677
|
-
"onUpdate:modelValue":
|
|
676
|
+
modelValue: _.value,
|
|
677
|
+
"onUpdate:modelValue": u[1] || (u[1] = (n) => _.value = n),
|
|
678
678
|
onChange: D
|
|
679
679
|
}, {
|
|
680
680
|
default: B(() => [
|
|
681
|
-
(a(!0),
|
|
681
|
+
(a(!0), d(
|
|
682
682
|
E,
|
|
683
683
|
null,
|
|
684
|
-
W(t.list, (n) => (a(),
|
|
684
|
+
W(t.list, (n) => (a(), d("li", {
|
|
685
685
|
key: n[e.fixPropOpt.id]
|
|
686
686
|
}, [
|
|
687
687
|
t.chooseType.includes(n[e.fixPropOpt.type].toLowerCase()) ? (a(), C(x(te), {
|
|
@@ -689,7 +689,7 @@ const vl = /* @__PURE__ */ H(Al, [["__scopeId", "data-v-5e76088d"]]), we = (p) =
|
|
|
689
689
|
label: n[e.fixPropOpt.id]
|
|
690
690
|
}, {
|
|
691
691
|
default: B(() => [
|
|
692
|
-
i("div",
|
|
692
|
+
i("div", Cl, [
|
|
693
693
|
w(R, {
|
|
694
694
|
fixTypeOpt: e.fixTypeOpt,
|
|
695
695
|
fixPropOpt: e.fixPropOpt,
|
|
@@ -707,9 +707,9 @@ const vl = /* @__PURE__ */ H(Al, [["__scopeId", "data-v-5e76088d"]]), we = (p) =
|
|
|
707
707
|
]),
|
|
708
708
|
_: 2
|
|
709
709
|
/* DYNAMIC */
|
|
710
|
-
}, 1032, ["label"])) : (a(),
|
|
711
|
-
|
|
712
|
-
i("div",
|
|
710
|
+
}, 1032, ["label"])) : (a(), d("div", Bl, [
|
|
711
|
+
Ul,
|
|
712
|
+
i("div", bl, [
|
|
713
713
|
w(R, {
|
|
714
714
|
fixTypeOpt: e.fixTypeOpt,
|
|
715
715
|
fixPropOpt: e.fixPropOpt,
|
|
@@ -736,14 +736,14 @@ const vl = /* @__PURE__ */ H(Al, [["__scopeId", "data-v-5e76088d"]]), we = (p) =
|
|
|
736
736
|
key: 1,
|
|
737
737
|
isIndeterminate: o.value,
|
|
738
738
|
modelValue: L.value,
|
|
739
|
-
"onUpdate:modelValue":
|
|
739
|
+
"onUpdate:modelValue": u[2] || (u[2] = (n) => L.value = n),
|
|
740
740
|
onChange: V
|
|
741
741
|
}, {
|
|
742
742
|
default: B(() => [
|
|
743
|
-
(a(!0),
|
|
743
|
+
(a(!0), d(
|
|
744
744
|
E,
|
|
745
745
|
null,
|
|
746
|
-
W(t.list, (n) => (a(),
|
|
746
|
+
W(t.list, (n) => (a(), d("li", {
|
|
747
747
|
class: "w-full",
|
|
748
748
|
key: n[e.fixPropOpt.id]
|
|
749
749
|
}, [
|
|
@@ -752,8 +752,8 @@ const vl = /* @__PURE__ */ H(Al, [["__scopeId", "data-v-5e76088d"]]), we = (p) =
|
|
|
752
752
|
label: n[e.fixPropOpt.id]
|
|
753
753
|
}, {
|
|
754
754
|
default: B(() => [
|
|
755
|
-
i("div",
|
|
756
|
-
i("div",
|
|
755
|
+
i("div", wl, [
|
|
756
|
+
i("div", Sl, [
|
|
757
757
|
w(R, {
|
|
758
758
|
fixTypeOpt: e.fixTypeOpt,
|
|
759
759
|
fixPropOpt: e.fixPropOpt,
|
|
@@ -772,9 +772,9 @@ const vl = /* @__PURE__ */ H(Al, [["__scopeId", "data-v-5e76088d"]]), we = (p) =
|
|
|
772
772
|
]),
|
|
773
773
|
_: 2
|
|
774
774
|
/* DYNAMIC */
|
|
775
|
-
}, 1032, ["label"])) : (a(),
|
|
776
|
-
|
|
777
|
-
i("div",
|
|
775
|
+
}, 1032, ["label"])) : (a(), d("div", El, [
|
|
776
|
+
Il,
|
|
777
|
+
i("div", Vl, [
|
|
778
778
|
w(R, {
|
|
779
779
|
fixTypeOpt: e.fixTypeOpt,
|
|
780
780
|
fixPropOpt: e.fixPropOpt,
|
|
@@ -798,8 +798,8 @@ const vl = /* @__PURE__ */ H(Al, [["__scopeId", "data-v-5e76088d"]]), we = (p) =
|
|
|
798
798
|
_: 1
|
|
799
799
|
/* STABLE */
|
|
800
800
|
}, 8, ["isIndeterminate", "modelValue"]))
|
|
801
|
-
])) : (a(),
|
|
802
|
-
|
|
801
|
+
])) : (a(), d("div", Fl, [
|
|
802
|
+
Dl,
|
|
803
803
|
i(
|
|
804
804
|
"div",
|
|
805
805
|
null,
|
|
@@ -815,25 +815,25 @@ const vl = /* @__PURE__ */ H(Al, [["__scopeId", "data-v-5e76088d"]]), we = (p) =
|
|
|
815
815
|
));
|
|
816
816
|
}
|
|
817
817
|
});
|
|
818
|
-
const
|
|
818
|
+
const Rl = /* @__PURE__ */ H(Nl, [["__scopeId", "data-v-83d8077c"]]), Se = (p) => (ue("data-v-11b29ff3"), p = p(), ce(), p), $l = { class: "left-pick-list" }, Ml = {
|
|
819
819
|
key: 1,
|
|
820
820
|
class: "role-view-list"
|
|
821
|
-
},
|
|
821
|
+
}, Wl = { class: "iconBox" }, Hl = ["title"], jl = { key: 1 }, Gl = /* @__PURE__ */ Se(() => /* @__PURE__ */ i(
|
|
822
822
|
"div",
|
|
823
823
|
{ class: "side" },
|
|
824
824
|
null,
|
|
825
825
|
-1
|
|
826
826
|
/* HOISTED */
|
|
827
|
-
)),
|
|
827
|
+
)), Ql = { class: "iconBox" }, Xl = ["title"], zl = { class: "ik-picker-single" }, ql = { class: "iconBox" }, Zl = ["title"], Kl = { key: 1 }, Yl = /* @__PURE__ */ Se(() => /* @__PURE__ */ i(
|
|
828
828
|
"div",
|
|
829
829
|
{ class: "side" },
|
|
830
830
|
null,
|
|
831
831
|
-1
|
|
832
832
|
/* HOISTED */
|
|
833
|
-
)),
|
|
833
|
+
)), Jl = { class: "iconBox" }, es = ["title"], ts = {
|
|
834
834
|
key: 2,
|
|
835
835
|
class: "empty"
|
|
836
|
-
},
|
|
836
|
+
}, ls = /* @__PURE__ */ Se(() => /* @__PURE__ */ i(
|
|
837
837
|
"img",
|
|
838
838
|
{
|
|
839
839
|
src: Be,
|
|
@@ -842,39 +842,39 @@ const wl = /* @__PURE__ */ H(bl, [["__scopeId", "data-v-83d8077c"]]), Se = (p) =
|
|
|
842
842
|
null,
|
|
843
843
|
-1
|
|
844
844
|
/* HOISTED */
|
|
845
|
-
)),
|
|
845
|
+
)), ss = /* @__PURE__ */ le({
|
|
846
846
|
__name: "RoleList",
|
|
847
847
|
props: Ue,
|
|
848
848
|
emits: ["change", "check"],
|
|
849
849
|
setup(p, { emit: v }) {
|
|
850
850
|
var A, r;
|
|
851
851
|
const e = p, s = I(() => {
|
|
852
|
-
var t,
|
|
853
|
-
return ((t = e.handList) == null ? void 0 : t.length) === ((
|
|
852
|
+
var t, u;
|
|
853
|
+
return ((t = e.handList) == null ? void 0 : t.length) === ((u = e.list) == null ? void 0 : u.length);
|
|
854
854
|
}), o = I(() => {
|
|
855
855
|
var n, c, T, b;
|
|
856
|
-
const t = (n = e.handList) == null ? void 0 : n.length,
|
|
857
|
-
return e.multiple ?
|
|
858
|
-
}),
|
|
856
|
+
const t = (n = e.handList) == null ? void 0 : n.length, u = (c = e.list) == null ? void 0 : c.length;
|
|
857
|
+
return e.multiple ? _.value = e.handList.map((k) => k[e.fixPropOpt.id]) : L.value = (b = (T = e.handList) == null ? void 0 : T[0]) == null ? void 0 : b[e.fixPropOpt.id], t > 0 && t < u;
|
|
858
|
+
}), _ = S(
|
|
859
859
|
e.handList.map((t) => t[e.fixPropOpt.id])
|
|
860
860
|
), L = S((r = (A = e.handList) == null ? void 0 : A[0]) == null ? void 0 : r[e.fixPropOpt.id]), U = v, F = (t) => {
|
|
861
|
-
const
|
|
862
|
-
U("change",
|
|
861
|
+
const u = t ? e.list.map((n) => n[e.fixPropOpt.id]) : [];
|
|
862
|
+
U("change", u, t ? e.list : []);
|
|
863
863
|
}, D = (t) => {
|
|
864
864
|
U("change", t, e.list);
|
|
865
865
|
}, V = (t) => {
|
|
866
866
|
U("change", t, e.list);
|
|
867
867
|
};
|
|
868
|
-
return (t,
|
|
868
|
+
return (t, u) => (a(), d(
|
|
869
869
|
E,
|
|
870
870
|
null,
|
|
871
871
|
[
|
|
872
872
|
g(" 遍历list多选 "),
|
|
873
|
-
i("div",
|
|
873
|
+
i("div", $l, [
|
|
874
874
|
t.multiple && t.chooseType.includes("role") ? (a(), C(x(te), {
|
|
875
875
|
key: 0,
|
|
876
876
|
modelValue: s.value,
|
|
877
|
-
"onUpdate:modelValue":
|
|
877
|
+
"onUpdate:modelValue": u[0] || (u[0] = (n) => s.value = n),
|
|
878
878
|
indeterminate: o.value,
|
|
879
879
|
onChange: F
|
|
880
880
|
}, {
|
|
@@ -884,18 +884,18 @@ const wl = /* @__PURE__ */ H(bl, [["__scopeId", "data-v-83d8077c"]]), Se = (p) =
|
|
|
884
884
|
_: 1
|
|
885
885
|
/* STABLE */
|
|
886
886
|
}, 8, ["modelValue", "indeterminate"])) : g("v-if", !0),
|
|
887
|
-
t.list && t.list.length ? (a(),
|
|
887
|
+
t.list && t.list.length ? (a(), d("ul", Ml, [
|
|
888
888
|
t.multiple ? (a(), C(x(Le), {
|
|
889
889
|
key: 0,
|
|
890
|
-
modelValue:
|
|
891
|
-
"onUpdate:modelValue":
|
|
890
|
+
modelValue: _.value,
|
|
891
|
+
"onUpdate:modelValue": u[1] || (u[1] = (n) => _.value = n),
|
|
892
892
|
onChange: D
|
|
893
893
|
}, {
|
|
894
894
|
default: B(() => [
|
|
895
|
-
(a(!0),
|
|
895
|
+
(a(!0), d(
|
|
896
896
|
E,
|
|
897
897
|
null,
|
|
898
|
-
W(t.list, (n) => (a(),
|
|
898
|
+
W(t.list, (n) => (a(), d("li", {
|
|
899
899
|
key: n[t.fixPropOpt.id]
|
|
900
900
|
}, [
|
|
901
901
|
t.chooseType.includes(n[e.fixPropOpt.type].toLowerCase()) ? (a(), C(x(te), {
|
|
@@ -905,7 +905,7 @@ const wl = /* @__PURE__ */ H(bl, [["__scopeId", "data-v-83d8077c"]]), Se = (p) =
|
|
|
905
905
|
disabled: n.disabled
|
|
906
906
|
}, {
|
|
907
907
|
default: B(() => [
|
|
908
|
-
i("div",
|
|
908
|
+
i("div", Wl, [
|
|
909
909
|
w(R, {
|
|
910
910
|
fixTypeOpt: e.fixTypeOpt,
|
|
911
911
|
fixPropOpt: e.fixPropOpt,
|
|
@@ -915,13 +915,13 @@ const wl = /* @__PURE__ */ H(bl, [["__scopeId", "data-v-83d8077c"]]), Se = (p) =
|
|
|
915
915
|
]),
|
|
916
916
|
i("p", {
|
|
917
917
|
title: n[t.fixPropOpt.name]
|
|
918
|
-
}, P(n[t.fixPropOpt.name]), 9,
|
|
918
|
+
}, P(n[t.fixPropOpt.name]), 9, Hl)
|
|
919
919
|
]),
|
|
920
920
|
_: 2
|
|
921
921
|
/* DYNAMIC */
|
|
922
|
-
}, 1032, ["label", "value", "disabled"])) : (a(),
|
|
923
|
-
|
|
924
|
-
i("div",
|
|
922
|
+
}, 1032, ["label", "value", "disabled"])) : (a(), d("div", jl, [
|
|
923
|
+
Gl,
|
|
924
|
+
i("div", Ql, [
|
|
925
925
|
w(R, {
|
|
926
926
|
fixTypeOpt: e.fixTypeOpt,
|
|
927
927
|
fixPropOpt: e.fixPropOpt,
|
|
@@ -931,7 +931,7 @@ const wl = /* @__PURE__ */ H(bl, [["__scopeId", "data-v-83d8077c"]]), Se = (p) =
|
|
|
931
931
|
]),
|
|
932
932
|
i("p", {
|
|
933
933
|
title: n[t.fixPropOpt.name]
|
|
934
|
-
}, P(n[t.fixPropOpt.name]), 9,
|
|
934
|
+
}, P(n[t.fixPropOpt.name]), 9, Xl)
|
|
935
935
|
]))
|
|
936
936
|
]))),
|
|
937
937
|
128
|
|
@@ -944,14 +944,14 @@ const wl = /* @__PURE__ */ H(bl, [["__scopeId", "data-v-83d8077c"]]), Se = (p) =
|
|
|
944
944
|
key: 1,
|
|
945
945
|
indeterminate: o.value,
|
|
946
946
|
modelValue: L.value,
|
|
947
|
-
"onUpdate:modelValue":
|
|
947
|
+
"onUpdate:modelValue": u[2] || (u[2] = (n) => L.value = n),
|
|
948
948
|
onChange: V
|
|
949
949
|
}, {
|
|
950
950
|
default: B(() => [
|
|
951
|
-
(a(!0),
|
|
951
|
+
(a(!0), d(
|
|
952
952
|
E,
|
|
953
953
|
null,
|
|
954
|
-
W(t.list, (n) => (a(),
|
|
954
|
+
W(t.list, (n) => (a(), d("li", {
|
|
955
955
|
class: "w-full",
|
|
956
956
|
key: n[t.fixPropOpt.id]
|
|
957
957
|
}, [
|
|
@@ -962,8 +962,8 @@ const wl = /* @__PURE__ */ H(bl, [["__scopeId", "data-v-83d8077c"]]), Se = (p) =
|
|
|
962
962
|
disabled: n.disabled
|
|
963
963
|
}, {
|
|
964
964
|
default: B(() => [
|
|
965
|
-
i("div",
|
|
966
|
-
i("div",
|
|
965
|
+
i("div", zl, [
|
|
966
|
+
i("div", ql, [
|
|
967
967
|
w(R, {
|
|
968
968
|
fixTypeOpt: e.fixTypeOpt,
|
|
969
969
|
fixPropOpt: e.fixPropOpt,
|
|
@@ -973,14 +973,14 @@ const wl = /* @__PURE__ */ H(bl, [["__scopeId", "data-v-83d8077c"]]), Se = (p) =
|
|
|
973
973
|
]),
|
|
974
974
|
i("p", {
|
|
975
975
|
title: n[t.fixPropOpt.name]
|
|
976
|
-
}, P(n[t.fixPropOpt.name]), 9,
|
|
976
|
+
}, P(n[t.fixPropOpt.name]), 9, Zl)
|
|
977
977
|
])
|
|
978
978
|
]),
|
|
979
979
|
_: 2
|
|
980
980
|
/* DYNAMIC */
|
|
981
|
-
}, 1032, ["label", "value", "disabled"])) : (a(),
|
|
982
|
-
|
|
983
|
-
i("div",
|
|
981
|
+
}, 1032, ["label", "value", "disabled"])) : (a(), d("div", Kl, [
|
|
982
|
+
Yl,
|
|
983
|
+
i("div", Jl, [
|
|
984
984
|
w(R, {
|
|
985
985
|
fixTypeOpt: e.fixTypeOpt,
|
|
986
986
|
fixPropOpt: e.fixPropOpt,
|
|
@@ -990,7 +990,7 @@ const wl = /* @__PURE__ */ H(bl, [["__scopeId", "data-v-83d8077c"]]), Se = (p) =
|
|
|
990
990
|
]),
|
|
991
991
|
i("p", {
|
|
992
992
|
title: n[t.fixPropOpt.name]
|
|
993
|
-
}, P(n[t.fixPropOpt.name]), 9,
|
|
993
|
+
}, P(n[t.fixPropOpt.name]), 9, es)
|
|
994
994
|
]))
|
|
995
995
|
]))),
|
|
996
996
|
128
|
|
@@ -1000,8 +1000,8 @@ const wl = /* @__PURE__ */ H(bl, [["__scopeId", "data-v-83d8077c"]]), Se = (p) =
|
|
|
1000
1000
|
_: 1
|
|
1001
1001
|
/* STABLE */
|
|
1002
1002
|
}, 8, ["indeterminate", "modelValue"]))
|
|
1003
|
-
])) : (a(),
|
|
1004
|
-
|
|
1003
|
+
])) : (a(), d("div", ts, [
|
|
1004
|
+
ls,
|
|
1005
1005
|
i(
|
|
1006
1006
|
"div",
|
|
1007
1007
|
null,
|
|
@@ -1017,9 +1017,9 @@ const wl = /* @__PURE__ */ H(bl, [["__scopeId", "data-v-83d8077c"]]), Se = (p) =
|
|
|
1017
1017
|
));
|
|
1018
1018
|
}
|
|
1019
1019
|
});
|
|
1020
|
-
const
|
|
1020
|
+
const as = /* @__PURE__ */ H(ss, [["__scopeId", "data-v-11b29ff3"]]);
|
|
1021
1021
|
var oe = /* @__PURE__ */ ((p) => (p.group = "group", p.role = "role", p.post = "post", p))(oe || {});
|
|
1022
|
-
const
|
|
1022
|
+
const os = {
|
|
1023
1023
|
// 是否允许选择子集
|
|
1024
1024
|
children: {
|
|
1025
1025
|
type: Boolean,
|
|
@@ -1192,10 +1192,10 @@ const Kl = {
|
|
|
1192
1192
|
}, Re = (p) => {
|
|
1193
1193
|
const v = window.location.search;
|
|
1194
1194
|
return new URLSearchParams(v).get(p);
|
|
1195
|
-
},
|
|
1195
|
+
}, ns = (p) => {
|
|
1196
1196
|
const v = ke.local.getItem("x_domain");
|
|
1197
1197
|
v && (p["X-DOMAIN"] = v);
|
|
1198
|
-
},
|
|
1198
|
+
}, is = (p) => {
|
|
1199
1199
|
var s;
|
|
1200
1200
|
const v = Re("domain");
|
|
1201
1201
|
if (v) {
|
|
@@ -1203,15 +1203,15 @@ const Kl = {
|
|
|
1203
1203
|
const o = Re("code");
|
|
1204
1204
|
v === "APPLICATION" && (p["X-APP"] = o);
|
|
1205
1205
|
} else
|
|
1206
|
-
|
|
1206
|
+
ns(p);
|
|
1207
1207
|
const e = (s = ke.local.getItem("tenant")) == null ? void 0 : s.code;
|
|
1208
1208
|
e && (p["X-TENANT"] = e);
|
|
1209
|
-
},
|
|
1210
|
-
const e = S([]), s = async (
|
|
1211
|
-
var se,
|
|
1209
|
+
}, rs = (p, v) => {
|
|
1210
|
+
const e = S([]), s = async (_, L) => {
|
|
1211
|
+
var se, M;
|
|
1212
1212
|
const { url: U, methods: F, headers: D, param: V } = p.value || {}, A = {
|
|
1213
1213
|
...V || {},
|
|
1214
|
-
parentDepartmentId:
|
|
1214
|
+
parentDepartmentId: _ || "",
|
|
1215
1215
|
name: L || "",
|
|
1216
1216
|
rootDepartmentOnly: v.rootDepartmentOnly,
|
|
1217
1217
|
dataScopeOnly: v.dataScopeOnly
|
|
@@ -1224,9 +1224,9 @@ const Kl = {
|
|
|
1224
1224
|
},
|
|
1225
1225
|
data: JSON.stringify(A)
|
|
1226
1226
|
};
|
|
1227
|
-
|
|
1228
|
-
const t = await pt(r), { success:
|
|
1229
|
-
if (!
|
|
1227
|
+
is(r.headers);
|
|
1228
|
+
const t = await pt(r), { success: u, data: n } = t.data;
|
|
1229
|
+
if (!u)
|
|
1230
1230
|
return {
|
|
1231
1231
|
groupList: [],
|
|
1232
1232
|
roleList: [],
|
|
@@ -1241,12 +1241,12 @@ const Kl = {
|
|
|
1241
1241
|
posts: b,
|
|
1242
1242
|
users: k,
|
|
1243
1243
|
rootOrganization: h,
|
|
1244
|
-
rootDepartment:
|
|
1245
|
-
} = n, Y = h ||
|
|
1244
|
+
rootDepartment: $
|
|
1245
|
+
} = n, Y = h || $;
|
|
1246
1246
|
return e.value.length === 0 && (e.value[0] = v.org ? {
|
|
1247
1247
|
...v.org,
|
|
1248
1248
|
id: v.elementId,
|
|
1249
|
-
elementType: (
|
|
1249
|
+
elementType: (M = (se = v.org) == null ? void 0 : se.elementType) == null ? void 0 : M.toLocaleUpperCase()
|
|
1250
1250
|
} : {
|
|
1251
1251
|
...Y,
|
|
1252
1252
|
id: Y.elementId
|
|
@@ -1256,40 +1256,40 @@ const Kl = {
|
|
|
1256
1256
|
postList: Q.cloneDeep(b),
|
|
1257
1257
|
userList: Q.cloneDeep(k),
|
|
1258
1258
|
rootOrganization: h,
|
|
1259
|
-
rootDepartment:
|
|
1259
|
+
rootDepartment: $
|
|
1260
1260
|
};
|
|
1261
1261
|
};
|
|
1262
1262
|
return {
|
|
1263
1263
|
handData: s,
|
|
1264
|
-
handSetChild: (
|
|
1265
|
-
s(
|
|
1264
|
+
handSetChild: (_, L) => {
|
|
1265
|
+
s(_ == null ? void 0 : _.elementId, L);
|
|
1266
1266
|
},
|
|
1267
1267
|
bannerList: e
|
|
1268
1268
|
};
|
|
1269
|
-
},
|
|
1269
|
+
}, ps = {
|
|
1270
1270
|
shadow: "hover",
|
|
1271
1271
|
class: "sel-list"
|
|
1272
|
-
},
|
|
1272
|
+
}, ds = { key: 0 }, us = /* @__PURE__ */ i(
|
|
1273
1273
|
"div",
|
|
1274
1274
|
{ class: "split-div" },
|
|
1275
1275
|
null,
|
|
1276
1276
|
-1
|
|
1277
1277
|
/* HOISTED */
|
|
1278
|
-
),
|
|
1278
|
+
), cs = { class: "choose-list" }, fs = { class: "choose-item" }, hs = /* @__PURE__ */ i(
|
|
1279
1279
|
"div",
|
|
1280
1280
|
null,
|
|
1281
1281
|
"已选",
|
|
1282
1282
|
-1
|
|
1283
1283
|
/* HOISTED */
|
|
1284
|
-
),
|
|
1284
|
+
), As = { class: "choose-box" }, vs = { class: "list-group-item" }, ys = { class: "" }, gs = { class: "avatar_box" }, ms = { class: "dialog-footer" }, xs = /* @__PURE__ */ le({
|
|
1285
1285
|
__name: "picker",
|
|
1286
|
-
props:
|
|
1286
|
+
props: os,
|
|
1287
1287
|
emits: ["handChild", "update:show", "update:modelValue", "ok", "search"],
|
|
1288
1288
|
setup(p, { expose: v, emit: e }) {
|
|
1289
1289
|
tt((l) => ({
|
|
1290
1290
|
"1a723328": Fe.value
|
|
1291
1291
|
}));
|
|
1292
|
-
const s = p, o = S(""),
|
|
1292
|
+
const s = p, o = S(""), _ = S(""), L = S([]), U = S([]), F = S([]), D = S([]), V = S(!1), A = I(() => U.value.concat(L.value));
|
|
1293
1293
|
K(
|
|
1294
1294
|
() => s.api,
|
|
1295
1295
|
() => {
|
|
@@ -1308,19 +1308,19 @@ const Kl = {
|
|
|
1308
1308
|
post: "POST",
|
|
1309
1309
|
group: "DEPT",
|
|
1310
1310
|
...s.typeOption
|
|
1311
|
-
})),
|
|
1312
|
-
s.immediate && c(
|
|
1311
|
+
})), u = S([]), n = rs(lt(s, "api"), s), c = n.handData, T = n.bannerList;
|
|
1312
|
+
s.immediate && c(_.value, o.value);
|
|
1313
1313
|
const b = (l) => (l.forEach((f) => {
|
|
1314
1314
|
var y, m;
|
|
1315
1315
|
f.disabled = ((m = (y = s.modelValue) == null ? void 0 : y.find(
|
|
1316
|
-
(
|
|
1316
|
+
(O) => O[r.value.id] === f[r.value.id]
|
|
1317
1317
|
)) == null ? void 0 : m.disabled) || !1;
|
|
1318
1318
|
}), l), k = async () => {
|
|
1319
|
-
var l, f, y, m,
|
|
1319
|
+
var l, f, y, m, O, j, ge, De;
|
|
1320
1320
|
V.value = !0;
|
|
1321
1321
|
try {
|
|
1322
1322
|
if ((l = s.groupList) != null && l.length || (f = s.userList) != null && f.length || (y = s.roleList) != null && y.length || (m = s.postList) != null && m.length) {
|
|
1323
|
-
L.value = (
|
|
1323
|
+
L.value = (O = s.userList) == null ? void 0 : O.filter(
|
|
1324
1324
|
(G) => G[r.value.name].includes(o.value)
|
|
1325
1325
|
), U.value = (j = s.groupList) == null ? void 0 : j.filter(
|
|
1326
1326
|
(G) => G[r.value.name].includes(o.value)
|
|
@@ -1331,7 +1331,7 @@ const Kl = {
|
|
|
1331
1331
|
), he(), V.value = !1;
|
|
1332
1332
|
return;
|
|
1333
1333
|
}
|
|
1334
|
-
const N = await c(
|
|
1334
|
+
const N = await c(_.value, o.value);
|
|
1335
1335
|
try {
|
|
1336
1336
|
L.value = b((N == null ? void 0 : N.userList) || []), U.value = b((N == null ? void 0 : N.groupList) || []), F.value = b((N == null ? void 0 : N.roleList) || []), D.value = b((N == null ? void 0 : N.postList) || []);
|
|
1337
1337
|
} catch (G) {
|
|
@@ -1341,7 +1341,7 @@ const Kl = {
|
|
|
1341
1341
|
} catch {
|
|
1342
1342
|
V.value = !1;
|
|
1343
1343
|
}
|
|
1344
|
-
}, h =
|
|
1344
|
+
}, h = Oe({
|
|
1345
1345
|
//组织架构
|
|
1346
1346
|
group: /* @__PURE__ */ new Map(),
|
|
1347
1347
|
// 用户
|
|
@@ -1354,12 +1354,12 @@ const Kl = {
|
|
|
1354
1354
|
trans: [],
|
|
1355
1355
|
// 单选
|
|
1356
1356
|
single: ""
|
|
1357
|
-
}),
|
|
1357
|
+
}), $ = Oe({
|
|
1358
1358
|
indeterminate: !1,
|
|
1359
1359
|
checkAll: 0
|
|
1360
|
-
}), Y = (l) => h.group.has(l) || h.user.has(l) || h.role.has(l) || h.post.has(l), se = at.debounce(k, 300),
|
|
1360
|
+
}), Y = (l) => h.group.has(l) || h.user.has(l) || h.role.has(l) || h.post.has(l), se = at.debounce(k, 300), M = I(() => {
|
|
1361
1361
|
const l = Array.from(h.group.values()), f = Array.from(h.role.values()), y = Array.from(h.user.values()), m = Array.from(h.post.values());
|
|
1362
|
-
return
|
|
1362
|
+
return u.value = [...f, ...m, ...y, ...l], {
|
|
1363
1363
|
list: [...f, ...y, ...m, ...l],
|
|
1364
1364
|
role: {
|
|
1365
1365
|
list: f,
|
|
@@ -1396,14 +1396,14 @@ const Kl = {
|
|
|
1396
1396
|
async (l) => {
|
|
1397
1397
|
var f;
|
|
1398
1398
|
if (fe.value = l, l) {
|
|
1399
|
-
|
|
1399
|
+
_.value = ((f = s.org) == null ? void 0 : f.elementId) || s.orgPid, !s.userList.length && !s.groupList.length && !s.roleList.length && !s.postList.length ? await k() : (L.value = s.userList, U.value = s.groupList, F.value = s.roleList, D.value = s.postList), h.trans = [], $.checkAll = 0, $.indeterminate = !1;
|
|
1400
1400
|
const y = he(!0);
|
|
1401
|
-
for (const
|
|
1402
|
-
Y(
|
|
1401
|
+
for (const O of y)
|
|
1402
|
+
Y(O[r.value.id]) && h.trans.push(O[r.value.id]);
|
|
1403
1403
|
const m = y.length === h.trans.length;
|
|
1404
|
-
|
|
1405
|
-
var
|
|
1406
|
-
(
|
|
1404
|
+
$.indeterminate = !!(y.length && !m), $.checkAll = Number(y.length && m), Pe(() => {
|
|
1405
|
+
var O;
|
|
1406
|
+
(O = s.modelValue) != null && O.length ? s.modelValue.forEach((j) => {
|
|
1407
1407
|
J(j), s.multiple ? h.trans.push(j[r.value.id]) : h.single = j[r.value.id];
|
|
1408
1408
|
}) : ee();
|
|
1409
1409
|
});
|
|
@@ -1414,7 +1414,7 @@ const Kl = {
|
|
|
1414
1414
|
let l;
|
|
1415
1415
|
l = z.value.length;
|
|
1416
1416
|
const f = h.trans.length;
|
|
1417
|
-
|
|
1417
|
+
$.indeterminate = h.trans.length ? f !== l : !1, $.checkAll = +(l !== 0 && f === l);
|
|
1418
1418
|
});
|
|
1419
1419
|
const q = (l) => {
|
|
1420
1420
|
if (l) {
|
|
@@ -1498,9 +1498,9 @@ const Kl = {
|
|
|
1498
1498
|
}
|
|
1499
1499
|
);
|
|
1500
1500
|
const je = (l) => {
|
|
1501
|
-
|
|
1501
|
+
_.value = l == null ? void 0 : l.elementId, k(), T.value.push(l);
|
|
1502
1502
|
}, Ie = I(() => T.value.length), Ge = (l, f) => {
|
|
1503
|
-
!f && !s.topLink || f !== Ie.value - 1 && (
|
|
1503
|
+
!f && !s.topLink || f !== Ie.value - 1 && (_.value = l == null ? void 0 : l.elementId, k(), T.value.splice(f + 1));
|
|
1504
1504
|
}, Qe = I(
|
|
1505
1505
|
() => s.chooseType.includes("role") && s.chooseType.length === 1
|
|
1506
1506
|
), Xe = I(
|
|
@@ -1508,18 +1508,18 @@ const Kl = {
|
|
|
1508
1508
|
), pe = S(s.tabs[0]), Z = S(s.tabs[0]);
|
|
1509
1509
|
Ne(() => (Z.value = Qe.value ? s.tabs[1] : Xe.value ? s.tabs[2] : pe.value, Z.value));
|
|
1510
1510
|
const ee = () => {
|
|
1511
|
-
h.user.clear(), h.role.clear(), h.post.clear(), h.group.clear(), h.trans = [], ve.value = [], ye.value = [], pe.value = s.tabs[0], Z.value = s.tabs[0], o.value = "",
|
|
1511
|
+
h.user.clear(), h.role.clear(), h.post.clear(), h.group.clear(), h.trans = [], ve.value = [], ye.value = [], pe.value = s.tabs[0], Z.value = s.tabs[0], o.value = "", _.value = s.orgPid, T.value.splice(1, T.value.length), h.single = "", u.value = [];
|
|
1512
1512
|
}, ze = () => {
|
|
1513
1513
|
var l;
|
|
1514
1514
|
re(
|
|
1515
1515
|
"ok",
|
|
1516
1516
|
Q.cloneDeep({
|
|
1517
1517
|
// 所有选项、部门、人员、角色分别列出
|
|
1518
|
-
|
|
1518
|
+
...M.value,
|
|
1519
1519
|
// 排序后的列表
|
|
1520
|
-
sort:
|
|
1520
|
+
sort: u.value
|
|
1521
1521
|
})
|
|
1522
|
-
), re("update:modelValue", Q.cloneDeep(((l =
|
|
1522
|
+
), re("update:modelValue", Q.cloneDeep(((l = M.value) == null ? void 0 : l.list) || [])), re("update:show", !1), ee();
|
|
1523
1523
|
}, Ve = () => {
|
|
1524
1524
|
re("update:show", !1), ee();
|
|
1525
1525
|
};
|
|
@@ -1535,7 +1535,7 @@ const Kl = {
|
|
|
1535
1535
|
() => `${typeof s.height == "string" ? Number.parseInt(s.height) : s.height}px`
|
|
1536
1536
|
), Ae = () => {
|
|
1537
1537
|
s.multiple || (h.post.clear(), h.role.clear(), h.user.clear(), h.group.clear(), h.single = "");
|
|
1538
|
-
}, Ke = I(() =>
|
|
1538
|
+
}, Ke = I(() => M.value.groups.list.concat(M.value.user.list)), Ye = (l, f) => {
|
|
1539
1539
|
s.multiple || (h.single = "");
|
|
1540
1540
|
const y = s.multiple ? l : [l];
|
|
1541
1541
|
if (!y.length) {
|
|
@@ -1557,9 +1557,9 @@ const Kl = {
|
|
|
1557
1557
|
});
|
|
1558
1558
|
};
|
|
1559
1559
|
K(
|
|
1560
|
-
() =>
|
|
1560
|
+
() => M.value.role.len,
|
|
1561
1561
|
(l) => {
|
|
1562
|
-
ve.value = Q.cloneDeep(
|
|
1562
|
+
ve.value = Q.cloneDeep(M.value.role.list);
|
|
1563
1563
|
}
|
|
1564
1564
|
);
|
|
1565
1565
|
const ye = S([]), et = (l, f) => {
|
|
@@ -1574,9 +1574,9 @@ const Kl = {
|
|
|
1574
1574
|
});
|
|
1575
1575
|
};
|
|
1576
1576
|
return K(
|
|
1577
|
-
() =>
|
|
1577
|
+
() => M.value.post.len,
|
|
1578
1578
|
(l) => {
|
|
1579
|
-
ye.value = Q.cloneDeep(
|
|
1579
|
+
ye.value = Q.cloneDeep(M.value.post.list);
|
|
1580
1580
|
}
|
|
1581
1581
|
), K(
|
|
1582
1582
|
() => o.value,
|
|
@@ -1584,10 +1584,10 @@ const Kl = {
|
|
|
1584
1584
|
se("");
|
|
1585
1585
|
}
|
|
1586
1586
|
), (l, f) => {
|
|
1587
|
-
const y =
|
|
1587
|
+
const y = _e("el-tab-pane"), m = _e("el-tabs");
|
|
1588
1588
|
return a(), C(x(ot), {
|
|
1589
1589
|
modelValue: fe.value,
|
|
1590
|
-
"onUpdate:modelValue": f[2] || (f[2] = (
|
|
1590
|
+
"onUpdate:modelValue": f[2] || (f[2] = (O) => fe.value = O),
|
|
1591
1591
|
title: l.title,
|
|
1592
1592
|
"destroy-on-close": "",
|
|
1593
1593
|
"append-to-body": "",
|
|
@@ -1601,7 +1601,7 @@ const Kl = {
|
|
|
1601
1601
|
onClose: Ve
|
|
1602
1602
|
}, {
|
|
1603
1603
|
footer: B(() => [
|
|
1604
|
-
i("span",
|
|
1604
|
+
i("span", ms, [
|
|
1605
1605
|
w(x(me), {
|
|
1606
1606
|
onClick: ae(Ve, ["stop"])
|
|
1607
1607
|
}, {
|
|
@@ -1628,14 +1628,14 @@ const Kl = {
|
|
|
1628
1628
|
"div",
|
|
1629
1629
|
{
|
|
1630
1630
|
class: "dep-use-picker",
|
|
1631
|
-
style:
|
|
1631
|
+
style: $e({ height: Fe.value })
|
|
1632
1632
|
},
|
|
1633
1633
|
[
|
|
1634
|
-
i("div",
|
|
1634
|
+
i("div", ps, [
|
|
1635
1635
|
i("div", null, [
|
|
1636
1636
|
w(x(nt), {
|
|
1637
1637
|
modelValue: o.value,
|
|
1638
|
-
"onUpdate:modelValue": f[0] || (f[0] = (
|
|
1638
|
+
"onUpdate:modelValue": f[0] || (f[0] = (O) => o.value = O),
|
|
1639
1639
|
clearable: "",
|
|
1640
1640
|
placeholder: l.placeholder,
|
|
1641
1641
|
"suffix-icon": vt
|
|
@@ -1643,17 +1643,17 @@ const Kl = {
|
|
|
1643
1643
|
qe.value ? (a(), C(m, {
|
|
1644
1644
|
key: 0,
|
|
1645
1645
|
modelValue: pe.value,
|
|
1646
|
-
"onUpdate:modelValue": f[1] || (f[1] = (
|
|
1646
|
+
"onUpdate:modelValue": f[1] || (f[1] = (O) => pe.value = O),
|
|
1647
1647
|
class: "ik-picker-tab"
|
|
1648
1648
|
}, {
|
|
1649
1649
|
default: B(() => [
|
|
1650
|
-
(a(!0),
|
|
1650
|
+
(a(!0), d(
|
|
1651
1651
|
E,
|
|
1652
1652
|
null,
|
|
1653
|
-
W(Ze.value, (
|
|
1654
|
-
label:
|
|
1655
|
-
name:
|
|
1656
|
-
key:
|
|
1653
|
+
W(Ze.value, (O) => (a(), C(y, {
|
|
1654
|
+
label: O.label,
|
|
1655
|
+
name: O.name,
|
|
1656
|
+
key: O.label
|
|
1657
1657
|
}, null, 8, ["label", "name"]))),
|
|
1658
1658
|
128
|
|
1659
1659
|
/* KEYED_FRAGMENT */
|
|
@@ -1664,23 +1664,23 @@ const Kl = {
|
|
|
1664
1664
|
}, 8, ["modelValue"])) : g("v-if", !0)
|
|
1665
1665
|
]),
|
|
1666
1666
|
g(" 过滤 "),
|
|
1667
|
-
Z.value === x(oe).group ? (a(),
|
|
1667
|
+
Z.value === x(oe).group ? (a(), d("div", ds, [
|
|
1668
1668
|
g(" 面包屑 全选 "),
|
|
1669
1669
|
w(x(it), {
|
|
1670
1670
|
separator: ">",
|
|
1671
1671
|
class: ne(["banner", { "top-unlink": !l.topLink }])
|
|
1672
1672
|
}, {
|
|
1673
1673
|
default: B(() => [
|
|
1674
|
-
Ie.value ? (a(!0),
|
|
1674
|
+
Ie.value ? (a(!0), d(
|
|
1675
1675
|
E,
|
|
1676
1676
|
{ key: 0 },
|
|
1677
|
-
W(x(T), (
|
|
1678
|
-
key:
|
|
1679
|
-
onClick: ae((ge) => Ge(
|
|
1677
|
+
W(x(T), (O, j) => (a(), C(x(rt), {
|
|
1678
|
+
key: O[r.value.id],
|
|
1679
|
+
onClick: ae((ge) => Ge(O, j), ["stop"])
|
|
1680
1680
|
}, {
|
|
1681
1681
|
default: B(() => [
|
|
1682
1682
|
X(
|
|
1683
|
-
P(
|
|
1683
|
+
P(O[r.value.name]),
|
|
1684
1684
|
1
|
|
1685
1685
|
/* TEXT */
|
|
1686
1686
|
)
|
|
@@ -1698,7 +1698,7 @@ const Kl = {
|
|
|
1698
1698
|
])) : g("v-if", !0),
|
|
1699
1699
|
g(" 左侧列表 "),
|
|
1700
1700
|
g(" 组织架构 "),
|
|
1701
|
-
Z.value === x(oe).group ?
|
|
1701
|
+
Z.value === x(oe).group ? de((a(), C(kl, {
|
|
1702
1702
|
key: 1,
|
|
1703
1703
|
fixPropOpt: r.value,
|
|
1704
1704
|
fixTypeOpt: t.value,
|
|
@@ -1714,12 +1714,12 @@ const Kl = {
|
|
|
1714
1714
|
onChange: Ye
|
|
1715
1715
|
}, null, 8, ["fixPropOpt", "fixTypeOpt", "list", "max", "multiple", "hand-list", "imageBaseUrl", "emptyText", "children", "choose-type"])), [
|
|
1716
1716
|
[x(xe), V.value]
|
|
1717
|
-
]) : Z.value === x(oe).role ? (a(),
|
|
1717
|
+
]) : Z.value === x(oe).role ? (a(), d(
|
|
1718
1718
|
E,
|
|
1719
1719
|
{ key: 2 },
|
|
1720
1720
|
[
|
|
1721
1721
|
g(" 角色 "),
|
|
1722
|
-
|
|
1722
|
+
de(w(as, {
|
|
1723
1723
|
fixPropOpt: r.value,
|
|
1724
1724
|
fixTypeOpt: t.value,
|
|
1725
1725
|
list: F.value,
|
|
@@ -1736,12 +1736,12 @@ const Kl = {
|
|
|
1736
1736
|
],
|
|
1737
1737
|
64
|
|
1738
1738
|
/* STABLE_FRAGMENT */
|
|
1739
|
-
)) : Z.value === x(oe).post ? (a(),
|
|
1739
|
+
)) : Z.value === x(oe).post ? (a(), d(
|
|
1740
1740
|
E,
|
|
1741
1741
|
{ key: 3 },
|
|
1742
1742
|
[
|
|
1743
1743
|
g(" 岗位 "),
|
|
1744
|
-
|
|
1744
|
+
de(w(Rl, {
|
|
1745
1745
|
fixPropOpt: r.value,
|
|
1746
1746
|
fixTypeOpt: t.value,
|
|
1747
1747
|
list: D.value,
|
|
@@ -1760,11 +1760,11 @@ const Kl = {
|
|
|
1760
1760
|
/* STABLE_FRAGMENT */
|
|
1761
1761
|
)) : g("v-if", !0)
|
|
1762
1762
|
]),
|
|
1763
|
-
|
|
1763
|
+
us,
|
|
1764
1764
|
g(" 已选列表 "),
|
|
1765
|
-
i("div",
|
|
1766
|
-
i("div",
|
|
1767
|
-
|
|
1765
|
+
i("div", cs, [
|
|
1766
|
+
i("div", fs, [
|
|
1767
|
+
hs,
|
|
1768
1768
|
w(x(me), {
|
|
1769
1769
|
type: "primary",
|
|
1770
1770
|
link: "",
|
|
@@ -1777,34 +1777,34 @@ const Kl = {
|
|
|
1777
1777
|
/* STABLE */
|
|
1778
1778
|
})
|
|
1779
1779
|
]),
|
|
1780
|
-
i("ul",
|
|
1781
|
-
(a(!0),
|
|
1780
|
+
i("ul", As, [
|
|
1781
|
+
(a(!0), d(
|
|
1782
1782
|
E,
|
|
1783
1783
|
null,
|
|
1784
|
-
W(
|
|
1785
|
-
i("div",
|
|
1784
|
+
W(u.value, (O) => (a(), d("li", vs, [
|
|
1785
|
+
i("div", ys, [
|
|
1786
1786
|
g(" icon前缀 "),
|
|
1787
|
-
i("div",
|
|
1787
|
+
i("div", gs, [
|
|
1788
1788
|
w(R, {
|
|
1789
1789
|
fixTypeOpt: t.value,
|
|
1790
1790
|
fixPropOpt: r.value,
|
|
1791
|
-
element:
|
|
1791
|
+
element: O,
|
|
1792
1792
|
imageBaseUrl: s.imageBaseUrl
|
|
1793
1793
|
}, null, 8, ["fixTypeOpt", "fixPropOpt", "element", "imageBaseUrl"])
|
|
1794
1794
|
]),
|
|
1795
1795
|
i(
|
|
1796
1796
|
"span",
|
|
1797
1797
|
null,
|
|
1798
|
-
P(
|
|
1798
|
+
P(O[r.value.name]),
|
|
1799
1799
|
1
|
|
1800
1800
|
/* TEXT */
|
|
1801
1801
|
)
|
|
1802
1802
|
]),
|
|
1803
|
-
|
|
1803
|
+
de(w(Pt, {
|
|
1804
1804
|
class: "close",
|
|
1805
|
-
onClick: ae((j) => Ee(
|
|
1805
|
+
onClick: ae((j) => Ee(O), ["stop"])
|
|
1806
1806
|
}, null, 8, ["onClick"]), [
|
|
1807
|
-
[st, !(
|
|
1807
|
+
[st, !(O != null && O.readonly)]
|
|
1808
1808
|
])
|
|
1809
1809
|
]))),
|
|
1810
1810
|
256
|
|
@@ -1823,28 +1823,28 @@ const Kl = {
|
|
|
1823
1823
|
};
|
|
1824
1824
|
}
|
|
1825
1825
|
});
|
|
1826
|
-
const
|
|
1826
|
+
const _s = Me(xs), Os = (p) => (ue("data-v-99e9c2a2"), p = p(), ce(), p), Ps = {
|
|
1827
1827
|
class: "approveProcess",
|
|
1828
1828
|
id: "approveProcess"
|
|
1829
|
-
},
|
|
1829
|
+
}, ks = { class: "node" }, Ls = { class: "nodeBg" }, Ts = { class: "info" }, Cs = { class: "explain" }, Bs = { key: 0 }, Us = { key: 0 }, bs = { key: 1 }, ws = { key: 0 }, Ss = { key: 1 }, Es = { class: "personlist" }, Is = { style: { width: "58px" } }, Vs = { class: "avatar" }, Fs = ["src"], Ds = {
|
|
1830
1830
|
key: 1,
|
|
1831
1831
|
class: "nodeBg"
|
|
1832
|
-
},
|
|
1832
|
+
}, Ns = ["onClick"], Rs = ["title"], $s = {
|
|
1833
1833
|
key: 0,
|
|
1834
1834
|
class: "sign"
|
|
1835
|
-
},
|
|
1835
|
+
}, Ms = { key: 0 }, Ws = ["onClick"], Hs = {
|
|
1836
1836
|
key: 0,
|
|
1837
1837
|
class: "required"
|
|
1838
|
-
},
|
|
1838
|
+
}, js = /* @__PURE__ */ Os(() => /* @__PURE__ */ i(
|
|
1839
1839
|
"i",
|
|
1840
1840
|
{ class: "ikapprove ikapprove-xinzeng" },
|
|
1841
1841
|
null,
|
|
1842
1842
|
-1
|
|
1843
1843
|
/* HOISTED */
|
|
1844
|
-
)),
|
|
1844
|
+
)), Gs = {
|
|
1845
1845
|
name: "IkApprovalProcess"
|
|
1846
|
-
},
|
|
1847
|
-
...
|
|
1846
|
+
}, Qs = /* @__PURE__ */ le({
|
|
1847
|
+
...Gs,
|
|
1848
1848
|
props: {
|
|
1849
1849
|
// 选人组件请求地址
|
|
1850
1850
|
pickerUrl: {
|
|
@@ -1878,7 +1878,7 @@ const fs = $e(cs), hs = (p) => (de("data-v-5b4e3e05"), p = p(), ce(), p), As = {
|
|
|
1878
1878
|
}
|
|
1879
1879
|
},
|
|
1880
1880
|
setup(p, { expose: v }) {
|
|
1881
|
-
const e = p, s = ke.local.getItem("token") || "Bearer iking", o =
|
|
1881
|
+
const e = p, s = ke.local.getItem("token") || "Bearer iking", o = Oe({
|
|
1882
1882
|
nodeType: {
|
|
1883
1883
|
发起人节点: "INITIATOR",
|
|
1884
1884
|
审批节点: "APPROVE",
|
|
@@ -1937,7 +1937,7 @@ const fs = $e(cs), hs = (p) => (de("data-v-5b4e3e05"), p = p(), ce(), p), As = {
|
|
|
1937
1937
|
},
|
|
1938
1938
|
multiple: !1,
|
|
1939
1939
|
chooseType: []
|
|
1940
|
-
}),
|
|
1940
|
+
}), _ = async (A) => {
|
|
1941
1941
|
var r;
|
|
1942
1942
|
if (A.multiple = !A[o.defaultFile.singleApproval] || A[o.defaultFile.isShowAddCopy], A.handList = A[o.defaultFile.approvePersonList] ? A[o.defaultFile.approvePersonList] : [], A[o.defaultFile.nodeType] === o.nodeType.抄送节点)
|
|
1943
1943
|
A.handList.forEach((t) => {
|
|
@@ -1981,13 +1981,13 @@ const fs = $e(cs), hs = (p) => (de("data-v-5b4e3e05"), p = p(), ce(), p), As = {
|
|
|
1981
1981
|
return `ikapprove ${r}`;
|
|
1982
1982
|
}, F = (A, r) => {
|
|
1983
1983
|
e.dataList[r].handList = A.list;
|
|
1984
|
-
let
|
|
1984
|
+
let u = (e.dataList[r][o.defaultFile.approvePersonList] || []).filter((c) => !c.canDele), n = A.list.map((c) => ({
|
|
1985
1985
|
...c,
|
|
1986
1986
|
userName: c.elementName,
|
|
1987
1987
|
userAvatar: c.avatar,
|
|
1988
1988
|
canDele: !0
|
|
1989
1989
|
}));
|
|
1990
|
-
e.dataList[r][o.defaultFile.approvePersonList] =
|
|
1990
|
+
e.dataList[r][o.defaultFile.approvePersonList] = u.concat(n);
|
|
1991
1991
|
}, D = (A, r) => {
|
|
1992
1992
|
e.dataList[A][o.defaultFile.approvePersonList].splice(r, 1), e.dataList[A].handList = e.dataList[A][o.defaultFile.approvePersonList];
|
|
1993
1993
|
};
|
|
@@ -1997,19 +1997,19 @@ const fs = $e(cs), hs = (p) => (de("data-v-5b4e3e05"), p = p(), ce(), p), As = {
|
|
|
1997
1997
|
var t;
|
|
1998
1998
|
r.required = !1, r[o.defaultFile.nodeType] == o.nodeType.审批节点 && r[o.defaultFile.isShowAdd] && ((t = r[o.defaultFile.approvePersonList]) != null && t.length || (A = !1, r.required = !0));
|
|
1999
1999
|
}), A;
|
|
2000
|
-
} }), (A, r) => (a(),
|
|
2001
|
-
(a(!0),
|
|
2000
|
+
} }), (A, r) => (a(), d("div", Ps, [
|
|
2001
|
+
(a(!0), d(
|
|
2002
2002
|
E,
|
|
2003
2003
|
null,
|
|
2004
|
-
W(e.dataList, (t,
|
|
2004
|
+
W(e.dataList, (t, u) => {
|
|
2005
2005
|
var n, c, T, b;
|
|
2006
|
-
return a(),
|
|
2006
|
+
return a(), d("div", {
|
|
2007
2007
|
class: "content",
|
|
2008
2008
|
key: t.id
|
|
2009
2009
|
}, [
|
|
2010
2010
|
g(" 审批节点类型 "),
|
|
2011
|
-
i("div",
|
|
2012
|
-
i("span",
|
|
2011
|
+
i("div", ks, [
|
|
2012
|
+
i("span", Ls, [
|
|
2013
2013
|
i(
|
|
2014
2014
|
"i",
|
|
2015
2015
|
{
|
|
@@ -2024,8 +2024,8 @@ const fs = $e(cs), hs = (p) => (de("data-v-5b4e3e05"), p = p(), ce(), p), As = {
|
|
|
2024
2024
|
"div",
|
|
2025
2025
|
{
|
|
2026
2026
|
class: "line",
|
|
2027
|
-
style:
|
|
2028
|
-
"border-left":
|
|
2027
|
+
style: $e({
|
|
2028
|
+
"border-left": u === e.dataList.length - 1 ? "" : "2px solid var(--el-border-color)"
|
|
2029
2029
|
})
|
|
2030
2030
|
},
|
|
2031
2031
|
null,
|
|
@@ -2033,7 +2033,7 @@ const fs = $e(cs), hs = (p) => (de("data-v-5b4e3e05"), p = p(), ce(), p), As = {
|
|
|
2033
2033
|
/* STYLE */
|
|
2034
2034
|
)
|
|
2035
2035
|
]),
|
|
2036
|
-
i("div",
|
|
2036
|
+
i("div", Ts, [
|
|
2037
2037
|
i("div", null, [
|
|
2038
2038
|
i(
|
|
2039
2039
|
"div",
|
|
@@ -2042,37 +2042,37 @@ const fs = $e(cs), hs = (p) => (de("data-v-5b4e3e05"), p = p(), ce(), p), As = {
|
|
|
2042
2042
|
1
|
|
2043
2043
|
/* TEXT */
|
|
2044
2044
|
),
|
|
2045
|
-
i("div",
|
|
2045
|
+
i("div", Cs, [
|
|
2046
2046
|
g(" 抄送节点 "),
|
|
2047
|
-
t[o.defaultFile.nodeType] == o.nodeType.抄送节点 ? (a(),
|
|
2048
|
-
t[o.defaultFile.approvePersonList].length ? (a(),
|
|
2047
|
+
t[o.defaultFile.nodeType] == o.nodeType.抄送节点 ? (a(), d("span", Bs, [
|
|
2048
|
+
t[o.defaultFile.approvePersonList].length ? (a(), d(
|
|
2049
2049
|
"span",
|
|
2050
|
-
|
|
2050
|
+
Us,
|
|
2051
2051
|
P(`抄送${t[o.defaultFile.approvePersonList].length}人`),
|
|
2052
2052
|
1
|
|
2053
2053
|
/* TEXT */
|
|
2054
2054
|
)) : g("v-if", !0),
|
|
2055
|
-
t[o.defaultFile.isShowAdd] ? (a(),
|
|
2056
|
-
])) : (a(),
|
|
2055
|
+
t[o.defaultFile.isShowAdd] ? (a(), d("span", bs, ",可添加抄送人")) : g("v-if", !0)
|
|
2056
|
+
])) : (a(), d(
|
|
2057
2057
|
E,
|
|
2058
2058
|
{ key: 1 },
|
|
2059
2059
|
[
|
|
2060
2060
|
g(" 审批节点 "),
|
|
2061
2061
|
i("span", null, [
|
|
2062
2062
|
g(" 存在审批人时 "),
|
|
2063
|
-
(n = t[o.defaultFile.approvePersonList]) != null && n.length ? (a(),
|
|
2063
|
+
(n = t[o.defaultFile.approvePersonList]) != null && n.length ? (a(), d(
|
|
2064
2064
|
"span",
|
|
2065
|
-
|
|
2065
|
+
ws,
|
|
2066
2066
|
P(((c = t[o.defaultFile.approvePersonList]) == null ? void 0 : c.length) == 1 ? "1人审批" : `${(T = t[o.defaultFile.approvePersonList]) == null ? void 0 : T.length}人${t[o.defaultFile.multiExecutorTypeName]}`),
|
|
2067
2067
|
1
|
|
2068
2068
|
/* TEXT */
|
|
2069
|
-
)) : [o.statusWithoutApprover.自动通过, o.statusWithoutApprover.自动拒绝].includes(t[o.defaultFile.approveType]) ? (a(),
|
|
2069
|
+
)) : [o.statusWithoutApprover.自动通过, o.statusWithoutApprover.自动拒绝].includes(t[o.defaultFile.approveType]) ? (a(), d(
|
|
2070
2070
|
"span",
|
|
2071
|
-
|
|
2071
|
+
Ss,
|
|
2072
2072
|
P(t[o.defaultFile.approveTypeName]),
|
|
2073
2073
|
1
|
|
2074
2074
|
/* TEXT */
|
|
2075
|
-
)) : t[o.defaultFile.executorEmptyStrategy] && t[o.defaultFile.executorEmpty] ? (a(),
|
|
2075
|
+
)) : t[o.defaultFile.executorEmptyStrategy] && t[o.defaultFile.executorEmpty] ? (a(), d(
|
|
2076
2076
|
E,
|
|
2077
2077
|
{ key: 2 },
|
|
2078
2078
|
[
|
|
@@ -2090,7 +2090,7 @@ const fs = $e(cs), hs = (p) => (de("data-v-5b4e3e05"), p = p(), ce(), p), As = {
|
|
|
2090
2090
|
],
|
|
2091
2091
|
2112
|
|
2092
2092
|
/* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
|
|
2093
|
-
)) : (a(),
|
|
2093
|
+
)) : (a(), d(
|
|
2094
2094
|
"span",
|
|
2095
2095
|
{
|
|
2096
2096
|
key: 3,
|
|
@@ -2107,23 +2107,23 @@ const fs = $e(cs), hs = (p) => (de("data-v-5b4e3e05"), p = p(), ce(), p), As = {
|
|
|
2107
2107
|
))
|
|
2108
2108
|
])
|
|
2109
2109
|
]),
|
|
2110
|
-
i("div",
|
|
2111
|
-
(a(!0),
|
|
2110
|
+
i("div", Es, [
|
|
2111
|
+
(a(!0), d(
|
|
2112
2112
|
E,
|
|
2113
2113
|
null,
|
|
2114
2114
|
W(t[o.defaultFile.approvePersonList], (k, h) => {
|
|
2115
|
-
var
|
|
2116
|
-
return a(),
|
|
2115
|
+
var $;
|
|
2116
|
+
return a(), d("div", {
|
|
2117
2117
|
class: "list",
|
|
2118
2118
|
key: k.userId
|
|
2119
2119
|
}, [
|
|
2120
|
-
i("div",
|
|
2121
|
-
i("div",
|
|
2122
|
-
k.userAvatar ? (a(),
|
|
2120
|
+
i("div", Is, [
|
|
2121
|
+
i("div", Vs, [
|
|
2122
|
+
k.userAvatar ? (a(), d("img", {
|
|
2123
2123
|
key: 0,
|
|
2124
2124
|
src: L(k.userAvatar),
|
|
2125
2125
|
alt: ""
|
|
2126
|
-
}, null, 8,
|
|
2126
|
+
}, null, 8, Fs)) : (a(), d("div", Ds, [
|
|
2127
2127
|
i(
|
|
2128
2128
|
"span",
|
|
2129
2129
|
null,
|
|
@@ -2132,21 +2132,21 @@ const fs = $e(cs), hs = (p) => (de("data-v-5b4e3e05"), p = p(), ce(), p), As = {
|
|
|
2132
2132
|
/* TEXT */
|
|
2133
2133
|
)
|
|
2134
2134
|
])),
|
|
2135
|
-
k.canDele ? (a(),
|
|
2135
|
+
k.canDele ? (a(), d("i", {
|
|
2136
2136
|
key: 2,
|
|
2137
|
-
onClick: (Y) => D(
|
|
2137
|
+
onClick: (Y) => D(u, h),
|
|
2138
2138
|
class: "ikapprove ikapprove-shanchu1"
|
|
2139
|
-
}, null, 8,
|
|
2139
|
+
}, null, 8, Ns)) : g("v-if", !0)
|
|
2140
2140
|
]),
|
|
2141
2141
|
i("div", {
|
|
2142
2142
|
class: "name",
|
|
2143
2143
|
title: k.userName
|
|
2144
|
-
}, P(k.userName), 9,
|
|
2144
|
+
}, P(k.userName), 9, Rs)
|
|
2145
2145
|
]),
|
|
2146
2146
|
g(" 显示添加人按钮,不是单选且已选中一个人的情况,显示图标 "),
|
|
2147
|
-
t[o.defaultFile.isShowAdd] && !(t[o.defaultFile.singleApproval] && ((
|
|
2147
|
+
t[o.defaultFile.isShowAdd] && !(t[o.defaultFile.singleApproval] && (($ = t[o.defaultFile.approvePersonList]) == null ? void 0 : $.length) == 1) ? (a(), d("span", $s, [
|
|
2148
2148
|
g(" 抄送默认 "),
|
|
2149
|
-
t[o.defaultFile.nodeType] == o.nodeType.抄送节点 ? (a(),
|
|
2149
|
+
t[o.defaultFile.nodeType] == o.nodeType.抄送节点 ? (a(), d("span", Ms, "+")) : (a(), d(
|
|
2150
2150
|
E,
|
|
2151
2151
|
{ key: 1 },
|
|
2152
2152
|
[
|
|
@@ -2169,21 +2169,21 @@ const fs = $e(cs), hs = (p) => (de("data-v-5b4e3e05"), p = p(), ce(), p), As = {
|
|
|
2169
2169
|
/* KEYED_FRAGMENT */
|
|
2170
2170
|
)),
|
|
2171
2171
|
g(" 显示添加人按钮,不是单选且已选中一个人的情况,显示按钮 "),
|
|
2172
|
-
t[o.defaultFile.isShowAdd] && !(t[o.defaultFile.singleApproval] && ((b = t[o.defaultFile.approvePersonList]) == null ? void 0 : b.length) == 1) || t[o.defaultFile.isShowAddCopy] ? (a(),
|
|
2172
|
+
t[o.defaultFile.isShowAdd] && !(t[o.defaultFile.singleApproval] && ((b = t[o.defaultFile.approvePersonList]) == null ? void 0 : b.length) == 1) || t[o.defaultFile.isShowAddCopy] ? (a(), d("span", {
|
|
2173
2173
|
key: 0,
|
|
2174
2174
|
class: "addBg",
|
|
2175
|
-
onClick: (k) =>
|
|
2175
|
+
onClick: (k) => _(t)
|
|
2176
2176
|
}, [
|
|
2177
|
-
t[o.defaultFile.nodeType] == o.nodeType.审批节点 ? (a(),
|
|
2178
|
-
|
|
2179
|
-
], 8,
|
|
2177
|
+
t[o.defaultFile.nodeType] == o.nodeType.审批节点 ? (a(), d("span", Hs)) : g("v-if", !0),
|
|
2178
|
+
js
|
|
2179
|
+
], 8, Ws)) : g("v-if", !0),
|
|
2180
2180
|
g(" 添加人组件 "),
|
|
2181
|
-
w(x(
|
|
2181
|
+
w(x(_s), {
|
|
2182
2182
|
modelValue: t.handList,
|
|
2183
2183
|
"onUpdate:modelValue": (k) => t.handList = k,
|
|
2184
2184
|
show: t.isShow,
|
|
2185
2185
|
"onUpdate:show": (k) => t.isShow = k,
|
|
2186
|
-
onOk: (k) => F(k,
|
|
2186
|
+
onOk: (k) => F(k, u),
|
|
2187
2187
|
multiple: t.multiple,
|
|
2188
2188
|
"type-option": {
|
|
2189
2189
|
dep: "DEPT",
|
|
@@ -2220,8 +2220,8 @@ const fs = $e(cs), hs = (p) => (de("data-v-5b4e3e05"), p = p(), ce(), p), As = {
|
|
|
2220
2220
|
]));
|
|
2221
2221
|
}
|
|
2222
2222
|
});
|
|
2223
|
-
const
|
|
2223
|
+
const Xs = /* @__PURE__ */ H(Qs, [["__scopeId", "data-v-99e9c2a2"]]), Ys = Me(Xs);
|
|
2224
2224
|
export {
|
|
2225
|
-
|
|
2226
|
-
|
|
2225
|
+
Ys as IKApprovalProcess,
|
|
2226
|
+
Ys as default
|
|
2227
2227
|
};
|