ss-component-new 1.2.96 → 1.2.98

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 (104) hide show
  1. package/dist/{MTLLoader-8qht74Q7.js → MTLLoader-CCS24gLm.js} +1 -1
  2. package/dist/{MTLLoader-BmycYKH6.cjs → MTLLoader-DlcJK6vT.cjs} +1 -1
  3. package/dist/{OrbitControls-Bzn7u6zE.cjs → OrbitControls-BLs9AYBY.cjs} +1 -1
  4. package/dist/{OrbitControls-BjJ79rTx.js → OrbitControls-KkyEKP5M.js} +1 -1
  5. package/dist/{animationData-0jCpD3l0.js → animationData-Btgynl98.js} +3 -3
  6. package/dist/{animationData-CAppfuqr.cjs → animationData-CCImpyvS.cjs} +1 -1
  7. package/dist/{array-Dg-eQLeS.cjs → array-CYnA_0YM.cjs} +1 -1
  8. package/dist/{array-Cn-xxeGh.js → array-jPdolPpm.js} +1 -1
  9. package/dist/{dataUtil-BFP1At6d.cjs → dataUtil-B4sGo38_.cjs} +1 -1
  10. package/dist/{dataUtil-C4lMM2nY.js → dataUtil-DQX9rTvE.js} +1 -1
  11. package/dist/{iconfont-m9s2eWSa.js → iconfont-B8CQB3CO.js} +2 -2
  12. package/dist/{iconfont-CYyOVK2s.cjs → iconfont-BXzhYF5A.cjs} +1 -1
  13. package/dist/{index-1l1PVuvD.js → index--JyaPE1g.js} +1 -1
  14. package/dist/{index-6Chvz-6H.cjs → index-1TxthiQw.cjs} +1 -1
  15. package/dist/{index-Bvvx3SbS.cjs → index-2wJBzGa-.cjs} +1 -1
  16. package/dist/{index-D-7WLmXf.cjs → index-6sDAnob5.cjs} +1 -1
  17. package/dist/{index-ykiHcw47.cjs → index-7ZZHuv4d.cjs} +1 -1
  18. package/dist/{index-CTh_Ncuz.cjs → index-B21qNg4A.cjs} +1 -1
  19. package/dist/{index-B01K_q9I.js → index-B4YN6ElV.js} +2 -2
  20. package/dist/{index-j16y0mCJ.cjs → index-B8XDW6Ly.cjs} +1 -1
  21. package/dist/{index-C0g2wZa2.js → index-BCNDy7LZ.js} +1 -1
  22. package/dist/{index-traVr_lk.cjs → index-BMSOMrGq.cjs} +1 -1
  23. package/dist/{index-BayQ6HRi.js → index-BXfKtvF-.js} +1 -1
  24. package/dist/{index-C8dRWVYa.cjs → index-B_WRw_3s.cjs} +1 -1
  25. package/dist/{index-ii79t_b4.cjs → index-BaXxrBtb.cjs} +1 -1
  26. package/dist/{index-B-gCmSbm.js → index-Bk8CKDbz.js} +7 -7
  27. package/dist/{index-i247pLsX.js → index-BkPXyAKD.js} +2 -2
  28. package/dist/{index-Df60duTb.js → index-BxZ-k8Ww.js} +1 -1
  29. package/dist/{index-C3pEzgj_.js → index-C9U9aO2Y.js} +5 -5
  30. package/dist/{index-DijDlKaY.js → index-CAAOZFSQ.js} +19 -19
  31. package/dist/{index-DMwTF1Hl.cjs → index-CGRb8BQx.cjs} +1 -1
  32. package/dist/{index-TGJkSdz2.js → index-CJOQxUog.js} +2 -2
  33. package/dist/{index-D98HbHeq.js → index-CLddyFrz.js} +3 -3
  34. package/dist/{index-DEX2MMzx.js → index-CSQJCfDf.js} +1 -1
  35. package/dist/{index-C3nNOYlY.js → index-CUAM_spJ.js} +3 -3
  36. package/dist/{index-FKHrqiVz.js → index-CV2JWX-7.js} +1 -1
  37. package/dist/{index-Bag6byEJ.cjs → index-CWJuJJYp.cjs} +1 -1
  38. package/dist/{index-DJSzUDVP.cjs → index-CYmbZuJq.cjs} +1 -1
  39. package/dist/{index-PUTWsBgd.cjs → index-C_rjTaFu.cjs} +1 -1
  40. package/dist/{index-D0NuMuh5.js → index-CcwTi2WJ.js} +1 -1
  41. package/dist/{index-CaaRetWn.js → index-Cmlus98m.js} +5 -5
  42. package/dist/{index-B_GqgLqE.cjs → index-CnBVZu9x.cjs} +1 -1
  43. package/dist/{index-DlnbkEM7.cjs → index-Cw3gRBT3.cjs} +1 -1
  44. package/dist/{index-BIvGwNqR.js → index-Cz7uQ_eD.js} +11 -11
  45. package/dist/{index-BnLOogVf.cjs → index-DMTBVsgY.cjs} +1 -1
  46. package/dist/{index-Bg0aEQlB.js → index-DRizRbU3.js} +1 -1
  47. package/dist/{index-CQm-J0AU.cjs → index-DRjN9mko.cjs} +1 -1
  48. package/dist/{index-VzkNVYhI.cjs → index-DThE5nRZ.cjs} +1 -1
  49. package/dist/{index-BgKE_tia.js → index-DXrBVvWh.js} +5 -5
  50. package/dist/{index-Dgpx-Hra.js → index-DZf4BLpR.js} +8 -8
  51. package/dist/{index-5hihfJxO.cjs → index-DcxUbnrO.cjs} +1 -1
  52. package/dist/{index-Bt57uQ3d.js → index-DdQjdsrn.js} +2 -2
  53. package/dist/{index-BdvqBTDW.js → index-Dggo7EaF.js} +2 -2
  54. package/dist/{index-DY8hmk1Q.cjs → index-DhufphmT.cjs} +1 -1
  55. package/dist/{index-D-7Puf0_.cjs → index-DvQRFx9T.cjs} +1 -1
  56. package/dist/{index-CSZdFHsD.cjs → index-DwFpQNpA.cjs} +1 -1
  57. package/dist/{index-3JUnbgIT.cjs → index-FnJX1FLR.cjs} +1 -1
  58. package/dist/{index-B0eWCQHx.js → index-JQ_SaJ0O.js} +2 -2
  59. package/dist/{index-BjjK_8u-.cjs → index-a6bC3A9D.cjs} +1 -1
  60. package/dist/{index-M8PsQPdI.js → index-blVMOcaF.js} +2 -2
  61. package/dist/{index-dme4eW3i.cjs → index-eaKFpHpQ.cjs} +1 -1
  62. package/dist/{index-MCoX9dAt.js → index-hbpC0O70.js} +5 -5
  63. package/dist/{index-B7d98_nQ.cjs → index-k579sq5M.cjs} +1 -1
  64. package/dist/{index-CO1At3Qt.cjs → index-nSLXu4eq.cjs} +1 -1
  65. package/dist/{index-CIu1uGjo.js → index-tUUpniUl.js} +1 -1
  66. package/dist/{index-oIwmn1U8.js → index-uWijQ8Cy.js} +4 -4
  67. package/dist/{index-DgnURGHM.cjs → index-yWC1EX2L.cjs} +1 -1
  68. package/dist/{index-D6G3wQov.js → index-zsvDrZxo.js} +2 -2
  69. package/dist/{index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-BweLdgQg.cjs → index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-BKdUW522.cjs} +1 -1
  70. package/dist/{index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-Bln4NQBz.js → index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-DPDuWtDv.js} +11 -11
  71. package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DFR9Kcwi.js → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CmofVWvn.js} +1 -1
  72. package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-C2CSvQmH.cjs → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-Y4oIHCVM.cjs} +1 -1
  73. package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-BNgp6mzJ.js → index.vue_vue_type_style_index_0_scoped_92477073_lang-D0zznqn6.js} +5 -5
  74. package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-CPnq8zy9.cjs → index.vue_vue_type_style_index_0_scoped_92477073_lang-YB8ip9Xh.cjs} +1 -1
  75. package/dist/{index.vue_vue_type_style_index_1_lang-DBVG4Icj.cjs → index.vue_vue_type_style_index_1_lang-B8_elAaU.cjs} +5 -5
  76. package/dist/{index.vue_vue_type_style_index_1_lang-Dk-QY9vy.cjs → index.vue_vue_type_style_index_1_lang-BB0IwRdP.cjs} +1 -1
  77. package/dist/{index.vue_vue_type_style_index_1_lang-D0fEUDml.js → index.vue_vue_type_style_index_1_lang-CT8c_mLo.js} +4 -4
  78. package/dist/{index.vue_vue_type_style_index_1_lang-Bjoq8geZ.js → index.vue_vue_type_style_index_1_lang-Cg1p_3ne.js} +159 -163
  79. package/dist/{main-Da2N7L0r.cjs → main-BOuiQUiL.cjs} +1 -1
  80. package/dist/{main-Dc3xXHlm.js → main-CbZLyXuF.js} +4 -4
  81. package/dist/ss-component.cjs +1 -1
  82. package/dist/ss-component.css +1 -1
  83. package/dist/ss-component.js +10 -10
  84. package/dist/ss-component2.cjs +1 -1
  85. package/dist/ss-component2.js +11 -11
  86. package/dist/{threeModel-Db0eOtGe.js → threeModel-BJ6MrCa-.js} +4 -4
  87. package/dist/{threeModel-B5m5e2r3.cjs → threeModel-i87HG3Ck.cjs} +1 -1
  88. package/dist/{threePreview-CIuFqz2p.cjs → threePreview-B3v9SadK.cjs} +1 -1
  89. package/dist/{threePreview-Bd5BpbCA.js → threePreview-D3wObBZq.js} +309 -305
  90. package/dist/{threeSceneView-mXWAjDOa.js → threeSceneView-DDpjEIgl.js} +11 -11
  91. package/dist/{threeSceneView-ClZqVdCB.cjs → threeSceneView-DQpyKixe.cjs} +2 -2
  92. package/dist/{threeSceneViewForCPMPIP-DAYVqOg4.js → threeSceneViewForCPMPIP-DV_aOUU5.js} +202 -198
  93. package/dist/threeSceneViewForCPMPIP-iaIkud0j.cjs +5 -0
  94. package/dist/{threeTrackPathView-BypIKggF.js → threeTrackPathView-D6aAG4g8.js} +375 -359
  95. package/dist/threeTrackPathView-nPb7Tgdd.cjs +370 -0
  96. package/dist/{threeViewerHost-CG9MEd0B.cjs → threeViewerHost-I50ZyvKF.cjs} +2 -2
  97. package/dist/{threeViewerHost-D8aKuUdC.js → threeViewerHost-XR9tepbY.js} +3 -3
  98. package/dist/{urdfTree-CXBSDiJj.cjs → urdfTree-B19ebCHj.cjs} +1 -1
  99. package/dist/{urdfTree-DxLmsFUL.js → urdfTree-CjxhpnRl.js} +1 -1
  100. package/dist/{workpieceTreePanel-C0gVhVe8.cjs → workpieceTreePanel-0L7tkycK.cjs} +1 -1
  101. package/dist/{workpieceTreePanel-u_fWFvEp.js → workpieceTreePanel-DAnMGvlX.js} +5 -5
  102. package/package.json +1 -1
  103. package/dist/threeSceneViewForCPMPIP-Cs2p48GK.cjs +0 -5
  104. package/dist/threeTrackPathView-CC7mxoKt.cjs +0 -370
@@ -1,9 +1,9 @@
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 g, openBlock as u, createVNode as t, withCtx as n, withDirectives as w, createElementVNode as p, createTextVNode as f } from "vue";
2
- import { S as x } from "./index-BdvqBTDW.js";
3
- import { s as B } from "./index-B-gCmSbm.js";
4
- import { s as F } from "./index-Bg0aEQlB.js";
5
- import { c as y } from "./index-MCoX9dAt.js";
6
- import { u as S } from "./index.vue_vue_type_style_index_1_lang-Bjoq8geZ.js";
2
+ import { S as x } from "./index-Dggo7EaF.js";
3
+ import { s as B } from "./index-Bk8CKDbz.js";
4
+ import { s as F } from "./index-DRizRbU3.js";
5
+ import { c as y } from "./index-hbpC0O70.js";
6
+ import { u as S } from "./index.vue_vue_type_style_index_1_lang-Cg1p_3ne.js";
7
7
  import { p as I, s as N } from "./index-BUYYl2Pc.js";
8
8
  import { _ as R } from "./_plugin-vue_export-helper-CHgC5LLL.js";
9
9
  const E = { class: "menu-module" }, M = {
@@ -1,16 +1,16 @@
1
- import { b as Mo, a as Ro, f as Lo, g as Fo, u as jo, s as Ko } from "./index-B-gCmSbm.js";
1
+ import { b as Mo, a as Ro, f as Lo, g as Fo, u as jo, s as Ko } from "./index-Bk8CKDbz.js";
2
2
  import { computed as Ht, ref as ue, watch as mt, onUnmounted as Uo, resolveComponent as Rt, createElementBlock as tt, openBlock as Oe, createVNode as De, createBlock as At, createCommentVNode as fa, withCtx as Le, createElementVNode as le, Fragment as Ut, renderList as Yt, toDisplayString as vt, nextTick as Ga, createTextVNode as Et, defineComponent as ya, resolveDynamicComponent as hn, onMounted as Mn, unref as $t, reactive as ja, renderSlot as An, createSlots as No, mergeProps as ur, normalizeStyle as Pn, withModifiers as Kn, getCurrentInstance as Wo, inject as yl, shallowRef as Vo, toRef as Ho, onBeforeMount as cr, watchEffect as qo, onBeforeUnmount as dr, normalizeClass as ml, getCurrentScope as Go, onScopeDispose as Xo, provide as bl, toRefs as kl, withDirectives as Yo, vShow as Jo } from "vue";
3
3
  import { cc as Qo, k as ii, cd as Zo, bS as es, bT as ts, s as Xt, p as qt, u as Mi, c as v, b as Ai, E as Ft, g as va, f as Xi, bK as Bn, bI as Vn, d as vn, bJ as Yi, e as fr, cb as as } from "./index-BUYYl2Pc.js";
4
- import { u as ns, c as sa, a as ll, e as pr, E as hr, f as vr, d as is, b as ls, i as yi } from "./index-MCoX9dAt.js";
5
- import { a as Rn, u as Hn, i as Ri, ax as rs, ay as gr, an as Ji, az as Oi, aA as yr, j as aa, aB as rl, E as Xa, aC as Qi, aD as ha, aE as Nn, aF as on, aG as In, aH as Ni, l as os, aI as ss, aJ as us, aK as cs, aL as ds, aM as fs, aN as ps, aO as hs, aP as vs } from "./index.vue_vue_type_style_index_1_lang-Bjoq8geZ.js";
6
- import { s as pa, _ as xl } from "./index-Bg0aEQlB.js";
7
- import { a as gs, T as ys } from "./threeViewerHost-D8aKuUdC.js";
8
- import { aP as ms, aQ as mi, g as bs } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DFR9Kcwi.js";
4
+ import { u as ns, c as sa, a as ll, e as pr, E as hr, f as vr, d as is, b as ls, i as yi } from "./index-hbpC0O70.js";
5
+ import { a as Rn, u as Hn, i as Ri, ax as rs, ay as gr, an as Ji, az as Oi, aA as yr, j as aa, aB as rl, E as Xa, aC as Qi, aD as ha, aE as Nn, aF as on, aG as In, aH as Ni, l as os, aI as ss, aJ as us, aK as cs, aL as ds, aM as fs, aN as ps, aO as hs, aP as vs } from "./index.vue_vue_type_style_index_1_lang-Cg1p_3ne.js";
6
+ import { s as pa, _ as xl } from "./index-DRizRbU3.js";
7
+ import { a as gs, T as ys } from "./threeViewerHost-XR9tepbY.js";
8
+ import { aP as ms, aQ as mi, g as bs } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CmofVWvn.js";
9
9
  import { _ as Jt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
10
10
  import { i as wl } from "./isString-BATKat46.js";
11
- import { a as ks, s as xs } from "./index-D98HbHeq.js";
11
+ import { a as ks, s as xs } from "./index-CLddyFrz.js";
12
12
  import mr from "./index-rlStojTL.js";
13
- import { s as ws } from "./index-1l1PVuvD.js";
13
+ import { s as ws } from "./index--JyaPE1g.js";
14
14
  var _s = /\s/;
15
15
  function Cs(a) {
16
16
  for (var r = a.length; r-- && _s.test(a.charAt(r)); )
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),V=require("./index-6Chvz-6H.cjs"),h=require("./index.vue_vue_type_style_index_1_lang-DBVG4Icj.cjs"),_=require("./index-C8qRkCgn.cjs"),B=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),w={class:"routerPage-wrapper"},N={class:"role-dialog-header"},b=["title"],D={title:"更多"},y={class:"dialog-footer"},S=e.defineComponent({__name:"index",setup(T){const g=h.useMenuState(),{menus:C,activeMenuPath:k}=_.storeToRefs(g),o=e.reactive({...h.State$1}),{treeRef:x}=h.State$1;e.onMounted(async()=>{await o.getActivePageStructureId(k.value)});const u=i=>i==null?void 0:i.map(t=>{var c,s,d;return t!=null&&t.childMenus&&((c=t==null?void 0:t.childMenus)==null?void 0:c.length)>0?{...t,childMenus:[],children:u(t==null?void 0:t.childMenus)}:{...t,childMenus:[],path:(s=t==null?void 0:t.path)!=null&&s.startsWith("/")?(d=t==null?void 0:t.path)==null?void 0:d.substring(1):t.path}});return e.watch(()=>C.value,i=>{e.nextTick(()=>{const t=_.cloneDeep(i),c=u(t);o.tempSysMenus=o.handleAddSysMenusButtons(c,"系统维护",["查看"]),o.menuData=o.addButtonsToTree(c,o.structureButtons)})},{immediate:!0,deep:!0}),(i,t)=>{const c=e.resolveComponent("el-checkbox"),s=e.resolveComponent("el-checkbox-group"),d=e.resolveComponent("svg-icon"),v=e.resolveComponent("el-popover"),f=e.resolveComponent("el-tree"),p=e.resolveComponent("el-button"),m=e.resolveComponent("el-dialog");return e.openBlock(),e.createElementBlock("div",w,[e.createVNode(V.ssTable,{index:o.structureId,compName:o.compName,itemData:o.pageDataFiltered,changedContent:o.changedRow,onChange:o.handleItemDataChange,onOnButtonClick:o.clickRowButton},null,8,["index","compName","itemData","changedContent","onChange","onOnButtonClick"]),e.createVNode(m,{modelValue:o.authorizeDialog.show,"onUpdate:modelValue":t[0]||(t[0]=a=>o.authorizeDialog.show=a),width:o.authorizeDialog.width,draggable:o.authorizeDialog.draggable,"before-close":o.closeAuthorizeDialog,class:"role-dialog"},{header:e.withCtx(()=>[e.createElementVNode("div",N,e.toDisplayString(o.authorizeDialog.title),1)]),footer:e.withCtx(()=>[e.createElementVNode("div",y,[e.createVNode(p,{id:"themeBorderButton",onClick:o.closeAuthorizeDialog},{default:e.withCtx(()=>t[1]||(t[1]=[e.createTextVNode("取消")])),_:1,__:[1]},8,["onClick"]),e.createVNode(p,{id:"themeButton",onClick:o.clickSubmitAuthority},{default:e.withCtx(()=>t[2]||(t[2]=[e.createTextVNode(" 确认 ")])),_:1,__:[2]},8,["onClick"])])]),default:e.withCtx(()=>[e.createVNode(f,{class:"role-tree",ref_key:"treeRef",ref:x,data:o.menuData,"expand-on-click-node":!1,"node-key":"path",props:{children:"children",label:"title",path:"path"},"highlight-current":"","default-expand-all":"","check-on-click-leaf":!1,"show-checkbox":"",onCheckChange:o.handleNodeCheckChange,style:{height:"500px","overflow-y":"auto"}},{default:e.withCtx(({node:a,data:n})=>[e.createElementVNode("span",{class:"node-text",title:a==null?void 0:a.label},e.toDisplayString(a==null?void 0:a.label),9,b),e.createVNode(s,{modelValue:n.checkedButtons,"onUpdate:modelValue":l=>n.checkedButtons=l,onChange:l=>o.handleNodeBtnChange(l,n),class:"node-buttons"},{default:e.withCtx(()=>{var l;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((l=n.renderButtons)==null?void 0:l.slice(0,2),r=>(e.openBlock(),e.createBlock(c,{key:r.title,label:r.title,value:r.path},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(r.title),1)]),_:2},1032,["label","value"]))),128))]}),_:2},1032,["modelValue","onUpdate:modelValue","onChange"]),e.createVNode(v,{title:a==null?void 0:a.label,placement:"right-start"},{reference:e.withCtx(()=>{var l;return[e.createElementVNode("span",D,[e.withDirectives(e.createVNode(d,{name:"treeMore",class:"node-trigger"},null,512),[[e.vShow,((l=n.renderButtons)==null?void 0:l.length)>0]])])]}),default:e.withCtx(()=>[e.createVNode(s,{modelValue:n.checkedButtons,"onUpdate:modelValue":l=>n.checkedButtons=l,onChange:l=>o.handleNodeBtnChange(l,n),class:"node-buttons"},{default:e.withCtx(()=>{var l;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((l=n.renderButtons)==null?void 0:l.slice(2),r=>(e.openBlock(),e.createBlock(c,{key:r.title,label:r.title,value:r.path},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(r.title),1)]),_:2},1032,["label","value"]))),128))]}),_:2},1032,["modelValue","onUpdate:modelValue","onChange"])]),_:2},1032,["title"])]),_:1},8,["data","onCheckChange"])]),_:1},8,["modelValue","width","draggable","before-close"])])}}}),M=B._export_sfc(S,[["__scopeId","data-v-78a46dd8"]]);exports.default=M;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),V=require("./index-1TxthiQw.cjs"),h=require("./index.vue_vue_type_style_index_1_lang-B8_elAaU.cjs"),_=require("./index-C8qRkCgn.cjs"),B=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),w={class:"routerPage-wrapper"},N={class:"role-dialog-header"},b=["title"],D={title:"更多"},y={class:"dialog-footer"},S=e.defineComponent({__name:"index",setup(T){const g=h.useMenuState(),{menus:C,activeMenuPath:k}=_.storeToRefs(g),o=e.reactive({...h.State$1}),{treeRef:x}=h.State$1;e.onMounted(async()=>{await o.getActivePageStructureId(k.value)});const u=i=>i==null?void 0:i.map(t=>{var c,s,d;return t!=null&&t.childMenus&&((c=t==null?void 0:t.childMenus)==null?void 0:c.length)>0?{...t,childMenus:[],children:u(t==null?void 0:t.childMenus)}:{...t,childMenus:[],path:(s=t==null?void 0:t.path)!=null&&s.startsWith("/")?(d=t==null?void 0:t.path)==null?void 0:d.substring(1):t.path}});return e.watch(()=>C.value,i=>{e.nextTick(()=>{const t=_.cloneDeep(i),c=u(t);o.tempSysMenus=o.handleAddSysMenusButtons(c,"系统维护",["查看"]),o.menuData=o.addButtonsToTree(c,o.structureButtons)})},{immediate:!0,deep:!0}),(i,t)=>{const c=e.resolveComponent("el-checkbox"),s=e.resolveComponent("el-checkbox-group"),d=e.resolveComponent("svg-icon"),v=e.resolveComponent("el-popover"),f=e.resolveComponent("el-tree"),p=e.resolveComponent("el-button"),m=e.resolveComponent("el-dialog");return e.openBlock(),e.createElementBlock("div",w,[e.createVNode(V.ssTable,{index:o.structureId,compName:o.compName,itemData:o.pageDataFiltered,changedContent:o.changedRow,onChange:o.handleItemDataChange,onOnButtonClick:o.clickRowButton},null,8,["index","compName","itemData","changedContent","onChange","onOnButtonClick"]),e.createVNode(m,{modelValue:o.authorizeDialog.show,"onUpdate:modelValue":t[0]||(t[0]=a=>o.authorizeDialog.show=a),width:o.authorizeDialog.width,draggable:o.authorizeDialog.draggable,"before-close":o.closeAuthorizeDialog,class:"role-dialog"},{header:e.withCtx(()=>[e.createElementVNode("div",N,e.toDisplayString(o.authorizeDialog.title),1)]),footer:e.withCtx(()=>[e.createElementVNode("div",y,[e.createVNode(p,{id:"themeBorderButton",onClick:o.closeAuthorizeDialog},{default:e.withCtx(()=>t[1]||(t[1]=[e.createTextVNode("取消")])),_:1,__:[1]},8,["onClick"]),e.createVNode(p,{id:"themeButton",onClick:o.clickSubmitAuthority},{default:e.withCtx(()=>t[2]||(t[2]=[e.createTextVNode(" 确认 ")])),_:1,__:[2]},8,["onClick"])])]),default:e.withCtx(()=>[e.createVNode(f,{class:"role-tree",ref_key:"treeRef",ref:x,data:o.menuData,"expand-on-click-node":!1,"node-key":"path",props:{children:"children",label:"title",path:"path"},"highlight-current":"","default-expand-all":"","check-on-click-leaf":!1,"show-checkbox":"",onCheckChange:o.handleNodeCheckChange,style:{height:"500px","overflow-y":"auto"}},{default:e.withCtx(({node:a,data:n})=>[e.createElementVNode("span",{class:"node-text",title:a==null?void 0:a.label},e.toDisplayString(a==null?void 0:a.label),9,b),e.createVNode(s,{modelValue:n.checkedButtons,"onUpdate:modelValue":l=>n.checkedButtons=l,onChange:l=>o.handleNodeBtnChange(l,n),class:"node-buttons"},{default:e.withCtx(()=>{var l;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((l=n.renderButtons)==null?void 0:l.slice(0,2),r=>(e.openBlock(),e.createBlock(c,{key:r.title,label:r.title,value:r.path},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(r.title),1)]),_:2},1032,["label","value"]))),128))]}),_:2},1032,["modelValue","onUpdate:modelValue","onChange"]),e.createVNode(v,{title:a==null?void 0:a.label,placement:"right-start"},{reference:e.withCtx(()=>{var l;return[e.createElementVNode("span",D,[e.withDirectives(e.createVNode(d,{name:"treeMore",class:"node-trigger"},null,512),[[e.vShow,((l=n.renderButtons)==null?void 0:l.length)>0]])])]}),default:e.withCtx(()=>[e.createVNode(s,{modelValue:n.checkedButtons,"onUpdate:modelValue":l=>n.checkedButtons=l,onChange:l=>o.handleNodeBtnChange(l,n),class:"node-buttons"},{default:e.withCtx(()=>{var l;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((l=n.renderButtons)==null?void 0:l.slice(2),r=>(e.openBlock(),e.createBlock(c,{key:r.title,label:r.title,value:r.path},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(r.title),1)]),_:2},1032,["label","value"]))),128))]}),_:2},1032,["modelValue","onUpdate:modelValue","onChange"])]),_:2},1032,["title"])]),_:1},8,["data","onCheckChange"])]),_:1},8,["modelValue","width","draggable","before-close"])])}}}),M=B._export_sfc(S,[["__scopeId","data-v-78a46dd8"]]);exports.default=M;
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as y, ref as C, onMounted as _, createElementBlock as c, openBlock as g, createVNode as v } from "vue";
2
2
  import { p as h, s as k, c as m, g as x } from "./index-BUYYl2Pc.js";
3
- import { u as M } from "./index.vue_vue_type_style_index_1_lang-Bjoq8geZ.js";
4
- import { s as D } from "./index-B-gCmSbm.js";
3
+ import { u as M } from "./index.vue_vue_type_style_index_1_lang-Cg1p_3ne.js";
4
+ import { s as D } from "./index-Bk8CKDbz.js";
5
5
  import { a as T, d as S, f as w } from "./index-DV9P2GJQ.js";
6
6
  import { _ as B } from "./_plugin-vue_export-helper-CHgC5LLL.js";
7
7
  const N = { class: "menu-content" }, E = /* @__PURE__ */ y({
@@ -1,7 +1,7 @@
1
1
  import { ref as i, computed as j, reactive as ie, nextTick as B, watch as ye } from "vue";
2
- import { u as be, a as he, ao as Ce } from "./index.vue_vue_type_style_index_1_lang-Bjoq8geZ.js";
2
+ import { u as be, a as he, ao as Ce } from "./index.vue_vue_type_style_index_1_lang-Cg1p_3ne.js";
3
3
  import { c as J, s as Ie, g as L, bP as ke, E as S, p as U, e as ae, f as oe, bL as Te, d as Me } from "./index-BUYYl2Pc.js";
4
- import { u as Se } from "./index-B-gCmSbm.js";
4
+ import { u as Se } from "./index-Bk8CKDbz.js";
5
5
  const F = he(U), ne = Se(U), C = be(U), { menus: ue, configMenu: R, activeMenuPath: $, cacheStructures: K } = Ie(C), q = i(!1), se = j(() => {
6
6
  var e, t;
7
7
  return [
@@ -1 +1 @@
1
- "use strict";const t=require("vue");require("./index.vue_vue_type_style_index_1_lang-DBVG4Icj.cjs");const r=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),f=t.defineComponent({__name:"index",props:{modelValue:String,disabled:{type:Boolean,default:!1},content:{type:Array,default:()=>[]},isEdit:{type:Boolean,default:!0},loading:{type:Boolean,default:!1},emptyColor:{type:Boolean,default:!1},buttonType:{type:String,default:"primary"}},emits:["clickTrigger"],setup(o,{emit:i}){const e=o,d=t.ref(e.modelValue),a=i,s=l=>{a("clickTrigger",l)};return(l,n)=>{const u=t.resolveComponent("el-button");return t.openBlock(),t.createBlock(u,{type:e==null?void 0:e.buttonType,id:e!=null&&e.emptyColor?"":"themeButton",onClick:n[0]||(n[0]=c=>s(d.value)),loading:e==null?void 0:e.loading,disabled:e==null?void 0:e.disabled},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(d.value),1)]),_:1},8,["type","id","loading","disabled"])}}}),y={class:"dialog-title"},g={__name:"index",props:{title:{type:String,default:""},dialogWidth:{type:[Number,String],default:600},visible:{type:Boolean,default:!1},fullScreen:{type:Boolean,default:!1},dialogHeight:{type:Number,default:600},showClose:{type:Boolean,default:!0},closeOnClickModal:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!0},modalClass:{type:String,default:""},alignCenter:{type:Boolean,default:!1},appendToBody:{type:Boolean,default:!0}},emits:["beforeDestroy"],setup(o,{emit:i}){const e=o,d=i,a=t.ref(!1),s=()=>{d("beforeDestroy")};return t.watch(()=>e==null?void 0:e.visible,()=>{a.value=e==null?void 0:e.visible},{deep:!0,immediate:!0}),(l,n)=>{const u=t.resolveComponent("el-dialog");return t.openBlock(),t.createBlock(u,{modelValue:a.value,"onUpdate:modelValue":n[0]||(n[0]=c=>a.value=c),width:e==null?void 0:e.dialogWidth,"before-close":s,draggable:"",style:t.normalizeStyle({height:e==null?void 0:e.dialogHeight}),fullscreen:e==null?void 0:e.fullScreen,"destroy-on-close":!0,"show-close":e==null?void 0:e.showClose,"close-on-click-modal":e==null?void 0:e.closeOnClickModal,"modal-class":o.modalClass,"close-on-press-escape":e==null?void 0:e.closeOnPressEscape,"align-center":e==null?void 0:e.alignCenter,"append-to-body":o.appendToBody},{default:t.withCtx(()=>[t.renderSlot(l.$slots,"default",{},void 0,!0)]),header:t.withCtx(()=>[t.createElementVNode("div",y,t.toDisplayString(e==null?void 0:e.title),1),t.renderSlot(l.$slots,"header",{},void 0,!0)]),footer:t.withCtx(()=>[t.renderSlot(l.$slots,"footer",{},void 0,!0)]),_:3},8,["modelValue","width","style","fullscreen","show-close","close-on-click-modal","modal-class","close-on-press-escape","align-center","append-to-body"])}}},m=r._export_sfc(g,[["__scopeId","data-v-babbda23"]]);exports._sfc_main=f;exports.ssDialog=m;
1
+ "use strict";const t=require("vue");require("./index.vue_vue_type_style_index_1_lang-B8_elAaU.cjs");const r=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),f=t.defineComponent({__name:"index",props:{modelValue:String,disabled:{type:Boolean,default:!1},content:{type:Array,default:()=>[]},isEdit:{type:Boolean,default:!0},loading:{type:Boolean,default:!1},emptyColor:{type:Boolean,default:!1},buttonType:{type:String,default:"primary"}},emits:["clickTrigger"],setup(o,{emit:i}){const e=o,d=t.ref(e.modelValue),a=i,s=l=>{a("clickTrigger",l)};return(l,n)=>{const u=t.resolveComponent("el-button");return t.openBlock(),t.createBlock(u,{type:e==null?void 0:e.buttonType,id:e!=null&&e.emptyColor?"":"themeButton",onClick:n[0]||(n[0]=c=>s(d.value)),loading:e==null?void 0:e.loading,disabled:e==null?void 0:e.disabled},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(d.value),1)]),_:1},8,["type","id","loading","disabled"])}}}),y={class:"dialog-title"},g={__name:"index",props:{title:{type:String,default:""},dialogWidth:{type:[Number,String],default:600},visible:{type:Boolean,default:!1},fullScreen:{type:Boolean,default:!1},dialogHeight:{type:Number,default:600},showClose:{type:Boolean,default:!0},closeOnClickModal:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!0},modalClass:{type:String,default:""},alignCenter:{type:Boolean,default:!1},appendToBody:{type:Boolean,default:!0}},emits:["beforeDestroy"],setup(o,{emit:i}){const e=o,d=i,a=t.ref(!1),s=()=>{d("beforeDestroy")};return t.watch(()=>e==null?void 0:e.visible,()=>{a.value=e==null?void 0:e.visible},{deep:!0,immediate:!0}),(l,n)=>{const u=t.resolveComponent("el-dialog");return t.openBlock(),t.createBlock(u,{modelValue:a.value,"onUpdate:modelValue":n[0]||(n[0]=c=>a.value=c),width:e==null?void 0:e.dialogWidth,"before-close":s,draggable:"",style:t.normalizeStyle({height:e==null?void 0:e.dialogHeight}),fullscreen:e==null?void 0:e.fullScreen,"destroy-on-close":!0,"show-close":e==null?void 0:e.showClose,"close-on-click-modal":e==null?void 0:e.closeOnClickModal,"modal-class":o.modalClass,"close-on-press-escape":e==null?void 0:e.closeOnPressEscape,"align-center":e==null?void 0:e.alignCenter,"append-to-body":o.appendToBody},{default:t.withCtx(()=>[t.renderSlot(l.$slots,"default",{},void 0,!0)]),header:t.withCtx(()=>[t.createElementVNode("div",y,t.toDisplayString(e==null?void 0:e.title),1),t.renderSlot(l.$slots,"header",{},void 0,!0)]),footer:t.withCtx(()=>[t.renderSlot(l.$slots,"footer",{},void 0,!0)]),_:3},8,["modelValue","width","style","fullscreen","show-close","close-on-click-modal","modal-class","close-on-press-escape","align-center","append-to-body"])}}},m=r._export_sfc(g,[["__scopeId","data-v-babbda23"]]);exports._sfc_main=f;exports.ssDialog=m;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("vue"),_=require("./index-j16y0mCJ.cjs"),r=require("./index-C8qRkCgn.cjs"),f=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),m=(t,l,a)=>{var n,p,u,g;let e=l;e.title.text=(a==null?void 0:a.chartName)??"",e.xAxis.data=(n=r.cloneDeep(t))==null?void 0:n.map(i=>i.x),e.legend.data=(u=(p=r.cloneDeep(t))==null?void 0:p[0])!=null&&u.y?Object.keys(r.cloneDeep(t)[0].y):[];let o=[];return((g=e.legend.data)==null?void 0:g.length)>0&&r.cloneDeep(e.legend.data).forEach(i=>{var x;const y=(x=r.cloneDeep(t))==null?void 0:x.map(c=>{var h;return(h=c==null?void 0:c.y)==null?void 0:h[i]});o.push({name:i,type:"line",data:y})}),e.series=o,e},d=[{key:"折线图",value:{title:{text:"",left:"center",top:25,textStyle:{color:"#333",fontSize:18,fontWeight:"bold"}},tooltip:{trigger:"axis"},legend:{data:[]},grid:{left:"6%",right:"4%",bottom:"3%",containLabel:!0},xAxis:{type:"category",axisLabel:{interval:0},data:[]},yAxis:{type:"value"},series:[]}}],C={class:"eCharts"},D={__name:"index",props:{eChartContents:Array},setup(t){const l=t,a=s.ref({});return s.onMounted(()=>{var o;const e=l==null?void 0:l.eChartContents;a.value=m(r.cloneDeep(e==null?void 0:e.compData),(o=d==null?void 0:d.find(n=>(n==null?void 0:n.key)===(e==null?void 0:e.name)))==null?void 0:o.value,e==null?void 0:e.extraContent)}),(e,o)=>(s.openBlock(),s.createElementBlock("div",C,[s.createVNode(_.ssChart,{optionContents:a.value},null,8,["optionContents"])]))}},b=f._export_sfc(D,[["__scopeId","data-v-0440fac3"]]);exports.default=b;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("vue"),_=require("./index-B8XDW6Ly.cjs"),r=require("./index-C8qRkCgn.cjs"),f=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),m=(t,l,a)=>{var n,p,u,g;let e=l;e.title.text=(a==null?void 0:a.chartName)??"",e.xAxis.data=(n=r.cloneDeep(t))==null?void 0:n.map(i=>i.x),e.legend.data=(u=(p=r.cloneDeep(t))==null?void 0:p[0])!=null&&u.y?Object.keys(r.cloneDeep(t)[0].y):[];let o=[];return((g=e.legend.data)==null?void 0:g.length)>0&&r.cloneDeep(e.legend.data).forEach(i=>{var x;const y=(x=r.cloneDeep(t))==null?void 0:x.map(c=>{var h;return(h=c==null?void 0:c.y)==null?void 0:h[i]});o.push({name:i,type:"line",data:y})}),e.series=o,e},d=[{key:"折线图",value:{title:{text:"",left:"center",top:25,textStyle:{color:"#333",fontSize:18,fontWeight:"bold"}},tooltip:{trigger:"axis"},legend:{data:[]},grid:{left:"6%",right:"4%",bottom:"3%",containLabel:!0},xAxis:{type:"category",axisLabel:{interval:0},data:[]},yAxis:{type:"value"},series:[]}}],C={class:"eCharts"},D={__name:"index",props:{eChartContents:Array},setup(t){const l=t,a=s.ref({});return s.onMounted(()=>{var o;const e=l==null?void 0:l.eChartContents;a.value=m(r.cloneDeep(e==null?void 0:e.compData),(o=d==null?void 0:d.find(n=>(n==null?void 0:n.key)===(e==null?void 0:e.name)))==null?void 0:o.value,e==null?void 0:e.extraContent)}),(e,o)=>(s.openBlock(),s.createElementBlock("div",C,[s.createVNode(_.ssChart,{optionContents:a.value},null,8,["optionContents"])]))}},b=f._export_sfc(D,[["__scopeId","data-v-0440fac3"]]);exports.default=b;
@@ -1 +1 @@
1
- "use strict";const M=require("vue"),n=require("./index-C8qRkCgn.cjs"),T=require("./index.vue_vue_type_style_index_1_lang-DBVG4Icj.cjs"),k=M.ref([]),q=M.computed(()=>[{key:"extraButton",contents:[{label:"清空",background:"#f56c6c",color:"#ffffff"}]},{key:"rowButton",contents:[]},{key:"header",contents:[{label:"账号",prop:"account",filterable:!0},{label:"姓名",prop:"userName",filterable:!0},{label:"时间",prop:"timeStamp",sortable:!0}]},{key:"tableContents",contents:k.value}]),A=(l,s,o)=>{l==="清空"&&T.ElMessageBox.confirm("是否确认清空所有日志","",{confirmButtonText:"确认",cancelButtonText:"取消",type:"warning"}).then(async()=>{var r,e;try{const a=await n.batchDeleteInsofDataApi({ids:s});((r=a==null?void 0:a.data)==null?void 0:r.code)===200?(n.ElMessage.success("清空日志成功"),o(!0)):(n.ElMessage.error(((e=a==null?void 0:a.data)==null?void 0:e.message)??"清空请求响应失败"),o(!1))}catch{n.ElMessage.error("清空操作处理失败"),o(!1)}}).catch(()=>{o(!1)})},K=async(l="login")=>{var s,o,r;try{const e=await n.getInsofDataApi({key:{systemKey:sessionStorage.getItem("systemKey"),pageKey:"/log",type:"system",logType:l}});if(((s=e==null?void 0:e.data)==null?void 0:s.code)===200)return(r=(o=e==null?void 0:e.data)==null?void 0:o.result)==null?void 0:r.map(a=>{var t,u,c,d,y,p,g,f,v,b,_,S,h,x,B,D,w,E;return l==="login"?{...(u=(t=a==null?void 0:a.value)==null?void 0:t.detail)==null?void 0:u.data,timeStamp:(c=a==null?void 0:a.value)==null?void 0:c.timeStamp,id:a==null?void 0:a.id,type:(y=(d=a==null?void 0:a.value)==null?void 0:d.detail)==null?void 0:y.type}:{timeStamp:(p=a==null?void 0:a.value)==null?void 0:p.timeStamp,account:(g=a==null?void 0:a.value)==null?void 0:g.account,userName:(f=a==null?void 0:a.value)==null?void 0:f.userName,module:typeof((v=a==null?void 0:a.value)==null?void 0:v.module)=="string"?(_=(b=a==null?void 0:a.value)==null?void 0:b.module)!=null&&_.startsWith("/")?(h=(S=a==null?void 0:a.value)==null?void 0:S.module)==null?void 0:h.substring(1):(x=a==null?void 0:a.value)==null?void 0:x.module:(D=(B=a==null?void 0:a.value)==null?void 0:B.module)==null?void 0:D.pageKey,id:a==null?void 0:a.id,type:(E=(w=a==null?void 0:a.value)==null?void 0:w.detail)==null?void 0:E.type}});n.ElMessage.error("获取数据响应失败")}catch(e){throw new Error("获取数据失败"+e)}},I=Object.freeze(Object.defineProperty({__proto__:null,clickButton:A,getLogTableDataAsync:K,pageData:q,tableData:k},Symbol.toStringTag,{value:"Module"}));exports.State=I;exports.clickButton=A;exports.getLogTableDataAsync=K;
1
+ "use strict";const M=require("vue"),n=require("./index-C8qRkCgn.cjs"),T=require("./index.vue_vue_type_style_index_1_lang-B8_elAaU.cjs"),k=M.ref([]),q=M.computed(()=>[{key:"extraButton",contents:[{label:"清空",background:"#f56c6c",color:"#ffffff"}]},{key:"rowButton",contents:[]},{key:"header",contents:[{label:"账号",prop:"account",filterable:!0},{label:"姓名",prop:"userName",filterable:!0},{label:"时间",prop:"timeStamp",sortable:!0}]},{key:"tableContents",contents:k.value}]),A=(l,s,o)=>{l==="清空"&&T.ElMessageBox.confirm("是否确认清空所有日志","",{confirmButtonText:"确认",cancelButtonText:"取消",type:"warning"}).then(async()=>{var r,e;try{const a=await n.batchDeleteInsofDataApi({ids:s});((r=a==null?void 0:a.data)==null?void 0:r.code)===200?(n.ElMessage.success("清空日志成功"),o(!0)):(n.ElMessage.error(((e=a==null?void 0:a.data)==null?void 0:e.message)??"清空请求响应失败"),o(!1))}catch{n.ElMessage.error("清空操作处理失败"),o(!1)}}).catch(()=>{o(!1)})},K=async(l="login")=>{var s,o,r;try{const e=await n.getInsofDataApi({key:{systemKey:sessionStorage.getItem("systemKey"),pageKey:"/log",type:"system",logType:l}});if(((s=e==null?void 0:e.data)==null?void 0:s.code)===200)return(r=(o=e==null?void 0:e.data)==null?void 0:o.result)==null?void 0:r.map(a=>{var t,u,c,d,y,p,g,f,v,b,_,S,h,x,B,D,w,E;return l==="login"?{...(u=(t=a==null?void 0:a.value)==null?void 0:t.detail)==null?void 0:u.data,timeStamp:(c=a==null?void 0:a.value)==null?void 0:c.timeStamp,id:a==null?void 0:a.id,type:(y=(d=a==null?void 0:a.value)==null?void 0:d.detail)==null?void 0:y.type}:{timeStamp:(p=a==null?void 0:a.value)==null?void 0:p.timeStamp,account:(g=a==null?void 0:a.value)==null?void 0:g.account,userName:(f=a==null?void 0:a.value)==null?void 0:f.userName,module:typeof((v=a==null?void 0:a.value)==null?void 0:v.module)=="string"?(_=(b=a==null?void 0:a.value)==null?void 0:b.module)!=null&&_.startsWith("/")?(h=(S=a==null?void 0:a.value)==null?void 0:S.module)==null?void 0:h.substring(1):(x=a==null?void 0:a.value)==null?void 0:x.module:(D=(B=a==null?void 0:a.value)==null?void 0:B.module)==null?void 0:D.pageKey,id:a==null?void 0:a.id,type:(E=(w=a==null?void 0:a.value)==null?void 0:w.detail)==null?void 0:E.type}});n.ElMessage.error("获取数据响应失败")}catch(e){throw new Error("获取数据失败"+e)}},I=Object.freeze(Object.defineProperty({__proto__:null,clickButton:A,getLogTableDataAsync:K,pageData:q,tableData:k},Symbol.toStringTag,{value:"Module"}));exports.State=I;exports.clickButton=A;exports.getLogTableDataAsync=K;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),c=require("./index-CSZdFHsD.cjs"),r=require("./index-6Chvz-6H.cjs"),i=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),s={class:"log-wrap"},u=t.defineComponent({__name:"index",setup(_){const e=t.reactive({...c.State});t.onMounted(async()=>{e.tableData=await e.getLogTableDataAsync()});const l=n=>{var o;e.clickButton(n,(o=e.tableData)==null?void 0:o.map(a=>a.id),a=>{console.log("清空操作成功:",a),a&&(e.tableData=[])})};return(n,o)=>(t.openBlock(),t.createElementBlock("div",s,[t.createVNode(r.ssTable,{itemData:e.pageData,allowOperate:!1,allowSelect:!1,onOnButtonClick:l},null,8,["itemData"])]))}}),d=i._export_sfc(u,[["__scopeId","data-v-b4bfde04"]]);exports.default=d;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),c=require("./index-DwFpQNpA.cjs"),r=require("./index-1TxthiQw.cjs"),i=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),s={class:"log-wrap"},u=t.defineComponent({__name:"index",setup(_){const e=t.reactive({...c.State});t.onMounted(async()=>{e.tableData=await e.getLogTableDataAsync()});const l=n=>{var o;e.clickButton(n,(o=e.tableData)==null?void 0:o.map(a=>a.id),a=>{console.log("清空操作成功:",a),a&&(e.tableData=[])})};return(n,o)=>(t.openBlock(),t.createElementBlock("div",s,[t.createVNode(r.ssTable,{itemData:e.pageData,allowOperate:!1,allowSelect:!1,onOnButtonClick:l},null,8,["itemData"])]))}}),d=i._export_sfc(u,[["__scopeId","data-v-b4bfde04"]]);exports.default=d;
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as o, reactive as c, onMounted as s, createElementBlock as r, openBlock as u, createVNode as i } from "vue";
2
- import { s as m } from "./index-B-gCmSbm.js";
3
- import { u as d, ar as p, ap as l } from "./index.vue_vue_type_style_index_1_lang-Bjoq8geZ.js";
2
+ import { s as m } from "./index-Bk8CKDbz.js";
3
+ import { u as d, ar as p, ap as l } from "./index.vue_vue_type_style_index_1_lang-Cg1p_3ne.js";
4
4
  import { s as g, u as h } from "./index-BUYYl2Pc.js";
5
5
  const _ = { class: "routerPage-wrapper" }, w = /* @__PURE__ */ o({
6
6
  __name: "index",
@@ -1 +1 @@
1
- "use strict";const g=require("vue"),p=require("./index-C8qRkCgn.cjs"),w=require("./index.vue_vue_type_style_index_1_lang-DBVG4Icj.cjs"),D=p.useLoginState(p.pinia),{loginUserInfo:u,cryptoInfo:m}=p.storeToRefs(D),V=w.useMenuState(p.pinia),{activeMenuPath:y}=p.storeToRefs(V),E=g.ref(0),P=g.computed(()=>{var s,a,t,r,n,l,e,o,d,v,f;return[{label:"",name:"账号",prop:"账号",value:((s=u.value)==null?void 0:s.account)||(((a=u.value)==null?void 0:a.账号)??"未知")},{label:"",name:"角色名称",prop:"角色名称",value:((t=u.value)==null?void 0:t.layer)==="superAdmin"?"超级管理员":(r=u.value)==null?void 0:r.角色名称},{label:"",name:"部门名称",prop:"部门名称",value:((n=u.value)==null?void 0:n.部门名称)??"未知"},{label:"",name:"状态",prop:"状态",value:((l=u.value)==null?void 0:l.layer)==="superAdmin"?"启用":((e=u.value)==null?void 0:e.状态)??"未知"},{label:"",prop:"头像",isFormColHidden:!0,value:((o=u.value)==null?void 0:o.layer)==="superAdmin"?"启用":((d=u.value)==null?void 0:d.状态)??"未知"},{label:"",prop:"签名",isFormColHidden:!0,value:((v=u.value)==null?void 0:v.layer)==="superAdmin"?"启用":((f=u.value)==null?void 0:f.状态)??"未知"}]}),W=()=>{},U=g.ref(!1),h=g.reactive({dialogTitle:"电子签名",dialogWidth:"30",dialogShow:!1,url:""}),S=g.ref([{label:"签字版",icon:p.edit_pen_default,type:"button",disabled:!1},{label:"电子签名",icon:p.edit_default,type:"button",disabled:!1},{label:"上传手写签名",icon:p.upload_filled_default,type:"buttonUpload",disabled:!1}]),_=g.ref(!1),I=g.ref(!1),R=g.ref(!1),M=g.computed(()=>{var r,n,l;const s=sessionStorage.getItem("authority"),a=JSON.parse(s||""),t=(r=y.value)!=null&&r.startsWith("/")?(n=y.value)==null?void 0:n.substring(1):y.value;return Array.isArray(a)?(R.value=!(a!=null&&a.includes(`${t}/上传头像`)),(l=S.value)==null?void 0:l.map(e=>({...e,disabled:!(a!=null&&a.includes(`${t}/签名`))}))):typeof a=="string"&&(a==null?void 0:a.toUpperCase())==="SUPERADMIN"?S.value:[]}),O=g.computed(()=>[{key:"signConfig",contents:h},{key:"signTypeList",contents:M.value}]),$=s=>{h.dialogShow=s.label==="电子签名"},L=()=>{h.dialogShow=!1},N=async s=>{var t,r,n,l,e,o,d,v,f;const a=await p.getInsofDataApi({id:s});if(((t=a==null?void 0:a.data)==null?void 0:t.code)===200&&a.data.result&&Array.isArray(a.data.result)&&a.data.result.length>0){const b={...(l=(n=(r=a.data.result)==null?void 0:r[0])==null?void 0:n.value)==null?void 0:l.tableData,id:(o=(e=a.data.result)==null?void 0:e[0])==null?void 0:o.id,layer:(f=(v=(d=a.data.result)==null?void 0:d[0])==null?void 0:v.key)==null?void 0:f.layer};D.setLoginUserInfo(b)}},q=async(s,a)=>{var r,n,l;const t=p.cloneDeep(s);t==null||delete t.id;try{const e=await p.updateInsofDataApi({id:(r=u.value)==null?void 0:r.id,value:{tableData:t}});((n=e==null?void 0:e.data)==null?void 0:n.code)===200&&(L(),p.ElMessage.success("修改成功"),await N((l=u.value)==null?void 0:l.id),await D.setLogRecordAsync({type:a,data:s},y.value))}catch{p.ElMessage.error("修改响应失败")}finally{U.value=!1,_.value=!1,I.value=!1}},x=async(s,a)=>{var n;const t=s==="avatarUrl"?"头像":"签名",r={...u.value,status:((n=u.value)==null?void 0:n.status)??"启用",[t]:a};_.value=s==="avatarUrl",I.value=s==="signature",await q(r,"图片修改")},c=g.reactive({baseCols:[],otherCols:[]}),K=g.ref([]),k=g.ref(),B=(s,a,t)=>{var l,e,o,d,v,f;let r;const n=a;((e=(l=u.value)==null?void 0:l.layer)==null?void 0:e.toUpperCase())!=="SUPERADMIN"?r=(o=u.value)!=null&&o.password?w.decryptData((d=u.value)==null?void 0:d.password,(v=m==null?void 0:m.value)==null?void 0:v.privateKey):w.resetPassword:r=(f=u.value)==null?void 0:f.password,r===n?t():t(new Error("输入的密码与原密码不匹配,请重新输入"))},H=(s,a,t)=>{a?t():t(new Error("请输入密码"))},j=(s,a,t)=>{var r;a!==((r=k.value)==null?void 0:r.newtPass)?t(new Error("两次输入的密码不一致")):t()},J=async()=>{var a,t,r,n,l,e,o,d,v,f;const s=await p.getInsofDataApi({key:{systemKey:sessionStorage.getItem("systemKey"),type:"structure",pageKey:"系统管理/用户管理"}});if(((a=s==null?void 0:s.data)==null?void 0:a.code)===200&&s.data.result&&((t=s.data.result)==null?void 0:t.length)>0){const b=(o=(e=(l=(n=(r=s.data.result)==null?void 0:r[0])==null?void 0:n.value)==null?void 0:l.pageData)==null?void 0:e.compData)==null?void 0:o.find(i=>(i==null?void 0:i.key)==="header"),C=(d=P.value)==null?void 0:d.map(i=>i==null?void 0:i.prop);c.baseCols=b&&((v=b.contents)==null?void 0:v.map(i=>({...i,isFormColHidden:(C==null?void 0:C.includes(i==null?void 0:i.prop))||(i==null?void 0:i.label)==="操作"})));const A=(f=b.contents)==null?void 0:f.find(i=>(i==null?void 0:i.prop)==="password"),F=[{...A,label:"当前密码",prop:"currentPass",validator:B},{...A,label:"新密码",prop:"newtPass",validator:H},{...A,label:"确认密码",prop:"confirmNewPass",validator:j}];c.otherCols=F,Q(u.value)}},z=s=>{k.value=s},G=async({content:s,buttonName:a})=>{var r,n,l,e,o;let t;a==="确定"&&(t={...u.value,status:((r=u.value)==null?void 0:r.status)??"启用",password:((l=(n=u.value)==null?void 0:n.layer)==null?void 0:l.toUpperCase())==="SUPERADMIN"?s==null?void 0:s.confirmNewPass:w.encryptData(s==null?void 0:s.confirmNewPass,(e=m.value)==null?void 0:e.publicKey)}),a==="保存基本信息"&&(t={...u.value,...s,status:((o=u.value)==null?void 0:o.status)??"启用"}),U.value=!0,await q(t,a)},T=()=>{var r,n;const s={base:[{label:"保存基本信息"}],other:[{label:"重置",background:"#b7b8b8"},{label:"确定"}]},a=sessionStorage.getItem("authority"),t=JSON.parse(a||"");if(Array.isArray(t)){const l=(r=y.value)!=null&&r.startsWith("/")?(n=y.value)==null?void 0:n.substring(1):y.value,e=t!=null&&t.includes(`${l}/基本信息`)?s==null?void 0:s.base:[],o=t!=null&&t.includes(`${l}/修改密码`)?s==null?void 0:s.other:[];return{base:e,other:o}}else return typeof t=="string"&&(t==null?void 0:t.toUpperCase())==="SUPERADMIN"?s:null},Q=s=>{var a,t,r,n,l;K.value=[{value:"基础信息",label:"基础信息",children:[{type:"form",content:{rowContents:(a=c.baseCols)==null?void 0:a.map(e=>({...e,width:2,type:e==null?void 0:e.formType,name:e==null?void 0:e.prop,prop:e==null?void 0:e.prop,contents:e==null?void 0:e.options,value:s[e==null?void 0:e.prop]})),formRules:{userName:[{required:!0,message:"输入不能为空",trigger:"blur"}],birthDay:[{required:!0,message:"输入不能为空",trigger:"blur"}],phone:[{required:!0,message:"输入不能为空",trigger:"blur"}]},buttonValue:(t=T())==null?void 0:t.base,isEnableWrap:!1,isButtonRow:!1},value:""}]},{value:"修改密码",label:"修改密码",children:[{type:"form",content:{rowContents:(r=c.otherCols)==null?void 0:r.map(e=>({...e,width:1,type:e==null?void 0:e.formType,name:e==null?void 0:e.prop,contents:e==null?void 0:e.options})),formRules:(n=c.otherCols)==null?void 0:n.reduce((e,o)=>(e[o.prop]=[{required:!0,message:"输入有误",trigger:"change"},{validator:(d,v,f)=>o.validator(d,v,f),trigger:"blur"}],e),{}),buttonValue:(l=T())==null?void 0:l.other,isEnableWrap:!1},value:""}]}]},X=Object.freeze(Object.defineProperty({__proto__:null,avatarLoading:_,beforeSignDestroy:L,changeFormTrigger:z,clickFormButton:W,clickSignButton:$,clickTabButton:G,getUserTableHeadersAsync:J,itemData:O,loading:U,refreshLoginUserInfoAsync:N,rowContents:P,signPadInfo:h,signTypes:M,signatureLoading:I,submitImageAsync:x,tabKey:E,tabsContents:K,tempSignTypes:S,uploadDisabled:R},Symbol.toStringTag,{value:"Module"}));exports.State=X;exports.tabKey=E;
1
+ "use strict";const g=require("vue"),p=require("./index-C8qRkCgn.cjs"),w=require("./index.vue_vue_type_style_index_1_lang-B8_elAaU.cjs"),D=p.useLoginState(p.pinia),{loginUserInfo:u,cryptoInfo:m}=p.storeToRefs(D),V=w.useMenuState(p.pinia),{activeMenuPath:y}=p.storeToRefs(V),E=g.ref(0),P=g.computed(()=>{var s,a,t,r,n,l,e,o,d,v,f;return[{label:"",name:"账号",prop:"账号",value:((s=u.value)==null?void 0:s.account)||(((a=u.value)==null?void 0:a.账号)??"未知")},{label:"",name:"角色名称",prop:"角色名称",value:((t=u.value)==null?void 0:t.layer)==="superAdmin"?"超级管理员":(r=u.value)==null?void 0:r.角色名称},{label:"",name:"部门名称",prop:"部门名称",value:((n=u.value)==null?void 0:n.部门名称)??"未知"},{label:"",name:"状态",prop:"状态",value:((l=u.value)==null?void 0:l.layer)==="superAdmin"?"启用":((e=u.value)==null?void 0:e.状态)??"未知"},{label:"",prop:"头像",isFormColHidden:!0,value:((o=u.value)==null?void 0:o.layer)==="superAdmin"?"启用":((d=u.value)==null?void 0:d.状态)??"未知"},{label:"",prop:"签名",isFormColHidden:!0,value:((v=u.value)==null?void 0:v.layer)==="superAdmin"?"启用":((f=u.value)==null?void 0:f.状态)??"未知"}]}),W=()=>{},U=g.ref(!1),h=g.reactive({dialogTitle:"电子签名",dialogWidth:"30",dialogShow:!1,url:""}),S=g.ref([{label:"签字版",icon:p.edit_pen_default,type:"button",disabled:!1},{label:"电子签名",icon:p.edit_default,type:"button",disabled:!1},{label:"上传手写签名",icon:p.upload_filled_default,type:"buttonUpload",disabled:!1}]),_=g.ref(!1),I=g.ref(!1),R=g.ref(!1),M=g.computed(()=>{var r,n,l;const s=sessionStorage.getItem("authority"),a=JSON.parse(s||""),t=(r=y.value)!=null&&r.startsWith("/")?(n=y.value)==null?void 0:n.substring(1):y.value;return Array.isArray(a)?(R.value=!(a!=null&&a.includes(`${t}/上传头像`)),(l=S.value)==null?void 0:l.map(e=>({...e,disabled:!(a!=null&&a.includes(`${t}/签名`))}))):typeof a=="string"&&(a==null?void 0:a.toUpperCase())==="SUPERADMIN"?S.value:[]}),O=g.computed(()=>[{key:"signConfig",contents:h},{key:"signTypeList",contents:M.value}]),$=s=>{h.dialogShow=s.label==="电子签名"},L=()=>{h.dialogShow=!1},N=async s=>{var t,r,n,l,e,o,d,v,f;const a=await p.getInsofDataApi({id:s});if(((t=a==null?void 0:a.data)==null?void 0:t.code)===200&&a.data.result&&Array.isArray(a.data.result)&&a.data.result.length>0){const b={...(l=(n=(r=a.data.result)==null?void 0:r[0])==null?void 0:n.value)==null?void 0:l.tableData,id:(o=(e=a.data.result)==null?void 0:e[0])==null?void 0:o.id,layer:(f=(v=(d=a.data.result)==null?void 0:d[0])==null?void 0:v.key)==null?void 0:f.layer};D.setLoginUserInfo(b)}},q=async(s,a)=>{var r,n,l;const t=p.cloneDeep(s);t==null||delete t.id;try{const e=await p.updateInsofDataApi({id:(r=u.value)==null?void 0:r.id,value:{tableData:t}});((n=e==null?void 0:e.data)==null?void 0:n.code)===200&&(L(),p.ElMessage.success("修改成功"),await N((l=u.value)==null?void 0:l.id),await D.setLogRecordAsync({type:a,data:s},y.value))}catch{p.ElMessage.error("修改响应失败")}finally{U.value=!1,_.value=!1,I.value=!1}},x=async(s,a)=>{var n;const t=s==="avatarUrl"?"头像":"签名",r={...u.value,status:((n=u.value)==null?void 0:n.status)??"启用",[t]:a};_.value=s==="avatarUrl",I.value=s==="signature",await q(r,"图片修改")},c=g.reactive({baseCols:[],otherCols:[]}),K=g.ref([]),k=g.ref(),B=(s,a,t)=>{var l,e,o,d,v,f;let r;const n=a;((e=(l=u.value)==null?void 0:l.layer)==null?void 0:e.toUpperCase())!=="SUPERADMIN"?r=(o=u.value)!=null&&o.password?w.decryptData((d=u.value)==null?void 0:d.password,(v=m==null?void 0:m.value)==null?void 0:v.privateKey):w.resetPassword:r=(f=u.value)==null?void 0:f.password,r===n?t():t(new Error("输入的密码与原密码不匹配,请重新输入"))},H=(s,a,t)=>{a?t():t(new Error("请输入密码"))},j=(s,a,t)=>{var r;a!==((r=k.value)==null?void 0:r.newtPass)?t(new Error("两次输入的密码不一致")):t()},J=async()=>{var a,t,r,n,l,e,o,d,v,f;const s=await p.getInsofDataApi({key:{systemKey:sessionStorage.getItem("systemKey"),type:"structure",pageKey:"系统管理/用户管理"}});if(((a=s==null?void 0:s.data)==null?void 0:a.code)===200&&s.data.result&&((t=s.data.result)==null?void 0:t.length)>0){const b=(o=(e=(l=(n=(r=s.data.result)==null?void 0:r[0])==null?void 0:n.value)==null?void 0:l.pageData)==null?void 0:e.compData)==null?void 0:o.find(i=>(i==null?void 0:i.key)==="header"),C=(d=P.value)==null?void 0:d.map(i=>i==null?void 0:i.prop);c.baseCols=b&&((v=b.contents)==null?void 0:v.map(i=>({...i,isFormColHidden:(C==null?void 0:C.includes(i==null?void 0:i.prop))||(i==null?void 0:i.label)==="操作"})));const A=(f=b.contents)==null?void 0:f.find(i=>(i==null?void 0:i.prop)==="password"),F=[{...A,label:"当前密码",prop:"currentPass",validator:B},{...A,label:"新密码",prop:"newtPass",validator:H},{...A,label:"确认密码",prop:"confirmNewPass",validator:j}];c.otherCols=F,Q(u.value)}},z=s=>{k.value=s},G=async({content:s,buttonName:a})=>{var r,n,l,e,o;let t;a==="确定"&&(t={...u.value,status:((r=u.value)==null?void 0:r.status)??"启用",password:((l=(n=u.value)==null?void 0:n.layer)==null?void 0:l.toUpperCase())==="SUPERADMIN"?s==null?void 0:s.confirmNewPass:w.encryptData(s==null?void 0:s.confirmNewPass,(e=m.value)==null?void 0:e.publicKey)}),a==="保存基本信息"&&(t={...u.value,...s,status:((o=u.value)==null?void 0:o.status)??"启用"}),U.value=!0,await q(t,a)},T=()=>{var r,n;const s={base:[{label:"保存基本信息"}],other:[{label:"重置",background:"#b7b8b8"},{label:"确定"}]},a=sessionStorage.getItem("authority"),t=JSON.parse(a||"");if(Array.isArray(t)){const l=(r=y.value)!=null&&r.startsWith("/")?(n=y.value)==null?void 0:n.substring(1):y.value,e=t!=null&&t.includes(`${l}/基本信息`)?s==null?void 0:s.base:[],o=t!=null&&t.includes(`${l}/修改密码`)?s==null?void 0:s.other:[];return{base:e,other:o}}else return typeof t=="string"&&(t==null?void 0:t.toUpperCase())==="SUPERADMIN"?s:null},Q=s=>{var a,t,r,n,l;K.value=[{value:"基础信息",label:"基础信息",children:[{type:"form",content:{rowContents:(a=c.baseCols)==null?void 0:a.map(e=>({...e,width:2,type:e==null?void 0:e.formType,name:e==null?void 0:e.prop,prop:e==null?void 0:e.prop,contents:e==null?void 0:e.options,value:s[e==null?void 0:e.prop]})),formRules:{userName:[{required:!0,message:"输入不能为空",trigger:"blur"}],birthDay:[{required:!0,message:"输入不能为空",trigger:"blur"}],phone:[{required:!0,message:"输入不能为空",trigger:"blur"}]},buttonValue:(t=T())==null?void 0:t.base,isEnableWrap:!1,isButtonRow:!1},value:""}]},{value:"修改密码",label:"修改密码",children:[{type:"form",content:{rowContents:(r=c.otherCols)==null?void 0:r.map(e=>({...e,width:1,type:e==null?void 0:e.formType,name:e==null?void 0:e.prop,contents:e==null?void 0:e.options})),formRules:(n=c.otherCols)==null?void 0:n.reduce((e,o)=>(e[o.prop]=[{required:!0,message:"输入有误",trigger:"change"},{validator:(d,v,f)=>o.validator(d,v,f),trigger:"blur"}],e),{}),buttonValue:(l=T())==null?void 0:l.other,isEnableWrap:!1},value:""}]}]},X=Object.freeze(Object.defineProperty({__proto__:null,avatarLoading:_,beforeSignDestroy:L,changeFormTrigger:z,clickFormButton:W,clickSignButton:$,clickTabButton:G,getUserTableHeadersAsync:J,itemData:O,loading:U,refreshLoginUserInfoAsync:N,rowContents:P,signPadInfo:h,signTypes:M,signatureLoading:I,submitImageAsync:x,tabKey:E,tabsContents:K,tempSignTypes:S,uploadDisabled:R},Symbol.toStringTag,{value:"Module"}));exports.State=X;exports.tabKey=E;
@@ -1,5 +1,5 @@
1
- import { _ as b } from "./index.vue_vue_type_style_index_0_scoped_92477073_lang-BNgp6mzJ.js";
2
- import { s as K } from "./index.vue_vue_type_style_index_0_scoped_92477073_lang-BNgp6mzJ.js";
1
+ import { _ as b } from "./index.vue_vue_type_style_index_0_scoped_92477073_lang-D0zznqn6.js";
2
+ import { s as K } from "./index.vue_vue_type_style_index_0_scoped_92477073_lang-D0zznqn6.js";
3
3
  import { resolveComponent as r, createElementBlock as s, openBlock as n, Fragment as p, createVNode as l, createCommentVNode as k, withCtx as i, createElementVNode as d, normalizeStyle as w, toDisplayString as c, renderList as v, createTextVNode as _, createBlock as B, resolveDynamicComponent as I } from "vue";
4
4
  import { _ as m } from "./_plugin-vue_export-helper-CHgC5LLL.js";
5
5
  const L = ["title"], V = {
@@ -1 +1 @@
1
- "use strict";const n=require("vue"),u=require("./index-C8qRkCgn.cjs"),r=require("./index.vue_vue_type_style_index_1_lang-DBVG4Icj.cjs"),d=r.useModelComp(),{itemData:g}=u.storeToRefs(d),y=n.ref(0),D=n.ref([{label:"机构名称",value:"",name:"deptName"}]),f=e=>{console.log("handleQueryChange",e)},s=n.ref([{key:"extraButton",contents:[{label:"新增"}]},{key:"rowButton",contents:[{label:"编辑"},{label:"删除"}]},{key:"header",contents:[{label:"职位名称",prop:"postName"},{label:"职位排序",formType:"Number",prop:"postOrder"},{label:"备注",formType:"TextArea",prop:"remark"},{label:"操作"}]},{key:"tableContents",contents:[]}]),i=e=>{r.submitTableAsyncByVerify(e.singleContent,e.buttonName,y.value)},m=e=>{console.log("onDoubleClick",e)},h=(e,a)=>{console.log("onButtonClick",e,a)},k=async e=>{const a=await r.handleSubmitAsync(u.getInsofDataApi,{key:{type:"data",systemKey:sessionStorage.getItem("systemKey"),pageKey:e}},"查询"),l=a==null?void 0:a.map(t=>{var o;return{id:t.id,tableData:(o=t==null?void 0:t.value)==null?void 0:o.tableData}});return l==null?void 0:l.map(t=>{var o;if(Array.isArray(t==null?void 0:t.tableData)){let c={id:t.id};return(o=t==null?void 0:t.tableData)==null||o.forEach((p,b)=>{c[`a${b}`]=p}),c}else return{...t.tableData,id:t.id}})},C={comp:"Group",name:"/系统管理/职位管理",compData:[{key:"groupContents",contents:[{comp:"Table",compData:s.value,name:""}]}]};n.watch(()=>g.value,e=>{var a;e&&(e==null?void 0:e.length)>0&&(s.value=(a=e==null?void 0:e[0])==null?void 0:a.compData)});const _=Object.freeze(Object.defineProperty({__proto__:null,getPageDataAsync:k,handleItemDataChange:i,handleQueryChange:f,onButtonClick:h,onDoubleClick:m,pageData:s,queryFormData:D,structureId:y,tempPostPageData:C},Symbol.toStringTag,{value:"Module"}));exports.State=_;
1
+ "use strict";const n=require("vue"),u=require("./index-C8qRkCgn.cjs"),r=require("./index.vue_vue_type_style_index_1_lang-B8_elAaU.cjs"),d=r.useModelComp(),{itemData:g}=u.storeToRefs(d),y=n.ref(0),D=n.ref([{label:"机构名称",value:"",name:"deptName"}]),f=e=>{console.log("handleQueryChange",e)},s=n.ref([{key:"extraButton",contents:[{label:"新增"}]},{key:"rowButton",contents:[{label:"编辑"},{label:"删除"}]},{key:"header",contents:[{label:"职位名称",prop:"postName"},{label:"职位排序",formType:"Number",prop:"postOrder"},{label:"备注",formType:"TextArea",prop:"remark"},{label:"操作"}]},{key:"tableContents",contents:[]}]),i=e=>{r.submitTableAsyncByVerify(e.singleContent,e.buttonName,y.value)},m=e=>{console.log("onDoubleClick",e)},h=(e,a)=>{console.log("onButtonClick",e,a)},k=async e=>{const a=await r.handleSubmitAsync(u.getInsofDataApi,{key:{type:"data",systemKey:sessionStorage.getItem("systemKey"),pageKey:e}},"查询"),l=a==null?void 0:a.map(t=>{var o;return{id:t.id,tableData:(o=t==null?void 0:t.value)==null?void 0:o.tableData}});return l==null?void 0:l.map(t=>{var o;if(Array.isArray(t==null?void 0:t.tableData)){let c={id:t.id};return(o=t==null?void 0:t.tableData)==null||o.forEach((p,b)=>{c[`a${b}`]=p}),c}else return{...t.tableData,id:t.id}})},C={comp:"Group",name:"/系统管理/职位管理",compData:[{key:"groupContents",contents:[{comp:"Table",compData:s.value,name:""}]}]};n.watch(()=>g.value,e=>{var a;e&&(e==null?void 0:e.length)>0&&(s.value=(a=e==null?void 0:e[0])==null?void 0:a.compData)});const _=Object.freeze(Object.defineProperty({__proto__:null,getPageDataAsync:k,handleItemDataChange:i,handleQueryChange:f,onButtonClick:h,onDoubleClick:m,pageData:s,queryFormData:D,structureId:y,tempPostPageData:C},Symbol.toStringTag,{value:"Module"}));exports.State=_;
@@ -1,12 +1,12 @@
1
1
  import { ref as N, resolveComponent as K, createBlock as G, openBlock as b, createCommentVNode as i0, createSlots as B2, withCtx as L, renderSlot as u0, defineComponent as h2, onMounted as re, createVNode as X, createElementVNode as o0, createElementBlock as A, Fragment as x0, renderList as S0, createTextVNode as E2, toDisplayString as W0, reactive as c1, h as Be, Transition as Gr, withDirectives as dt, vShow as Ut, createApp as $r, toRefs as M4, nextTick as S2, isRef as jr, watch as r2, computed as t0, onBeforeUnmount as Dn, normalizeStyle as X0, normalizeClass as X3, resolveDynamicComponent as Ft, normalizeProps as Wr, guardReactiveProps as Ur, mergeProps as h1, withModifiers as T4, inject as Fr, watchEffect as we, onUnmounted as d1, unref as nt, resolveDirective as qr } from "vue";
2
2
  import { S as ut } from "./index-BHtNKL1L.js";
3
- import { aS as Yr, d as Je, aP as vs, aT as Kr, aU as Xr, aV as Qr, aW as Jr, aX as ws, aY as xs } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DFR9Kcwi.js";
3
+ import { aS as Yr, d as Je, aP as vs, aT as Kr, aU as Xr, aV as Qr, aW as Jr, aX as ws, aY as xs } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CmofVWvn.js";
4
4
  import { _ as P0 } from "./_plugin-vue_export-helper-CHgC5LLL.js";
5
5
  import { bS as z4, bT as P4, cf as Zr, cg as bs, bG as e8, b8 as t3, U as t8, ae as A4, aJ as kt, b7 as _s, Z as V4, ch as i8, E as B3, p as i3, s as n3, c as Y2, a as E4, ci as n8, aW as s8, aw as o8, cj as l8, b as r8, b2 as a8 } from "./index-BUYYl2Pc.js";
6
- import { _ as me, s as Mn } from "./index-Bg0aEQlB.js";
7
- import { a as Tn, u as B4, aD as L4 } from "./index.vue_vue_type_style_index_1_lang-Bjoq8geZ.js";
8
- import { g as c8, b as H4, T as Q3, a as h8, d as d8 } from "./threeViewerHost-D8aKuUdC.js";
9
- import { s as u8 } from "./index-CIu1uGjo.js";
6
+ import { _ as me, s as Mn } from "./index-DRizRbU3.js";
7
+ import { a as Tn, u as B4, aD as L4 } from "./index.vue_vue_type_style_index_1_lang-Cg1p_3ne.js";
8
+ import { g as c8, b as H4, T as Q3, a as h8, d as d8 } from "./threeViewerHost-XR9tepbY.js";
9
+ import { s as u8 } from "./index-tUUpniUl.js";
10
10
  var f8 = "[object Date]";
11
11
  function p8(n) {
12
12
  return z4(n) && P4(n) == f8;