ss-component-new 1.2.16 → 1.2.17

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 (83) hide show
  1. package/dist/{animationData-BWw4kCRg.js → animationData-Qb9CDU4l.js} +3 -3
  2. package/dist/{animationData-Gmqt1miw.cjs → animationData-xvLbS7TE.cjs} +1 -1
  3. package/dist/{array-BnEzUAqG.cjs → array-CAYNJHAO.cjs} +1 -1
  4. package/dist/{array-BzGprQMJ.js → array-DkjKZF8I.js} +1 -1
  5. package/dist/{index-VAoviGiD.js → index--cSKDs-m.js} +8 -8
  6. package/dist/{index-0yieO8oJ.js → index-00LBNRcE.js} +1 -1
  7. package/dist/{index-BN61mxV-.cjs → index-AmqN11m8.cjs} +1 -1
  8. package/dist/{index-DIVlMcU8.cjs → index-B2NWkIpp.cjs} +1 -1
  9. package/dist/{index-DMzjugA8.js → index-BGLsERtf.js} +5 -5
  10. package/dist/{index-i7c0i6cs.cjs → index-BLdyKmTu.cjs} +1 -1
  11. package/dist/{index-B775IA-h.js → index-BU242fNk.js} +2 -2
  12. package/dist/{index-D-aPtE2l.cjs → index-BZtXRbEZ.cjs} +1 -1
  13. package/dist/{index-Bog3Ps53.js → index-B_pmpVvZ.js} +2 -2
  14. package/dist/{index-DvS03o0x.js → index-BgbkehBL.js} +3 -3
  15. package/dist/{index-DE2PX8iP.cjs → index-Blj5w8sE.cjs} +1 -1
  16. package/dist/{index-Ol-nncQ8.js → index-Bp9hPbvn.js} +1 -1
  17. package/dist/{index-CcrmcbVW.cjs → index-Br3NE3cv.cjs} +1 -1
  18. package/dist/{index-DKqiOVYm.js → index-Bx7n6UDA.js} +2 -2
  19. package/dist/{index-MJGhXKrR.js → index-Bx9yQVlT.js} +1 -1
  20. package/dist/{index-0xuBTAzf.js → index-Byjao__A.js} +10 -10
  21. package/dist/{index-CO9tS7yE.cjs → index-C-imeITi.cjs} +1 -1
  22. package/dist/{index-Bxj1NF8c.js → index-C3pD8VjA.js} +1 -1
  23. package/dist/{index-CZs4OK7B.cjs → index-C8W8SOHQ.cjs} +1 -1
  24. package/dist/{index-Dw-oonRR.js → index-CBO4shBu.js} +3 -3
  25. package/dist/{index-DzKxXHO_.cjs → index-CSrtwaZ6.cjs} +1 -1
  26. package/dist/{index-BBp-QrUN.cjs → index-CTbiBChu.cjs} +1 -1
  27. package/dist/{index-Drtr5P6Z.js → index-CU44LzPf.js} +7 -7
  28. package/dist/{index-Dlqjb3Ae.js → index-CVHse7As.js} +2 -2
  29. package/dist/{index-45a8lajL.cjs → index-C__Dwz_q.cjs} +1 -1
  30. package/dist/{index-C0_dzZqi.cjs → index-ChL8bsns.cjs} +1 -1
  31. package/dist/{index-CgkhjQBg.js → index-Cki2sYVE.js} +5 -5
  32. package/dist/{index-B1VERzBW.cjs → index-ClK5MJAc.cjs} +1 -1
  33. package/dist/{index-Cdz24GlP.js → index-CpMQC4x1.js} +1 -1
  34. package/dist/{index-DjlNkAz3.js → index-D8_S-Iuf.js} +18 -18
  35. package/dist/{index-CQ2og4VS.cjs → index-DEwxTEA3.cjs} +1 -1
  36. package/dist/{index-CDVTwJO1.js → index-DNgeBOyL.js} +2 -2
  37. package/dist/{index-b0_Sdvtc.cjs → index-DORfWfLc.cjs} +1 -1
  38. package/dist/{index-DasYrMO9.js → index-DXPIuRqL.js} +2 -2
  39. package/dist/{index-BtktIcJr.js → index-DZ9voZQn.js} +5 -5
  40. package/dist/{index-CTMVMsEw.cjs → index-DZMLa6sl.cjs} +1 -1
  41. package/dist/{index-BWiorSLN.js → index-DbiyWVzT.js} +5 -5
  42. package/dist/{index-ClciGXhU.js → index-DbmOtV2k.js} +2 -2
  43. package/dist/{index-BF5O3SKN.cjs → index-Dg_l3ZIM.cjs} +1 -1
  44. package/dist/{index-DBS-llYZ.cjs → index-Dm9I-MGk.cjs} +1 -1
  45. package/dist/{index-c2Td0J53.js → index-DmYI7jW4.js} +1 -1
  46. package/dist/{index-ly9ku1Ig.cjs → index-DvEGoB_c.cjs} +1 -1
  47. package/dist/{index-C4KNN0N1.cjs → index-DwDRdcnb.cjs} +1 -1
  48. package/dist/{index-BSt5BRu5.js → index-DxQj6FZE.js} +1 -1
  49. package/dist/{index-B-78xMsr.cjs → index-HNf73U8z.cjs} +1 -1
  50. package/dist/{index-Cuw0COzP.cjs → index-JDMB7hc0.cjs} +1 -1
  51. package/dist/{index-Dtqc59Tk.js → index-JQmSnrnX.js} +1 -1
  52. package/dist/{index-N9O6PaDb.js → index-UMRAFAXe.js} +2 -2
  53. package/dist/{index-GPZD2ZHO.cjs → index-kJ1GNgTl.cjs} +1 -1
  54. package/dist/{index-Cc_TW4OE.cjs → index-lp8Qp4lU.cjs} +1 -1
  55. package/dist/{index-0s9a7Rpc.cjs → index-nldJ9Wpt.cjs} +1 -1
  56. package/dist/{index-CF9Y_2xa.cjs → index-snrR_lCj.cjs} +1 -1
  57. package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DDk9QivU.cjs → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-0YQ6oGXD.cjs} +1 -1
  58. package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DM8to6QE.js → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CmdURFaC.js} +1 -1
  59. package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-CX2RbTN9.js → index.vue_vue_type_style_index_0_scoped_92477073_lang-Bwe93Xrr.js} +5 -5
  60. package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-BbO6f96z.cjs → index.vue_vue_type_style_index_0_scoped_92477073_lang-pzTuaxv5.cjs} +1 -1
  61. package/dist/{index.vue_vue_type_style_index_0_scoped_bcdf4fb0_lang-Cg8Mjd8K.cjs → index.vue_vue_type_style_index_0_scoped_bcdf4fb0_lang-6VezR8np.cjs} +1 -1
  62. package/dist/{index.vue_vue_type_style_index_0_scoped_bcdf4fb0_lang-BgGmA99m.js → index.vue_vue_type_style_index_0_scoped_bcdf4fb0_lang-q9M1UN39.js} +9 -9
  63. package/dist/{index.vue_vue_type_style_index_1_lang-D2WqwMCZ.cjs → index.vue_vue_type_style_index_1_lang-0RaoPzBs.cjs} +10 -10
  64. package/dist/{index.vue_vue_type_style_index_1_lang-CrPsDsEY.js → index.vue_vue_type_style_index_1_lang-BDQcys0d.js} +2 -2
  65. package/dist/{index.vue_vue_type_style_index_1_lang-CwoxJbwS.cjs → index.vue_vue_type_style_index_1_lang-Bc10b8Mi.cjs} +1 -1
  66. package/dist/{index.vue_vue_type_style_index_1_lang-CeaEXypd.js → index.vue_vue_type_style_index_1_lang-DtRssJWg.js} +879 -879
  67. package/dist/{main-DGXvSAML.cjs → main-BpF0-mlu.cjs} +1 -1
  68. package/dist/{main-Dg2tI2uw.js → main-D8Dh7CUS.js} +4 -4
  69. package/dist/ss-component.cjs +1 -1
  70. package/dist/ss-component.js +10 -10
  71. package/dist/ss-component2.cjs +1 -1
  72. package/dist/ss-component2.js +11 -11
  73. package/dist/{threeModel-wyboz8GN.js → threeModel-B6Q20_0g.js} +2 -2
  74. package/dist/{threeModel-DR5HOavd.cjs → threeModel-WXskZd6Q.cjs} +1 -1
  75. package/dist/{threeSceneView-9bR4B421.cjs → threeSceneView-BFcPTomD.cjs} +1 -1
  76. package/dist/{threeSceneView-BBp0_Tq3.js → threeSceneView-YnHu8FUZ.js} +7 -7
  77. package/dist/{threeSceneViewForCPMPIP-BYI3fXA6.cjs → threeSceneViewForCPMPIP-fG4x8LLj.cjs} +1 -1
  78. package/dist/{threeSceneViewForCPMPIP-pDy7SQVJ.js → threeSceneViewForCPMPIP-p2-Ce2xO.js} +6 -6
  79. package/dist/{threeViewerHost-6YyhGjjJ.js → threeViewerHost-CDEn7FfB.js} +3 -3
  80. package/dist/{threeViewerHost-kHhK4tIS.cjs → threeViewerHost-rcqedja4.cjs} +1 -1
  81. package/dist/{useRayCaster-DENUSa5k.js → useRayCaster-CJaAi3t4.js} +1 -1
  82. package/dist/{useRayCaster-BhV1gz97.cjs → useRayCaster-Cz13xqg3.cjs} +1 -1
  83. package/package.json +1 -1
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),_=require("./index-CO9tS7yE.cjs"),p=require("./index-DBS-llYZ.cjs"),m=require("./index-D-aPtE2l.cjs"),h=require("./index-B-78xMsr.cjs"),C=require("./index.vue_vue_type_style_index_1_lang-D2WqwMCZ.cjs"),d=require("./index-1z9RrjZc.cjs"),f=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),k={class:"menu-module"},v={class:"table-wrap","element-loading-text":"加载中..."},x={class:"module-dialog-default"},w=e.defineComponent({__name:"index",setup(D){const t=e.reactive({..._.State}),l=e.ref(null),a=C.useMenuState(d.pinia),{configMenu:n}=d.storeToRefs(a);return e.onMounted(()=>{var r;t.formatFormData(n.value),e.nextTick(()=>{var o,i;(i=l.value)==null||i.setCurrentKey((o=n.value)==null?void 0:o.path),a.setActiveMenuPath("/平台管理/菜单管理")}),n.value&&t.getInitialSubStructure((r=n.value)==null?void 0:r.path)}),(r,o)=>{const i=e.resolveComponent("el-tree"),c=e.resolveComponent("el-splitter-panel"),u=e.resolveComponent("el-splitter"),s=e.resolveComponent("el-button"),g=e.resolveDirective("loading");return e.openBlock(),e.createElementBlock("div",k,[e.createVNode(u,null,{default:e.withCtx(()=>[e.createVNode(c,{size:208,class:"tree-wrap",min:200},{default:e.withCtx(()=>[e.createVNode(i,{ref_key:"treeRef",ref:l,data:t.treeData,"expand-on-click-node":!1,"node-key":"path",props:{children:"children",label:"label",path:"path"},"highlight-current":"","default-expand-all":"","check-on-click-leaf":!1,"check-strictly":"",onNodeClick:t.clickNodeTrigger},null,8,["data","onNodeClick"])]),_:1}),e.createVNode(c,{min:500},{default:e.withCtx(()=>[e.withDirectives((e.openBlock(),e.createElementBlock("div",v,[e.createVNode(p.ssTable,{itemData:t.menuPageData,changedContent:t.changedRow,operatingForm:t.operatingForm,onOnFormChange:t.changeTrigger,onChange:t.handleItemDataChange,onClickTrigger:t.clickTrigger,onOnButtonClick:t.clickRowButton},null,8,["itemData","changedContent","operatingForm","onOnFormChange","onChange","onClickTrigger","onOnButtonClick"])])),[[g,t.tableLoading]])]),_:1})]),_:1}),e.createVNode(m.ssDialog,{class:"module-dialog",title:t.dialogInfo.title,visible:t.dialogInfo.show,width:t.dialogInfo.width,onBeforeDestroy:t.beforeDialogDestroy},{default:e.withCtx(()=>[e.createElementVNode("div",x,[e.createVNode(h.ssForm,{rowContents:t.renderFormData,isEnableWrap:!1,isEdit:!0,onChange:t.changeTrigger,onClickTrigger:t.clickTrigger},null,8,["rowContents","onChange","onClickTrigger"])])]),footer:e.withCtx(()=>[e.createElementVNode("div",null,[e.createVNode(s,{onClick:t.beforeDialogDestroy,id:"themeBorderButton"},{default:e.withCtx(()=>o[0]||(o[0]=[e.createTextVNode("取消")])),_:1,__:[0]},8,["onClick"]),e.createVNode(s,{id:"themeButton",onClick:t.clickSubmitForm},{default:e.withCtx(()=>o[1]||(o[1]=[e.createTextVNode(" 确认 ")])),_:1,__:[1]},8,["onClick"])])]),_:1},8,["title","visible","width","onBeforeDestroy"])])}}}),b=f._export_sfc(w,[["__scopeId","data-v-74868a06"]]);exports.default=b;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),_=require("./index-C-imeITi.cjs"),p=require("./index-Dm9I-MGk.cjs"),m=require("./index-BZtXRbEZ.cjs"),h=require("./index-HNf73U8z.cjs"),C=require("./index.vue_vue_type_style_index_1_lang-0RaoPzBs.cjs"),d=require("./index-1z9RrjZc.cjs"),f=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),k={class:"menu-module"},v={class:"table-wrap","element-loading-text":"加载中..."},x={class:"module-dialog-default"},w=e.defineComponent({__name:"index",setup(D){const t=e.reactive({..._.State}),l=e.ref(null),a=C.useMenuState(d.pinia),{configMenu:n}=d.storeToRefs(a);return e.onMounted(()=>{var r;t.formatFormData(n.value),e.nextTick(()=>{var o,i;(i=l.value)==null||i.setCurrentKey((o=n.value)==null?void 0:o.path),a.setActiveMenuPath("/平台管理/菜单管理")}),n.value&&t.getInitialSubStructure((r=n.value)==null?void 0:r.path)}),(r,o)=>{const i=e.resolveComponent("el-tree"),c=e.resolveComponent("el-splitter-panel"),u=e.resolveComponent("el-splitter"),s=e.resolveComponent("el-button"),g=e.resolveDirective("loading");return e.openBlock(),e.createElementBlock("div",k,[e.createVNode(u,null,{default:e.withCtx(()=>[e.createVNode(c,{size:208,class:"tree-wrap",min:200},{default:e.withCtx(()=>[e.createVNode(i,{ref_key:"treeRef",ref:l,data:t.treeData,"expand-on-click-node":!1,"node-key":"path",props:{children:"children",label:"label",path:"path"},"highlight-current":"","default-expand-all":"","check-on-click-leaf":!1,"check-strictly":"",onNodeClick:t.clickNodeTrigger},null,8,["data","onNodeClick"])]),_:1}),e.createVNode(c,{min:500},{default:e.withCtx(()=>[e.withDirectives((e.openBlock(),e.createElementBlock("div",v,[e.createVNode(p.ssTable,{itemData:t.menuPageData,changedContent:t.changedRow,operatingForm:t.operatingForm,onOnFormChange:t.changeTrigger,onChange:t.handleItemDataChange,onClickTrigger:t.clickTrigger,onOnButtonClick:t.clickRowButton},null,8,["itemData","changedContent","operatingForm","onOnFormChange","onChange","onClickTrigger","onOnButtonClick"])])),[[g,t.tableLoading]])]),_:1})]),_:1}),e.createVNode(m.ssDialog,{class:"module-dialog",title:t.dialogInfo.title,visible:t.dialogInfo.show,width:t.dialogInfo.width,onBeforeDestroy:t.beforeDialogDestroy},{default:e.withCtx(()=>[e.createElementVNode("div",x,[e.createVNode(h.ssForm,{rowContents:t.renderFormData,isEnableWrap:!1,isEdit:!0,onChange:t.changeTrigger,onClickTrigger:t.clickTrigger},null,8,["rowContents","onChange","onClickTrigger"])])]),footer:e.withCtx(()=>[e.createElementVNode("div",null,[e.createVNode(s,{onClick:t.beforeDialogDestroy,id:"themeBorderButton"},{default:e.withCtx(()=>o[0]||(o[0]=[e.createTextVNode("取消")])),_:1,__:[0]},8,["onClick"]),e.createVNode(s,{id:"themeButton",onClick:t.clickSubmitForm},{default:e.withCtx(()=>o[1]||(o[1]=[e.createTextVNode(" 确认 ")])),_:1,__:[1]},8,["onClick"])])]),_:1},8,["title","visible","width","onBeforeDestroy"])])}}}),b=f._export_sfc(w,[["__scopeId","data-v-74868a06"]]);exports.default=b;
@@ -1,14 +1,14 @@
1
1
  import { ref as H, watch as Ge, nextTick as ea, resolveComponent as Ne, createBlock as Fe, openBlock as ie, withCtx as re, createElementVNode as be, renderSlot as Ba, onMounted as ha, createElementBlock as Ue, normalizeStyle as Ol, normalizeClass as Ha, toDisplayString as je, createCommentVNode as Me, createVNode as te, unref as Ie, Fragment as vl, renderList as bl, createTextVNode as rl, defineComponent as Qa, reactive as Yl, inject as Qr, provide as Xr, onBeforeUnmount as Zr, computed as Ma, onUnmounted as Yr, createSlots as Ir } from "vue";
2
2
  import { bh as Vr, as as en, c as q, E as $e, b$ as ya, g as _l, p as hl, s as Ul, u as ln, bt as pa, d as Ka, b as yl, bu as an, f as rn, c3 as nn } from "./index-CYp77kPp.js";
3
- import { d as Na, S as sn } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DM8to6QE.js";
4
- import { c as la, _ as un, h as on, e as tn, E as cn } from "./index-BtktIcJr.js";
5
- import { a as dn, T as pn, d as fa, c as fn } from "./threeViewerHost-6YyhGjjJ.js";
6
- import { aK as Kl, aE as gn, i as al, k as hn, j as yn, u as vn, aJ as bn, a as Sn, aZ as Fa, a_ as wa, a$ as kn, b0 as Tn, l as Il, E as za, aH as Ja, b1 as Wa, aS as mn, b2 as An } from "./index.vue_vue_type_style_index_1_lang-CeaEXypd.js";
7
- import { r as Un, a as Nl, w as _n } from "./index.vue_vue_type_style_index_1_lang-CrPsDsEY.js";
3
+ import { d as Na, S as sn } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CmdURFaC.js";
4
+ import { c as la, _ as un, h as on, e as tn, E as cn } from "./index-DZ9voZQn.js";
5
+ import { a as dn, T as pn, d as fa, c as fn } from "./threeViewerHost-CDEn7FfB.js";
6
+ import { aK as Kl, aE as gn, i as al, k as hn, j as yn, u as vn, aJ as bn, a as Sn, aZ as Fa, a_ as wa, a$ as kn, b0 as Tn, l as Il, E as za, aH as Ja, b1 as Wa, aS as mn, b2 as An } from "./index.vue_vue_type_style_index_1_lang-DtRssJWg.js";
7
+ import { r as Un, a as Nl, w as _n } from "./index.vue_vue_type_style_index_1_lang-BDQcys0d.js";
8
8
  import { _ as aa } from "./_plugin-vue_export-helper-CHgC5LLL.js";
9
9
  import "./three-viewport-gizmo-CkQ98n-T.js";
10
- import { s as Vl } from "./index-Bxj1NF8c.js";
11
- import "./index-0yieO8oJ.js";
10
+ import { s as Vl } from "./index-C3pD8VjA.js";
11
+ import "./index-00LBNRcE.js";
12
12
  import { i as Ga } from "./isString-BNK38WbE.js";
13
13
  const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
14
14
  __name: "index",
@@ -1,7 +1,7 @@
1
1
  import { ref as l, watch as m, defineComponent as y, reactive as b, onMounted as g, createElementBlock as D, openBlock as i, createVNode as f } from "vue";
2
- import { s as h } from "./index-Drtr5P6Z.js";
2
+ import { s as h } from "./index-CU44LzPf.js";
3
3
  import { g as C, s as c } from "./index-CYp77kPp.js";
4
- import { ay as k, ax as _, a as S, u as A, az as T } from "./index.vue_vue_type_style_index_1_lang-CeaEXypd.js";
4
+ import { ay as k, ax as _, a as S, u as A, az as T } from "./index.vue_vue_type_style_index_1_lang-DtRssJWg.js";
5
5
  const B = S(), { itemData: I } = c(B), u = l(0), x = l([
6
6
  {
7
7
  label: "机构名称",
@@ -1 +1 @@
1
- "use strict";const e=require("vue"),d=require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DDk9QivU.cjs"),p=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),_={__name:"index",props:{optionContents:{type:Object,default:()=>{}}},setup(a){const s=a;let t=null,n=null;const r=e.ref({}),o=e.ref(null),u=()=>{o.value&&(n=new ResizeObserver(()=>{i()}),n.observe(o.value))};e.onMounted(()=>{r.value=s.optionContents,c(),window.addEventListener("resize",i),u()}),e.watch(()=>s.optionContents,()=>{r.value=s.optionContents,c()}),e.onUnmounted(()=>{n&&n.disconnect(),window.removeEventListener("resize",i)});const i=()=>{t.resize()},c=()=>{t&&t.dispose(),t=d.init(o.value);const l=r.value;t.setOption(l),t.resize()};return(l,f)=>(e.openBlock(),e.createElementBlock("div",{id:"chartModelId",class:"chart-model-class",ref_key:"chartModelRef",ref:o},null,512))}},v=p._export_sfc(_,[["__scopeId","data-v-69d6e63f"]]);exports.ssChart=v;
1
+ "use strict";const e=require("vue"),d=require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-0YQ6oGXD.cjs"),p=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),_={__name:"index",props:{optionContents:{type:Object,default:()=>{}}},setup(a){const s=a;let t=null,n=null;const r=e.ref({}),o=e.ref(null),u=()=>{o.value&&(n=new ResizeObserver(()=>{i()}),n.observe(o.value))};e.onMounted(()=>{r.value=s.optionContents,c(),window.addEventListener("resize",i),u()}),e.watch(()=>s.optionContents,()=>{r.value=s.optionContents,c()}),e.onUnmounted(()=>{n&&n.disconnect(),window.removeEventListener("resize",i)});const i=()=>{t.resize()},c=()=>{t&&t.dispose(),t=d.init(o.value);const l=r.value;t.setOption(l),t.resize()};return(l,f)=>(e.openBlock(),e.createElementBlock("div",{id:"chartModelId",class:"chart-model-class",ref_key:"chartModelRef",ref:o},null,512))}},v=p._export_sfc(_,[["__scopeId","data-v-69d6e63f"]]);exports.ssChart=v;
@@ -1 +1 @@
1
- "use strict";const M=require("vue"),n=require("./index-1z9RrjZc.cjs"),T=require("./index.vue_vue_type_style_index_1_lang-D2WqwMCZ.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-1z9RrjZc.cjs"),T=require("./index.vue_vue_type_style_index_1_lang-0RaoPzBs.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,12 +1,12 @@
1
1
  import { ref as me, computed as vt, resolveComponent as $t, createElementBlock as be, openBlock as fe, Fragment as Nt, renderList as Ht, createElementVNode as ve, toDisplayString as st, createVNode as he, watch as ue, withCtx as Me, createBlock as Wt, resolveDynamicComponent as gr, createTextVNode as pn, createCommentVNode as gt, normalizeStyle as mn, withModifiers as Dt, defineComponent as mr, inject as rr, shallowRef as Ni, reactive as Yt, toRef as Hi, onBeforeMount as yr, onMounted as br, watchEffect as Wi, onBeforeUnmount as xr, normalizeClass as ir, renderSlot as dn, nextTick as Ye, provide as or, toRefs as ar, withDirectives as Yi, mergeProps as Xi, vShow as Vi, unref as sr } from "vue";
2
- import { r as fn, g as wr } from "./index-VAoviGiD.js";
2
+ import { r as fn, g as wr } from "./index--cSKDs-m.js";
3
3
  import { p as yn, s as bn, c as De, E as Gi } from "./index-CYp77kPp.js";
4
- import { a as xn, E as Ui } from "./index.vue_vue_type_style_index_1_lang-CeaEXypd.js";
5
- import { i as Ce, o as ke, b as lr, w as qi, Z as Ki, n as Ji } from "./array-BzGprQMJ.js";
4
+ import { a as xn, E as Ui } from "./index.vue_vue_type_style_index_1_lang-DtRssJWg.js";
5
+ import { i as Ce, o as ke, b as lr, w as qi, Z as Ki, n as Ji } from "./array-DkjKZF8I.js";
6
6
  import { _ as wn } from "./_plugin-vue_export-helper-CHgC5LLL.js";
7
7
  import Zi from "./index-DiRBJiMW.js";
8
- import { a as Qi, b as eo } from "./index-BtktIcJr.js";
9
- import { g as to } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DM8to6QE.js";
8
+ import { a as Qi, b as eo } from "./index-DZ9voZQn.js";
9
+ import { g as to } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CmdURFaC.js";
10
10
  const no = { class: "type-select" }, ro = { class: "group-label" }, io = { class: "group-items" }, oo = ["onDragstart"], ao = {
11
11
  __name: "index",
12
12
  props: {
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),V=require("./index-DBS-llYZ.cjs"),h=require("./index.vue_vue_type_style_index_1_lang-D2WqwMCZ.cjs"),_=require("./index-1z9RrjZc.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-Dm9I-MGk.cjs"),h=require("./index.vue_vue_type_style_index_1_lang-0RaoPzBs.cjs"),_=require("./index-1z9RrjZc.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,6 +1,6 @@
1
1
  import { ref as _, computed as A } from "vue";
2
2
  import { d as I, E as s, g as M } from "./index-CYp77kPp.js";
3
- import { E as N } from "./index.vue_vue_type_style_index_1_lang-CeaEXypd.js";
3
+ import { E as N } from "./index.vue_vue_type_style_index_1_lang-DtRssJWg.js";
4
4
  const K = _([]), T = A(() => [
5
5
  {
6
6
  key: "extraButton",
@@ -1,28 +1,28 @@
1
1
  import { resolveComponent as ge, createBlock as pe, openBlock as d, withCtx as u, createElementVNode as c, toDisplayString as de, ref as w, onMounted as Qt, watch as je, createElementBlock as D, Fragment as xe, renderList as Ye, createCommentVNode as ae, normalizeStyle as pt, defineComponent as Mt, resolveDynamicComponent as Lt, unref as r, computed as nt, provide as Ct, resolveDirective as na, createVNode as i, withDirectives as tt, createTextVNode as Ve, vShow as Et, renderSlot as Xe, normalizeClass as Kt, createSlots as oa, mergeProps as sa, onUnmounted as Sa } from "vue";
2
- import { m as Vt, a as Gt, b as Jt } from "./index-CgkhjQBg.js";
3
- import "./index.vue_vue_type_style_index_0_scoped_92477073_lang-CX2RbTN9.js";
2
+ import { m as Vt, a as Gt, b as Jt } from "./index-Cki2sYVE.js";
3
+ import "./index.vue_vue_type_style_index_0_scoped_92477073_lang-Bwe93Xrr.js";
4
4
  import { _ as ht } from "./_plugin-vue_export-helper-CHgC5LLL.js";
5
- import { _ as Ea, e as ba, s as Qa } from "./index.vue_vue_type_style_index_0_scoped_bcdf4fb0_lang-BgGmA99m.js";
5
+ import { _ as Ea, e as ba, s as Qa } from "./index.vue_vue_type_style_index_0_scoped_bcdf4fb0_lang-q9M1UN39.js";
6
6
  import { c as rt, i as Ma, p as Pe, s as Se, u as jt, b as lt, g as vt, E as gt, d as $t, e as Da, f as Ra } from "./index-CYp77kPp.js";
7
- import { i as We, j as la, a as Dt, u as Rt, k as Ot, l as Ta, m as ia } from "./index.vue_vue_type_style_index_1_lang-CeaEXypd.js";
7
+ import { i as We, j as la, a as Dt, u as Rt, k as Ot, l as Ta, m as ia } from "./index.vue_vue_type_style_index_1_lang-DtRssJWg.js";
8
8
  import { S as Ue } from "./index-BHtNKL1L.js";
9
- import { a as Wt, s as at, o as Yt, b as Ft, c as ra, d as ca, e as ua, f as da, h as ga, i as Ua, j as pa, k as Pa, l as ha, m as ya, n as fa, p as ja, q as ma } from "./index-VAoviGiD.js";
10
- import { a as xa } from "./array-BzGprQMJ.js";
11
- import { u as Ht, a as Aa } from "./index-Drtr5P6Z.js";
12
- import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DM8to6QE.js";
9
+ import { a as Wt, s as at, o as Yt, b as Ft, c as ra, d as ca, e as ua, f as da, h as ga, i as Ua, j as pa, k as Pa, l as ha, m as ya, n as fa, p as ja, q as ma } from "./index--cSKDs-m.js";
10
+ import { a as xa } from "./array-DkjKZF8I.js";
11
+ import { u as Ht, a as Aa } from "./index-CU44LzPf.js";
12
+ import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CmdURFaC.js";
13
13
  import "./three-viewport-gizmo-CkQ98n-T.js";
14
- import "./index.vue_vue_type_style_index_1_lang-CrPsDsEY.js";
15
- import "./index-0yieO8oJ.js";
14
+ import "./index.vue_vue_type_style_index_1_lang-BDQcys0d.js";
15
+ import "./index-00LBNRcE.js";
16
16
  import { useRouter as Ca } from "vue-router";
17
- import Ka from "./index-Dtqc59Tk.js";
18
- import Ya from "./threeModel-wyboz8GN.js";
19
- import { s as Ut, _ as it } from "./index-Bxj1NF8c.js";
20
- import { d as Pt, T as Nt, u as Fa, a as Na } from "./threeViewerHost-6YyhGjjJ.js";
21
- import { _ as wt, g as La } from "./index-BtktIcJr.js";
22
- import { s as bt } from "./index-Dw-oonRR.js";
17
+ import Ka from "./index-JQmSnrnX.js";
18
+ import Ya from "./threeModel-B6Q20_0g.js";
19
+ import { s as Ut, _ as it } from "./index-C3pD8VjA.js";
20
+ import { d as Pt, T as Nt, u as Fa, a as Na } from "./threeViewerHost-CDEn7FfB.js";
21
+ import { _ as wt, g as La } from "./index-DZ9voZQn.js";
22
+ import { s as bt } from "./index-CBO4shBu.js";
23
23
  import { a as Va, d as Ga, t as Ja, c as Oa, b as Wa } from "./index-C2usxP_Q.js";
24
- import { v as Ha } from "./index-c2Td0J53.js";
25
- import { f as qa, a as Xa } from "./animationData-BWw4kCRg.js";
24
+ import { v as Ha } from "./index-DmYI7jW4.js";
25
+ import { f as qa, a as Xa } from "./animationData-Qb9CDU4l.js";
26
26
  const Za = { class: "menu-title" };
27
27
  function za(B, ee, e, C, b, N) {
28
28
  const a = ge("ssMenu");
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("vue"),_=require("./index-45a8lajL.cjs"),r=require("./index-1z9RrjZc.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-C__Dwz_q.cjs"),r=require("./index-1z9RrjZc.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,6 +1,6 @@
1
1
  import { defineComponent as l, reactive as c, onMounted as s, createElementBlock as r, openBlock as i, createVNode as p } from "vue";
2
- import { S as m } from "./index-Cdz24GlP.js";
3
- import { s as _ } from "./index-Drtr5P6Z.js";
2
+ import { S as m } from "./index-CpMQC4x1.js";
3
+ import { s as _ } from "./index-CU44LzPf.js";
4
4
  import { _ as d } from "./_plugin-vue_export-helper-CHgC5LLL.js";
5
5
  const f = { class: "log-wrap" }, u = /* @__PURE__ */ l({
6
6
  __name: "index",
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("vue");require("./index-CZs4OK7B.cjs");const h=require("./index-1z9RrjZc.cjs");require("./array-BnEzUAqG.cjs");const C=require("./_plugin-vue_export-helper-BHFhmbuH.cjs");require("./index.vue_vue_type_style_index_0_scoped_92477073_lang-BbO6f96z.cjs");require("./index.vue_vue_type_style_index_0_scoped_bcdf4fb0_lang-Cg8Mjd8K.cjs");require("./index-BpPyaNFa.cjs");require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DDk9QivU.cjs");require("./three-viewport-gizmo-BV37JzRa.cjs");require("./index.vue_vue_type_style_index_1_lang-D2WqwMCZ.cjs");require("./index.vue_vue_type_style_index_1_lang-CwoxJbwS.cjs");require("./index-BF5O3SKN.cjs");require("vue-router");require("./index-DE2PX8iP.cjs");require("./index-Cuw0COzP.cjs");const S={__name:"index",props:{windowConfig:{type:Object,default:()=>{}},systemInfo:{type:Object,default:()=>{}},systemKey:{type:String,default:""},pathContent:{type:String,default:""},mode:{type:String,default:"view"},content:{type:String,default:""},jsonContents:{type:Array,default:()=>[]},showButton:{type:Boolean,default:!0},nodeDev:{type:String,default:""},pageKey:{type:String,default:""}},emits:["buildContent","openThreeBuild","threeData"],setup(o,{emit:c}){const e=o,i=c,s=h.useLoginState();n.watch(()=>e==null?void 0:e.systemKey,t=>{s.setSystemKey(t),t!==""&&sessionStorage.setItem("systemKey",t)},{immediate:!0}),n.watch(()=>e==null?void 0:e.systemInfo,t=>{s.setSystemInfo(t)},{immediate:!0});const l=()=>{i("buildContent")},m=()=>{i("setLoginInfo")},y=t=>{i("openThreeBuild",t)},f=t=>{i("threeData",t)},d=()=>{var a;const t=e!=null&&e.windowConfig?(a=e==null?void 0:e.windowConfig)==null?void 0:a.width:window.innerWidth,r=1920,u=16,w=t/r,g=u*w;document.documentElement.style.fontSize=`${g}px`};return n.onMounted(()=>{d(),window.addEventListener("resize",d)}),n.onUnmounted(()=>{window.removeEventListener("resize",d)}),(t,r)=>{const u=n.resolveComponent("router-view");return n.openBlock(),n.createElementBlock("div",null,[n.createVNode(u,{mode:e==null?void 0:e.mode,content:e==null?void 0:e.content,jsonContents:e==null?void 0:e.jsonContents,pathContent:e==null?void 0:e.pathContent,showButton:e==null?void 0:e.showButton,nodeDev:e==null?void 0:e.nodeDev,windowConfig:o.windowConfig,systemInfo:o.systemInfo,"old-systemKey":o.systemKey,onBuildContent:l,onOpenThreeBuild:y,pageKey:o.pageKey,onThreeData:f,onSetLoginInfo:m},null,8,["mode","content","jsonContents","pathContent","showButton","nodeDev","windowConfig","systemInfo","old-systemKey","pageKey"])])}}},q=C._export_sfc(S,[["__scopeId","data-v-8729380f"]]);exports.default=q;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("vue");require("./index-C8W8SOHQ.cjs");const h=require("./index-1z9RrjZc.cjs");require("./array-CAYNJHAO.cjs");const C=require("./_plugin-vue_export-helper-BHFhmbuH.cjs");require("./index.vue_vue_type_style_index_0_scoped_92477073_lang-pzTuaxv5.cjs");require("./index.vue_vue_type_style_index_0_scoped_bcdf4fb0_lang-6VezR8np.cjs");require("./index-BpPyaNFa.cjs");require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-0YQ6oGXD.cjs");require("./three-viewport-gizmo-BV37JzRa.cjs");require("./index.vue_vue_type_style_index_1_lang-0RaoPzBs.cjs");require("./index.vue_vue_type_style_index_1_lang-Bc10b8Mi.cjs");require("./index-Dg_l3ZIM.cjs");require("vue-router");require("./index-Blj5w8sE.cjs");require("./index-JDMB7hc0.cjs");const S={__name:"index",props:{windowConfig:{type:Object,default:()=>{}},systemInfo:{type:Object,default:()=>{}},systemKey:{type:String,default:""},pathContent:{type:String,default:""},mode:{type:String,default:"view"},content:{type:String,default:""},jsonContents:{type:Array,default:()=>[]},showButton:{type:Boolean,default:!0},nodeDev:{type:String,default:""},pageKey:{type:String,default:""}},emits:["buildContent","openThreeBuild","threeData"],setup(o,{emit:c}){const e=o,i=c,s=h.useLoginState();n.watch(()=>e==null?void 0:e.systemKey,t=>{s.setSystemKey(t),t!==""&&sessionStorage.setItem("systemKey",t)},{immediate:!0}),n.watch(()=>e==null?void 0:e.systemInfo,t=>{s.setSystemInfo(t)},{immediate:!0});const l=()=>{i("buildContent")},m=()=>{i("setLoginInfo")},y=t=>{i("openThreeBuild",t)},f=t=>{i("threeData",t)},d=()=>{var a;const t=e!=null&&e.windowConfig?(a=e==null?void 0:e.windowConfig)==null?void 0:a.width:window.innerWidth,r=1920,u=16,w=t/r,g=u*w;document.documentElement.style.fontSize=`${g}px`};return n.onMounted(()=>{d(),window.addEventListener("resize",d)}),n.onUnmounted(()=>{window.removeEventListener("resize",d)}),(t,r)=>{const u=n.resolveComponent("router-view");return n.openBlock(),n.createElementBlock("div",null,[n.createVNode(u,{mode:e==null?void 0:e.mode,content:e==null?void 0:e.content,jsonContents:e==null?void 0:e.jsonContents,pathContent:e==null?void 0:e.pathContent,showButton:e==null?void 0:e.showButton,nodeDev:e==null?void 0:e.nodeDev,windowConfig:o.windowConfig,systemInfo:o.systemInfo,"old-systemKey":o.systemKey,onBuildContent:l,onOpenThreeBuild:y,pageKey:o.pageKey,onThreeData:f,onSetLoginInfo:m},null,8,["mode","content","jsonContents","pathContent","showButton","nodeDev","windowConfig","systemInfo","old-systemKey","pageKey"])])}}},q=C._export_sfc(S,[["__scopeId","data-v-8729380f"]]);exports.default=q;
@@ -1,6 +1,6 @@
1
1
  import { ref as n, computed as c, defineComponent as s, reactive as p, onMounted as i, createElementBlock as u, openBlock as f, createVNode as b } from "vue";
2
- import { s as m } from "./index-Drtr5P6Z.js";
3
- import { g as d, c as _ } from "./index-Cdz24GlP.js";
2
+ import { s as m } from "./index-CU44LzPf.js";
3
+ import { g as d, c as _ } from "./index-CpMQC4x1.js";
4
4
  import { _ as k } from "./_plugin-vue_export-helper-CHgC5LLL.js";
5
5
  const l = n([]), g = c(() => [
6
6
  {
@@ -1,12 +1,12 @@
1
1
  import { ref as G, resolveComponent as e0, createBlock as j, openBlock as b, createCommentVNode as t0, createSlots as B2, withCtx as H, renderSlot as u0, defineComponent as w2, onMounted as ae, createVNode as X, createElementVNode as o0, createElementBlock as V, Fragment as y0, renderList as D0, createTextVNode as ie, toDisplayString as q0, reactive as r1, h as Ee, Transition as $r, withDirectives as ht, vShow as Wt, createApp as Wr, toRefs as Mo, nextTick as _2, isRef as jr, computed as i0, watch as m2, onBeforeUnmount as kn, normalizeStyle as X0, normalizeClass as Y3, resolveDynamicComponent as jt, normalizeProps as Ur, guardReactiveProps as Fr, mergeProps as a1, withModifiers as To, inject as qr, watchEffect as we, onUnmounted as c1, unref as it, resolveDirective as Yr } from "vue";
2
2
  import { S as dt } from "./index-BHtNKL1L.js";
3
- import { h as Kr, d as Qe, S as ms, r as Xr, H as Qr, P as Jr, x as Zr, Q as vs, j as ws } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DM8to6QE.js";
3
+ import { h as Kr, d as Qe, S as ms, r as Xr, H as Qr, P as Jr, x as Zr, Q as vs, j as ws } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CmdURFaC.js";
4
4
  import { _ as P0 } from "./_plugin-vue_export-helper-CHgC5LLL.js";
5
- import { _ as ne, s as On } from "./index-Bxj1NF8c.js";
6
- import { a as Dn, u as zo, aL as Po } from "./index.vue_vue_type_style_index_1_lang-CeaEXypd.js";
5
+ import { _ as ne, s as On } from "./index-C3pD8VjA.js";
6
+ import { a as Dn, u as zo, aL as Po } from "./index.vue_vue_type_style_index_1_lang-DtRssJWg.js";
7
7
  import { bC as Ao, bD as Vo, c4 as ea, c5 as xs, br as ta, aW as e3, O as ia, a8 as Eo, aA as Ct, aV as bs, V as Bo, c6 as na, p as t3, s as i3, c as q2, E as Mn, a as Lo, c7 as sa, aM as oa, ao as la, c8 as ra, b as aa, aS as ca } from "./index-CYp77kPp.js";
8
- import { b as Ho, T as K3, a as ha, d as da } from "./threeViewerHost-6YyhGjjJ.js";
9
- import { s as ua } from "./index-MJGhXKrR.js";
8
+ import { b as Ho, T as K3, a as ha, d as da } from "./threeViewerHost-CDEn7FfB.js";
9
+ import { s as ua } from "./index-Bx9yQVlT.js";
10
10
  var fa = "[object Date]";
11
11
  function pa(n) {
12
12
  return Ao(n) && Vo(n) == fa;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue");require("./index-BpPyaNFa.cjs");require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DDk9QivU.cjs");const r=require("./index.vue_vue_type_style_index_1_lang-D2WqwMCZ.cjs"),c=require("./index-1z9RrjZc.cjs"),i=require("./index-DBS-llYZ.cjs"),y=r.useModelComp(),{itemData:g}=c.storeToRefs(y),p=o.ref(0),D=o.ref([{label:"机构名称",value:"",name:"deptName"}]),_=e=>{console.log("handleQueryChange",e)},u=o.ref([{key:"extraButton",contents:[{label:"新增"}]},{key:"rowButton",contents:[{label:"编辑"},{label:"删除"}]},{key:"header",contents:[{label:"机构名称",prop:"deptName"},{label:"机构类型",prop:"deptType",formType:"Select",options:[{label:"集团",value:"集团"},{label:"公司",value:"公司"},{label:"部门",value:"部门"},{label:"区域",value:"区域"},{label:"组",value:"组"}]},{label:"机构状态",formType:"Radio",prop:"deptStatus",options:[{label:"启用",value:"启用"},{label:"禁用",value:"禁用"}]},{label:"操作"}]},{key:"tableContents",contents:[]}]),f=e=>{r.submitTableAsyncByVerify(e.singleContent,e.buttonName,p.value)},m=e=>{console.log("onDoubleClick",e)},h=(e,a)=>{console.log("onButtonClick",e,a)},C=async e=>{const a=await r.handleSubmitAsync(c.getInsofDataApi,{key:{systemKey:sessionStorage.getItem("systemKey"),type:"data",pageKey:e}},"查询"),l=a==null?void 0:a.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((d,b)=>{s[`a${b}`]=d}),s}else return{...t.tableData,id:t.id}})},v={comp:"Group",name:"/系统管理/部门管理",compData:[{key:"groupContents",contents:[{comp:"Table",compData:u.value,name:""}]}]};o.watch(()=>g.value,e=>{var a;e&&(e==null?void 0:e.length)>0&&(u.value=(a=e==null?void 0:e[0])==null?void 0:a.compData)});const S=Object.freeze(Object.defineProperty({__proto__:null,getPageDataAsync:C,handleItemDataChange:f,handleQueryChange:_,onButtonClick:h,onDoubleClick:m,pageData:u,queryFormData:D,structureId:p,tempDeptPageData:v},Symbol.toStringTag,{value:"Module"})),k={class:"role-wrapper"},T=o.defineComponent({__name:"index",setup(e){const a=o.reactive({...S}),l=r.useMenuState(),{activeMenuPath:t}=c.storeToRefs(l);return o.onMounted(async()=>{a.structureId=await r.getActivePageStructureId(t.value)}),(n,s)=>(o.openBlock(),o.createElementBlock("div",k,[o.createVNode(i.ssTable,{itemData:a.pageData,onChange:a.handleItemDataChange},null,8,["itemData","onChange"])]))}});exports.default=T;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue");require("./index-BpPyaNFa.cjs");require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-0YQ6oGXD.cjs");const r=require("./index.vue_vue_type_style_index_1_lang-0RaoPzBs.cjs"),c=require("./index-1z9RrjZc.cjs"),i=require("./index-Dm9I-MGk.cjs"),y=r.useModelComp(),{itemData:g}=c.storeToRefs(y),p=o.ref(0),D=o.ref([{label:"机构名称",value:"",name:"deptName"}]),_=e=>{console.log("handleQueryChange",e)},u=o.ref([{key:"extraButton",contents:[{label:"新增"}]},{key:"rowButton",contents:[{label:"编辑"},{label:"删除"}]},{key:"header",contents:[{label:"机构名称",prop:"deptName"},{label:"机构类型",prop:"deptType",formType:"Select",options:[{label:"集团",value:"集团"},{label:"公司",value:"公司"},{label:"部门",value:"部门"},{label:"区域",value:"区域"},{label:"组",value:"组"}]},{label:"机构状态",formType:"Radio",prop:"deptStatus",options:[{label:"启用",value:"启用"},{label:"禁用",value:"禁用"}]},{label:"操作"}]},{key:"tableContents",contents:[]}]),f=e=>{r.submitTableAsyncByVerify(e.singleContent,e.buttonName,p.value)},m=e=>{console.log("onDoubleClick",e)},h=(e,a)=>{console.log("onButtonClick",e,a)},C=async e=>{const a=await r.handleSubmitAsync(c.getInsofDataApi,{key:{systemKey:sessionStorage.getItem("systemKey"),type:"data",pageKey:e}},"查询"),l=a==null?void 0:a.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((d,b)=>{s[`a${b}`]=d}),s}else return{...t.tableData,id:t.id}})},v={comp:"Group",name:"/系统管理/部门管理",compData:[{key:"groupContents",contents:[{comp:"Table",compData:u.value,name:""}]}]};o.watch(()=>g.value,e=>{var a;e&&(e==null?void 0:e.length)>0&&(u.value=(a=e==null?void 0:e[0])==null?void 0:a.compData)});const S=Object.freeze(Object.defineProperty({__proto__:null,getPageDataAsync:C,handleItemDataChange:f,handleQueryChange:_,onButtonClick:h,onDoubleClick:m,pageData:u,queryFormData:D,structureId:p,tempDeptPageData:v},Symbol.toStringTag,{value:"Module"})),k={class:"role-wrapper"},T=o.defineComponent({__name:"index",setup(e){const a=o.reactive({...S}),l=r.useMenuState(),{activeMenuPath:t}=c.storeToRefs(l);return o.onMounted(async()=>{a.structureId=await r.getActivePageStructureId(t.value)}),(n,s)=>(o.openBlock(),o.createElementBlock("div",k,[o.createVNode(i.ssTable,{itemData:a.pageData,onChange:a.handleItemDataChange},null,8,["itemData","onChange"])]))}});exports.default=T;
@@ -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-N9O6PaDb.js";
3
- import { s as B } from "./index-Drtr5P6Z.js";
4
- import { s as F } from "./index-Bxj1NF8c.js";
5
- import { c as y } from "./index-BtktIcJr.js";
6
- import { u as S } from "./index.vue_vue_type_style_index_1_lang-CeaEXypd.js";
2
+ import { S as x } from "./index-UMRAFAXe.js";
3
+ import { s as B } from "./index-CU44LzPf.js";
4
+ import { s as F } from "./index-C3pD8VjA.js";
5
+ import { c as y } from "./index-DZ9voZQn.js";
6
+ import { u as S } from "./index.vue_vue_type_style_index_1_lang-DtRssJWg.js";
7
7
  import { p as I, s as N } from "./index-CYp77kPp.js";
8
8
  import { _ as R } from "./_plugin-vue_export-helper-CHgC5LLL.js";
9
9
  const E = { class: "menu-module" }, 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-CYp77kPp.js";
3
- import { u as M } from "./index.vue_vue_type_style_index_1_lang-CeaEXypd.js";
4
- import { s as D } from "./index-Drtr5P6Z.js";
3
+ import { u as M } from "./index.vue_vue_type_style_index_1_lang-DtRssJWg.js";
4
+ import { s as D } from "./index-CU44LzPf.js";
5
5
  import { a as T, d as S, f as w } from "./index-BwjuTBrR.js";
6
6
  import { _ as B } from "./_plugin-vue_export-helper-CHgC5LLL.js";
7
7
  const N = { class: "menu-content" }, E = /* @__PURE__ */ y({
@@ -1 +1 @@
1
- "use strict";const g=require("vue"),p=require("./index-1z9RrjZc.cjs"),w=require("./index.vue_vue_type_style_index_1_lang-D2WqwMCZ.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-1z9RrjZc.cjs"),w=require("./index.vue_vue_type_style_index_1_lang-0RaoPzBs.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;