iking-web-ui-pro 0.2.28 → 0.2.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/IKPreviewFile/ik.index.es.js +927 -872
- package/dist/IKPreviewFile/ik.index.umd.js +36 -36
- package/dist/IKSearch/ik.index.es.js +727 -665
- package/dist/IKSearch/ik.index.umd.js +2 -2
- package/dist/IKSearch/style.css +1 -1
- package/dist/IkApprovalProcess/ik.index.es.js +580 -527
- package/dist/IkApprovalProcess/ik.index.umd.js +1 -1
- package/dist/IkApprovalProcess/style.css +1 -1
- package/dist/IkApprovalProcessDetail/ik.index.es.js +674 -619
- package/dist/IkApprovalProcessDetail/ik.index.umd.js +38 -38
- package/dist/IkCalendar/ik.index.es.js +1815 -1753
- package/dist/IkCalendar/ik.index.umd.js +1 -1
- package/dist/IkCalendar/style.css +1 -1
- package/dist/IkDescription/ik.index.es.js +1031 -976
- package/dist/IkDescription/ik.index.umd.js +36 -36
- package/dist/IkDetailPreviewFiles/ik.index.es.js +970 -915
- package/dist/IkDetailPreviewFiles/ik.index.umd.js +42 -42
- package/dist/IkPageFull/ik.index.es.js +1038 -976
- package/dist/IkPageFull/ik.index.umd.js +3 -3
- package/dist/IkPageFull/style.css +1 -1
- package/dist/IkPickerUser/ik.index.es.js +741 -679
- package/dist/IkPickerUser/ik.index.umd.js +1 -1
- package/dist/IkPickerUser/style.css +1 -1
- package/dist/IkPlayer/ik.index.es.js +54 -1
- package/dist/IkPlayer/ik.index.umd.js +1 -1
- package/dist/IkPreviewFileDialog/ik.index.es.js +54 -1
- package/dist/IkPreviewFileDialog/ik.index.umd.js +1 -1
- package/dist/IkUploadFile/ik.index.es.js +1640 -1579
- package/dist/IkUploadFile/ik.index.umd.js +58 -58
- package/dist/IkUploadFile/style.css +1 -1
- package/dist/IkUploadImage/ik.index.es.js +143 -90
- package/dist/IkUploadImage/ik.index.umd.js +1 -1
- package/dist/index.es.js +15155 -15092
- package/dist/index.umd.js +106 -106
- package/dist/src/utils/use-provider.d.ts +1 -0
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { inject as ne, computed as
|
|
2
|
-
import { _ as X, ikStore as fe, ikEvent as
|
|
3
|
-
import { ElCheckbox as ae, ElCheckboxGroup as Le, ElRadioGroup as be, ElRadio as Ce, ElDialog as
|
|
4
|
-
import
|
|
1
|
+
import { inject as ne, computed as U, openBlock as a, createElementBlock as d, createElementVNode as n, defineComponent as oe, resolveComponent as ce, createBlock as B, toDisplayString as P, createCommentVNode as x, ref as E, Fragment as N, unref as O, withCtx as I, createTextVNode as Y, renderList as W, createVNode as w, normalizeClass as se, pushScopeId as he, popScopeId as Ae, useCssVars as ot, watch as K, toRef as nt, reactive as Te, nextTick as ke, watchEffect as $e, withModifiers as ie, normalizeStyle as je, withDirectives as ue, vShow as it, mergeProps as Me } from "vue";
|
|
2
|
+
import { _ as X, ikStore as fe, ikEvent as rt } from "iking-utils-pro";
|
|
3
|
+
import { ElCheckbox as ae, ElCheckboxGroup as Le, ElRadioGroup as be, ElRadio as Ce, ElDialog as pt, ElButton as Oe, ElInput as dt, ElBreadcrumb as ut, ElBreadcrumbItem as ct, vLoading as Pe } from "element-plus";
|
|
4
|
+
import ft from "axios";
|
|
5
5
|
const He = (o, v) => {
|
|
6
6
|
if (o.install = (e) => {
|
|
7
7
|
for (const l of [o, ...Object.values(v ?? {})])
|
|
@@ -12,10 +12,10 @@ const He = (o, v) => {
|
|
|
12
12
|
return o;
|
|
13
13
|
}, G = (o, v) => {
|
|
14
14
|
const e = o.__vccOpts || o;
|
|
15
|
-
for (const [l,
|
|
16
|
-
e[l] =
|
|
15
|
+
for (const [l, k] of v)
|
|
16
|
+
e[l] = k;
|
|
17
17
|
return e;
|
|
18
|
-
},
|
|
18
|
+
}, ht = (o, v) => v ? v.startsWith("http") ? v : `${o || location.origin}${v}` : "", At = (o) => ({
|
|
19
19
|
// ================all================
|
|
20
20
|
nodeType: {
|
|
21
21
|
发起人节点: "INITIATOR",
|
|
@@ -103,7 +103,7 @@ const He = (o, v) => {
|
|
|
103
103
|
...o.defaultStatus
|
|
104
104
|
},
|
|
105
105
|
listData: []
|
|
106
|
-
}),
|
|
106
|
+
}), vt = (o, v, e) => {
|
|
107
107
|
let l = "";
|
|
108
108
|
switch (v) {
|
|
109
109
|
case o.nodeType.审批节点:
|
|
@@ -125,16 +125,69 @@ const He = (o, v) => {
|
|
|
125
125
|
l = "ikapprove-ziyuan";
|
|
126
126
|
}
|
|
127
127
|
return `ikapprove ${l}`;
|
|
128
|
-
},
|
|
129
|
-
const v = ne("loadUrl"), e =
|
|
128
|
+
}, Ge = (o) => {
|
|
129
|
+
const v = ne("loadUrl"), e = U(() => o.loadUrl || o.fileUrl || (v == null ? void 0 : v.value)), l = ne("uploadUrl"), k = U(() => o.action || o.uploadUrl || (l == null ? void 0 : l.value)), _ = ne("token"), b = U(() => o.token || (_ == null ? void 0 : _.value)), C = ne("onlyofficeConfig"), p = U(() => o.onlyofficeConfig || (C == null ? void 0 : C.value)), F = ne("userInfo"), V = U(() => o.userInfo || (F == null ? void 0 : F.value));
|
|
130
130
|
return {
|
|
131
131
|
cLoadUrl: e,
|
|
132
|
-
cUploadUrl:
|
|
132
|
+
cUploadUrl: k,
|
|
133
133
|
cToken: b,
|
|
134
134
|
cOnlyofficeConfig: p,
|
|
135
|
-
cUserInfo: V
|
|
135
|
+
cUserInfo: V,
|
|
136
|
+
cOnlyofficePreviewType: [
|
|
137
|
+
"csv",
|
|
138
|
+
"djvu",
|
|
139
|
+
"doc",
|
|
140
|
+
"docm",
|
|
141
|
+
"docx",
|
|
142
|
+
"docxf",
|
|
143
|
+
"dot",
|
|
144
|
+
"dotm",
|
|
145
|
+
"dotx",
|
|
146
|
+
"epub",
|
|
147
|
+
"fb2",
|
|
148
|
+
"fodp",
|
|
149
|
+
"fods",
|
|
150
|
+
"fodt",
|
|
151
|
+
"htm",
|
|
152
|
+
"html",
|
|
153
|
+
"mht",
|
|
154
|
+
"odp",
|
|
155
|
+
"ods",
|
|
156
|
+
"odt",
|
|
157
|
+
"oform",
|
|
158
|
+
"otp",
|
|
159
|
+
"ots",
|
|
160
|
+
"ott",
|
|
161
|
+
"oxps",
|
|
162
|
+
"pdf",
|
|
163
|
+
"pot",
|
|
164
|
+
"potm",
|
|
165
|
+
"potx",
|
|
166
|
+
"pps",
|
|
167
|
+
"ppsm",
|
|
168
|
+
"ppsx",
|
|
169
|
+
"ppt",
|
|
170
|
+
"pptm",
|
|
171
|
+
"pptx",
|
|
172
|
+
"rtf",
|
|
173
|
+
"txt",
|
|
174
|
+
"xls",
|
|
175
|
+
"xlsb",
|
|
176
|
+
"xlsm",
|
|
177
|
+
"xlsx",
|
|
178
|
+
"xlt",
|
|
179
|
+
"xltm",
|
|
180
|
+
"xltx",
|
|
181
|
+
"xml",
|
|
182
|
+
"xps",
|
|
183
|
+
"png",
|
|
184
|
+
"jpeg",
|
|
185
|
+
"jpg",
|
|
186
|
+
"video",
|
|
187
|
+
"mp4"
|
|
188
|
+
]
|
|
136
189
|
};
|
|
137
|
-
},
|
|
190
|
+
}, yt = {}, mt = {
|
|
138
191
|
t: "1672194715727",
|
|
139
192
|
class: "icon",
|
|
140
193
|
viewBox: "0 0 1024 1024",
|
|
@@ -150,7 +203,7 @@ const He = (o, v) => {
|
|
|
150
203
|
null,
|
|
151
204
|
-1
|
|
152
205
|
/* HOISTED */
|
|
153
|
-
),
|
|
206
|
+
), xt = /* @__PURE__ */ n(
|
|
154
207
|
"path",
|
|
155
208
|
{
|
|
156
209
|
d: "M454.878536 70.285786C239.51556 70.285786 64.93236 244.847497 64.93236 460.231963c0 215.341486 174.583201 389.945153 389.945153 389.945153 215.362976 0 389.9472-174.603667 389.9472-389.945153C844.825736 244.847497 670.241512 70.285786 454.878536 70.285786zM454.878536 805.611108c-190.750415 0-345.381192-154.626683-345.381192-345.379145 0-190.751439 154.629753-345.380168 345.381192-345.380168 190.752462 0 345.382215 154.62873 345.382215 345.380168C800.259728 650.983401 645.630998 805.611108 454.878536 805.611108z",
|
|
@@ -162,12 +215,12 @@ const He = (o, v) => {
|
|
|
162
215
|
/* HOISTED */
|
|
163
216
|
), _t = [
|
|
164
217
|
gt,
|
|
165
|
-
|
|
218
|
+
xt
|
|
166
219
|
];
|
|
167
|
-
function
|
|
168
|
-
return a(),
|
|
220
|
+
function Ot(o, v) {
|
|
221
|
+
return a(), d("svg", mt, _t);
|
|
169
222
|
}
|
|
170
|
-
const
|
|
223
|
+
const Pt = /* @__PURE__ */ G(yt, [["render", Ot]]), Tt = {}, kt = {
|
|
171
224
|
t: "1710907270798",
|
|
172
225
|
class: "icon",
|
|
173
226
|
viewBox: "0 0 1024 1024",
|
|
@@ -176,7 +229,7 @@ const Ot = /* @__PURE__ */ G(vt, [["render", xt]]), Pt = {}, Tt = {
|
|
|
176
229
|
"p-id": "8420",
|
|
177
230
|
width: "200",
|
|
178
231
|
height: "200"
|
|
179
|
-
},
|
|
232
|
+
}, Lt = /* @__PURE__ */ n(
|
|
180
233
|
"path",
|
|
181
234
|
{
|
|
182
235
|
d: "M512 1024A512 512 0 1 0 512 0a512 512 0 0 0 0 1024z",
|
|
@@ -186,7 +239,7 @@ const Ot = /* @__PURE__ */ G(vt, [["render", xt]]), Pt = {}, Tt = {
|
|
|
186
239
|
null,
|
|
187
240
|
-1
|
|
188
241
|
/* HOISTED */
|
|
189
|
-
),
|
|
242
|
+
), bt = /* @__PURE__ */ n(
|
|
190
243
|
"path",
|
|
191
244
|
{
|
|
192
245
|
d: "M655.701333 327.082667a41.216 41.216 0 0 1 57.002667-1.194667 39.082667 39.082667 0 0 1 1.109333 56.490667l-145.237333 145.92 145.237333 146.005333c13.824 13.909333 15.189333 35.072 4.266667 50.346667l-5.376 6.144a41.216 41.216 0 0 1-57.002667-1.109334L511.914667 585.130667 368.298667 729.685333a40.96 40.96 0 0 1-42.24 9.557334l-7.68-3.242667-7.082667-5.12a39.082667 39.082667 0 0 1-1.109333-56.576l145.066666-146.005333-145.066666-145.92a39.082667 39.082667 0 0 1-4.266667-50.346667l5.376-6.144a41.216 41.216 0 0 1 57.002667 1.194667L512 471.381333z",
|
|
@@ -196,14 +249,14 @@ const Ot = /* @__PURE__ */ G(vt, [["render", xt]]), Pt = {}, Tt = {
|
|
|
196
249
|
null,
|
|
197
250
|
-1
|
|
198
251
|
/* HOISTED */
|
|
199
|
-
),
|
|
200
|
-
|
|
201
|
-
|
|
252
|
+
), Ct = [
|
|
253
|
+
Lt,
|
|
254
|
+
bt
|
|
202
255
|
];
|
|
203
|
-
function
|
|
204
|
-
return a(),
|
|
256
|
+
function St(o, v) {
|
|
257
|
+
return a(), d("svg", kt, Ct);
|
|
205
258
|
}
|
|
206
|
-
const Ut = /* @__PURE__ */ G(
|
|
259
|
+
const Ut = /* @__PURE__ */ G(Tt, [["render", St]]), Bt = {}, wt = {
|
|
207
260
|
t: "1710904463698",
|
|
208
261
|
class: "icon",
|
|
209
262
|
viewBox: "0 0 1024 1024",
|
|
@@ -212,7 +265,7 @@ const Ut = /* @__PURE__ */ G(Pt, [["render", Ct]]), St = {}, Bt = {
|
|
|
212
265
|
"p-id": "7124",
|
|
213
266
|
width: "200",
|
|
214
267
|
height: "200"
|
|
215
|
-
},
|
|
268
|
+
}, It = /* @__PURE__ */ n(
|
|
216
269
|
"path",
|
|
217
270
|
{
|
|
218
271
|
d: "M512 512a235.392 235.392 0 0 0 235.2-235.52A235.392 235.392 0 0 0 512 40.96a235.392 235.392 0 0 0-235.2 235.52A235.392 235.392 0 0 0 512 512z",
|
|
@@ -222,7 +275,7 @@ const Ut = /* @__PURE__ */ G(Pt, [["render", Ct]]), St = {}, Bt = {
|
|
|
222
275
|
null,
|
|
223
276
|
-1
|
|
224
277
|
/* HOISTED */
|
|
225
|
-
),
|
|
278
|
+
), Et = /* @__PURE__ */ n(
|
|
226
279
|
"path",
|
|
227
280
|
{
|
|
228
281
|
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",
|
|
@@ -232,14 +285,14 @@ const Ut = /* @__PURE__ */ G(Pt, [["render", Ct]]), St = {}, Bt = {
|
|
|
232
285
|
null,
|
|
233
286
|
-1
|
|
234
287
|
/* HOISTED */
|
|
235
|
-
),
|
|
236
|
-
|
|
237
|
-
|
|
288
|
+
), Vt = [
|
|
289
|
+
It,
|
|
290
|
+
Et
|
|
238
291
|
];
|
|
239
|
-
function
|
|
240
|
-
return a(),
|
|
292
|
+
function Nt(o, v) {
|
|
293
|
+
return a(), d("svg", wt, Vt);
|
|
241
294
|
}
|
|
242
|
-
const
|
|
295
|
+
const Ft = /* @__PURE__ */ G(Bt, [["render", Nt]]), Dt = {}, Rt = {
|
|
243
296
|
t: "1710904436436",
|
|
244
297
|
class: "icon",
|
|
245
298
|
viewBox: "0 0 1024 1024",
|
|
@@ -248,7 +301,7 @@ const Nt = /* @__PURE__ */ G(St, [["render", Vt]]), Ft = {}, Dt = {
|
|
|
248
301
|
"p-id": "6989",
|
|
249
302
|
width: "200",
|
|
250
303
|
height: "200"
|
|
251
|
-
},
|
|
304
|
+
}, $t = /* @__PURE__ */ n(
|
|
252
305
|
"path",
|
|
253
306
|
{
|
|
254
307
|
d: "M421.952281 288.898297a42.687867 42.687867 0 0 0-42.111868 31.167903l-122.367618 461.694557a49.919844 49.919844 0 0 0 19.19994 52.223837l232.319274 173.503458a57.59982 57.59982 0 0 0 67.45579 0.447998l234.175268-169.59947a49.983844 49.983844 0 0 0 19.967937-52.351836l-118.783628-465.598545a42.623867 42.623867 0 0 0-41.919869-31.487902H421.952281z",
|
|
@@ -258,7 +311,7 @@ const Nt = /* @__PURE__ */ G(St, [["render", Vt]]), Ft = {}, Dt = {
|
|
|
258
311
|
null,
|
|
259
312
|
-1
|
|
260
313
|
/* HOISTED */
|
|
261
|
-
),
|
|
314
|
+
), Mt = /* @__PURE__ */ n(
|
|
262
315
|
"path",
|
|
263
316
|
{
|
|
264
317
|
d: "M354.048494 0.0032a44.67186 44.67186 0 0 0-36.479886 18.175943 39.103878 39.103878 0 0 0-4.223987 38.59188L377.792419 206.722554c6.591979 15.359952 22.39993 25.47192 40.127875 25.407921h255.487202c17.919944 0 33.919894-10.431967 40.319874-26.239918L774.39918 56.003025a39.167878 39.167878 0 0 0-4.863985-38.079881A44.67186 44.67186 0 0 0 733.439308 0.0032H354.048494z",
|
|
@@ -268,14 +321,14 @@ const Nt = /* @__PURE__ */ G(St, [["render", Vt]]), Ft = {}, Dt = {
|
|
|
268
321
|
null,
|
|
269
322
|
-1
|
|
270
323
|
/* HOISTED */
|
|
271
|
-
),
|
|
272
|
-
|
|
273
|
-
|
|
324
|
+
), Wt = [
|
|
325
|
+
$t,
|
|
326
|
+
Mt
|
|
274
327
|
];
|
|
275
|
-
function
|
|
276
|
-
return a(),
|
|
328
|
+
function jt(o, v) {
|
|
329
|
+
return a(), d("svg", Rt, Wt);
|
|
277
330
|
}
|
|
278
|
-
const
|
|
331
|
+
const Ht = /* @__PURE__ */ G(Dt, [["render", jt]]), Gt = {}, zt = {
|
|
279
332
|
t: "1710904287393",
|
|
280
333
|
class: "icon",
|
|
281
334
|
viewBox: "0 0 1024 1024",
|
|
@@ -284,7 +337,7 @@ const jt = /* @__PURE__ */ G(Ft, [["render", Wt]]), Ht = {}, Gt = {
|
|
|
284
337
|
"p-id": "6854",
|
|
285
338
|
width: "200",
|
|
286
339
|
height: "200"
|
|
287
|
-
},
|
|
340
|
+
}, Qt = /* @__PURE__ */ n(
|
|
288
341
|
"path",
|
|
289
342
|
{
|
|
290
343
|
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",
|
|
@@ -294,7 +347,7 @@ const jt = /* @__PURE__ */ G(Ft, [["render", Wt]]), Ht = {}, Gt = {
|
|
|
294
347
|
null,
|
|
295
348
|
-1
|
|
296
349
|
/* HOISTED */
|
|
297
|
-
),
|
|
350
|
+
), Xt = /* @__PURE__ */ n(
|
|
298
351
|
"path",
|
|
299
352
|
{
|
|
300
353
|
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",
|
|
@@ -304,20 +357,20 @@ const jt = /* @__PURE__ */ G(Ft, [["render", Wt]]), Ht = {}, Gt = {
|
|
|
304
357
|
null,
|
|
305
358
|
-1
|
|
306
359
|
/* HOISTED */
|
|
307
|
-
),
|
|
308
|
-
|
|
309
|
-
|
|
360
|
+
), qt = [
|
|
361
|
+
Qt,
|
|
362
|
+
Xt
|
|
310
363
|
];
|
|
311
|
-
function
|
|
312
|
-
return a(),
|
|
364
|
+
function Zt(o, v) {
|
|
365
|
+
return a(), d("svg", zt, qt);
|
|
313
366
|
}
|
|
314
|
-
const
|
|
367
|
+
const Kt = /* @__PURE__ */ G(Gt, [["render", Zt]]), Yt = { class: "avatar" }, Jt = {
|
|
315
368
|
key: 3,
|
|
316
369
|
class: "user_box"
|
|
317
|
-
},
|
|
370
|
+
}, el = {
|
|
318
371
|
key: 1,
|
|
319
372
|
class: "avatar_name"
|
|
320
|
-
},
|
|
373
|
+
}, tl = /* @__PURE__ */ oe({
|
|
321
374
|
__name: "Avatar",
|
|
322
375
|
props: {
|
|
323
376
|
fixPropOpt: {
|
|
@@ -341,28 +394,28 @@ const Zt = /* @__PURE__ */ G(Ht, [["render", qt]]), Kt = { class: "avatar" }, Yt
|
|
|
341
394
|
}
|
|
342
395
|
},
|
|
343
396
|
setup(o) {
|
|
344
|
-
const v = o,
|
|
345
|
-
return (
|
|
397
|
+
const v = o, { cLoadUrl: e } = Ge(v), l = (k) => ht(e.value, k);
|
|
398
|
+
return (k, _) => {
|
|
346
399
|
const b = ce("el-avatar");
|
|
347
|
-
return a(),
|
|
348
|
-
v.fixTypeOpt.group === o.element[v.fixPropOpt.type] ? (a(), B(
|
|
400
|
+
return a(), d("div", Yt, [
|
|
401
|
+
v.fixTypeOpt.group === o.element[v.fixPropOpt.type] ? (a(), B(Kt, { key: 0 })) : v.fixTypeOpt.role === o.element[v.fixPropOpt.type] ? (a(), B(Ft, { key: 1 })) : v.fixTypeOpt.post === o.element[v.fixPropOpt.type] ? (a(), B(Ht, { key: 2 })) : v.fixTypeOpt.user === o.element[v.fixPropOpt.type] ? (a(), d("div", Jt, [
|
|
349
402
|
o.element[o.fixPropOpt.avatar] ? (a(), B(b, {
|
|
350
403
|
key: 0,
|
|
351
404
|
shape: "square",
|
|
352
405
|
src: l(o.fixPropOpt.avatar ? o.element[o.fixPropOpt.avatar] : "")
|
|
353
|
-
}, null, 8, ["src"])) : (a(),
|
|
406
|
+
}, null, 8, ["src"])) : (a(), d(
|
|
354
407
|
"div",
|
|
355
|
-
|
|
356
|
-
|
|
408
|
+
el,
|
|
409
|
+
P(o.element[o.fixPropOpt.name].slice(-2)),
|
|
357
410
|
1
|
|
358
411
|
/* TEXT */
|
|
359
412
|
))
|
|
360
|
-
])) :
|
|
413
|
+
])) : x("v-if", !0)
|
|
361
414
|
]);
|
|
362
415
|
};
|
|
363
416
|
}
|
|
364
417
|
});
|
|
365
|
-
const $ = /* @__PURE__ */ G(
|
|
418
|
+
const $ = /* @__PURE__ */ G(tl, [["__scopeId", "data-v-8031ce9b"]]), Se = "data:image/webp;base64,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", Ue = {
|
|
366
419
|
// 所有数据
|
|
367
420
|
list: {
|
|
368
421
|
type: Array,
|
|
@@ -420,46 +473,46 @@ const $ = /* @__PURE__ */ G(el, [["__scopeId", "data-v-4069f4f8"]]), Ue = "data:
|
|
|
420
473
|
// 传['dep', 'user', 'role']则选择人员、部门和角色
|
|
421
474
|
default: () => ["dep"]
|
|
422
475
|
}
|
|
423
|
-
}, Be = (o) => (he("data-v-f7a5199f"), o = o(), Ae(), o),
|
|
476
|
+
}, Be = (o) => (he("data-v-f7a5199f"), o = o(), Ae(), o), ll = { class: "left-pick-list" }, sl = {
|
|
424
477
|
key: 1,
|
|
425
478
|
class: "post-view-list"
|
|
426
|
-
},
|
|
479
|
+
}, al = { class: "checkText" }, ol = { class: "iconBox" }, nl = { class: "name_number" }, il = { class: "title" }, rl = {
|
|
427
480
|
key: 0,
|
|
428
481
|
class: "userCount"
|
|
429
|
-
},
|
|
482
|
+
}, pl = {
|
|
430
483
|
key: 1,
|
|
431
484
|
class: "checkText"
|
|
432
|
-
},
|
|
485
|
+
}, dl = /* @__PURE__ */ Be(() => /* @__PURE__ */ n(
|
|
433
486
|
"div",
|
|
434
487
|
{ class: "side" },
|
|
435
488
|
null,
|
|
436
489
|
-1
|
|
437
490
|
/* HOISTED */
|
|
438
|
-
)), ul = { class: "iconBox" },
|
|
491
|
+
)), ul = { class: "iconBox" }, cl = { class: "name_number" }, fl = { class: "title" }, hl = {
|
|
439
492
|
key: 0,
|
|
440
493
|
class: "userCount"
|
|
441
|
-
},
|
|
494
|
+
}, Al = ["onClick"], vl = { class: "checkText" }, yl = { class: "iconBox" }, ml = { class: "name_number" }, gl = { class: "title" }, xl = {
|
|
442
495
|
key: 0,
|
|
443
496
|
class: "userCount"
|
|
444
497
|
}, _l = {
|
|
445
498
|
key: 1,
|
|
446
499
|
class: "checkText"
|
|
447
|
-
},
|
|
500
|
+
}, Ol = /* @__PURE__ */ Be(() => /* @__PURE__ */ n(
|
|
448
501
|
"div",
|
|
449
502
|
{ class: "side" },
|
|
450
503
|
null,
|
|
451
504
|
-1
|
|
452
505
|
/* HOISTED */
|
|
453
|
-
)),
|
|
506
|
+
)), Pl = { class: "iconBox" }, Tl = { class: "name_number" }, kl = { class: "title" }, Ll = {
|
|
454
507
|
key: 0,
|
|
455
508
|
class: "userCount"
|
|
456
|
-
},
|
|
509
|
+
}, bl = ["onClick"], Cl = {
|
|
457
510
|
key: 2,
|
|
458
511
|
class: "empty"
|
|
459
|
-
},
|
|
512
|
+
}, Sl = /* @__PURE__ */ Be(() => /* @__PURE__ */ n(
|
|
460
513
|
"img",
|
|
461
514
|
{
|
|
462
|
-
src:
|
|
515
|
+
src: Se,
|
|
463
516
|
alt: ""
|
|
464
517
|
},
|
|
465
518
|
null,
|
|
@@ -467,18 +520,18 @@ const $ = /* @__PURE__ */ G(el, [["__scopeId", "data-v-4069f4f8"]]), Ue = "data:
|
|
|
467
520
|
/* HOISTED */
|
|
468
521
|
)), Ul = /* @__PURE__ */ oe({
|
|
469
522
|
__name: "GroupList",
|
|
470
|
-
props:
|
|
523
|
+
props: Ue,
|
|
471
524
|
emits: ["change", "check", "handChild"],
|
|
472
525
|
setup(o, { emit: v }) {
|
|
473
526
|
var y, i;
|
|
474
|
-
const e = o, l =
|
|
527
|
+
const e = o, l = U(() => {
|
|
475
528
|
var A, t;
|
|
476
529
|
return ((A = e.handList) == null ? void 0 : A.length) === ((t = e.list) == null ? void 0 : t.length);
|
|
477
|
-
}),
|
|
478
|
-
var r, h,
|
|
530
|
+
}), k = U(() => {
|
|
531
|
+
var r, h, u, S;
|
|
479
532
|
const A = (r = e.handList) == null ? void 0 : r.length, t = (h = e.list) == null ? void 0 : h.length;
|
|
480
|
-
return e.multiple ?
|
|
481
|
-
}),
|
|
533
|
+
return e.multiple ? _.value = e.handList.map((c) => c[e.fixPropOpt.id]) : b.value = (S = (u = e.handList) == null ? void 0 : u[0]) == null ? void 0 : S[e.fixPropOpt.id], A > 0 && A < t;
|
|
534
|
+
}), _ = E(
|
|
482
535
|
e.handList.map((A) => A[e.fixPropOpt.id])
|
|
483
536
|
), b = E((i = (y = e.handList) == null ? void 0 : y[0]) == null ? void 0 : i[e.fixPropOpt.id]), C = v, p = (A) => {
|
|
484
537
|
const t = A ? e.list.map((r) => {
|
|
@@ -493,17 +546,17 @@ const $ = /* @__PURE__ */ G(el, [["__scopeId", "data-v-4069f4f8"]]), Ue = "data:
|
|
|
493
546
|
}, D = (A, t) => {
|
|
494
547
|
t || C("handChild", A);
|
|
495
548
|
};
|
|
496
|
-
return (A, t) => (a(),
|
|
549
|
+
return (A, t) => (a(), d(
|
|
497
550
|
N,
|
|
498
551
|
null,
|
|
499
552
|
[
|
|
500
|
-
|
|
501
|
-
n("div",
|
|
502
|
-
A.multiple && A.list && A.list.length ? (a(), B(
|
|
553
|
+
x(" 遍历list多选 "),
|
|
554
|
+
n("div", ll, [
|
|
555
|
+
A.multiple && A.list && A.list.length ? (a(), B(O(ae), {
|
|
503
556
|
key: 0,
|
|
504
557
|
modelValue: l.value,
|
|
505
558
|
"onUpdate:modelValue": t[0] || (t[0] = (r) => l.value = r),
|
|
506
|
-
indeterminate:
|
|
559
|
+
indeterminate: k.value,
|
|
507
560
|
onChange: p
|
|
508
561
|
}, {
|
|
509
562
|
default: I(() => [
|
|
@@ -511,33 +564,33 @@ const $ = /* @__PURE__ */ G(el, [["__scopeId", "data-v-4069f4f8"]]), Ue = "data:
|
|
|
511
564
|
]),
|
|
512
565
|
_: 1
|
|
513
566
|
/* STABLE */
|
|
514
|
-
}, 8, ["modelValue", "indeterminate"])) :
|
|
515
|
-
A.list && A.list.length ? (a(),
|
|
516
|
-
A.multiple ? (a(), B(
|
|
567
|
+
}, 8, ["modelValue", "indeterminate"])) : x("v-if", !0),
|
|
568
|
+
A.list && A.list.length ? (a(), d("ul", sl, [
|
|
569
|
+
A.multiple ? (a(), B(O(Le), {
|
|
517
570
|
key: 0,
|
|
518
|
-
modelValue:
|
|
519
|
-
"onUpdate:modelValue": t[1] || (t[1] = (r) =>
|
|
571
|
+
modelValue: _.value,
|
|
572
|
+
"onUpdate:modelValue": t[1] || (t[1] = (r) => _.value = r),
|
|
520
573
|
onChange: F
|
|
521
574
|
}, {
|
|
522
575
|
default: I(() => [
|
|
523
|
-
(a(!0),
|
|
576
|
+
(a(!0), d(
|
|
524
577
|
N,
|
|
525
578
|
null,
|
|
526
579
|
W(A.list, (r) => {
|
|
527
580
|
var h;
|
|
528
|
-
return a(),
|
|
581
|
+
return a(), d("li", {
|
|
529
582
|
key: r[e.fixPropOpt.id]
|
|
530
583
|
}, [
|
|
531
584
|
A.chooseType.includes(
|
|
532
585
|
r[e.fixPropOpt.type].toLowerCase()
|
|
533
|
-
) && r.available !== !1 ? (a(), B(
|
|
586
|
+
) && r.available !== !1 ? (a(), B(O(ae), {
|
|
534
587
|
key: 0,
|
|
535
588
|
label: r[e.fixPropOpt.id],
|
|
536
589
|
disabled: r.available === !1
|
|
537
590
|
}, {
|
|
538
591
|
default: I(() => [
|
|
539
|
-
n("div",
|
|
540
|
-
n("div",
|
|
592
|
+
n("div", al, [
|
|
593
|
+
n("div", ol, [
|
|
541
594
|
w($, {
|
|
542
595
|
fixTypeOpt: e.fixTypeOpt,
|
|
543
596
|
fixPropOpt: e.fixPropOpt,
|
|
@@ -545,28 +598,28 @@ const $ = /* @__PURE__ */ G(el, [["__scopeId", "data-v-4069f4f8"]]), Ue = "data:
|
|
|
545
598
|
imageBaseUrl: e.imageBaseUrl
|
|
546
599
|
}, null, 8, ["fixTypeOpt", "fixPropOpt", "element", "imageBaseUrl"])
|
|
547
600
|
]),
|
|
548
|
-
n("div",
|
|
601
|
+
n("div", nl, [
|
|
549
602
|
n(
|
|
550
603
|
"div",
|
|
551
|
-
|
|
552
|
-
|
|
604
|
+
il,
|
|
605
|
+
P(r[e.fixPropOpt.name]),
|
|
553
606
|
1
|
|
554
607
|
/* TEXT */
|
|
555
608
|
),
|
|
556
|
-
r[e.fixPropOpt.type] === e.fixTypeOpt.group ? (a(),
|
|
609
|
+
r[e.fixPropOpt.type] === e.fixTypeOpt.group ? (a(), d(
|
|
557
610
|
"div",
|
|
558
|
-
|
|
559
|
-
" (" +
|
|
611
|
+
rl,
|
|
612
|
+
" (" + P(r.userCount) + ") ",
|
|
560
613
|
1
|
|
561
614
|
/* TEXT */
|
|
562
|
-
)) :
|
|
615
|
+
)) : x("v-if", !0)
|
|
563
616
|
])
|
|
564
617
|
])
|
|
565
618
|
]),
|
|
566
619
|
_: 2
|
|
567
620
|
/* DYNAMIC */
|
|
568
|
-
}, 1032, ["label", "disabled"])) : (a(),
|
|
569
|
-
|
|
621
|
+
}, 1032, ["label", "disabled"])) : (a(), d("div", pl, [
|
|
622
|
+
dl,
|
|
570
623
|
n("div", ul, [
|
|
571
624
|
w($, {
|
|
572
625
|
fixTypeOpt: e.fixTypeOpt,
|
|
@@ -575,38 +628,38 @@ const $ = /* @__PURE__ */ G(el, [["__scopeId", "data-v-4069f4f8"]]), Ue = "data:
|
|
|
575
628
|
imageBaseUrl: e.imageBaseUrl
|
|
576
629
|
}, null, 8, ["fixTypeOpt", "fixPropOpt", "element", "imageBaseUrl"])
|
|
577
630
|
]),
|
|
578
|
-
n("div",
|
|
631
|
+
n("div", cl, [
|
|
579
632
|
n(
|
|
580
633
|
"div",
|
|
581
|
-
|
|
582
|
-
|
|
634
|
+
fl,
|
|
635
|
+
P(r[e.fixPropOpt.name]),
|
|
583
636
|
1
|
|
584
637
|
/* TEXT */
|
|
585
638
|
),
|
|
586
|
-
r[e.fixPropOpt.type] === e.fixTypeOpt.group ? (a(),
|
|
639
|
+
r[e.fixPropOpt.type] === e.fixTypeOpt.group ? (a(), d(
|
|
587
640
|
"div",
|
|
588
|
-
|
|
589
|
-
" (" +
|
|
641
|
+
hl,
|
|
642
|
+
" (" + P(r.userCount) + ") ",
|
|
590
643
|
1
|
|
591
644
|
/* TEXT */
|
|
592
|
-
)) :
|
|
645
|
+
)) : x("v-if", !0)
|
|
593
646
|
])
|
|
594
647
|
])),
|
|
595
|
-
r[e.fixPropOpt.type] === e.fixTypeOpt.group && e.children ? (a(),
|
|
648
|
+
r[e.fixPropOpt.type] === e.fixTypeOpt.group && e.children ? (a(), d("span", {
|
|
596
649
|
key: 2,
|
|
597
650
|
class: se(["nextLevel", {
|
|
598
|
-
"is-disabled": (h =
|
|
599
|
-
(
|
|
651
|
+
"is-disabled": (h = _.value) == null ? void 0 : h.find(
|
|
652
|
+
(u) => u === r[e.fixPropOpt.id]
|
|
600
653
|
)
|
|
601
654
|
}]),
|
|
602
|
-
onClick: (
|
|
603
|
-
var
|
|
655
|
+
onClick: (u) => {
|
|
656
|
+
var S;
|
|
604
657
|
return D(
|
|
605
658
|
r,
|
|
606
|
-
(
|
|
659
|
+
(S = _.value) == null ? void 0 : S.find((c) => c === r[e.fixPropOpt.id])
|
|
607
660
|
);
|
|
608
661
|
}
|
|
609
|
-
}, " 下级", 10,
|
|
662
|
+
}, " 下级", 10, Al)) : x("v-if", !0)
|
|
610
663
|
]);
|
|
611
664
|
}),
|
|
612
665
|
128
|
|
@@ -615,30 +668,30 @@ const $ = /* @__PURE__ */ G(el, [["__scopeId", "data-v-4069f4f8"]]), Ue = "data:
|
|
|
615
668
|
]),
|
|
616
669
|
_: 1
|
|
617
670
|
/* STABLE */
|
|
618
|
-
}, 8, ["modelValue"])) : (a(), B(
|
|
671
|
+
}, 8, ["modelValue"])) : (a(), B(O(be), {
|
|
619
672
|
key: 1,
|
|
620
|
-
isIndeterminate:
|
|
673
|
+
isIndeterminate: k.value,
|
|
621
674
|
modelValue: b.value,
|
|
622
675
|
"onUpdate:modelValue": t[2] || (t[2] = (r) => b.value = r),
|
|
623
676
|
onChange: V
|
|
624
677
|
}, {
|
|
625
678
|
default: I(() => [
|
|
626
|
-
(a(!0),
|
|
679
|
+
(a(!0), d(
|
|
627
680
|
N,
|
|
628
681
|
null,
|
|
629
682
|
W(A.list, (r) => {
|
|
630
683
|
var h;
|
|
631
|
-
return a(),
|
|
684
|
+
return a(), d("li", {
|
|
632
685
|
class: "w-full",
|
|
633
686
|
key: r[e.fixPropOpt.id]
|
|
634
687
|
}, [
|
|
635
|
-
A.chooseType.includes(r[e.fixPropOpt.type].toLowerCase()) && r.available !== !1 ? (a(), B(
|
|
688
|
+
A.chooseType.includes(r[e.fixPropOpt.type].toLowerCase()) && r.available !== !1 ? (a(), B(O(Ce), {
|
|
636
689
|
key: 0,
|
|
637
690
|
label: r[e.fixPropOpt.id]
|
|
638
691
|
}, {
|
|
639
692
|
default: I(() => [
|
|
640
|
-
n("div",
|
|
641
|
-
n("div",
|
|
693
|
+
n("div", vl, [
|
|
694
|
+
n("div", yl, [
|
|
642
695
|
w($, {
|
|
643
696
|
fixTypeOpt: e.fixTypeOpt,
|
|
644
697
|
fixPropOpt: e.fixPropOpt,
|
|
@@ -646,29 +699,29 @@ const $ = /* @__PURE__ */ G(el, [["__scopeId", "data-v-4069f4f8"]]), Ue = "data:
|
|
|
646
699
|
imageBaseUrl: e.imageBaseUrl
|
|
647
700
|
}, null, 8, ["fixTypeOpt", "fixPropOpt", "element", "imageBaseUrl"])
|
|
648
701
|
]),
|
|
649
|
-
n("div",
|
|
702
|
+
n("div", ml, [
|
|
650
703
|
n(
|
|
651
704
|
"div",
|
|
652
705
|
gl,
|
|
653
|
-
|
|
706
|
+
P(r[e.fixPropOpt.name]),
|
|
654
707
|
1
|
|
655
708
|
/* TEXT */
|
|
656
709
|
),
|
|
657
|
-
r[e.fixPropOpt.type] === e.fixTypeOpt.group ? (a(),
|
|
710
|
+
r[e.fixPropOpt.type] === e.fixTypeOpt.group ? (a(), d(
|
|
658
711
|
"div",
|
|
659
|
-
|
|
660
|
-
" (" +
|
|
712
|
+
xl,
|
|
713
|
+
" (" + P(r.userCount) + ") ",
|
|
661
714
|
1
|
|
662
715
|
/* TEXT */
|
|
663
|
-
)) :
|
|
716
|
+
)) : x("v-if", !0)
|
|
664
717
|
])
|
|
665
718
|
])
|
|
666
719
|
]),
|
|
667
720
|
_: 2
|
|
668
721
|
/* DYNAMIC */
|
|
669
|
-
}, 1032, ["label"])) : (a(),
|
|
670
|
-
|
|
671
|
-
n("div",
|
|
722
|
+
}, 1032, ["label"])) : (a(), d("div", _l, [
|
|
723
|
+
Ol,
|
|
724
|
+
n("div", Pl, [
|
|
672
725
|
w($, {
|
|
673
726
|
fixTypeOpt: e.fixTypeOpt,
|
|
674
727
|
fixPropOpt: e.fixPropOpt,
|
|
@@ -676,38 +729,38 @@ const $ = /* @__PURE__ */ G(el, [["__scopeId", "data-v-4069f4f8"]]), Ue = "data:
|
|
|
676
729
|
imageBaseUrl: e.imageBaseUrl
|
|
677
730
|
}, null, 8, ["fixTypeOpt", "fixPropOpt", "element", "imageBaseUrl"])
|
|
678
731
|
]),
|
|
679
|
-
n("div",
|
|
732
|
+
n("div", Tl, [
|
|
680
733
|
n(
|
|
681
734
|
"div",
|
|
682
|
-
|
|
683
|
-
|
|
735
|
+
kl,
|
|
736
|
+
P(r[e.fixPropOpt.name]),
|
|
684
737
|
1
|
|
685
738
|
/* TEXT */
|
|
686
739
|
),
|
|
687
|
-
r[e.fixPropOpt.type] === e.fixTypeOpt.group ? (a(),
|
|
740
|
+
r[e.fixPropOpt.type] === e.fixTypeOpt.group ? (a(), d(
|
|
688
741
|
"div",
|
|
689
|
-
|
|
690
|
-
" (" +
|
|
742
|
+
Ll,
|
|
743
|
+
" (" + P(r.userCount) + ") ",
|
|
691
744
|
1
|
|
692
745
|
/* TEXT */
|
|
693
|
-
)) :
|
|
746
|
+
)) : x("v-if", !0)
|
|
694
747
|
])
|
|
695
748
|
])),
|
|
696
|
-
r[e.fixPropOpt.type] === e.fixTypeOpt.group && e.children ? (a(),
|
|
749
|
+
r[e.fixPropOpt.type] === e.fixTypeOpt.group && e.children ? (a(), d("span", {
|
|
697
750
|
key: 2,
|
|
698
751
|
class: se(["nextLevel", {
|
|
699
|
-
"is-disabled": (h =
|
|
700
|
-
(
|
|
752
|
+
"is-disabled": (h = _.value) == null ? void 0 : h.find(
|
|
753
|
+
(u) => u === r[e.fixPropOpt.id]
|
|
701
754
|
)
|
|
702
755
|
}]),
|
|
703
|
-
onClick: (
|
|
704
|
-
var
|
|
756
|
+
onClick: (u) => {
|
|
757
|
+
var S;
|
|
705
758
|
return D(
|
|
706
759
|
r,
|
|
707
|
-
(
|
|
760
|
+
(S = _.value) == null ? void 0 : S.find((c) => c === r[e.fixPropOpt.id])
|
|
708
761
|
);
|
|
709
762
|
}
|
|
710
|
-
}, " 下级", 10,
|
|
763
|
+
}, " 下级", 10, bl)) : x("v-if", !0)
|
|
711
764
|
]);
|
|
712
765
|
}),
|
|
713
766
|
128
|
|
@@ -717,12 +770,12 @@ const $ = /* @__PURE__ */ G(el, [["__scopeId", "data-v-4069f4f8"]]), Ue = "data:
|
|
|
717
770
|
_: 1
|
|
718
771
|
/* STABLE */
|
|
719
772
|
}, 8, ["isIndeterminate", "modelValue"]))
|
|
720
|
-
])) : (a(),
|
|
721
|
-
|
|
773
|
+
])) : (a(), d("div", Cl, [
|
|
774
|
+
Sl,
|
|
722
775
|
n(
|
|
723
776
|
"div",
|
|
724
777
|
null,
|
|
725
|
-
|
|
778
|
+
P(e.emptyText),
|
|
726
779
|
1
|
|
727
780
|
/* TEXT */
|
|
728
781
|
)
|
|
@@ -734,53 +787,53 @@ const $ = /* @__PURE__ */ G(el, [["__scopeId", "data-v-4069f4f8"]]), Ue = "data:
|
|
|
734
787
|
));
|
|
735
788
|
}
|
|
736
789
|
});
|
|
737
|
-
const
|
|
790
|
+
const Bl = /* @__PURE__ */ G(Ul, [["__scopeId", "data-v-f7a5199f"]]), we = (o) => (he("data-v-e03f0d36"), o = o(), Ae(), o), wl = { class: "left-pick-list" }, Il = {
|
|
738
791
|
key: 1,
|
|
739
792
|
class: "post-view-list"
|
|
740
|
-
},
|
|
793
|
+
}, El = { class: "iconBox" }, Vl = {
|
|
741
794
|
key: 1,
|
|
742
795
|
class: "checkText"
|
|
743
|
-
},
|
|
796
|
+
}, Nl = /* @__PURE__ */ we(() => /* @__PURE__ */ n(
|
|
744
797
|
"div",
|
|
745
798
|
{ class: "side" },
|
|
746
799
|
null,
|
|
747
800
|
-1
|
|
748
801
|
/* HOISTED */
|
|
749
|
-
)),
|
|
802
|
+
)), Fl = { class: "iconBox" }, Dl = { class: "title" }, Rl = { class: "ik-picker-single" }, $l = { class: "iconBox" }, Ml = {
|
|
750
803
|
key: 1,
|
|
751
804
|
class: "checkText"
|
|
752
|
-
},
|
|
805
|
+
}, Wl = /* @__PURE__ */ we(() => /* @__PURE__ */ n(
|
|
753
806
|
"div",
|
|
754
807
|
{ class: "side" },
|
|
755
808
|
null,
|
|
756
809
|
-1
|
|
757
810
|
/* HOISTED */
|
|
758
|
-
)),
|
|
811
|
+
)), jl = { class: "iconBox" }, Hl = { class: "title" }, Gl = {
|
|
759
812
|
key: 2,
|
|
760
813
|
class: "empty"
|
|
761
|
-
},
|
|
814
|
+
}, zl = /* @__PURE__ */ we(() => /* @__PURE__ */ n(
|
|
762
815
|
"img",
|
|
763
816
|
{
|
|
764
|
-
src:
|
|
817
|
+
src: Se,
|
|
765
818
|
alt: ""
|
|
766
819
|
},
|
|
767
820
|
null,
|
|
768
821
|
-1
|
|
769
822
|
/* HOISTED */
|
|
770
|
-
)),
|
|
823
|
+
)), Ql = /* @__PURE__ */ oe({
|
|
771
824
|
__name: "PostList",
|
|
772
|
-
props:
|
|
825
|
+
props: Ue,
|
|
773
826
|
emits: ["change", "check"],
|
|
774
827
|
setup(o, { emit: v }) {
|
|
775
828
|
var D, y;
|
|
776
|
-
const e = o, l =
|
|
829
|
+
const e = o, l = U(() => {
|
|
777
830
|
var i, A;
|
|
778
831
|
return ((i = e.handList) == null ? void 0 : i.length) === ((A = e.list) == null ? void 0 : A.length);
|
|
779
|
-
}),
|
|
780
|
-
var t, r, h,
|
|
832
|
+
}), k = U(() => {
|
|
833
|
+
var t, r, h, u;
|
|
781
834
|
const i = (t = e.handList) == null ? void 0 : t.length, A = (r = e.list) == null ? void 0 : r.length;
|
|
782
|
-
return e.multiple ?
|
|
783
|
-
}),
|
|
835
|
+
return e.multiple ? _.value = e.handList.map((S) => S[e.fixPropOpt.id]) : b.value = (u = (h = e.handList) == null ? void 0 : h[0]) == null ? void 0 : u[e.fixPropOpt.id], i > 0 && i < A;
|
|
836
|
+
}), _ = E(
|
|
784
837
|
e.handList.map((i) => i[e.fixPropOpt.id])
|
|
785
838
|
), b = E((y = (D = e.handList) == null ? void 0 : D[0]) == null ? void 0 : y[e.fixPropOpt.id]), C = v, p = (i) => {
|
|
786
839
|
const A = i ? e.list.map((t) => t[e.fixPropOpt.id]) : [];
|
|
@@ -790,17 +843,17 @@ const Sl = /* @__PURE__ */ G(Ul, [["__scopeId", "data-v-f7a5199f"]]), we = (o) =
|
|
|
790
843
|
}, V = (i) => {
|
|
791
844
|
C("change", i, e.list);
|
|
792
845
|
};
|
|
793
|
-
return (i, A) => (a(),
|
|
846
|
+
return (i, A) => (a(), d(
|
|
794
847
|
N,
|
|
795
848
|
null,
|
|
796
849
|
[
|
|
797
|
-
|
|
798
|
-
n("div",
|
|
799
|
-
i.multiple && i.chooseType.includes("post") && i.list && i.list.length ? (a(), B(
|
|
850
|
+
x(" 遍历list多选 "),
|
|
851
|
+
n("div", wl, [
|
|
852
|
+
i.multiple && i.chooseType.includes("post") && i.list && i.list.length ? (a(), B(O(ae), {
|
|
800
853
|
key: 0,
|
|
801
854
|
modelValue: l.value,
|
|
802
855
|
"onUpdate:modelValue": A[0] || (A[0] = (t) => l.value = t),
|
|
803
|
-
indeterminate:
|
|
856
|
+
indeterminate: k.value,
|
|
804
857
|
onChange: p
|
|
805
858
|
}, {
|
|
806
859
|
default: I(() => [
|
|
@@ -808,27 +861,27 @@ const Sl = /* @__PURE__ */ G(Ul, [["__scopeId", "data-v-f7a5199f"]]), we = (o) =
|
|
|
808
861
|
]),
|
|
809
862
|
_: 1
|
|
810
863
|
/* STABLE */
|
|
811
|
-
}, 8, ["modelValue", "indeterminate"])) :
|
|
812
|
-
i.list && i.list.length ? (a(),
|
|
813
|
-
i.multiple ? (a(), B(
|
|
864
|
+
}, 8, ["modelValue", "indeterminate"])) : x("v-if", !0),
|
|
865
|
+
i.list && i.list.length ? (a(), d("ul", Il, [
|
|
866
|
+
i.multiple ? (a(), B(O(Le), {
|
|
814
867
|
key: 0,
|
|
815
|
-
modelValue:
|
|
816
|
-
"onUpdate:modelValue": A[1] || (A[1] = (t) =>
|
|
868
|
+
modelValue: _.value,
|
|
869
|
+
"onUpdate:modelValue": A[1] || (A[1] = (t) => _.value = t),
|
|
817
870
|
onChange: F
|
|
818
871
|
}, {
|
|
819
872
|
default: I(() => [
|
|
820
|
-
(a(!0),
|
|
873
|
+
(a(!0), d(
|
|
821
874
|
N,
|
|
822
875
|
null,
|
|
823
|
-
W(i.list, (t) => (a(),
|
|
876
|
+
W(i.list, (t) => (a(), d("li", {
|
|
824
877
|
key: t[e.fixPropOpt.id]
|
|
825
878
|
}, [
|
|
826
|
-
i.chooseType.includes(t[e.fixPropOpt.type].toLowerCase()) ? (a(), B(
|
|
879
|
+
i.chooseType.includes(t[e.fixPropOpt.type].toLowerCase()) ? (a(), B(O(ae), {
|
|
827
880
|
key: 0,
|
|
828
881
|
label: t[e.fixPropOpt.id]
|
|
829
882
|
}, {
|
|
830
883
|
default: I(() => [
|
|
831
|
-
n("div",
|
|
884
|
+
n("div", El, [
|
|
832
885
|
w($, {
|
|
833
886
|
fixTypeOpt: e.fixTypeOpt,
|
|
834
887
|
fixPropOpt: e.fixPropOpt,
|
|
@@ -839,16 +892,16 @@ const Sl = /* @__PURE__ */ G(Ul, [["__scopeId", "data-v-f7a5199f"]]), we = (o) =
|
|
|
839
892
|
n(
|
|
840
893
|
"p",
|
|
841
894
|
null,
|
|
842
|
-
|
|
895
|
+
P(t[e.fixPropOpt.name]),
|
|
843
896
|
1
|
|
844
897
|
/* TEXT */
|
|
845
898
|
)
|
|
846
899
|
]),
|
|
847
900
|
_: 2
|
|
848
901
|
/* DYNAMIC */
|
|
849
|
-
}, 1032, ["label"])) : (a(),
|
|
850
|
-
|
|
851
|
-
n("div",
|
|
902
|
+
}, 1032, ["label"])) : (a(), d("div", Vl, [
|
|
903
|
+
Nl,
|
|
904
|
+
n("div", Fl, [
|
|
852
905
|
w($, {
|
|
853
906
|
fixTypeOpt: e.fixTypeOpt,
|
|
854
907
|
fixPropOpt: e.fixPropOpt,
|
|
@@ -858,8 +911,8 @@ const Sl = /* @__PURE__ */ G(Ul, [["__scopeId", "data-v-f7a5199f"]]), we = (o) =
|
|
|
858
911
|
]),
|
|
859
912
|
n(
|
|
860
913
|
"div",
|
|
861
|
-
|
|
862
|
-
|
|
914
|
+
Dl,
|
|
915
|
+
P(t[e.fixPropOpt.name]),
|
|
863
916
|
1
|
|
864
917
|
/* TEXT */
|
|
865
918
|
)
|
|
@@ -871,28 +924,28 @@ const Sl = /* @__PURE__ */ G(Ul, [["__scopeId", "data-v-f7a5199f"]]), we = (o) =
|
|
|
871
924
|
]),
|
|
872
925
|
_: 1
|
|
873
926
|
/* STABLE */
|
|
874
|
-
}, 8, ["modelValue"])) : (a(), B(
|
|
927
|
+
}, 8, ["modelValue"])) : (a(), B(O(be), {
|
|
875
928
|
key: 1,
|
|
876
|
-
isIndeterminate:
|
|
929
|
+
isIndeterminate: k.value,
|
|
877
930
|
modelValue: b.value,
|
|
878
931
|
"onUpdate:modelValue": A[2] || (A[2] = (t) => b.value = t),
|
|
879
932
|
onChange: V
|
|
880
933
|
}, {
|
|
881
934
|
default: I(() => [
|
|
882
|
-
(a(!0),
|
|
935
|
+
(a(!0), d(
|
|
883
936
|
N,
|
|
884
937
|
null,
|
|
885
|
-
W(i.list, (t) => (a(),
|
|
938
|
+
W(i.list, (t) => (a(), d("li", {
|
|
886
939
|
class: "w-full",
|
|
887
940
|
key: t[e.fixPropOpt.id]
|
|
888
941
|
}, [
|
|
889
|
-
i.chooseType.includes(t[e.fixPropOpt.type].toLowerCase()) ? (a(), B(
|
|
942
|
+
i.chooseType.includes(t[e.fixPropOpt.type].toLowerCase()) ? (a(), B(O(Ce), {
|
|
890
943
|
key: 0,
|
|
891
944
|
label: t[e.fixPropOpt.id]
|
|
892
945
|
}, {
|
|
893
946
|
default: I(() => [
|
|
894
|
-
n("div",
|
|
895
|
-
n("div",
|
|
947
|
+
n("div", Rl, [
|
|
948
|
+
n("div", $l, [
|
|
896
949
|
w($, {
|
|
897
950
|
fixTypeOpt: e.fixTypeOpt,
|
|
898
951
|
fixPropOpt: e.fixPropOpt,
|
|
@@ -903,7 +956,7 @@ const Sl = /* @__PURE__ */ G(Ul, [["__scopeId", "data-v-f7a5199f"]]), we = (o) =
|
|
|
903
956
|
n(
|
|
904
957
|
"p",
|
|
905
958
|
null,
|
|
906
|
-
|
|
959
|
+
P(t[e.fixPropOpt.name]),
|
|
907
960
|
1
|
|
908
961
|
/* TEXT */
|
|
909
962
|
)
|
|
@@ -911,9 +964,9 @@ const Sl = /* @__PURE__ */ G(Ul, [["__scopeId", "data-v-f7a5199f"]]), we = (o) =
|
|
|
911
964
|
]),
|
|
912
965
|
_: 2
|
|
913
966
|
/* DYNAMIC */
|
|
914
|
-
}, 1032, ["label"])) : (a(),
|
|
915
|
-
|
|
916
|
-
n("div",
|
|
967
|
+
}, 1032, ["label"])) : (a(), d("div", Ml, [
|
|
968
|
+
Wl,
|
|
969
|
+
n("div", jl, [
|
|
917
970
|
w($, {
|
|
918
971
|
fixTypeOpt: e.fixTypeOpt,
|
|
919
972
|
fixPropOpt: e.fixPropOpt,
|
|
@@ -923,8 +976,8 @@ const Sl = /* @__PURE__ */ G(Ul, [["__scopeId", "data-v-f7a5199f"]]), we = (o) =
|
|
|
923
976
|
]),
|
|
924
977
|
n(
|
|
925
978
|
"div",
|
|
926
|
-
|
|
927
|
-
|
|
979
|
+
Hl,
|
|
980
|
+
P(t[e.fixPropOpt.name]),
|
|
928
981
|
1
|
|
929
982
|
/* TEXT */
|
|
930
983
|
)
|
|
@@ -937,12 +990,12 @@ const Sl = /* @__PURE__ */ G(Ul, [["__scopeId", "data-v-f7a5199f"]]), we = (o) =
|
|
|
937
990
|
_: 1
|
|
938
991
|
/* STABLE */
|
|
939
992
|
}, 8, ["isIndeterminate", "modelValue"]))
|
|
940
|
-
])) : (a(),
|
|
941
|
-
|
|
993
|
+
])) : (a(), d("div", Gl, [
|
|
994
|
+
zl,
|
|
942
995
|
n(
|
|
943
996
|
"div",
|
|
944
997
|
null,
|
|
945
|
-
|
|
998
|
+
P(e.emptyText),
|
|
946
999
|
1
|
|
947
1000
|
/* TEXT */
|
|
948
1001
|
)
|
|
@@ -954,53 +1007,53 @@ const Sl = /* @__PURE__ */ G(Ul, [["__scopeId", "data-v-f7a5199f"]]), we = (o) =
|
|
|
954
1007
|
));
|
|
955
1008
|
}
|
|
956
1009
|
});
|
|
957
|
-
const
|
|
1010
|
+
const Xl = /* @__PURE__ */ G(Ql, [["__scopeId", "data-v-e03f0d36"]]), Ie = (o) => (he("data-v-be3b3e45"), o = o(), Ae(), o), ql = { class: "left-pick-list" }, Zl = {
|
|
958
1011
|
key: 1,
|
|
959
1012
|
class: "role-view-list"
|
|
960
|
-
},
|
|
1013
|
+
}, Kl = { class: "iconBox" }, Yl = ["title"], Jl = {
|
|
961
1014
|
key: 1,
|
|
962
1015
|
class: "checkText"
|
|
963
|
-
},
|
|
1016
|
+
}, es = /* @__PURE__ */ Ie(() => /* @__PURE__ */ n(
|
|
964
1017
|
"div",
|
|
965
1018
|
{ class: "side" },
|
|
966
1019
|
null,
|
|
967
1020
|
-1
|
|
968
1021
|
/* HOISTED */
|
|
969
|
-
)),
|
|
1022
|
+
)), ts = { class: "iconBox" }, ls = ["title"], ss = { class: "ik-picker-single" }, as = { class: "iconBox" }, os = ["title"], ns = {
|
|
970
1023
|
key: 1,
|
|
971
1024
|
class: "checkText"
|
|
972
|
-
},
|
|
1025
|
+
}, is = /* @__PURE__ */ Ie(() => /* @__PURE__ */ n(
|
|
973
1026
|
"div",
|
|
974
1027
|
{ class: "side" },
|
|
975
1028
|
null,
|
|
976
1029
|
-1
|
|
977
1030
|
/* HOISTED */
|
|
978
|
-
)),
|
|
1031
|
+
)), rs = { class: "iconBox" }, ps = ["title"], ds = {
|
|
979
1032
|
key: 2,
|
|
980
1033
|
class: "empty"
|
|
981
1034
|
}, us = /* @__PURE__ */ Ie(() => /* @__PURE__ */ n(
|
|
982
1035
|
"img",
|
|
983
1036
|
{
|
|
984
|
-
src:
|
|
1037
|
+
src: Se,
|
|
985
1038
|
alt: ""
|
|
986
1039
|
},
|
|
987
1040
|
null,
|
|
988
1041
|
-1
|
|
989
1042
|
/* HOISTED */
|
|
990
|
-
)),
|
|
1043
|
+
)), cs = /* @__PURE__ */ oe({
|
|
991
1044
|
__name: "RoleList",
|
|
992
|
-
props:
|
|
1045
|
+
props: Ue,
|
|
993
1046
|
emits: ["change", "check"],
|
|
994
1047
|
setup(o, { emit: v }) {
|
|
995
1048
|
var D, y;
|
|
996
|
-
const e = o, l =
|
|
1049
|
+
const e = o, l = U(() => {
|
|
997
1050
|
var i, A;
|
|
998
1051
|
return ((i = e.handList) == null ? void 0 : i.length) === ((A = e.list) == null ? void 0 : A.length);
|
|
999
|
-
}),
|
|
1000
|
-
var t, r, h,
|
|
1052
|
+
}), k = U(() => {
|
|
1053
|
+
var t, r, h, u;
|
|
1001
1054
|
const i = (t = e.handList) == null ? void 0 : t.length, A = (r = e.list) == null ? void 0 : r.length;
|
|
1002
|
-
return e.multiple ?
|
|
1003
|
-
}),
|
|
1055
|
+
return e.multiple ? _.value = e.handList.map((S) => S[e.fixPropOpt.id]) : b.value = (u = (h = e.handList) == null ? void 0 : h[0]) == null ? void 0 : u[e.fixPropOpt.id], i > 0 && i < A;
|
|
1056
|
+
}), _ = E(
|
|
1004
1057
|
e.handList.map((i) => i[e.fixPropOpt.id])
|
|
1005
1058
|
), b = E((y = (D = e.handList) == null ? void 0 : D[0]) == null ? void 0 : y[e.fixPropOpt.id]), C = v, p = (i) => {
|
|
1006
1059
|
const A = i ? e.list.map((t) => t[e.fixPropOpt.id]) : [];
|
|
@@ -1010,17 +1063,17 @@ const Ql = /* @__PURE__ */ G(zl, [["__scopeId", "data-v-e03f0d36"]]), Ie = (o) =
|
|
|
1010
1063
|
}, V = (i) => {
|
|
1011
1064
|
C("change", i, e.list);
|
|
1012
1065
|
};
|
|
1013
|
-
return (i, A) => (a(),
|
|
1066
|
+
return (i, A) => (a(), d(
|
|
1014
1067
|
N,
|
|
1015
1068
|
null,
|
|
1016
1069
|
[
|
|
1017
|
-
|
|
1018
|
-
n("div",
|
|
1019
|
-
i.multiple && i.chooseType.includes("role") && i.list && i.list.length ? (a(), B(
|
|
1070
|
+
x(" 遍历list多选 "),
|
|
1071
|
+
n("div", ql, [
|
|
1072
|
+
i.multiple && i.chooseType.includes("role") && i.list && i.list.length ? (a(), B(O(ae), {
|
|
1020
1073
|
key: 0,
|
|
1021
1074
|
modelValue: l.value,
|
|
1022
1075
|
"onUpdate:modelValue": A[0] || (A[0] = (t) => l.value = t),
|
|
1023
|
-
indeterminate:
|
|
1076
|
+
indeterminate: k.value,
|
|
1024
1077
|
onChange: p
|
|
1025
1078
|
}, {
|
|
1026
1079
|
default: I(() => [
|
|
@@ -1028,29 +1081,29 @@ const Ql = /* @__PURE__ */ G(zl, [["__scopeId", "data-v-e03f0d36"]]), Ie = (o) =
|
|
|
1028
1081
|
]),
|
|
1029
1082
|
_: 1
|
|
1030
1083
|
/* STABLE */
|
|
1031
|
-
}, 8, ["modelValue", "indeterminate"])) :
|
|
1032
|
-
i.list && i.list.length ? (a(),
|
|
1033
|
-
i.multiple ? (a(), B(
|
|
1084
|
+
}, 8, ["modelValue", "indeterminate"])) : x("v-if", !0),
|
|
1085
|
+
i.list && i.list.length ? (a(), d("ul", Zl, [
|
|
1086
|
+
i.multiple ? (a(), B(O(Le), {
|
|
1034
1087
|
key: 0,
|
|
1035
|
-
modelValue:
|
|
1036
|
-
"onUpdate:modelValue": A[1] || (A[1] = (t) =>
|
|
1088
|
+
modelValue: _.value,
|
|
1089
|
+
"onUpdate:modelValue": A[1] || (A[1] = (t) => _.value = t),
|
|
1037
1090
|
onChange: F
|
|
1038
1091
|
}, {
|
|
1039
1092
|
default: I(() => [
|
|
1040
|
-
(a(!0),
|
|
1093
|
+
(a(!0), d(
|
|
1041
1094
|
N,
|
|
1042
1095
|
null,
|
|
1043
|
-
W(i.list, (t) => (a(),
|
|
1096
|
+
W(i.list, (t) => (a(), d("li", {
|
|
1044
1097
|
key: t[i.fixPropOpt.id]
|
|
1045
1098
|
}, [
|
|
1046
|
-
i.chooseType.includes(t[e.fixPropOpt.type].toLowerCase()) ? (a(), B(
|
|
1099
|
+
i.chooseType.includes(t[e.fixPropOpt.type].toLowerCase()) ? (a(), B(O(ae), {
|
|
1047
1100
|
key: 0,
|
|
1048
1101
|
label: t[i.fixPropOpt.id],
|
|
1049
1102
|
value: t[i.fixPropOpt.id],
|
|
1050
1103
|
disabled: t.disabled
|
|
1051
1104
|
}, {
|
|
1052
1105
|
default: I(() => [
|
|
1053
|
-
n("div",
|
|
1106
|
+
n("div", Kl, [
|
|
1054
1107
|
w($, {
|
|
1055
1108
|
fixTypeOpt: e.fixTypeOpt,
|
|
1056
1109
|
fixPropOpt: e.fixPropOpt,
|
|
@@ -1060,13 +1113,13 @@ const Ql = /* @__PURE__ */ G(zl, [["__scopeId", "data-v-e03f0d36"]]), Ie = (o) =
|
|
|
1060
1113
|
]),
|
|
1061
1114
|
n("p", {
|
|
1062
1115
|
title: t[i.fixPropOpt.name]
|
|
1063
|
-
},
|
|
1116
|
+
}, P(t[i.fixPropOpt.name]), 9, Yl)
|
|
1064
1117
|
]),
|
|
1065
1118
|
_: 2
|
|
1066
1119
|
/* DYNAMIC */
|
|
1067
|
-
}, 1032, ["label", "value", "disabled"])) : (a(),
|
|
1068
|
-
|
|
1069
|
-
n("div",
|
|
1120
|
+
}, 1032, ["label", "value", "disabled"])) : (a(), d("div", Jl, [
|
|
1121
|
+
es,
|
|
1122
|
+
n("div", ts, [
|
|
1070
1123
|
w($, {
|
|
1071
1124
|
fixTypeOpt: e.fixTypeOpt,
|
|
1072
1125
|
fixPropOpt: e.fixPropOpt,
|
|
@@ -1077,7 +1130,7 @@ const Ql = /* @__PURE__ */ G(zl, [["__scopeId", "data-v-e03f0d36"]]), Ie = (o) =
|
|
|
1077
1130
|
n("div", {
|
|
1078
1131
|
class: "title",
|
|
1079
1132
|
title: t[i.fixPropOpt.name]
|
|
1080
|
-
},
|
|
1133
|
+
}, P(t[i.fixPropOpt.name]), 9, ls)
|
|
1081
1134
|
]))
|
|
1082
1135
|
]))),
|
|
1083
1136
|
128
|
|
@@ -1086,30 +1139,30 @@ const Ql = /* @__PURE__ */ G(zl, [["__scopeId", "data-v-e03f0d36"]]), Ie = (o) =
|
|
|
1086
1139
|
]),
|
|
1087
1140
|
_: 1
|
|
1088
1141
|
/* STABLE */
|
|
1089
|
-
}, 8, ["modelValue"])) : (a(), B(
|
|
1142
|
+
}, 8, ["modelValue"])) : (a(), B(O(be), {
|
|
1090
1143
|
key: 1,
|
|
1091
|
-
indeterminate:
|
|
1144
|
+
indeterminate: k.value,
|
|
1092
1145
|
modelValue: b.value,
|
|
1093
1146
|
"onUpdate:modelValue": A[2] || (A[2] = (t) => b.value = t),
|
|
1094
1147
|
onChange: V
|
|
1095
1148
|
}, {
|
|
1096
1149
|
default: I(() => [
|
|
1097
|
-
(a(!0),
|
|
1150
|
+
(a(!0), d(
|
|
1098
1151
|
N,
|
|
1099
1152
|
null,
|
|
1100
|
-
W(i.list, (t) => (a(),
|
|
1153
|
+
W(i.list, (t) => (a(), d("li", {
|
|
1101
1154
|
class: "w-full",
|
|
1102
1155
|
key: t[i.fixPropOpt.id]
|
|
1103
1156
|
}, [
|
|
1104
|
-
i.chooseType.includes(t[e.fixPropOpt.type].toLowerCase()) ? (a(), B(
|
|
1157
|
+
i.chooseType.includes(t[e.fixPropOpt.type].toLowerCase()) ? (a(), B(O(Ce), {
|
|
1105
1158
|
key: 0,
|
|
1106
1159
|
label: t[i.fixPropOpt.id],
|
|
1107
1160
|
value: t[i.fixPropOpt.id],
|
|
1108
1161
|
disabled: t.disabled
|
|
1109
1162
|
}, {
|
|
1110
1163
|
default: I(() => [
|
|
1111
|
-
n("div",
|
|
1112
|
-
n("div",
|
|
1164
|
+
n("div", ss, [
|
|
1165
|
+
n("div", as, [
|
|
1113
1166
|
w($, {
|
|
1114
1167
|
fixTypeOpt: e.fixTypeOpt,
|
|
1115
1168
|
fixPropOpt: e.fixPropOpt,
|
|
@@ -1119,14 +1172,14 @@ const Ql = /* @__PURE__ */ G(zl, [["__scopeId", "data-v-e03f0d36"]]), Ie = (o) =
|
|
|
1119
1172
|
]),
|
|
1120
1173
|
n("p", {
|
|
1121
1174
|
title: t[i.fixPropOpt.name]
|
|
1122
|
-
},
|
|
1175
|
+
}, P(t[i.fixPropOpt.name]), 9, os)
|
|
1123
1176
|
])
|
|
1124
1177
|
]),
|
|
1125
1178
|
_: 2
|
|
1126
1179
|
/* DYNAMIC */
|
|
1127
|
-
}, 1032, ["label", "value", "disabled"])) : (a(),
|
|
1128
|
-
|
|
1129
|
-
n("div",
|
|
1180
|
+
}, 1032, ["label", "value", "disabled"])) : (a(), d("div", ns, [
|
|
1181
|
+
is,
|
|
1182
|
+
n("div", rs, [
|
|
1130
1183
|
w($, {
|
|
1131
1184
|
fixTypeOpt: e.fixTypeOpt,
|
|
1132
1185
|
fixPropOpt: e.fixPropOpt,
|
|
@@ -1137,7 +1190,7 @@ const Ql = /* @__PURE__ */ G(zl, [["__scopeId", "data-v-e03f0d36"]]), Ie = (o) =
|
|
|
1137
1190
|
n("div", {
|
|
1138
1191
|
class: "title",
|
|
1139
1192
|
title: t[i.fixPropOpt.name]
|
|
1140
|
-
},
|
|
1193
|
+
}, P(t[i.fixPropOpt.name]), 9, ps)
|
|
1141
1194
|
]))
|
|
1142
1195
|
]))),
|
|
1143
1196
|
128
|
|
@@ -1147,12 +1200,12 @@ const Ql = /* @__PURE__ */ G(zl, [["__scopeId", "data-v-e03f0d36"]]), Ie = (o) =
|
|
|
1147
1200
|
_: 1
|
|
1148
1201
|
/* STABLE */
|
|
1149
1202
|
}, 8, ["indeterminate", "modelValue"]))
|
|
1150
|
-
])) : (a(),
|
|
1203
|
+
])) : (a(), d("div", ds, [
|
|
1151
1204
|
us,
|
|
1152
1205
|
n(
|
|
1153
1206
|
"div",
|
|
1154
1207
|
null,
|
|
1155
|
-
|
|
1208
|
+
P(e.emptyText),
|
|
1156
1209
|
1
|
|
1157
1210
|
/* TEXT */
|
|
1158
1211
|
)
|
|
@@ -1164,9 +1217,9 @@ const Ql = /* @__PURE__ */ G(zl, [["__scopeId", "data-v-e03f0d36"]]), Ie = (o) =
|
|
|
1164
1217
|
));
|
|
1165
1218
|
}
|
|
1166
1219
|
});
|
|
1167
|
-
const
|
|
1220
|
+
const fs = /* @__PURE__ */ G(cs, [["__scopeId", "data-v-be3b3e45"]]);
|
|
1168
1221
|
var re = /* @__PURE__ */ ((o) => (o.group = "group", o.role = "role", o.post = "post", o))(re || {});
|
|
1169
|
-
const
|
|
1222
|
+
const hs = {
|
|
1170
1223
|
// 是否允许选择子集
|
|
1171
1224
|
children: {
|
|
1172
1225
|
type: Boolean,
|
|
@@ -1339,10 +1392,10 @@ const fs = {
|
|
|
1339
1392
|
}, We = (o) => {
|
|
1340
1393
|
const v = window.location.search;
|
|
1341
1394
|
return new URLSearchParams(v).get(o);
|
|
1342
|
-
},
|
|
1395
|
+
}, As = (o) => {
|
|
1343
1396
|
const v = fe.local.getItem("x_domain");
|
|
1344
1397
|
v && (o["X-DOMAIN"] = v);
|
|
1345
|
-
},
|
|
1398
|
+
}, vs = (o) => {
|
|
1346
1399
|
var e;
|
|
1347
1400
|
const v = We("domain");
|
|
1348
1401
|
if (v) {
|
|
@@ -1350,14 +1403,14 @@ const fs = {
|
|
|
1350
1403
|
const l = We("code");
|
|
1351
1404
|
v === "APPLICATION" && (o["X-APP"] = l);
|
|
1352
1405
|
} else
|
|
1353
|
-
|
|
1406
|
+
As(o);
|
|
1354
1407
|
(e = fe.local.getItem("tenant")) == null || e.code;
|
|
1355
|
-
},
|
|
1356
|
-
const e = E([]), l = async (
|
|
1408
|
+
}, ys = (o, v) => {
|
|
1409
|
+
const e = E([]), l = async (_, b) => {
|
|
1357
1410
|
var Z, L;
|
|
1358
1411
|
const { url: C, methods: p, headers: F, param: V } = o.value || {}, D = {
|
|
1359
1412
|
...V || {},
|
|
1360
|
-
parentDepartmentId:
|
|
1413
|
+
parentDepartmentId: _ || "",
|
|
1361
1414
|
name: b || "",
|
|
1362
1415
|
rootDepartmentOnly: v.rootDepartmentOnly,
|
|
1363
1416
|
dataScopeOnly: v.dataScopeOnly
|
|
@@ -1370,8 +1423,8 @@ const fs = {
|
|
|
1370
1423
|
},
|
|
1371
1424
|
data: JSON.stringify(D)
|
|
1372
1425
|
};
|
|
1373
|
-
|
|
1374
|
-
const i = await
|
|
1426
|
+
vs(y.headers);
|
|
1427
|
+
const i = await ft(y), { success: A, data: t } = i.data;
|
|
1375
1428
|
if (!A)
|
|
1376
1429
|
return {
|
|
1377
1430
|
groupList: [],
|
|
@@ -1384,8 +1437,8 @@ const fs = {
|
|
|
1384
1437
|
const {
|
|
1385
1438
|
departments: r,
|
|
1386
1439
|
roles: h,
|
|
1387
|
-
posts:
|
|
1388
|
-
users:
|
|
1440
|
+
posts: u,
|
|
1441
|
+
users: S,
|
|
1389
1442
|
rootOrganization: c,
|
|
1390
1443
|
rootDepartment: M
|
|
1391
1444
|
} = t, q = c || M;
|
|
@@ -1399,87 +1452,87 @@ const fs = {
|
|
|
1399
1452
|
}), {
|
|
1400
1453
|
groupList: X.cloneDeep(r),
|
|
1401
1454
|
roleList: X.cloneDeep(h),
|
|
1402
|
-
postList: X.cloneDeep(
|
|
1403
|
-
userList: X.cloneDeep(
|
|
1455
|
+
postList: X.cloneDeep(u),
|
|
1456
|
+
userList: X.cloneDeep(S),
|
|
1404
1457
|
rootOrganization: c,
|
|
1405
1458
|
rootDepartment: M
|
|
1406
1459
|
};
|
|
1407
1460
|
};
|
|
1408
1461
|
return {
|
|
1409
1462
|
handData: l,
|
|
1410
|
-
handSetChild: (
|
|
1411
|
-
l(
|
|
1463
|
+
handSetChild: (_, b) => {
|
|
1464
|
+
l(_ == null ? void 0 : _.elementId, b);
|
|
1412
1465
|
},
|
|
1413
1466
|
bannerList: e
|
|
1414
1467
|
};
|
|
1415
|
-
},
|
|
1468
|
+
}, ms = {
|
|
1416
1469
|
shadow: "hover",
|
|
1417
1470
|
class: "sel-list"
|
|
1418
|
-
}, gs = { key: 0 },
|
|
1471
|
+
}, gs = { key: 0 }, xs = /* @__PURE__ */ n(
|
|
1419
1472
|
"div",
|
|
1420
1473
|
{ class: "split-div" },
|
|
1421
1474
|
null,
|
|
1422
1475
|
-1
|
|
1423
1476
|
/* HOISTED */
|
|
1424
|
-
), _s = { class: "choose-list" },
|
|
1477
|
+
), _s = { class: "choose-list" }, Os = { class: "choose-item" }, Ps = /* @__PURE__ */ n(
|
|
1425
1478
|
"div",
|
|
1426
1479
|
null,
|
|
1427
1480
|
"已选",
|
|
1428
1481
|
-1
|
|
1429
1482
|
/* HOISTED */
|
|
1430
|
-
),
|
|
1483
|
+
), Ts = { class: "choose-box" }, ks = { class: "list-group-item" }, Ls = { class: "item_info" }, bs = { class: "avatar_box" }, Cs = { class: "dialog-footer" }, Ss = /* @__PURE__ */ oe({
|
|
1431
1484
|
__name: "picker",
|
|
1432
|
-
props:
|
|
1485
|
+
props: hs,
|
|
1433
1486
|
emits: ["handChild", "update:show", "update:modelValue", "ok", "search"],
|
|
1434
1487
|
setup(o, { expose: v, emit: e }) {
|
|
1435
|
-
|
|
1488
|
+
ot((s) => ({
|
|
1436
1489
|
"204e6f3a": De.value
|
|
1437
1490
|
}));
|
|
1438
|
-
const l = o,
|
|
1491
|
+
const l = o, k = E(""), _ = E(""), b = E([]), C = E([]), p = E([]), F = E([]), V = E(!1), D = U(() => j.value.includes("user") ? C.value.concat(b.value) : C.value);
|
|
1439
1492
|
K(
|
|
1440
1493
|
() => l.api,
|
|
1441
1494
|
() => {
|
|
1442
1495
|
l.show && Z("");
|
|
1443
1496
|
}
|
|
1444
1497
|
);
|
|
1445
|
-
const y =
|
|
1498
|
+
const y = U(() => ({
|
|
1446
1499
|
name: "name",
|
|
1447
1500
|
type: "type",
|
|
1448
1501
|
id: "id",
|
|
1449
1502
|
avatar: "avatar",
|
|
1450
1503
|
...l.propOption
|
|
1451
|
-
})), i =
|
|
1504
|
+
})), i = U(() => ({
|
|
1452
1505
|
user: "USER",
|
|
1453
1506
|
role: "ROLE",
|
|
1454
1507
|
post: "POST",
|
|
1455
1508
|
group: "DEPT",
|
|
1456
1509
|
...l.typeOption
|
|
1457
|
-
})), A = E([]), t =
|
|
1458
|
-
l.immediate && r(
|
|
1459
|
-
const
|
|
1460
|
-
var
|
|
1461
|
-
f.disabled = ((
|
|
1462
|
-
(
|
|
1463
|
-
)) == null ? void 0 :
|
|
1464
|
-
}), s),
|
|
1465
|
-
var s, f,
|
|
1510
|
+
})), A = E([]), t = ys(nt(l, "api"), l), r = t.handData, h = t.bannerList;
|
|
1511
|
+
l.immediate && r(_.value, k.value);
|
|
1512
|
+
const u = (s) => (s.forEach((f) => {
|
|
1513
|
+
var m, g;
|
|
1514
|
+
f.disabled = ((g = (m = l.modelValue) == null ? void 0 : m.find(
|
|
1515
|
+
(T) => T[y.value.id] === f[y.value.id]
|
|
1516
|
+
)) == null ? void 0 : g.disabled) || !1;
|
|
1517
|
+
}), s), S = async () => {
|
|
1518
|
+
var s, f, m, g, T, z, _e, Re;
|
|
1466
1519
|
V.value = !0;
|
|
1467
1520
|
try {
|
|
1468
|
-
if ((s = l.groupList) != null && s.length || (f = l.userList) != null && f.length || (
|
|
1469
|
-
b.value = (
|
|
1470
|
-
(Q) => Q[y.value.name].includes(
|
|
1521
|
+
if ((s = l.groupList) != null && s.length || (f = l.userList) != null && f.length || (m = l.roleList) != null && m.length || (g = l.postList) != null && g.length) {
|
|
1522
|
+
b.value = (T = l.userList) == null ? void 0 : T.filter(
|
|
1523
|
+
(Q) => Q[y.value.name].includes(k.value)
|
|
1471
1524
|
), C.value = (z = l.groupList) == null ? void 0 : z.filter(
|
|
1472
|
-
(Q) => Q[y.value.name].includes(
|
|
1473
|
-
), p.value = (
|
|
1474
|
-
(Q) => Q[y.value.name].includes(
|
|
1525
|
+
(Q) => Q[y.value.name].includes(k.value)
|
|
1526
|
+
), p.value = (_e = l.roleList) == null ? void 0 : _e.filter(
|
|
1527
|
+
(Q) => Q[y.value.name].includes(k.value)
|
|
1475
1528
|
), F.value = (Re = l.postList) == null ? void 0 : Re.filter(
|
|
1476
|
-
(Q) => Q[y.value.name].includes(
|
|
1529
|
+
(Q) => Q[y.value.name].includes(k.value)
|
|
1477
1530
|
), ye(), V.value = !1;
|
|
1478
1531
|
return;
|
|
1479
1532
|
}
|
|
1480
|
-
const R = await r(
|
|
1533
|
+
const R = await r(_.value, k.value);
|
|
1481
1534
|
try {
|
|
1482
|
-
b.value =
|
|
1535
|
+
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) || []);
|
|
1483
1536
|
} catch (Q) {
|
|
1484
1537
|
V.value = !1, console.info("error: ", Q);
|
|
1485
1538
|
}
|
|
@@ -1503,29 +1556,29 @@ const fs = {
|
|
|
1503
1556
|
}), M = Te({
|
|
1504
1557
|
indeterminate: !1,
|
|
1505
1558
|
checkAll: 0
|
|
1506
|
-
}), q = (s) => c.group.has(s) || c.user.has(s) || c.role.has(s) || c.post.has(s), Z =
|
|
1507
|
-
const s = Array.from(c.group.values()), f = Array.from(c.role.values()),
|
|
1508
|
-
return A.value = [...f, ...
|
|
1509
|
-
list: [...f, ...
|
|
1559
|
+
}), q = (s) => c.group.has(s) || c.user.has(s) || c.role.has(s) || c.post.has(s), Z = rt.debounce(S, 300), L = U(() => {
|
|
1560
|
+
const s = Array.from(c.group.values()), f = Array.from(c.role.values()), m = Array.from(c.user.values()), g = Array.from(c.post.values());
|
|
1561
|
+
return A.value = [...f, ...g, ...m, ...s], {
|
|
1562
|
+
list: [...f, ...m, ...g, ...s],
|
|
1510
1563
|
role: {
|
|
1511
1564
|
list: f,
|
|
1512
1565
|
len: f.length
|
|
1513
1566
|
},
|
|
1514
1567
|
user: {
|
|
1515
|
-
list: g,
|
|
1516
|
-
len: g.length
|
|
1517
|
-
},
|
|
1518
|
-
post: {
|
|
1519
1568
|
list: m,
|
|
1520
1569
|
len: m.length
|
|
1521
1570
|
},
|
|
1571
|
+
post: {
|
|
1572
|
+
list: g,
|
|
1573
|
+
len: g.length
|
|
1574
|
+
},
|
|
1522
1575
|
groups: {
|
|
1523
1576
|
list: s,
|
|
1524
1577
|
len: s.length
|
|
1525
1578
|
}
|
|
1526
1579
|
};
|
|
1527
|
-
}), j =
|
|
1528
|
-
const s = l.chooseType.map((
|
|
1580
|
+
}), j = U(() => {
|
|
1581
|
+
const s = l.chooseType.map((m) => m.toLocaleLowerCase());
|
|
1529
1582
|
let f = [...s];
|
|
1530
1583
|
return s.includes("dep") && (f = [...f, "dept"]), s.includes("dep_user") && (f = [...f, "user"]), f;
|
|
1531
1584
|
}), H = E([]), Ee = (s) => {
|
|
@@ -1533,8 +1586,8 @@ const fs = {
|
|
|
1533
1586
|
f.readonly = f == null ? void 0 : f.disabled;
|
|
1534
1587
|
});
|
|
1535
1588
|
}, pe = e, ve = E(!1), ye = (s = !1) => {
|
|
1536
|
-
var
|
|
1537
|
-
const f = (
|
|
1589
|
+
var m;
|
|
1590
|
+
const f = (m = l == null ? void 0 : l.userList) != null && m.length ? X.cloneDeep([...l == null ? void 0 : l.userList, ...l == null ? void 0 : l.groupList]) : [...C.value, ...b.value];
|
|
1538
1591
|
return !s && Ee(f), f;
|
|
1539
1592
|
};
|
|
1540
1593
|
K(
|
|
@@ -1542,14 +1595,14 @@ const fs = {
|
|
|
1542
1595
|
async (s) => {
|
|
1543
1596
|
var f;
|
|
1544
1597
|
if (ve.value = s, s) {
|
|
1545
|
-
|
|
1546
|
-
const
|
|
1547
|
-
for (const
|
|
1548
|
-
q(
|
|
1549
|
-
const
|
|
1550
|
-
M.indeterminate = !!(
|
|
1551
|
-
var
|
|
1552
|
-
(
|
|
1598
|
+
_.value = ((f = l.org) == null ? void 0 : f.elementId) || l.orgPid, !l.userList.length && !l.groupList.length && !l.roleList.length && !l.postList.length ? await S() : (b.value = l.userList, C.value = l.groupList, p.value = l.roleList, F.value = l.postList), c.trans = [], M.checkAll = 0, M.indeterminate = !1;
|
|
1599
|
+
const m = ye(!0);
|
|
1600
|
+
for (const T of m)
|
|
1601
|
+
q(T[y.value.id]) && c.trans.push(T[y.value.id]);
|
|
1602
|
+
const g = m.length === c.trans.length;
|
|
1603
|
+
M.indeterminate = !!(m.length && !g), M.checkAll = Number(m.length && g), ke(() => {
|
|
1604
|
+
var T;
|
|
1605
|
+
(T = l.modelValue) != null && T.length ? l.modelValue.forEach((z) => {
|
|
1553
1606
|
ee(z), l.multiple ? c.trans.push(z[y.value.id]) : c.single = z[y.value.id];
|
|
1554
1607
|
}) : le();
|
|
1555
1608
|
});
|
|
@@ -1573,10 +1626,10 @@ const fs = {
|
|
|
1573
1626
|
var f;
|
|
1574
1627
|
if (s) {
|
|
1575
1628
|
if (c.single = "", s[y.value.id]) {
|
|
1576
|
-
const
|
|
1577
|
-
(
|
|
1629
|
+
const m = (f = c.trans) == null ? void 0 : f.findIndex(
|
|
1630
|
+
(g) => g === s[y.value.id]
|
|
1578
1631
|
);
|
|
1579
|
-
|
|
1632
|
+
m !== -1 && c.trans.splice(m, 1);
|
|
1580
1633
|
}
|
|
1581
1634
|
switch (s[y.value.type]) {
|
|
1582
1635
|
case i.value.user:
|
|
@@ -1612,7 +1665,7 @@ const fs = {
|
|
|
1612
1665
|
return;
|
|
1613
1666
|
}
|
|
1614
1667
|
}
|
|
1615
|
-
},
|
|
1668
|
+
}, Qe = (s) => [i.value.group].includes(
|
|
1616
1669
|
s[y.value.type]
|
|
1617
1670
|
) ? s == null ? void 0 : s.hasOwnProperty("disabled") : !1;
|
|
1618
1671
|
K(
|
|
@@ -1628,15 +1681,15 @@ const fs = {
|
|
|
1628
1681
|
});
|
|
1629
1682
|
else {
|
|
1630
1683
|
const f = H.value.filter(
|
|
1631
|
-
(
|
|
1684
|
+
(g) => !s.includes(g[y.value.id])
|
|
1632
1685
|
);
|
|
1633
|
-
for (const
|
|
1634
|
-
|
|
1635
|
-
const
|
|
1636
|
-
(
|
|
1686
|
+
for (const g of f)
|
|
1687
|
+
g.disabled = !1, l.multiple && J(g);
|
|
1688
|
+
const m = H.value.filter(
|
|
1689
|
+
(g) => s.includes(g[y.value.id])
|
|
1637
1690
|
);
|
|
1638
|
-
for (const
|
|
1639
|
-
|
|
1691
|
+
for (const g of m)
|
|
1692
|
+
g.disabled = Qe(g), ee(g);
|
|
1640
1693
|
}
|
|
1641
1694
|
},
|
|
1642
1695
|
{ deep: !0 }
|
|
@@ -1645,26 +1698,26 @@ const fs = {
|
|
|
1645
1698
|
(s) => {
|
|
1646
1699
|
var f;
|
|
1647
1700
|
if (s) {
|
|
1648
|
-
const
|
|
1649
|
-
|
|
1650
|
-
ee(
|
|
1701
|
+
const m = (f = H.value) == null ? void 0 : f.find((g) => g[y.value.id] === s);
|
|
1702
|
+
m && (c.user.clear(), c.role.clear(), c.post.clear(), c.group.clear(), c.trans = [], ke(() => {
|
|
1703
|
+
ee(m);
|
|
1651
1704
|
}));
|
|
1652
1705
|
}
|
|
1653
1706
|
}
|
|
1654
1707
|
);
|
|
1655
|
-
const
|
|
1656
|
-
|
|
1657
|
-
}, Ne =
|
|
1658
|
-
!f && !l.topLink || f !== Ne.value - 1 && (
|
|
1659
|
-
},
|
|
1708
|
+
const Xe = (s) => {
|
|
1709
|
+
_.value = s == null ? void 0 : s.elementId, S(), h.value.push(s);
|
|
1710
|
+
}, Ne = U(() => h.value.length), qe = (s, f) => {
|
|
1711
|
+
!f && !l.topLink || f !== Ne.value - 1 && (_.value = s == null ? void 0 : s.elementId, S(), h.value.splice(f + 1));
|
|
1712
|
+
}, Ze = U(
|
|
1660
1713
|
() => l.chooseType.includes("role") && l.chooseType.length === 1
|
|
1661
|
-
),
|
|
1714
|
+
), Ke = U(
|
|
1662
1715
|
() => l.chooseType.includes("post") && l.chooseType.length === 1
|
|
1663
|
-
),
|
|
1664
|
-
$e(() => (te.value =
|
|
1716
|
+
), de = E(l.tabs[0]), te = E(l.tabs[0]);
|
|
1717
|
+
$e(() => (te.value = Ze.value ? l.tabs[1] : Ke.value ? l.tabs[2] : de.value, te.value));
|
|
1665
1718
|
const le = () => {
|
|
1666
|
-
c.user.clear(), c.role.clear(), c.post.clear(), c.group.clear(), c.trans = [],
|
|
1667
|
-
},
|
|
1719
|
+
c.user.clear(), c.role.clear(), c.post.clear(), c.group.clear(), c.trans = [], ge.value = [], xe.value = [], de.value = l.tabs[0], te.value = l.tabs[0], k.value = "", _.value = l.orgPid, h.value.splice(1, h.value.length), c.single = "", A.value = [];
|
|
1720
|
+
}, Ye = () => {
|
|
1668
1721
|
var s;
|
|
1669
1722
|
pe(
|
|
1670
1723
|
"ok",
|
|
@@ -1679,70 +1732,70 @@ const fs = {
|
|
|
1679
1732
|
pe("update:show", !1), le();
|
|
1680
1733
|
};
|
|
1681
1734
|
v({ handClear: le, handRomeve: Ve, handDelete: J });
|
|
1682
|
-
const
|
|
1735
|
+
const Je = U(() => {
|
|
1683
1736
|
const s = j.value;
|
|
1684
1737
|
return !!((s.includes("post") || s.includes("role")) && s.length > 1);
|
|
1685
|
-
}),
|
|
1738
|
+
}), et = U(() => [
|
|
1686
1739
|
{ name: "group", label: "组织架构" },
|
|
1687
1740
|
{ name: "role", label: "角色列表" },
|
|
1688
1741
|
{ name: "post", label: "岗位列表" }
|
|
1689
|
-
].filter((s) => l.tabs.includes(s.name))), De =
|
|
1742
|
+
].filter((s) => l.tabs.includes(s.name))), De = U(
|
|
1690
1743
|
() => `${typeof l.height == "string" ? Number.parseInt(l.height) : l.height}px`
|
|
1691
|
-
),
|
|
1744
|
+
), me = () => {
|
|
1692
1745
|
l.multiple || (c.post.clear(), c.role.clear(), c.user.clear(), c.group.clear(), c.single = "");
|
|
1693
|
-
},
|
|
1746
|
+
}, tt = U(() => L.value.groups.list.concat(L.value.user.list)), lt = (s, f) => {
|
|
1694
1747
|
l.multiple || (c.single = "");
|
|
1695
|
-
const
|
|
1696
|
-
if (!
|
|
1748
|
+
const m = l.multiple ? s : [s];
|
|
1749
|
+
if (!m.length) {
|
|
1697
1750
|
c.group.clear(), c.user.clear();
|
|
1698
1751
|
return;
|
|
1699
1752
|
}
|
|
1700
|
-
|
|
1701
|
-
|
|
1753
|
+
me(), f.forEach((g) => {
|
|
1754
|
+
m != null && m.includes(g[y.value.id]) ? ee(g) : J(g);
|
|
1702
1755
|
});
|
|
1703
|
-
},
|
|
1756
|
+
}, ge = E([]), st = (s, f) => {
|
|
1704
1757
|
l.multiple || (c.single = "");
|
|
1705
|
-
const
|
|
1706
|
-
if (!
|
|
1758
|
+
const m = l.multiple ? s : [s];
|
|
1759
|
+
if (!m.length) {
|
|
1707
1760
|
c.role.clear();
|
|
1708
1761
|
return;
|
|
1709
1762
|
}
|
|
1710
|
-
|
|
1711
|
-
|
|
1763
|
+
me(), f.forEach((g) => {
|
|
1764
|
+
m != null && m.includes(g[y.value.id]) ? ee(g) : J(g);
|
|
1712
1765
|
});
|
|
1713
1766
|
};
|
|
1714
1767
|
K(
|
|
1715
1768
|
() => L.value.role.len,
|
|
1716
1769
|
(s) => {
|
|
1717
|
-
|
|
1770
|
+
ge.value = X.cloneDeep(L.value.role.list);
|
|
1718
1771
|
}
|
|
1719
1772
|
);
|
|
1720
|
-
const
|
|
1773
|
+
const xe = E([]), at = (s, f) => {
|
|
1721
1774
|
l.multiple || (c.single = "");
|
|
1722
|
-
const
|
|
1723
|
-
if (!
|
|
1775
|
+
const m = l.multiple ? s : [s];
|
|
1776
|
+
if (!m.length) {
|
|
1724
1777
|
c.post.clear();
|
|
1725
1778
|
return;
|
|
1726
1779
|
}
|
|
1727
|
-
|
|
1728
|
-
|
|
1780
|
+
me(), f.forEach((g) => {
|
|
1781
|
+
m != null && m.includes(g[y.value.id]) ? ee(g) : J(g);
|
|
1729
1782
|
});
|
|
1730
1783
|
};
|
|
1731
1784
|
return K(
|
|
1732
1785
|
() => L.value.post.len,
|
|
1733
1786
|
(s) => {
|
|
1734
|
-
|
|
1787
|
+
xe.value = X.cloneDeep(L.value.post.list);
|
|
1735
1788
|
}
|
|
1736
1789
|
), K(
|
|
1737
|
-
() =>
|
|
1790
|
+
() => k.value,
|
|
1738
1791
|
(s) => {
|
|
1739
1792
|
Z("");
|
|
1740
1793
|
}
|
|
1741
1794
|
), (s, f) => {
|
|
1742
|
-
const
|
|
1743
|
-
return a(), B(
|
|
1795
|
+
const m = ce("el-tab-pane"), g = ce("el-tabs");
|
|
1796
|
+
return a(), B(O(pt), {
|
|
1744
1797
|
modelValue: ve.value,
|
|
1745
|
-
"onUpdate:modelValue": f[2] || (f[2] = (
|
|
1798
|
+
"onUpdate:modelValue": f[2] || (f[2] = (T) => ve.value = T),
|
|
1746
1799
|
title: s.title,
|
|
1747
1800
|
"destroy-on-close": "",
|
|
1748
1801
|
"append-to-body": "",
|
|
@@ -1756,8 +1809,8 @@ const fs = {
|
|
|
1756
1809
|
onClose: Fe
|
|
1757
1810
|
}, {
|
|
1758
1811
|
footer: I(() => [
|
|
1759
|
-
n("span",
|
|
1760
|
-
w(
|
|
1812
|
+
n("span", Cs, [
|
|
1813
|
+
w(O(Oe), {
|
|
1761
1814
|
onClick: ie(Fe, ["stop"])
|
|
1762
1815
|
}, {
|
|
1763
1816
|
default: I(() => [
|
|
@@ -1766,9 +1819,9 @@ const fs = {
|
|
|
1766
1819
|
_: 1
|
|
1767
1820
|
/* STABLE */
|
|
1768
1821
|
}),
|
|
1769
|
-
w(
|
|
1822
|
+
w(O(Oe), {
|
|
1770
1823
|
type: "primary",
|
|
1771
|
-
onClick: ie(
|
|
1824
|
+
onClick: ie(Ye, ["stop"])
|
|
1772
1825
|
}, {
|
|
1773
1826
|
default: I(() => [
|
|
1774
1827
|
Y(" 确定 ")
|
|
@@ -1786,29 +1839,29 @@ const fs = {
|
|
|
1786
1839
|
style: je({ height: De.value })
|
|
1787
1840
|
},
|
|
1788
1841
|
[
|
|
1789
|
-
n("div",
|
|
1842
|
+
n("div", ms, [
|
|
1790
1843
|
n("div", null, [
|
|
1791
|
-
w(
|
|
1792
|
-
modelValue:
|
|
1793
|
-
"onUpdate:modelValue": f[0] || (f[0] = (
|
|
1844
|
+
w(O(dt), {
|
|
1845
|
+
modelValue: k.value,
|
|
1846
|
+
"onUpdate:modelValue": f[0] || (f[0] = (T) => k.value = T),
|
|
1794
1847
|
clearable: "",
|
|
1795
1848
|
placeholder: s.placeholder,
|
|
1796
|
-
"suffix-icon":
|
|
1849
|
+
"suffix-icon": Pt
|
|
1797
1850
|
}, null, 8, ["modelValue", "placeholder"]),
|
|
1798
|
-
|
|
1851
|
+
Je.value ? (a(), B(g, {
|
|
1799
1852
|
key: 0,
|
|
1800
|
-
modelValue:
|
|
1801
|
-
"onUpdate:modelValue": f[1] || (f[1] = (
|
|
1853
|
+
modelValue: de.value,
|
|
1854
|
+
"onUpdate:modelValue": f[1] || (f[1] = (T) => de.value = T),
|
|
1802
1855
|
class: "ik-picker-tab"
|
|
1803
1856
|
}, {
|
|
1804
1857
|
default: I(() => [
|
|
1805
|
-
(a(!0),
|
|
1858
|
+
(a(!0), d(
|
|
1806
1859
|
N,
|
|
1807
1860
|
null,
|
|
1808
|
-
W(
|
|
1809
|
-
label:
|
|
1810
|
-
name:
|
|
1811
|
-
key:
|
|
1861
|
+
W(et.value, (T) => (a(), B(m, {
|
|
1862
|
+
label: T.label,
|
|
1863
|
+
name: T.name,
|
|
1864
|
+
key: T.label
|
|
1812
1865
|
}, null, 8, ["label", "name"]))),
|
|
1813
1866
|
128
|
|
1814
1867
|
/* KEYED_FRAGMENT */
|
|
@@ -1816,30 +1869,30 @@ const fs = {
|
|
|
1816
1869
|
]),
|
|
1817
1870
|
_: 1
|
|
1818
1871
|
/* STABLE */
|
|
1819
|
-
}, 8, ["modelValue"])) :
|
|
1872
|
+
}, 8, ["modelValue"])) : x("v-if", !0)
|
|
1820
1873
|
]),
|
|
1821
|
-
|
|
1822
|
-
te.value ===
|
|
1874
|
+
x(" 过滤 "),
|
|
1875
|
+
te.value === O(re).group ? (a(), d(
|
|
1823
1876
|
N,
|
|
1824
1877
|
{ key: 0 },
|
|
1825
1878
|
[
|
|
1826
|
-
Ne.value ? (a(),
|
|
1827
|
-
|
|
1828
|
-
w(
|
|
1879
|
+
Ne.value ? (a(), d("div", gs, [
|
|
1880
|
+
x(" 面包屑 全选 "),
|
|
1881
|
+
w(O(ut), {
|
|
1829
1882
|
separator: ">",
|
|
1830
1883
|
class: se(["banner", { "top-unlink": !s.topLink }])
|
|
1831
1884
|
}, {
|
|
1832
1885
|
default: I(() => [
|
|
1833
|
-
(a(!0),
|
|
1886
|
+
(a(!0), d(
|
|
1834
1887
|
N,
|
|
1835
1888
|
null,
|
|
1836
|
-
W(
|
|
1837
|
-
key:
|
|
1838
|
-
onClick: ie((
|
|
1889
|
+
W(O(h), (T, z) => (a(), B(O(ct), {
|
|
1890
|
+
key: T[y.value.id],
|
|
1891
|
+
onClick: ie((_e) => qe(T, z), ["stop"])
|
|
1839
1892
|
}, {
|
|
1840
1893
|
default: I(() => [
|
|
1841
1894
|
Y(
|
|
1842
|
-
T
|
|
1895
|
+
P(T[y.value.name]),
|
|
1843
1896
|
1
|
|
1844
1897
|
/* TEXT */
|
|
1845
1898
|
)
|
|
@@ -1854,81 +1907,81 @@ const fs = {
|
|
|
1854
1907
|
_: 1
|
|
1855
1908
|
/* STABLE */
|
|
1856
1909
|
}, 8, ["class"])
|
|
1857
|
-
])) :
|
|
1910
|
+
])) : x("v-if", !0)
|
|
1858
1911
|
],
|
|
1859
1912
|
64
|
|
1860
1913
|
/* STABLE_FRAGMENT */
|
|
1861
|
-
)) :
|
|
1862
|
-
|
|
1863
|
-
|
|
1864
|
-
te.value ===
|
|
1914
|
+
)) : x("v-if", !0),
|
|
1915
|
+
x(" 左侧列表 "),
|
|
1916
|
+
x(" 组织架构 "),
|
|
1917
|
+
te.value === O(re).group ? ue((a(), B(Bl, {
|
|
1865
1918
|
key: 1,
|
|
1866
1919
|
fixPropOpt: y.value,
|
|
1867
1920
|
fixTypeOpt: i.value,
|
|
1868
1921
|
list: D.value,
|
|
1869
1922
|
max: s.max,
|
|
1870
1923
|
multiple: s.multiple,
|
|
1871
|
-
"hand-list":
|
|
1924
|
+
"hand-list": tt.value,
|
|
1872
1925
|
imageBaseUrl: l.imageBaseUrl,
|
|
1873
1926
|
emptyText: l.emptyText,
|
|
1874
1927
|
children: l.children,
|
|
1875
1928
|
"choose-type": j.value,
|
|
1876
|
-
onHandChild:
|
|
1877
|
-
onChange:
|
|
1929
|
+
onHandChild: Xe,
|
|
1930
|
+
onChange: lt
|
|
1878
1931
|
}, null, 8, ["fixPropOpt", "fixTypeOpt", "list", "max", "multiple", "hand-list", "imageBaseUrl", "emptyText", "children", "choose-type"])), [
|
|
1879
|
-
[
|
|
1880
|
-
]) : te.value ===
|
|
1932
|
+
[O(Pe), V.value]
|
|
1933
|
+
]) : te.value === O(re).role ? (a(), d(
|
|
1881
1934
|
N,
|
|
1882
1935
|
{ key: 2 },
|
|
1883
1936
|
[
|
|
1884
|
-
|
|
1885
|
-
|
|
1937
|
+
x(" 角色 "),
|
|
1938
|
+
ue(w(fs, {
|
|
1886
1939
|
fixPropOpt: y.value,
|
|
1887
1940
|
fixTypeOpt: i.value,
|
|
1888
1941
|
list: p.value,
|
|
1889
1942
|
max: s.max,
|
|
1890
1943
|
multiple: s.multiple,
|
|
1891
|
-
"hand-list":
|
|
1944
|
+
"hand-list": ge.value,
|
|
1892
1945
|
imageBaseUrl: l.imageBaseUrl,
|
|
1893
1946
|
emptyText: l.emptyText,
|
|
1894
1947
|
"choose-type": j.value,
|
|
1895
|
-
onChange:
|
|
1948
|
+
onChange: st
|
|
1896
1949
|
}, null, 8, ["fixPropOpt", "fixTypeOpt", "list", "max", "multiple", "hand-list", "imageBaseUrl", "emptyText", "choose-type"]), [
|
|
1897
|
-
[
|
|
1950
|
+
[O(Pe), V.value]
|
|
1898
1951
|
])
|
|
1899
1952
|
],
|
|
1900
1953
|
64
|
|
1901
1954
|
/* STABLE_FRAGMENT */
|
|
1902
|
-
)) : te.value ===
|
|
1955
|
+
)) : te.value === O(re).post ? (a(), d(
|
|
1903
1956
|
N,
|
|
1904
1957
|
{ key: 3 },
|
|
1905
1958
|
[
|
|
1906
|
-
|
|
1907
|
-
|
|
1959
|
+
x(" 岗位 "),
|
|
1960
|
+
ue(w(Xl, {
|
|
1908
1961
|
fixPropOpt: y.value,
|
|
1909
1962
|
fixTypeOpt: i.value,
|
|
1910
1963
|
list: F.value,
|
|
1911
1964
|
max: s.max,
|
|
1912
1965
|
multiple: s.multiple,
|
|
1913
|
-
"hand-list":
|
|
1966
|
+
"hand-list": xe.value,
|
|
1914
1967
|
imageBaseUrl: l.imageBaseUrl,
|
|
1915
1968
|
emptyText: l.emptyText,
|
|
1916
1969
|
"choose-type": j.value,
|
|
1917
|
-
onChange:
|
|
1970
|
+
onChange: at
|
|
1918
1971
|
}, null, 8, ["fixPropOpt", "fixTypeOpt", "list", "max", "multiple", "hand-list", "imageBaseUrl", "emptyText", "choose-type"]), [
|
|
1919
|
-
[
|
|
1972
|
+
[O(Pe), V.value]
|
|
1920
1973
|
])
|
|
1921
1974
|
],
|
|
1922
1975
|
64
|
|
1923
1976
|
/* STABLE_FRAGMENT */
|
|
1924
|
-
)) :
|
|
1977
|
+
)) : x("v-if", !0)
|
|
1925
1978
|
]),
|
|
1926
|
-
|
|
1927
|
-
|
|
1979
|
+
xs,
|
|
1980
|
+
x(" 已选列表 "),
|
|
1928
1981
|
n("div", _s, [
|
|
1929
|
-
n("div",
|
|
1930
|
-
|
|
1931
|
-
w(
|
|
1982
|
+
n("div", Os, [
|
|
1983
|
+
Ps,
|
|
1984
|
+
w(O(Oe), {
|
|
1932
1985
|
type: "primary",
|
|
1933
1986
|
link: "",
|
|
1934
1987
|
onClick: ie(le, ["stop"])
|
|
@@ -1940,34 +1993,34 @@ const fs = {
|
|
|
1940
1993
|
/* STABLE */
|
|
1941
1994
|
})
|
|
1942
1995
|
]),
|
|
1943
|
-
n("ul",
|
|
1944
|
-
(a(!0),
|
|
1996
|
+
n("ul", Ts, [
|
|
1997
|
+
(a(!0), d(
|
|
1945
1998
|
N,
|
|
1946
1999
|
null,
|
|
1947
|
-
W(A.value, (
|
|
1948
|
-
n("div",
|
|
1949
|
-
|
|
1950
|
-
n("div",
|
|
2000
|
+
W(A.value, (T) => (a(), d("li", ks, [
|
|
2001
|
+
n("div", Ls, [
|
|
2002
|
+
x(" icon前缀 "),
|
|
2003
|
+
n("div", bs, [
|
|
1951
2004
|
w($, {
|
|
1952
2005
|
fixTypeOpt: i.value,
|
|
1953
2006
|
fixPropOpt: y.value,
|
|
1954
|
-
element:
|
|
2007
|
+
element: T,
|
|
1955
2008
|
imageBaseUrl: l.imageBaseUrl
|
|
1956
2009
|
}, null, 8, ["fixTypeOpt", "fixPropOpt", "element", "imageBaseUrl"])
|
|
1957
2010
|
]),
|
|
1958
2011
|
n(
|
|
1959
2012
|
"span",
|
|
1960
2013
|
null,
|
|
1961
|
-
T
|
|
2014
|
+
P(T[y.value.name]),
|
|
1962
2015
|
1
|
|
1963
2016
|
/* TEXT */
|
|
1964
2017
|
)
|
|
1965
2018
|
]),
|
|
1966
|
-
|
|
2019
|
+
ue(w(Ut, {
|
|
1967
2020
|
class: "close",
|
|
1968
|
-
onClick: ie((z) => Ve(
|
|
2021
|
+
onClick: ie((z) => Ve(T), ["stop"])
|
|
1969
2022
|
}, null, 8, ["onClick"]), [
|
|
1970
|
-
[
|
|
2023
|
+
[it, !(T != null && T.readonly)]
|
|
1971
2024
|
])
|
|
1972
2025
|
]))),
|
|
1973
2026
|
256
|
|
@@ -1986,40 +2039,40 @@ const fs = {
|
|
|
1986
2039
|
};
|
|
1987
2040
|
}
|
|
1988
2041
|
});
|
|
1989
|
-
const Us = He(
|
|
2042
|
+
const Us = He(Ss), ze = (o) => (he("data-v-0f9a3920"), o = o(), Ae(), o), Bs = {
|
|
1990
2043
|
class: "approveProcess",
|
|
1991
2044
|
id: "approveProcess"
|
|
1992
|
-
},
|
|
2045
|
+
}, ws = { class: "node" }, Is = { class: "nodeBg" }, Es = {
|
|
1993
2046
|
key: 0,
|
|
1994
2047
|
class: "info"
|
|
1995
|
-
},
|
|
2048
|
+
}, Vs = { class: "explain" }, Ns = { key: 0 }, Fs = { key: 0 }, Ds = { key: 1 }, Rs = { key: 0 }, $s = { key: 1 }, Ms = { class: "personlist" }, Ws = { style: { width: "58px" } }, js = { class: "avatar" }, Hs = ["src"], Gs = {
|
|
1996
2049
|
key: 1,
|
|
1997
2050
|
class: "nodeBg"
|
|
1998
|
-
},
|
|
2051
|
+
}, zs = ["onClick"], Qs = ["title"], Xs = {
|
|
1999
2052
|
key: 0,
|
|
2000
2053
|
class: "sign"
|
|
2001
|
-
},
|
|
2054
|
+
}, qs = { key: 0 }, Zs = ["onClick"], Ks = {
|
|
2002
2055
|
key: 0,
|
|
2003
2056
|
class: "required"
|
|
2004
|
-
},
|
|
2057
|
+
}, Ys = /* @__PURE__ */ ze(() => /* @__PURE__ */ n(
|
|
2005
2058
|
"i",
|
|
2006
2059
|
{ class: "ikapprove ikapprove-xinzeng" },
|
|
2007
2060
|
null,
|
|
2008
2061
|
-1
|
|
2009
2062
|
/* HOISTED */
|
|
2010
|
-
)),
|
|
2063
|
+
)), Js = {
|
|
2011
2064
|
key: 1,
|
|
2012
2065
|
class: "node-branchs"
|
|
2013
|
-
},
|
|
2066
|
+
}, ea = /* @__PURE__ */ ze(() => /* @__PURE__ */ n(
|
|
2014
2067
|
"div",
|
|
2015
2068
|
{ class: "branch-line" },
|
|
2016
2069
|
null,
|
|
2017
2070
|
-1
|
|
2018
2071
|
/* HOISTED */
|
|
2019
|
-
)),
|
|
2072
|
+
)), ta = { style: { flex: "1" } }, la = { class: "node-branch" }, sa = {
|
|
2020
2073
|
name: "IkApprovalProcess"
|
|
2021
|
-
},
|
|
2022
|
-
...
|
|
2074
|
+
}, aa = /* @__PURE__ */ oe({
|
|
2075
|
+
...sa,
|
|
2023
2076
|
props: {
|
|
2024
2077
|
// 选人组件请求地址
|
|
2025
2078
|
pickerUrl: {
|
|
@@ -2053,7 +2106,7 @@ const Us = He(Cs), Ge = (o) => (he("data-v-0f9a3920"), o = o(), Ae(), o), Ss = {
|
|
|
2053
2106
|
}
|
|
2054
2107
|
},
|
|
2055
2108
|
setup(o, { expose: v }) {
|
|
2056
|
-
const e = o, { cLoadUrl: l } =
|
|
2109
|
+
const e = o, { cLoadUrl: l } = Ge(e), k = fe.local.getItem("token") || "Bearer 841b7a7b0d9c4021b1655192c28ac61b", _ = E("sys");
|
|
2057
2110
|
function b(t) {
|
|
2058
2111
|
const r = window.location.search;
|
|
2059
2112
|
return new URLSearchParams(r).get(t);
|
|
@@ -2061,10 +2114,10 @@ const Us = He(Cs), Ge = (o) => (he("data-v-0f9a3920"), o = o(), Ae(), o), Ss = {
|
|
|
2061
2114
|
function C() {
|
|
2062
2115
|
var r;
|
|
2063
2116
|
const t = b("xTenant") || ((r = fe.local.getItem("tenant")) == null ? void 0 : r.code);
|
|
2064
|
-
t && (
|
|
2117
|
+
t && (_.value = t);
|
|
2065
2118
|
}
|
|
2066
2119
|
C();
|
|
2067
|
-
const p = Te(
|
|
2120
|
+
const p = Te(At(e)), F = async (t) => {
|
|
2068
2121
|
var r;
|
|
2069
2122
|
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.抄送节点)
|
|
2070
2123
|
t.handList.forEach((h) => {
|
|
@@ -2092,13 +2145,13 @@ const Us = He(Cs), Ge = (o) => (he("data-v-0f9a3920"), o = o(), Ae(), o), Ss = {
|
|
|
2092
2145
|
return t.includes("http") || t.includes("https") ? r = t : r = l.value ? `${t.includes(l.value) ? "" : l.value}${t}` : `${location.origin + location.pathname}server/oss/download?fileUrl=${t}`, r;
|
|
2093
2146
|
}, D = (t, r) => {
|
|
2094
2147
|
e.dataList[r].handList = t.list;
|
|
2095
|
-
let
|
|
2148
|
+
let u = (e.dataList[r][p.defaultFile.approvePersonList] || []).filter((c) => !c.canDele), S = t.list.map((c) => ({
|
|
2096
2149
|
...c,
|
|
2097
2150
|
userName: c.elementName,
|
|
2098
2151
|
userAvatar: c.avatar,
|
|
2099
2152
|
canDele: !0
|
|
2100
2153
|
}));
|
|
2101
|
-
e.dataList[r][p.defaultFile.approvePersonList] =
|
|
2154
|
+
e.dataList[r][p.defaultFile.approvePersonList] = u.concat(S);
|
|
2102
2155
|
}, y = (t, r) => {
|
|
2103
2156
|
e.dataList[t][p.defaultFile.approvePersonList].splice(r, 1), e.dataList[t].handList = e.dataList[t][p.defaultFile.approvePersonList];
|
|
2104
2157
|
}, i = () => {
|
|
@@ -2107,7 +2160,7 @@ const Us = He(Cs), Ge = (o) => (he("data-v-0f9a3920"), o = o(), Ae(), o), Ss = {
|
|
|
2107
2160
|
var h;
|
|
2108
2161
|
r.required = !1, r[p.defaultFile.nodeType] == p.nodeType.审批节点 && r[p.defaultFile.isShowAdd] && ((h = r[p.defaultFile.approvePersonList]) != null && h.length || (t = !1, r.required = !0));
|
|
2109
2162
|
}), t;
|
|
2110
|
-
}, A =
|
|
2163
|
+
}, A = U(() => ({
|
|
2111
2164
|
propOption: {
|
|
2112
2165
|
name: "elementName",
|
|
2113
2166
|
id: "elementId",
|
|
@@ -2125,30 +2178,30 @@ const Us = He(Cs), Ge = (o) => (he("data-v-0f9a3920"), o = o(), Ae(), o), Ss = {
|
|
|
2125
2178
|
url: e.pickerUrl,
|
|
2126
2179
|
headers: {
|
|
2127
2180
|
"Content-Type": "application/json;charset=UTF-8",
|
|
2128
|
-
Authorization:
|
|
2129
|
-
"X-Tenant":
|
|
2181
|
+
Authorization: k,
|
|
2182
|
+
"X-Tenant": _.value
|
|
2130
2183
|
}
|
|
2131
2184
|
}
|
|
2132
2185
|
}));
|
|
2133
2186
|
return v({ requiredVerification: i }), (t, r) => {
|
|
2134
2187
|
const h = ce("IkApprovalProcess");
|
|
2135
|
-
return a(),
|
|
2136
|
-
(a(!0),
|
|
2188
|
+
return a(), d("div", Bs, [
|
|
2189
|
+
(a(!0), d(
|
|
2137
2190
|
N,
|
|
2138
2191
|
null,
|
|
2139
|
-
W(e.dataList, (
|
|
2192
|
+
W(e.dataList, (u, S) => {
|
|
2140
2193
|
var c, M, q, Z;
|
|
2141
|
-
return a(),
|
|
2194
|
+
return a(), d("div", {
|
|
2142
2195
|
class: "content",
|
|
2143
|
-
key:
|
|
2196
|
+
key: u.id
|
|
2144
2197
|
}, [
|
|
2145
|
-
|
|
2146
|
-
n("div",
|
|
2147
|
-
n("span",
|
|
2198
|
+
x(" 审批节点类型 "),
|
|
2199
|
+
n("div", ws, [
|
|
2200
|
+
n("span", Is, [
|
|
2148
2201
|
n(
|
|
2149
2202
|
"i",
|
|
2150
2203
|
{
|
|
2151
|
-
class: se(
|
|
2204
|
+
class: se(O(vt)(p, u[p.defaultFile.nodeType]))
|
|
2152
2205
|
},
|
|
2153
2206
|
null,
|
|
2154
2207
|
2
|
|
@@ -2159,63 +2212,63 @@ const Us = He(Cs), Ge = (o) => (he("data-v-0f9a3920"), o = o(), Ae(), o), Ss = {
|
|
|
2159
2212
|
"div",
|
|
2160
2213
|
{
|
|
2161
2214
|
class: "line",
|
|
2162
|
-
style: je({ "border-left":
|
|
2215
|
+
style: je({ "border-left": S === e.dataList.length - 1 ? "" : "2px solid var(--el-border-color)" })
|
|
2163
2216
|
},
|
|
2164
2217
|
null,
|
|
2165
2218
|
4
|
|
2166
2219
|
/* STYLE */
|
|
2167
2220
|
)
|
|
2168
2221
|
]),
|
|
2169
|
-
|
|
2222
|
+
u[p.defaultFile.nodeType] !== p.nodeType.并行分支 ? (a(), d("div", Es, [
|
|
2170
2223
|
n("div", null, [
|
|
2171
2224
|
n(
|
|
2172
2225
|
"div",
|
|
2173
2226
|
null,
|
|
2174
|
-
|
|
2227
|
+
P(u[p.defaultFile.nodeTypeName]),
|
|
2175
2228
|
1
|
|
2176
2229
|
/* TEXT */
|
|
2177
2230
|
),
|
|
2178
|
-
n("div",
|
|
2179
|
-
|
|
2180
|
-
|
|
2181
|
-
|
|
2231
|
+
n("div", Vs, [
|
|
2232
|
+
x(" 抄送节点 "),
|
|
2233
|
+
u[p.defaultFile.nodeType] == p.nodeType.抄送节点 ? (a(), d("span", Ns, [
|
|
2234
|
+
u[p.defaultFile.approvePersonList].length ? (a(), d(
|
|
2182
2235
|
"span",
|
|
2183
|
-
|
|
2184
|
-
|
|
2236
|
+
Fs,
|
|
2237
|
+
P(`抄送${u[p.defaultFile.approvePersonList].length}人`),
|
|
2185
2238
|
1
|
|
2186
2239
|
/* TEXT */
|
|
2187
|
-
)) :
|
|
2188
|
-
|
|
2189
|
-
])) : (a(),
|
|
2240
|
+
)) : x("v-if", !0),
|
|
2241
|
+
u[p.defaultFile.isShowAdd] ? (a(), d("span", Ds, ",可添加抄送人")) : x("v-if", !0)
|
|
2242
|
+
])) : (a(), d(
|
|
2190
2243
|
N,
|
|
2191
2244
|
{ key: 1 },
|
|
2192
2245
|
[
|
|
2193
|
-
|
|
2246
|
+
x(" 审批节点 "),
|
|
2194
2247
|
n("span", null, [
|
|
2195
|
-
|
|
2196
|
-
(c =
|
|
2248
|
+
x(" 存在审批人时 "),
|
|
2249
|
+
(c = u[p.defaultFile.approvePersonList]) != null && c.length ? (a(), d(
|
|
2197
2250
|
"span",
|
|
2198
|
-
|
|
2199
|
-
|
|
2251
|
+
Rs,
|
|
2252
|
+
P(((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]}`),
|
|
2200
2253
|
1
|
|
2201
2254
|
/* TEXT */
|
|
2202
|
-
)) : [p.statusWithoutApprover.自动通过, p.statusWithoutApprover.自动拒绝].includes(
|
|
2255
|
+
)) : [p.statusWithoutApprover.自动通过, p.statusWithoutApprover.自动拒绝].includes(u[p.defaultFile.approveType]) ? (a(), d(
|
|
2203
2256
|
"span",
|
|
2204
|
-
|
|
2205
|
-
|
|
2257
|
+
$s,
|
|
2258
|
+
P(u[p.defaultFile.approveTypeName]),
|
|
2206
2259
|
1
|
|
2207
2260
|
/* TEXT */
|
|
2208
|
-
)) :
|
|
2261
|
+
)) : u[p.defaultFile.executorEmptyStrategy] && u[p.defaultFile.executorEmpty] ? (a(), d(
|
|
2209
2262
|
N,
|
|
2210
2263
|
{ key: 2 },
|
|
2211
2264
|
[
|
|
2212
|
-
|
|
2265
|
+
x(" 没有审批人,并且有指定默认审批方式 "),
|
|
2213
2266
|
n("span", null, [
|
|
2214
2267
|
Y(" 未找到审批人,"),
|
|
2215
2268
|
n(
|
|
2216
2269
|
"span",
|
|
2217
2270
|
null,
|
|
2218
|
-
|
|
2271
|
+
P(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}` : ""),
|
|
2219
2272
|
1
|
|
2220
2273
|
/* TEXT */
|
|
2221
2274
|
)
|
|
@@ -2223,13 +2276,13 @@ const Us = He(Cs), Ge = (o) => (he("data-v-0f9a3920"), o = o(), Ae(), o), Ss = {
|
|
|
2223
2276
|
],
|
|
2224
2277
|
2112
|
|
2225
2278
|
/* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
|
|
2226
|
-
)) : [p.nodeType.并行分支, p.nodeType.子流程].includes(
|
|
2279
|
+
)) : [p.nodeType.并行分支, p.nodeType.子流程].includes(u[p.defaultFile.nodeType]) ? x("v-if", !0) : (a(), d(
|
|
2227
2280
|
"span",
|
|
2228
2281
|
{
|
|
2229
2282
|
key: 3,
|
|
2230
|
-
class: se(
|
|
2283
|
+
class: se(u.required ? "warn" : "")
|
|
2231
2284
|
},
|
|
2232
|
-
" 请选择" +
|
|
2285
|
+
" 请选择" + P(u[p.defaultFile.nodeType] === p.nodeType.办理节点 ? "办理人" : "审批人"),
|
|
2233
2286
|
3
|
|
2234
2287
|
/* TEXT, CLASS */
|
|
2235
2288
|
))
|
|
@@ -2240,54 +2293,54 @@ const Us = He(Cs), Ge = (o) => (he("data-v-0f9a3920"), o = o(), Ae(), o), Ss = {
|
|
|
2240
2293
|
))
|
|
2241
2294
|
])
|
|
2242
2295
|
]),
|
|
2243
|
-
n("div",
|
|
2244
|
-
(a(!0),
|
|
2296
|
+
n("div", Ms, [
|
|
2297
|
+
(a(!0), d(
|
|
2245
2298
|
N,
|
|
2246
2299
|
null,
|
|
2247
|
-
W(
|
|
2300
|
+
W(u[p.defaultFile.approvePersonList], (L, j) => {
|
|
2248
2301
|
var H;
|
|
2249
|
-
return a(),
|
|
2302
|
+
return a(), d("div", {
|
|
2250
2303
|
class: "list",
|
|
2251
2304
|
key: L.userId
|
|
2252
2305
|
}, [
|
|
2253
|
-
n("div",
|
|
2254
|
-
n("div",
|
|
2255
|
-
L.userAvatar ? (a(),
|
|
2306
|
+
n("div", Ws, [
|
|
2307
|
+
n("div", js, [
|
|
2308
|
+
L.userAvatar ? (a(), d("img", {
|
|
2256
2309
|
key: 0,
|
|
2257
2310
|
src: V(L.userAvatar),
|
|
2258
2311
|
alt: ""
|
|
2259
|
-
}, null, 8,
|
|
2312
|
+
}, null, 8, Hs)) : (a(), d("div", Gs, [
|
|
2260
2313
|
n(
|
|
2261
2314
|
"span",
|
|
2262
2315
|
null,
|
|
2263
|
-
|
|
2316
|
+
P(L.userName.slice(-2)),
|
|
2264
2317
|
1
|
|
2265
2318
|
/* TEXT */
|
|
2266
2319
|
)
|
|
2267
2320
|
])),
|
|
2268
|
-
L.canDele ? (a(),
|
|
2321
|
+
L.canDele ? (a(), d("i", {
|
|
2269
2322
|
key: 2,
|
|
2270
|
-
onClick: (Ee) => y(
|
|
2323
|
+
onClick: (Ee) => y(S, j),
|
|
2271
2324
|
class: "ikapprove ikapprove-shanchu1"
|
|
2272
|
-
}, null, 8,
|
|
2325
|
+
}, null, 8, zs)) : x("v-if", !0)
|
|
2273
2326
|
]),
|
|
2274
2327
|
n("div", {
|
|
2275
2328
|
class: "name",
|
|
2276
2329
|
title: L.userName
|
|
2277
|
-
},
|
|
2330
|
+
}, P(L.userName), 9, Qs)
|
|
2278
2331
|
]),
|
|
2279
|
-
|
|
2280
|
-
|
|
2281
|
-
|
|
2282
|
-
|
|
2332
|
+
x(" 显示添加人按钮,不是单选且已选中一个人的情况,显示图标 "),
|
|
2333
|
+
u[p.defaultFile.isShowAdd] && !(u[p.defaultFile.singleApproval] && ((H = u[p.defaultFile.approvePersonList]) == null ? void 0 : H.length) == 1) ? (a(), d("span", Xs, [
|
|
2334
|
+
x(" 抄送默认 "),
|
|
2335
|
+
u[p.defaultFile.nodeType] == p.nodeType.抄送节点 ? (a(), d("span", qs, "+")) : (a(), d(
|
|
2283
2336
|
N,
|
|
2284
2337
|
{ key: 1 },
|
|
2285
2338
|
[
|
|
2286
|
-
|
|
2339
|
+
x(" 审批 "),
|
|
2287
2340
|
n(
|
|
2288
2341
|
"span",
|
|
2289
2342
|
null,
|
|
2290
|
-
|
|
2343
|
+
P(u[p.defaultFile.multiExecutorType] == "ANY" ? "/" : u[p.defaultFile.multiExecutorType] == "ALL" ? "+" : ">"),
|
|
2291
2344
|
1
|
|
2292
2345
|
/* TEXT */
|
|
2293
2346
|
)
|
|
@@ -2295,44 +2348,44 @@ const Us = He(Cs), Ge = (o) => (he("data-v-0f9a3920"), o = o(), Ae(), o), Ss = {
|
|
|
2295
2348
|
2112
|
|
2296
2349
|
/* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
|
|
2297
2350
|
))
|
|
2298
|
-
])) :
|
|
2351
|
+
])) : x("v-if", !0)
|
|
2299
2352
|
]);
|
|
2300
2353
|
}),
|
|
2301
2354
|
128
|
|
2302
2355
|
/* KEYED_FRAGMENT */
|
|
2303
2356
|
)),
|
|
2304
|
-
|
|
2305
|
-
|
|
2357
|
+
x(" 显示添加人按钮,不是单选且已选中一个人的情况,显示按钮 (item[state.defaultFile.isShowAdd] && "),
|
|
2358
|
+
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", {
|
|
2306
2359
|
key: 0,
|
|
2307
2360
|
class: "addBg",
|
|
2308
|
-
onClick: (L) => F(
|
|
2361
|
+
onClick: (L) => F(u)
|
|
2309
2362
|
}, [
|
|
2310
|
-
|
|
2311
|
-
|
|
2312
|
-
], 8,
|
|
2313
|
-
|
|
2314
|
-
w(
|
|
2315
|
-
modelValue:
|
|
2316
|
-
"onUpdate:modelValue": (L) =>
|
|
2317
|
-
show:
|
|
2318
|
-
"onUpdate:show": (L) =>
|
|
2319
|
-
onOk: (L) => D(L,
|
|
2320
|
-
multiple:
|
|
2321
|
-
"dep-list":
|
|
2322
|
-
"user-list":
|
|
2323
|
-
"organization-list":
|
|
2363
|
+
u[p.defaultFile.nodeType] == p.nodeType.审批节点 ? (a(), d("span", Ks)) : x("v-if", !0),
|
|
2364
|
+
Ys
|
|
2365
|
+
], 8, Zs)) : x("v-if", !0),
|
|
2366
|
+
x(" 添加人组件 "),
|
|
2367
|
+
w(O(Us), Me({
|
|
2368
|
+
modelValue: u.handList,
|
|
2369
|
+
"onUpdate:modelValue": (L) => u.handList = L,
|
|
2370
|
+
show: u.isShow,
|
|
2371
|
+
"onUpdate:show": (L) => u.isShow = L,
|
|
2372
|
+
onOk: (L) => D(L, S),
|
|
2373
|
+
multiple: u.multiple,
|
|
2374
|
+
"dep-list": u.depList,
|
|
2375
|
+
"user-list": u.userList,
|
|
2376
|
+
"organization-list": u.organizationList,
|
|
2324
2377
|
ref_for: !0
|
|
2325
2378
|
}, A.value, {
|
|
2326
|
-
chooseType:
|
|
2379
|
+
chooseType: u.chooseType
|
|
2327
2380
|
}), null, 16, ["modelValue", "onUpdate:modelValue", "show", "onUpdate:show", "onOk", "multiple", "dep-list", "user-list", "organization-list", "chooseType"])
|
|
2328
2381
|
])
|
|
2329
|
-
])) : (a(),
|
|
2330
|
-
|
|
2331
|
-
n("div",
|
|
2332
|
-
(a(!0),
|
|
2382
|
+
])) : (a(), d("div", Js, [
|
|
2383
|
+
ea,
|
|
2384
|
+
n("div", ta, [
|
|
2385
|
+
(a(!0), d(
|
|
2333
2386
|
N,
|
|
2334
2387
|
null,
|
|
2335
|
-
W(
|
|
2388
|
+
W(u.parallelInstances, (L, j) => (a(), d(
|
|
2336
2389
|
"div",
|
|
2337
2390
|
{
|
|
2338
2391
|
key: j,
|
|
@@ -2341,8 +2394,8 @@ const Us = He(Cs), Ge = (o) => (he("data-v-0f9a3920"), o = o(), Ae(), o), Ss = {
|
|
|
2341
2394
|
[
|
|
2342
2395
|
n(
|
|
2343
2396
|
"div",
|
|
2344
|
-
|
|
2345
|
-
|
|
2397
|
+
la,
|
|
2398
|
+
P(L.name),
|
|
2346
2399
|
1
|
|
2347
2400
|
/* TEXT */
|
|
2348
2401
|
),
|
|
@@ -2368,8 +2421,8 @@ const Us = He(Cs), Ge = (o) => (he("data-v-0f9a3920"), o = o(), Ae(), o), Ss = {
|
|
|
2368
2421
|
};
|
|
2369
2422
|
}
|
|
2370
2423
|
});
|
|
2371
|
-
const
|
|
2424
|
+
const oa = /* @__PURE__ */ G(aa, [["__scopeId", "data-v-0f9a3920"]]), da = He(oa);
|
|
2372
2425
|
export {
|
|
2373
|
-
|
|
2374
|
-
|
|
2426
|
+
da as IKApprovalProcess,
|
|
2427
|
+
da as default
|
|
2375
2428
|
};
|