ss-component-new 1.1.263 → 1.1.264
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-BCYeTWHp.cjs → array-D3xioWc3.cjs} +1 -1
- package/dist/{array-BiSkXjDh.js → array-De6v-7c8.js} +2 -2
- package/dist/{cloneDeep-CxhinJk5.js → cloneDeep-B2ByQP-n.js} +1 -1
- package/dist/{cloneDeep-BShYbOkw.cjs → cloneDeep-fJrTDzM4.cjs} +1 -1
- package/dist/{index-DvydSDWz.js → index--0pthhoG.js} +33 -33
- package/dist/{index-B8d1EBwW.cjs → index-08aCULjy.cjs} +1 -1
- package/dist/{index-BRgT-cwL.cjs → index-0TcXp8mH.cjs} +1 -1
- package/dist/index-B4jC_LC5.cjs +1 -0
- package/dist/{index-Cd2qjywt.cjs → index-B6yeLC4B.cjs} +1 -1
- package/dist/{index-BJEmWdGc.cjs → index-BCLA1nYG.cjs} +1 -1
- package/dist/{index-CWpNIgx-.js → index-BDIP3GvE.js} +5 -5
- package/dist/{index-6mqoLKfR.js → index-BLC8ydIr.js} +6 -6
- package/dist/{index-BEQcfNC8.js → index-BRdg4IiT.js} +503 -496
- package/dist/{index-GDAKW2b9.cjs → index-BRkdObg7.cjs} +1 -1
- package/dist/{index-DecqROTY.cjs → index-BRkvuCrS.cjs} +1 -1
- package/dist/index-BYUhFGra.cjs +1 -0
- package/dist/{index-C9gBSiUj.cjs → index-BjJJGDlr.cjs} +1 -1
- package/dist/{index-BxD91iWh.js → index-BwYoB3zY.js} +1 -1
- package/dist/{index-D9sisgye.js → index-ByD0b4gQ.js} +1 -1
- package/dist/{index-kq_YOCp0.cjs → index-BzfDFTVJ.cjs} +7 -7
- package/dist/{index-BqqWyJ_i.js → index-C4k05bGp.js} +8 -8
- package/dist/{index-jxXiBXta.cjs → index-C7u1PeVA.cjs} +1 -1
- package/dist/{index-B0SEIfhd.js → index-CACJUJNK.js} +3 -3
- package/dist/{index-Duw1U19n.js → index-CAMfVOTJ.js} +3 -3
- package/dist/{index-D0isXbYa.js → index-CCxjdgET.js} +13 -14
- package/dist/{index-BJWxGK8l.cjs → index-CGmFed4r.cjs} +1 -1
- package/dist/{index-Bl-nqQUb.cjs → index-CINFGcYo.cjs} +1 -1
- package/dist/{index-DdfwFwkR.js → index-CKwpRhPM.js} +3 -3
- package/dist/{index-B2bPpqmz.js → index-CMMc21DE.js} +5 -5
- package/dist/{index-B96mvnY6.js → index-CUmxELcB.js} +1 -1
- package/dist/{index--CBmQToI.js → index-CZ2mVLUS.js} +4 -4
- package/dist/{index-BRYyDz7j.cjs → index-Ca-dN5Cs.cjs} +1 -1
- package/dist/{index-BeYDJriQ.js → index-CiPPPWoz.js} +110 -111
- package/dist/index-ClFJDxkW.js +704 -0
- package/dist/{index-YBOakoO-.js → index-CmiwbsGe.js} +1 -1
- package/dist/{index-h9avu7we.cjs → index-CophBMbH.cjs} +1 -1
- package/dist/{index-cPpFPrRC.cjs → index-Ctjc6Jcq.cjs} +1 -1
- package/dist/{index-CzuGT7Su.cjs → index-CvvmJuAB.cjs} +1 -1
- package/dist/{index-C8FwXAiK.js → index-CwB7I565.js} +1 -1
- package/dist/{index-BW_gJg6Y.js → index-DCGzAKWd.js} +4 -4
- package/dist/{index-CNnhenkX.cjs → index-DDPAMlSG.cjs} +1 -1
- package/dist/index-DEv2DOlH.cjs +1 -0
- package/dist/{index-DhT3lFvD.js → index-DMCUh24w.js} +5 -5
- package/dist/{index-BiIAlHzV.cjs → index-DSxBLvAT.cjs} +1 -1
- package/dist/{index-DSPU33cy.js → index-DXd7EQps.js} +5 -5
- package/dist/index-Dcpfhw1L.cjs +1 -0
- package/dist/{index-5G9gxVsG.js → index-DfKXP07X.js} +13 -8
- package/dist/{index-BG7p7J6-.js → index-Dn9ZzQw9.js} +3 -3
- package/dist/{index-CvoVhrqh.cjs → index-DymcJtj4.cjs} +1 -1
- package/dist/{index-CPNiI7xc.cjs → index-ERfBi-RP.cjs} +1 -1
- package/dist/{index-DJRZAkF4.js → index-EmmO21uK.js} +4 -4
- package/dist/{index-BEPkDcRB.js → index-GG9AAJSa.js} +4 -4
- package/dist/index-GtWRkXjP.js +133 -0
- package/dist/{index-B5fyktOS.js → index-Pzfiy_pl.js} +1 -1
- package/dist/index-SYAZCe_x.js +3579 -0
- package/dist/{index-sYRfzwGi.cjs → index-_rARCgTs.cjs} +1 -1
- package/dist/index-cj-WHGF0.cjs +1 -0
- package/dist/{index-BTWHfvj_.cjs → index-hRwcFNhM.cjs} +1 -1
- package/dist/{index-Cmf6TSRr.js → index-qofx0IRr.js} +9 -9
- package/dist/index-sFDoFhGY.cjs +1 -0
- package/dist/{index-BPGk6VZT.cjs → index-sVlKvvQZ.cjs} +1 -1
- package/dist/{index-BReBoqZM.cjs → index-u6rAowW4.cjs} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-dRZKrDpe.js → index.vue_vue_type_script_setup_true_lang-CwRRfUhq.js} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-WZ_0N2ba.cjs → index.vue_vue_type_script_setup_true_lang-HIAfOHHq.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_11a5120d_lang-DC0qx2mv.cjs → index.vue_vue_type_style_index_0_scoped_11a5120d_lang-Be6r7R3U.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_11a5120d_lang-D6zTMeXs.js → index.vue_vue_type_style_index_0_scoped_11a5120d_lang-dyax8Dv5.js} +6 -6
- package/dist/{index.vue_vue_type_style_index_0_scoped_4b7a2e5d_lang-Bnu6O5Dx.js → index.vue_vue_type_style_index_0_scoped_4b7a2e5d_lang-DUY9SJBE.js} +12 -12
- package/dist/{index.vue_vue_type_style_index_0_scoped_4b7a2e5d_lang-B9TnTaRE.cjs → index.vue_vue_type_style_index_0_scoped_4b7a2e5d_lang-DYSNP688.cjs} +1 -1
- package/dist/{login-B_Ta8W8C.cjs → login-Wrj9nSOa.cjs} +1 -1
- package/dist/{login-D_UosrWe.js → login-o8x8Nxaf.js} +2 -2
- package/dist/{main-CHSqRi2c.js → main-DWoD0Vdp.js} +7 -7
- package/dist/{main-DRtNsfjw.cjs → main-rSkhpXGR.cjs} +1 -1
- package/dist/{menu-BjwI4sfO.js → menu-CFLAcuA-.js} +33 -24
- package/dist/{menu-CH06rBlw.cjs → menu-cQfDaGL1.cjs} +4 -4
- package/dist/{modelComp-LhGhARtD.cjs → modelComp-4oAkv2ok.cjs} +1 -1
- package/dist/{modelComp-CiiFZm1t.js → modelComp-B7C56fRv.js} +1 -1
- package/dist/ss-component.cjs +1 -1
- package/dist/ss-component.css +1 -1
- package/dist/ss-component.js +7 -7
- package/dist/ss-component3.cjs +1 -1
- package/dist/ss-component3.js +1 -1
- package/package.json +1 -1
- package/dist/index-21rauG0g.cjs +0 -1
- package/dist/index-3fLiW589.cjs +0 -1
- package/dist/index-B5vG0PaI.cjs +0 -1
- package/dist/index-C3-tA5Oy.js +0 -3520
- package/dist/index-CYjQVlPG.cjs +0 -1
- package/dist/index-ClyxHDAy.cjs +0 -1
- package/dist/index-WOjw27kj.js +0 -683
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { computed as m, ref as
|
|
2
|
-
import { s as B, E as
|
|
3
|
-
import { u as Q } from "./modelComp-
|
|
4
|
-
import { p as
|
|
5
|
-
import { a as X, s as Y } from "./index-
|
|
6
|
-
import
|
|
7
|
-
import { h as
|
|
1
|
+
import { computed as m, ref as s, reactive as F, defineComponent as V, onMounted as j, nextTick as z, resolveComponent as M, createElementBlock as U, openBlock as W, createElementVNode as f, createVNode as g, withCtx as b, createTextVNode as S } from "vue";
|
|
2
|
+
import { s as B, E as x, u as K, g as q, c as G, b as J, d as L } from "./menu-CFLAcuA-.js";
|
|
3
|
+
import { u as Q } from "./modelComp-B7C56fRv.js";
|
|
4
|
+
import { p as h } from "./index-CmiwbsGe.js";
|
|
5
|
+
import { a as X, s as Y } from "./index-BRdg4IiT.js";
|
|
6
|
+
import "./index-CCxjdgET.js";
|
|
7
|
+
import { h as Z } from "./index--0pthhoG.js";
|
|
8
8
|
import "./crypto-BRyGpjGR.js";
|
|
9
|
-
import { c as
|
|
10
|
-
import { s as
|
|
11
|
-
import { _ as
|
|
12
|
-
const
|
|
9
|
+
import { c as k } from "./cloneDeep-B2ByQP-n.js";
|
|
10
|
+
import { s as $, a as ee } from "./index-BDIP3GvE.js";
|
|
11
|
+
import { _ as te } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
12
|
+
const N = Q(h), R = X(h), d = K(h), { menus: E, configMenu: le, activeMenuPath: y, cacheStructures: oe } = B(d), ae = m(() => {
|
|
13
13
|
var t, e;
|
|
14
14
|
return [
|
|
15
15
|
{
|
|
@@ -63,13 +63,13 @@ const K = Q(y), E = X(y), d = x(y), { menus: P, configMenu: R, activeMenuPath: C
|
|
|
63
63
|
},
|
|
64
64
|
{
|
|
65
65
|
key: "tableContents",
|
|
66
|
-
contents: (e = (t =
|
|
66
|
+
contents: (e = (t = k(E.value)) == null ? void 0 : t.map((l) => ({
|
|
67
67
|
...l,
|
|
68
68
|
menuType: "系统菜单"
|
|
69
69
|
}))) == null ? void 0 : e.filter((l) => l.title !== "系统管理" && l.title !== "平台管理")
|
|
70
70
|
}
|
|
71
71
|
];
|
|
72
|
-
}),
|
|
72
|
+
}), C = s([]), ne = m(() => [
|
|
73
73
|
{
|
|
74
74
|
key: "extraButton",
|
|
75
75
|
contents: [
|
|
@@ -136,13 +136,15 @@ const K = Q(y), E = X(y), d = x(y), { menus: P, configMenu: R, activeMenuPath: C
|
|
|
136
136
|
label: "配置一:",
|
|
137
137
|
prop: "dialogConfig",
|
|
138
138
|
formType: "button",
|
|
139
|
-
value: "弹窗内容"
|
|
139
|
+
value: "弹窗内容",
|
|
140
|
+
isTableColHidden: !0
|
|
140
141
|
},
|
|
141
142
|
{
|
|
142
143
|
label: "配置二:",
|
|
143
144
|
prop: "contentConfig",
|
|
144
145
|
formType: "button",
|
|
145
|
-
value: "模块内容"
|
|
146
|
+
value: "模块内容",
|
|
147
|
+
isTableColHidden: !0
|
|
146
148
|
},
|
|
147
149
|
{
|
|
148
150
|
label: "操作"
|
|
@@ -151,9 +153,9 @@ const K = Q(y), E = X(y), d = x(y), { menus: P, configMenu: R, activeMenuPath: C
|
|
|
151
153
|
},
|
|
152
154
|
{
|
|
153
155
|
key: "tableContents",
|
|
154
|
-
contents:
|
|
156
|
+
contents: C.value
|
|
155
157
|
}
|
|
156
|
-
]),
|
|
158
|
+
]), O = s([]), i = s({}), P = s({}), se = s([
|
|
157
159
|
// {
|
|
158
160
|
// label: "配置菜单:",
|
|
159
161
|
// prop: 'menu',
|
|
@@ -229,7 +231,7 @@ const K = Q(y), E = X(y), d = x(y), { menus: P, configMenu: R, activeMenuPath: C
|
|
|
229
231
|
}
|
|
230
232
|
]), re = (t) => {
|
|
231
233
|
var e;
|
|
232
|
-
|
|
234
|
+
O.value = (e = se.value) == null ? void 0 : e.map((l) => l.prop === "menu" ? {
|
|
233
235
|
...l,
|
|
234
236
|
// contents: options,
|
|
235
237
|
value: t == null ? void 0 : t[l == null ? void 0 : l.prop]
|
|
@@ -237,7 +239,7 @@ const K = Q(y), E = X(y), d = x(y), { menus: P, configMenu: R, activeMenuPath: C
|
|
|
237
239
|
...l,
|
|
238
240
|
value: t == null ? void 0 : t[l == null ? void 0 : l.prop]
|
|
239
241
|
});
|
|
240
|
-
}, ue =
|
|
242
|
+
}, ue = s([
|
|
241
243
|
{
|
|
242
244
|
label: "查询"
|
|
243
245
|
},
|
|
@@ -245,144 +247,140 @@ const K = Q(y), E = X(y), d = x(y), { menus: P, configMenu: R, activeMenuPath: C
|
|
|
245
247
|
label: "重置"
|
|
246
248
|
}
|
|
247
249
|
]), ce = async (t) => {
|
|
248
|
-
|
|
249
|
-
},
|
|
250
|
+
t.singleContent && await fe(t.singleContent, t.buttonName), console.log(909, t);
|
|
251
|
+
}, A = (t) => t.map((e) => e.childMenus && e.childMenus.length > 0 ? {
|
|
250
252
|
...e,
|
|
251
253
|
value: e == null ? void 0 : e.title,
|
|
252
254
|
label: e == null ? void 0 : e.title,
|
|
253
|
-
children:
|
|
255
|
+
children: A(e.childMenus)
|
|
254
256
|
} : {
|
|
255
257
|
...e,
|
|
256
258
|
value: e == null ? void 0 : e.title,
|
|
257
259
|
label: e == null ? void 0 : e.title
|
|
258
|
-
}),
|
|
260
|
+
}), D = F({
|
|
259
261
|
show: !1,
|
|
260
262
|
title: "菜单配置",
|
|
261
263
|
width: "30%"
|
|
262
|
-
}), T =
|
|
264
|
+
}), T = s([]), H = s({}), p = s(null), ie = m(() => {
|
|
263
265
|
var t;
|
|
264
|
-
return (t =
|
|
266
|
+
return (t = A(E.value)) == null ? void 0 : t.filter((e) => e.title !== "系统管理" && e.title !== "平台管理");
|
|
265
267
|
}), pe = (t) => {
|
|
266
268
|
var e;
|
|
267
|
-
T.value = (e = t == null ? void 0 : t.path) == null ? void 0 : e.split("/"),
|
|
268
|
-
},
|
|
269
|
-
if (!
|
|
270
|
-
|
|
269
|
+
T.value = (e = t == null ? void 0 : t.path) == null ? void 0 : e.split("/"), p.value = t, w(t);
|
|
270
|
+
}, v = s(""), ge = async (t, e) => {
|
|
271
|
+
if (!p.value) return x.warning("请先选择菜单");
|
|
272
|
+
v.value = t, T.value = [], N.setSubmitCurStructure(!1), H.value = k(e), (t === "新建" || t === "修改") && t === "新建" && (R.setSelectTitle([]), d.setConfigMenu(null));
|
|
271
273
|
}, de = (t) => {
|
|
272
274
|
var e;
|
|
273
|
-
|
|
274
|
-
...
|
|
275
|
-
path: (e =
|
|
276
|
-
})
|
|
277
|
-
}, ve = (t) => {
|
|
278
|
-
var
|
|
275
|
+
i.value = t, d.setConfigMenu({
|
|
276
|
+
...i.value,
|
|
277
|
+
path: (e = p.value) == null ? void 0 : e.path
|
|
278
|
+
});
|
|
279
|
+
}, _ = s(null), ve = (t) => {
|
|
280
|
+
var a, r, n, o, c;
|
|
279
281
|
d.setButtonTriggerType(t === "弹窗结构" ? "dialogConfig" : "contentConfig");
|
|
280
282
|
let e;
|
|
281
|
-
(
|
|
282
|
-
value:
|
|
283
|
+
(a = i.value) != null && a.subMenus && ((r = i.value) == null ? void 0 : r.subMenus.length) > 0 && (e = (n = T.value) == null ? void 0 : n.map((u) => ({
|
|
284
|
+
value: u
|
|
283
285
|
})), e.unshift({
|
|
284
|
-
value: (
|
|
285
|
-
}))
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
}
|
|
290
|
-
|
|
291
|
-
|
|
286
|
+
value: (o = H.value) == null ? void 0 : o.title
|
|
287
|
+
}));
|
|
288
|
+
const l = {
|
|
289
|
+
...i.value,
|
|
290
|
+
path: (c = p.value) == null ? void 0 : c.path
|
|
291
|
+
};
|
|
292
|
+
d.setConfigMenu(l), R.setSelectTitle(e), N.setIsEdit("edit"), _.value = {
|
|
293
|
+
dialogTitle: v.value,
|
|
294
|
+
form: l
|
|
295
|
+
};
|
|
296
|
+
}, w = async (t) => {
|
|
297
|
+
var l, a, r, n, o, c;
|
|
298
|
+
const e = await q({
|
|
292
299
|
key: {
|
|
293
300
|
type: "menuConfigData",
|
|
294
301
|
systemKey: sessionStorage.getItem("systemKey"),
|
|
295
|
-
pageKey:
|
|
302
|
+
pageKey: y.value + "/" + (t == null ? void 0 : t.path),
|
|
296
303
|
tableId: ""
|
|
297
304
|
}
|
|
298
305
|
});
|
|
299
|
-
((l =
|
|
306
|
+
((l = e == null ? void 0 : e.data) == null ? void 0 : l.code) === 200 && (a = e.data) != null && a.result && (C.value = ((n = (r = e.data) == null ? void 0 : r.result) == null ? void 0 : n.length) > 0 ? (c = (o = e.data) == null ? void 0 : o.result) == null ? void 0 : c.map((u) => {
|
|
300
307
|
var I;
|
|
301
|
-
return
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
a && e.push(Z(a, "create", (s = R.value) == null ? void 0 : s.path, l == null ? void 0 : l.key));
|
|
310
|
-
});
|
|
311
|
-
}), await Promise.all(e).then(() => {
|
|
312
|
-
h.success("保存成功");
|
|
313
|
-
}).catch((l) => {
|
|
314
|
-
h.success(l);
|
|
315
|
-
});
|
|
316
|
-
}, be = async (t, e) => {
|
|
317
|
-
var a, s;
|
|
318
|
-
let l, n;
|
|
308
|
+
return {
|
|
309
|
+
id: u == null ? void 0 : u.id,
|
|
310
|
+
...(I = u == null ? void 0 : u.value) == null ? void 0 : I.tableData
|
|
311
|
+
};
|
|
312
|
+
}) : [], console.log(123, C.value));
|
|
313
|
+
}, fe = async (t, e) => {
|
|
314
|
+
var r, n;
|
|
315
|
+
let l, a;
|
|
319
316
|
e === "新增" ? (l = {
|
|
320
317
|
key: {
|
|
321
318
|
type: "menuConfigData",
|
|
322
319
|
systemKey: sessionStorage.getItem("systemKey"),
|
|
323
|
-
pageKey:
|
|
320
|
+
pageKey: y.value + "/" + ((r = p.value) == null ? void 0 : r.path),
|
|
324
321
|
tableId: ""
|
|
325
322
|
},
|
|
326
323
|
value: {
|
|
327
324
|
tableData: t
|
|
328
325
|
}
|
|
329
|
-
},
|
|
326
|
+
}, a = G) : e === "编辑" ? (l = {
|
|
330
327
|
id: t == null ? void 0 : t.id,
|
|
331
328
|
key: {
|
|
332
329
|
type: "menuConfigData",
|
|
333
330
|
systemKey: sessionStorage.getItem("systemKey"),
|
|
334
|
-
pageKey:
|
|
331
|
+
pageKey: y.value + "/" + ((n = p.value) == null ? void 0 : n.path),
|
|
335
332
|
tableId: ""
|
|
336
333
|
},
|
|
337
334
|
value: {
|
|
338
335
|
tableData: t
|
|
339
336
|
}
|
|
340
|
-
},
|
|
337
|
+
}, a = J) : e === "删除" && (l = {
|
|
341
338
|
id: t.id
|
|
342
|
-
},
|
|
343
|
-
e === "新增"
|
|
339
|
+
}, a = L), Z(a, l, v.value).then((o) => {
|
|
340
|
+
P.value = e === "新增" ? {
|
|
344
341
|
...t,
|
|
345
342
|
newId: o
|
|
346
|
-
}
|
|
343
|
+
} : null, v.value && o && x.success(v.value + "成功");
|
|
347
344
|
});
|
|
348
|
-
},
|
|
349
|
-
const t =
|
|
350
|
-
console.log("clickSubmitForm",
|
|
351
|
-
},
|
|
352
|
-
|
|
353
|
-
},
|
|
345
|
+
}, be = async () => {
|
|
346
|
+
const t = k(oe.value);
|
|
347
|
+
console.log("clickSubmitForm", le.value, t), i.value = {}, D.show = !1, d.setCacheStructures([]), await w(p.value), _.value = null;
|
|
348
|
+
}, he = () => {
|
|
349
|
+
D.show = !1;
|
|
350
|
+
}, ye = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
354
351
|
__proto__: null,
|
|
355
|
-
beforeDialogDestroy:
|
|
352
|
+
beforeDialogDestroy: he,
|
|
356
353
|
buttonValue: ue,
|
|
357
354
|
changeTrigger: de,
|
|
358
|
-
changedRow:
|
|
355
|
+
changedRow: P,
|
|
359
356
|
clickNode: pe,
|
|
360
357
|
clickRowButton: ge,
|
|
361
|
-
clickSubmitForm:
|
|
358
|
+
clickSubmitForm: be,
|
|
362
359
|
clickTrigger: ve,
|
|
363
|
-
dialogInfo:
|
|
360
|
+
dialogInfo: D,
|
|
364
361
|
formatFormData: re,
|
|
365
362
|
getTableDataAsync: w,
|
|
366
363
|
handleItemDataChange: ce,
|
|
367
|
-
inputForm:
|
|
364
|
+
inputForm: i,
|
|
368
365
|
menuPageData: ne,
|
|
369
|
-
|
|
370
|
-
|
|
366
|
+
operatingForm: _,
|
|
367
|
+
pageData: ae,
|
|
368
|
+
renderFormData: O,
|
|
371
369
|
treeData: ie
|
|
372
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
370
|
+
}, Symbol.toStringTag, { value: "Module" })), Ce = { class: "menu-module" }, me = { class: "tree-wrap" }, ke = { class: "table-wrap" }, De = { class: "module-dialog-default" }, Te = /* @__PURE__ */ V({
|
|
373
371
|
__name: "index",
|
|
374
372
|
setup(t) {
|
|
375
|
-
const e = F({ ...
|
|
373
|
+
const e = F({ ...ye }), l = s(null), a = K(h), { configMenu: r } = B(a);
|
|
376
374
|
return j(() => {
|
|
377
|
-
e.formatFormData(
|
|
378
|
-
var
|
|
379
|
-
(o = l.value) == null || o.setCurrentKey((
|
|
375
|
+
e.formatFormData(r.value), z(() => {
|
|
376
|
+
var n, o;
|
|
377
|
+
(o = l.value) == null || o.setCurrentKey((n = r.value) == null ? void 0 : n.path);
|
|
380
378
|
});
|
|
381
|
-
}), (
|
|
382
|
-
const
|
|
383
|
-
return W(), U("div",
|
|
384
|
-
|
|
385
|
-
g(
|
|
379
|
+
}), (n, o) => {
|
|
380
|
+
const c = M("el-tree"), u = M("el-button");
|
|
381
|
+
return W(), U("div", Ce, [
|
|
382
|
+
f("div", me, [
|
|
383
|
+
g(c, {
|
|
386
384
|
ref_key: "treeRef",
|
|
387
385
|
ref: l,
|
|
388
386
|
data: e.treeData,
|
|
@@ -396,26 +394,27 @@ const K = Q(y), E = X(y), d = x(y), { menus: P, configMenu: R, activeMenuPath: C
|
|
|
396
394
|
onNodeClick: e.clickNode
|
|
397
395
|
}, null, 8, ["data", "onNodeClick"])
|
|
398
396
|
]),
|
|
399
|
-
|
|
397
|
+
f("div", ke, [
|
|
400
398
|
g(Y, {
|
|
401
399
|
itemData: e.menuPageData,
|
|
402
400
|
changedContent: e.changedRow,
|
|
401
|
+
operatingForm: e.operatingForm,
|
|
403
402
|
onOnFormChange: e.changeTrigger,
|
|
404
403
|
onChange: e.handleItemDataChange,
|
|
405
404
|
onClickTrigger: e.clickTrigger,
|
|
406
405
|
onOnButtonClick: e.clickRowButton
|
|
407
|
-
}, null, 8, ["itemData", "changedContent", "onOnFormChange", "onChange", "onClickTrigger", "onOnButtonClick"])
|
|
406
|
+
}, null, 8, ["itemData", "changedContent", "operatingForm", "onOnFormChange", "onChange", "onClickTrigger", "onOnButtonClick"])
|
|
408
407
|
]),
|
|
409
|
-
g(
|
|
408
|
+
g($, {
|
|
410
409
|
class: "module-dialog",
|
|
411
410
|
title: e.dialogInfo.title,
|
|
412
411
|
visible: e.dialogInfo.show,
|
|
413
412
|
width: e.dialogInfo.width,
|
|
414
413
|
onBeforeDestroy: e.beforeDialogDestroy
|
|
415
414
|
}, {
|
|
416
|
-
default:
|
|
417
|
-
|
|
418
|
-
g(
|
|
415
|
+
default: b(() => [
|
|
416
|
+
f("div", De, [
|
|
417
|
+
g(ee, {
|
|
419
418
|
rowContents: e.renderFormData,
|
|
420
419
|
isEnableWrap: !1,
|
|
421
420
|
isEdit: !0,
|
|
@@ -424,23 +423,23 @@ const K = Q(y), E = X(y), d = x(y), { menus: P, configMenu: R, activeMenuPath: C
|
|
|
424
423
|
}, null, 8, ["rowContents", "onChange", "onClickTrigger"])
|
|
425
424
|
])
|
|
426
425
|
]),
|
|
427
|
-
footer:
|
|
428
|
-
|
|
429
|
-
g(
|
|
426
|
+
footer: b(() => [
|
|
427
|
+
f("div", null, [
|
|
428
|
+
g(u, {
|
|
430
429
|
onClick: e.beforeDialogDestroy
|
|
431
430
|
}, {
|
|
432
|
-
default:
|
|
433
|
-
|
|
431
|
+
default: b(() => o[0] || (o[0] = [
|
|
432
|
+
S("取消")
|
|
434
433
|
])),
|
|
435
434
|
_: 1,
|
|
436
435
|
__: [0]
|
|
437
436
|
}, 8, ["onClick"]),
|
|
438
|
-
g(
|
|
437
|
+
g(u, {
|
|
439
438
|
type: "primary",
|
|
440
439
|
onClick: e.clickSubmitForm
|
|
441
440
|
}, {
|
|
442
|
-
default:
|
|
443
|
-
|
|
441
|
+
default: b(() => o[1] || (o[1] = [
|
|
442
|
+
S(" 确认 ")
|
|
444
443
|
])),
|
|
445
444
|
_: 1,
|
|
446
445
|
__: [1]
|
|
@@ -452,7 +451,7 @@ const K = Q(y), E = X(y), d = x(y), { menus: P, configMenu: R, activeMenuPath: C
|
|
|
452
451
|
]);
|
|
453
452
|
};
|
|
454
453
|
}
|
|
455
|
-
}),
|
|
454
|
+
}), Ee = /* @__PURE__ */ te(Te, [["__scopeId", "data-v-1db0bf7b"]]);
|
|
456
455
|
export {
|
|
457
|
-
|
|
456
|
+
Ee as default
|
|
458
457
|
};
|