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.
Files changed (89) hide show
  1. package/dist/{array-BCYeTWHp.cjs → array-D3xioWc3.cjs} +1 -1
  2. package/dist/{array-BiSkXjDh.js → array-De6v-7c8.js} +2 -2
  3. package/dist/{cloneDeep-CxhinJk5.js → cloneDeep-B2ByQP-n.js} +1 -1
  4. package/dist/{cloneDeep-BShYbOkw.cjs → cloneDeep-fJrTDzM4.cjs} +1 -1
  5. package/dist/{index-DvydSDWz.js → index--0pthhoG.js} +33 -33
  6. package/dist/{index-B8d1EBwW.cjs → index-08aCULjy.cjs} +1 -1
  7. package/dist/{index-BRgT-cwL.cjs → index-0TcXp8mH.cjs} +1 -1
  8. package/dist/index-B4jC_LC5.cjs +1 -0
  9. package/dist/{index-Cd2qjywt.cjs → index-B6yeLC4B.cjs} +1 -1
  10. package/dist/{index-BJEmWdGc.cjs → index-BCLA1nYG.cjs} +1 -1
  11. package/dist/{index-CWpNIgx-.js → index-BDIP3GvE.js} +5 -5
  12. package/dist/{index-6mqoLKfR.js → index-BLC8ydIr.js} +6 -6
  13. package/dist/{index-BEQcfNC8.js → index-BRdg4IiT.js} +503 -496
  14. package/dist/{index-GDAKW2b9.cjs → index-BRkdObg7.cjs} +1 -1
  15. package/dist/{index-DecqROTY.cjs → index-BRkvuCrS.cjs} +1 -1
  16. package/dist/index-BYUhFGra.cjs +1 -0
  17. package/dist/{index-C9gBSiUj.cjs → index-BjJJGDlr.cjs} +1 -1
  18. package/dist/{index-BxD91iWh.js → index-BwYoB3zY.js} +1 -1
  19. package/dist/{index-D9sisgye.js → index-ByD0b4gQ.js} +1 -1
  20. package/dist/{index-kq_YOCp0.cjs → index-BzfDFTVJ.cjs} +7 -7
  21. package/dist/{index-BqqWyJ_i.js → index-C4k05bGp.js} +8 -8
  22. package/dist/{index-jxXiBXta.cjs → index-C7u1PeVA.cjs} +1 -1
  23. package/dist/{index-B0SEIfhd.js → index-CACJUJNK.js} +3 -3
  24. package/dist/{index-Duw1U19n.js → index-CAMfVOTJ.js} +3 -3
  25. package/dist/{index-D0isXbYa.js → index-CCxjdgET.js} +13 -14
  26. package/dist/{index-BJWxGK8l.cjs → index-CGmFed4r.cjs} +1 -1
  27. package/dist/{index-Bl-nqQUb.cjs → index-CINFGcYo.cjs} +1 -1
  28. package/dist/{index-DdfwFwkR.js → index-CKwpRhPM.js} +3 -3
  29. package/dist/{index-B2bPpqmz.js → index-CMMc21DE.js} +5 -5
  30. package/dist/{index-B96mvnY6.js → index-CUmxELcB.js} +1 -1
  31. package/dist/{index--CBmQToI.js → index-CZ2mVLUS.js} +4 -4
  32. package/dist/{index-BRYyDz7j.cjs → index-Ca-dN5Cs.cjs} +1 -1
  33. package/dist/{index-BeYDJriQ.js → index-CiPPPWoz.js} +110 -111
  34. package/dist/index-ClFJDxkW.js +704 -0
  35. package/dist/{index-YBOakoO-.js → index-CmiwbsGe.js} +1 -1
  36. package/dist/{index-h9avu7we.cjs → index-CophBMbH.cjs} +1 -1
  37. package/dist/{index-cPpFPrRC.cjs → index-Ctjc6Jcq.cjs} +1 -1
  38. package/dist/{index-CzuGT7Su.cjs → index-CvvmJuAB.cjs} +1 -1
  39. package/dist/{index-C8FwXAiK.js → index-CwB7I565.js} +1 -1
  40. package/dist/{index-BW_gJg6Y.js → index-DCGzAKWd.js} +4 -4
  41. package/dist/{index-CNnhenkX.cjs → index-DDPAMlSG.cjs} +1 -1
  42. package/dist/index-DEv2DOlH.cjs +1 -0
  43. package/dist/{index-DhT3lFvD.js → index-DMCUh24w.js} +5 -5
  44. package/dist/{index-BiIAlHzV.cjs → index-DSxBLvAT.cjs} +1 -1
  45. package/dist/{index-DSPU33cy.js → index-DXd7EQps.js} +5 -5
  46. package/dist/index-Dcpfhw1L.cjs +1 -0
  47. package/dist/{index-5G9gxVsG.js → index-DfKXP07X.js} +13 -8
  48. package/dist/{index-BG7p7J6-.js → index-Dn9ZzQw9.js} +3 -3
  49. package/dist/{index-CvoVhrqh.cjs → index-DymcJtj4.cjs} +1 -1
  50. package/dist/{index-CPNiI7xc.cjs → index-ERfBi-RP.cjs} +1 -1
  51. package/dist/{index-DJRZAkF4.js → index-EmmO21uK.js} +4 -4
  52. package/dist/{index-BEPkDcRB.js → index-GG9AAJSa.js} +4 -4
  53. package/dist/index-GtWRkXjP.js +133 -0
  54. package/dist/{index-B5fyktOS.js → index-Pzfiy_pl.js} +1 -1
  55. package/dist/index-SYAZCe_x.js +3579 -0
  56. package/dist/{index-sYRfzwGi.cjs → index-_rARCgTs.cjs} +1 -1
  57. package/dist/index-cj-WHGF0.cjs +1 -0
  58. package/dist/{index-BTWHfvj_.cjs → index-hRwcFNhM.cjs} +1 -1
  59. package/dist/{index-Cmf6TSRr.js → index-qofx0IRr.js} +9 -9
  60. package/dist/index-sFDoFhGY.cjs +1 -0
  61. package/dist/{index-BPGk6VZT.cjs → index-sVlKvvQZ.cjs} +1 -1
  62. package/dist/{index-BReBoqZM.cjs → index-u6rAowW4.cjs} +1 -1
  63. package/dist/{index.vue_vue_type_script_setup_true_lang-dRZKrDpe.js → index.vue_vue_type_script_setup_true_lang-CwRRfUhq.js} +1 -1
  64. 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
  65. 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
  66. 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
  67. 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
  68. 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
  69. package/dist/{login-B_Ta8W8C.cjs → login-Wrj9nSOa.cjs} +1 -1
  70. package/dist/{login-D_UosrWe.js → login-o8x8Nxaf.js} +2 -2
  71. package/dist/{main-CHSqRi2c.js → main-DWoD0Vdp.js} +7 -7
  72. package/dist/{main-DRtNsfjw.cjs → main-rSkhpXGR.cjs} +1 -1
  73. package/dist/{menu-BjwI4sfO.js → menu-CFLAcuA-.js} +33 -24
  74. package/dist/{menu-CH06rBlw.cjs → menu-cQfDaGL1.cjs} +4 -4
  75. package/dist/{modelComp-LhGhARtD.cjs → modelComp-4oAkv2ok.cjs} +1 -1
  76. package/dist/{modelComp-CiiFZm1t.js → modelComp-B7C56fRv.js} +1 -1
  77. package/dist/ss-component.cjs +1 -1
  78. package/dist/ss-component.css +1 -1
  79. package/dist/ss-component.js +7 -7
  80. package/dist/ss-component3.cjs +1 -1
  81. package/dist/ss-component3.js +1 -1
  82. package/package.json +1 -1
  83. package/dist/index-21rauG0g.cjs +0 -1
  84. package/dist/index-3fLiW589.cjs +0 -1
  85. package/dist/index-B5vG0PaI.cjs +0 -1
  86. package/dist/index-C3-tA5Oy.js +0 -3520
  87. package/dist/index-CYjQVlPG.cjs +0 -1
  88. package/dist/index-ClyxHDAy.cjs +0 -1
  89. package/dist/index-WOjw27kj.js +0 -683
@@ -1,15 +1,15 @@
1
- import { computed as m, ref as r, reactive as F, defineComponent as V, onMounted as j, nextTick as z, resolveComponent as S, createElementBlock as U, openBlock as W, createElementVNode as v, createVNode as g, withCtx as f, createTextVNode as M } from "vue";
2
- import { s as B, E as h, u as x, g as q, c as G, b as J, d as L } from "./menu-BjwI4sfO.js";
3
- import { u as Q } from "./modelComp-CiiFZm1t.js";
4
- import { p as y } from "./index-YBOakoO-.js";
5
- import { a as X, s as Y } from "./index-BEQcfNC8.js";
6
- import { h as Z } from "./index-D0isXbYa.js";
7
- import { h as $ } from "./index-DvydSDWz.js";
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 D } from "./cloneDeep-CxhinJk5.js";
10
- import { s as ee, a as te } from "./index-CWpNIgx-.js";
11
- import { _ as le } from "./_plugin-vue_export-helper-CHgC5LLL.js";
12
- const K = Q(y), E = X(y), d = x(y), { menus: P, configMenu: R, activeMenuPath: C, cacheStructures: ae } = B(d), oe = m(() => {
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 = D(P.value)) == null ? void 0 : t.map((l) => ({
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
- }), k = r([]), ne = m(() => [
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: k.value
156
+ contents: C.value
155
157
  }
156
- ]), A = r([]), u = r({}), N = r({}), se = r([
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
- A.value = (e = se.value) == null ? void 0 : e.map((l) => l.prop === "menu" ? {
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 = r([
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
- console.log(345, t), await be(t.singleContent, t.buttonName);
249
- }, O = (t) => t.map((e) => e.childMenus && e.childMenus.length > 0 ? {
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: O(e.childMenus)
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
- }), _ = F({
260
+ }), D = F({
259
261
  show: !1,
260
262
  title: "菜单配置",
261
263
  width: "30%"
262
- }), T = r([]), H = r({}), c = r(null), ie = m(() => {
264
+ }), T = s([]), H = s({}), p = s(null), ie = m(() => {
263
265
  var t;
264
- return (t = O(P.value)) == null ? void 0 : t.filter((e) => e.title !== "系统管理" && e.title !== "平台管理");
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("/"), c.value = t, w();
268
- }, b = r(""), ge = async (t, e) => {
269
- if (!c.value) return h.warning("请先选择菜单");
270
- b.value = t, T.value = [], K.setSubmitCurStructure(!1), H.value = D(e), (t === "新建" || t === "修改") && t === "新建" && (E.setSelectTitle([]), d.setConfigMenu(null));
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
- u.value = t, d.setConfigMenu({
274
- ...u.value,
275
- path: (e = c.value) == null ? void 0 : e.path
276
- }), console.log(566, t);
277
- }, ve = (t) => {
278
- var l, n, a, s, o;
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
- (l = u.value) != null && l.subMenus && ((n = u.value) == null ? void 0 : n.subMenus.length) > 0 && (e = (a = T.value) == null ? void 0 : a.map((i) => ({
282
- value: i
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: (s = H.value) == null ? void 0 : s.title
285
- })), d.setConfigMenu({
286
- ...u.value,
287
- path: (o = c.value) == null ? void 0 : o.path
288
- }), E.setSelectTitle(e), K.setIsEdit("edit");
289
- }, w = async () => {
290
- var e, l, n, a, s, o, i;
291
- const t = await q({
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: C.value + "/" + ((e = c.value) == null ? void 0 : e.path),
302
+ pageKey: y.value + "/" + (t == null ? void 0 : t.path),
296
303
  tableId: ""
297
304
  }
298
305
  });
299
- ((l = t == null ? void 0 : t.data) == null ? void 0 : l.code) === 200 && (n = t.data) != null && n.result && ((s = (a = t.data) == null ? void 0 : a.result) == null ? void 0 : s.length) > 0 && (k.value = (i = (o = t.data) == null ? void 0 : o.result) == null ? void 0 : i.map((p) => {
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 (I = p == null ? void 0 : p.value) == null ? void 0 : I.tableData;
302
- }), console.log(567, k.value));
303
- }, fe = async (t) => {
304
- let e = [];
305
- t == null || t.forEach((l) => {
306
- var n;
307
- (n = l == null ? void 0 : l.data) == null || n.forEach((a) => {
308
- var s;
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: C.value + "/" + ((a = c.value) == null ? void 0 : a.path),
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
- }, n = G) : e === "编辑" ? (l = {
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: C.value + "/" + ((s = c.value) == null ? void 0 : s.path),
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
- }, n = J) : e === "删除" && (l = {
337
+ }, a = J) : e === "删除" && (l = {
341
338
  id: t.id
342
- }, n = L), $(n, l, b.value).then((o) => {
343
- e === "新增" && (N.value = {
339
+ }, a = L), Z(a, l, v.value).then((o) => {
340
+ P.value = e === "新增" ? {
344
341
  ...t,
345
342
  newId: o
346
- }), b.value && o && h.success(b.value + "成功");
343
+ } : null, v.value && o && x.success(v.value + "成功");
347
344
  });
348
- }, he = async () => {
349
- const t = D(ae.value);
350
- console.log("clickSubmitForm", R.value, t), await fe(t), u.value = {}, _.show = !1, d.setCacheStructures([]), await w();
351
- }, ye = () => {
352
- _.show = !1;
353
- }, Ce = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
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: ye,
352
+ beforeDialogDestroy: he,
356
353
  buttonValue: ue,
357
354
  changeTrigger: de,
358
- changedRow: N,
355
+ changedRow: P,
359
356
  clickNode: pe,
360
357
  clickRowButton: ge,
361
- clickSubmitForm: he,
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: u,
364
+ inputForm: i,
368
365
  menuPageData: ne,
369
- pageData: oe,
370
- renderFormData: A,
366
+ operatingForm: _,
367
+ pageData: ae,
368
+ renderFormData: O,
371
369
  treeData: ie
372
- }, Symbol.toStringTag, { value: "Module" })), ke = { class: "menu-module" }, me = { class: "tree-wrap" }, De = { class: "table-wrap" }, _e = { class: "module-dialog-default" }, Te = /* @__PURE__ */ V({
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({ ...Ce }), l = r(null), n = x(y), { configMenu: a } = B(n);
373
+ const e = F({ ...ye }), l = s(null), a = K(h), { configMenu: r } = B(a);
376
374
  return j(() => {
377
- e.formatFormData(a.value), console.log(12345, a.value), a.value ? e.clickRowButton("新增", a.value) : e.getTableDataAsync(), z(() => {
378
- var s, o;
379
- (o = l.value) == null || o.setCurrentKey((s = a.value) == null ? void 0 : s.path);
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
- }), (s, o) => {
382
- const i = S("el-tree"), p = S("el-button");
383
- return W(), U("div", ke, [
384
- v("div", me, [
385
- g(i, {
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
- v("div", De, [
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(ee, {
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: f(() => [
417
- v("div", _e, [
418
- g(te, {
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: f(() => [
428
- v("div", null, [
429
- g(p, {
426
+ footer: b(() => [
427
+ f("div", null, [
428
+ g(u, {
430
429
  onClick: e.beforeDialogDestroy
431
430
  }, {
432
- default: f(() => o[0] || (o[0] = [
433
- M("取消")
431
+ default: b(() => o[0] || (o[0] = [
432
+ S("取消")
434
433
  ])),
435
434
  _: 1,
436
435
  __: [0]
437
436
  }, 8, ["onClick"]),
438
- g(p, {
437
+ g(u, {
439
438
  type: "primary",
440
439
  onClick: e.clickSubmitForm
441
440
  }, {
442
- default: f(() => o[1] || (o[1] = [
443
- M(" 确认 ")
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
- }), Ae = /* @__PURE__ */ le(Te, [["__scopeId", "data-v-3cf09eef"]]);
454
+ }), Ee = /* @__PURE__ */ te(Te, [["__scopeId", "data-v-1db0bf7b"]]);
456
455
  export {
457
- Ae as default
456
+ Ee as default
458
457
  };