ss-component-new 1.1.719 → 1.1.721

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 (84) hide show
  1. package/dist/{array-CV47iU9i.js → array-BcN1bdmj.js} +1 -1
  2. package/dist/{array-C_A3GqHl.cjs → array-CgJ6luvr.cjs} +1 -1
  3. package/dist/icons/svg/colFilter.svg +1 -0
  4. package/dist/{index-Bdy9rjka.js → index-50HGqFLU.js} +3 -3
  5. package/dist/{index-DmPffoKv.cjs → index-B9SUJ4Zu.cjs} +1 -1
  6. package/dist/index-BAdqe1Qk.cjs +1 -0
  7. package/dist/{index-CpnXGkvz.js → index-BHBGoWFE.js} +4 -4
  8. package/dist/{index-BCZ59Y4K.js → index-BHZ56TUj.js} +1 -0
  9. package/dist/{index-2p69g4HY.cjs → index-BKUqLOwQ.cjs} +5 -5
  10. package/dist/{index-Ca4sbgf-.cjs → index-BV3gIolN.cjs} +1 -1
  11. package/dist/{index-D8qVbjll.js → index-BYl3ZfMW.js} +2 -2
  12. package/dist/{index-ChQSWsp7.js → index-B_GAWj5p.js} +3 -3
  13. package/dist/{index-BU8nVgIT.js → index-B_h8SY5M.js} +1 -1
  14. package/dist/{index-juDP8c2k.js → index-BaJiGLkX.js} +1 -1
  15. package/dist/{index-HqICPCny.cjs → index-BaOJ2FlA.cjs} +1 -1
  16. package/dist/{index-BOZohpjd.cjs → index-Be3sB22h.cjs} +1 -1
  17. package/dist/{index-h0An6eiK.js → index-Bidjqofb.js} +2915 -2859
  18. package/dist/{index-BF1d01SM.js → index-Bjlg9wnM.js} +6 -6
  19. package/dist/{index-Bg2iV3ln.cjs → index-BkryeHcb.cjs} +1 -1
  20. package/dist/{index-BcNQOPYD.js → index-Bl6RAbAc.js} +2 -2
  21. package/dist/{index-47QrfG4u.cjs → index-Bwj8bU3w.cjs} +13 -13
  22. package/dist/{index-BrQVl4Zd.cjs → index-Bxw2nNk2.cjs} +1 -1
  23. package/dist/{index-DpzKMBIi.js → index-C08wAtul.js} +4 -4
  24. package/dist/{index-iGVtZ2hS.cjs → index-C1IBXnyt.cjs} +1 -1
  25. package/dist/{index-s4l8lwWV.js → index-C2KiCWir.js} +3 -3
  26. package/dist/{index-DwlLvQ7U.cjs → index-C5OJDom_.cjs} +1 -1
  27. package/dist/{index-Bu_OR9tS.js → index-C8KgQTfH.js} +8109 -7955
  28. package/dist/{index-C6SI8hvh.cjs → index-CAV4FH8Z.cjs} +1 -1
  29. package/dist/{index-XuxfvwKY.js → index-CIPfJ4V5.js} +6 -6
  30. package/dist/{index-VBY1u2Ig.cjs → index-CLaUio0q.cjs} +1 -1
  31. package/dist/{index-BAdkTvA0.cjs → index-CSfd9Nvs.cjs} +1 -1
  32. package/dist/index-CVDOumPC.js +514 -0
  33. package/dist/{index-cBErNLtY.js → index-Cd71tWDj.js} +3 -3
  34. package/dist/{index-DgPw8IAq.cjs → index-CeOHn1Vk.cjs} +1 -1
  35. package/dist/{index-B4D4I9Ei.cjs → index-Cx320XRD.cjs} +1 -1
  36. package/dist/index-CyCiiIH7.js +99 -0
  37. package/dist/{index-DSPdpu8p.cjs → index-CyTykQhT.cjs} +1 -1
  38. package/dist/index-D4nn1MaA.cjs +1 -0
  39. package/dist/{index-C_1UdyuB.cjs → index-D9G0MN0h.cjs} +1 -1
  40. package/dist/{index-KbmAaWgt.cjs → index-D9HFpsnH.cjs} +1 -1
  41. package/dist/{index-D-t9ZfYS.js → index-DFwEXQv-.js} +4 -4
  42. package/dist/{index-Ct0CmWjo.js → index-DIlWcnao.js} +1 -1
  43. package/dist/{index-CatyTybI.js → index-DJ2FxFvx.js} +1 -1
  44. package/dist/{index-BZkWytFH.js → index-DLPqu104.js} +6 -6
  45. package/dist/{index-8idzhcUq.cjs → index-DOn8yEZJ.cjs} +185 -185
  46. package/dist/{index-C9Nq7qdZ.cjs → index-Dn7yNpUx.cjs} +1 -1
  47. package/dist/{index-B1EBZK4V.cjs → index-Dz7-jX87.cjs} +1 -1
  48. package/dist/{index-glKQqAZb.cjs → index-GxAWv8aU.cjs} +1 -1
  49. package/dist/{index-CGv_PH5k.cjs → index-VQ4mf0NG.cjs} +1 -1
  50. package/dist/{index-B9e8jfXC.js → index-YA8F1H22.js} +3 -3
  51. package/dist/{index-BP-q1C8f.js → index-di0y5Ciz.js} +663 -662
  52. package/dist/{index-CHlc1LGK.cjs → index-fniyUh6b.cjs} +1 -1
  53. package/dist/{index-62jpKG-S.js → index-onW5suua.js} +4 -4
  54. package/dist/{index-Ba_1AoLH.js → index-v9IlbVxb.js} +3 -3
  55. package/dist/{index-C2JVL00b.js → index-xSTLa8Bb.js} +108 -108
  56. package/dist/{index.vue_vue_type_script_setup_true_lang-D6xvhgat.js → index.vue_vue_type_script_setup_true_lang-DAIduaBX.js} +2 -2
  57. package/dist/{index.vue_vue_type_script_setup_true_lang-BkYehasn.cjs → index.vue_vue_type_script_setup_true_lang-De8jbnS5.cjs} +1 -1
  58. package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CUNGVKqd.cjs → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-Bn_-cql3.cjs} +57 -57
  59. package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-D5Z2_TwH.js → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-C_N41ilG.js} +1715 -1720
  60. package/dist/{index.vue_vue_type_style_index_0_scoped_8606206c_lang-D0Bstp43.js → index.vue_vue_type_style_index_0_scoped_8606206c_lang-BgHhMOqW.js} +16 -16
  61. package/dist/{index.vue_vue_type_style_index_0_scoped_8606206c_lang-B3LO5bhv.cjs → index.vue_vue_type_style_index_0_scoped_8606206c_lang-CCQ1V4Ad.cjs} +2 -2
  62. package/dist/{index.vue_vue_type_style_index_0_scoped_c81d0427_lang-BS8sJ53i.js → index.vue_vue_type_style_index_0_scoped_c81d0427_lang-BajRaUap.js} +7 -7
  63. package/dist/{index.vue_vue_type_style_index_0_scoped_c81d0427_lang-Bk-zmumx.cjs → index.vue_vue_type_style_index_0_scoped_c81d0427_lang-CVGFhYru.cjs} +1 -1
  64. package/dist/{login-C8QOZ9u0.cjs → login-DoVI1BJb.cjs} +2 -2
  65. package/dist/{login-BLjZKKjO.js → login-Dxsw3cch.js} +6 -2
  66. package/dist/{main-0XZaToNP.js → main-B5FfttkG.js} +4 -4
  67. package/dist/{main-zPoUljx8.cjs → main-C_jD1CK-.cjs} +1 -1
  68. package/dist/ss-component.cjs +1 -1
  69. package/dist/ss-component.css +2 -2
  70. package/dist/ss-component.js +10 -10
  71. package/dist/ss-component2.cjs +1 -1
  72. package/dist/ss-component2.js +10 -10
  73. package/dist/{threeModel-8wtgLTlp.js → threeModel-BNhwg7RT.js} +3 -3
  74. package/dist/{threeModel-cQmQcupA.cjs → threeModel-Dwjk_uWz.cjs} +1 -1
  75. package/package.json +1 -1
  76. package/public/icons/svg/colFilter.svg +1 -0
  77. package/dist/index-8oaOF8hU.cjs +0 -1
  78. package/dist/index-B0HGgYuY.cjs +0 -1
  79. package/dist/index-BE-X086v.js +0 -90
  80. package/dist/index-QzT_XISi.js +0 -508
  81. package/dist/obj/model.mtl +0 -42
  82. package/dist/obj/model.obj +0 -26110
  83. package/public/obj/model.mtl +0 -42
  84. package/public/obj/model.obj +0 -26110
@@ -1,508 +0,0 @@
1
- import { createElementBlock as D, openBlock as O, createElementVNode as g, renderSlot as B, defineComponent as Y, ref as K, resolveComponent as T, createVNode as b, withCtx as A, reactive as tt, watch as j, unref as et, createTextVNode as L, toDisplayString as Q } from "vue";
2
- import { _ as R } from "./_plugin-vue_export-helper-CHgC5LLL.js";
3
- import { useRouter as it } from "vue-router";
4
- import { a as dt, b as ot, p as z } from "./login-BLjZKKjO.js";
5
- import { g as M, E, s as ut, a as pt } from "./index-BCZ59Y4K.js";
6
- import { d as ft } from "./crypto-BRyGpjGR.js";
7
- import { r as yt, g as At, c as bt, a as gt, b as mt, d as ht, h as vt } from "./index-Ba_1AoLH.js";
8
- const _t = {}, wt = { class: "left-wrap" }, Ct = { class: "left-bg" };
9
- function St(w, I) {
10
- return O(), D("div", wt, [
11
- g("div", Ct, [
12
- B(w.$slots, "img", {}, void 0, !0)
13
- ])
14
- ]);
15
- }
16
- const Et = /* @__PURE__ */ R(_t, [["render", St], ["__scopeId", "data-v-9b7ee6c9"]]), It = { class: "right-wrap" }, kt = { class: "right-title" }, Kt = { class: "right-content" }, Tt = { class: "tab-content" }, Nt = { class: "tab-tips" }, Ut = /* @__PURE__ */ Y({
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: I }) {
30
- const f = K("account"), r = I, l = () => {
31
- r("clickLogin", f.value);
32
- }, m = () => {
33
- r("handleTabClick", f.value);
34
- };
35
- return (d, u) => {
36
- const p = T("el-button"), h = T("el-tab-pane"), C = T("el-tabs");
37
- return O(), D("div", It, [
38
- g("div", kt, [
39
- B(d.$slots, "title", {}, void 0, !0)
40
- ]),
41
- g("div", Kt, [
42
- b(C, {
43
- modelValue: f.value,
44
- "onUpdate:modelValue": u[0] || (u[0] = (S) => f.value = S),
45
- class: "right-tabs",
46
- onTabClick: m
47
- }, {
48
- default: A(() => [
49
- b(h, { name: "account" }, {
50
- label: A(() => [
51
- B(d.$slots, "tabLabel2", {}, void 0, !0)
52
- ]),
53
- default: A(() => [
54
- g("div", Tt, [
55
- B(d.$slots, "tabContent2", {}, void 0, !0)
56
- ]),
57
- g("div", {
58
- class: "tab-button special",
59
- onClick: l
60
- }, [
61
- b(p, { loading: w.loading }, {
62
- default: A(() => [
63
- B(d.$slots, "tabButton2", {}, void 0, !0)
64
- ]),
65
- _: 3
66
- }, 8, ["loading"])
67
- ]),
68
- g("div", Nt, [
69
- B(d.$slots, "tabTips2", {}, void 0, !0)
70
- ])
71
- ]),
72
- _: 3
73
- })
74
- ]),
75
- _: 3
76
- }, 8, ["modelValue"])
77
- ])
78
- ]);
79
- };
80
- }
81
- }), xt = /* @__PURE__ */ R(Ut, [["__scopeId", "data-v-3ebcb6e2"]]), Bt = { class: "account-wrap" }, Mt = /* @__PURE__ */ Y({
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: I }) {
95
- const f = w, r = tt({
96
- account: "",
97
- password: ""
98
- }), l = tt({
99
- account: [
100
- { required: !0, message: "请输入账号", trigger: "blur" }
101
- ],
102
- password: [
103
- { required: !0, message: "请输入密码", trigger: "blur" }
104
- ]
105
- }), m = K(null), d = I;
106
- return j(() => f.isClickLogin, (u) => {
107
- var p;
108
- u && ((p = m.value) == null || p.validate((h) => {
109
- d("handleLoginFormChange", h, h ? r : null);
110
- }));
111
- }, {
112
- immediate: !0
113
- }), j(() => f.activeTabName, (u) => {
114
- var p;
115
- u && ((p = m.value) == null || p.resetFields());
116
- }), (u, p) => {
117
- const h = T("svg-icon"), C = T("el-input"), S = T("el-form-item"), U = T("el-form");
118
- return O(), D("div", Bt, [
119
- b(U, {
120
- model: r,
121
- rules: l,
122
- ref_key: "formRef",
123
- ref: m
124
- }, {
125
- default: A(() => [
126
- b(S, {
127
- label: "",
128
- prop: "account"
129
- }, {
130
- default: A(() => [
131
- b(C, {
132
- modelValue: r.account,
133
- "onUpdate:modelValue": p[0] || (p[0] = (N) => r.account = N),
134
- placeholder: "请输入账号",
135
- clearable: ""
136
- }, {
137
- prefix: A(() => [
138
- b(h, {
139
- name: "account",
140
- style: { width: "15px", height: "15px" }
141
- })
142
- ]),
143
- _: 1
144
- }, 8, ["modelValue"])
145
- ]),
146
- _: 1
147
- }),
148
- b(S, {
149
- label: "",
150
- prop: "password"
151
- }, {
152
- default: A(() => [
153
- b(C, {
154
- modelValue: r.password,
155
- "onUpdate:modelValue": p[1] || (p[1] = (N) => r.password = N),
156
- type: "password",
157
- placeholder: "请输入密码",
158
- "show-password": "",
159
- clearable: ""
160
- }, {
161
- prefix: A(() => [
162
- b(h, {
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
- }), Pt = /* @__PURE__ */ R(Mt, [["__scopeId", "data-v-b023e8c1"]]), Lt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAgCAYAAAB6kdqOAAAAAXNSR0IArs4c6QAAAd9JREFUWEftl71OAkEQx/97QC8XEj+iiTGexo/OnvgE0ChPIIXHQwgP4amxsYZGnkCtpbAxxiyJFEqCJie1yK7ZixhUuNtZYkLUa2/+M7+ZnbnbYTB87P3bIpi1BWCt34UEzpkUF35huWjimpmIlCbp8TMGbA7RX/uus27i2xjI9rgMC+i7jpFvI5EC+XEg2+NlSKTBMKmTuS5QlB2ApgRqz66TVXGDCmmIPhh7RxGl0bXrT15pWNLjVQZkdBuwF0i3qaPAv8StMNvjDwBmdIGQwJyfd+51xn7i4GbekvE7bd8SLQUUOi3fnElR0v3GvEPvaQOpHiIDKe9SlIQlTtq7K41BwexjPosXsQNmkWCCpjYCoqRMtP0HiirY76uQBWQRS1xalhCvnW4aQDmqCmHvR6rQsB/oKIMyClDOd53KoGxTHs8IoGpSKWOgeCI29ZhfaA0EOmpMi26n+beBAIzXkanjGLemDlpkrMbepGmjNMZTFuXY9D0dSF09wE7bhaWrsKD2IV+FgNrNtilwVKCK7zo5SgDqJY0EFJPMeSos1ilAKa++ISBruhoSUNi3Z1hA2+PqyLR/uPRLvm6qJnbqkk9dg0ziEDQV8qJIcE42DRbFnkp3lSZHiRZ8WqXfAFwe+He0YFLSAAAAAElFTkSuQmCC", Qt = "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", Dt = { class: "card-wrap" }, Ot = { class: "card-icon card" }, Rt = { class: "card-input" }, Jt = { class: "card-icon info" }, Vt = /* @__PURE__ */ Y({
179
- __name: "index",
180
- props: {
181
- activeTabName: {
182
- type: String,
183
- default: ""
184
- }
185
- },
186
- emits: ["handleCardInput"],
187
- setup(w, { emit: I }) {
188
- const f = w, r = K(""), l = I, m = (d) => {
189
- l("handleCardInput", d);
190
- };
191
- return j(() => f.activeTabName, (d) => {
192
- d && (r.value = "");
193
- }), (d, u) => {
194
- const p = T("el-image"), h = T("el-input");
195
- return O(), D("div", Dt, [
196
- g("div", Ot, [
197
- b(p, {
198
- src: et(Lt),
199
- fit: "contain"
200
- }, null, 8, ["src"])
201
- ]),
202
- g("div", Rt, [
203
- b(h, {
204
- modelValue: r.value,
205
- "onUpdate:modelValue": u[0] || (u[0] = (C) => r.value = C),
206
- onChange: m,
207
- clearable: ""
208
- }, null, 8, ["modelValue"])
209
- ]),
210
- g("div", Jt, [
211
- b(p, {
212
- src: et(Qt),
213
- fit: "contain"
214
- }, null, 8, ["src"])
215
- ])
216
- ]);
217
- };
218
- }
219
- }), Xt = /* @__PURE__ */ R(Vt, [["__scopeId", "data-v-23f91251"]]), qt = dt(z), at = ot(z), nt = K(!1), st = K(!1), Gt = async () => {
220
- const w = M({
221
- key: {
222
- systemKey: sessionStorage.getItem("systemKey"),
223
- pageKey: "menu"
224
- }
225
- }), I = M({
226
- key: {
227
- systemKey: sessionStorage.getItem("systemKey"),
228
- type: "structure"
229
- }
230
- });
231
- return await Promise.all([w, I]).then((f) => {
232
- var m, d, u, p, h, C, S, U, N, J, V, X, q, G;
233
- const r = f == null ? void 0 : f[0], l = f == null ? void 0 : f[1];
234
- if (r.data.code === 200) {
235
- const F = (S = (C = (h = (p = (u = (d = (m = r == null ? void 0 : r.data) == null ? void 0 : m.result) == null ? void 0 : d[0]) == null ? void 0 : u.value) == null ? void 0 : p.pageData) == null ? void 0 : h.compData) == null ? void 0 : C[0]) == null ? void 0 : S.contents;
236
- qt.setRawMenus(F ?? []), nt.value = ((U = r == null ? void 0 : r.data) == null ? void 0 : U.result) && ((J = (N = r == null ? void 0 : r.data) == null ? void 0 : N.result) == null ? void 0 : J.length) > 0;
237
- } else
238
- E.error("获取模型菜单响应失败");
239
- l.data.code === 200 ? l.data.result && ((V = l.data.result) == null ? void 0 : V.length) > 0 && (at.setStructureData(l.data.result), at.setIsStructureExist(!0), st.value = ((X = l == null ? void 0 : l.data) == null ? void 0 : X.result) && ((G = (q = l == null ? void 0 : l.data) == null ? void 0 : q.result) == null ? void 0 : G.length) > 0) : E.error("获取模型结构响应失败");
240
- }), {
241
- menuExist: nt.value,
242
- structureExist: st.value
243
- };
244
- };
245
- function Zt() {
246
- return ut({
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 Yt = { class: "login-wrap" }, Ft = { class: "login-body" }, Wt = { class: "login-body-item left" }, jt = { class: "login-body-item right" }, zt = /* @__PURE__ */ Y({
259
- __name: "index",
260
- emits: ["change"],
261
- setup(w, { emit: I }) {
262
- const f = it(), r = ot(z), l = K({
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
- }), m = K(""), d = K(!1), u = K(!1), p = () => {
281
- d.value = !0;
282
- }, h = (e) => {
283
- d.value = !1, H(e);
284
- }, C = (e, a) => {
285
- d.value = !1, e && H(a);
286
- }, S = (e) => At(e), U = (e) => {
287
- let a;
288
- const n = bt(e), s = gt(n), y = mt(s), v = ht(y, "parentPath");
289
- return a = vt(v), a;
290
- }, N = (e, a) => {
291
- var s, y, v;
292
- const n = (a == null ? void 0 : a.userRoles) ?? (a == null ? void 0 : a.角色名称);
293
- try {
294
- if (a.layer && ((s = a == null ? void 0 : a.layer) == null ? void 0 : s.toUpperCase()) === "SUPERADMIN")
295
- return "superAdmin";
296
- if (Array.isArray(n)) {
297
- if ((n == null ? void 0 : n.length) === 1) {
298
- const o = e == null ? void 0 : e.find((t) => (t == null ? void 0 : t.roleName) === (n == null ? void 0 : n[0]) || t.角色名称 === (n == null ? void 0 : n[0])), _ = S(o), c = U(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 ((n == null ? void 0 : n.length) > 1) {
302
- let o = e == null ? void 0 : e.filter((t) => n == null ? void 0 : n.includes(t.roleName || (t == null ? void 0 : t.角色名称)));
303
- const _ = S(o == null ? void 0 : o[0]), c = (v = (y = o == null ? void 0 : o.map((t) => Array.isArray(t == null ? void 0 : t[_]) ? t == null ? void 0 : t[_] : [])) == null ? void 0 : y.flat()) == null ? void 0 : v.flatMap((t) => t.checkedButtons);
304
- return (c == null ? void 0 : c.length) === 0 ? E.error("该用户没有权限,请联系管理员") : new Set(c);
305
- }
306
- }
307
- if (typeof n == "string") {
308
- const o = e == null ? void 0 : e.find((t) => (t == null ? void 0 : t.roleName) === n || (t == null ? void 0 : t.角色名称) === n), _ = S(o), c = U(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
- }, J = async (e) => {
315
- var a, n;
316
- try {
317
- let s = [];
318
- const y = await M({
319
- key: {
320
- systemKey: e == null ? void 0 : e.systemKey,
321
- // pageKey: '/系统管理/角色管理',
322
- pageKey: "系统管理/角色管理",
323
- type: "data"
324
- }
325
- });
326
- if (y.data.code === 200) {
327
- const v = (n = (a = y.data) == null ? void 0 : a.result) == null ? void 0 : n.map((o) => o.value.tableData);
328
- s = N(v, e);
329
- }
330
- if (s)
331
- return Array.isArray(s) ? Array.from(s) : s;
332
- throw E.error("获取用户权限失败,请联系管理员"), new Error("获取用户权限失败,请联系管理员");
333
- } catch (s) {
334
- throw E.error("获取用户权限失败,请联系管理员"), new Error(s);
335
- }
336
- }, V = async (e) => {
337
- var a, n, s, y, v, o, _;
338
- try {
339
- let c = [], t, x;
340
- const Z = await M({
341
- key: {
342
- // pageKey: '/系统管理/用户管理',
343
- pageKey: "系统管理/用户管理",
344
- type: "data"
345
- // systemKey:sessionStorage.getItem('tenantKey')
346
- }
347
- }), $ = await M({
348
- key: {
349
- layer: "superAdmin"
350
- // systemKey:sessionStorage.getItem('tenantKey')
351
- }
352
- });
353
- if (Z.data.code === 200 && $.data.code === 200) {
354
- const ct = (n = (a = $.data) == null ? void 0 : a.result) == null ? void 0 : n.map((i) => {
355
- var k, P;
356
- return {
357
- ...i.value.tableData,
358
- layer: (k = i.key) == null ? void 0 : k.layer,
359
- systemKey: (P = i == null ? void 0 : i.key) == null ? void 0 : P.systemKey,
360
- id: i.id
361
- };
362
- }), lt = (y = (s = Z.data) == null ? void 0 : s.result) == null ? void 0 : y.map((i) => {
363
- var k, P;
364
- return {
365
- ...i.value.tableData,
366
- layer: (k = i.key) == null ? void 0 : k.layer,
367
- systemKey: (P = i == null ? void 0 : i.key) == null ? void 0 : P.systemKey,
368
- id: i.id
369
- };
370
- }), W = [...ct, ...lt];
371
- if (t = W == null ? void 0 : W.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) {
372
- if (((v = t.layer) == null ? void 0 : v.toUpperCase()) !== "SUPERADMIN" && (!(t != null && t.状态) || (t == null ? void 0 : t.状态) === "禁用" || (t == null ? void 0 : t.status) === "禁用")) {
373
- E.error("该用户已被禁用,请联系管理员"), u.value = !1;
374
- return;
375
- }
376
- c = await J(t);
377
- const { privateKey: i } = await r.getModelSecretAsync(t);
378
- let k;
379
- if (t.password ? k = ((o = t.layer) == null ? void 0 : o.toUpperCase()) === "SUPERADMIN" ? t.password : ft(t.password, i) : k = ((_ = t.layer) == null ? void 0 : _.toUpperCase()) === "SUPERADMIN" ? t.password : yt, (e == null ? void 0 : e.password) === k)
380
- x = t;
381
- else
382
- throw x = null, E.error("输入的密码错误,请重新输入"), u.value = !1, new Error("输入的密码错误,请重新输入");
383
- }
384
- }
385
- return x && c ? {
386
- matchedUser: x,
387
- userAuthority: c
388
- } : void 0;
389
- } catch (c) {
390
- throw new Error(c);
391
- }
392
- }, X = async (e) => {
393
- var n, s, y;
394
- const a = await V(e);
395
- if (a != null && a.matchedUser) {
396
- r.setLoginUserInfo(a.matchedUser), sessionStorage.setItem("authority", JSON.stringify(a.userAuthority));
397
- const v = ((s = (n = a.matchedUser) == null ? void 0 : n.layer) == null ? void 0 : s.toUpperCase()) === "SUPERADMIN";
398
- return sessionStorage.setItem("isSuperAdmin", JSON.stringify(v)), sessionStorage.setItem("systemKey", (y = a.matchedUser) == null ? void 0 : y.systemKey), await q(a.matchedUser), !0;
399
- } else
400
- throw u.value = !1, E.error("该用户不存在,请重新输入"), new Error("该用户不存在,请重新输入");
401
- }, q = async (e) => {
402
- var n, s, y, v, o, _, c, t, x;
403
- const a = await M({
404
- key: {
405
- // pageKey: '/user',
406
- layer: "superAdmin",
407
- systemKey: e == null ? void 0 : e.systemKey
408
- }
409
- });
410
- if (a.data.code === 200 && (n = a.data) != null && n.result && Array.isArray((s = a.data) == null ? void 0 : s.result) && ((v = (y = a.data) == null ? void 0 : y.result) == null ? void 0 : v.length) > 0) {
411
- const Z = (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;
412
- r.setSuperAdminInfo({
413
- account: Z
414
- });
415
- }
416
- }, G = async () => {
417
- var e, a, n;
418
- try {
419
- const s = await Zt();
420
- return ((e = s == null ? void 0 : s.data) == null ? void 0 : e.code) === 200 ? (sessionStorage.setItem("loginToken", (n = (a = s.data) == null ? void 0 : a.result) == null ? void 0 : n.accessToken), !0) : !1;
421
- } catch (s) {
422
- E.error(s);
423
- }
424
- }, F = async () => {
425
- var e, a, n;
426
- try {
427
- const s = await pt.post("http://139.196.154.85:20024/api/sysAuth/login", {
428
- account: "superadmin",
429
- password: "9bf00809059adc7f57bd290bf73ddf4d16f4c83b5937e2d68144ab0bd60d045d22d70afeed8f2fa071cda536e1fac0daf12b8e63dd870c3ca8b308f23be6e693bb32ebd3d013116dc8338d6854b1332701a522a7c43706a6db4162fbe991c8c08aa842fbbc34",
430
- codeId: 0,
431
- code: ""
432
- });
433
- return ((e = s == null ? void 0 : s.data) == null ? void 0 : e.code) === 200 ? (sessionStorage.setItem("magicToken", (n = (a = s.data) == null ? void 0 : a.result) == null ? void 0 : n.accessToken), !0) : !1;
434
- } catch (s) {
435
- E.error(s);
436
- }
437
- }, H = (e) => {
438
- u.value = !0;
439
- let a = [X(e), G(), F()];
440
- Promise.all(a).then((n) => {
441
- (n == null ? void 0 : n.every((y) => y)) && (Gt(), f.push("/"), r.setLogRecordAsync({
442
- type: "登录",
443
- data: {
444
- account: e == null ? void 0 : e.account
445
- }
446
- }, "/login", "login"));
447
- });
448
- }, rt = (e) => {
449
- m.value = e, d.value = !1, u.value = !1;
450
- };
451
- return (e, a) => (O(), D("div", Yt, [
452
- g("div", Ft, [
453
- g("div", Wt, [
454
- b(Et, { class: "login-left-bg" }, {
455
- img: A(() => a[0] || (a[0] = [
456
- g("div", { class: "title" }, [
457
- g("div", null, "INSOFWORKS"),
458
- g("div", null, "工业软件集成开发平台")
459
- ], -1),
460
- g("div", { class: "divide-line" }, null, -1)
461
- ])),
462
- _: 1
463
- })
464
- ]),
465
- g("div", jt, [
466
- b(xt, {
467
- loading: u.value,
468
- onClickLogin: p,
469
- onHandleTabClick: rt
470
- }, {
471
- title: A(() => [
472
- L(Q(l.value.loginTitle), 1)
473
- ]),
474
- tabLabel1: A(() => [
475
- L(Q(l.value.tabs[0].name), 1)
476
- ]),
477
- tabContent1: A(() => [
478
- b(Xt, {
479
- activeTabName: m.value,
480
- onHandleCardInput: h
481
- }, null, 8, ["activeTabName"])
482
- ]),
483
- tabButton1: A(() => [
484
- L(Q(l.value.tabs[0].btnLabel), 1)
485
- ]),
486
- tabLabel2: A(() => [
487
- L(Q(l.value.tabs[1].name), 1)
488
- ]),
489
- tabContent2: A(() => [
490
- b(Pt, {
491
- activeTabName: m.value,
492
- isClickLogin: d.value,
493
- onHandleLoginFormChange: C
494
- }, null, 8, ["activeTabName", "isClickLogin"])
495
- ]),
496
- tabButton2: A(() => [
497
- L(Q(l.value.tabs[1].btnLabel), 1)
498
- ]),
499
- _: 1
500
- }, 8, ["loading"])
501
- ])
502
- ])
503
- ]));
504
- }
505
- }), oe = /* @__PURE__ */ R(zt, [["__scopeId", "data-v-476e2d85"]]);
506
- export {
507
- oe as default
508
- };
@@ -1,42 +0,0 @@
1
- # CAD Exchanger 3.24.0 (cadexchanger.com)
2
- # Material Count: 5
3
-
4
- newmtl Material_1
5
- Ns 0.000000
6
- Ka 0.200000 0.200000 0.200000
7
- Kd 0.666667 0.666667 0.666667
8
- Ks 0.000000 0.000000 0.000000
9
- Ke 0.000000 0.000000 0.000000
10
- d 1.000000
11
-
12
- newmtl Material_2
13
- Ns 0.000000
14
- Ka 0.200000 0.200000 0.200000
15
- Kd 0.133333 0.133333 0.133333
16
- Ks 0.000000 0.000000 0.000000
17
- Ke 0.000000 0.000000 0.000000
18
- d 1.000000
19
-
20
- newmtl Material_3
21
- Ns 0.000000
22
- Ka 0.200000 0.200000 0.200000
23
- Kd 0.733333 0.733333 0.733333
24
- Ks 0.000000 0.000000 0.000000
25
- Ke 0.000000 0.000000 0.000000
26
- d 1.000000
27
-
28
- newmtl Material_5
29
- Ns 0.000000
30
- Ka 0.200000 0.200000 0.200000
31
- Kd 0.396078 0.941176 0.450980
32
- Ks 0.000000 0.000000 0.000000
33
- Ke 0.000000 0.000000 0.000000
34
- d 1.000000
35
-
36
- newmtl Material_4
37
- Ns 0.000000
38
- Ka 0.200000 0.200000 0.200000
39
- Kd 1.000000 1.000000 0.000000
40
- Ks 0.000000 0.000000 0.000000
41
- Ke 0.000000 0.000000 0.000000
42
- d 1.000000