ss-component-new 1.1.366 → 1.1.368

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 (82) hide show
  1. package/dist/{array-EGWOD_Yi.js → array-DXRXxc5V.js} +2 -2
  2. package/dist/{array-B4OYH6uL.cjs → array-p4U660c6.cjs} +1 -1
  3. package/dist/{cloneDeep-D3jWUY57.js → cloneDeep-CXyhaNiz.js} +1 -1
  4. package/dist/{cloneDeep-BPCav0OY.cjs → cloneDeep-DSrEtC3V.cjs} +1 -1
  5. package/dist/{index-B6D0Zmro.js → index-0OFxCEb4.js} +4 -4
  6. package/dist/{index-BQQE4RO9.js → index-5RC8h9AM.js} +4 -4
  7. package/dist/{index-CN73stto.cjs → index-5RR-uv25.cjs} +1 -1
  8. package/dist/{index-B7rnt0a7.js → index-6kRv3SaH.js} +3 -3
  9. package/dist/{index-CEVLI-tF.cjs → index-AADEPW1m.cjs} +1 -1
  10. package/dist/{index-h3vgrWAC.cjs → index-B-GE1ADP.cjs} +1 -1
  11. package/dist/{index-Bxt_jC-e.js → index-B1LMqzHp.js} +3 -3
  12. package/dist/{index-B1KIGMDS.cjs → index-B3riNZW2.cjs} +1 -1
  13. package/dist/{index-Cnigg-Vb.cjs → index-B4AKDa76.cjs} +1 -1
  14. package/dist/{index-9Kq2L6hA.cjs → index-B6eopOge.cjs} +1 -1
  15. package/dist/{index-Dy0Bjmrr.js → index-BDfz3KpW.js} +894 -917
  16. package/dist/{index-DPoMcIHZ.js → index-BKd7OSBi.js} +7 -7
  17. package/dist/{index-Cal7dRFc.js → index-BTJpQg0y.js} +1 -1
  18. package/dist/{index-DQewAWSX.js → index-BYMXpbdQ.js} +5 -5
  19. package/dist/{index-DsSqH7Ku.js → index-BaMIs_Xw.js} +5 -5
  20. package/dist/{index-DQXp-tQk.js → index-BoQBLh4s.js} +1 -1
  21. package/dist/{index-DxeIJqcl.js → index-BrZd3miB.js} +1 -1
  22. package/dist/{index-C_zK0qeZ.js → index-Bw1IeheF.js} +3 -3
  23. package/dist/{index-1mb-R5LL.js → index-BwjaHuRt.js} +9 -9
  24. package/dist/{index-BBvGttI3.cjs → index-Bx4DquWJ.cjs} +1 -1
  25. package/dist/{index-Cks4xBFc.js → index-C0J1dJP0.js} +7 -7
  26. package/dist/{index-r4-byc3l.cjs → index-C1KexSFx.cjs} +1 -1
  27. package/dist/{index-CdrtM6Jl.cjs → index-C76AHG4f.cjs} +1 -1
  28. package/dist/{index-DgdlwjkF.js → index-C8WBjRju.js} +5 -5
  29. package/dist/{index-CMza6E0Y.js → index-CCry0tAM.js} +65 -63
  30. package/dist/{index-CAfIBffc.cjs → index-CL8EokGp.cjs} +1 -1
  31. package/dist/{index-EgiRVqNe.cjs → index-CM1KG4hZ.cjs} +1 -1
  32. package/dist/{index-BPLD6fuH.js → index-CMcke6or.js} +8 -8
  33. package/dist/{index-1LyKu48J.cjs → index-C_x3pc-5.cjs} +1 -1
  34. package/dist/{index-D0Xtu3c5.js → index-CdYuSKeI.js} +4 -4
  35. package/dist/{index-BK34ZIUl.cjs → index-Crft9XAJ.cjs} +1 -1
  36. package/dist/{index-Cd0GOTJL.cjs → index-Cyyvnoy5.cjs} +1 -1
  37. package/dist/{index-Dq0BnanX.js → index-Czqs-JUN.js} +6 -6
  38. package/dist/{index-BSd6lCCf.js → index-D2aMfmep.js} +3 -3
  39. package/dist/{index-CTASWvkf.js → index-D4gBB4Xq.js} +9 -9
  40. package/dist/{index-DjI83upr.js → index-DK3YYMqm.js} +6 -6
  41. package/dist/{index-BWoxDyyu.js → index-DOQKFJaF.js} +1 -1
  42. package/dist/{index-CkgqQw5c.js → index-DVW05d1i.js} +4 -4
  43. package/dist/{index-qWPIXtmB.cjs → index-DjYG1iMR.cjs} +1 -1
  44. package/dist/{index-CylVtJFa.cjs → index-Dkhqb-cY.cjs} +1 -1
  45. package/dist/{index-Dj7KpYhE.cjs → index-DogyvuWq.cjs} +166 -166
  46. package/dist/{index-DXu2C7E2.js → index-DpwvWrwM.js} +1 -1
  47. package/dist/{index-BovJtyyV.cjs → index-Ds9PKdQt.cjs} +1 -1
  48. package/dist/{index-D_80-VnL.cjs → index-F-8JUdjA.cjs} +1 -1
  49. package/dist/{index-FnUvbwkl.cjs → index-GHlejw5s.cjs} +1 -1
  50. package/dist/{index-C67VR66n.cjs → index-H6L4a7FD.cjs} +1 -1
  51. package/dist/{index-Cj9Wq_7v.cjs → index-JB9JUdhC.cjs} +1 -1
  52. package/dist/{index-Bo8sDOPU.js → index-Jg50Cins.js} +4 -4
  53. package/dist/{index-FipljzbJ.cjs → index-Ltq2aZEY.cjs} +1 -1
  54. package/dist/{index-B8PQq8Z4.cjs → index-SnS2j8VB.cjs} +1 -1
  55. package/dist/{index-KKYTpn-0.js → index-atmXvfEM.js} +4 -4
  56. package/dist/index-c_iT7yiL.cjs +1 -0
  57. package/dist/{index-BXO1mk6t.cjs → index-g7S_DTj_.cjs} +1 -1
  58. package/dist/{index-Xd0gl2O5.cjs → index-kamk_cc2.cjs} +1 -1
  59. package/dist/{index.vue_vue_type_script_setup_true_lang-CE6ciJHv.js → index.vue_vue_type_script_setup_true_lang-BWj64RRw.js} +1 -1
  60. package/dist/{index.vue_vue_type_script_setup_true_lang-CEx7p4se.cjs → index.vue_vue_type_script_setup_true_lang-CqFAbdmu.cjs} +1 -1
  61. package/dist/{index.vue_vue_type_style_index_0_scoped_23015cb0_lang-_1kiYpwh.cjs → index.vue_vue_type_style_index_0_scoped_23015cb0_lang-CKf9GB8F.cjs} +1 -1
  62. package/dist/{index.vue_vue_type_style_index_0_scoped_23015cb0_lang-BfO2BZm9.js → index.vue_vue_type_style_index_0_scoped_23015cb0_lang-atPRKw8g.js} +13 -13
  63. package/dist/index.vue_vue_type_style_index_0_scoped_3a02a8a3_lang-CXo3L8X-.cjs +1 -0
  64. package/dist/{index.vue_vue_type_style_index_0_scoped_3a02a8a3_lang-CpZkvXyX.js → index.vue_vue_type_style_index_0_scoped_3a02a8a3_lang-LJVg3Lt-.js} +72 -56
  65. package/dist/{login-cDG_pssN.cjs → login-B-eAhMEz.cjs} +1 -1
  66. package/dist/{login-DKf6sQrA.js → login-BlwwLIDJ.js} +2 -2
  67. package/dist/{main-DnQRFkkz.js → main-BBM5wrkJ.js} +7 -7
  68. package/dist/{main-BY1dJ_uK.cjs → main-qobuJ_uH.cjs} +1 -1
  69. package/dist/{menu-eau-OVSc.js → menu-B0pyBhYY.js} +1 -1
  70. package/dist/{menu-Bi2msF1Z.cjs → menu-C9NMDJ1-.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 +7 -7
  74. package/dist/ss-component3.cjs +1 -1
  75. package/dist/ss-component3.js +1 -1
  76. package/package.json +1 -1
  77. package/dist/index-Dp7ftR-s.cjs +0 -1
  78. package/dist/index.vue_vue_type_style_index_0_scoped_3a02a8a3_lang-BX_0yNEO.cjs +0 -1
  79. package/dist/obj/model.mtl +0 -42
  80. package/dist/obj/model.obj +0 -26110
  81. package/public/obj/model.mtl +0 -42
  82. package/public/obj/model.obj +0 -26110
@@ -1,11 +1,11 @@
1
1
  import { computed as I, ref as i, reactive as P, nextTick as M, defineComponent as $, onMounted as q, resolveComponent as B, createElementBlock as G, openBlock as J, createElementVNode as k, createVNode as f, withCtx as m, createTextVNode as K } from "vue";
2
- import { s as x, u as E, E as b, g as L, c as R, d as Q, h as X } from "./menu-eau-OVSc.js";
3
- import { u as Y, o as Z, K as ee } from "./index-CMza6E0Y.js";
4
- import { p as D } from "./index-DQXp-tQk.js";
5
- import { h as te } from "./index-Dq0BnanX.js";
6
- import { f as ae } from "./login-DKf6sQrA.js";
7
- import { c as S } from "./cloneDeep-D3jWUY57.js";
8
- import { s as oe, b as le } from "./index-B6D0Zmro.js";
2
+ import { s as x, u as E, E as b, g as L, c as R, d as Q, h as X } from "./menu-B0pyBhYY.js";
3
+ import { u as Y, o as Z, K as ee } from "./index-CCry0tAM.js";
4
+ import { p as D } from "./index-BoQBLh4s.js";
5
+ import { h as te } from "./index-Czqs-JUN.js";
6
+ import { f as ae } from "./login-BlwwLIDJ.js";
7
+ import { c as S } from "./cloneDeep-CXyhaNiz.js";
8
+ import { s as oe, b as le } from "./index-0OFxCEb4.js";
9
9
  import { _ as ne } from "./_plugin-vue_export-helper-CHgC5LLL.js";
10
10
  const A = Y(D), O = Z(D), g = E(D), { menus: H, configMenu: h, activeMenuPath: T, cacheStructures: se } = x(g), re = I(() => {
11
11
  var t, e;
@@ -1,4 +1,4 @@
1
- import { _ } from "./index.vue_vue_type_style_index_0_scoped_3a02a8a3_lang-CpZkvXyX.js";
1
+ import { _ } from "./index.vue_vue_type_style_index_0_scoped_3a02a8a3_lang-LJVg3Lt-.js";
2
2
  import { resolveComponent as i, createElementBlock as s, openBlock as t, Fragment as l, createVNode as a, withCtx as u, createElementVNode as r, toDisplayString as c, renderList as g, createBlock as f, resolveDynamicComponent as h } from "vue";
3
3
  import { _ as k } from "./_plugin-vue_export-helper-CHgC5LLL.js";
4
4
  const D = ["title"], v = { class: "menu-operate-icon" }, y = { class: "module-dialog-content" };
@@ -1,10 +1,10 @@
1
1
  import { ref as c, reactive as k, computed as M, defineComponent as J, onMounted as Z, resolveDirective as G, createElementBlock as U, openBlock as _, createElementVNode as b, withDirectives as Q, createVNode as S, unref as D, createBlock as X } from "vue";
2
- import { e as Y, a as ee, b as te } from "./index-CTASWvkf.js";
3
- import { u as P } from "./login-DKf6sQrA.js";
4
- import { s as E, g as V, u as ae, d as se, E as B } from "./menu-eau-OVSc.js";
2
+ import { e as Y, a as ee, b as te } from "./index-D4gBB4Xq.js";
3
+ import { u as P } from "./login-BlwwLIDJ.js";
4
+ import { s as E, g as V, u as ae, d as se, E as B } from "./menu-B0pyBhYY.js";
5
5
  import { e as re, d as ne } from "./crypto-BRyGpjGR.js";
6
- import { a as oe, s as le } from "./index-CkgqQw5c.js";
7
- import { b as ie, j as ue } from "./index-B6D0Zmro.js";
6
+ import { a as oe, s as le } from "./index-DVW05d1i.js";
7
+ import { b as ie, j as ue } from "./index-0OFxCEb4.js";
8
8
  import { _ as de } from "./_plugin-vue_export-helper-CHgC5LLL.js";
9
9
  const L = P(), { loginUserInfo: i, cryptoInfo: m } = E(L), pe = ae(), { activeMenuPath: h } = E(pe), I = c(0);
10
10
  var R, N, x, K;
@@ -1,9 +1,9 @@
1
1
  import { defineComponent as B, reactive as v, onMounted as V, watch as S, nextTick as M, resolveComponent as c, createElementBlock as f, openBlock as h, Fragment as k, createElementVNode as u, createVNode as l, withCtx as n, toDisplayString as p, renderList as z, createBlock as T, createTextVNode as g } from "vue";
2
- import { b as A } from "./index-B6D0Zmro.js";
3
- import { K as N } from "./index-CMza6E0Y.js";
4
- import { S as C } from "./index-Bo8sDOPU.js";
5
- import { u as R, s as E } from "./menu-eau-OVSc.js";
6
- import { c as F } from "./cloneDeep-D3jWUY57.js";
2
+ import { b as A } from "./index-0OFxCEb4.js";
3
+ import { K as N } from "./index-CCry0tAM.js";
4
+ import { S as C } from "./index-Jg50Cins.js";
5
+ import { u as R, s as E } from "./menu-B0pyBhYY.js";
6
+ import { c as F } from "./cloneDeep-CXyhaNiz.js";
7
7
  import { _ as I } from "./_plugin-vue_export-helper-CHgC5LLL.js";
8
8
  const U = { class: "role-wrapper" }, O = { class: "role-dialog-header" }, q = { class: "node-text" }, K = { class: "dialog-footer" }, L = /* @__PURE__ */ B({
9
9
  __name: "index",
@@ -1,4 +1,4 @@
1
- import { j as A } from "./menu-eau-OVSc.js";
1
+ import { j as A } from "./menu-B0pyBhYY.js";
2
2
  const w = /"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/, O = /"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/, $ = /^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;
3
3
  function E(r, t) {
4
4
  if (r === "__proto__" || r === "constructor" && t && typeof t == "object" && "prototype" in t) {
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./index.vue_vue_type_script_setup_true_lang-CE6ciJHv.js";
1
+ import { _ as f } from "./index.vue_vue_type_script_setup_true_lang-BWj64RRw.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,8 +1,8 @@
1
1
  import { computed as b, getCurrentInstance as qe, inject as ve, unref as u, ref as A, onMounted as ie, watch as W, toRef as Ke, onUnmounted as Vn, shallowRef as Ve, nextTick as V, defineComponent as Z, useAttrs as _n, useSlots as un, createElementBlock as F, openBlock as E, normalizeStyle as Ye, normalizeClass as w, createCommentVNode as k, Fragment as _e, createElementVNode as P, renderSlot as Y, createBlock as M, withCtx as L, resolveDynamicComponent as K, mergeProps as ut, withModifiers as ke, createVNode as oe, toDisplayString as J, onBeforeUnmount as xe, provide as cn, Text as Dn, reactive as dn, h as Un, watchEffect as Kn, isRef as Yn, onScopeDispose as Wn, markRaw as ct, toRefs as Gn, resolveComponent as Ce, Transition as qn, withDirectives as tt, withKeys as Re, createTextVNode as nt, vShow as ot, isVNode as fn, render as vn } from "vue";
2
- import { S as Ft, i as pn, c as bt, t as hn, d as Pt, f as Xn, g as se, h as Ht, j as Xe, k as de, m as ye, n as We, o as gn, p as fe, q as jn, v as Jn, w as Zn, x as Qn, y as Te, z as Ie, A as Me, _ as Be, B as pe, V as eo, C as to, D as no, F as oo, G as ae, N as De, H as ao, I as Ge, J as mn, K as yt, L as ro, M as dt, O as so, P as $t, Q as io, R as zt, T as lo, U as uo, W as co, X as fo, Y as vo, Z as po, $ as Vt, a0 as _t, a1 as ho } from "./index-CTASWvkf.js";
2
+ import { S as Ft, i as pn, c as bt, t as hn, d as Pt, f as Xn, g as se, h as Ht, j as Xe, k as de, m as ye, n as We, o as gn, p as fe, q as jn, v as Jn, w as Zn, x as Qn, y as Te, z as Ie, A as Me, _ as Be, B as pe, V as eo, C as to, D as no, F as oo, G as ae, N as De, H as ao, I as Ge, J as mn, K as yt, L as ro, M as dt, O as so, P as $t, Q as io, R as zt, T as lo, U as uo, W as co, X as fo, Y as vo, Z as po, $ as Vt, a0 as _t, a1 as ho } from "./index-D4gBB4Xq.js";
3
3
  import { m as go } from "./typescript-BpuhIBuJ.js";
4
- import { d as Dt, i as bn, a as mo, b as bo, e as yn, f as yo } from "./cloneDeep-D3jWUY57.js";
5
- import { i as En } from "./index.vue_vue_type_script_setup_true_lang-CE6ciJHv.js";
4
+ import { d as Dt, i as bn, a as mo, b as bo, e as yn, f as yo } from "./cloneDeep-CXyhaNiz.js";
5
+ import { i as En } from "./index.vue_vue_type_script_setup_true_lang-BWj64RRw.js";
6
6
  function Eo(e) {
7
7
  return e;
8
8
  }
@@ -1,14 +1,14 @@
1
1
  import { onMounted as m, resolveComponent as u, createElementBlock as l, openBlock as r, createVNode as f } from "vue";
2
- import "./index-Cks4xBFc.js";
3
- import "./index-DQXp-tQk.js";
4
- import "./array-EGWOD_Yi.js";
2
+ import "./index-C0J1dJP0.js";
3
+ import "./index-BoQBLh4s.js";
4
+ import "./array-DXRXxc5V.js";
5
5
  import { _ as s } from "./_plugin-vue_export-helper-CHgC5LLL.js";
6
- import "./index.vue_vue_type_style_index_0_scoped_3a02a8a3_lang-CpZkvXyX.js";
7
- import "./index.vue_vue_type_style_index_0_scoped_23015cb0_lang-BfO2BZm9.js";
8
- import "./login-DKf6sQrA.js";
9
- import "./menu-eau-OVSc.js";
6
+ import "./index.vue_vue_type_style_index_0_scoped_3a02a8a3_lang-LJVg3Lt-.js";
7
+ import "./index.vue_vue_type_style_index_0_scoped_23015cb0_lang-atPRKw8g.js";
8
+ import "./login-BlwwLIDJ.js";
9
+ import "./menu-B0pyBhYY.js";
10
10
  import "./index-BHtNKL1L.js";
11
- import "./index-CMza6E0Y.js";
11
+ import "./index-CCry0tAM.js";
12
12
  const C = {
13
13
  __name: "index",
14
14
  props: {
@@ -65,7 +65,7 @@ const C = {
65
65
  ]);
66
66
  };
67
67
  }
68
- }, E = /* @__PURE__ */ s(C, [["__scopeId", "data-v-62009028"]]);
68
+ }, E = /* @__PURE__ */ s(C, [["__scopeId", "data-v-5a7b45c8"]]);
69
69
  export {
70
70
  E as default
71
71
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue"),_=require("./index-BovJtyyV.cjs"),u=require("./menu-Bi2msF1Z.cjs"),C=require("./index-Dj7KpYhE.cjs"),f=require("./cloneDeep-BPCav0OY.cjs"),v=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),D=a=>{const s={};for(let l in a)l!=="id"&&(s[l]=a[l]);const r=s==null?void 0:s.主菜单名称;u.createInsofDataApi({key:{type:"mainEquip",systemKey:sessionStorage.getItem("systemKey"),pageKey:r},value:{tableData:s}})},h=a=>{u.deleteInsofDataApi({id:a==null?void 0:a.id})},q=a=>{const s={};for(let l in a)l!=="id"&&(s[l]=a[l]);const r=s==null?void 0:s.主菜单名称;u.updateInsofDataApi({id:a==null?void 0:a.id,key:{type:"mainEquip",systemKey:sessionStorage.getItem("systemKey"),pageKey:r},value:{tableData:s}})},k={class:"menu-content"},x=o.defineComponent({__name:"index",setup(a){const s=u.useMenuState(_.pinia),{menus:r}=u.storeToRefs(s),l=o.ref([]),g=async()=>{var m,n,p,t;const e=await u.getInsofDataApi({key:{type:"mainEquip",systemKey:sessionStorage.getItem("systemKey")}});if(((m=e==null?void 0:e.data)==null?void 0:m.type)==="success"){let d=(p=(n=e==null?void 0:e.data)==null?void 0:n.result)==null?void 0:p.map(i=>i);return d=(t=f.cloneDeep(d))==null?void 0:t.map(i=>{var b;const y=Object.values((b=i==null?void 0:i.value)==null?void 0:b.tableData);return y.unshift({id:i==null?void 0:i.id}),y}),d}else return[]};o.onMounted(async()=>{var p;const e=await g(),n=[{key:"header",contents:[{label:"主菜单名称",formType:"Select",options:(p=f.cloneDeep(r.value))==null?void 0:p.map(t=>({label:t==null?void 0:t.title,value:t==null?void 0:t.title})),prop:"主菜单名称"},{label:"隐藏三维显示",formType:"Switch",value:!1,prop:"隐藏三维显示"},{label:"操作"}]},{key:"extraButton",contents:[{label:"新增"}]},{key:"rowButton",contents:[{label:"查看"},{label:"编辑"},{label:"删除"}]}];n.push({key:"tableContents",contents:e}),l.value=n});const c=e=>{(e==null?void 0:e.buttonName)==="新增"?D(e==null?void 0:e.singleContent):(e==null?void 0:e.buttonName)==="删除"?h(e==null?void 0:e.singleContent):(e==null?void 0:e.buttonName)==="编辑"&&q(e==null?void 0:e.singleContent)};return(e,m)=>(o.openBlock(),o.createElementBlock("div",k,[o.createVNode(C.ssTable,{itemData:l.value,class:"table-content",onChange:c},null,8,["itemData"])]))}}),S=v._export_sfc(x,[["__scopeId","data-v-43191ad8"]]);exports.default=S;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue"),_=require("./index-Ds9PKdQt.cjs"),u=require("./menu-C9NMDJ1-.cjs"),C=require("./index-DogyvuWq.cjs"),f=require("./cloneDeep-DSrEtC3V.cjs"),v=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),D=a=>{const s={};for(let l in a)l!=="id"&&(s[l]=a[l]);const r=s==null?void 0:s.主菜单名称;u.createInsofDataApi({key:{type:"mainEquip",systemKey:sessionStorage.getItem("systemKey"),pageKey:r},value:{tableData:s}})},h=a=>{u.deleteInsofDataApi({id:a==null?void 0:a.id})},q=a=>{const s={};for(let l in a)l!=="id"&&(s[l]=a[l]);const r=s==null?void 0:s.主菜单名称;u.updateInsofDataApi({id:a==null?void 0:a.id,key:{type:"mainEquip",systemKey:sessionStorage.getItem("systemKey"),pageKey:r},value:{tableData:s}})},k={class:"menu-content"},x=o.defineComponent({__name:"index",setup(a){const s=u.useMenuState(_.pinia),{menus:r}=u.storeToRefs(s),l=o.ref([]),g=async()=>{var m,n,p,t;const e=await u.getInsofDataApi({key:{type:"mainEquip",systemKey:sessionStorage.getItem("systemKey")}});if(((m=e==null?void 0:e.data)==null?void 0:m.type)==="success"){let d=(p=(n=e==null?void 0:e.data)==null?void 0:n.result)==null?void 0:p.map(i=>i);return d=(t=f.cloneDeep(d))==null?void 0:t.map(i=>{var b;const y=Object.values((b=i==null?void 0:i.value)==null?void 0:b.tableData);return y.unshift({id:i==null?void 0:i.id}),y}),d}else return[]};o.onMounted(async()=>{var p;const e=await g(),n=[{key:"header",contents:[{label:"主菜单名称",formType:"Select",options:(p=f.cloneDeep(r.value))==null?void 0:p.map(t=>({label:t==null?void 0:t.title,value:t==null?void 0:t.title})),prop:"主菜单名称"},{label:"隐藏三维显示",formType:"Switch",value:!1,prop:"隐藏三维显示"},{label:"操作"}]},{key:"extraButton",contents:[{label:"新增"}]},{key:"rowButton",contents:[{label:"查看"},{label:"编辑"},{label:"删除"}]}];n.push({key:"tableContents",contents:e}),l.value=n});const c=e=>{(e==null?void 0:e.buttonName)==="新增"?D(e==null?void 0:e.singleContent):(e==null?void 0:e.buttonName)==="删除"?h(e==null?void 0:e.singleContent):(e==null?void 0:e.buttonName)==="编辑"&&q(e==null?void 0:e.singleContent)};return(e,m)=>(o.openBlock(),o.createElementBlock("div",k,[o.createVNode(C.ssTable,{itemData:l.value,class:"table-content",onChange:c},null,8,["itemData"])]))}}),S=v._export_sfc(x,[["__scopeId","data-v-43191ad8"]]);exports.default=S;
@@ -1,12 +1,12 @@
1
- import { G as Cl, p as tl, u as cl, r as gl, J as kl, K as _l } from "./index-CMza6E0Y.js";
1
+ import { G as Cl, p as tl, u as cl, r as gl, J as kl, K as _l } from "./index-CCry0tAM.js";
2
2
  import { ref as I, watch as xe, createElementBlock as G, openBlock as L, createVNode as K, resolveComponent as Ce, Fragment as ye, renderList as be, createElementVNode as u, createCommentVNode as Se, toDisplayString as Y, withCtx as oe, createBlock as ge, defineComponent as ze, reactive as el, createTextVNode as We, resolveDynamicComponent as Ge, computed as ll, renderSlot as He, createSlots as wl, mergeProps as xl, unref as Dl, normalizeStyle as Il, withModifiers as Ke } from "vue";
3
- import { p as Ve } from "./index-DQXp-tQk.js";
4
- import { F as sl, b as Ie, s as $e, g as $l, c as dl, d as we, f as qe, m as Ye, e as Je, h as Ze, i as Tl, j as El, a as Bl } from "./index-B6D0Zmro.js";
5
- import { f as vl, s as je, E as Pe, u as Fl, g as il, b as Al } from "./menu-eau-OVSc.js";
3
+ import { p as Ve } from "./index-BoQBLh4s.js";
4
+ import { F as sl, b as Ie, s as $e, g as $l, c as dl, d as we, f as qe, m as Ye, e as Je, h as Ze, i as Tl, j as El, a as Bl } from "./index-0OFxCEb4.js";
5
+ import { f as vl, s as je, E as Pe, u as Fl, g as il, b as Al } from "./menu-B0pyBhYY.js";
6
6
  import { _ as ke } from "./_plugin-vue_export-helper-CHgC5LLL.js";
7
- import { c as p } from "./cloneDeep-D3jWUY57.js";
8
- import { E as Ue } from "./index-C_zK0qeZ.js";
9
- import { s as Ll, a as Sl } from "./index-CkgqQw5c.js";
7
+ import { c as p } from "./cloneDeep-CXyhaNiz.js";
8
+ import { E as Ue } from "./index-Bw1IeheF.js";
9
+ import { s as Ll, a as Sl } from "./index-DVW05d1i.js";
10
10
  import Vl from "./index-CZtXRS3l.js";
11
11
  const Ol = (b) => b.match(/\((.*)\)/)[1], Rl = vl("formComp", {
12
12
  state: () => ({
@@ -1 +1 @@
1
- "use strict";const o=require("./menu-Bi2msF1Z.cjs");function a(t){const e=sessionStorage.getItem("loginToken")??"123456";return o.service({url:"/api/sysFile/uploadAvatar",method:"post",data:t,headers:{Authorization:e,"Content-Type":"multipart/form-data"}})}function i(t){const e=sessionStorage.getItem("loginToken")??"123456";return o.service({url:"/api/sysFile/downloadFile",method:"post",data:t,headers:{Authorization:e,Accept:"application/octet-stream"},responseType:"blob"})}exports.downloadAvatarApi=i;exports.uploadAvatarApi=a;
1
+ "use strict";const o=require("./menu-C9NMDJ1-.cjs");function a(t){const e=sessionStorage.getItem("loginToken")??"123456";return o.service({url:"/api/sysFile/uploadAvatar",method:"post",data:t,headers:{Authorization:e,"Content-Type":"multipart/form-data"}})}function i(t){const e=sessionStorage.getItem("loginToken")??"123456";return o.service({url:"/api/sysFile/downloadFile",method:"post",data:t,headers:{Authorization:e,Accept:"application/octet-stream"},responseType:"blob"})}exports.downloadAvatarApi=i;exports.uploadAvatarApi=a;
@@ -1 +1 @@
1
- "use strict";const c=require("vue"),r=require("./menu-Bi2msF1Z.cjs"),F=require("./login-cDG_pssN.cjs"),q=require("./index-Dj7KpYhE.cjs"),D=require("./cloneDeep-BPCav0OY.cjs"),z=r.useMenuState(),{activeMenuPath:b}=r.storeToRefs(z),w=F.useLoginState(),{structureData:O}=r.storeToRefs(w),_=q.useModelComp(),{itemData:j}=r.storeToRefs(_),H=c.ref([{label:"角色名称",value:"",name:"roleName"}]),L=c.ref([{label:"查询"},{label:"重置"}]),S=c.reactive({isFilter:!1,filterForm:{}}),Q=c.ref(!1),U=a=>{console.log("handleQueryChange",a),S.isFilter=!0,S.filterForm=a},f=c.ref([{key:"extraButton",contents:[{label:"新增"}]},{key:"rowButton",contents:[{label:"授权",textColor:"blue"},{label:"编辑"},{label:"删除",textColor:"red"}]},{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",contents:[]}]),V=c.computed(()=>f.value),$=a=>{m(a.singleContent,a.buttonName)},B=c.ref({}),k=c.ref(),g=async(a,e,l)=>{var t,n;try{const s=await a(e);return((t=s==null?void 0:s.data)==null?void 0:t.code)===200?(l!=="查询"&&await w.setLogRecordAsync({type:l,data:e},b.value),s.data.result||((n=s==null?void 0:s.data)==null?void 0:n.code)===200):null}catch(s){r.ElMessage.error(s)}},I=(a,e)=>{e==null||e.forEach(l=>{a==null||a.forEach(t=>{var n;t.path==l.path&&(t.checkedButtons=l.checkedButtons),t.children&&((n=t.children)==null?void 0:n.length)>0&&I(t.children,e)})})},T=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=T(l.children)),l}),G=async(a,e)=>{switch(B.value=D.cloneDeep(e),a){case"授权":u.title=`【${e.roleName}】授权`,u.show=!0,await c.nextTick(),e.roleAuthority&&Array.isArray(e.roleAuthority)&&I(p.value,e.roleAuthority);break}},J=()=>{u.show=!1},d=c.ref(),W=async a=>{const e=await g(r.getInsofDataApi,{key:{systemKey:sessionStorage.getItem("systemKey"),type:"data",pageKey:a}},"查询"),l=e==null?void 0:e.map(t=>{var n;return{id:t.id,tableData:(n=t==null?void 0:t.value)==null?void 0:n.tableData}});return l==null?void 0:l.map(t=>{var n;if(Array.isArray(t==null?void 0:t.tableData)){let s={id:t.id};return(n=t==null?void 0:t.tableData)==null||n.forEach((o,y)=>{s[`a${y}`]=o}),s}else return{...t.tableData,id:t.id}})},m=(a,e)=>{const l=D.cloneDeep(a);l!=null&&l.id&&delete l.id,e==="新增"?g(r.createInsofDataApi,{key:{type:"data",systemKey:sessionStorage.getItem("systemKey"),pageKey:b.value,tableId:v.value},value:{tableData:l}},e).then(t=>{d.value={...a,newId:t},e&&t&&r.ElMessage.success(e+"成功")}):e==="编辑"?(console.log("编辑角色",l),g(r.updateInsofDataApi,{id:a.id,key:{type:"data",systemKey:sessionStorage.getItem("systemKey"),pageKey:b.value,tableId:v.value},value:{tableData:l}},e).then(t=>{e&&t&&r.ElMessage.success(e+"成功"),u.show=!1})):e==="删除"&&g(r.deleteInsofDataApi,{id:a.id},e).then(t=>{e&&t&&r.ElMessage.success(e+"成功")})},K=a=>{let e=[];return a==null||a.forEach(l=>{var t;if(l.checkedButtons&&((t=l.checkedButtons)==null?void 0:t.length)>0){const n={path:l.path,checkedButtons:l.checkedButtons};e=e.concat(n)}l.children&&(e=e.concat(K(l.children)))}),e},X=()=>{d.value={...B.value,roleAuthority:K(p.value)},c.nextTick(()=>{console.log("clickSubmitAuthority",d.value,f.value),m(d.value,"编辑")})},u=c.reactive({show:!1,title:"角色授权",width:"35%",draggable:!0}),Y=({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":""},v=c.ref(0),M=async()=>{var l,t,n,s,o;let a;const e=await r.getInsofDataApi({key:{systemKey:sessionStorage.getItem("systemKey"),type:"structure",pageKey:b.value}});return((l=e==null?void 0:e.data)==null?void 0:l.code)===200&&(t=e==null?void 0:e.data)!=null&&t.result&&((n=e==null?void 0:e.data)==null?void 0:n.result.length)>0&&(a=(o=(s=e==null?void 0:e.data.result)==null?void 0:s[0])==null?void 0:o.id),a},p=c.ref([]),Z=c.ref([{path:"资源管理",buttons:["查询","新增","编辑","删除"]},{path:"资源管理/人员",buttons:["查询","新增","编辑","删除"]}]),ee=(a,e)=>{var l;a.checkedButtons=e?(l=a.renderButtons)==null?void 0:l.map(t=>t.path):[],console.log("handleNodeCheckChange",a,e)},h=c.ref([]),te=(a,e)=>{var l,t,n;e.checkedButtons=a,((l=e.checkedButtons)==null?void 0:l.length)===((t=e.renderButtons)==null?void 0:t.length)?h.value.push(e.path):(a==null?void 0:a.length)===0&&(h.value=(n=h.value)==null?void 0:n.filter(s=>s!==e.path))};c.watch(()=>h.value.length,()=>{var e,l;const a=(e=k.value)==null?void 0:e.getCheckedKeys();console.log(112,h.value,a),(l=k.value)==null||l.setCheckedKeys([...h.value])});c.watch(()=>u.show,a=>{a||(p.value=T(p.value))});const P=c.computed(()=>{var l;const a=(l=D.cloneDeep(O.value))==null?void 0:l.filter(t=>{var n,s;return((s=(n=t==null?void 0:t.key)==null?void 0:n.pageKey)==null?void 0:s.toUpperCase())!=="MENU"});return[...a==null?void 0:a.map(t=>{var o,y,A,C;const n=/button/i;let s=(A=(y=(o=t==null?void 0:t.value)==null?void 0:o.pageData)==null?void 0:y.compData)==null?void 0:A.filter(i=>n.test(i==null?void 0:i.key));return s=Array.from(new Set(s==null?void 0:s.flatMap(i=>i.contents.map(R=>R.label)))),{path:(C=t==null?void 0:t.key)==null?void 0:C.pageKey,buttons:s}}),...x.value]}),x=c.ref([]),E=(a,e)=>{if(Array.isArray(a))return a==null?void 0:a.map(l=>{var n,s;const t=e==null?void 0:e.find(o=>(o==null?void 0:o.path)===(l==null?void 0:l.path));return l.children&&l.children.length>0?{...l,renderButtons:l.carryData?(n=t==null?void 0:t.buttons)==null?void 0:n.map(o=>({title:o,path:l.path+"/"+o})):[],checkedButtons:[],children:E(l.children,P.value)}:{...l,renderButtons:l.carryData?(s=t==null?void 0:t.buttons)==null?void 0:s.map(o=>({title:o,path:l.path+"/"+o})):[],checkedButtons:[]}})},N={comp:"Group",name:"/系统管理/角色管理",compData:[{key:"groupContents",contents:[{comp:"Table",compData:f.value,name:""}]}]};c.watch(()=>j.value,a=>{var e;a&&(a==null?void 0:a.length)>0&&(f.value=(e=a==null?void 0:a[0])==null?void 0:e.compData)});const ae=Object.freeze(Object.defineProperty({__proto__:null,addButtonsToTree:E,authorizeDialog:u,buttonValue:L,changedRow:d,clickRow:B,clickRowButton:G,clickSubmitAuthority:X,closeAuthorizeDialog:J,customNodeClass:Y,getActivePageStructureId:M,getPageDataAsync:W,handleItemDataChange:$,handleNodeBtnChange:te,handleNodeCheckChange:ee,handleQueryChange:U,handleSubmitAsync:g,isPageDataExist:Q,menuData:p,menusButtons:Z,pageData:f,pageDataFiltered:V,queryFormData:H,structureButtons:P,structureId:v,submitTableAsyncByVerify:m,tempRolePageData:N,tempSysMenus:x,treeRef:k},Symbol.toStringTag,{value:"Module"}));exports.State=ae;exports.authorizeDialog=u;exports.getActivePageStructureId=M;exports.tempRolePageData=N;
1
+ "use strict";const c=require("vue"),r=require("./menu-C9NMDJ1-.cjs"),F=require("./login-B-eAhMEz.cjs"),q=require("./index-DogyvuWq.cjs"),D=require("./cloneDeep-DSrEtC3V.cjs"),z=r.useMenuState(),{activeMenuPath:b}=r.storeToRefs(z),w=F.useLoginState(),{structureData:O}=r.storeToRefs(w),_=q.useModelComp(),{itemData:j}=r.storeToRefs(_),H=c.ref([{label:"角色名称",value:"",name:"roleName"}]),L=c.ref([{label:"查询"},{label:"重置"}]),S=c.reactive({isFilter:!1,filterForm:{}}),Q=c.ref(!1),U=a=>{console.log("handleQueryChange",a),S.isFilter=!0,S.filterForm=a},f=c.ref([{key:"extraButton",contents:[{label:"新增"}]},{key:"rowButton",contents:[{label:"授权",textColor:"blue"},{label:"编辑"},{label:"删除",textColor:"red"}]},{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",contents:[]}]),V=c.computed(()=>f.value),$=a=>{m(a.singleContent,a.buttonName)},B=c.ref({}),k=c.ref(),g=async(a,e,l)=>{var t,n;try{const s=await a(e);return((t=s==null?void 0:s.data)==null?void 0:t.code)===200?(l!=="查询"&&await w.setLogRecordAsync({type:l,data:e},b.value),s.data.result||((n=s==null?void 0:s.data)==null?void 0:n.code)===200):null}catch(s){r.ElMessage.error(s)}},I=(a,e)=>{e==null||e.forEach(l=>{a==null||a.forEach(t=>{var n;t.path==l.path&&(t.checkedButtons=l.checkedButtons),t.children&&((n=t.children)==null?void 0:n.length)>0&&I(t.children,e)})})},T=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=T(l.children)),l}),G=async(a,e)=>{switch(B.value=D.cloneDeep(e),a){case"授权":u.title=`【${e.roleName}】授权`,u.show=!0,await c.nextTick(),e.roleAuthority&&Array.isArray(e.roleAuthority)&&I(p.value,e.roleAuthority);break}},J=()=>{u.show=!1},d=c.ref(),W=async a=>{const e=await g(r.getInsofDataApi,{key:{systemKey:sessionStorage.getItem("systemKey"),type:"data",pageKey:a}},"查询"),l=e==null?void 0:e.map(t=>{var n;return{id:t.id,tableData:(n=t==null?void 0:t.value)==null?void 0:n.tableData}});return l==null?void 0:l.map(t=>{var n;if(Array.isArray(t==null?void 0:t.tableData)){let s={id:t.id};return(n=t==null?void 0:t.tableData)==null||n.forEach((o,y)=>{s[`a${y}`]=o}),s}else return{...t.tableData,id:t.id}})},m=(a,e)=>{const l=D.cloneDeep(a);l!=null&&l.id&&delete l.id,e==="新增"?g(r.createInsofDataApi,{key:{type:"data",systemKey:sessionStorage.getItem("systemKey"),pageKey:b.value,tableId:v.value},value:{tableData:l}},e).then(t=>{d.value={...a,newId:t},e&&t&&r.ElMessage.success(e+"成功")}):e==="编辑"?(console.log("编辑角色",l),g(r.updateInsofDataApi,{id:a.id,key:{type:"data",systemKey:sessionStorage.getItem("systemKey"),pageKey:b.value,tableId:v.value},value:{tableData:l}},e).then(t=>{e&&t&&r.ElMessage.success(e+"成功"),u.show=!1})):e==="删除"&&g(r.deleteInsofDataApi,{id:a.id},e).then(t=>{e&&t&&r.ElMessage.success(e+"成功")})},K=a=>{let e=[];return a==null||a.forEach(l=>{var t;if(l.checkedButtons&&((t=l.checkedButtons)==null?void 0:t.length)>0){const n={path:l.path,checkedButtons:l.checkedButtons};e=e.concat(n)}l.children&&(e=e.concat(K(l.children)))}),e},X=()=>{d.value={...B.value,roleAuthority:K(p.value)},c.nextTick(()=>{console.log("clickSubmitAuthority",d.value,f.value),m(d.value,"编辑")})},u=c.reactive({show:!1,title:"角色授权",width:"35%",draggable:!0}),Y=({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":""},v=c.ref(0),M=async()=>{var l,t,n,s,o;let a;const e=await r.getInsofDataApi({key:{systemKey:sessionStorage.getItem("systemKey"),type:"structure",pageKey:b.value}});return((l=e==null?void 0:e.data)==null?void 0:l.code)===200&&(t=e==null?void 0:e.data)!=null&&t.result&&((n=e==null?void 0:e.data)==null?void 0:n.result.length)>0&&(a=(o=(s=e==null?void 0:e.data.result)==null?void 0:s[0])==null?void 0:o.id),a},p=c.ref([]),Z=c.ref([{path:"资源管理",buttons:["查询","新增","编辑","删除"]},{path:"资源管理/人员",buttons:["查询","新增","编辑","删除"]}]),ee=(a,e)=>{var l;a.checkedButtons=e?(l=a.renderButtons)==null?void 0:l.map(t=>t.path):[],console.log("handleNodeCheckChange",a,e)},h=c.ref([]),te=(a,e)=>{var l,t,n;e.checkedButtons=a,((l=e.checkedButtons)==null?void 0:l.length)===((t=e.renderButtons)==null?void 0:t.length)?h.value.push(e.path):(a==null?void 0:a.length)===0&&(h.value=(n=h.value)==null?void 0:n.filter(s=>s!==e.path))};c.watch(()=>h.value.length,()=>{var e,l;const a=(e=k.value)==null?void 0:e.getCheckedKeys();console.log(112,h.value,a),(l=k.value)==null||l.setCheckedKeys([...h.value])});c.watch(()=>u.show,a=>{a||(p.value=T(p.value))});const P=c.computed(()=>{var l;const a=(l=D.cloneDeep(O.value))==null?void 0:l.filter(t=>{var n,s;return((s=(n=t==null?void 0:t.key)==null?void 0:n.pageKey)==null?void 0:s.toUpperCase())!=="MENU"});return[...a==null?void 0:a.map(t=>{var o,y,A,C;const n=/button/i;let s=(A=(y=(o=t==null?void 0:t.value)==null?void 0:o.pageData)==null?void 0:y.compData)==null?void 0:A.filter(i=>n.test(i==null?void 0:i.key));return s=Array.from(new Set(s==null?void 0:s.flatMap(i=>i.contents.map(R=>R.label)))),{path:(C=t==null?void 0:t.key)==null?void 0:C.pageKey,buttons:s}}),...x.value]}),x=c.ref([]),E=(a,e)=>{if(Array.isArray(a))return a==null?void 0:a.map(l=>{var n,s;const t=e==null?void 0:e.find(o=>(o==null?void 0:o.path)===(l==null?void 0:l.path));return l.children&&l.children.length>0?{...l,renderButtons:l.carryData?(n=t==null?void 0:t.buttons)==null?void 0:n.map(o=>({title:o,path:l.path+"/"+o})):[],checkedButtons:[],children:E(l.children,P.value)}:{...l,renderButtons:l.carryData?(s=t==null?void 0:t.buttons)==null?void 0:s.map(o=>({title:o,path:l.path+"/"+o})):[],checkedButtons:[]}})},N={comp:"Group",name:"/系统管理/角色管理",compData:[{key:"groupContents",contents:[{comp:"Table",compData:f.value,name:""}]}]};c.watch(()=>j.value,a=>{var e;a&&(a==null?void 0:a.length)>0&&(f.value=(e=a==null?void 0:a[0])==null?void 0:e.compData)});const ae=Object.freeze(Object.defineProperty({__proto__:null,addButtonsToTree:E,authorizeDialog:u,buttonValue:L,changedRow:d,clickRow:B,clickRowButton:G,clickSubmitAuthority:X,closeAuthorizeDialog:J,customNodeClass:Y,getActivePageStructureId:M,getPageDataAsync:W,handleItemDataChange:$,handleNodeBtnChange:te,handleNodeCheckChange:ee,handleQueryChange:U,handleSubmitAsync:g,isPageDataExist:Q,menuData:p,menusButtons:Z,pageData:f,pageDataFiltered:V,queryFormData:H,structureButtons:P,structureId:v,submitTableAsyncByVerify:m,tempRolePageData:N,tempSysMenus:x,treeRef:k},Symbol.toStringTag,{value:"Module"}));exports.State=ae;exports.authorizeDialog=u;exports.getActivePageStructureId=M;exports.tempRolePageData=N;
@@ -1,11 +1,11 @@
1
1
  import { createElementBlock as M, openBlock as L, createElementVNode as Q, renderSlot as u, defineComponent as Z, ref as m, resolveComponent as r, createVNode as S, withCtx as i, reactive as T, watch as N, unref as v, toDisplayString as k, createTextVNode as j } from "vue";
2
2
  import { _ as z } from "./_plugin-vue_export-helper-CHgC5LLL.js";
3
- import { u as EA, l as IA } from "./index-CTASWvkf.js";
3
+ import { u as EA, l as IA } from "./index-D4gBB4Xq.js";
4
4
  import { useRouter as gA } from "vue-router";
5
- import { u as CA } from "./login-DKf6sQrA.js";
6
- import { a as BA, E as Y, b as QA, g as G } from "./menu-eau-OVSc.js";
7
- import { p as iA } from "./index-DQXp-tQk.js";
8
- import { v as oA } from "./index-Bxt_jC-e.js";
5
+ import { u as CA } from "./login-BlwwLIDJ.js";
6
+ import { a as BA, E as Y, b as QA, g as G } from "./menu-B0pyBhYY.js";
7
+ import { p as iA } from "./index-BoQBLh4s.js";
8
+ import { v as oA } from "./index-B1LMqzHp.js";
9
9
  import { d as cA } from "./crypto-BRyGpjGR.js";
10
10
  const RA = {}, nA = { class: "header-wrapper" }, wA = { class: "header-horizontal" }, eA = { class: "header-logo" }, sA = { class: "header-cTitle" }, SA = { class: "header-horizontal" }, tA = { class: "header-eTitle" };
11
11
  function JA(J, l) {
@@ -1,43 +1,43 @@
1
- import { ref as wt, watch as Lr, nextTick as gd, resolveComponent as gh, createBlock as Cl, openBlock as Ln, withCtx as kn, createElementVNode as rn, renderSlot as sc, onMounted as Pl, createElementBlock as fi, toDisplayString as qi, createCommentVNode as _h, Fragment as vh, renderList as yh, normalizeStyle as xh, createVNode as Yn, unref as _d, defineComponent as vd, createSlots as yd } from "vue";
2
- import { p as Cr } from "./index-DQXp-tQk.js";
3
- import { f as Aa, b as ac, s as is, i as oc, g as Dn, c as Mh, d as ga, u as Sh, e as xd } from "./menu-eau-OVSc.js";
4
- import { a2 as Md, S as lc, a3 as Sd, i as cc, a4 as uc, a5 as bd } from "./index-CTASWvkf.js";
5
- import { b as _a, g as va, k as hc, l as Ed, n as Td, s as dc } from "./index-B6D0Zmro.js";
1
+ import { ref as wt, watch as Lr, nextTick as gd, resolveComponent as gh, createBlock as Cl, openBlock as Ln, withCtx as kn, createElementVNode as rn, renderSlot as sc, onMounted as Pl, createElementBlock as fi, normalizeClass as _d, toDisplayString as qi, createCommentVNode as _h, Fragment as vh, renderList as yh, normalizeStyle as xh, createVNode as Yn, unref as vd, defineComponent as yd, createSlots as xd } from "vue";
2
+ import { p as Cr } from "./index-BoQBLh4s.js";
3
+ import { f as Aa, b as ac, s as is, i as oc, g as Dn, c as Mh, d as ga, u as Sh, e as Md } from "./menu-B0pyBhYY.js";
4
+ import { a2 as Sd, S as lc, a3 as bd, i as cc, a4 as uc, a5 as Ed } from "./index-D4gBB4Xq.js";
5
+ import { b as _a, g as va, k as hc, l as Td, n as wd, s as dc } from "./index-0OFxCEb4.js";
6
6
  import { _ as Ll } from "./_plugin-vue_export-helper-CHgC5LLL.js";
7
- import { U as fc, g as pc, h as mc, j as gc, S as Oa, k as wd, c as He } from "./cloneDeep-D3jWUY57.js";
8
- import { d as Ad } from "./index-BWoxDyyu.js";
9
- var Rd = "__lodash_hash_undefined__";
10
- function Cd(r) {
11
- return this.__data__.set(r, Rd), this;
12
- }
7
+ import { U as fc, g as pc, h as mc, j as gc, S as Oa, k as Ad, c as He } from "./cloneDeep-CXyhaNiz.js";
8
+ import { d as Rd } from "./index-DOQKFJaF.js";
9
+ var Cd = "__lodash_hash_undefined__";
13
10
  function Pd(r) {
11
+ return this.__data__.set(r, Cd), this;
12
+ }
13
+ function Ld(r) {
14
14
  return this.__data__.has(r);
15
15
  }
16
16
  function ya(r) {
17
17
  var e = -1, t = r == null ? 0 : r.length;
18
- for (this.__data__ = new Md(); ++e < t; )
18
+ for (this.__data__ = new Sd(); ++e < t; )
19
19
  this.add(r[e]);
20
20
  }
21
- ya.prototype.add = ya.prototype.push = Cd;
22
- ya.prototype.has = Pd;
23
- function Ld(r, e) {
21
+ ya.prototype.add = ya.prototype.push = Pd;
22
+ ya.prototype.has = Ld;
23
+ function Dd(r, e) {
24
24
  for (var t = -1, n = r == null ? 0 : r.length; ++t < n; )
25
25
  if (e(r[t], t, r))
26
26
  return !0;
27
27
  return !1;
28
28
  }
29
- function Dd(r, e) {
29
+ function Ud(r, e) {
30
30
  return r.has(e);
31
31
  }
32
- var Ud = 1, Id = 2;
32
+ var Id = 1, Nd = 2;
33
33
  function bh(r, e, t, n, i, s) {
34
- var a = t & Ud, o = r.length, l = e.length;
34
+ var a = t & Id, o = r.length, l = e.length;
35
35
  if (o != l && !(a && l > o))
36
36
  return !1;
37
37
  var c = s.get(r), u = s.get(e);
38
38
  if (c && u)
39
39
  return c == e && u == r;
40
- var h = -1, d = !0, f = t & Id ? new ya() : void 0;
40
+ var h = -1, d = !0, f = t & Nd ? new ya() : void 0;
41
41
  for (s.set(r, e), s.set(e, r); ++h < o; ) {
42
42
  var m = r[h], _ = e[h];
43
43
  if (n)
@@ -49,8 +49,8 @@ function bh(r, e, t, n, i, s) {
49
49
  break;
50
50
  }
51
51
  if (f) {
52
- if (!Ld(e, function(p, S) {
53
- if (!Dd(f, S) && (m === p || i(m, p, t, n, s)))
52
+ if (!Dd(e, function(p, S) {
53
+ if (!Ud(f, S) && (m === p || i(m, p, t, n, s)))
54
54
  return f.push(S);
55
55
  })) {
56
56
  d = !1;
@@ -63,62 +63,62 @@ function bh(r, e, t, n, i, s) {
63
63
  }
64
64
  return s.delete(r), s.delete(e), d;
65
65
  }
66
- function Nd(r) {
66
+ function Fd(r) {
67
67
  var e = -1, t = Array(r.size);
68
68
  return r.forEach(function(n, i) {
69
69
  t[++e] = [i, n];
70
70
  }), t;
71
71
  }
72
- function Fd(r) {
72
+ function Od(r) {
73
73
  var e = -1, t = Array(r.size);
74
74
  return r.forEach(function(n) {
75
75
  t[++e] = n;
76
76
  }), t;
77
77
  }
78
- var Od = 1, Bd = 2, kd = "[object Boolean]", zd = "[object Date]", Vd = "[object Error]", Hd = "[object Map]", Gd = "[object Number]", Wd = "[object RegExp]", Xd = "[object Set]", qd = "[object String]", jd = "[object Symbol]", Yd = "[object ArrayBuffer]", Kd = "[object DataView]", _c = lc ? lc.prototype : void 0, Ba = _c ? _c.valueOf : void 0;
79
- function $d(r, e, t, n, i, s, a) {
78
+ var Bd = 1, kd = 2, zd = "[object Boolean]", Vd = "[object Date]", Hd = "[object Error]", Gd = "[object Map]", Wd = "[object Number]", Xd = "[object RegExp]", qd = "[object Set]", jd = "[object String]", Yd = "[object Symbol]", Kd = "[object ArrayBuffer]", $d = "[object DataView]", _c = lc ? lc.prototype : void 0, Ba = _c ? _c.valueOf : void 0;
79
+ function Jd(r, e, t, n, i, s, a) {
80
80
  switch (t) {
81
- case Kd:
81
+ case $d:
82
82
  if (r.byteLength != e.byteLength || r.byteOffset != e.byteOffset)
83
83
  return !1;
84
84
  r = r.buffer, e = e.buffer;
85
- case Yd:
85
+ case Kd:
86
86
  return !(r.byteLength != e.byteLength || !s(new fc(r), new fc(e)));
87
- case kd:
88
87
  case zd:
89
- case Gd:
90
- return Sd(+r, +e);
91
88
  case Vd:
92
- return r.name == e.name && r.message == e.message;
93
89
  case Wd:
94
- case qd:
95
- return r == e + "";
90
+ return bd(+r, +e);
96
91
  case Hd:
97
- var o = Nd;
92
+ return r.name == e.name && r.message == e.message;
98
93
  case Xd:
99
- var l = n & Od;
100
- if (o || (o = Fd), r.size != e.size && !l)
94
+ case jd:
95
+ return r == e + "";
96
+ case Gd:
97
+ var o = Fd;
98
+ case qd:
99
+ var l = n & Bd;
100
+ if (o || (o = Od), r.size != e.size && !l)
101
101
  return !1;
102
102
  var c = a.get(r);
103
103
  if (c)
104
104
  return c == e;
105
- n |= Bd, a.set(r, e);
105
+ n |= kd, a.set(r, e);
106
106
  var u = bh(o(r), o(e), n, i, s, a);
107
107
  return a.delete(r), u;
108
- case jd:
108
+ case Yd:
109
109
  if (Ba)
110
110
  return Ba.call(r) == Ba.call(e);
111
111
  }
112
112
  return !1;
113
113
  }
114
- var Jd = 1, Zd = Object.prototype, Qd = Zd.hasOwnProperty;
115
- function ef(r, e, t, n, i, s) {
116
- var a = t & Jd, o = pc(r), l = o.length, c = pc(e), u = c.length;
114
+ var Zd = 1, Qd = Object.prototype, ef = Qd.hasOwnProperty;
115
+ function tf(r, e, t, n, i, s) {
116
+ var a = t & Zd, o = pc(r), l = o.length, c = pc(e), u = c.length;
117
117
  if (l != u && !a)
118
118
  return !1;
119
119
  for (var h = l; h--; ) {
120
120
  var d = o[h];
121
- if (!(a ? d in e : Qd.call(e, d)))
121
+ if (!(a ? d in e : ef.call(e, d)))
122
122
  return !1;
123
123
  }
124
124
  var f = s.get(r), m = s.get(e);
@@ -143,8 +143,8 @@ function ef(r, e, t, n, i, s) {
143
143
  }
144
144
  return s.delete(r), s.delete(e), _;
145
145
  }
146
- var tf = 1, vc = "[object Arguments]", yc = "[object Array]", xs = "[object Object]", nf = Object.prototype, xc = nf.hasOwnProperty;
147
- function rf(r, e, t, n, i, s) {
146
+ var nf = 1, vc = "[object Arguments]", yc = "[object Array]", xs = "[object Object]", rf = Object.prototype, xc = rf.hasOwnProperty;
147
+ function sf(r, e, t, n, i, s) {
148
148
  var a = cc(r), o = cc(e), l = a ? yc : mc(r), c = o ? yc : mc(e);
149
149
  l = l == vc ? xs : l, c = c == vc ? xs : c;
150
150
  var u = l == xs, h = c == xs, d = l == c;
@@ -154,20 +154,20 @@ function rf(r, e, t, n, i, s) {
154
154
  a = !0, u = !1;
155
155
  }
156
156
  if (d && !u)
157
- return s || (s = new Oa()), a || wd(r) ? bh(r, e, t, n, i, s) : $d(r, e, l, t, n, i, s);
158
- if (!(t & tf)) {
157
+ return s || (s = new Oa()), a || Ad(r) ? bh(r, e, t, n, i, s) : Jd(r, e, l, t, n, i, s);
158
+ if (!(t & nf)) {
159
159
  var f = u && xc.call(r, "__wrapped__"), m = h && xc.call(e, "__wrapped__");
160
160
  if (f || m) {
161
161
  var _ = f ? r.value() : r, g = m ? e.value() : e;
162
162
  return s || (s = new Oa()), i(_, g, t, n, s);
163
163
  }
164
164
  }
165
- return d ? (s || (s = new Oa()), ef(r, e, t, n, i, s)) : !1;
165
+ return d ? (s || (s = new Oa()), tf(r, e, t, n, i, s)) : !1;
166
166
  }
167
167
  function Eh(r, e, t, n, i) {
168
- return r === e ? !0 : r == null || e == null || !uc(r) && !uc(e) ? r !== r && e !== e : rf(r, e, t, n, Eh, i);
168
+ return r === e ? !0 : r == null || e == null || !uc(r) && !uc(e) ? r !== r && e !== e : sf(r, e, t, n, Eh, i);
169
169
  }
170
- function sf(r, e) {
170
+ function af(r, e) {
171
171
  return Eh(r, e);
172
172
  }
173
173
  const Th = Aa("modelComp", {
@@ -211,7 +211,7 @@ const Th = Aa("modelComp", {
211
211
  this.systemPath = r;
212
212
  }
213
213
  }
214
- }), af = {
214
+ }), of = {
215
215
  __name: "index",
216
216
  props: {
217
217
  isVisible: {
@@ -271,7 +271,7 @@ const Th = Aa("modelComp", {
271
271
  }, 8, ["visible", "title", "width"]);
272
272
  };
273
273
  }
274
- }, of = { class: "extra-button-content" }, lf = { class: "table-name-wrap" }, cf = { class: "table-operator-wrap" }, uf = {
274
+ }, lf = { class: "extra-button-content" }, cf = { class: "table-operator-wrap" }, uf = {
275
275
  key: 0,
276
276
  class: "extra-header"
277
277
  }, hf = ["onClick"], df = { class: "extra-button-filter" }, ff = { class: "form-content-value" }, pf = {
@@ -317,8 +317,10 @@ const Th = Aa("modelComp", {
317
317
  ), (u, h) => {
318
318
  var f;
319
319
  const d = gh("el-tooltip");
320
- return Ln(), fi("div", of, [
321
- rn("div", lf, qi(r.compName), 1),
320
+ return Ln(), fi("div", lf, [
321
+ rn("div", {
322
+ class: _d(r.compName ? "table-name-wrap" : "")
323
+ }, qi(r.compName), 3),
322
324
  rn("div", cf, [
323
325
  n != null && n.buttons && ((f = n == null ? void 0 : n.buttons) == null ? void 0 : f.length) > 0 ? (Ln(), fi("div", uf, [
324
326
  (Ln(!0), fi(vh, null, yh(n == null ? void 0 : n.buttons, (m, _) => (Ln(), fi("div", {
@@ -333,7 +335,7 @@ const Th = Aa("modelComp", {
333
335
  ]))), 128))
334
336
  ])) : _h("", !0),
335
337
  rn("div", df, [
336
- Yn(af, {
338
+ Yn(of, {
337
339
  title: "筛选数据",
338
340
  width: 500,
339
341
  isVisible: i.value
@@ -348,7 +350,7 @@ const Th = Aa("modelComp", {
348
350
  class: "button-style",
349
351
  onClick: h[0] || (h[0] = (m) => i.value = !i.value)
350
352
  }, [
351
- Yn(_d(bd), { color: "var(--ssComponent-black)" })
353
+ Yn(vd(Ed), { color: "var(--ssComponent-black)" })
352
354
  ])
353
355
  ]),
354
356
  _: 1
@@ -375,7 +377,7 @@ const Th = Aa("modelComp", {
375
377
  ]);
376
378
  };
377
379
  }
378
- }, mf = /* @__PURE__ */ Ll(pf, [["__scopeId", "data-v-332fd0fe"]]);
380
+ }, mf = /* @__PURE__ */ Ll(pf, [["__scopeId", "data-v-fddc081c"]]);
379
381
  /**
380
382
  * @license
381
383
  * Copyright 2010-2025 Three.js Authors
@@ -27795,7 +27797,7 @@ const $y = Th(Cr), { systemPath: Ar } = is($y), Po = wt();
27795
27797
  function kx(r, e, t, n, i) {
27796
27798
  const s = async (d) => {
27797
27799
  try {
27798
- const f = await Ad({ url: d });
27800
+ const f = await Rd({ url: d });
27799
27801
  if (f.status !== 200)
27800
27802
  throw new Error(`下载失败: ${f.status}`);
27801
27803
  return f.data;
@@ -28102,7 +28104,7 @@ const Jy = Aa("formToTableComp", {
28102
28104
  this.selectString = r;
28103
28105
  }
28104
28106
  }
28105
- }), Zy = { class: "calculator-content" }, Qy = { class: "calculator-child" }, ex = { class: "calculator-child" }, tx = /* @__PURE__ */ vd({
28107
+ }), Zy = { class: "calculator-content" }, Qy = { class: "calculator-child" }, ex = { class: "calculator-child" }, tx = /* @__PURE__ */ yd({
28106
28108
  __name: "calculator",
28107
28109
  setup(r) {
28108
28110
  const e = wt(), t = wt();
@@ -28229,7 +28231,7 @@ const Jy = Aa("formToTableComp", {
28229
28231
  } catch {
28230
28232
  return !1;
28231
28233
  }
28232
- }, fh = (r, e) => sf(r, e), Zi = (r) => {
28234
+ }, fh = (r, e) => af(r, e), Zi = (r) => {
28233
28235
  let e = [];
28234
28236
  function t(i) {
28235
28237
  Array.isArray(i) && (i == null || i.forEach((s) => {
@@ -28736,7 +28738,7 @@ const Jy = Aa("formToTableComp", {
28736
28738
  compData: (p = (g = s.data.result) == null ? void 0 : g.map((S) => S.value.pageData)) == null ? void 0 : p.filter((S) => Object.values(S).length > 0)
28737
28739
  }), u;
28738
28740
  }, Gx = async (r) => {
28739
- await xd({
28741
+ await Md({
28740
28742
  id: r
28741
28743
  });
28742
28744
  }, Wx = async (r, e, t, n, i, s) => {
@@ -29042,7 +29044,7 @@ const Jy = Aa("formToTableComp", {
29042
29044
  });
29043
29045
  }
29044
29046
  i.value = pe;
29045
- let pt = (Ze = (et = Ed(He(i.value))) == null ? void 0 : et.filter((tt) => (tt == null ? void 0 : tt.type) !== "operate")) == null ? void 0 : Ze.map((tt, Pe) => ({
29047
+ let pt = (Ze = (et = Td(He(i.value))) == null ? void 0 : et.filter((tt) => (tt == null ? void 0 : tt.type) !== "operate")) == null ? void 0 : Ze.map((tt, Pe) => ({
29046
29048
  prop: (tt == null ? void 0 : tt.prop) ?? "a" + Pe,
29047
29049
  column: tt.label
29048
29050
  }));
@@ -29094,7 +29096,7 @@ const Jy = Aa("formToTableComp", {
29094
29096
  }, { immediate: !0, deep: !0 }), (se, ge) => {
29095
29097
  var N;
29096
29098
  return Ln(), fi("div", yx, [
29097
- (Ln(), Cl(Td, {
29099
+ (Ln(), Cl(wd, {
29098
29100
  columns: i.value,
29099
29101
  key: i.value,
29100
29102
  tableData: u.value,
@@ -29104,7 +29106,7 @@ const Jy = Aa("formToTableComp", {
29104
29106
  onDbClickRow: q,
29105
29107
  extraButton: C.value,
29106
29108
  onContentClick: re
29107
- }, yd({
29109
+ }, xd({
29108
29110
  headerButton: kn((Ge) => [
29109
29111
  Yn(mf, {
29110
29112
  compName: r.compName,