ss-component-new 1.1.727 → 1.1.729

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/{array-DCs-p8S9.js → array-DvKDOIGB.js} +1 -1
  2. package/dist/icons/svg//350/264/250/351/207/217/350/256/241/345/210/222.svg +1 -0
  3. package/dist/index-1AJPd78t.cjs +1 -0
  4. package/dist/{index-B7F0xBZ7.js → index-2X8ZJCBr.js} +4 -4
  5. package/dist/index-5xG1mLNc.js +517 -0
  6. package/dist/{index-DCGzuW4E.cjs → index-8yPe_ZIm.cjs} +1 -1
  7. package/dist/{index-BGgvtbgz.js → index-9FgR1N_g.js} +1 -1
  8. package/dist/{index-C3u0OLeC.js → index-B6dg_ENP.js} +3 -3
  9. package/dist/{index-sHcmTWvQ.cjs → index-B9Vdectg.cjs} +1 -1
  10. package/dist/{index-hfWI2yxO.cjs → index-BC2VbTNW.cjs} +1 -1
  11. package/dist/{index-QthCG0u4.cjs → index-BDARIJzh.cjs} +1 -1
  12. package/dist/{index-CZqdaUlf.js → index-BJoAo4eR.js} +3 -3
  13. package/dist/index-BSJ39FNj.cjs +1 -0
  14. package/dist/{index-DT8MTVtq.cjs → index-BTK655Rt.cjs} +1 -1
  15. package/dist/{index-D0x0LUZf.js → index-BUh0LsYj.js} +7855 -7829
  16. package/dist/index-BWSzs3A-.js +61 -0
  17. package/dist/{index-09tmRTM_.js → index-BZ9F30cB.js} +8 -8
  18. package/dist/{index-B174m7lh.cjs → index-Bdu-6tUy.cjs} +1 -1
  19. package/dist/{index-DdY4gcDj.js → index-BkJD7I2W.js} +2 -2
  20. package/dist/{index-Deb6BACo.js → index-C9ygF_9Z.js} +2893 -2855
  21. package/dist/{index-DIlWcnao.js → index-CANwR7cK.js} +1 -1
  22. package/dist/{index-BENPqdDI.cjs → index-CGu6YgDp.cjs} +1 -1
  23. package/dist/index-CH66t2vt.js +292 -0
  24. package/dist/{index-Cp4HmMnx.js → index-CKOHeMkR.js} +4 -4
  25. package/dist/{index-CnshUwiD.cjs → index-CNRvK4Xj.cjs} +1 -1
  26. package/dist/{index-DFeq6wud.js → index-CTA-V8kI.js} +4 -4
  27. package/dist/{index-BNwl-Dk5.cjs → index-CTZvW8Fg.cjs} +12 -12
  28. package/dist/{index-Bw0jRXvr.js → index-CTmW7rWz.js} +6 -6
  29. package/dist/{index-jPtL73TA.js → index-CYfIkC78.js} +6 -6
  30. package/dist/{index-BHZ56TUj.js → index-Cb3t0lj_.js} +21 -21
  31. package/dist/{index-CnMp0U5r.cjs → index-CdZvcMjf.cjs} +1 -1
  32. package/dist/{index--xp_eLCh.cjs → index-CfhtlRJh.cjs} +1 -1
  33. package/dist/{index-ChrEMLZA.js → index-Cg9bDrdL.js} +1 -1
  34. package/dist/index-D1IAgzys.cjs +4207 -0
  35. package/dist/{index-CXCixWZC.js → index-D3uzrMDn.js} +11 -10
  36. package/dist/{index-CYEN1Rnv.js → index-D6FDC2OT.js} +3 -3
  37. package/dist/{index-pV7gC79R.js → index-DIkHqhPG.js} +17 -16
  38. package/dist/{index-B2o9Tpr-.js → index-DUEUaonl.js} +4 -4
  39. package/dist/index-DW7Dagux.cjs +1 -0
  40. package/dist/{index-D9kK5iZe.cjs → index-DiHh_qmY.cjs} +1 -1
  41. package/dist/{index-Bp1T2IYL.cjs → index-DkT1FEwR.cjs} +1 -1
  42. package/dist/{index-oaOsf4oc.js → index-DseGoh_s.js} +4 -4
  43. package/dist/{index-ERqGfqmX.js → index-DtAFpiBz.js} +7 -7
  44. package/dist/index-Dw_5h9yW.cjs +1 -0
  45. package/dist/{index-Br0s6knS.cjs → index-GtHPQTxX.cjs} +1 -1
  46. package/dist/{index-DJ2FxFvx.js → index-SwW4eSXB.js} +1 -1
  47. package/dist/{index-BCoeJTAN.js → index-jyMi9q-0.js} +5 -5
  48. package/dist/{index-BKJ3kn9N.js → index-nmKxXFXJ.js} +2 -2
  49. package/dist/index-w4bBY3bg.cjs +1 -0
  50. package/dist/{index.vue_vue_type_script_setup_true_lang-Bv5WQND8.cjs → index.vue_vue_type_script_setup_true_lang-BRlh6QO_.cjs} +1 -1
  51. package/dist/{index.vue_vue_type_script_setup_true_lang-CJUgL2n7.js → index.vue_vue_type_script_setup_true_lang-CyDSZn-Q.js} +2 -2
  52. package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BCzBFKbs.js → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DZM6EJDg.js} +1715 -1720
  53. package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-Bl2nwV8n.cjs → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-VzL4xNxw.cjs} +56 -56
  54. package/dist/{index.vue_vue_type_style_index_0_scoped_8606206c_lang-BgG90_32.cjs → index.vue_vue_type_style_index_0_scoped_8606206c_lang-Bj0CmLCT.cjs} +2 -2
  55. package/dist/{index.vue_vue_type_style_index_0_scoped_8606206c_lang-CJPWLjXe.js → index.vue_vue_type_style_index_0_scoped_8606206c_lang-CSrw2Qin.js} +17 -17
  56. package/dist/{index.vue_vue_type_style_index_0_scoped_c81d0427_lang-CA7zLyeQ.js → index.vue_vue_type_style_index_0_scoped_c81d0427_lang-BtGNhyQV.js} +8 -8
  57. package/dist/{index.vue_vue_type_style_index_0_scoped_c81d0427_lang-J6dfG68d.cjs → index.vue_vue_type_style_index_0_scoped_c81d0427_lang-BvckNB-n.cjs} +1 -1
  58. package/dist/{login-BAPByjhd.js → login-tuTXg0Re.js} +1 -1
  59. package/dist/{main-DD-dH605.js → main-DZ3x6_Gx.js} +5 -5
  60. package/dist/{main-4z9ptxTG.cjs → main-DdSI8q3y.cjs} +1 -1
  61. package/dist/{modelComp-CO-Dnkf5.js → modelComp-BwgAaNtJ.js} +1 -1
  62. package/dist/ss-component.cjs +1 -1
  63. package/dist/ss-component.css +2 -2
  64. package/dist/ss-component.js +10 -10
  65. package/dist/ss-component2.cjs +1 -1
  66. package/dist/ss-component2.js +10 -10
  67. package/dist/{threeModel-i3Bu_P25.cjs → threeModel-BXxpDTWW.cjs} +1 -1
  68. package/dist/{threeModel-CcnQoarI.js → threeModel-PYPOqSkk.js} +3 -3
  69. package/package.json +1 -1
  70. package/public/icons/svg//350/264/250/351/207/217/350/256/241/345/210/222.svg +1 -0
  71. package/dist/index-BDdygheM.js +0 -345
  72. package/dist/index-BfzkEvP8.cjs +0 -1
  73. package/dist/index-BlTd8FfK.cjs +0 -1
  74. package/dist/index-C4T0S4zQ.cjs +0 -4207
  75. package/dist/index-CfE14Fga.cjs +0 -1
  76. package/dist/index-CtvRZBZi.cjs +0 -1
  77. package/dist/index-vR1C_1nL.js +0 -517
  78. package/dist/obj/model.mtl +0 -42
  79. package/dist/obj/model.obj +0 -26110
  80. package/public/obj/model.mtl +0 -42
  81. package/public/obj/model.obj +0 -26110
  82. /package/dist/icons/svg//{350/265/204/350/264/250/347/256/241/347/220/206.svg" → 344/272/272/345/221/230/350/265/204/350/264/250.svg"} +0 -0
  83. /package/public/icons/svg//{350/265/204/350/264/250/347/256/241/347/220/206.svg" → 344/272/272/345/221/230/350/265/204/350/264/250.svg"} +0 -0
@@ -1,5 +1,5 @@
1
1
  import { ref as E } from "vue";
2
- import { c as a } from "./login-BAPByjhd.js";
2
+ import { c as a } from "./login-tuTXg0Re.js";
3
3
  const A = [
4
4
  {
5
5
  key: "FormName",
@@ -0,0 +1 @@
1
+ <?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1756260810682" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5243" xmlns:xlink="http://www.w3.org/1999/xlink" width="32" height="32"><path d="M599.445496 583.730177A44.076284 44.076284 0 0 0 568.283207 508.598529H232.067891a44.052523 44.052523 0 0 0 0 88.105045h336.215316a43.862436 43.862436 0 0 0 31.162289-12.973397zM436.707779 672.963861H232.067891a44.052523 44.052523 0 0 0 0.059402 88.105045h204.746811a44.123805 44.123805 0 0 0 43.95748-44.111924 44.088164 44.088164 0 0 0-44.040642-43.95748zM599.338573 368.041518A43.696111 43.696111 0 0 0 568.283207 355.198805H232.067891a44.040642 44.040642 0 0 0 0 88.081285h336.215316a44.064403 44.064403 0 0 0 31.055366-75.238572zM960.55025 696.890986a19.662062 19.662062 0 0 1-18.794792-20.19668 22.168826 22.168826 0 0 1 2.447362-8.708333A35.272907 35.272907 0 0 0 930.635404 620.856427l-79.277909-45.858343a35.189744 35.189744 0 0 0-47.676044 12.165529 19.341291 19.341291 0 0 1-16.561278 9.231071 19.733344 19.733344 0 0 1-16.513756-9.183549 35.165984 35.165984 0 0 0-47.878011-12.17741l-79.01654 45.620735a34.655126 34.655126 0 0 0-13.412971 13.412972 35.011538 35.011538 0 0 0 0 34.17991 19.353171 19.353171 0 0 1-0.332651 19.115564 19.00864 19.00864 0 0 1-16.014779 9.611243 35.154103 35.154103 0 0 0-33.882901 35.320429v91.21771c0.106924 5.9402 1.627615 11.785357 5.488745 18.771032a35.890688 35.890688 0 0 0 28.394156 16.775125A19.448215 19.448215 0 0 1 632.437367 879.71846a16.715723 16.715723 0 0 1-2.114711 7.841064 35.546156 35.546156 0 0 0 13.793144 46.511765l79.491755 45.775181a35.6412 35.6412 0 0 0 47.402796-11.345782c7.282685-11.191337 25.530979-11.131935 32.69486 0a35.177864 35.177864 0 0 0 29.701 16.181105h0.368292a34.631366 34.631366 0 0 0 16.347431-4.122499l79.598679-45.882104a35.154103 35.154103 0 0 0 13.98323-46.808776 18.937357 18.937357 0 0 1-2.114711-7.983628 19.448215 19.448215 0 0 1 18.521544-20.315484 36.128296 36.128296 0 0 0 34.310595-35.914449v-91.479079a35.522396 35.522396 0 0 0-33.871021-35.284788z m-89.102999 189.480498l-32.623578 18.901716a89.970268 89.970268 0 0 0-103.359479 0l-32.362209-18.735391a90.457365 90.457365 0 0 0-52.345042-90.065311v-37.13813a90.980102 90.980102 0 0 0 52.178717-91.253351l31.447418-18.272055a91.21771 91.21771 0 0 0 105.664277 0l31.435538 18.272055a91.003863 91.003863 0 0 0 52.273759 91.384035v37.007446a89.863345 89.863345 0 0 0-52.321281 89.839584z" p-id="5244"></path><path d="M787.060771 679.806971a97.645007 97.645007 0 1 0 97.680648 97.633126 97.75193 97.75193 0 0 0-97.680648-97.633126z m33.716575 97.633126a33.692814 33.692814 0 1 1-33.716575-33.669053 33.704694 33.704694 0 0 1 33.716575 33.669053z" p-id="5245"></path><path d="M606.39553 935.924632H116.447839V174.153392h159.423086v45.858343A44.123805 44.123805 0 0 0 319.98285 264.088019h0.225728a44.064403 44.064403 0 0 0 43.814914-43.95748V174.153392H473.240008v45.858343a44.100044 44.100044 0 0 0 43.95748 44.076284h0.059402a44.230729 44.230729 0 0 0 43.957479-43.95748V174.153392h182.673029v340.884313a44.135686 44.135686 0 0 0 44.040642 43.95748h0.142565a44.147566 44.147566 0 0 0 43.95748-44.100044V130.195912a44.100044 44.100044 0 0 0-44.040643-44.064403H561.273771V44.763957a44.040642 44.040642 0 1 0-88.069404 0v41.403193h-109.204635V44.763957a44.064403 44.064403 0 1 0-88.128807 0v41.403193H72.953695A44.111925 44.111925 0 0 0 28.913053 130.195912v849.543635a44.111925 44.111925 0 0 0 44.040642 44.040642h497.064051l-0.320771 0.213847h36.698555a44.040642 44.040642 0 1 0 0-88.069404z" p-id="5246"></path></svg>
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),a=require("./index-w4bBY3bg.cjs"),i=require("./index-DiHh_qmY.cjs"),c=require("./index-CTZvW8Fg.cjs"),l=require("./login-DTNO3Kcx.cjs"),g=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),_={class:"personal-wrapper"},b={class:"personal-box left"},m={class:"base-avatar"},f={class:"center-avatar"},v={class:"base-info"},p={class:"base-signature"},k={class:"personal-box right"},C=e.defineComponent({__name:"index",setup(S){const t=e.reactive({...a.State}),d=l.useLoginState(),{loginUserInfo:n}=l.storeToRefs(d);return e.onMounted(()=>{var s;t.getUserTableHeadersAsync(),t.refreshLoginUserInfoAsync((s=n==null?void 0:n.value)==null?void 0:s.id),a.tabKey.value++}),(s,o)=>{const u=e.resolveDirective("loading");return e.openBlock(),e.createElementBlock("div",_,[e.createElementVNode("div",b,[e.createElementVNode("div",m,[e.withDirectives((e.openBlock(),e.createElementBlock("div",f,[e.createVNode(i.ssAvatar,{disabled:t.uploadDisabled,userInfo:e.unref(n),onSubmitImage:o[0]||(o[0]=r=>t.submitImageAsync("avatarUrl",r))},null,8,["disabled","userInfo"])])),[[u,t.loading]])]),e.createElementVNode("div",v,[e.createVNode(c.ssForm,{rowContents:t.rowContents,isEnableWrap:!1,isButtonRow:!0,isEdit:!1},null,8,["rowContents"])]),e.createElementVNode("div",p,[e.createVNode(i.ssSignature,{userInfo:e.unref(n),itemData:t.itemData,onClickSignButton:t.clickSignButton,onBeforeDestroy:t.beforeSignDestroy,onClickSubmitSign:o[1]||(o[1]=r=>t.submitImageAsync("signature",r))},null,8,["userInfo","itemData","onClickSignButton","onBeforeDestroy"])])]),e.createElementVNode("div",k,[(e.openBlock(),e.createBlock(c.ssTab,{key:e.unref(a.tabKey),tabsContents:t.tabsContents,onChangeTrigger:t.changeFormTrigger,onClickTrigger:t.clickTabButton},null,8,["tabsContents","onChangeTrigger","onClickTrigger"]))])])}}}),B=g._export_sfc(C,[["__scopeId","data-v-a55e627c"]]);exports.default=B;
@@ -1,8 +1,8 @@
1
1
  import { ref as n, watch as b } from "vue";
2
- import { g as y } from "./index-BHZ56TUj.js";
3
- import { s as d, f as m } from "./index-oaOsf4oc.js";
4
- import { u as g } from "./modelComp-CO-Dnkf5.js";
5
- import { s as f } from "./login-BAPByjhd.js";
2
+ import { g as y } from "./index-Cb3t0lj_.js";
3
+ import { s as d, f as m } from "./index-DseGoh_s.js";
4
+ import { u as g } from "./modelComp-BwgAaNtJ.js";
5
+ import { s as f } from "./login-tuTXg0Re.js";
6
6
  const D = g(), { itemData: i } = f(D), c = n(0), h = n([
7
7
  {
8
8
  label: "机构名称",
@@ -0,0 +1,517 @@
1
+ import { createElementBlock as J, openBlock as V, createElementVNode as v, renderSlot as P, defineComponent as F, ref as T, resolveComponent as N, createVNode as h, withCtx as b, reactive as se, watch as z, unref as U, toDisplayString as B, createTextVNode as O } from "vue";
2
+ import { _ as X } from "./_plugin-vue_export-helper-CHgC5LLL.js";
3
+ import { useRouter as fe } from "vue-router";
4
+ import { u as ye, a as ce, p as H, s as ge } from "./login-tuTXg0Re.js";
5
+ import { g as L, E as I, s as Ae, a as me } from "./index-Cb3t0lj_.js";
6
+ import { d as be } from "./crypto-BRyGpjGR.js";
7
+ import { r as he, g as ve, c as _e, a as we, b as Ce, d as Ee, h as Ie } from "./index-DseGoh_s.js";
8
+ const Se = {}, ke = { class: "left-wrap" }, Ke = { class: "left-bg" };
9
+ function Te(w, S) {
10
+ return V(), J("div", ke, [
11
+ v("div", Ke, [
12
+ P(w.$slots, "img", {}, void 0, !0)
13
+ ])
14
+ ]);
15
+ }
16
+ const Ne = /* @__PURE__ */ X(Se, [["render", Te], ["__scopeId", "data-v-9b7ee6c9"]]), Ue = { class: "right-wrap" }, xe = { class: "right-title" }, Be = { class: "right-content" }, Me = { class: "tab-content" }, Pe = { class: "tab-tips" }, Le = /* @__PURE__ */ F({
17
+ __name: "index",
18
+ props: {
19
+ tabList: {
20
+ type: Array,
21
+ default: []
22
+ },
23
+ loading: {
24
+ type: Boolean,
25
+ default: !1
26
+ }
27
+ },
28
+ emits: ["clickLogin", "handleTabClick"],
29
+ setup(w, { emit: S }) {
30
+ const y = T("account"), r = S, p = () => {
31
+ r("clickLogin", y.value);
32
+ }, g = () => {
33
+ r("handleTabClick", y.value);
34
+ };
35
+ return (d, A) => {
36
+ const l = N("el-button"), f = N("el-tab-pane"), C = N("el-tabs");
37
+ return V(), J("div", Ue, [
38
+ v("div", xe, [
39
+ P(d.$slots, "title", {}, void 0, !0)
40
+ ]),
41
+ v("div", Be, [
42
+ h(C, {
43
+ modelValue: y.value,
44
+ "onUpdate:modelValue": A[0] || (A[0] = (k) => y.value = k),
45
+ class: "right-tabs",
46
+ onTabClick: g
47
+ }, {
48
+ default: b(() => [
49
+ h(f, { name: "account" }, {
50
+ label: b(() => [
51
+ P(d.$slots, "tabLabel2", {}, void 0, !0)
52
+ ]),
53
+ default: b(() => [
54
+ v("div", Me, [
55
+ P(d.$slots, "tabContent2", {}, void 0, !0)
56
+ ]),
57
+ v("div", {
58
+ class: "tab-button special",
59
+ onClick: p
60
+ }, [
61
+ h(l, { loading: w.loading }, {
62
+ default: b(() => [
63
+ P(d.$slots, "tabButton2", {}, void 0, !0)
64
+ ]),
65
+ _: 3
66
+ }, 8, ["loading"])
67
+ ]),
68
+ v("div", Pe, [
69
+ P(d.$slots, "tabTips2", {}, void 0, !0)
70
+ ])
71
+ ]),
72
+ _: 3
73
+ })
74
+ ]),
75
+ _: 3
76
+ }, 8, ["modelValue"])
77
+ ])
78
+ ]);
79
+ };
80
+ }
81
+ }), Qe = /* @__PURE__ */ X(Le, [["__scopeId", "data-v-3ebcb6e2"]]), Re = { class: "account-wrap" }, De = /* @__PURE__ */ F({
82
+ __name: "index",
83
+ props: {
84
+ activeTabName: {
85
+ type: String,
86
+ default: ""
87
+ },
88
+ isClickLogin: {
89
+ type: Boolean,
90
+ default: !1
91
+ }
92
+ },
93
+ emits: ["handleLoginFormChange"],
94
+ setup(w, { emit: S }) {
95
+ const y = w, r = se({
96
+ account: "",
97
+ password: ""
98
+ }), p = se({
99
+ account: [
100
+ { required: !0, message: "请输入账号", trigger: "blur" }
101
+ ],
102
+ password: [
103
+ { required: !0, message: "请输入密码", trigger: "blur" }
104
+ ]
105
+ }), g = T(null), d = S;
106
+ return z(() => y.isClickLogin, (A) => {
107
+ var l;
108
+ A && ((l = g.value) == null || l.validate((f) => {
109
+ d("handleLoginFormChange", f, f ? r : null);
110
+ }));
111
+ }, {
112
+ immediate: !0
113
+ }), z(() => y.activeTabName, (A) => {
114
+ var l;
115
+ A && ((l = g.value) == null || l.resetFields());
116
+ }), (A, l) => {
117
+ const f = N("svg-icon"), C = N("el-input"), k = N("el-form-item"), M = N("el-form");
118
+ return V(), J("div", Re, [
119
+ h(M, {
120
+ model: r,
121
+ rules: p,
122
+ ref_key: "formRef",
123
+ ref: g
124
+ }, {
125
+ default: b(() => [
126
+ h(k, {
127
+ label: "",
128
+ prop: "account"
129
+ }, {
130
+ default: b(() => [
131
+ h(C, {
132
+ modelValue: r.account,
133
+ "onUpdate:modelValue": l[0] || (l[0] = (E) => r.account = E),
134
+ placeholder: "请输入账号",
135
+ clearable: ""
136
+ }, {
137
+ prefix: b(() => [
138
+ h(f, {
139
+ name: "account",
140
+ style: { width: "15px", height: "15px" }
141
+ })
142
+ ]),
143
+ _: 1
144
+ }, 8, ["modelValue"])
145
+ ]),
146
+ _: 1
147
+ }),
148
+ h(k, {
149
+ label: "",
150
+ prop: "password"
151
+ }, {
152
+ default: b(() => [
153
+ h(C, {
154
+ modelValue: r.password,
155
+ "onUpdate:modelValue": l[1] || (l[1] = (E) => r.password = E),
156
+ type: "password",
157
+ placeholder: "请输入密码",
158
+ "show-password": "",
159
+ clearable: ""
160
+ }, {
161
+ prefix: b(() => [
162
+ h(f, {
163
+ name: "password",
164
+ style: { width: "15px", height: "15px" }
165
+ })
166
+ ]),
167
+ _: 1
168
+ }, 8, ["modelValue"])
169
+ ]),
170
+ _: 1
171
+ })
172
+ ]),
173
+ _: 1
174
+ }, 8, ["model", "rules"])
175
+ ]);
176
+ };
177
+ }
178
+ }), Oe = /* @__PURE__ */ X(De, [["__scopeId", "data-v-b023e8c1"]]), Je = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAgCAYAAAB6kdqOAAAAAXNSR0IArs4c6QAAAd9JREFUWEftl71OAkEQx/97QC8XEj+iiTGexo/OnvgE0ChPIIXHQwgP4amxsYZGnkCtpbAxxiyJFEqCJie1yK7ZixhUuNtZYkLUa2/+M7+ZnbnbYTB87P3bIpi1BWCt34UEzpkUF35huWjimpmIlCbp8TMGbA7RX/uus27i2xjI9rgMC+i7jpFvI5EC+XEg2+NlSKTBMKmTuS5QlB2ApgRqz66TVXGDCmmIPhh7RxGl0bXrT15pWNLjVQZkdBuwF0i3qaPAv8StMNvjDwBmdIGQwJyfd+51xn7i4GbekvE7bd8SLQUUOi3fnElR0v3GvEPvaQOpHiIDKe9SlIQlTtq7K41BwexjPosXsQNmkWCCpjYCoqRMtP0HiirY76uQBWQRS1xalhCvnW4aQDmqCmHvR6rQsB/oKIMyClDOd53KoGxTHs8IoGpSKWOgeCI29ZhfaA0EOmpMi26n+beBAIzXkanjGLemDlpkrMbepGmjNMZTFuXY9D0dSF09wE7bhaWrsKD2IV+FgNrNtilwVKCK7zo5SgDqJY0EFJPMeSos1ilAKa++ISBruhoSUNi3Z1hA2+PqyLR/uPRLvm6qJnbqkk9dg0ziEDQV8qJIcE42DRbFnkp3lSZHiRZ8WqXfAFwe+He0YFLSAAAAAElFTkSuQmCC", Ve = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAx1JREFUWEfFV01oE1EQnnmpYJRGL/6gYsGLVCoUzMGLNrO1B4sYKooXQT0JWtSK4KEHEVERPCjUHgqCQlFED4raUmP3bS0UhRQKnrTorQdFBBOkBZP97AuJbNo0+2KF7GlJ3sz3zcw3M2+Z6vxwnfHJmkAqlVrT0NCwB8BepdQuAOuJaEMxgK/M/M33/UlmfpvL5cY7Ojp+2gQXSiCdTq/IZrNniOg0gM1WTplniKi/sbHxbjwe/13NpioBrXUcwB0iarUBrnBmipnPiUh6KfslCXiet9/3/af/CFxmppQ6nEgkhiv5qkhAa90N4Ob/AC/5YOZLItK30OciAlrrAwAe24Iz8yul1A0imgPQ5ft+75LpZj4qIi+D/5cRMILLZDJejTXvcRxnwDgdGxtrzufzS9abiKZisVgiKMwyAlrr8wCu2UZvzjHzgIj0mHet9fH59uyvqnrmXhG5/bc0pZehoaFYNBpN27ZaoLY/mPk1EeUAmDnRFEJgZnZ2Nt7Z2ZkpBFA6rLXeB+B5LdEXM/ARwPZa7Jg5KSJvygi4rnuFiC7aOlJKPSCiR4lEYrw4L0aIaKWl/S3HcS6XEfA8b9T3/d2WDoxORhzHmQxk0JSv2cZeKfVunnj7whJ8ALDNwkFBpMy8Q0SOBQhMA9hkYW9sv4jIzoUEvgFYbeHAEOgFcKK9vf1JUf0tAN5b2BaOMPMvETHLrEyEtgQKTmKx2NpSP7uue4GIri6XgG0JTARDInIkkP5hs6ZrILC4BLWIkJlPicigAZyYmIjOzc19twU35yqKsJY2zGazG5PJZNY4c103SUQPayFARIvb0HYQMfOoiBwMpL8PwEkiMkPMkAl9Kg4i21HMzGdF5F4JxfO8TwA+Axg33RGGzsyVR3GxnUKXETM3iUih5lrrFiK6T0TdRPQCwCoLApWXkTG0WceRSKS1ra1tugSUSqWa5397RkRbwsBD13ExqqoXEqXUYD6fvx6JRLYCOEREXQDWWYCb9q1+IQkIq35XsoC46ncpDWSiftfyEom6fpgEhVW3TzMbdS/nTOi34XKc29j+AXyzojCfNKqJAAAAAElFTkSuQmCC", Xe = { class: "card-wrap" }, qe = { class: "card-icon card" }, Ge = { class: "card-input" }, Ze = { class: "card-icon info" }, Ye = /* @__PURE__ */ F({
179
+ __name: "index",
180
+ props: {
181
+ activeTabName: {
182
+ type: String,
183
+ default: ""
184
+ }
185
+ },
186
+ emits: ["handleCardInput"],
187
+ setup(w, { emit: S }) {
188
+ const y = w, r = T(""), p = S, g = (d) => {
189
+ p("handleCardInput", d);
190
+ };
191
+ return z(() => y.activeTabName, (d) => {
192
+ d && (r.value = "");
193
+ }), (d, A) => {
194
+ const l = N("el-image"), f = N("el-input");
195
+ return V(), J("div", Xe, [
196
+ v("div", qe, [
197
+ h(l, {
198
+ src: U(Je),
199
+ fit: "contain"
200
+ }, null, 8, ["src"])
201
+ ]),
202
+ v("div", Ge, [
203
+ h(f, {
204
+ modelValue: r.value,
205
+ "onUpdate:modelValue": A[0] || (A[0] = (C) => r.value = C),
206
+ onChange: g,
207
+ clearable: ""
208
+ }, null, 8, ["modelValue"])
209
+ ]),
210
+ v("div", Ze, [
211
+ h(l, {
212
+ src: U(Ve),
213
+ fit: "contain"
214
+ }, null, 8, ["src"])
215
+ ])
216
+ ]);
217
+ };
218
+ }
219
+ }), Fe = /* @__PURE__ */ X(Ye, [["__scopeId", "data-v-23f91251"]]), We = ye(H), ne = ce(H), oe = T(!1), re = T(!1), je = async () => {
220
+ const w = L({
221
+ key: {
222
+ systemKey: sessionStorage.getItem("systemKey"),
223
+ pageKey: "menu"
224
+ }
225
+ }), S = L({
226
+ key: {
227
+ systemKey: sessionStorage.getItem("systemKey"),
228
+ type: "structure"
229
+ }
230
+ });
231
+ return await Promise.all([w, S]).then((y) => {
232
+ var g, d, A, l, f, C, k, M, E, Q, q, G, Z, Y;
233
+ const r = y == null ? void 0 : y[0], p = y == null ? void 0 : y[1];
234
+ if (r.data.code === 200) {
235
+ const W = (k = (C = (f = (l = (A = (d = (g = r == null ? void 0 : r.data) == null ? void 0 : g.result) == null ? void 0 : d[0]) == null ? void 0 : A.value) == null ? void 0 : l.pageData) == null ? void 0 : f.compData) == null ? void 0 : C[0]) == null ? void 0 : k.contents;
236
+ We.setRawMenus(W ?? []), oe.value = ((M = r == null ? void 0 : r.data) == null ? void 0 : M.result) && ((Q = (E = r == null ? void 0 : r.data) == null ? void 0 : E.result) == null ? void 0 : Q.length) > 0;
237
+ } else
238
+ I.error("获取模型菜单响应失败");
239
+ p.data.code === 200 ? p.data.result && ((q = p.data.result) == null ? void 0 : q.length) > 0 && (ne.setStructureData(p.data.result), ne.setIsStructureExist(!0), re.value = ((G = p == null ? void 0 : p.data) == null ? void 0 : G.result) && ((Y = (Z = p == null ? void 0 : p.data) == null ? void 0 : Z.result) == null ? void 0 : Y.length) > 0) : I.error("获取模型结构响应失败");
240
+ }), {
241
+ menuExist: oe.value,
242
+ structureExist: re.value
243
+ };
244
+ };
245
+ function ze() {
246
+ return Ae({
247
+ url: "/api/sysAuth/login",
248
+ method: "post",
249
+ data: {
250
+ account: "superadmin",
251
+ password: "1c8e7623312244c1feb677732278fb8b2af6af1a5335fdaebbdb2720137b372b7871292d11165b83b2967b9c39fa37027d63d37a2f36d764257b566dcfa99f334faa8995301601aec549adf39aef8d89c8788da03a9164937a5f73af20a15ea60d47c7cf01cf",
252
+ tenantId: -1,
253
+ code: "",
254
+ codeId: 0
255
+ }
256
+ });
257
+ }
258
+ const He = { class: "login-wrap" }, $e = { class: "login-body" }, et = { class: "login-body-item left" }, tt = { class: "title" }, at = { class: "login-body-item right" }, st = /* @__PURE__ */ F({
259
+ __name: "index",
260
+ emits: ["change"],
261
+ setup(w, { emit: S }) {
262
+ const y = fe(), r = ce(H), { systemKey: p, systemInfo: g } = ge(r), d = T({
263
+ // sysCTitle: 'INSOFWORKS',
264
+ sysCTitle: "",
265
+ sysETitle: "",
266
+ // sysETitle: 'Dynamic Test Information System',
267
+ loginTitle: "账户密码登录",
268
+ tabs: [
269
+ {
270
+ name: "刷卡登录",
271
+ btnLabel: "请刷卡登录",
272
+ tips: "温馨提示:建议使用谷歌、Microsoft Edge,版本79.0.1072.62及以上浏览器,360浏览器请使用极速模式"
273
+ },
274
+ {
275
+ name: "用户名登录",
276
+ btnLabel: "登录",
277
+ tips: "温馨提示:建议使用谷歌、Microsoft Edge,版本79.0.1072.62及以上浏览器,360浏览器请使用极速模式"
278
+ }
279
+ ]
280
+ }), A = T(""), l = T(!1), f = T(!1), C = () => {
281
+ l.value = !0;
282
+ }, k = (e) => {
283
+ l.value = !1, $(e);
284
+ }, M = (e, a) => {
285
+ l.value = !1, e && $(a);
286
+ }, E = (e) => ve(e), Q = (e) => {
287
+ let a;
288
+ const s = _e(e), n = we(s), u = Ce(n), m = Ee(u, "parentPath");
289
+ return a = Ie(m), a;
290
+ }, q = (e, a) => {
291
+ var n, u, m;
292
+ const s = (a == null ? void 0 : a.userRoles) ?? (a == null ? void 0 : a.角色名称);
293
+ try {
294
+ if (a.layer && ((n = a == null ? void 0 : a.layer) == null ? void 0 : n.toUpperCase()) === "SUPERADMIN")
295
+ return "superAdmin";
296
+ if (Array.isArray(s)) {
297
+ if ((s == null ? void 0 : s.length) === 1) {
298
+ const o = e == null ? void 0 : e.find((t) => (t == null ? void 0 : t.roleName) === (s == null ? void 0 : s[0]) || t.角色名称 === (s == null ? void 0 : s[0])), _ = E(o), c = Q(o == null ? void 0 : o[_]);
299
+ return o && c && Array.isArray(c) ? o ? c == null ? void 0 : c.flatMap((t) => t.checkedButtons) : [] : [];
300
+ }
301
+ if ((s == null ? void 0 : s.length) > 1) {
302
+ let o = e == null ? void 0 : e.filter((t) => s == null ? void 0 : s.includes(t.roleName || (t == null ? void 0 : t.角色名称)));
303
+ const _ = E(o == null ? void 0 : o[0]), c = (m = (u = o == null ? void 0 : o.map((t) => Array.isArray(t == null ? void 0 : t[_]) ? t == null ? void 0 : t[_] : [])) == null ? void 0 : u.flat()) == null ? void 0 : m.flatMap((t) => t.checkedButtons);
304
+ return (c == null ? void 0 : c.length) === 0 ? I.error("该用户没有权限,请联系管理员") : new Set(c);
305
+ }
306
+ }
307
+ if (typeof s == "string") {
308
+ const o = e == null ? void 0 : e.find((t) => (t == null ? void 0 : t.roleName) === s || (t == null ? void 0 : t.角色名称) === s), _ = E(o), c = Q(o == null ? void 0 : o[_]);
309
+ return o && c && Array.isArray(c) ? o ? c == null ? void 0 : c.flatMap((t) => t.checkedButtons) : [] : [];
310
+ }
311
+ } catch (o) {
312
+ throw new Error(o);
313
+ }
314
+ }, G = async (e) => {
315
+ var a, s;
316
+ try {
317
+ let n = [];
318
+ const u = await L({
319
+ key: {
320
+ systemKey: e == null ? void 0 : e.systemKey,
321
+ // pageKey: '/系统管理/角色管理',
322
+ pageKey: "系统管理/角色管理",
323
+ type: "data"
324
+ }
325
+ });
326
+ if (u.data.code === 200) {
327
+ const m = (s = (a = u.data) == null ? void 0 : a.result) == null ? void 0 : s.map((o) => o.value.tableData);
328
+ n = q(m, e);
329
+ }
330
+ if (n)
331
+ return Array.isArray(n) ? Array.from(n) : n;
332
+ throw I.error("获取用户权限失败,请联系管理员"), new Error("获取用户权限失败,请联系管理员");
333
+ } catch (n) {
334
+ throw I.error("获取用户权限失败,请联系管理员"), new Error(n);
335
+ }
336
+ }, Z = async (e) => {
337
+ var a, s, n, u, m, o, _;
338
+ try {
339
+ let c = [], t, x, R;
340
+ p.value ? R = {
341
+ // pageKey: '/系统管理/用户管理',
342
+ pageKey: "系统管理/用户管理",
343
+ type: "data",
344
+ // 通过electron传递的值获取模型key,解决多账号导入同一模型,账号名重复权限失败问题
345
+ systemKey: p.value
346
+ } : R = {
347
+ // pageKey: '/系统管理/用户管理',
348
+ pageKey: "系统管理/用户管理",
349
+ type: "data"
350
+ };
351
+ const te = await L({
352
+ key: R
353
+ }), ae = await L({
354
+ key: {
355
+ layer: "superAdmin"
356
+ // systemKey:sessionStorage.getItem('tenantKey')
357
+ }
358
+ });
359
+ if (te.data.code === 200 && ae.data.code === 200) {
360
+ const ue = (s = (a = ae.data) == null ? void 0 : a.result) == null ? void 0 : s.map((i) => {
361
+ var K, D;
362
+ return {
363
+ ...i.value.tableData,
364
+ layer: (K = i.key) == null ? void 0 : K.layer,
365
+ systemKey: (D = i == null ? void 0 : i.key) == null ? void 0 : D.systemKey,
366
+ id: i.id
367
+ };
368
+ }), pe = (u = (n = te.data) == null ? void 0 : n.result) == null ? void 0 : u.map((i) => {
369
+ var K, D;
370
+ return {
371
+ ...i.value.tableData,
372
+ layer: (K = i.key) == null ? void 0 : K.layer,
373
+ systemKey: (D = i == null ? void 0 : i.key) == null ? void 0 : D.systemKey,
374
+ id: i.id
375
+ };
376
+ }), j = [...ue, ...pe];
377
+ if (t = j == null ? void 0 : j.find((i) => (i == null ? void 0 : i.account) === (e == null ? void 0 : e.account) || (i == null ? void 0 : i.账号) === (e == null ? void 0 : e.account)), t) {
378
+ if (((m = t.layer) == null ? void 0 : m.toUpperCase()) !== "SUPERADMIN" && (!(t != null && t.状态) || (t == null ? void 0 : t.状态) === "禁用" || (t == null ? void 0 : t.status) === "禁用")) {
379
+ I.error("该用户已被禁用,请联系管理员"), f.value = !1;
380
+ return;
381
+ }
382
+ c = await G(t);
383
+ const { privateKey: i } = await r.getModelSecretAsync(t);
384
+ let K;
385
+ if (t.password ? K = ((o = t.layer) == null ? void 0 : o.toUpperCase()) === "SUPERADMIN" ? t.password : be(t.password, i) : K = ((_ = t.layer) == null ? void 0 : _.toUpperCase()) === "SUPERADMIN" ? t.password : he, (e == null ? void 0 : e.password) === K)
386
+ x = t;
387
+ else
388
+ throw x = null, I.error("输入的密码错误,请重新输入"), f.value = !1, new Error("输入的密码错误,请重新输入");
389
+ }
390
+ }
391
+ return x && c ? {
392
+ matchedUser: x,
393
+ userAuthority: c
394
+ } : void 0;
395
+ } catch (c) {
396
+ throw new Error(c);
397
+ }
398
+ }, Y = async (e) => {
399
+ var s, n, u;
400
+ const a = await Z(e);
401
+ if (a != null && a.matchedUser) {
402
+ r.setLoginUserInfo(a.matchedUser), sessionStorage.setItem("authority", JSON.stringify(a.userAuthority));
403
+ const m = ((n = (s = a.matchedUser) == null ? void 0 : s.layer) == null ? void 0 : n.toUpperCase()) === "SUPERADMIN";
404
+ return sessionStorage.setItem("isSuperAdmin", JSON.stringify(m)), sessionStorage.setItem("systemKey", (u = a.matchedUser) == null ? void 0 : u.systemKey), await W(a.matchedUser), !0;
405
+ } else
406
+ throw f.value = !1, I.error("该用户不存在,请重新输入"), new Error("该用户不存在,请重新输入");
407
+ }, W = async (e) => {
408
+ var s, n, u, m, o, _, c, t, x;
409
+ const a = await L({
410
+ key: {
411
+ // pageKey: '/user',
412
+ layer: "superAdmin",
413
+ systemKey: e == null ? void 0 : e.systemKey
414
+ }
415
+ });
416
+ if (a.data.code === 200 && (s = a.data) != null && s.result && Array.isArray((n = a.data) == null ? void 0 : n.result) && ((m = (u = a.data) == null ? void 0 : u.result) == null ? void 0 : m.length) > 0) {
417
+ const R = (x = (t = (c = (_ = (o = a.data) == null ? void 0 : o.result) == null ? void 0 : _[0]) == null ? void 0 : c.value) == null ? void 0 : t.tableData) == null ? void 0 : x.account;
418
+ r.setSuperAdminInfo({
419
+ account: R
420
+ });
421
+ }
422
+ }, le = async () => {
423
+ var e, a, s;
424
+ try {
425
+ const n = await ze();
426
+ return ((e = n == null ? void 0 : n.data) == null ? void 0 : e.code) === 200 ? (sessionStorage.setItem("loginToken", (s = (a = n.data) == null ? void 0 : a.result) == null ? void 0 : s.accessToken), !0) : !1;
427
+ } catch (n) {
428
+ I.error(n);
429
+ }
430
+ }, ie = async () => {
431
+ var e, a, s;
432
+ try {
433
+ const n = await me.post("http://139.196.154.85:20024/api/sysAuth/login", {
434
+ account: "superadmin",
435
+ password: "9bf00809059adc7f57bd290bf73ddf4d16f4c83b5937e2d68144ab0bd60d045d22d70afeed8f2fa071cda536e1fac0daf12b8e63dd870c3ca8b308f23be6e693bb32ebd3d013116dc8338d6854b1332701a522a7c43706a6db4162fbe991c8c08aa842fbbc34",
436
+ codeId: 0,
437
+ code: ""
438
+ });
439
+ return ((e = n == null ? void 0 : n.data) == null ? void 0 : e.code) === 200 ? (sessionStorage.setItem("magicToken", (s = (a = n.data) == null ? void 0 : a.result) == null ? void 0 : s.accessToken), !0) : !1;
440
+ } catch (n) {
441
+ I.error(n);
442
+ }
443
+ }, $ = (e) => {
444
+ f.value = !0;
445
+ let a = [Y(e), le(), ie()];
446
+ Promise.all(a).then((s) => {
447
+ (s == null ? void 0 : s.every((u) => u)) && (je(), y.push("/"), r.setLogRecordAsync({
448
+ type: "登录",
449
+ data: {
450
+ account: e == null ? void 0 : e.account
451
+ }
452
+ }, "/login", "login"));
453
+ });
454
+ }, de = (e) => {
455
+ A.value = e, l.value = !1, f.value = !1;
456
+ }, ee = (e) => /^[\u4e00-\u9fa5\s,。!?《》“”【】]+$/.test(e);
457
+ return (e, a) => (V(), J("div", He, [
458
+ v("div", $e, [
459
+ v("div", et, [
460
+ h(Ne, { class: "login-left-bg" }, {
461
+ img: b(() => {
462
+ var s, n, u, m, o, _;
463
+ return [
464
+ v("div", tt, [
465
+ v("div", null, B((s = U(g)) != null && s.EnglishName && ee((n = U(g)) == null ? void 0 : n.EnglishName) ? (u = U(g)) == null ? void 0 : u.EnglishName : "INSOFWORKS"), 1),
466
+ v("div", null, B((m = U(g)) != null && m.chineseName && ee((o = U(g)) == null ? void 0 : o.chineseName) ? (_ = U(g)) == null ? void 0 : _.chineseName : "工业软件集成开发平台"), 1)
467
+ ]),
468
+ a[0] || (a[0] = v("div", { class: "divide-line" }, null, -1))
469
+ ];
470
+ }),
471
+ _: 1
472
+ })
473
+ ]),
474
+ v("div", at, [
475
+ h(Qe, {
476
+ loading: f.value,
477
+ onClickLogin: C,
478
+ onHandleTabClick: de
479
+ }, {
480
+ title: b(() => [
481
+ O(B(d.value.loginTitle), 1)
482
+ ]),
483
+ tabLabel1: b(() => [
484
+ O(B(d.value.tabs[0].name), 1)
485
+ ]),
486
+ tabContent1: b(() => [
487
+ h(Fe, {
488
+ activeTabName: A.value,
489
+ onHandleCardInput: k
490
+ }, null, 8, ["activeTabName"])
491
+ ]),
492
+ tabButton1: b(() => [
493
+ O(B(d.value.tabs[0].btnLabel), 1)
494
+ ]),
495
+ tabLabel2: b(() => [
496
+ O(B(d.value.tabs[1].name), 1)
497
+ ]),
498
+ tabContent2: b(() => [
499
+ h(Oe, {
500
+ activeTabName: A.value,
501
+ isClickLogin: l.value,
502
+ onHandleLoginFormChange: M
503
+ }, null, 8, ["activeTabName", "isClickLogin"])
504
+ ]),
505
+ tabButton2: b(() => [
506
+ O(B(d.value.tabs[1].btnLabel), 1)
507
+ ]),
508
+ _: 1
509
+ }, 8, ["loading"])
510
+ ])
511
+ ])
512
+ ]));
513
+ }
514
+ }), ut = /* @__PURE__ */ X(st, [["__scopeId", "data-v-03c36105"]]);
515
+ export {
516
+ ut as default
517
+ };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("vue"),m=require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-Bl2nwV8n.cjs"),g=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),c=require("./login-DTNO3Kcx.cjs"),y={__name:"index",props:{optionContents:{type:Object,default:()=>{}}},setup(a){const r=a;let t=null,e=null;const o=n.ref({}),s=n.ref(null),p=()=>{s.value&&(e=new ResizeObserver(()=>{i()}),e.observe(s.value))};n.onMounted(()=>{o.value=r.optionContents,d(),window.addEventListener("resize",i),p()}),n.watch(()=>r.optionContents,()=>{o.value=r.optionContents,d()}),n.onUnmounted(()=>{e&&e.disconnect(),window.addEventListener("resize",i)});const i=()=>{t.resize()},d=()=>{t&&t.dispose(),t=m.init(document.getElementById("chartModelId"));const l=o.value;t.setOption(l),t.resize()};return(l,f)=>(n.openBlock(),n.createElementBlock("div",{id:"chartModelId",class:"chart-model-class",ref_key:"chartModelRef",ref:s},null,512))}},x=g._export_sfc(y,[["__scopeId","data-v-798284db"]]),C=(a,r,t)=>{var s,p,i,d;let e=r;e.title.text=(t==null?void 0:t.chartName)??"",e.xAxis.data=(s=c.cloneDeep(a))==null?void 0:s.map(l=>l.x),e.legend.data=(i=(p=c.cloneDeep(a))==null?void 0:p[0])!=null&&i.y?Object.keys(c.cloneDeep(a)[0].y):[];let o=[];return((d=e.legend.data)==null?void 0:d.length)>0&&c.cloneDeep(e.legend.data).forEach(l=>{var h;const f=(h=c.cloneDeep(a))==null?void 0:h.map(u=>{var v;return(v=u==null?void 0:u.y)==null?void 0:v[l]});o.push({name:l,type:"line",data:f})}),e.series=o,e},_=[{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:[]}}],b={class:"eCharts"},z={__name:"index",props:{eChartContents:Array},setup(a){const r=a,t=n.ref({});return n.onMounted(()=>{var o;const e=r==null?void 0:r.eChartContents;t.value=C(c.cloneDeep(e==null?void 0:e.compData),(o=_==null?void 0:_.find(s=>(s==null?void 0:s.key)===(e==null?void 0:e.name)))==null?void 0:o.value,e==null?void 0:e.extraContent)}),(e,o)=>(n.openBlock(),n.createElementBlock("div",b,[n.createVNode(x,{optionContents:t.value},null,8,["optionContents"])]))}},k=g._export_sfc(z,[["__scopeId","data-v-0440fac3"]]);exports.default=k;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("vue"),m=require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-VzL4xNxw.cjs"),g=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),c=require("./login-DTNO3Kcx.cjs"),y={__name:"index",props:{optionContents:{type:Object,default:()=>{}}},setup(a){const r=a;let t=null,e=null;const o=n.ref({}),s=n.ref(null),p=()=>{s.value&&(e=new ResizeObserver(()=>{i()}),e.observe(s.value))};n.onMounted(()=>{o.value=r.optionContents,d(),window.addEventListener("resize",i),p()}),n.watch(()=>r.optionContents,()=>{o.value=r.optionContents,d()}),n.onUnmounted(()=>{e&&e.disconnect(),window.addEventListener("resize",i)});const i=()=>{t.resize()},d=()=>{t&&t.dispose(),t=m.init(document.getElementById("chartModelId"));const l=o.value;t.setOption(l),t.resize()};return(l,f)=>(n.openBlock(),n.createElementBlock("div",{id:"chartModelId",class:"chart-model-class",ref_key:"chartModelRef",ref:s},null,512))}},x=g._export_sfc(y,[["__scopeId","data-v-798284db"]]),C=(a,r,t)=>{var s,p,i,d;let e=r;e.title.text=(t==null?void 0:t.chartName)??"",e.xAxis.data=(s=c.cloneDeep(a))==null?void 0:s.map(l=>l.x),e.legend.data=(i=(p=c.cloneDeep(a))==null?void 0:p[0])!=null&&i.y?Object.keys(c.cloneDeep(a)[0].y):[];let o=[];return((d=e.legend.data)==null?void 0:d.length)>0&&c.cloneDeep(e.legend.data).forEach(l=>{var h;const f=(h=c.cloneDeep(a))==null?void 0:h.map(u=>{var v;return(v=u==null?void 0:u.y)==null?void 0:v[l]});o.push({name:l,type:"line",data:f})}),e.series=o,e},_=[{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:[]}}],b={class:"eCharts"},z={__name:"index",props:{eChartContents:Array},setup(a){const r=a,t=n.ref({});return n.onMounted(()=>{var o;const e=r==null?void 0:r.eChartContents;t.value=C(c.cloneDeep(e==null?void 0:e.compData),(o=_==null?void 0:_.find(s=>(s==null?void 0:s.key)===(e==null?void 0:e.name)))==null?void 0:o.value,e==null?void 0:e.extraContent)}),(e,o)=>(n.openBlock(),n.createElementBlock("div",b,[n.createVNode(x,{optionContents:t.value},null,8,["optionContents"])]))}},k=g._export_sfc(z,[["__scopeId","data-v-0440fac3"]]);exports.default=k;
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./index.vue_vue_type_script_setup_true_lang-CJUgL2n7.js";
1
+ import { _ as f } from "./index.vue_vue_type_script_setup_true_lang-CyDSZn-Q.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as w, reactive as M, onMounted as y, watch as V, nextTick as N, resolveComponent as s, createElementBlock as C, openBlock as u, createVNode as r, withCtx as l, createElementVNode as p, toDisplayString as g, Fragment as S, renderList as z, createBlock as R, createTextVNode as _ } from "vue";
2
- import { s as T } from "./index-D0x0LUZf.js";
3
- import { j as m } from "./index-oaOsf4oc.js";
4
- import { u as A, s as I, c as P } from "./login-BAPByjhd.js";
2
+ import { s as T } from "./index-BUh0LsYj.js";
3
+ import { j as m } from "./index-DseGoh_s.js";
4
+ import { u as A, s as I, c as P } from "./login-tuTXg0Re.js";
5
5
  import { _ as U } from "./_plugin-vue_export-helper-CHgC5LLL.js";
6
6
  const E = { class: "role-wrapper" }, F = { class: "role-dialog-header" }, O = ["title"], j = { class: "dialog-footer" }, H = /* @__PURE__ */ w({
7
7
  __name: "index",
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue");require("./index-BpPyaNFa.cjs");require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-Bl2nwV8n.cjs");const n=require("./login-DTNO3Kcx.cjs");require("./index-BKUqLOwQ.cjs");const o=require("./index-C4T0S4zQ.cjs"),c=require("./index-CLci5Czv.cjs"),u=require("./index-DTKR6eas.cjs"),i={class:"role-wrapper"},s=e.defineComponent({__name:"index",setup(d){const t=e.reactive({...c.State}),a=n.useMenuState(),{activeMenuPath:r}=n.storeToRefs(a);return e.onMounted(async()=>{t.structureId=await u.getActivePageStructureId(r.value)}),(l,_)=>(e.openBlock(),e.createElementBlock("div",i,[e.createVNode(o.ssTable,{itemData:t.pageData,onChange:t.handleItemDataChange},null,8,["itemData","onChange"])]))}});exports.default=s;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue");require("./index-BpPyaNFa.cjs");require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-VzL4xNxw.cjs");const n=require("./login-DTNO3Kcx.cjs");require("./index-BKUqLOwQ.cjs");const o=require("./index-D1IAgzys.cjs"),c=require("./index-CLci5Czv.cjs"),u=require("./index-DTKR6eas.cjs"),i={class:"role-wrapper"},s=e.defineComponent({__name:"index",setup(d){const t=e.reactive({...c.State}),a=n.useMenuState(),{activeMenuPath:r}=n.storeToRefs(a);return e.onMounted(async()=>{t.structureId=await u.getActivePageStructureId(r.value)}),(l,_)=>(e.openBlock(),e.createElementBlock("div",i,[e.createVNode(o.ssTable,{itemData:t.pageData,onChange:t.handleItemDataChange},null,8,["itemData","onChange"])]))}});exports.default=s;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),f=require("./index-C4T0S4zQ.cjs"),p=require("./index-DTKR6eas.cjs"),d=require("./login-DTNO3Kcx.cjs"),b=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),w={class:"role-wrapper"},V={class:"role-dialog-header"},v=["title"],B={class:"dialog-footer"},m=e.defineComponent({__name:"index",setup(N){const g=d.useMenuState(),{menus:_,activeMenuPath:C}=d.storeToRefs(g),o=e.reactive({...p.State$1}),{treeRef:k}=p.State$1;e.onMounted(async()=>{await o.getActivePageStructureId(C.value)});const h=r=>r==null?void 0:r.map(t=>{var n,c,i;return t!=null&&t.childMenus&&((n=t==null?void 0:t.childMenus)==null?void 0:n.length)>0?{...t,childMenus:[],children:h(t==null?void 0:t.childMenus)}:{...t,childMenus:[],path:(c=t==null?void 0:t.path)!=null&&c.startsWith("/")?(i=t==null?void 0:t.path)==null?void 0:i.substring(1):t.path}});return e.watch(()=>_.value,r=>{e.nextTick(()=>{const t=d.cloneDeep(r),n=h(t);o.tempSysMenus=o.handleAddSysMenusButtons(n),o.menuData=o.addButtonsToTree(n,o.structureButtons)})},{immediate:!0,deep:!0}),(r,t)=>{const n=e.resolveComponent("el-checkbox"),c=e.resolveComponent("el-checkbox-group"),i=e.resolveComponent("el-tree"),u=e.resolveComponent("el-button"),x=e.resolveComponent("el-dialog");return e.openBlock(),e.createElementBlock("div",w,[e.createVNode(f.ssTable,{compName:o.compName,itemData:o.pageDataFiltered,changedContent:o.changedRow,onChange:o.handleItemDataChange,onOnButtonClick:o.clickRowButton},null,8,["compName","itemData","changedContent","onChange","onOnButtonClick"]),e.createVNode(x,{modelValue:o.authorizeDialog.show,"onUpdate:modelValue":t[0]||(t[0]=l=>o.authorizeDialog.show=l),width:o.authorizeDialog.width,draggable:o.authorizeDialog.draggable,"before-close":o.closeAuthorizeDialog,class:"role-dialog"},{header:e.withCtx(()=>[e.createElementVNode("div",V,e.toDisplayString(o.authorizeDialog.title),1)]),footer:e.withCtx(()=>[e.createElementVNode("div",B,[e.createVNode(u,{id:"themeBorderButton",onClick:o.closeAuthorizeDialog},{default:e.withCtx(()=>t[1]||(t[1]=[e.createTextVNode("取消")])),_:1,__:[1]},8,["onClick"]),e.createVNode(u,{id:"themeButton",onClick:o.clickSubmitAuthority},{default:e.withCtx(()=>t[2]||(t[2]=[e.createTextVNode(" 确认 ")])),_:1,__:[2]},8,["onClick"])])]),default:e.withCtx(()=>[e.createVNode(i,{class:"role-tree",ref_key:"treeRef",ref:k,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:l,data:s})=>[e.createElementVNode("span",{class:"node-text",title:l==null?void 0:l.label},e.toDisplayString(l==null?void 0:l.label),9,v),e.createVNode(c,{modelValue:s.checkedButtons,"onUpdate:modelValue":a=>s.checkedButtons=a,onChange:a=>o.handleNodeBtnChange(a,s),class:"node-buttons"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.renderButtons,a=>(e.openBlock(),e.createBlock(n,{key:a.title,label:a.title,value:a.path},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.title),1)]),_:2},1032,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue","onChange"])]),_:1},8,["data","onCheckChange"])]),_:1},8,["modelValue","width","draggable","before-close"])])}}}),D=b._export_sfc(m,[["__scopeId","data-v-4f41513d"]]);exports.default=D;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),f=require("./index-D1IAgzys.cjs"),p=require("./index-DTKR6eas.cjs"),d=require("./login-DTNO3Kcx.cjs"),b=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),w={class:"role-wrapper"},V={class:"role-dialog-header"},v=["title"],B={class:"dialog-footer"},m=e.defineComponent({__name:"index",setup(N){const g=d.useMenuState(),{menus:_,activeMenuPath:C}=d.storeToRefs(g),o=e.reactive({...p.State$1}),{treeRef:k}=p.State$1;e.onMounted(async()=>{await o.getActivePageStructureId(C.value)});const h=r=>r==null?void 0:r.map(t=>{var n,c,i;return t!=null&&t.childMenus&&((n=t==null?void 0:t.childMenus)==null?void 0:n.length)>0?{...t,childMenus:[],children:h(t==null?void 0:t.childMenus)}:{...t,childMenus:[],path:(c=t==null?void 0:t.path)!=null&&c.startsWith("/")?(i=t==null?void 0:t.path)==null?void 0:i.substring(1):t.path}});return e.watch(()=>_.value,r=>{e.nextTick(()=>{const t=d.cloneDeep(r),n=h(t);o.tempSysMenus=o.handleAddSysMenusButtons(n),o.menuData=o.addButtonsToTree(n,o.structureButtons)})},{immediate:!0,deep:!0}),(r,t)=>{const n=e.resolveComponent("el-checkbox"),c=e.resolveComponent("el-checkbox-group"),i=e.resolveComponent("el-tree"),u=e.resolveComponent("el-button"),x=e.resolveComponent("el-dialog");return e.openBlock(),e.createElementBlock("div",w,[e.createVNode(f.ssTable,{compName:o.compName,itemData:o.pageDataFiltered,changedContent:o.changedRow,onChange:o.handleItemDataChange,onOnButtonClick:o.clickRowButton},null,8,["compName","itemData","changedContent","onChange","onOnButtonClick"]),e.createVNode(x,{modelValue:o.authorizeDialog.show,"onUpdate:modelValue":t[0]||(t[0]=l=>o.authorizeDialog.show=l),width:o.authorizeDialog.width,draggable:o.authorizeDialog.draggable,"before-close":o.closeAuthorizeDialog,class:"role-dialog"},{header:e.withCtx(()=>[e.createElementVNode("div",V,e.toDisplayString(o.authorizeDialog.title),1)]),footer:e.withCtx(()=>[e.createElementVNode("div",B,[e.createVNode(u,{id:"themeBorderButton",onClick:o.closeAuthorizeDialog},{default:e.withCtx(()=>t[1]||(t[1]=[e.createTextVNode("取消")])),_:1,__:[1]},8,["onClick"]),e.createVNode(u,{id:"themeButton",onClick:o.clickSubmitAuthority},{default:e.withCtx(()=>t[2]||(t[2]=[e.createTextVNode(" 确认 ")])),_:1,__:[2]},8,["onClick"])])]),default:e.withCtx(()=>[e.createVNode(i,{class:"role-tree",ref_key:"treeRef",ref:k,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:l,data:s})=>[e.createElementVNode("span",{class:"node-text",title:l==null?void 0:l.label},e.toDisplayString(l==null?void 0:l.label),9,v),e.createVNode(c,{modelValue:s.checkedButtons,"onUpdate:modelValue":a=>s.checkedButtons=a,onChange:a=>o.handleNodeBtnChange(a,s),class:"node-buttons"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.renderButtons,a=>(e.openBlock(),e.createBlock(n,{key:a.title,label:a.title,value:a.path},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.title),1)]),_:2},1032,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue","onChange"])]),_:1},8,["data","onCheckChange"])]),_:1},8,["modelValue","width","draggable","before-close"])])}}}),D=b._export_sfc(m,[["__scopeId","data-v-4f41513d"]]);exports.default=D;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),r=require("./index-C4T0S4zQ.cjs"),a=require("./index-DTKR6eas.cjs"),n=require("./login-DTNO3Kcx.cjs"),i=t.defineComponent({__name:"index",setup(s){const o=n.useMenuState(),{activeMenuPath:c}=n.storeToRefs(o),u=n.useLoginState(),e=t.reactive({...a.State});return t.onMounted(async()=>{u.getModelSecretAsync(),e.structureId=await a.getActivePageStructureId(c.value)}),(l,d)=>(t.openBlock(),t.createElementBlock("div",null,[t.createVNode(r.ssTable,{compName:e.compName,itemData:e.pageData,changedContent:e.changedRow,onChange:e.handleItemDataChange,onOnButtonClick:e.clickRowButton},null,8,["compName","itemData","changedContent","onChange","onOnButtonClick"])]))}});exports.default=i;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),r=require("./index-D1IAgzys.cjs"),a=require("./index-DTKR6eas.cjs"),n=require("./login-DTNO3Kcx.cjs"),i=t.defineComponent({__name:"index",setup(s){const o=n.useMenuState(),{activeMenuPath:c}=n.storeToRefs(o),u=n.useLoginState(),e=t.reactive({...a.State});return t.onMounted(async()=>{u.getModelSecretAsync(),e.structureId=await a.getActivePageStructureId(c.value)}),(l,d)=>(t.openBlock(),t.createElementBlock("div",null,[t.createVNode(r.ssTable,{compName:e.compName,itemData:e.pageData,changedContent:e.changedRow,onChange:e.handleItemDataChange,onOnButtonClick:e.clickRowButton},null,8,["compName","itemData","changedContent","onChange","onOnButtonClick"])]))}});exports.default=i;
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as $, computed as F, ref as h, watch as P, createElementBlock as E, openBlock as p, createVNode as v, createElementVNode as j, withCtx as c, createTextVNode as T, toDisplayString as k, resolveComponent as B, createBlock as U, Fragment as V, renderList as z, normalizeStyle as R } from "vue";
2
- import { _ as q } from "./index.vue_vue_type_script_setup_true_lang-CJUgL2n7.js";
3
- import { d as H, u as L, S as M } from "./index-Deb6BACo.js";
4
- import { E as N } from "./index-BHZ56TUj.js";
2
+ import { _ as q } from "./index.vue_vue_type_script_setup_true_lang-CyDSZn-Q.js";
3
+ import { d as H, u as L, S as M } from "./index-C9ygF_9Z.js";
4
+ import { E as N } from "./index-Cb3t0lj_.js";
5
5
  import { _ as O } from "./_plugin-vue_export-helper-CHgC5LLL.js";
6
6
  import { S as x } from "./index-BHtNKL1L.js";
7
7
  const W = { class: "avatar-model-wrap" }, D = /* @__PURE__ */ $({