ss-component-new 1.1.138 → 1.1.151
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/{array-0IshmkQJ.cjs → array-C09NLiVl.cjs} +1 -1
- package/dist/{array-CIJ8dGq6.js → array-CqhTXR28.js} +7 -7
- package/dist/{cloneDeep-DSQ_igXr.cjs → cloneDeep-B6Av9vYT.cjs} +1 -1
- package/dist/{cloneDeep-C6YLa8ot.js → cloneDeep-Cm2ut66T.js} +1 -1
- package/dist/{index-YBnh4kpP.cjs → index-1TcDjOsz.cjs} +1 -1
- package/dist/{index-CKd6wtQl.js → index-BH36LQch.js} +1 -1
- package/dist/{index-BgEwgHeR.js → index-BHjs6gMr.js} +2 -2
- package/dist/{index-TZz_Myyq.js → index-BQK2DuaH.js} +9 -9
- package/dist/{index-B1C1v_Px.cjs → index-BUkyNn3m.cjs} +1 -1
- package/dist/{index-BJrnQHML.cjs → index-BZaGIyxe.cjs} +1 -1
- package/dist/{index-Ct6IzfTx.cjs → index-BaSc02sA.cjs} +2 -2
- package/dist/{index-5Glr7sEl.js → index-Bel0p329.js} +63 -63
- package/dist/{index-CCbUHfbR.cjs → index-BgY5srT7.cjs} +1 -1
- package/dist/{index-3X2JdNo3.js → index-BlNU-ya_.js} +5 -5
- package/dist/{index-Oe1ZKXjI.cjs → index-C1sMNKRi.cjs} +1 -1
- package/dist/{index-BCI7q3f5.js → index-C8mv9PET.js} +6 -6
- package/dist/{index-VRCCBuFY.cjs → index-CMue5Zek.cjs} +1 -1
- package/dist/{index-CEAr7g_x.js → index-C_Ek6N_z.js} +4 -4
- package/dist/{index-CKncyBT-.cjs → index-CcxZZo6K.cjs} +1 -1
- package/dist/{index-9LI1e9ga.cjs → index-Ch7zPabE.cjs} +1 -1
- package/dist/{index-BYjjDHvu.js → index-Ckrm7F4u.js} +1 -1
- package/dist/{index-CocT3ngV.cjs → index-CsK9LWak.cjs} +1 -1
- package/dist/{index-CQkg-hee.js → index-CtTbyHOu.js} +6 -6
- package/dist/{index-B3mpQLb3.cjs → index-Cxz9ADeg.cjs} +1 -1
- package/dist/{index-LtlDJOqV.cjs → index-Cy23PxmQ.cjs} +1 -1
- package/dist/{index-BLO1N_mc.js → index-D-6CVrZh.js} +1 -1
- package/dist/{index-DMju3RK4.cjs → index-D9hjyDNL.cjs} +1 -1
- package/dist/{index-DEcbAdpA.js → index-DORM2j0-.js} +6 -6
- package/dist/{index-9m8ZOeUK.cjs → index-DXQEaxeL.cjs} +1 -1
- package/dist/{index-C1RaRVSs.js → index-D_JFO4Ed.js} +7 -7
- package/dist/{index-C0SnH4hf.js → index-DcuEMWMM.js} +5 -5
- package/dist/{index-DQQnRSg0.cjs → index-DjlDuRvf.cjs} +1 -1
- package/dist/{index-Y34BMuQP.js → index-DoHr_nug.js} +563 -556
- package/dist/{index-B_9tujT0.js → index-DqOy9nnX.js} +4 -4
- package/dist/{index-BN2Hps6w.js → index-DyhHmlGD.js} +1 -1
- package/dist/{index-Czll01_l.js → index-GvkFEReE.js} +4 -4
- package/dist/{index-vw96Xii2.cjs → index-LX4uBOi3.cjs} +1 -1
- package/dist/{index-K3sFnD_E.js → index-Nb7mXZOf.js} +3 -3
- package/dist/{index-DBBXJzQJ.js → index-ODNyDte9.js} +5 -5
- package/dist/{index-BKClglfP.cjs → index-YajCTD4A.cjs} +1 -1
- package/dist/index-dm-zOhNm.cjs +1 -0
- package/dist/{index-B0cttYFm.cjs → index-wsyih2HQ.cjs} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-CGnBsRzb.cjs → index.vue_vue_type_script_setup_true_lang-ClNwGHXE.cjs} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-BumUFbn-.js → index.vue_vue_type_script_setup_true_lang-CuQ3xcyC.js} +2 -2
- package/dist/index.vue_vue_type_style_index_0_scoped_baf99455_lang-FY_pjpOg.js +478 -0
- package/dist/index.vue_vue_type_style_index_0_scoped_baf99455_lang-W4auoQ9V.cjs +1 -0
- package/dist/{index.vue_vue_type_style_index_0_scoped_bbb8ace9_lang-CGR-OZOc.js → index.vue_vue_type_style_index_0_scoped_bbb8ace9_lang-BAlbShP-.js} +3 -3
- package/dist/{index.vue_vue_type_style_index_0_scoped_bbb8ace9_lang-BQkPy1iT.cjs → index.vue_vue_type_style_index_0_scoped_bbb8ace9_lang-ClRL5aRq.cjs} +1 -1
- package/dist/{login-CnN_NEU_.js → login-DnBDEGHt.js} +2 -2
- package/dist/{login-BDuusNHG.cjs → login-aDjal4KC.cjs} +1 -1
- package/dist/{main-Ceoo-qQr.cjs → main-ChEDt98s.cjs} +1 -1
- package/dist/{main-ni3OdUUB.js → main-Do8E5J_V.js} +4 -4
- package/dist/{request-CJPeGqdv.cjs → request-BId7xEpo.cjs} +1 -1
- package/dist/{request-51putk3Q.js → request-RC5ET7Nr.js} +1 -1
- package/dist/ss-component.cjs +1 -1
- package/dist/ss-component.css +1 -1
- package/dist/ss-component.js +6 -6
- package/dist/ss-component2.cjs +1 -1
- package/dist/ss-component2.js +1 -1
- package/package.json +1 -1
- package/dist/index-DO49JF8z.cjs +0 -1
- package/dist/index.vue_vue_type_style_index_0_scoped_baf99455_lang-0EhkIvBa.cjs +0 -1
- package/dist/index.vue_vue_type_style_index_0_scoped_baf99455_lang-CFgYenw6.js +0 -460
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { ref as k, watch as L, nextTick as oa, resolveComponent as Ve, createBlock as ce, openBlock as H, withCtx as V, createElementVNode as S, renderSlot as $e, onMounted as Me, createElementBlock as P, createCommentVNode as Re, Fragment as Pe, renderList as We, normalizeStyle as ze, toDisplayString as ne, createVNode as
|
|
2
|
-
import { g as ue, d as ta, c as ua, u as da, p as Ie } from "./index-
|
|
3
|
-
import { a2 as ca } from "./index-
|
|
4
|
-
import { s as Ue, a as fa, b as pa } from "./index-
|
|
5
|
-
import { c as A } from "./cloneDeep-
|
|
1
|
+
import { ref as k, watch as L, nextTick as oa, resolveComponent as Ve, createBlock as ce, openBlock as H, withCtx as V, createElementVNode as S, renderSlot as $e, onMounted as Me, createElementBlock as P, createCommentVNode as Re, Fragment as Pe, renderList as We, normalizeStyle as ze, toDisplayString as ne, createVNode as X, unref as sa, createSlots as ra } from "vue";
|
|
2
|
+
import { g as ue, d as ta, c as ua, u as da, p as Ie } from "./index-BH36LQch.js";
|
|
3
|
+
import { a2 as ca } from "./index-D_JFO4Ed.js";
|
|
4
|
+
import { s as Ue, a as fa, b as pa } from "./index-DoHr_nug.js";
|
|
5
|
+
import { c as A } from "./cloneDeep-Cm2ut66T.js";
|
|
6
6
|
import { _ as Ge } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
7
7
|
import { d as Je, u as ha, s as de } from "./menu-XcYMZJLY.js";
|
|
8
8
|
const ya = {
|
|
@@ -65,9 +65,9 @@ const ya = {
|
|
|
65
65
|
}, 8, ["visible", "title", "width"]);
|
|
66
66
|
};
|
|
67
67
|
}
|
|
68
|
-
},
|
|
68
|
+
}, Y = k(0), ie = (r) => (Y.value++, r == null ? void 0 : r.map((e) => Array.isArray(e) ? ie(e) : {
|
|
69
69
|
label: (e == null ? void 0 : e.label) ?? "",
|
|
70
|
-
prop: (e == null ? void 0 : e.label) === "操作" ? "operate" : (e == null ? void 0 : e.prop) ?? "a" +
|
|
70
|
+
prop: (e == null ? void 0 : e.label) === "操作" ? "operate" : (e == null ? void 0 : e.prop) ?? "a" + Y.value,
|
|
71
71
|
width: (e == null ? void 0 : e.label) === "操作" ? "160" : e != null && e.width ? parseInt(e.width) : "",
|
|
72
72
|
fixed: (e == null ? void 0 : e.fixed) ?? void 0,
|
|
73
73
|
sortable: (e == null ? void 0 : e.sortable) ?? !1,
|
|
@@ -76,7 +76,7 @@ const ya = {
|
|
|
76
76
|
isNotDrag: (e == null ? void 0 : e.isNotDrag) ?? !1,
|
|
77
77
|
isEditCol: (e == null ? void 0 : e.isEditCol) ?? !1,
|
|
78
78
|
isOperate: (e == null ? void 0 : e.isOperate) ?? !1,
|
|
79
|
-
id: (e == null ? void 0 : e.id) ??
|
|
79
|
+
id: (e == null ? void 0 : e.id) ?? Y.value,
|
|
80
80
|
type: (e == null ? void 0 : e.label) === "操作" ? "operate" : void 0,
|
|
81
81
|
formType: (e == null ? void 0 : e.formType) ?? "",
|
|
82
82
|
isHidden: e == null ? void 0 : e.isHidden,
|
|
@@ -92,7 +92,7 @@ const ya = {
|
|
|
92
92
|
return e(r), t;
|
|
93
93
|
}, Se = (r) => A(r).map((e) => (Array.isArray(e) && (e = e.map((a) => (Array.isArray(a) ? a = ie(a) : (a = {
|
|
94
94
|
label: (a == null ? void 0 : a.label) ?? "",
|
|
95
|
-
prop: (a == null ? void 0 : a.label) === "操作" ? "operate" : (a == null ? void 0 : a.prop) ?? "a" +
|
|
95
|
+
prop: (a == null ? void 0 : a.label) === "操作" ? "operate" : (a == null ? void 0 : a.prop) ?? "a" + Y.value,
|
|
96
96
|
width: (a == null ? void 0 : a.label) === "操作" ? "160" : a != null && a.width ? parseInt(a.width) : "",
|
|
97
97
|
fixed: (a == null ? void 0 : a.fixed) ?? void 0,
|
|
98
98
|
sortable: (a == null ? void 0 : a.sortable) ?? !1,
|
|
@@ -101,13 +101,13 @@ const ya = {
|
|
|
101
101
|
isNotDrag: (a == null ? void 0 : a.isNotDrag) ?? !1,
|
|
102
102
|
isEditCol: (a == null ? void 0 : a.isEditCol) ?? !1,
|
|
103
103
|
isOperate: (a == null ? void 0 : a.isOperate) ?? !1,
|
|
104
|
-
id: (a == null ? void 0 : a.id) ??
|
|
104
|
+
id: (a == null ? void 0 : a.id) ?? Y.value,
|
|
105
105
|
type: (a == null ? void 0 : a.label) === "操作" ? "operate" : void 0,
|
|
106
106
|
formType: (a == null ? void 0 : a.formType) ?? "",
|
|
107
107
|
isHidden: a == null ? void 0 : a.isHidden,
|
|
108
108
|
options: (a == null ? void 0 : a.options) ?? [],
|
|
109
109
|
children: ie(a.children)
|
|
110
|
-
},
|
|
110
|
+
}, Y.value++), a))), e)), qe = (r) => {
|
|
111
111
|
function t(e, a = []) {
|
|
112
112
|
if (!e || e.length === 0) return [];
|
|
113
113
|
let l = a;
|
|
@@ -137,8 +137,8 @@ const ya = {
|
|
|
137
137
|
const e = t, a = r, l = k(!1), o = k([]), b = k([{ label: "取消" }, { label: "确认" }]), h = (v) => {
|
|
138
138
|
e("buttonClick", v);
|
|
139
139
|
}, D = (v) => {
|
|
140
|
-
var j,
|
|
141
|
-
o.value = (
|
|
140
|
+
var j, B;
|
|
141
|
+
o.value = (B = (j = qe(A(v))) == null ? void 0 : j.filter((y) => (y == null ? void 0 : y.label) !== "" && (y == null ? void 0 : y.label) !== "操作")) == null ? void 0 : B.map((y) => ({
|
|
142
142
|
label: (y == null ? void 0 : y.label) ?? "",
|
|
143
143
|
value: "",
|
|
144
144
|
name: (y == null ? void 0 : y.prop) ?? "",
|
|
@@ -157,7 +157,7 @@ const ya = {
|
|
|
157
157
|
{ deep: !0, immediate: !0 }
|
|
158
158
|
), (v, j) => {
|
|
159
159
|
var y;
|
|
160
|
-
const
|
|
160
|
+
const B = Ve("el-tooltip");
|
|
161
161
|
return H(), P("div", ba, [
|
|
162
162
|
a != null && a.buttons && ((y = a == null ? void 0 : a.buttons) == null ? void 0 : y.length) > 0 ? (H(), P("div", ma, [
|
|
163
163
|
(H(!0), P(Pe, null, We(a == null ? void 0 : a.buttons, (T, M) => (H(), P("div", {
|
|
@@ -172,13 +172,13 @@ const ya = {
|
|
|
172
172
|
]))), 128))
|
|
173
173
|
])) : Re("", !0),
|
|
174
174
|
S("div", ka, [
|
|
175
|
-
|
|
175
|
+
X(ya, {
|
|
176
176
|
title: "筛选数据",
|
|
177
177
|
width: 500,
|
|
178
178
|
isVisible: l.value
|
|
179
179
|
}, {
|
|
180
180
|
reference: V(() => [
|
|
181
|
-
|
|
181
|
+
X(B, {
|
|
182
182
|
content: "筛选",
|
|
183
183
|
placement: "top-start"
|
|
184
184
|
}, {
|
|
@@ -187,7 +187,7 @@ const ya = {
|
|
|
187
187
|
class: "button-style",
|
|
188
188
|
onClick: j[0] || (j[0] = (T) => l.value = !l.value)
|
|
189
189
|
}, [
|
|
190
|
-
|
|
190
|
+
X(sa(ca))
|
|
191
191
|
])
|
|
192
192
|
]),
|
|
193
193
|
_: 1
|
|
@@ -292,8 +292,8 @@ const ya = {
|
|
|
292
292
|
var o;
|
|
293
293
|
let a = r, l = t;
|
|
294
294
|
return (l == null ? void 0 : l.length) === 0 ? a.children = e : a.children = (o = a.children) == null ? void 0 : o.map((b) => (b.id.toString() === (l == null ? void 0 : l[0]) && (l == null || l.shift(), b = Ze(b, l, e)), b)), a;
|
|
295
|
-
},
|
|
296
|
-
var v, j,
|
|
295
|
+
}, Ba = async (r, t, e = "") => {
|
|
296
|
+
var v, j, B, y, T, M;
|
|
297
297
|
const a = await ue({
|
|
298
298
|
key: {
|
|
299
299
|
pageKey: r,
|
|
@@ -314,36 +314,36 @@ const ya = {
|
|
|
314
314
|
}
|
|
315
315
|
})), h = await Promise.all(b), D = [];
|
|
316
316
|
h == null || h.forEach((C) => {
|
|
317
|
-
var I, W,
|
|
317
|
+
var I, W, N, z;
|
|
318
318
|
const $ = (I = C.data.result) == null ? void 0 : I.map((ee) => {
|
|
319
319
|
const F = ee.value.tableData;
|
|
320
320
|
return F.unshift({
|
|
321
321
|
id: ee.id
|
|
322
322
|
}), F;
|
|
323
|
-
}),
|
|
323
|
+
}), Q = (z = (N = (W = C.data.result) == null ? void 0 : W[0]) == null ? void 0 : N.key) == null ? void 0 : z.tableId;
|
|
324
324
|
D.push({
|
|
325
|
-
key:
|
|
325
|
+
key: Q,
|
|
326
326
|
contents: $
|
|
327
327
|
});
|
|
328
328
|
});
|
|
329
329
|
const _ = [];
|
|
330
330
|
return (j = a.data.result) == null || j.forEach((C) => {
|
|
331
331
|
var I, W;
|
|
332
|
-
const $ = C.value.pageData,
|
|
333
|
-
if (
|
|
332
|
+
const $ = C.value.pageData, Q = A($.compData);
|
|
333
|
+
if (Q.push({
|
|
334
334
|
key: "tableContents",
|
|
335
|
-
contents: (I = D == null ? void 0 : D.find((
|
|
336
|
-
}), $.compData =
|
|
335
|
+
contents: (I = D == null ? void 0 : D.find((N) => (N == null ? void 0 : N.key) === C.id)) == null ? void 0 : I.contents
|
|
336
|
+
}), $.compData = Q, $.id = C.id, ((W = C.key) == null ? void 0 : W.type) !== "method")
|
|
337
337
|
_.push($);
|
|
338
338
|
else {
|
|
339
|
-
let
|
|
340
|
-
|
|
339
|
+
let N;
|
|
340
|
+
N = {
|
|
341
341
|
name: "",
|
|
342
342
|
compData: [$],
|
|
343
343
|
comp: "calculator"
|
|
344
|
-
}, _.push(
|
|
344
|
+
}, _.push(N);
|
|
345
345
|
}
|
|
346
|
-
}), ((y = (
|
|
346
|
+
}), ((y = (B = l.data.result) == null ? void 0 : B.map((C) => C.value.pageData)) == null ? void 0 : y.filter((C) => Object.values(C).length > 0).length) > 0 && _.push({
|
|
347
347
|
comp: "methodButton",
|
|
348
348
|
name: "",
|
|
349
349
|
compData: (M = (T = l.data.result) == null ? void 0 : T.map((C) => C.value.pageData)) == null ? void 0 : M.filter((C) => Object.values(C).length > 0)
|
|
@@ -377,7 +377,7 @@ const ya = {
|
|
|
377
377
|
},
|
|
378
378
|
id: a
|
|
379
379
|
});
|
|
380
|
-
},
|
|
380
|
+
}, Na = { class: "table-content" }, Fa = ["onClick"], ja = { class: "form-content" }, Ha = {
|
|
381
381
|
key: 0,
|
|
382
382
|
class: "dialog-footer"
|
|
383
383
|
}, $a = {
|
|
@@ -402,17 +402,17 @@ const ya = {
|
|
|
402
402
|
setup(r, { emit: t }) {
|
|
403
403
|
const e = r, a = t, l = k([]), o = ha(), { activeMenuPath: b } = de(o), h = k([]), D = k("");
|
|
404
404
|
k();
|
|
405
|
-
const _ = k(!0), v = k(0), j = k(!1),
|
|
405
|
+
const _ = k(!0), v = k(0), j = k(!1), B = k(""), y = k(!1), T = k([]), M = k(!1), C = k([]), $ = k([]), Q = k(), I = k(), W = Ta(Ie), N = k(), z = va(Ie), { selectIndex: ee, selectMenu: F, selectTitle: oe } = de(z), { selectString: U } = de(W), Ke = k(720), Le = () => {
|
|
406
406
|
y.value = !1;
|
|
407
407
|
}, ea = async (n) => {
|
|
408
|
-
var m, p, f, s, g, w,
|
|
409
|
-
|
|
410
|
-
if (c && c.length > 0) {
|
|
411
|
-
const
|
|
412
|
-
|
|
408
|
+
var m, p, f, s, g, w, Z;
|
|
409
|
+
let c = await Ba(b.value, sessionStorage.getItem("systemKey"), n.id);
|
|
410
|
+
if (c = c == null ? void 0 : c.filter((G) => G.comp !== "methodButton"), c && c.length > 0) {
|
|
411
|
+
const G = !Array.isArray(oe.value) && ((m = oe.value) == null ? void 0 : m.key) !== "main" ? [] : oe.value;
|
|
412
|
+
G.push({
|
|
413
413
|
key: F.value === "" ? (p = n == null ? void 0 : n.id) == null ? void 0 : p.toString() : F.value + "-" + ((f = n == null ? void 0 : n.id) == null ? void 0 : f.toString()),
|
|
414
414
|
value: n[(s = Object.keys(n)) == null ? void 0 : s.filter((K) => K !== "index" && K !== "id")[0]]
|
|
415
|
-
}), z.setSelectMenu(F.value === "" ? (g = n == null ? void 0 : n.id) == null ? void 0 : g.toString() : F.value + "-" + ((w = n == null ? void 0 : n.id) == null ? void 0 : w.toString())), z.setSelectTitle(
|
|
415
|
+
}), z.setSelectMenu(F.value === "" ? (g = n == null ? void 0 : n.id) == null ? void 0 : g.toString() : F.value + "-" + ((w = n == null ? void 0 : n.id) == null ? void 0 : w.toString())), z.setSelectTitle(G), z.setSelectIndex((Z = n == null ? void 0 : n.id) == null ? void 0 : Z.toString()), a("pageChange", c);
|
|
416
416
|
}
|
|
417
417
|
}, fe = (n) => {
|
|
418
418
|
var m;
|
|
@@ -453,7 +453,7 @@ const ya = {
|
|
|
453
453
|
var m;
|
|
454
454
|
if (D.value = "", M.value = !0, _.value = !0, a("onButtonClick", n, c), n === "删除") {
|
|
455
455
|
h.value = (m = A(h.value)) == null ? void 0 : m.filter((f) => (f == null ? void 0 : f.id) !== (c == null ? void 0 : c.id));
|
|
456
|
-
const p = wa(
|
|
456
|
+
const p = wa(N.value, F.value, c == null ? void 0 : c.id);
|
|
457
457
|
fe(p), a("change", {
|
|
458
458
|
content: h.value,
|
|
459
459
|
singleContent: c,
|
|
@@ -461,14 +461,14 @@ const ya = {
|
|
|
461
461
|
type: "delete",
|
|
462
462
|
buttonName: n
|
|
463
463
|
});
|
|
464
|
-
} else n === "新增" ? (
|
|
464
|
+
} else n === "新增" ? (B.value = "新增", re(""), y.value = !0) : n === "编辑" ? (B.value = "编辑", re(c), y.value = !0) : n === "查看" && (B.value = "查看", re(c), M.value = !1, _.value = !1, y.value = !0);
|
|
465
465
|
}, re = (n) => {
|
|
466
466
|
var p, f;
|
|
467
467
|
const c = [];
|
|
468
468
|
let m = [];
|
|
469
469
|
for (let s in n)
|
|
470
470
|
Array.isArray(n == null ? void 0 : n[s]) && m.push(s);
|
|
471
|
-
(f = qe((p = A(l.value)) == null ? void 0 : p.filter((s) =>
|
|
471
|
+
(f = qe((p = A(l.value)) == null ? void 0 : p.filter((s) => (s == null ? void 0 : s.label) !== "操作"))) == null || f.forEach((s, g) => {
|
|
472
472
|
m.find((w) => w === (s == null ? void 0 : s.prop)) || c.push({
|
|
473
473
|
label: (s == null ? void 0 : s.label) ?? "",
|
|
474
474
|
name: (s == null ? void 0 : s.prop) ?? "t" + g,
|
|
@@ -486,12 +486,12 @@ const ya = {
|
|
|
486
486
|
const la = () => {
|
|
487
487
|
let n, c = A(h.value);
|
|
488
488
|
D.value === "" ? (v.value++, c.push(Object.assign(I.value, { id: v.value })), n = Object.assign(I.value, { id: v.value })) : c = c == null ? void 0 : c.map((p) => ((p == null ? void 0 : p.id) === D.value && (p = Object.assign(p, I.value), n = p), p)), h.value = c;
|
|
489
|
-
const m = xa(
|
|
489
|
+
const m = xa(N.value, F.value, c);
|
|
490
490
|
fe(m), y.value = !1, a("change", {
|
|
491
491
|
content: m,
|
|
492
492
|
singleContent: n,
|
|
493
493
|
index: e == null ? void 0 : e.index,
|
|
494
|
-
buttonName:
|
|
494
|
+
buttonName: B.value
|
|
495
495
|
});
|
|
496
496
|
}, na = (n) => {
|
|
497
497
|
I.value = n;
|
|
@@ -499,9 +499,9 @@ const ya = {
|
|
|
499
499
|
return L(
|
|
500
500
|
() => [e.itemData, U.value, ee.value, F.value],
|
|
501
501
|
() => {
|
|
502
|
-
var
|
|
503
|
-
const n = (
|
|
504
|
-
(
|
|
502
|
+
var Z, G, K, pe, he, ye, ge, be, me, Ce, ke, Ae, _e, De, Te, ve, we, Oe, xe, Ee, Be, Ne, Fe;
|
|
503
|
+
const n = (Z = A(e.itemData)) == null ? void 0 : Z.filter((u) => (u == null ? void 0 : u.key) === "header");
|
|
504
|
+
(G = A(e.itemData)) == null || G.filter((u) => (u == null ? void 0 : u.key) === "tableIndexColumn")[0];
|
|
505
505
|
const c = (K = A(e.itemData)) == null ? void 0 : K.find((u) => (u == null ? void 0 : u.key) === "page"), m = (pe = A(e.itemData)) == null ? void 0 : pe.find((u) => (u == null ? void 0 : u.key) === "rowButton"), p = (he = A(e.itemData)) == null ? void 0 : he.find((u) => (u == null ? void 0 : u.key) === "extraButton"), f = (ye = A(e.itemData)) == null ? void 0 : ye.filter((u) => (u == null ? void 0 : u.key) === "tableContents"), s = (ge = A(e.itemData)) == null ? void 0 : ge.filter((u) => (u == null ? void 0 : u.key) === "tableIndex");
|
|
506
506
|
j.value = (c == null ? void 0 : c.contents) ?? !0;
|
|
507
507
|
let g = [];
|
|
@@ -538,38 +538,38 @@ const ya = {
|
|
|
538
538
|
let R = (De = (_e = ga(A(l.value))) == null ? void 0 : _e.filter((d) => (d == null ? void 0 : d.type) !== "operate")) == null ? void 0 : De.map((d, i) => ({
|
|
539
539
|
prop: (d == null ? void 0 : d.prop) ?? "a" + i
|
|
540
540
|
}));
|
|
541
|
-
|
|
541
|
+
Q.value = R;
|
|
542
542
|
let O = [];
|
|
543
543
|
U.value === "" ? O = f == null ? void 0 : f[0] : O = (f == null ? void 0 : f.find((d) => (d == null ? void 0 : d.selectLabel) === "(" + U.value + ")")) ?? (f == null ? void 0 : f.find((d) => !(d != null && d.selectLabel)));
|
|
544
|
-
let
|
|
545
|
-
w != null && w.contents && ((Oe = w == null ? void 0 : w.contents) == null ? void 0 : Oe.length) !== 0 && (
|
|
544
|
+
let J = Array.isArray((Te = O == null ? void 0 : O.contents) == null ? void 0 : Te[0]) && ((ve = O == null ? void 0 : O.contents) != null && ve[0].every((d) => Array.isArray(d))) ? (we = A(O == null ? void 0 : O.contents)) == null ? void 0 : we[0] : A(O == null ? void 0 : O.contents);
|
|
545
|
+
w != null && w.contents && ((Oe = w == null ? void 0 : w.contents) == null ? void 0 : Oe.length) !== 0 && (J = (xe = A(J)) == null ? void 0 : xe.map((d, i) => {
|
|
546
546
|
if (!Array.isArray(d)) {
|
|
547
547
|
let x = {};
|
|
548
|
-
for (let
|
|
549
|
-
|
|
548
|
+
for (let q in d)
|
|
549
|
+
q !== "id" && q !== "index" && (x[q] = d[q]);
|
|
550
550
|
d = Object.values(x);
|
|
551
551
|
}
|
|
552
552
|
return d;
|
|
553
553
|
}));
|
|
554
554
|
const ia = !!((Ee = l.value) != null && Ee.find((d) => d.prop === "index"));
|
|
555
|
-
|
|
555
|
+
J = Xe(A(J), w == null ? void 0 : w.contents, ia);
|
|
556
556
|
const ae = [];
|
|
557
|
-
|
|
558
|
-
var
|
|
557
|
+
J == null || J.forEach((d, i) => {
|
|
558
|
+
var q;
|
|
559
559
|
let x = {};
|
|
560
560
|
Array.isArray(d) ? d == null || d.filter((E) => !E.id).forEach((E, le) => {
|
|
561
561
|
var je, He;
|
|
562
562
|
(je = R == null ? void 0 : R[le]) != null && je.prop && !Array.isArray(E) ? x[R[le].prop] = E : Array.isArray(E) && (E.find((te) => (te == null ? void 0 : te.key) === "tableContentName") && ((He = R[le]) != null && He.prop) ? x[R[le].prop] = E : x.children = Qe(E, R));
|
|
563
|
-
}) : x = d, Array.isArray(d) && d.some((E) => E == null ? void 0 : E.id) ? ae.push(Object.assign(x, { id: (
|
|
563
|
+
}) : x = d, Array.isArray(d) && d.some((E) => E == null ? void 0 : E.id) ? ae.push(Object.assign(x, { id: (q = d == null ? void 0 : d.find((E) => E.id)) == null ? void 0 : q.id })) : x.id ? ae.push(x) : ae.push(Object.assign(x, { id: i }));
|
|
564
564
|
}), h.value = ae;
|
|
565
565
|
} else
|
|
566
566
|
l.value = [], h.value = [];
|
|
567
|
-
((
|
|
567
|
+
((Be = m == null ? void 0 : m.contents) == null ? void 0 : Be.length) > 0 ? T.value = m == null ? void 0 : m.contents : T.value = [], ((Ne = p == null ? void 0 : p.contents) == null ? void 0 : Ne.length) > 0 ? C.value = p == null ? void 0 : p.contents : C.value = [], v.value = ((Fe = h == null ? void 0 : h.value) == null ? void 0 : Fe.length) ?? 0, N.value = h.value;
|
|
568
568
|
},
|
|
569
569
|
{ deep: !0, immediate: !0 }
|
|
570
570
|
), (n, c) => {
|
|
571
571
|
var m;
|
|
572
|
-
return H(), P("div",
|
|
572
|
+
return H(), P("div", Na, [
|
|
573
573
|
(H(), ce(fa, {
|
|
574
574
|
columns: l.value,
|
|
575
575
|
key: l.value,
|
|
@@ -583,7 +583,7 @@ const ya = {
|
|
|
583
583
|
onContentClick: aa
|
|
584
584
|
}, ra({
|
|
585
585
|
headerButton: V((p) => [
|
|
586
|
-
|
|
586
|
+
X(Da, {
|
|
587
587
|
buttons: p.buttons,
|
|
588
588
|
onButtonClick: c[0] || (c[0] = (f) => se(f, "")),
|
|
589
589
|
columns: l.value
|
|
@@ -605,15 +605,15 @@ const ya = {
|
|
|
605
605
|
key: "0"
|
|
606
606
|
} : void 0
|
|
607
607
|
]), 1032, ["columns", "tableData", "isShowPagination", "extraButton"])),
|
|
608
|
-
|
|
609
|
-
title:
|
|
608
|
+
X(pa, {
|
|
609
|
+
title: B.value,
|
|
610
610
|
visible: y.value,
|
|
611
611
|
width: Ke.value,
|
|
612
612
|
onBeforeDestroy: Le
|
|
613
613
|
}, {
|
|
614
614
|
default: V(() => [
|
|
615
615
|
S("div", ja, [
|
|
616
|
-
|
|
616
|
+
X(Ue, {
|
|
617
617
|
rowContents: $.value,
|
|
618
618
|
isEnableWrap: !1,
|
|
619
619
|
onChange: na,
|
|
@@ -638,13 +638,13 @@ const ya = {
|
|
|
638
638
|
]);
|
|
639
639
|
};
|
|
640
640
|
}
|
|
641
|
-
}, Ja = /* @__PURE__ */ Ge($a, [["__scopeId", "data-v-
|
|
641
|
+
}, Ja = /* @__PURE__ */ Ge($a, [["__scopeId", "data-v-4958c395"]]);
|
|
642
642
|
export {
|
|
643
643
|
va as a,
|
|
644
644
|
Ua as b,
|
|
645
645
|
za as d,
|
|
646
646
|
Ga as f,
|
|
647
|
-
|
|
647
|
+
Ba as g,
|
|
648
648
|
Ja as s,
|
|
649
649
|
Ta as u
|
|
650
650
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const or=require("vue"),Iw=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),Ki=require("./cloneDeep-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const or=require("vue"),Iw=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),Ki=require("./cloneDeep-B6Av9vYT.cjs");/*! *****************************************************************************
|
|
2
2
|
Copyright (c) Microsoft Corporation.
|
|
3
3
|
|
|
4
4
|
Permission to use, copy, modify, and/or distribute this software for any
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { ref as f, defineComponent as i, reactive as D, onMounted as h, createElementBlock as b, openBlock as C, createVNode as d } from "vue";
|
|
2
|
-
import { s as _ } from "./index-
|
|
3
|
-
import { s as k } from "./index-
|
|
4
|
-
import { g as v } from "./index-
|
|
5
|
-
import { s as w, h as I } from "./index-
|
|
2
|
+
import { s as _ } from "./index-DoHr_nug.js";
|
|
3
|
+
import { s as k } from "./index-Bel0p329.js";
|
|
4
|
+
import { g as v } from "./index-BH36LQch.js";
|
|
5
|
+
import { s as w, h as I } from "./index-DORM2j0-.js";
|
|
6
6
|
import { useRoute as x } from "vue-router";
|
|
7
7
|
import { u as A } from "./modelComp-CP-waker.js";
|
|
8
8
|
import { s as g, u as S } from "./menu-XcYMZJLY.js";
|
|
9
|
-
import { c as B } from "./cloneDeep-
|
|
9
|
+
import { c as B } from "./cloneDeep-Cm2ut66T.js";
|
|
10
10
|
import { _ as T } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
11
11
|
const M = f([
|
|
12
12
|
{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const o=require("vue"),D=require("./menu-CxtX8L48.cjs"),y=require("./index-
|
|
1
|
+
"use strict";const o=require("vue"),D=require("./menu-CxtX8L48.cjs"),y=require("./index-DjlDuRvf.cjs"),M=require("./login-aDjal4KC.cjs"),p=require("./request-BId7xEpo.cjs"),C=require("./cloneDeep-B6Av9vYT.cjs"),q=D.useMenuState(),{activeMenuPath:b}=D.storeToRefs(q),I=M.useLoginState(),{structureData:F}=D.storeToRefs(I),P=o.ref([{label:"角色名称",value:"",name:"roleName"}]),z=o.ref([{label:"查询"},{label:"重置"}]),T=o.reactive({isFilter:!1,filterForm:{}}),O=o.ref(!1),_=a=>{console.log("handleQueryChange",a),T.isFilter=!0,T.filterForm=a},v=o.ref([{key:"extraButton",contents:[{label:"新增"}]},{key:"rowButton",contents:[{label:"授权",textColor:"blue"},{label:"编辑"},{label:"删除",textColor:"red"}]},{key:"tableIndex",contents:[]},{key:"header",contents:[{label:"角色名称",prop:"roleName"},{label:"角色状态",formType:"Radio",prop:"roleStatus",options:[{label:"启用",value:"启用"},{label:"禁用",value:"禁用"}]},{label:"角色排序",prop:"roleOrder",formType:"Number"},{label:"备注",prop:"remark",formType:"TextArea"},{label:"权限",prop:"roleAuthority",isTableColHidden:!0,isFormColHidden:!0},{label:"操作"}]},{key:"tableContents"}]),j=o.computed(()=>v.value),m=a=>{console.log("handleItemDataChange",a),A(a.singleContent,a.buttonName)},k=o.ref({}),B=o.ref(),g=async(a,e,l)=>{var t,s;try{const n=await a(e);return((t=n==null?void 0:n.data)==null?void 0:t.code)===200?(l!=="查询"&&await I.setLogRecordAsync({type:l,data:e},b.value),n.data.result||((s=n==null?void 0:n.data)==null?void 0:s.code)===200):null}catch(n){p.ElMessage.error(n)}},K=(a,e)=>{e==null||e.forEach(l=>{a==null||a.forEach(t=>{var s;t.path==l.path&&(t.checkedButtons=l.checkedButtons),t.children&&((s=t.children)==null?void 0:s.length)>0&&K(t.children,e)})})},x=a=>a==null?void 0:a.map(e=>{var t;const l={...e,checkedButtons:[]};return l.children&&((t=l.children)==null?void 0:t.length)>0&&(l.children=x(l.children)),l}),H=async(a,e)=>{switch(console.log("clickRowButton",a,e,c.value),k.value=C.cloneDeep(e),a){case"授权":console.log("角色的权限",e.roleAuthority),console.log("角色的tree",c.value),console.log("角色的pageData",v.value),h.title=`【${e.roleName}】授权`,h.show=!0,await o.nextTick(),e.roleAuthority&&Array.isArray(e.roleAuthority)&&K(c.value,e.roleAuthority);break}},L=()=>{h.show=!1},f=o.ref(),Q=async a=>{const e=await g(y.getInsofDataApi,{key:{systemKey:sessionStorage.getItem("systemKey"),pageKey:a}},"查询"),l=e==null?void 0:e.map(t=>{var s;return{id:t.id,rowData:(s=t==null?void 0:t.value)==null?void 0:s.rowData}});return l==null?void 0:l.map(t=>{var s;if(Array.isArray(t==null?void 0:t.rowData)){let n={id:t.id};return(s=t==null?void 0:t.rowData)==null||s.forEach((r,d)=>{n[`a${d}`]=r}),n}else return{...t.rowData,id:t.id}})},A=(a,e)=>{if(e==="新增"){const l=C.cloneDeep(a);delete l.id,g(y.createInsofDataApi,{key:{systemKey:sessionStorage.getItem("systemKey"),pageKey:b.value},value:{rowData:l}},e).then(t=>{f.value={...a,newId:t},e&&t&&p.ElMessage.success(e+"成功")})}else e==="编辑"?g(y.updateInsofDataApi,{id:a.id,key:{systemKey:sessionStorage.getItem("systemKey"),pageKey:b.value},value:{rowData:a}},e).then(l=>{e&&l&&p.ElMessage.success(e+"成功"),h.show=!1}):e==="删除"&&(console.log(222,a),g(y.deleteInsofDataApi,{id:a.id},e).then(l=>{e&&l&&p.ElMessage.success(e+"成功")}))},w=a=>{let e=[];return a==null||a.forEach(l=>{var t;if(l.checkedButtons&&((t=l.checkedButtons)==null?void 0:t.length)>0){const s={path:l.path,checkedButtons:l.checkedButtons};e=e.concat(s)}l.children&&(e=e.concat(w(l.children)))}),e},U=()=>{console.log(122,k.value,w(c.value)),f.value={...k.value,roleAuthority:w(c.value)},o.nextTick(()=>{console.log("clickSubmitAuthority",f.value,v.value),A(f.value,"编辑")})},h=o.reactive({show:!1,title:"角色授权",width:"35%",draggable:!0}),V=({isPenultimate:a},e)=>{var l,t;return console.log("isPenultimate",a,e),((t=(l=e==null?void 0:e.data)==null?void 0:l.renderButtons)==null?void 0:t.length)>0?"is-penultimate":""},c=o.ref([]),$=o.ref([{path:"资源管理",buttons:["查询","新增","编辑","删除"]},{path:"资源管理/人员",buttons:["查询","新增","编辑","删除"]}]),J=(a,e)=>{var l;a.checkedButtons=e?(l=a.renderButtons)==null?void 0:l.map(t=>t.path):[],console.log("handleNodeCheckChange",a,e)},i=o.ref([]),W=(a,e)=>{var l,t,s;e.checkedButtons=a,((l=e.checkedButtons)==null?void 0:l.length)===((t=e.renderButtons)==null?void 0:t.length)?i.value.push(e.path):(a==null?void 0:a.length)===0&&(i.value=(s=i.value)==null?void 0:s.filter(n=>n!==e.path)),console.log("角色的按钮点击",e,a)};o.watch(()=>i.value.length,()=>{var e,l;const a=(e=B.value)==null?void 0:e.getCheckedKeys();console.log(112,i.value,a),(l=B.value)==null||l.setCheckedKeys([...i.value])});o.watch(()=>h.show,a=>{a||(c.value=x(c.value),console.log("角色的resetCheckedButtonsInTree",c.value))});const E=o.computed(()=>{var l;const a=(l=C.cloneDeep(F.value))==null?void 0:l.filter(t=>{var s,n;return((n=(s=t==null?void 0:t.key)==null?void 0:s.pageKey)==null?void 0:n.toUpperCase())!=="MENU"});return a==null?void 0:a.map(t=>{var n,r,d,S;let s=(d=(r=(n=t==null?void 0:t.value)==null?void 0:n.pageData)==null?void 0:r.compData)==null?void 0:d.filter(u=>(u==null?void 0:u.key)==="extraButton"||(u==null?void 0:u.key)==="rowButton");return s=Array.from(new Set(s==null?void 0:s.flatMap(u=>u.contents.map(R=>R.label)))),{path:(S=t==null?void 0:t.key)==null?void 0:S.pageKey,buttons:s}})}),N=(a,e)=>{if(Array.isArray(a))return a==null?void 0:a.map(l=>{var s,n;const t=e==null?void 0:e.find(r=>(r==null?void 0:r.path)===(l==null?void 0:l.path));return l.children&&l.children.length>0?{...l,renderButtons:l.carryData?(s=t==null?void 0:t.buttons)==null?void 0:s.map(r=>({title:r,path:l.path+"/"+r})):[],checkedButtons:[],children:N(l.children,E.value)}:{...l,renderButtons:l.carryData?(n=t==null?void 0:t.buttons)==null?void 0:n.map(r=>({title:r,path:l.path+"/"+r})):[],checkedButtons:[]}})},X=Object.freeze(Object.defineProperty({__proto__:null,addButtonsToTree:N,authorizeDialog:h,buttonValue:z,changedRow:f,clickRow:k,clickRowButton:H,clickSubmitAuthority:U,closeAuthorizeDialog:L,customNodeClass:V,getPageDataAsync:Q,handleItemDataChange:m,handleNodeBtnChange:W,handleNodeCheckChange:J,handleQueryChange:_,handleSubmitAsync:g,isPageDataExist:O,menuData:c,menusButtons:$,pageData:v,pageDataFiltered:j,queryFormData:P,structureButtons:E,submitTableAsyncByVerify:A,treeRef:B},Symbol.toStringTag,{value:"Module"}));exports.State=X;exports.authorizeDialog=h;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { resolveComponent as n, createElementBlock as r, openBlock as m, createVNode as c } from "vue";
|
|
2
|
-
import "./array-
|
|
3
|
-
import "./index-
|
|
2
|
+
import "./array-CqhTXR28.js";
|
|
3
|
+
import "./index-BH36LQch.js";
|
|
4
4
|
import { _ as i } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
|
-
import "./index.vue_vue_type_style_index_0_scoped_bbb8ace9_lang-
|
|
5
|
+
import "./index.vue_vue_type_style_index_0_scoped_bbb8ace9_lang-BAlbShP-.js";
|
|
6
6
|
import "./menu-XcYMZJLY.js";
|
|
7
|
-
import "./index.vue_vue_type_style_index_0_scoped_baf99455_lang-
|
|
8
|
-
import "./request-
|
|
9
|
-
import "./index-
|
|
7
|
+
import "./index.vue_vue_type_style_index_0_scoped_baf99455_lang-FY_pjpOg.js";
|
|
8
|
+
import "./request-RC5ET7Nr.js";
|
|
9
|
+
import "./index-Nb7mXZOf.js";
|
|
10
10
|
const s = {
|
|
11
11
|
__name: "index",
|
|
12
12
|
props: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("vue"),b=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("vue"),b=require("./index-BaSc02sA.cjs"),m=require("./index-dm-zOhNm.cjs"),h=require("./index-DjlDuRvf.cjs"),y=require("./index-Cxz9ADeg.cjs"),f=require("vue-router"),C=require("./modelComp-BQutSX47.cjs"),u=require("./menu-CxtX8L48.cjs"),_=require("./cloneDeep-B6Av9vYT.cjs"),k=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),v=n.ref([{label:"机构名称",value:"",name:"deptName"}]),q=a=>{console.log("handleQueryChange",a)},x=n.ref([{key:"extraButton",contents:[{label:"新增"}]},{key:"rowButton",contents:[{label:"编辑"},{label:"删除"}]},{key:"tableIndex",contents:[]},{key:"header",contents:[{label:"职位名称",prop:"postName"},{label:"职位排序",formType:"Number",prop:"postOrder"},{label:"备注",formType:"TextArea",prop:"remark"},{label:"操作"}]},{key:"tableContents"}]),w=a=>{console.log("handleItemDataChange",a),y.submitTableAsyncByVerify(a.singleContent,a.buttonName)},S=a=>{console.log("onDoubleClick",a)},I=(a,t)=>{console.log("onButtonClick",a,t)},T=async a=>{const t=await y.handleSubmitAsync(h.getInsofDataApi,{key:{systemKey:sessionStorage.getItem("systemKey"),pageKey:a}},"查询"),r=t==null?void 0:t.map(e=>{var o;return{id:e.id,rowData:(o=e==null?void 0:e.value)==null?void 0:o.rowData}});return r==null?void 0:r.map(e=>{var o;if(Array.isArray(e==null?void 0:e.rowData)){let s={id:e.id};return(o=e==null?void 0:e.rowData)==null||o.forEach((p,l)=>{s[`a${l}`]=p}),s}else return{...e.rowData,id:e.id}})},A=Object.freeze(Object.defineProperty({__proto__:null,getPageDataAsync:T,handleItemDataChange:w,handleQueryChange:q,onButtonClick:I,onDoubleClick:S,pageData:x,queryFormData:v},Symbol.toStringTag,{value:"Module"})),B={class:"role-wrapper"},M=n.defineComponent({__name:"index",setup(a){const t=n.reactive({...A}),r=f.useRoute(),e=C.useModelComp(),{itemData:o}=u.storeToRefs(e),s=u.useMenuState(),{menus:p,activeMenuPath:l}=u.storeToRefs(s);return n.onMounted(()=>{const d=_.cloneDeep(o.value),i={comp:"Group",name:r.path,compData:t.pageData};e.setItemData([...d,i]),l.value&&t.getPageDataAsync(l.value).then(D=>{var g;t.pageData=(g=t.pageData)==null?void 0:g.map(c=>c.key==="tableContents"?{...c,contents:D}:c)})}),(d,i)=>(n.openBlock(),n.createElementBlock("div",B,[n.createVNode(b.ssForm,{class:"role-header",rowContents:t.queryFormData,isEnableWrap:!1,isEdit:!0,onChange:t.handleQueryChange},null,8,["rowContents","onChange"]),n.createVNode(m.ssTable,{class:"role-body",itemData:t.pageData,onChange:t.handleItemDataChange},null,8,["itemData","onChange"])]))}}),N=k._export_sfc(M,[["__scopeId","data-v-9f3189fe"]]);exports.default=N;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { createElementBlock as r, openBlock as n, Fragment as k, renderList as y, unref as F, createElementVNode as c, createBlock as h, resolveDynamicComponent as $, toDisplayString as C, ref as I, watch as L, resolveComponent as b, createVNode as R, withCtx as g, createCommentVNode as T } from "vue";
|
|
2
|
-
import { s as U, g as M } from "./array-
|
|
3
|
-
import { p as V } from "./index-
|
|
4
|
-
import { a as j } from "./index-
|
|
2
|
+
import { s as U, g as M } from "./array-CqhTXR28.js";
|
|
3
|
+
import { p as V } from "./index-BH36LQch.js";
|
|
4
|
+
import { a as j } from "./index-D_JFO4Ed.js";
|
|
5
5
|
import { u as w } from "./modelComp-CP-waker.js";
|
|
6
6
|
import { s as x } from "./menu-XcYMZJLY.js";
|
|
7
7
|
import { _ as N } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
8
|
-
import { c as v } from "./cloneDeep-
|
|
8
|
+
import { c as v } from "./cloneDeep-Cm2ut66T.js";
|
|
9
9
|
const q = { class: "type-select" }, z = ["onClick"], A = { class: "list-icon" }, G = {
|
|
10
10
|
__name: "index",
|
|
11
11
|
setup(B) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),C=require("./array-
|
|
1
|
+
"use strict";const e=require("vue"),C=require("./array-C09NLiVl.cjs"),k=require("./index-DjlDuRvf.cjs"),V=require("./index-BUkyNn3m.cjs"),h=require("./modelComp-BQutSX47.cjs"),D=require("./menu-CxtX8L48.cjs"),f=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),d=require("./cloneDeep-B6Av9vYT.cjs"),I={class:"type-select"},N=["onClick"],x={class:"list-icon"},$={__name:"index",setup(B){const s=h.useModelComp(k.pinia),{itemData:n}=D.storeToRefs(s),r=o=>V.ElIcons[o],i=o=>{const u=d.cloneDeep(n.value);u.push({comp:o.comp,name:o.name,compData:[]}),s.setItemData(u)};return(o,u)=>(e.openBlock(),e.createElementBlock("div",I,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(C.slotContent),(a,t)=>(e.openBlock(),e.createElementBlock("div",{class:"type-list",key:t},[e.createElementVNode("div",{class:"list-content",onClick:c=>i(a)},[e.createElementVNode("div",x,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(r(a.icon))))]),e.createElementVNode("div",null,e.toDisplayString(a.name),1)],8,N)]))),128))]))}},w=f._export_sfc($,[["__scopeId","data-v-fe4aecc8"]]),q={class:"fill-content"},S={class:"operate-content"},F={class:"collapse-title"},L={class:"comp-child"},M={__name:"index",setup(B){const s=h.useModelComp(k.pinia),{itemData:n,originalData:r}=D.storeToRefs(s),i=e.ref([]),o=e.ref([]);e.watch(()=>n.value,()=>{var t;!n.value||((t=n.value)==null?void 0:t.length)===0||(i.value=d.cloneDeep(n.value))},{deep:!0,immediate:!0});const u=t=>C.getComponent(t),a=(t,c,v)=>{if(!t||t.length===0)return;let p=d.cloneDeep(n.value);const l=d.cloneDeep(c);l.compData=t,p=p==null?void 0:p.map((m,_)=>(_===v&&(m=l),m)),s.setItemData(p)};return(t,c)=>{const v=e.resolveComponent("el-collapse-item"),p=e.resolveComponent("el-collapse");return e.openBlock(),e.createElementBlock("div",q,[c[1]||(c[1]=e.createElementVNode("div",{class:"fill-operate"},e.toDisplayString("操作栏"),-1)),e.createElementVNode("div",S,[e.createVNode(p,{modelValue:o.value,"onUpdate:modelValue":c[0]||(c[0]=l=>o.value=l),class:"collapse-content"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.value,(l,m)=>(e.openBlock(),e.createBlock(v,{key:m,name:m},{title:e.withCtx(()=>[e.createElementVNode("div",F,e.toDisplayString(l.name),1)]),default:e.withCtx(()=>{var _,g;return[e.createElementVNode("div",L,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(u(l.comp+"Operate")),{itemContents:l==null?void 0:l.compData,originalItemContents:(g=(_=e.unref(r))==null?void 0:_.find((E,y)=>y===m))==null?void 0:g.compData,onChange:E=>a(E,l,m)},null,40,["itemContents","originalItemContents","onChange"]))])]}),_:2},1032,["name"]))),128))]),_:1},8,["modelValue"])])])}}},R=f._export_sfc(M,[["__scopeId","data-v-a216b035"]]),T={key:0,class:"show-content"},b={__name:"index",setup(B){const s=h.useModelComp(k.pinia),{itemData:n}=D.storeToRefs(s),r=e.ref([]);e.watch(()=>n.value,()=>{var o;!n.value||((o=n.value)==null?void 0:o.length)===0||(r.value=d.cloneDeep(n.value))},{deep:!0,immediate:!0});const i=o=>C.getComponent(o);return(o,u)=>{var a;return((a=r.value)==null?void 0:a.length)>0?(e.openBlock(),e.createElementBlock("div",T,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.value,(t,c)=>(e.openBlock(),e.createElementBlock("div",{class:"item-content",key:c},[e.createElementVNode("div",null,e.toDisplayString(t.name),1),(e.openBlock(),e.createBlock(e.resolveDynamicComponent(i(t.comp)),{itemData:t==null?void 0:t.compData,childItemData:t==null?void 0:t.itemChildData,key:c},null,8,["itemData","childItemData"]))]))),128))])):e.createCommentVNode("",!0)}}},H=f._export_sfc(b,[["__scopeId","data-v-79320497"]]);exports.modelFill=R;exports.modelSelect=w;exports.modelShow=H;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),y=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),y=require("./index-BaSc02sA.cjs"),V=require("./index-dm-zOhNm.cjs"),g=require("./index-C1sMNKRi.cjs"),u=require("./menu-CxtX8L48.cjs"),b=require("./modelComp-BQutSX47.cjs"),v=require("vue-router"),w=require("./index-DjlDuRvf.cjs"),m=require("./cloneDeep-B6Av9vYT.cjs"),N=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),B={class:"role-wrapper"},S={class:"role-dialog-header"},q={class:"node-text"},T={class:"dialog-footer"},E=e.defineComponent({__name:"index",setup(z){const _=u.useMenuState(),{menus:C,activeMenuPath:d}=u.storeToRefs(_),t=e.reactive({...g.State}),{treeRef:k}=g.State,h=b.useModelComp(),{itemData:f}=u.storeToRefs(h),x=v.useRoute();return e.onMounted(()=>{w.getInsofDataApi({key:{systemKey:sessionStorage.getItem("systemKey"),pageKey:"/log",type:"system",logType:"operate"}}).then(a=>{var l;console.log("获取日志:",(l=a==null?void 0:a.data)==null?void 0:l.result)});const c=m.cloneDeep(f.value),o={comp:"Group",name:x.path,compData:t.pageData};h.setItemData([...c,o]),d.value&&t.getPageDataAsync(d.value).then(a=>{var l;t.pageData=(l=t.pageData)==null?void 0:l.map(r=>r.key==="tableContents"?{...r,contents:a}:r)})}),e.watch(()=>C.value,c=>{e.nextTick(()=>{const o=m.cloneDeep(c);t.menuData=t.addButtonsToTree(o,t.structureButtons)})},{immediate:!0,deep:!0}),(c,o)=>{const a=e.resolveComponent("el-checkbox"),l=e.resolveComponent("el-checkbox-group"),r=e.resolveComponent("el-tree"),p=e.resolveComponent("el-button"),D=e.resolveComponent("el-dialog");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",B,[e.createVNode(y.ssForm,{class:"role-header",rowContents:t.queryFormData,isEnableWrap:!0,isEdit:!0,onChange:t.handleQueryChange},null,8,["rowContents","onChange"]),e.createVNode(V.ssTable,{class:"role-body",itemData:t.pageDataFiltered,changedContent:t.changedRow,onChange:t.handleItemDataChange,onOnButtonClick:t.clickRowButton},null,8,["itemData","changedContent","onChange","onOnButtonClick"])]),e.createVNode(D,{modelValue:t.authorizeDialog.show,"onUpdate:modelValue":o[0]||(o[0]=i=>t.authorizeDialog.show=i),width:t.authorizeDialog.width,draggable:t.authorizeDialog.draggable,"before-close":t.closeAuthorizeDialog,class:"role-dialog"},{header:e.withCtx(()=>[e.createElementVNode("div",S,e.toDisplayString(t.authorizeDialog.title),1)]),footer:e.withCtx(()=>[e.createElementVNode("div",T,[e.createVNode(p,{onClick:t.closeAuthorizeDialog},{default:e.withCtx(()=>o[1]||(o[1]=[e.createTextVNode("取消")])),_:1,__:[1]},8,["onClick"]),e.createVNode(p,{type:"primary",onClick:t.clickSubmitAuthority},{default:e.withCtx(()=>o[2]||(o[2]=[e.createTextVNode(" 确认 ")])),_:1,__:[2]},8,["onClick"])])]),default:e.withCtx(()=>[e.createVNode(r,{class:"role-tree",ref_key:"treeRef",ref:k,data:t.menuData,"expand-on-click-node":!1,"node-key":"path",props:{children:"children",label:"title",path:"path"},"highlight-current":"","default-expand-all":"","check-on-click-leaf":!1,"check-strictly":"",onCheckChange:t.handleNodeCheckChange,style:{height:"500px","overflow-y":"auto"}},{default:e.withCtx(({node:i,data:s})=>[e.createElementVNode("span",q,e.toDisplayString(i.label),1),e.createVNode(l,{modelValue:s.checkedButtons,"onUpdate:modelValue":n=>s.checkedButtons=n,onChange:n=>t.handleNodeBtnChange(n,s),class:"node-buttons"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.renderButtons,n=>(e.openBlock(),e.createBlock(a,{key:n.title,label:n.title,value:n.path},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(n.title),1)]),_:2},1032,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue","onChange"])]),_:1},8,["data","onCheckChange"])]),_:1},8,["modelValue","width","draggable","before-close"])],64)}}}),R=N._export_sfc(E,[["__scopeId","data-v-4d655fb5"]]);exports.default=R;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as c } from "./index.vue_vue_type_style_index_0_scoped_bbb8ace9_lang-
|
|
1
|
+
import { _ as c } from "./index.vue_vue_type_style_index_0_scoped_bbb8ace9_lang-BAlbShP-.js";
|
|
2
2
|
import { resolveComponent as o, createBlock as a, openBlock as u, withCtx as r, createVNode as l, createElementVNode as i, toDisplayString as p } from "vue";
|
|
3
3
|
import { _ as m } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
4
|
function M(e, _, d, f, C, y) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue");require("./array-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue");require("./array-C09NLiVl.cjs");require("./index-DjlDuRvf.cjs");const r=require("./_plugin-vue_export-helper-BHFhmbuH.cjs");require("./index.vue_vue_type_style_index_0_scoped_bbb8ace9_lang-ClRL5aRq.cjs");require("./menu-CxtX8L48.cjs");require("./index.vue_vue_type_style_index_0_scoped_baf99455_lang-W4auoQ9V.cjs");require("./request-BId7xEpo.cjs");require("./index-D9hjyDNL.cjs");const u={__name:"index",props:{mode:{type:String,default:"view"},content:{type:String,default:""},jsonContents:{type:Array,default:()=>[]},showButton:{type:Boolean,default:!0}},setup(n){const e=n;return(i,l)=>{const o=t.resolveComponent("router-view");return t.openBlock(),t.createElementBlock("div",null,[t.createVNode(o,{mode:e==null?void 0:e.mode,content:e==null?void 0:e.content,jsonContents:e==null?void 0:e.jsonContents,showButton:e==null?void 0:e.showButton},null,8,["mode","content","jsonContents","showButton"])])}}},c=r._export_sfc(u,[["__scopeId","data-v-885fe329"]]);exports.default=c;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { createElementBlock as z, openBlock as L, createElementVNode as C, renderSlot as F, defineComponent as j, ref as M, resolveComponent as l, createVNode as R, withCtx as Q, reactive as T, watch as b, unref as K, toDisplayString as D, createTextVNode as H } from "vue";
|
|
2
2
|
import { _ as m } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
3
|
-
import { u as _, l as $ } from "./index-
|
|
3
|
+
import { u as _, l as $ } from "./index-D_JFO4Ed.js";
|
|
4
4
|
import { useRouter as AA } from "vue-router";
|
|
5
|
-
import { u as EA } from "./login-
|
|
6
|
-
import { p as IA, g as G } from "./index-
|
|
7
|
-
import { v as gA } from "./index-
|
|
5
|
+
import { u as EA } from "./login-DnBDEGHt.js";
|
|
6
|
+
import { p as IA, g as G } from "./index-BH36LQch.js";
|
|
7
|
+
import { v as gA } from "./index-Nb7mXZOf.js";
|
|
8
8
|
import { d as CA } from "./crypto-BRyGpjGR.js";
|
|
9
|
-
import "./index-
|
|
10
|
-
import { E as h } from "./request-
|
|
9
|
+
import "./index-DORM2j0-.js";
|
|
10
|
+
import { E as h } from "./request-RC5ET7Nr.js";
|
|
11
11
|
const BA = {}, QA = { class: "header-wrapper" }, iA = { class: "header-horizontal" }, oA = { class: "header-logo" }, RA = { class: "header-cTitle" }, nA = { class: "header-horizontal" }, cA = { class: "header-eTitle" };
|
|
12
12
|
function JA(S, x) {
|
|
13
13
|
return L(), z("div", QA, [
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const t=require("vue"),ae=require("./index-
|
|
1
|
+
"use strict";const t=require("vue"),ae=require("./index-DjlDuRvf.cjs"),Fe=require("./menu-CxtX8L48.cjs"),Kt=require("./index-C1sMNKRi.cjs"),re=require("./crypto-CRbcEKIz.cjs"),Ut=require("./login-aDjal4KC.cjs"),l=require("./index-BUkyNn3m.cjs"),Q=require("./request-BId7xEpo.cjs"),F=require("./cloneDeep-B6Av9vYT.cjs"),bt=require("./isNil-x28vo2CT.cjs");function Wt(e){return e}function Yt(e,n,o){switch(o.length){case 0:return e.call(n);case 1:return e.call(n,o[0]);case 2:return e.call(n,o[0],o[1]);case 3:return e.call(n,o[0],o[1],o[2])}return e.apply(n,o)}var qt=800,jt=16,Gt=Date.now;function Xt(e){var n=0,o=0;return function(){var r=Gt(),a=jt-(r-o);if(o=r,a>0){if(++n>=qt)return arguments[0]}else n=0;return e.apply(void 0,arguments)}}function Jt(e){return function(){return e}}var Zt=F.defineProperty?function(e,n){return F.defineProperty(e,"toString",{configurable:!0,enumerable:!1,value:Jt(n),writable:!0})}:Wt,Qt=Xt(Zt),Qe=Math.max;function en(e,n,o){return n=Qe(n===void 0?e.length-1:n,0),function(){for(var r=arguments,a=-1,s=Qe(r.length-n,0),i=Array(s);++a<s;)i[a]=r[n+a];a=-1;for(var u=Array(n+1);++a<n;)u[a]=r[a];return u[n]=o(i),Yt(e,this,u)}}var et=l.Symbol?l.Symbol.isConcatSpreadable:void 0;function tn(e){return l.isArray(e)||F.isArguments(e)||!!(et&&e&&e[et])}function nn(e,n,o,r,a){var s=-1,i=e.length;for(o||(o=tn),a||(a=[]);++s<i;){var u=e[s];o(u)?F.arrayPush(a,u):a[a.length]=u}return a}function on(e){var n=e==null?0:e.length;return n?nn(e):[]}function rn(e){return Qt(en(e,void 0,on),e+"")}function an(e,n){return e!=null&&n in Object(e)}function sn(e,n,o){n=l.castPath(n,e);for(var r=-1,a=n.length,s=!1;++r<a;){var i=l.toKey(n[r]);if(!(s=e!=null&&o(e,i)))break;e=e[i]}return s||++r!=a?s:(a=e==null?0:e.length,!!a&&F.isLength(a)&&F.isIndex(i,a)&&(l.isArray(e)||F.isArguments(e)))}function ln(e,n){return e!=null&&sn(e,n,an)}function un(e,n,o,r){if(!l.isObject(e))return e;n=l.castPath(n,e);for(var a=-1,s=n.length,i=s-1,u=e;u!=null&&++a<s;){var f=l.toKey(n[a]),d=o;if(f==="__proto__"||f==="constructor"||f==="prototype")return e;if(a!=i){var h=u[f];d=void 0,d===void 0&&(d=l.isObject(h)?h:F.isIndex(n[a+1])?[]:{})}F.assignValue(u,f,d),u=u[f]}return e}function cn(e,n,o){for(var r=-1,a=n.length,s={};++r<a;){var i=n[r],u=l.baseGet(e,i);o(u,i)&&un(s,l.castPath(i,e),u)}return s}function dn(e,n){return cn(e,n,function(o,r){return ln(e,r)})}var fn=rn(function(e,n){return e==null?{}:dn(e,n)});const xe="update:modelValue",tt="change",nt="input";let ue;const pn=e=>{var n;if(!l.isClient)return 0;if(ue!==void 0)return ue;const o=document.createElement("div");o.className=`${e}-scrollbar__wrap`,o.style.visibility="hidden",o.style.width="100px",o.style.position="absolute",o.style.top="-9999px",document.body.appendChild(o);const r=o.offsetWidth;o.style.overflow="scroll";const a=document.createElement("div");a.style.width="100%",o.appendChild(a);const s=a.offsetWidth;return(n=o.parentNode)==null||n.removeChild(o),ue=r-s,ue},vn=()=>l.isClient&&/firefox/i.test(window.navigator.userAgent);let A;const mn={height:"0",visibility:"hidden",overflow:vn()?"":"hidden",position:"absolute","z-index":"-1000",top:"0",right:"0"},hn=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing"];function gn(e){const n=window.getComputedStyle(e),o=n.getPropertyValue("box-sizing"),r=Number.parseFloat(n.getPropertyValue("padding-bottom"))+Number.parseFloat(n.getPropertyValue("padding-top")),a=Number.parseFloat(n.getPropertyValue("border-bottom-width"))+Number.parseFloat(n.getPropertyValue("border-top-width"));return{contextStyle:hn.map(i=>[i,n.getPropertyValue(i)]),paddingSize:r,borderSize:a,boxSizing:o}}function ot(e,n=1,o){var r;A||(A=document.createElement("textarea"),document.body.appendChild(A));const{paddingSize:a,borderSize:s,boxSizing:i,contextStyle:u}=gn(e);u.forEach(([m,C])=>A==null?void 0:A.style.setProperty(m,C)),Object.entries(mn).forEach(([m,C])=>A==null?void 0:A.style.setProperty(m,C,"important")),A.value=e.value||e.placeholder||"";let f=A.scrollHeight;const d={};i==="border-box"?f=f+s:i==="content-box"&&(f=f-a),A.value="";const h=A.scrollHeight-a;if(l.isNumber(n)){let m=h*n;i==="border-box"&&(m=m+a+s),f=Math.max(m,f),d.minHeight=`${m}px`}if(l.isNumber(o)){let m=h*o;i==="border-box"&&(m=m+a+s),f=Math.min(m,f)}return d.height=`${f}px`,(r=A.parentNode)==null||r.removeChild(A),A=void 0,d}const bn=l.buildProps({ariaLabel:String,ariaOrientation:{type:String,values:["horizontal","vertical","undefined"]},ariaControls:String}),yn=e=>fn(bn,e),En=l.buildProps({id:{type:String,default:void 0},size:l.useSizeProp,disabled:Boolean,modelValue:{type:l.definePropType([String,Number,Object]),default:""},maxlength:{type:[String,Number]},minlength:{type:[String,Number]},type:{type:String,default:"text"},resize:{type:String,values:["none","both","horizontal","vertical"]},autosize:{type:l.definePropType([Boolean,Object]),default:!1},autocomplete:{type:String,default:"off"},formatter:{type:Function},parser:{type:Function},placeholder:{type:String},form:{type:String},readonly:Boolean,clearable:Boolean,showPassword:Boolean,showWordLimit:Boolean,suffixIcon:{type:l.iconPropType},prefixIcon:{type:l.iconPropType},containerRole:{type:String,default:void 0},tabindex:{type:[String,Number],default:0},validateEvent:{type:Boolean,default:!0},inputStyle:{type:l.definePropType([Object,Array,String]),default:()=>Q.mutable({})},autofocus:Boolean,rows:{type:Number,default:2},...yn(["ariaLabel"])}),Cn={[xe]:e=>l.isString(e),input:e=>l.isString(e),change:e=>l.isString(e),focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,clear:()=>!0,mouseleave:e=>e instanceof MouseEvent,mouseenter:e=>e instanceof MouseEvent,keydown:e=>e instanceof Event,compositionstart:e=>e instanceof CompositionEvent,compositionupdate:e=>e instanceof CompositionEvent,compositionend:e=>e instanceof CompositionEvent},wn=["class","style"],Sn=/^on[A-Z]/,kn=(e={})=>{const{excludeListeners:n=!1,excludeKeys:o}=e,r=t.computed(()=>((o==null?void 0:o.value)||[]).concat(wn)),a=t.getCurrentInstance();return a?t.computed(()=>{var s;return l.fromPairs(Object.entries((s=a.proxy)==null?void 0:s.$attrs).filter(([i])=>!r.value.includes(i)&&!(n&&Sn.test(i))))}):(l.debugWarn("use-attrs","getCurrentInstance() returned null. useAttrs() must be called at the top of a setup function"),t.computed(()=>({})))},Ae={prefix:Math.floor(Math.random()*1e4),current:0},Tn=Symbol("elIdInjection"),Bn=()=>t.getCurrentInstance()?t.inject(Tn,Ae):Ae,Re=e=>{const n=Bn();!l.isClient&&n===Ae&&l.debugWarn("IdInjection",`Looks like you are using server rendering, you must provide a id provider to ensure the hydration process to be succeed
|
|
2
2
|
usage: app.provide(ID_INJECTION_KEY, {
|
|
3
3
|
prefix: number,
|
|
4
4
|
current: number,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),o=require("./index.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),o=require("./index.vue_vue_type_script_setup_true_lang-ClNwGHXE.cjs"),n=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),s=e.ref([{key:"extraButton",contents:[{label:"新增"}]},{key:"rowButton",contents:[{label:"编辑"},{label:"删除"}]},{key:"tableIndex",contents:[]},{key:"header",contents:[{label:"机构名称",prop:"deptName"},{label:"机构类型",prop:"deptType",formType:"Select",options:[{label:"集团",value:"集团"},{label:"公司",value:"公司"},{label:"部门",value:"部门"},{label:"区域",value:"区域"},{label:"组",value:"组"}]},{label:"机构状态",formType:"Radio",prop:"deptStatus",options:[{label:"启用",value:"启用"},{label:"禁用",value:"禁用"}]},{label:"操作"}]},{key:"tableContents"}]),r=Object.freeze(Object.defineProperty({__proto__:null,pageData:s},Symbol.toStringTag,{value:"Module"})),c={class:"personal-wrapper"},d={class:"personal-box"},i={class:"base-avatar"},p={class:"center-avatar"},u=e.defineComponent({__name:"index",setup(_){e.reactive({...r});const a=l=>{console.log(123,l)};return(l,t)=>(e.openBlock(),e.createElementBlock("div",c,[e.createElementVNode("div",d,[e.createElementVNode("div",i,[e.createElementVNode("div",p,[e.createVNode(o._sfc_main,{onSubmitImage:a})])]),t[0]||(t[0]=e.createElementVNode("div",{class:"base-info"},null,-1)),t[1]||(t[1]=e.createElementVNode("div",{class:"base-signature"},null,-1))]),t[2]||(t[2]=e.createElementVNode("div",{class:"personal-box right"},null,-1))]))}}),b=n._export_sfc(u,[["__scopeId","data-v-be9b8d8a"]]);exports.default=b;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ref as o, defineComponent as s, reactive as n, createElementBlock as r, openBlock as p, createElementVNode as t, createVNode as i } from "vue";
|
|
2
|
-
import { _ as b } from "./index.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { _ as b } from "./index.vue_vue_type_script_setup_true_lang-CuQ3xcyC.js";
|
|
3
3
|
import { _ as d } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
4
|
const c = o([
|
|
5
5
|
{
|