@witlink/usercenter 1.0.0

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.
Files changed (49) hide show
  1. package/README.md +155 -0
  2. package/dist/404.e6ab6ba0.mjs +10 -0
  3. package/dist/Card.71482621.mjs +1078 -0
  4. package/dist/DictEx.754c617b.mjs +156 -0
  5. package/dist/FooterToolBar.2546fb1f.mjs +33 -0
  6. package/dist/RegionSelect.5272534b.mjs +71 -0
  7. package/dist/Standard.64ae6a8d.mjs +113 -0
  8. package/dist/WebClient.0ac67ce0.mjs +153 -0
  9. package/dist/assets/FooterToolBar.d4297046.css +1 -0
  10. package/dist/assets/Standard.badeec91.css +1 -0
  11. package/dist/assets/WebClient.2a3e464e.css +1 -0
  12. package/dist/assets/index.01a0fb63.css +1 -0
  13. package/dist/assets/index.19e5ba4c.css +1 -0
  14. package/dist/assets/index.2164de3b.css +1 -0
  15. package/dist/assets/index.269f5360.css +1 -0
  16. package/dist/assets/index.28bdbdc3.css +1 -0
  17. package/dist/assets/index.3150518d.css +1 -0
  18. package/dist/assets/index.3a0797c4.css +1 -0
  19. package/dist/assets/index.53c37fa8.css +1 -0
  20. package/dist/assets/index.7c8e2d8f.css +1 -0
  21. package/dist/assets/index.b965b94b.css +1 -0
  22. package/dist/assets/index.fb7724ee.css +1 -0
  23. package/dist/index.003313e6.mjs +69436 -0
  24. package/dist/index.05ef920d.mjs +1129 -0
  25. package/dist/index.1953dbda.mjs +498 -0
  26. package/dist/index.1af0e30d.mjs +10 -0
  27. package/dist/index.2242d1a7.mjs +125 -0
  28. package/dist/index.2291c8e2.mjs +125 -0
  29. package/dist/index.3c2af165.mjs +761 -0
  30. package/dist/index.919ac6b4.mjs +7431 -0
  31. package/dist/index.941a34c0.mjs +874 -0
  32. package/dist/index.96479524.mjs +754 -0
  33. package/dist/index.9803c44f.mjs +125 -0
  34. package/dist/index.a000e9cf.mjs +1445 -0
  35. package/dist/index.b3eb7c5d.mjs +10 -0
  36. package/dist/index.c9138cba.mjs +1104 -0
  37. package/dist/index.ceea88a4.mjs +1073 -0
  38. package/dist/index.da7dd593.mjs +10 -0
  39. package/dist/index.e271ee9d.mjs +643 -0
  40. package/dist/index.e7802e27.mjs +786 -0
  41. package/dist/index.ef2e93a1.mjs +386 -0
  42. package/dist/index.f701b909.mjs +142 -0
  43. package/dist/index.f9becca6.mjs +6 -0
  44. package/dist/index.fa4bb855.mjs +7645 -0
  45. package/dist/index.html +1 -0
  46. package/dist/use-dict-by-type.c90c1d31.mjs +24 -0
  47. package/dist/usercenter.umd.js +6237 -0
  48. package/package.json +26 -0
  49. package/version.md +2 -0
@@ -0,0 +1,10 @@
1
+ import { openBlock as e, createElementBlock as r } from "vue";
2
+ import { _ as n } from "./index.003313e6.mjs";
3
+ const t = {};
4
+ function c(i, o) {
5
+ return e(), r("div", null, "dictionary");
6
+ }
7
+ const _ = /* @__PURE__ */ n(t, [["render", c], ["__file", "D:/inhe-code/witlink-platform-usercenter-web/witlink-platform-usercenter1/src/views/sys/dictionary/index.vue"]]);
8
+ export {
9
+ _ as default
10
+ };
@@ -0,0 +1,643 @@
1
+ import { p as ae, y as E, z as M, C, _ as J, D as oe, I as ye, b as ge, F as le, B as he, S as be, E as xe, G as Ce, H as we, L as ke, M as Pe, N as De, O as $e, Q as Se } from "./index.003313e6.mjs";
2
+ import { defineComponent as O, createVNode as t, computed as Fe, ref as b, watch as se, onMounted as ue, openBlock as k, createElementBlock as L, reactive as G, createBlock as q, withCtx as c, mergeProps as $, createTextVNode as K, toDisplayString as z, withDirectives as Z, createElementVNode as j, unref as I, createCommentVNode as R, vShow as ee } from "vue";
3
+ import { _ as Te, a as Ne, S as Ue } from "./index.fa4bb855.mjs";
4
+ import { D as V } from "./DictEx.754c617b.mjs";
5
+ import { F as Ie } from "./FooterToolBar.2546fb1f.mjs";
6
+ import { u as te } from "./use-dict-by-type.c90c1d31.mjs";
7
+ import { _ as Re, a as Le } from "./index.f9becca6.mjs";
8
+ import { C as S } from "./Card.71482621.mjs";
9
+ import './assets/index.269f5360.css';const Ke = () => ({
10
+ prefixCls: String,
11
+ title: M(),
12
+ description: M(),
13
+ avatar: M()
14
+ }), Y = O({
15
+ compatConfig: {
16
+ MODE: 3
17
+ },
18
+ name: "ACardMeta",
19
+ props: Ke(),
20
+ slots: Object,
21
+ setup(o, _) {
22
+ let {
23
+ slots: v
24
+ } = _;
25
+ const {
26
+ prefixCls: p
27
+ } = ae("card", o);
28
+ return () => {
29
+ const d = {
30
+ [`${p.value}-meta`]: !0
31
+ }, r = E(v, o, "avatar"), n = E(v, o, "title"), u = E(v, o, "description"), y = r ? t("div", {
32
+ class: `${p.value}-meta-avatar`
33
+ }, [r]) : null, g = n ? t("div", {
34
+ class: `${p.value}-meta-title`
35
+ }, [n]) : null, x = u ? t("div", {
36
+ class: `${p.value}-meta-description`
37
+ }, [u]) : null, w = g || x ? t("div", {
38
+ class: `${p.value}-meta-detail`
39
+ }, [g, x]) : null;
40
+ return t("div", {
41
+ class: d
42
+ }, [y, w]);
43
+ };
44
+ }
45
+ }), Oe = () => ({
46
+ prefixCls: String,
47
+ hoverable: {
48
+ type: Boolean,
49
+ default: !0
50
+ }
51
+ }), H = O({
52
+ compatConfig: {
53
+ MODE: 3
54
+ },
55
+ name: "ACardGrid",
56
+ __ANT_CARD_GRID: !0,
57
+ props: Oe(),
58
+ setup(o, _) {
59
+ let {
60
+ slots: v
61
+ } = _;
62
+ const {
63
+ prefixCls: p
64
+ } = ae("card", o), d = Fe(() => ({
65
+ [`${p.value}-grid`]: !0,
66
+ [`${p.value}-grid-hoverable`]: o.hoverable
67
+ }));
68
+ return () => {
69
+ var r;
70
+ return t("div", {
71
+ class: d.value
72
+ }, [(r = v.default) === null || r === void 0 ? void 0 : r.call(v)]);
73
+ };
74
+ }
75
+ });
76
+ S.Meta = Y;
77
+ S.Grid = H;
78
+ S.install = function(o) {
79
+ return o.component(S.name, S), o.component(Y.name, Y), o.component(H.name, H), o;
80
+ };
81
+ function Ae(o) {
82
+ return C({
83
+ url: "/api/sys/functions/insert-load",
84
+ method: "get",
85
+ params: o
86
+ });
87
+ }
88
+ function Be(o) {
89
+ return C({
90
+ url: "/api/sys/functions/update-load",
91
+ method: "get",
92
+ params: o
93
+ });
94
+ }
95
+ function Ee(o) {
96
+ return C({
97
+ url: "/api/sys/functions/update",
98
+ method: "post",
99
+ data: o
100
+ });
101
+ }
102
+ function Me(o) {
103
+ return C({
104
+ url: "/api/sys/functions/insert",
105
+ method: "post",
106
+ data: o
107
+ });
108
+ }
109
+ function ne(o) {
110
+ return C({
111
+ url: "/api/sys/functions/search-tree",
112
+ method: "get",
113
+ params: o
114
+ });
115
+ }
116
+ function je(o) {
117
+ return C({
118
+ url: "/api/sys/functions/search-list",
119
+ method: "get",
120
+ params: o
121
+ });
122
+ }
123
+ function Ge(o) {
124
+ return C({
125
+ url: "/api/sys/functions/update-drop",
126
+ method: "post",
127
+ params: o
128
+ });
129
+ }
130
+ function qe(o) {
131
+ return C({
132
+ url: "/api/sys/functions/switch",
133
+ method: "post",
134
+ params: o
135
+ });
136
+ }
137
+ function ze(o) {
138
+ return C({
139
+ url: "/api/sys/functions/delete",
140
+ method: "delete",
141
+ params: o
142
+ });
143
+ }
144
+ const Ve = /* @__PURE__ */ O({
145
+ name: "FunTree",
146
+ __name: "FunTree",
147
+ emits: ["select", "drop"],
148
+ setup(o, { expose: _, emit: v }) {
149
+ const p = v, d = b([]), r = b([]), n = b([]), u = b([]), y = (e) => {
150
+ e ? (r.value = r.value.filter(
151
+ (a) => a == e || a.indexOf(e) !== 0
152
+ ), n.value = n.value.filter(
153
+ (a) => a == e || a.indexOf(e) !== 0
154
+ ), u.value = u.value.filter(
155
+ (a) => a == e || a.indexOf(e) !== 0
156
+ )) : (r.value = [], n.value = [], u.value = []);
157
+ }, g = async () => {
158
+ y(null);
159
+ const { result: e } = await ne({});
160
+ d.value = e;
161
+ }, x = async (e) => {
162
+ const a = {
163
+ sync: !1,
164
+ funId: e.dataRef.funId
165
+ };
166
+ if (e.dataRef.children)
167
+ return;
168
+ const { result: f } = await ne(a);
169
+ e.dataRef.children = f, r.value.push(e.dataRef.key), d.value = [...d.value];
170
+ }, w = (e) => {
171
+ const a = e.dragNode.eventKey, f = e.node.eventKey, m = e.node.pos.split("-"), P = e.dropPosition - Number(m[m.length - 1]);
172
+ p("drop", {
173
+ dragKey: a,
174
+ dropKey: f,
175
+ dropPosition: P
176
+ });
177
+ }, F = (e) => {
178
+ }, l = (e, a) => {
179
+ for (let f = 0; f < e.length; f++) {
180
+ const m = e[f];
181
+ if (m.key == a)
182
+ return m;
183
+ }
184
+ for (let f = 0; f < e.length; f++) {
185
+ const m = e[f];
186
+ if (m.children && m.children.length > 0)
187
+ return l(m.children, a);
188
+ }
189
+ return null;
190
+ }, s = (e) => {
191
+ if (e == "init-tree") {
192
+ g();
193
+ return;
194
+ }
195
+ if (e === void 0 && (e = n.value[0]), e === void 0) {
196
+ g();
197
+ return;
198
+ }
199
+ const a = l(d.value, e);
200
+ a !== null && (a.children && (delete a.children, a.children = null), y(e), x({ dataRef: a }));
201
+ };
202
+ return se(n, (e) => {
203
+ p("select", e);
204
+ }), _({
205
+ reload: s
206
+ }), ue(() => {
207
+ g();
208
+ }), (e, a) => {
209
+ const f = Te;
210
+ return k(), L("div", null, [
211
+ t(f, {
212
+ loadData: x,
213
+ treeData: d.value,
214
+ showLine: !0,
215
+ loadedKeys: r.value,
216
+ selectedKeys: n.value,
217
+ "onUpdate:selectedKeys": a[0] || (a[0] = (m) => n.value = m),
218
+ expandedKeys: u.value,
219
+ "onUpdate:expandedKeys": a[1] || (a[1] = (m) => u.value = m),
220
+ draggable: !0,
221
+ onSelect: F,
222
+ onDrop: w
223
+ }, null, 8, ["treeData", "loadedKeys", "selectedKeys", "expandedKeys"])
224
+ ]);
225
+ };
226
+ }
227
+ }), Ye = /* @__PURE__ */ J(Ve, [["__file", "D:/inhe-code/witlink-platform-usercenter-web/witlink-platform-usercenter1/src/views/sys/functions/FunTree.vue"]]), He = {
228
+ __name: "FunEdit",
229
+ props: {
230
+ params: {
231
+ type: Object,
232
+ default: null
233
+ }
234
+ },
235
+ emits: ["ok", "cancel"],
236
+ setup(o, { emit: _ }) {
237
+ const { t: v } = oe(), p = _, d = o, r = b(), n = G({
238
+ funName: "",
239
+ image: "",
240
+ isPublic: [],
241
+ layout: [],
242
+ url: "",
243
+ actions: "",
244
+ selects: [],
245
+ options: []
246
+ }), u = {
247
+ labelCol: { lg: { span: 3 }, sm: { span: 9 } },
248
+ wrapperCol: { lg: { span: 20 }, sm: { span: 17 } }
249
+ }, y = b(!1), g = {
250
+ funName: [{ required: !0, message: v("fun.fun_name_msg1") }],
251
+ isPublic: [
252
+ {
253
+ required: !0,
254
+ message: v("fun.is_public_msg1"),
255
+ validator: (l, s) => s && s[0] ? Promise.resolve() : Promise.reject(v("fun.is_public_msg1"))
256
+ }
257
+ ],
258
+ url: [{ required: !0, message: v("fun.fun_name_msg1") }]
259
+ }, x = async () => {
260
+ if (y.value = !0, d.params.opType == "1") {
261
+ const { result: l } = await Ae({
262
+ code: d.params.code
263
+ });
264
+ Object.assign(n, l);
265
+ } else {
266
+ const { result: l } = await Be({
267
+ code: d.params.code
268
+ });
269
+ Object.assign(n, l, {
270
+ isPublic: [l.isPublic],
271
+ layout: [l.layout],
272
+ actions: l.actions.split(",")
273
+ });
274
+ }
275
+ y.value = !1;
276
+ }, w = () => {
277
+ r.value && r.value.validate().then(async () => {
278
+ const l = {
279
+ code: d.params.code,
280
+ funName: n.funName,
281
+ image: n.image,
282
+ isPublic: n.isPublic[0],
283
+ layout: n.layout[0],
284
+ url: n.url,
285
+ actions: n.actions.join(",")
286
+ };
287
+ if (y.value = !0, d.params.opType == "1") {
288
+ const { result: s } = await Me(l);
289
+ y.value = !1, s && p("ok", s);
290
+ } else {
291
+ const { result: s } = await Ee(l);
292
+ y.value = !1, s && p("ok", s);
293
+ }
294
+ });
295
+ }, F = () => {
296
+ p("cancel");
297
+ };
298
+ return se(
299
+ () => d.params,
300
+ () => {
301
+ x();
302
+ }
303
+ ), ue(() => {
304
+ x();
305
+ }), (l, s) => {
306
+ const e = ye, a = ge, f = Ne, m = le, P = he, T = be;
307
+ return k(), q(T, { spinning: y.value }, {
308
+ default: c(() => [
309
+ t(m, {
310
+ model: n,
311
+ ref_key: "formRef",
312
+ ref: r,
313
+ rules: g
314
+ }, {
315
+ default: c(() => [
316
+ t(a, $({
317
+ label: l.$t("fun.fun_name")
318
+ }, u, { name: "funName" }), {
319
+ default: c(() => [
320
+ t(e, {
321
+ placeholder: l.$t("fun.fun_name_placeholder"),
322
+ value: n.funName,
323
+ "onUpdate:value": s[0] || (s[0] = (h) => n.funName = h)
324
+ }, null, 8, ["placeholder", "value"])
325
+ ]),
326
+ _: 1
327
+ }, 16, ["label"]),
328
+ t(a, $({
329
+ label: l.$t("fun.image")
330
+ }, u, { name: "image" }), {
331
+ default: c(() => [
332
+ t(e, {
333
+ placeholder: l.$t("fun.image_placeholder"),
334
+ value: n.image,
335
+ "onUpdate:value": s[1] || (s[1] = (h) => n.image = h)
336
+ }, null, 8, ["placeholder", "value"])
337
+ ]),
338
+ _: 1
339
+ }, 16, ["label"]),
340
+ t(a, $({
341
+ label: l.$t("fun.is_public")
342
+ }, u, { name: "isPublic" }), {
343
+ default: c(() => [
344
+ t(V, {
345
+ type: "FUN_PUBLIC",
346
+ isPublic: !0,
347
+ value: n.isPublic,
348
+ "onUpdate:value": s[2] || (s[2] = (h) => n.isPublic = h)
349
+ }, null, 8, ["value"])
350
+ ]),
351
+ _: 1
352
+ }, 16, ["label"]),
353
+ t(a, $({
354
+ label: l.$t("fun.layout")
355
+ }, u, { name: "layout" }), {
356
+ default: c(() => [
357
+ t(V, {
358
+ type: "FUN_LAYOUT",
359
+ isPublic: !0,
360
+ value: n.layout,
361
+ "onUpdate:value": s[3] || (s[3] = (h) => n.layout = h)
362
+ }, null, 8, ["value"])
363
+ ]),
364
+ _: 1
365
+ }, 16, ["label"]),
366
+ t(a, $({
367
+ label: l.$t("fun.url")
368
+ }, u, { name: "url" }), {
369
+ default: c(() => [
370
+ t(e, {
371
+ placeholder: l.$t("fun.url_placeholder"),
372
+ value: n.url,
373
+ "onUpdate:value": s[4] || (s[4] = (h) => n.url = h)
374
+ }, null, 8, ["placeholder", "value"])
375
+ ]),
376
+ _: 1
377
+ }, 16, ["label"]),
378
+ t(a, $({
379
+ label: l.$t("fun.actions")
380
+ }, u), {
381
+ default: c(() => [
382
+ t(f, {
383
+ options: n.options,
384
+ value: n.selects,
385
+ "onUpdate:value": s[5] || (s[5] = (h) => n.selects = h)
386
+ }, null, 8, ["options", "value"])
387
+ ]),
388
+ _: 1
389
+ }, 16, ["label"])
390
+ ]),
391
+ _: 1
392
+ }, 8, ["model"]),
393
+ t(Ie, { style: { width: "100%" } }, {
394
+ default: c(() => [
395
+ t(P, { onClick: F }, {
396
+ default: c(() => [
397
+ K(z(l.$t("common.btn_cancel")), 1)
398
+ ]),
399
+ _: 1
400
+ }),
401
+ s[6] || (s[6] = K("\xA0\xA0 ")),
402
+ t(P, {
403
+ onClick: w,
404
+ type: "primary"
405
+ }, {
406
+ default: c(() => [
407
+ K(z(l.$t("common.btn_ok")), 1)
408
+ ]),
409
+ _: 1
410
+ })
411
+ ]),
412
+ _: 1
413
+ })
414
+ ]),
415
+ _: 1
416
+ }, 8, ["spinning"]);
417
+ };
418
+ }
419
+ }, Je = /* @__PURE__ */ J(He, [["__file", "D:/inhe-code/witlink-platform-usercenter-web/witlink-platform-usercenter1/src/views/sys/functions/FunEdit.vue"]]), Qe = { style: { padding: "24px 24px 16px 24px", "border-bottom": "1px solid #e5e6eb", "font-weight": "bold", "font-size": "14px", "box-sizing": "border-box" } }, We = { style: { "margin-top": "16px", height: "calc(100% - 100px)", overflow: "auto" } }, Xe = { style: { height: "32px" } }, Ze = { key: 1 }, et = { key: 2 }, tt = /* @__PURE__ */ O({
420
+ name: "Function13",
421
+ __name: "index",
422
+ setup(o) {
423
+ var Q, W;
424
+ const { t: _ } = oe(), { getLabel: v } = te("FUN_PUBLIC"), { getLabel: p } = te("FUN_LAYOUT"), d = b(), r = b(), n = b(), u = b(!1), y = b({}), g = G({
425
+ code: ""
426
+ }), x = async (i) => {
427
+ const { result: D } = await je({
428
+ ...i,
429
+ ...g
430
+ });
431
+ return D;
432
+ }, w = () => {
433
+ n.value && n.value.refresh();
434
+ }, F = (Q = d.value) == null ? void 0 : Q.getLabel(0), l = (W = d.value) == null ? void 0 : W.getLabel(1), s = G([
435
+ {
436
+ title: "#",
437
+ width: "50px",
438
+ align: "center",
439
+ key: "index1"
440
+ },
441
+ {
442
+ title: _("fun.fun_name"),
443
+ dataIndex: "funName",
444
+ width: "150px",
445
+ key: "funName"
446
+ },
447
+ {
448
+ title: _("fun.url"),
449
+ dataIndex: "url",
450
+ width: "150px",
451
+ key: "url"
452
+ },
453
+ {
454
+ title: _("fun.is_public"),
455
+ dataIndex: "isPublic",
456
+ width: "150px",
457
+ key: "isPublic",
458
+ customRender: ({ record: i }) => i.isPublic ? v(i.isPublic) : ""
459
+ },
460
+ {
461
+ title: _("fun.status"),
462
+ dataIndex: "status",
463
+ width: "150px",
464
+ key: "status"
465
+ },
466
+ {
467
+ title: _("fun.image"),
468
+ dataIndex: "image",
469
+ width: "150px",
470
+ key: "image"
471
+ },
472
+ {
473
+ title: _("fun.layout"),
474
+ dataIndex: "layout",
475
+ width: "150px",
476
+ key: "layout",
477
+ customRender: ({ record: i }) => i.layout ? p(i.layout) : ""
478
+ },
479
+ {
480
+ title: _("fun.action"),
481
+ align: "center",
482
+ key: "action"
483
+ }
484
+ ]), e = (i) => {
485
+ i.length > 0 ? g.code = i[0] : g.code = "", w();
486
+ }, a = (i) => {
487
+ Ge({ jsonStr: JSON.stringify(i) }).then(() => {
488
+ r.value.reload("init-tree");
489
+ });
490
+ }, f = (i, D) => {
491
+ qe({ code: D.code, status: i ? "0" : "1" }).then(
492
+ () => {
493
+ w();
494
+ }
495
+ );
496
+ }, m = (i) => {
497
+ ze({ code: i.code }).then(() => {
498
+ r.value.reload("init-tree");
499
+ });
500
+ }, P = () => {
501
+ y.value = { opType: "1", code: g.code }, u.value = !0;
502
+ }, T = (i) => {
503
+ y.value = { opType: "2", code: i.code }, u.value = !0;
504
+ }, h = () => {
505
+ u.value = !1, r.value.reload();
506
+ }, ie = () => {
507
+ u.value = !1;
508
+ };
509
+ return (i, D) => {
510
+ const N = Re, re = we, X = Le, ce = le, de = ke, pe = Pe, fe = De, me = $e, _e = Se, ve = S;
511
+ return k(), L("div", null, [
512
+ Z(t(X, {
513
+ gutter: 16,
514
+ style: { height: "100%", width: "calc(100% - 2px)" }
515
+ }, {
516
+ default: c(() => [
517
+ t(N, { span: 4 }, {
518
+ default: c(() => [
519
+ j("div", Qe, z(i.$t("fun.tree_title")), 1),
520
+ j("div", We, [
521
+ t(Ye, {
522
+ onSelect: e,
523
+ onDrop: a,
524
+ ref_key: "funTreeRef",
525
+ ref: r,
526
+ style: { padding: "0 22px 10px" }
527
+ }, null, 512)
528
+ ])
529
+ ]),
530
+ _: 1
531
+ }),
532
+ t(N, { span: 20 }, {
533
+ default: c(() => [
534
+ t(ve, {
535
+ bordered: !1,
536
+ style: { height: "calc(100% - 16px)" }
537
+ }, {
538
+ default: c(() => [
539
+ j("div", Xe, [
540
+ t(ce, { layout: "inline" }, {
541
+ default: c(() => [
542
+ t(X, null, {
543
+ default: c(() => [
544
+ t(N, { md: 16 }, {
545
+ default: c(() => [
546
+ t(re, {
547
+ onClick: P,
548
+ text: i.$t("fun.addmenu")
549
+ }, null, 8, ["text"]),
550
+ D[0] || (D[0] = K("\xA0 "))
551
+ ]),
552
+ _: 1
553
+ }),
554
+ t(N, { md: 8 })
555
+ ]),
556
+ _: 1
557
+ })
558
+ ]),
559
+ _: 1
560
+ })
561
+ ]),
562
+ t(Ue, {
563
+ style: { "margin-top": "10px" },
564
+ ref_key: "tableRef",
565
+ ref: n,
566
+ columns: s,
567
+ data: x,
568
+ pagination: !1,
569
+ rowKey: "code"
570
+ }, {
571
+ bodyCell: c(({ record: U, column: A }) => [
572
+ A.key === "index1" ? (k(), q(I(xe), {
573
+ key: 0,
574
+ class: "icon",
575
+ style: { fontSize: "25px", color: "#1890ff" }
576
+ }, {
577
+ component: c(() => [
578
+ t(I(Ce))
579
+ ]),
580
+ _: 1
581
+ })) : R("v-if", !0),
582
+ A.key === "status" ? (k(), L("span", Ze, [
583
+ t(de, {
584
+ defaultChecked: U.status == 0,
585
+ checkedChildren: I(F),
586
+ unCheckedChildren: I(l),
587
+ onChange: (B) => f(B, U)
588
+ }, null, 8, ["defaultChecked", "checkedChildren", "unCheckedChildren", "onChange"])
589
+ ])) : R("v-if", !0),
590
+ A.key === "action" ? (k(), L("span", et, [
591
+ t(pe, {
592
+ onClick: (B) => T(U),
593
+ type: "a"
594
+ }, null, 8, ["onClick"]),
595
+ t(_e, {
596
+ title: i.$t("fun.msg1")
597
+ }, {
598
+ default: c(() => [
599
+ t(fe, { type: "vertical" }),
600
+ t(me, {
601
+ onClick: (B) => m(U),
602
+ type: "a"
603
+ }, null, 8, ["onClick"])
604
+ ]),
605
+ _: 2
606
+ }, 1032, ["title"])
607
+ ])) : R("v-if", !0)
608
+ ]),
609
+ _: 1
610
+ }, 8, ["columns"])
611
+ ]),
612
+ _: 1
613
+ })
614
+ ]),
615
+ _: 1
616
+ })
617
+ ]),
618
+ _: 1
619
+ }, 512), [
620
+ [ee, !u.value]
621
+ ]),
622
+ Z(t(V, {
623
+ type: "CMS_STATUS",
624
+ ref_key: "dicStatusRef",
625
+ ref: d,
626
+ isPublic: !0
627
+ }, null, 512), [
628
+ [ee, !1]
629
+ ]),
630
+ u.value ? (k(), q(Je, {
631
+ key: 0,
632
+ onOk: h,
633
+ onCancel: ie,
634
+ params: y.value
635
+ }, null, 8, ["params"])) : R("v-if", !0)
636
+ ]);
637
+ };
638
+ }
639
+ });
640
+ const ct = /* @__PURE__ */ J(tt, [["__scopeId", "data-v-04710d5f"], ["__file", "D:/inhe-code/witlink-platform-usercenter-web/witlink-platform-usercenter1/src/views/sys/functions/index.vue"]]);
641
+ export {
642
+ ct as default
643
+ };