ss-component-new 1.1.596 → 1.1.598

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 (97) hide show
  1. package/dist/{array-mnEYd91h.cjs → array-C1gcNGaP.cjs} +1 -1
  2. package/dist/{array-wJSGLzMi.js → array-CaisX3_y.js} +1 -1
  3. package/dist/{crypto-BRyGpjGR.js → crypto-BLqrsrbD.js} +503 -430
  4. package/dist/{crypto-CRbcEKIz.cjs → crypto-kdpAHFnl.cjs} +11 -11
  5. package/dist/index-2tDhJ_PE.cjs +74 -0
  6. package/dist/{index-CdV-dIPz.js → index-6zxl3bAx.js} +3 -3
  7. package/dist/{index-Bq9zvPYq.js → index-B40Vg6be.js} +6 -6
  8. package/dist/index-BA5Dtdnf.cjs +1 -0
  9. package/dist/{index-DIQgn1lv.js → index-BIT-bLqc.js} +1 -1
  10. package/dist/index-BND1JkQV.cjs +1 -0
  11. package/dist/{index-C1KIIGh8.js → index-BQcbH-Bx.js} +5 -5
  12. package/dist/index-BTFmTXxw.cjs +1 -0
  13. package/dist/{index-Dr_FFxuS.cjs → index-BTR1Mq9-.cjs} +1 -1
  14. package/dist/{index-BhIXAFkM.js → index-BX8Qt4Rx.js} +6 -7
  15. package/dist/index-BkcTV4rw.cjs +1 -0
  16. package/dist/{index-DTKpspvK.cjs → index-BlUO9yjl.cjs} +1 -1
  17. package/dist/{index-Dm8EQvZF.cjs → index-Bn3uMi-8.cjs} +1 -1
  18. package/dist/index-Bp7fX2Un.cjs +1 -0
  19. package/dist/{index-Bb1N38wE.js → index-BzxOgHaM.js} +3 -3
  20. package/dist/{index-CUnz8HhY.cjs → index-C1pvDeK-.cjs} +1 -1
  21. package/dist/index-C2whMdL5.cjs +1 -0
  22. package/dist/{index-_h1qmm7b.js → index-C39wdrEg.js} +13 -13
  23. package/dist/{index-BmX_GIIO.cjs → index-CDtFBTgg.cjs} +1 -1
  24. package/dist/{index-Db0lTu76.js → index-CJT5TxjA.js} +3 -3
  25. package/dist/{index-DHuIlYC1.cjs → index-CLbudYRq.cjs} +1 -1
  26. package/dist/index-CLx_m5eO.cjs +1 -0
  27. package/dist/{index-bALhgSe4.js → index-CZevQ8Dr.js} +22 -23
  28. package/dist/index-CdUSKaxX.cjs +1 -0
  29. package/dist/{index-DSsJ2-ii.cjs → index-D-9AsLgs.cjs} +1 -1
  30. package/dist/{index-BriwvEur.js → index-D-EA3Esr.js} +4 -4
  31. package/dist/{index-BIu-jTfc.js → index-D0SLiYEQ.js} +1 -1
  32. package/dist/{index-Zt6huWXY.js → index-D7dvgWgC.js} +8 -8
  33. package/dist/{index-Bk3SowMg.js → index-D93nyxZ8.js} +4 -4
  34. package/dist/{index-B4LVTE2a.cjs → index-D9qvpCOL.cjs} +174 -174
  35. package/dist/{index-DQm7DvqZ.cjs → index-DAXzplpp.cjs} +1 -1
  36. package/dist/{index-CB4s2Qtu.cjs → index-DHxqKUgB.cjs} +1 -1
  37. package/dist/{index-C7x-mC0R.js → index-DJuUjZvH.js} +83 -84
  38. package/dist/index-DTyUDeyD.js +4369 -0
  39. package/dist/{index-CwYjbsHf.cjs → index-DeXIDjm6.cjs} +1 -1
  40. package/dist/{index-TRcS4V2m.js → index-DiGq9Lsv.js} +5 -5
  41. package/dist/{index-BBnnl-_P.cjs → index-Dnc9hCoC.cjs} +1 -1
  42. package/dist/{index-BurAdhpz.js → index-DyUmQMqi.js} +4 -4
  43. package/dist/index-HXTaOl2k.cjs +1 -0
  44. package/dist/{index-CmXpvujN.js → index-HkaBIp59.js} +1 -1
  45. package/dist/{index-BOb-2bQ6.js → index-RN-gwhe0.js} +2 -2
  46. package/dist/{index-Bkm9CeI0.js → index-V9vs-ScR.js} +1 -1
  47. package/dist/{index-8gbPS8-X.js → index-VF7EMAm-.js} +3 -3
  48. package/dist/{index-4me0w_d_.js → index-Ww4aroev.js} +3 -3
  49. package/dist/{index-BrR-UBrL.js → index-bCB0m90F.js} +5 -5
  50. package/dist/{index-CJ_rdkr8.js → index-hBF27unU.js} +7021 -7051
  51. package/dist/{index-Dsnvzj37.cjs → index-mWOC2B6n.cjs} +1 -1
  52. package/dist/{index-CjrWmm5T.js → index-sLT63BWC.js} +2030 -2020
  53. package/dist/{index-l52VRsV3.cjs → index-v95HBZGa.cjs} +1 -1
  54. package/dist/{index-P7MVl516.cjs → index-vqffUZk8.cjs} +1 -1
  55. package/dist/{index.vue_vue_type_script_setup_true_lang-DdxkZBiO.js → index.vue_vue_type_script_setup_true_lang-CPMJDln6.js} +2 -2
  56. package/dist/{index.vue_vue_type_script_setup_true_lang-CKo9xhlB.cjs → index.vue_vue_type_script_setup_true_lang-T3qSOy6p.cjs} +1 -1
  57. package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CfEICeD4.js → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BNbsh3Kc.js} +1 -1
  58. package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DXFzvQ4G.cjs → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DPUizNX8.cjs} +1 -1
  59. package/dist/index.vue_vue_type_style_index_0_scoped_b9f960ef_lang-BrSe9KLj.cjs +1 -0
  60. package/dist/{index.vue_vue_type_style_index_0_scoped_b9f960ef_lang-C4KOyCan.js → index.vue_vue_type_style_index_0_scoped_b9f960ef_lang-CNhkr8wC.js} +8 -8
  61. package/dist/{index.vue_vue_type_style_index_0_scoped_c4f9c92c_lang-DNiiRDF0.cjs → index.vue_vue_type_style_index_0_scoped_c4f9c92c_lang-CcbD9_8d.cjs} +10 -10
  62. package/dist/{index.vue_vue_type_style_index_0_scoped_c4f9c92c_lang--Ckdd4kI.js → index.vue_vue_type_style_index_0_scoped_c4f9c92c_lang-DCgz0iSg.js} +2170 -2164
  63. package/dist/{main-CBruCFMa.cjs → main-OEqZN7Ta.cjs} +1 -1
  64. package/dist/{main-BdwwE9kL.js → main-v-I0DDbj.js} +5 -5
  65. package/dist/{menu-DYsWoy6Z.cjs → menu-1olc0mrV.cjs} +9 -9
  66. package/dist/{menu-Qw1eGtzq.js → menu-BxkEScwt.js} +201 -199
  67. package/dist/menuIndex-DGUNtXPA.cjs +1 -0
  68. package/dist/menuIndex-DaxuTIfn.js +60 -0
  69. package/dist/{modelComp-y7HaQuVQ.js → modelComp-Bj7Q1JDt.js} +1 -1
  70. package/dist/{modelComp-8s0tWZDU.cjs → modelComp-C5jCD_od.cjs} +1 -1
  71. package/dist/ss-component.cjs +1 -1
  72. package/dist/ss-component.css +1 -1
  73. package/dist/ss-component.js +9 -9
  74. package/dist/ss-component2.cjs +1 -1
  75. package/dist/ss-component2.js +9 -9
  76. package/dist/{threeModel-WeRc8TWE.js → threeModel-D_RxjZwp.js} +568 -550
  77. package/dist/threeModel-ncwxCK1P.cjs +1 -0
  78. package/package.json +1 -1
  79. package/dist/index-B-P2iW5F.cjs +0 -1
  80. package/dist/index-BFKRXrzQ.cjs +0 -1
  81. package/dist/index-BJi_ECqJ.cjs +0 -1
  82. package/dist/index-BiqWWf_i.cjs +0 -1
  83. package/dist/index-DFdkXYtv.js +0 -4373
  84. package/dist/index-DJc0EPc7.cjs +0 -1
  85. package/dist/index-DUjNOx49.cjs +0 -1
  86. package/dist/index-K05hKXiU.cjs +0 -1
  87. package/dist/index-R71UAxtE.cjs +0 -1
  88. package/dist/index-RFCzxTjm.cjs +0 -87
  89. package/dist/index-n20urAJT.cjs +0 -1
  90. package/dist/index.vue_vue_type_style_index_0_scoped_b9f960ef_lang-CHdcwZZm.cjs +0 -1
  91. package/dist/login-BBvcYktp.cjs +0 -1
  92. package/dist/login-afGmER0u.js +0 -129
  93. package/dist/obj/model.mtl +0 -42
  94. package/dist/obj/model.obj +0 -26110
  95. package/dist/threeModel-DQIGp3UU.cjs +0 -1
  96. package/public/obj/model.mtl +0 -42
  97. package/public/obj/model.obj +0 -26110
@@ -1,14 +1,13 @@
1
- import { createElementBlock as h, openBlock as O, createElementVNode as o, renderSlot as u, defineComponent as Z, ref as L, resolveComponent as l, createVNode as S, withCtx as c, reactive as W, watch as N, unref as v, toDisplayString as r, createTextVNode as j } from "vue";
1
+ import { createElementBlock as m, openBlock as O, createElementVNode as o, renderSlot as u, defineComponent as Z, ref as L, resolveComponent as l, createVNode as S, withCtx as c, reactive as W, watch as N, unref as v, toDisplayString as r, createTextVNode as j } from "vue";
2
2
  import { _ as H } from "./_plugin-vue_export-helper-CHgC5LLL.js";
3
- import { a as CA, l as BA, b as QA, p as iA, E as K, d as oA, g as G } from "./menu-Qw1eGtzq.js";
3
+ import { a as CA, l as BA, b as QA, p as iA, E as K, d as oA, g as G } from "./menu-BxkEScwt.js";
4
4
  import { useRouter as cA } from "vue-router";
5
- import { u as nA } from "./login-afGmER0u.js";
6
- import { v as RA } from "./index-BOb-2bQ6.js";
7
- import { d as wA } from "./crypto-BRyGpjGR.js";
8
- import { r as sA, g as eA, c as tA, a as SA, b as JA, d as aA, h as dA } from "./index-C7x-mC0R.js";
5
+ import { u as nA, d as RA } from "./crypto-BLqrsrbD.js";
6
+ import { v as wA } from "./index-RN-gwhe0.js";
7
+ import { r as sA, g as eA, c as tA, a as SA, b as JA, d as aA, h as dA } from "./index-DJuUjZvH.js";
9
8
  const FA = {}, UA = { class: "header-wrapper" }, DA = { class: "header-horizontal" }, kA = { class: "header-logo" }, rA = { class: "header-cTitle" }, uA = { class: "header-horizontal" }, lA = { class: "header-eTitle" };
10
9
  function xA(d, x) {
11
- return O(), h("div", UA, [
10
+ return O(), m("div", UA, [
12
11
  o("div", DA, [
13
12
  o("span", kA, [
14
13
  u(d.$slots, "logo", {}, void 0, !0)
@@ -26,13 +25,13 @@ function xA(d, x) {
26
25
  }
27
26
  const YA = /* @__PURE__ */ H(FA, [["render", xA], ["__scopeId", "data-v-0498c988"]]), KA = {}, MA = { class: "left-wrap" }, zA = { class: "left-bg" };
28
27
  function LA(d, x) {
29
- return O(), h("div", MA, [
28
+ return O(), m("div", MA, [
30
29
  o("div", zA, [
31
30
  u(d.$slots, "img", {}, void 0, !0)
32
31
  ])
33
32
  ]);
34
33
  }
35
- const mA = /* @__PURE__ */ H(KA, [["render", LA], ["__scopeId", "data-v-06d813c8"]]), hA = { class: "right-wrap" }, OA = { class: "right-title" }, HA = { class: "right-content" }, PA = { class: "tab-content" }, jA = { class: "tab-tips" }, vA = /* @__PURE__ */ Z({
34
+ const hA = /* @__PURE__ */ H(KA, [["render", LA], ["__scopeId", "data-v-06d813c8"]]), mA = { class: "right-wrap" }, OA = { class: "right-title" }, HA = { class: "right-content" }, PA = { class: "tab-content" }, jA = { class: "tab-tips" }, vA = /* @__PURE__ */ Z({
36
35
  __name: "index",
37
36
  props: {
38
37
  tabList: {
@@ -53,7 +52,7 @@ const mA = /* @__PURE__ */ H(KA, [["render", LA], ["__scopeId", "data-v-06d813c8
53
52
  };
54
53
  return (R, e) => {
55
54
  const t = l("el-button"), D = l("el-tab-pane"), Y = l("el-tabs");
56
- return O(), h("div", hA, [
55
+ return O(), m("div", mA, [
57
56
  o("div", OA, [
58
57
  u(R.$slots, "title", {}, void 0, !0)
59
58
  ]),
@@ -134,7 +133,7 @@ const mA = /* @__PURE__ */ H(KA, [["render", LA], ["__scopeId", "data-v-06d813c8
134
133
  e && ((t = U.value) == null || t.resetFields());
135
134
  }), (e, t) => {
136
135
  const D = l("el-input"), Y = l("el-form-item"), M = l("el-form");
137
- return O(), h("div", ZA, [
136
+ return O(), m("div", ZA, [
138
137
  S(M, {
139
138
  model: n,
140
139
  rules: s,
@@ -149,7 +148,7 @@ const mA = /* @__PURE__ */ H(KA, [["render", LA], ["__scopeId", "data-v-06d813c8
149
148
  default: c(() => [
150
149
  S(D, {
151
150
  modelValue: n.account,
152
- "onUpdate:modelValue": t[0] || (t[0] = (m) => n.account = m),
151
+ "onUpdate:modelValue": t[0] || (t[0] = (h) => n.account = h),
153
152
  placeholder: "请输入账号",
154
153
  "prefix-icon": v(CA),
155
154
  clearable: ""
@@ -164,7 +163,7 @@ const mA = /* @__PURE__ */ H(KA, [["render", LA], ["__scopeId", "data-v-06d813c8
164
163
  default: c(() => [
165
164
  S(D, {
166
165
  modelValue: n.password,
167
- "onUpdate:modelValue": t[1] || (t[1] = (m) => n.password = m),
166
+ "onUpdate:modelValue": t[1] || (t[1] = (h) => n.password = h),
168
167
  type: "password",
169
168
  placeholder: "请输入密码",
170
169
  "show-password": "",
@@ -197,7 +196,7 @@ const mA = /* @__PURE__ */ H(KA, [["render", LA], ["__scopeId", "data-v-06d813c8
197
196
  R && (n.value = "");
198
197
  }), (R, e) => {
199
198
  const t = l("el-image"), D = l("el-input");
200
- return O(), h("div", WA, [
199
+ return O(), m("div", WA, [
201
200
  o("div", yA, [
202
201
  S(t, {
203
202
  src: v(pA),
@@ -263,7 +262,7 @@ const AE = { class: "login-wrap" }, EE = { class: "login-header" }, IE = { class
263
262
  R.value = !1, p(E);
264
263
  }, Y = (E, I) => {
265
264
  R.value = !1, E && p(I);
266
- }, M = (E) => eA(E), m = (E) => {
265
+ }, M = (E) => eA(E), h = (E) => {
267
266
  let I;
268
267
  const g = tA(E), C = SA(g), w = JA(C), J = aA(w, "parentPath");
269
268
  return I = dA(J), I;
@@ -275,7 +274,7 @@ const AE = { class: "login-wrap" }, EE = { class: "login-header" }, IE = { class
275
274
  return "superAdmin";
276
275
  if (Array.isArray(g)) {
277
276
  if ((g == null ? void 0 : g.length) === 1) {
278
- const B = E == null ? void 0 : E.find((A) => (A == null ? void 0 : A.roleName) === (g == null ? void 0 : g[0]) || A.角色名称 === (g == null ? void 0 : g[0])), a = M(B), Q = m(B == null ? void 0 : B[a]);
277
+ const B = E == null ? void 0 : E.find((A) => (A == null ? void 0 : A.roleName) === (g == null ? void 0 : g[0]) || A.角色名称 === (g == null ? void 0 : g[0])), a = M(B), Q = h(B == null ? void 0 : B[a]);
279
278
  return B && Q && Array.isArray(Q) ? B ? Q == null ? void 0 : Q.flatMap((A) => A.checkedButtons) : [] : [];
280
279
  }
281
280
  if ((g == null ? void 0 : g.length) > 1) {
@@ -287,7 +286,7 @@ const AE = { class: "login-wrap" }, EE = { class: "login-header" }, IE = { class
287
286
  if (typeof g == "string") {
288
287
  const B = E == null ? void 0 : E.find((A) => (A == null ? void 0 : A.roleName) === g || (A == null ? void 0 : A.角色名称) === g), a = M(B);
289
288
  console.log("getLoginUserAuthority", I, a, B == null ? void 0 : B[a]);
290
- const Q = m(B == null ? void 0 : B[a]);
289
+ const Q = h(B == null ? void 0 : B[a]);
291
290
  return console.log("getLoginUserAuthority1", Q), B && Q && Array.isArray(Q) ? B ? Q == null ? void 0 : Q.flatMap((A) => A.checkedButtons) : [] : [];
292
291
  }
293
292
  } catch (B) {
@@ -356,7 +355,7 @@ const AE = { class: "login-wrap" }, EE = { class: "login-header" }, IE = { class
356
355
  Q = await X(A);
357
356
  const { privateKey: i } = await n.getModelSecretAsync(A);
358
357
  let k;
359
- if (A.password ? k = ((B = A.layer) == null ? void 0 : B.toUpperCase()) === "SUPERADMIN" ? A.password : wA(A.password, i) : k = ((a = A.layer) == null ? void 0 : a.toUpperCase()) === "SUPERADMIN" ? A.password : sA, (E == null ? void 0 : E.password) === k)
358
+ if (A.password ? k = ((B = A.layer) == null ? void 0 : B.toUpperCase()) === "SUPERADMIN" ? A.password : RA(A.password, i) : k = ((a = A.layer) == null ? void 0 : a.toUpperCase()) === "SUPERADMIN" ? A.password : sA, (E == null ? void 0 : E.password) === k)
360
359
  z = A;
361
360
  else
362
361
  throw z = null, K.error("输入的密码错误,请重新输入"), e.value = !1, new Error("输入的密码错误,请重新输入");
@@ -418,7 +417,7 @@ const AE = { class: "login-wrap" }, EE = { class: "login-header" }, IE = { class
418
417
  e.value = !0;
419
418
  let I = [q(E), $(), AA()];
420
419
  Promise.all(I).then((g) => {
421
- (g == null ? void 0 : g.every((w) => w)) && (RA(), F.push("/"), n.setLogRecordAsync({
420
+ (g == null ? void 0 : g.every((w) => w)) && (wA(), F.push("/"), n.setLogRecordAsync({
422
421
  type: "登录",
423
422
  data: {
424
423
  account: E == null ? void 0 : E.account
@@ -430,7 +429,7 @@ const AE = { class: "login-wrap" }, EE = { class: "login-header" }, IE = { class
430
429
  };
431
430
  return (E, I) => {
432
431
  const g = l("el-image");
433
- return O(), h("div", AE, [
432
+ return O(), m("div", AE, [
434
433
  o("div", EE, [
435
434
  S(YA, null, {
436
435
  logo: c(() => I[0] || (I[0] = [])),
@@ -445,7 +444,7 @@ const AE = { class: "login-wrap" }, EE = { class: "login-header" }, IE = { class
445
444
  ]),
446
445
  o("div", IE, [
447
446
  o("div", gE, [
448
- S(mA, null, {
447
+ S(hA, null, {
449
448
  img: c(() => [
450
449
  S(g, {
451
450
  src: v(GA),
@@ -506,7 +505,7 @@ const AE = { class: "login-wrap" }, EE = { class: "login-header" }, IE = { class
506
505
  ]);
507
506
  };
508
507
  }
509
- }), SE = /* @__PURE__ */ H(iE, [["__scopeId", "data-v-895c6f94"]]);
508
+ }), tE = /* @__PURE__ */ H(iE, [["__scopeId", "data-v-895c6f94"]]);
510
509
  export {
511
- SE as default
510
+ tE as default
512
511
  };
@@ -0,0 +1 @@
1
+ "use strict";const u=require("vue"),l=require("./menu-1olc0mrV.cjs"),A=require("./crypto-kdpAHFnl.cjs"),ie=require("./modelComp-C5jCD_od.cjs"),fe=require("./index-v95HBZGa.cjs"),j=l.defineStore("authorityState",{state:()=>({routerPageStructures:[]}),actions:{setRouterPageStructure(e){this.routerPageStructures=e}}}),ye=l.useMenuState(l.pinia),{activeMenuPath:v}=l.storeToRefs(ye),Y=A.useLoginState(l.pinia),{structureData:ge}=l.storeToRefs(Y),pe=j(l.pinia),{routerPageStructures:de}=l.storeToRefs(pe),Z=ie.useModelComp(l.pinia),ve=u.ref([{label:"角色名称",value:"",name:"roleName"}]),be=u.ref([{label:"查询"},{label:"重置"}]),X=u.reactive({isFilter:!1,filterForm:{}}),Ae=u.ref(!1),ke=e=>{console.log("handleQueryChange",e),X.isFilter=!0,X.filterForm=e},N=u.ref([]),F=u.ref([]),Se=u.computed(()=>{var n,s,t,r,a;const e=(n=de.value)==null?void 0:n.find(c=>{var o;return((o=c==null?void 0:c.comp)==null?void 0:o.toUpperCase())==="TABLE"});if(e){F.value=(r=(t=(s=e==null?void 0:e.compData)==null?void 0:s.find(o=>(o==null?void 0:o.key)==="header"))==null?void 0:t.contents)==null?void 0:r.filter(o=>(o==null?void 0:o.label)!=="操作");const c=(a=e==null?void 0:e.compData)==null?void 0:a.map(o=>{if((o==null?void 0:o.key)==="rowButton"){let h=[];return D.value?h=[...o==null?void 0:o.contents,{label:"授权"}]:h=o==null?void 0:o.contents,{...o,contents:h}}return o});return ne(c),c}return[]}),Be=e=>{Q(e.singleContent,e.buttonName,P.value)},b=u.ref({}),m=u.ref(),B=async(e,n,s)=>{var t,r;try{const a=await e(n);return((t=a==null?void 0:a.data)==null?void 0:t.code)===200?(s!=="查询"&&await Y.setLogRecordAsync({type:s,data:n},v.value),a.data.result||((r=a==null?void 0:a.data)==null?void 0:r.code)===200):null}catch(a){l.ElMessage.error(a)}},ee=(e,n)=>{n==null||n.forEach(s=>{e==null||e.forEach(t=>{var r;t.path==s.path&&(t.checkedButtons=s.checkedButtons),t.children&&((r=t.children)==null?void 0:r.length)>0&&ee(t.children,n)})})},te=e=>e==null?void 0:e.map(n=>{var t;const s={...n,checkedButtons:[]};return s.children&&((t=s.children)==null?void 0:t.length)>0&&(s.children=te(s.children)),s}),L=e=>{for(const n in e)if(Array.isArray(e[n]))return n;return""},se=e=>{const n=[];let s=0;for(;s<e.length;)if(typeof e[s]=="string"){const t={title:e[s]};s+1<e.length&&Array.isArray(e[s+1])?(t.children=se(e[s+1]),s+=2):s+=1,n.push(t)}return n},q=e=>{const n=[];let s=0;for(;s<(e==null?void 0:e.length);){const t={title:e==null?void 0:e[s]};s+1<(e==null?void 0:e.length)&&Array.isArray(e==null?void 0:e[s+1])?(t.children=se(e==null?void 0:e[s+1]),s+=2):s+=1,n.push(t)}return n},E=(e,n="")=>e==null?void 0:e.map(s=>{const t=n?`${n}/${s.title}`:s.title,r={...s,path:t};return s.children&&s.children.length>0&&(r.children=E(s.children,t)),r}),_=(e,n)=>e.reduce((s,t)=>{const r=t[n];return s[r]||(s[r]=[]),s[r].push(t),s},{}),U=e=>{const n=[];function s(r){!r.children||r.children.length===0?n.push(r):r.children.forEach(a=>s(a))}return e.forEach(r=>s(r)),n==null?void 0:n.map(r=>{var a,c,o;return{...r,parentPath:(o=(c=(a=r.path)==null?void 0:a.split("/"))==null?void 0:c.slice(0,-1))==null?void 0:o.join("/")}})},V=e=>Object.entries(e).map(([s,t])=>({path:s,checkedButtons:t==null?void 0:t.map(r=>r==null?void 0:r.path)})),Te=e=>Object.prototype.toString.call(e)==="[object Object]"&&e!==null,Ce=e=>{const n={},s=Array.isArray(e)?e==null?void 0:e.filter(t=>{var r;return!(Te(t)&&((r=Object.keys(t))!=null&&r.includes("id")))}):null;return s&&(s==null||s.forEach((t,r)=>{if(r<=0)return;const a=`a${r}`;n[a]=t})),n},d=u.ref(""),ne=e=>{var r;const n=e==null?void 0:e.find(a=>(a==null?void 0:a.key)==="tableContents");if(!n)return"";const s=(r=n==null?void 0:n.contents)==null?void 0:r[0],t=Ce(s);d.value=L(t)},De=e=>{if(!Array.isArray(e))return!1;for(let n of e){if(typeof n!="object"||n===null||typeof n.path!="string"||!Array.isArray(n.checkedButtons))return!1;for(let s of n.checkedButtons)if(typeof s!="string")return!1}return!0},Pe=e=>{const n=[];for(const s in e)e[s].forEach(r=>{var h,i;const a=(h=r.path)!=null&&h.startsWith("/")?(i=r.path)==null?void 0:i.substring(1):r.path,c=a==null?void 0:a.split("/");let o=n;c.forEach(y=>{let g=o.find(w=>w.title===y);g||(g={title:y,path:r.path,children:[]},o.push(g)),o=g.children})});return n},Me=e=>{const n={};return e.forEach(s=>{const{path:t,checkedButtons:r}=s,a=t,c=r.map(o=>({title:o.split("/").pop()||"",path:o,parentPath:a}));n[a]=c}),n},re=e=>{let n=[];for(const s of e){let t=[s.title];if(s.children&&Array.isArray(s.children)){let r=re(s.children);r.length>0&&t.push(r)}n.push(t)}return n},Re=e=>{const n=[];for(const s of e){if(!Array.isArray(s)||s.length!==2)continue;const[t,r]=s,a=ae(r),c=n.indexOf(t);c===-1?n.push(t,a):n[c+1]=oe(n[c+1],a)}return n},ae=e=>{const n=[];for(const s of e)if(Array.isArray(s)){if(s.length===1&&typeof s[0]=="string")n.push(s[0]);else if(s.length===2&&typeof s[0]=="string"){const[t,r]=s;n.push(t,ae(r))}}return n},oe=(e,n)=>{const s=[...e];let t=0;for(;t<n.length;){const r=n[t];if(typeof r=="string"){const a=s.indexOf(r);a===-1?s.push(r,n[t+1]):s[a+1]=oe(s[a+1],n[t+1]),t+=2}else s.push(r),t+=1}return s},we=async(e,n)=>{if(b.value=l.cloneDeep(n),Z.setRefreshCurStructure(!1),e==="授权"){console.log("clickRowButton0",d.value),console.log("clickRowButton1",b.value[d.value]);const s=De(b.value[d.value]);console.log("clickRowButton4",s);let t;if(s)t=b.value[d.value];else{const r=q(b.value[d.value]),a=E(r),c=U(a),o=_(c,"parentPath");t=V(o)}console.log("clickRowButton5",t),await u.nextTick(),k.title=`【${n.a0}】授权`,k.show=!0,t&&Array.isArray(t)&&ee(M.value,t)}},Ke=()=>{k.show=!1},T=u.ref(),Ie=async e=>{const n=await B(l.getInsofDataApi,{key:{systemKey:sessionStorage.getItem("systemKey"),type:"data",pageKey:e}},"查询"),s=n==null?void 0:n.map(t=>{var r;return{id:t.id,tableData:(r=t==null?void 0:t.value)==null?void 0:r.tableData}});return s==null?void 0:s.map(t=>{var r;if(Array.isArray(t==null?void 0:t.tableData)){let a={id:t.id};return(r=t==null?void 0:t.tableData)==null||r.forEach((c,o)=>{a[`a${o}`]=c}),a}else return{...t.tableData,id:t.id}})},W=(e,n)=>{let s={};return n==null||n.forEach((t,r)=>{t.label&&e&&(s[t.label]=(e==null?void 0:e[`a${r}`])??null)}),s},Q=(e,n,s)=>{var a,c,o,h;const t=l.cloneDeep(e);t!=null&&t.id&&delete t.id;const r=W(t,F.value);console.log("submitTableAsyncByVerify",r,t,F.value,d.value),n==="新增"?B(l.createInsofDataApi,{key:{type:"data",systemKey:sessionStorage.getItem("systemKey"),pageKey:(a=v.value)!=null&&a.startsWith("/")?(c=v.value)==null?void 0:c.substring(1):v.value,tableId:s},value:{tableData:r}},n).then(i=>{T.value={...e,newId:i},n&&i&&l.ElMessage.success(n+"成功")}):n==="编辑"?(console.log("编辑角色",r),B(l.updateInsofDataApi,{id:e.id,key:{type:"data",systemKey:sessionStorage.getItem("systemKey"),pageKey:(o=v.value)!=null&&o.startsWith("/")?(h=v.value)==null?void 0:h.substring(1):v.value,tableId:s},value:{tableData:r}},n).then(i=>{n&&i&&l.ElMessage.success(n+"成功"),k.show=!1})):n==="删除"&&B(l.deleteInsofDataApi,{id:e.id},n).then(i=>{n&&i&&l.ElMessage.success(n+"成功")}),Z.setRefreshCurStructure(!0)},ce=e=>{let n=[];return e==null||e.forEach(s=>{var t;if(s.checkedButtons&&((t=s.checkedButtons)==null?void 0:t.length)>0){const r={path:s.path,checkedButtons:s.checkedButtons};n=n.concat(r)}s.children&&(n=n.concat(ce(s.children)))}),n},Ee=()=>{const e=ce(M.value),n=Me(e),s=Pe(n),t=re(s),r=Re(t);console.log("renderFormat",r),T.value={...b.value,[d.value]:r},u.nextTick(()=>{console.log("clickSubmitAuthority",T.value,N.value,P.value),Q(T.value,"编辑",P.value)})},k=u.reactive({show:!1,title:"角色授权",width:"35%",draggable:!0}),$e=({isPenultimate:e},n)=>{var s,t;return console.log("isPenultimate",e,n),((t=(s=n==null?void 0:n.data)==null?void 0:s.renderButtons)==null?void 0:t.length)>0?"is-penultimate":""},P=u.ref(0),le=async e=>{var t,r,a,c,o;let n;const s=await l.getInsofDataApi({key:{systemKey:sessionStorage.getItem("systemKey"),type:"structure",pageKey:e!=null&&e.startsWith("/")?e==null?void 0:e.substring(1):e}});return((t=s==null?void 0:s.data)==null?void 0:t.code)===200&&(r=s==null?void 0:s.data)!=null&&r.result&&((a=s==null?void 0:s.data)==null?void 0:a.result.length)>0&&(n=(o=(c=s==null?void 0:s.data.result)==null?void 0:c[0])==null?void 0:o.id,P.value=n),n},M=u.ref([]),Fe=u.ref([{path:"资源管理",buttons:["查询","新增","编辑","删除"]},{path:"资源管理/人员",buttons:["查询","新增","编辑","删除"]}]),xe=(e,n)=>{var s;e.checkedButtons=n?(s=e.renderButtons)==null?void 0:s.map(t=>t.path):[],console.log("handleNodeCheckChange",e,n)},C=u.ref([]),Oe=(e,n)=>{var s,t,r;n.checkedButtons=e,((s=n.checkedButtons)==null?void 0:s.length)===((t=n.renderButtons)==null?void 0:t.length)?C.value.push(n.path):(e==null?void 0:e.length)===0&&(C.value=(r=C.value)==null?void 0:r.filter(a=>a!==n.path))};u.watch(()=>C.value.length,()=>{var e;(e=m.value)==null||e.setCheckedKeys([...C.value])});u.watch(()=>k.show,e=>{e||(M.value=te(M.value))});const x=u.computed(()=>{var s;const e=(s=l.cloneDeep(ge.value))==null?void 0:s.filter(t=>{var r,a;return((a=(r=t==null?void 0:t.key)==null?void 0:r.pageKey)==null?void 0:a.toUpperCase())!=="MENU"});return[...e==null?void 0:e.map(t=>{var c,o,h,i;const r=/button/i;let a=(h=(o=(c=t==null?void 0:t.value)==null?void 0:c.pageData)==null?void 0:o.compData)==null?void 0:h.filter(y=>r.test(y==null?void 0:y.key));return a=Array.from(new Set(a==null?void 0:a.flatMap(y=>y.contents.map(g=>g.label)))),{path:(i=t==null?void 0:t.key)==null?void 0:i.pageKey,buttons:a}}),...z.value]}),z=u.ref([]),je=e=>{const s=[e==null?void 0:e.find(t=>(t==null?void 0:t.title)==="系统管理")].flatMap(t=>t==null?void 0:t.childMenus);return s==null?void 0:s.map(t=>({path:t==null?void 0:t.path,buttons:(t==null?void 0:t.path)==="系统管理/个人中心"?["基本信息","上传头像","签名","修改密码"]:["新增","查看","编辑","删除"]}))},O=(e,n)=>{if(Array.isArray(e))return z.value=je(e),e==null?void 0:e.map(s=>{var r,a;const t=n==null?void 0:n.find(c=>(c==null?void 0:c.path)===(s==null?void 0:s.path));return s.childMenus&&s.childMenus.length>0?{...s,renderButtons:s.carryData?(r=t==null?void 0:t.buttons)==null?void 0:r.map(c=>({title:c,path:s.path+"/"+c})):[],checkedButtons:[],children:O(s.childMenus,x.value),childMenus:O(s.childMenus,x.value)}:{...s,renderButtons:s.carryData?(a=t==null?void 0:t.buttons)==null?void 0:a.map(c=>({title:c,path:s.path+"/"+c})):[],checkedButtons:[]}})},Ne={comp:"Group",name:"/系统管理/角色管理",compData:[{key:"groupContents",contents:[{comp:"Table",compData:N.value,name:""}]}]},Le=Object.freeze(Object.defineProperty({__proto__:null,addButtonsToTree:O,addPathToTree:E,authorizeDialog:k,buttonValue:be,changedRow:T,clickRow:b,clickRowButton:we,clickSubmitAuthority:Ee,closeAuthorizeDialog:Ke,convertArrayToTree:q,convertIndexToLabel:W,customNodeClass:$e,getActivePageStructureId:le,getAuthorityKey:ne,getFirstArrayProperty:L,getLeafNodesRecursive:U,getPageDataAsync:Ie,groupByField:_,handleItemDataChange:Be,handleNodeBtnChange:Oe,handleNodeCheckChange:xe,handleQueryChange:ke,handleRowAuthorityRender:V,handleSubmitAsync:B,isPageDataExist:Ae,menuData:M,menusButtons:Fe,pageData:N,pageDataFiltered:Se,queryFormData:ve,structureButtons:x,structureId:P,submitTableAsyncByVerify:Q,tempRolePageData:Ne,tempSysMenus:z,treeRef:m},Symbol.toStringTag,{value:"Module"})),ue=A.useLoginState(l.pinia),{superAdminInfo:qe,cryptoInfo:f}=l.storeToRefs(ue),_e=l.useMenuState(l.pinia),{activeMenuPath:p}=l.storeToRefs(_e),R="123456",Ue=j(l.pinia),{routerPageStructures:Ve}=l.storeToRefs(Ue),G=u.ref(0),We=u.ref([{label:"用户名称",value:"",name:"userName"}]),D=u.computed(()=>{const e=sessionStorage.getItem("isSuperAdmin");return e?JSON.parse(e):!1}),Qe=e=>{console.log("handleQueryChange",e)},J=u.ref([]),K=u.computed(()=>{var n,s,t,r,a;const e=(n=Ve.value)==null?void 0:n.find(c=>{var o;return((o=c==null?void 0:c.comp)==null?void 0:o.toUpperCase())==="TABLE"});if(e){J.value=(r=(t=(s=e==null?void 0:e.compData)==null?void 0:s.find(o=>(o==null?void 0:o.key)==="header"))==null?void 0:t.contents)==null?void 0:r.filter(o=>(o==null?void 0:o.label)!=="操作");const c=(a=e==null?void 0:e.compData)==null?void 0:a.map(o=>{if((o==null?void 0:o.key)==="rowButton"){const h=[...o==null?void 0:o.contents,{label:"重置密码"}];return{...o,contents:h}}return o});return console.log(245,c),c}return[]}),ze=e=>{$(e.singleContent,e.buttonName,G.value)},I=u.ref(),Ge=e=>{console.log("onDoubleClick",e)},Je=(e,n)=>{e==="重置密码"&&fe.ElMessageBox.confirm(`该操作将会重置【${n==null?void 0:n.account}】的密码,确认重置?`,"警告",{confirmButtonText:"确认",cancelButtonText:"取消",type:"warning"}).then(()=>{I.value={...n,password:R},$(I.value,e,G.value)}).catch(()=>{l.ElMessage.info("取消重置")})},he=()=>{H(p.value).then(e=>{var s;const n=Array.isArray(e)&&(e==null?void 0:e.filter(t=>(t==null?void 0:t.account)!==qe.value.account));K.value=(s=K.value)==null?void 0:s.map(t=>t.key==="tableContents"?{...t,contents:n==null?void 0:n.map(r=>{var a;return{...r,password:A.decryptData(r==null?void 0:r.password,(a=f==null?void 0:f.value)==null?void 0:a.privateKey)}})}:t)})},S=async(e,n,s)=>{var t,r;try{const a=await e(n);return((t=a==null?void 0:a.data)==null?void 0:t.code)===200?(s!=="查询"&&await ue.setLogRecordAsync({type:s,data:n},p.value),a.data.result||((r=a==null?void 0:a.data)==null?void 0:r.code)===200):null}catch(a){l.ElMessage.error(a)}},$=(e,n,s)=>{var a,c,o,h,i,y;const t=l.cloneDeep(e);t!=null&&t.id&&delete t.id;const r=W(t,J.value);A.isEncryptAvailable()&&r&&(!r.password&&D.value?r.password=A.encryptData(R,(a=f==null?void 0:f.value)==null?void 0:a.publicKey):r.password&&D.value&&(r.password=A.encryptData(r==null?void 0:r.password,(c=f==null?void 0:f.value)==null?void 0:c.publicKey))),n==="新增"?S(l.createInsofDataApi,{key:{type:"data",layer:r==null?void 0:r.layer,systemKey:sessionStorage.getItem("systemKey"),pageKey:(o=p.value)!=null&&o.startsWith("/")?(h=p.value)==null?void 0:h.substring(1):p.value,tableId:s},value:{tableData:r}},n).then(g=>{var w;I.value={...e,newId:g,password:D.value?A.decryptData((e==null?void 0:e.password)??R,(w=f==null?void 0:f.value)==null?void 0:w.privateKey):e==null?void 0:e.password},n&&g&&l.ElMessage.success(n+"成功")}):n==="编辑"||n==="重置密码"?S(l.updateInsofDataApi,{id:e.id,key:{type:"data",layer:r==null?void 0:r.layer,systemKey:sessionStorage.getItem("systemKey"),pageKey:(i=p.value)!=null&&i.startsWith("/")?(y=p.value)==null?void 0:y.substring(1):p.value,tableId:s},value:{tableData:r}},n).then(()=>{n==="重置密码"&&he(),n&&l.ElMessage.success(n+"成功"),k.show=!1}):n==="删除"&&S(l.deleteInsofDataApi,{id:e.id},n).then(()=>{n&&l.ElMessage.success(n+"成功")})},H=async e=>{const n=await S(l.getInsofDataApi,{key:{systemKey:sessionStorage.getItem("systemKey"),type:"data",pageKey:e}},"查询"),s=n==null?void 0:n.map(t=>{var r,a;return{id:t.id,layer:(r=t.key)==null?void 0:r.layer,tableData:(a=t==null?void 0:t.value)==null?void 0:a.tableData}});return s==null?void 0:s.map(t=>{var r;if(!Array.isArray(t==null?void 0:t.tableData))return{...t.tableData,layer:(r=t.key)==null?void 0:r.layer,id:t.id}})},He={comp:"Group",name:"/系统管理/用户管理",compData:[{key:"groupContents",contents:[{comp:"Table",compData:K.value,name:""}]}]},Xe=Object.freeze(Object.defineProperty({__proto__:null,changedRow:I,clickRowButton:Je,columns:J,getPageDataAsync:H,handleItemDataChange:ze,handleQueryChange:Qe,handleSubmitAsync:S,loginUserIsSuper:D,onDoubleClick:Ge,pageData:K,queryFormData:We,refreshUserTableData:he,resetPassword:R,structureId:G,submitTableAsyncByVerify:$,tempUserPageData:He},Symbol.toStringTag,{value:"Module"}));exports.State=Xe;exports.State$1=Le;exports.addPathToTree=E;exports.convertArrayToTree=q;exports.getActivePageStructureId=le;exports.getFirstArrayProperty=L;exports.getLeafNodesRecursive=U;exports.getPageDataAsync=H;exports.groupByField=_;exports.handleRowAuthorityRender=V;exports.handleSubmitAsync=S;exports.resetPassword=R;exports.submitTableAsyncByVerify=$;exports.useAuthorityState=j;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const p=require("./index.vue_vue_type_style_index_0_scoped_b9f960ef_lang-CHdcwZZm.cjs"),e=require("vue"),f=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),u=["title"],_={key:0,class:"menu-operate-icon"},C={class:"menu-config-wrap"},k=["onClick"],h={class:"module-dialog-content"};function v(o,l,B,V,N,M){const i=e.resolveComponent("svg-icon"),d=e.resolveComponent("el-popover"),c=e.resolveComponent("ssMenu"),r=e.resolveComponent("el-button"),g=e.resolveComponent("ssDialog");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(c,{mode:o.mode,menuList:o.renderMenuList,onClickMenu:o.clickMenu,onOpenMenu:o.openMenu,onCloseMenu:o.closeMenu},{title:e.withCtx(({menu:t})=>{var s,a;return[e.createVNode(i,{name:t.icon??"",class:"menu-icon"},null,8,["name"]),e.createElementVNode("span",{title:t.title,class:"menu-title",style:e.normalizeStyle({marginRight:t!=null&&t.config&&((s=t==null?void 0:t.config)==null?void 0:s.length)>0?"25px":"1px"})},e.toDisplayString(t.title??""),13,u),t!=null&&t.config&&((a=t==null?void 0:t.config)==null?void 0:a.length)>0?(e.openBlock(),e.createElementBlock("span",_,[e.createVNode(d,{title:"",placement:"bottom-start",trigger:"click","popper-class":"menu-operate-popover"},{reference:e.withCtx(()=>[e.createVNode(i,{name:"config"})]),default:e.withCtx(()=>[e.createElementVNode("div",C,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t==null?void 0:t.config,n=>(e.openBlock(),e.createElementBlock("div",{class:"menu-config-item",key:n.id,onClick:D=>o.clickMenuIcon(t,n)},[e.createVNode(i,{name:n==null?void 0:n.operateIcon,style:{width:"15px",height:"15px","margin-right":"8px"}},null,8,["name"]),e.createElementVNode("span",null,e.toDisplayString(n==null?void 0:n.operateType),1)],8,k))),128))])]),_:2},1024)])):e.createCommentVNode("",!0)]}),_:1},8,["mode","menuList","onClickMenu","onOpenMenu","onCloseMenu"]),e.createVNode(g,{class:"module-dialog",title:o.dialogInfo.title,visible:o.dialogInfo.show,width:o.dialogInfo.width,onBeforeDestroy:o.beforeDialogDestroy},{default:e.withCtx(()=>[e.createElementVNode("div",h,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.dialogRenderComps,t=>(e.openBlock(),e.createElementBlock("div",{key:t.id},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(o.getComponents((t==null?void 0:t.comp)??"Input")),{itemData:t==null?void 0:t.compData,key:t==null?void 0:t.id,content:(t==null?void 0:t.contents)??[],config:t==null?void 0:t.config,onContentChange:o.handleCompChange},null,40,["itemData","content","config","onContentChange"]))]))),128))])]),footer:e.withCtx(()=>[e.createElementVNode("div",null,[e.createVNode(r,{id:"themeBorderButton",onClick:o.beforeDialogDestroy},{default:e.withCtx(()=>l[0]||(l[0]=[e.createTextVNode("取消")])),_:1,__:[0]},8,["onClick"]),e.createVNode(r,{id:"themeButton",onClick:o.clickSubmitForm},{default:e.withCtx(()=>l[1]||(l[1]=[e.createTextVNode(" 确认 ")])),_:1,__:[1]},8,["onClick"])])]),_:1},8,["title","visible","width","onBeforeDestroy"])],64)}const y=f._export_sfc(p._sfc_main,[["render",v],["__scopeId","data-v-b9f960ef"]]);exports.default=y;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const p=require("./index.vue_vue_type_style_index_0_scoped_b9f960ef_lang-BrSe9KLj.cjs"),e=require("vue"),f=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),u=["title"],_={key:0,class:"menu-operate-icon"},C={class:"menu-config-wrap"},k=["onClick"],h={class:"module-dialog-content"};function v(o,l,B,V,N,M){const i=e.resolveComponent("svg-icon"),d=e.resolveComponent("el-popover"),c=e.resolveComponent("ssMenu"),r=e.resolveComponent("el-button"),g=e.resolveComponent("ssDialog");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(c,{mode:o.mode,menuList:o.renderMenuList,onClickMenu:o.clickMenu,onOpenMenu:o.openMenu,onCloseMenu:o.closeMenu},{title:e.withCtx(({menu:t})=>{var s,a;return[e.createVNode(i,{name:t.icon??"",class:"menu-icon"},null,8,["name"]),e.createElementVNode("span",{title:t.title,class:"menu-title",style:e.normalizeStyle({marginRight:t!=null&&t.config&&((s=t==null?void 0:t.config)==null?void 0:s.length)>0?"25px":"1px"})},e.toDisplayString(t.title??""),13,u),t!=null&&t.config&&((a=t==null?void 0:t.config)==null?void 0:a.length)>0?(e.openBlock(),e.createElementBlock("span",_,[e.createVNode(d,{title:"",placement:"bottom-start",trigger:"click","popper-class":"menu-operate-popover"},{reference:e.withCtx(()=>[e.createVNode(i,{name:"config"})]),default:e.withCtx(()=>[e.createElementVNode("div",C,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t==null?void 0:t.config,n=>(e.openBlock(),e.createElementBlock("div",{class:"menu-config-item",key:n.id,onClick:D=>o.clickMenuIcon(t,n)},[e.createVNode(i,{name:n==null?void 0:n.operateIcon,style:{width:"15px",height:"15px","margin-right":"8px"}},null,8,["name"]),e.createElementVNode("span",null,e.toDisplayString(n==null?void 0:n.operateType),1)],8,k))),128))])]),_:2},1024)])):e.createCommentVNode("",!0)]}),_:1},8,["mode","menuList","onClickMenu","onOpenMenu","onCloseMenu"]),e.createVNode(g,{class:"module-dialog",title:o.dialogInfo.title,visible:o.dialogInfo.show,width:o.dialogInfo.width,onBeforeDestroy:o.beforeDialogDestroy},{default:e.withCtx(()=>[e.createElementVNode("div",h,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.dialogRenderComps,t=>(e.openBlock(),e.createElementBlock("div",{key:t.id},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(o.getComponents((t==null?void 0:t.comp)??"Input")),{itemData:t==null?void 0:t.compData,key:t==null?void 0:t.id,content:(t==null?void 0:t.contents)??[],config:t==null?void 0:t.config,onContentChange:o.handleCompChange},null,40,["itemData","content","config","onContentChange"]))]))),128))])]),footer:e.withCtx(()=>[e.createElementVNode("div",null,[e.createVNode(r,{id:"themeBorderButton",onClick:o.beforeDialogDestroy},{default:e.withCtx(()=>l[0]||(l[0]=[e.createTextVNode("取消")])),_:1,__:[0]},8,["onClick"]),e.createVNode(r,{id:"themeButton",onClick:o.clickSubmitForm},{default:e.withCtx(()=>l[1]||(l[1]=[e.createTextVNode(" 确认 ")])),_:1,__:[1]},8,["onClick"])])]),_:1},8,["title","visible","width","onBeforeDestroy"])],64)}const y=f._export_sfc(p._sfc_main,[["render",v],["__scopeId","data-v-b9f960ef"]]);exports.default=y;
@@ -1,9 +1,9 @@
1
1
  import { defineComponent as v, reactive as w, onMounted as V, watch as y, nextTick as z, resolveComponent as r, createElementBlock as p, openBlock as i, createVNode as n, withCtx as l, createElementVNode as s, toDisplayString as u, Fragment as S, renderList as T, createBlock as N, createTextVNode as d } from "vue";
2
2
  import "./index-BHtNKL1L.js";
3
- import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CfEICeD4.js";
4
- import { u as R, s as A, c as M } from "./menu-Qw1eGtzq.js";
5
- import { D as I } from "./index-CjrWmm5T.js";
6
- import { j as _ } from "./index-C7x-mC0R.js";
3
+ import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BNbsh3Kc.js";
4
+ import { u as R, s as A, c as M } from "./menu-BxkEScwt.js";
5
+ import { D as I } from "./index-sLT63BWC.js";
6
+ import { j as _ } from "./index-DJuUjZvH.js";
7
7
  import { _ as U } from "./_plugin-vue_export-helper-CHgC5LLL.js";
8
8
  const E = { class: "role-wrapper" }, F = { class: "role-dialog-header" }, O = ["title"], P = { class: "dialog-footer" }, j = /* @__PURE__ */ v({
9
9
  __name: "index",
@@ -1,4 +1,4 @@
1
- import { _ as M } from "./index.vue_vue_type_style_index_0_scoped_b9f960ef_lang-C4KOyCan.js";
1
+ import { _ as M } from "./index.vue_vue_type_style_index_0_scoped_b9f960ef_lang-CNhkr8wC.js";
2
2
  import { resolveComponent as r, createElementBlock as s, openBlock as l, Fragment as f, createVNode as n, withCtx as i, createElementVNode as a, createCommentVNode as D, normalizeStyle as b, toDisplayString as u, renderList as C, createTextVNode as h, createBlock as B, resolveDynamicComponent as w } from "vue";
3
3
  import { _ as I } from "./_plugin-vue_export-helper-CHgC5LLL.js";
4
4
  const V = ["title"], $ = {
@@ -1,14 +1,14 @@
1
1
  import { onMounted as f, resolveComponent as h, createElementBlock as C, openBlock as g, createVNode as y } from "vue";
2
- import "./index-DFdkXYtv.js";
3
- import "./menu-Qw1eGtzq.js";
4
- import "./array-wJSGLzMi.js";
2
+ import "./index-DTyUDeyD.js";
3
+ import "./menu-BxkEScwt.js";
4
+ import "./array-CaisX3_y.js";
5
5
  import { _ as B } from "./_plugin-vue_export-helper-CHgC5LLL.js";
6
- import "./index.vue_vue_type_style_index_0_scoped_b9f960ef_lang-C4KOyCan.js";
7
- import "./index.vue_vue_type_style_index_0_scoped_c4f9c92c_lang--Ckdd4kI.js";
8
- import "./login-afGmER0u.js";
6
+ import "./index.vue_vue_type_style_index_0_scoped_b9f960ef_lang-CNhkr8wC.js";
7
+ import "./index.vue_vue_type_style_index_0_scoped_c4f9c92c_lang-DCgz0iSg.js";
8
+ import "./crypto-BLqrsrbD.js";
9
9
  import "./index-BHtNKL1L.js";
10
- import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CfEICeD4.js";
11
- import "./index-CjrWmm5T.js";
10
+ import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BNbsh3Kc.js";
11
+ import "./index-sLT63BWC.js";
12
12
  import "vue-router";
13
13
  const v = {
14
14
  __name: "index",
@@ -1,8 +1,8 @@
1
1
  import { defineComponent as C, reactive as k, ref as v, onMounted as D, nextTick as b, resolveComponent as i, resolveDirective as T, createElementBlock as u, openBlock as m, createVNode as t, withCtx as n, withDirectives as w, createElementVNode as p, createTextVNode as _ } from "vue";
2
- import { S as x } from "./index-C1KIIGh8.js";
3
- import { D as B } from "./index-CjrWmm5T.js";
4
- import { s as F, e as y } from "./index-CdV-dIPz.js";
5
- import { u as S, p as I, s as N } from "./menu-Qw1eGtzq.js";
2
+ import { S as x } from "./index-BQcbH-Bx.js";
3
+ import { D as B } from "./index-sLT63BWC.js";
4
+ import { s as F, e as y } from "./index-6zxl3bAx.js";
5
+ import { u as S, p as I, s as N } from "./menu-BxkEScwt.js";
6
6
  import { _ as R } from "./_plugin-vue_export-helper-CHgC5LLL.js";
7
7
  const E = { class: "menu-module" }, M = {
8
8
  class: "table-wrap",