ss-component-new 1.3.792 → 1.3.793
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.
- package/dist/{MTLLoader-C5dnMN1N.js → MTLLoader-BLW4rBj3.js} +1 -1
- package/dist/{URDFLoader-B4dYkf-D.js → URDFLoader-CJ0eZ787.js} +2 -2
- package/dist/{animationData-DiyerNTb.js → animationData-WcAtIS9e.js} +3 -3
- package/dist/{array-D3QPE06i.js → array-C4v0WwSQ.js} +3 -3
- package/dist/{clone-B_hYig97.js → clone-B58hfp9X.js} +1 -1
- package/dist/{iconfont--gs3Gevb.js → iconfont-CDGUReXk.js} +1 -1
- package/dist/{index-BvyclM-l.js → index--HxLl32u.js} +3 -3
- package/dist/{index-DR7X4PF3.js → index-A4jWIrmN.js} +2 -2
- package/dist/{index-CBS1iDdJ.js → index-B7PNqrjJ.js} +43 -43
- package/dist/{index-DptQmTpV.js → index-BCem4LDt.js} +1 -1
- package/dist/index-BEEhgR2h.js +20448 -0
- package/dist/{index-YLTMuTay.js → index-BKO-RXgQ.js} +2 -2
- package/dist/{index-V1jLZaXg.js → index-BiiVP9UY.js} +5 -5
- package/dist/{index-By9vpmaq.js → index-BoM2_e4m.js} +17 -19
- package/dist/{index-DVLFYqXK.js → index-BzB2Vn8c.js} +1 -1
- package/dist/{index-DnZw_2yg.js → index-C-eAXBcR.js} +1 -1
- package/dist/index-C53X6G-4.js +1040 -0
- package/dist/{index-Cgw1NH_e.js → index-CDE3W8eV.js} +1 -1
- package/dist/{index-BRIu2-IE.js → index-CXQiVSNJ.js} +3 -3
- package/dist/index-CdnLi1mI.js +201 -0
- package/dist/{index-CnGSxj-A.js → index-Cryd-gMS.js} +1 -1
- package/dist/{index-UosES3D0.js → index-DDMr3ccr.js} +4 -4
- package/dist/{index-D73xhnLT.js → index-DEZSGsHH.js} +5 -5
- package/dist/{index-CRvrz4Kx.js → index-DKgaK1z9.js} +1 -1
- package/dist/{index-B-YCt3ei.js → index-DPI8Ng2H.js} +8 -8
- package/dist/{index-DUdae6Rn.js → index-DQi7rHI6.js} +1 -1
- package/dist/{index-D8Cjsxir.js → index-Dl9Q4HHR.js} +8 -8
- package/dist/{index-BWAUAA-3.js → index-DrOrOkl6.js} +2 -2
- package/dist/{index-DwlYweox.js → index-DsnTrY1M.js} +1 -1
- package/dist/{index-Bwi9ttWV.js → index-DuKiR1_e.js} +2 -2
- package/dist/{index-MupPMnNC.js → index-Dzn6ZiP-.js} +4 -4
- package/dist/{index-Du5DbeP0.js → index-GORssRqa.js} +2 -2
- package/dist/{index-B9eBt9Wy.js → index-hq3N2pd8.js} +5928 -5724
- package/dist/{index-znHowcje.js → index-lnvizv_3.js} +21251 -21230
- package/dist/{index-C4IOVZXF.js → index-yOnrK71-.js} +548 -552
- package/dist/{index.vue_vue_type_script_setup_true_lang-BqS9V6jf.js → index.vue_vue_type_script_setup_true_lang-DRzriV-s.js} +12 -17
- package/dist/{index.vue_vue_type_style_index_0_scoped_05e3a1d8_lang-DxfByRuz.js → index.vue_vue_type_style_index_0_scoped_05e3a1d8_lang-D22lZDxk.js} +3 -3
- package/dist/{main-BQoQ7aLp.js → main-Oii-OsDl.js} +4 -4
- package/dist/{menuIndex-DKRjBdPj.js → menuIndex-Cv7pne94.js} +1 -1
- package/dist/ss-component.css +2 -2
- package/dist/ss-component.js +15 -15
- package/dist/ss-component2.js +12 -12
- package/dist/{threeModel-B2gUWieF.js → threeModel-m8uRa9qf.js} +4 -4
- package/dist/{threePreview-DQFkOSSW.js → threePreview-BGFPEhB8.js} +5 -5
- package/dist/{threeSceneView-C2i0w5Rf.js → threeSceneView-B8AO4V6s.js} +12 -12
- package/dist/{threeSceneViewForCPMPIP-CAheT0H4.js → threeSceneViewForCPMPIP-CqSE9smj.js} +9 -9
- package/dist/{threeTrackPathView-DZx8ZdyF.js → threeTrackPathView-DpDSwCX_.js} +4 -4
- package/dist/{threeViewerHost-DVB_MeiG.js → threeViewerHost-CzBxyrCq.js} +3 -3
- package/dist/{urdfTree-DX-zCzQ0.js → urdfTree-BuDVQq17.js} +1 -1
- package/dist/{workpieceTreePanel-BCJJSbuT.js → workpieceTreePanel-_uSgHKC_.js} +4 -4
- package/package.json +1 -1
- package/dist/index-CcjzB3IP.js +0 -20682
- package/dist/index-Cpq_YbPr.js +0 -222
- package/dist/index-g9Npek0_.js +0 -1008
- package/dist/obj/model.mtl +0 -42
- package/dist/obj/model.obj +0 -26110
- package/public/obj/model.mtl +0 -42
- package/public/obj/model.obj +0 -26110
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { R as Y, U as Z, u as D, C as P, c as S, a1 as H, V as O, Y as V, s as ie, a2 as W, aF as X, _ as T, k as ne, aJ as $, $ as N, h as K, ak as ae, a4 as oe, aC as le, aW as q, am as Q, bi as ce, at as he } from "./index.vue_vue_type_style_index_0_scoped_05e3a1d8_lang-
|
|
1
|
+
import { R as Y, U as Z, u as D, C as P, c as S, a1 as H, V as O, Y as V, s as ie, a2 as W, aF as X, _ as T, k as ne, aJ as $, $ as N, h as K, ak as ae, a4 as oe, aC as le, aW as q, am as Q, bi as ce, at as he } from "./index.vue_vue_type_style_index_0_scoped_05e3a1d8_lang-D22lZDxk.js";
|
|
2
2
|
class xe extends Y {
|
|
3
3
|
/**
|
|
4
4
|
* Constructs a new STL loader.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { S as Ln } from "./MTLLoader-
|
|
2
|
-
import { bg as vn, aw as Rn, R as lt, ak as At, U as In, V as pe, n as he, aG as dt, S as Mn, at as Tt, C as ut, o as Le, aN as ft, bh as Sn, k as ve, aW as Se, c as me, am as Gn, l as On, a4 as qn, P as ht, aL as Pn, i as jn, ao as Un, j as Fn, D as Hn, s as pt, aq as Et, aT as mt, aV as Bn, u as Dn, Y as ye, aO as zn, a2 as bt, aI as Vn, h as Ce, w as Jn, aJ as Wn, aM as Kn, aC as Ge, aE as gt, bi as Yn, bj as Xn, bk as yt, bl as $n, bm as Zn, bn as Qn, bo as ei, a0 as ti, bp as ni, bq as ii, E as si } from "./index.vue_vue_type_style_index_0_scoped_05e3a1d8_lang-
|
|
1
|
+
import { S as Ln } from "./MTLLoader-BLW4rBj3.js";
|
|
2
|
+
import { bg as vn, aw as Rn, R as lt, ak as At, U as In, V as pe, n as he, aG as dt, S as Mn, at as Tt, C as ut, o as Le, aN as ft, bh as Sn, k as ve, aW as Se, c as me, am as Gn, l as On, a4 as qn, P as ht, aL as Pn, i as jn, ao as Un, j as Fn, D as Hn, s as pt, aq as Et, aT as mt, aV as Bn, u as Dn, Y as ye, aO as zn, a2 as bt, aI as Vn, h as Ce, w as Jn, aJ as Wn, aM as Kn, aC as Ge, aE as gt, bi as Yn, bj as Xn, bk as yt, bl as $n, bm as Zn, bn as Qn, bo as ei, a0 as ti, bp as ni, bq as ii, E as si } from "./index.vue_vue_type_style_index_0_scoped_05e3a1d8_lang-D22lZDxk.js";
|
|
3
3
|
class wt extends vn {
|
|
4
4
|
/**
|
|
5
5
|
* Constructs a new TGA loader.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { e as K, y as C, f as x } from "./index-
|
|
2
|
-
import { r as N, bf as S } from "./index.vue_vue_type_style_index_0_scoped_05e3a1d8_lang-
|
|
3
|
-
import { c as O } from "./index-
|
|
1
|
+
import { e as K, y as C, f as x } from "./index-BoM2_e4m.js";
|
|
2
|
+
import { r as N, bf as S } from "./index.vue_vue_type_style_index_0_scoped_05e3a1d8_lang-D22lZDxk.js";
|
|
3
|
+
import { c as O } from "./index-yOnrK71-.js";
|
|
4
4
|
const g = async (n) => {
|
|
5
5
|
const e = n.join("/"), c = sessionStorage.getItem("systemKey");
|
|
6
6
|
return await K(e, c, "");
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { ref as k, computed as ae, resolveComponent as te, createElementBlock as M, openBlock as p, Fragment as ue, renderList as ce, createElementVNode as w, toDisplayString as re, createVNode as R, reactive as la, watch as be, createBlock as j, resolveDynamicComponent as le, unref as _, withCtx as L, isRef as Ye, createTextVNode as de, createCommentVNode as q, normalizeStyle as ta, withModifiers as ve, normalizeClass as qe, nextTick as na } from "vue";
|
|
2
|
-
import { U as Ie, g as aa, E as oa, F as sa, G as Je, V as ra } from "./index-
|
|
3
|
-
import { a as Ce, p as he, s as ie, c as K, u as ke, E as ua } from "./index-
|
|
2
|
+
import { U as Ie, g as aa, E as oa, F as sa, G as Je, V as ra } from "./index-lnvizv_3.js";
|
|
3
|
+
import { a as Ce, p as he, s as ie, c as K, u as ke, E as ua } from "./index-yOnrK71-.js";
|
|
4
4
|
import { _ as we } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
import ca from "./index-rlStojTL.js";
|
|
6
|
-
import { e as ia, d as da } from "./index-
|
|
6
|
+
import { e as ia, d as da } from "./index-hq3N2pd8.js";
|
|
7
7
|
import { s as va } from "./index-11kpzK0A.js";
|
|
8
8
|
import { E as pa } from "./request-1RPa2bBn.js";
|
|
9
9
|
const fa = { class: "type-select" }, ha = { class: "group-label" }, ga = { class: "group-items" }, ma = ["onDragstart"], ba = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { shallowRef as D2, ref as j, defineComponent as z2, computed as Y, createElementBlock as n2, openBlock as h2, createElementVNode as w, normalizeStyle as d2, normalizeClass as u2 } from "vue";
|
|
2
|
-
import { br as F2, V as p, M as R, bs as U, aq as c2, bt as m2, am as S, bu as P2, m as J, o as E2, E as t2, B as I, h as O, as as x2, G as H2, e as e2, f as B2, S as S2, C as C2, P as V2, W as T2, b as L2, A as O2, c as R2, bv as k2, X as j2, i as I2, D as o2, H as N2, j as f2, aY as Y2, k as Z2, l as U2 } from "./index.vue_vue_type_style_index_0_scoped_05e3a1d8_lang-
|
|
2
|
+
import { br as F2, V as p, M as R, bs as U, aq as c2, bt as m2, am as S, bu as P2, m as J, o as E2, E as t2, B as I, h as O, as as x2, G as H2, e as e2, f as B2, S as S2, C as C2, P as V2, W as T2, b as L2, A as O2, c as R2, bv as k2, X as j2, i as I2, D as o2, H as N2, j as f2, aY as Y2, k as Z2, l as U2 } from "./index.vue_vue_type_style_index_0_scoped_05e3a1d8_lang-D22lZDxk.js";
|
|
3
3
|
import { _ as A2 } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
4
|
const v2 = { type: "change" }, r2 = { type: "start" }, _2 = { type: "end" }, $ = new P2(), M2 = new J(), X2 = Math.cos(70 * E2.DEG2RAD), b = new p(), F = 2 * Math.PI, A = {
|
|
5
5
|
NONE: -1,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ref as i, computed as _, reactive as ie, nextTick as B, watch as ye } from "vue";
|
|
2
|
-
import { c as J, s as be, u as he, a as Ce, o as Ie, p as U } from "./index-
|
|
3
|
-
import { j as ke } from "./index-
|
|
2
|
+
import { c as J, s as be, u as he, a as Ce, o as Ie, p as U } from "./index-yOnrK71-.js";
|
|
3
|
+
import { j as ke } from "./index-BoM2_e4m.js";
|
|
4
4
|
import { g as $, c as ae, u as oe, d as Te, a as Me } from "./index-YjBTGOkO.js";
|
|
5
|
-
import { e as Se } from "./menuIndex-
|
|
5
|
+
import { e as Se } from "./menuIndex-Cv7pne94.js";
|
|
6
6
|
import { E as S } from "./request-1RPa2bBn.js";
|
|
7
7
|
const F = Ce(U), ne = Ie(U), C = he(U), { menus: ue, configMenu: R, activeMenuPath: q, cacheStructures: K } = be(C), z = i(!1), se = _(() => {
|
|
8
8
|
var e, t;
|
|
@@ -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-
|
|
3
|
-
import { W as _ } from "./index-
|
|
2
|
+
import { S as m } from "./index-CDE3W8eV.js";
|
|
3
|
+
import { W as _ } from "./index-lnvizv_3.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,11 +1,11 @@
|
|
|
1
1
|
import { ref as h, computed as E, reactive as j, defineComponent as q, watch as H, createElementBlock as N, openBlock as k, createVNode as A, createCommentVNode as ue, withCtx as _, createTextVNode as x, toDisplayString as F, resolveComponent as D, createBlock as R, Fragment as ie, renderList as ce, createElementVNode as de, normalizeStyle as pe } from "vue";
|
|
2
2
|
import { c8 as fe, c9 as ve, ca as ge, E as T } from "./request-1RPa2bBn.js";
|
|
3
|
-
import { s as J, b as ye, u as be, p as G, c as me, e as he } from "./index-
|
|
3
|
+
import { s as J, b as ye, u as be, p as G, c as me, e as he } from "./index-yOnrK71-.js";
|
|
4
4
|
import { g as Q, u as we } from "./index-YjBTGOkO.js";
|
|
5
5
|
import { J as X } from "./JSEncrypt-B36c1iN5.js";
|
|
6
|
-
import { a4 as Se } from "./index-
|
|
7
|
-
import { A as _e } from "./index-
|
|
8
|
-
import { u as Y,
|
|
6
|
+
import { a4 as Se } from "./index-BoM2_e4m.js";
|
|
7
|
+
import { A as _e } from "./index-DQi7rHI6.js";
|
|
8
|
+
import { u as Y, n as Ce } from "./index-hq3N2pd8.js";
|
|
9
9
|
import { _ as Z } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
10
10
|
import { S as V } from "./index-BHtNKL1L.js";
|
|
11
11
|
function Ae(t, s) {
|
|
@@ -17,7 +17,7 @@ function ke(t, s) {
|
|
|
17
17
|
return e.setPrivateKey(s), e.decrypt(t) || "";
|
|
18
18
|
}
|
|
19
19
|
const M = ye(G), { loginUserInfo: d, cryptoInfo: P } = J(M), Ie = be(G), { activeMenuPath: I } = J(Ie), Ue = h(0), ee = E(() => {
|
|
20
|
-
var t, s, e, n,
|
|
20
|
+
var t, s, e, n, l, o, a, p, y, b, g;
|
|
21
21
|
return [
|
|
22
22
|
{
|
|
23
23
|
label: "",
|
|
@@ -39,14 +39,14 @@ const M = ye(G), { loginUserInfo: d, cryptoInfo: P } = J(M), Ie = be(G), { activ
|
|
|
39
39
|
// name: 'userDept',
|
|
40
40
|
name: "部门名称",
|
|
41
41
|
prop: "部门名称",
|
|
42
|
-
value: ((
|
|
42
|
+
value: ((l = d.value) == null ? void 0 : l.部门名称) ?? "未知"
|
|
43
43
|
},
|
|
44
44
|
{
|
|
45
45
|
label: "",
|
|
46
46
|
// name: 'userDept',
|
|
47
47
|
name: "状态",
|
|
48
48
|
prop: "状态",
|
|
49
|
-
value: ((
|
|
49
|
+
value: ((o = d.value) == null ? void 0 : o.layer) === "superAdmin" ? "启用" : ((a = d.value) == null ? void 0 : a.状态) ?? "未知"
|
|
50
50
|
},
|
|
51
51
|
{
|
|
52
52
|
label: "",
|
|
@@ -87,9 +87,9 @@ const M = ye(G), { loginUserInfo: d, cryptoInfo: P } = J(M), Ie = be(G), { activ
|
|
|
87
87
|
disabled: !1
|
|
88
88
|
}
|
|
89
89
|
]), z = h(!1), O = h(!1), ae = h(!1), te = E(() => {
|
|
90
|
-
var n,
|
|
91
|
-
const t = sessionStorage.getItem("authority"), s = JSON.parse(t || ""), e = (n = I.value) != null && n.startsWith("/") ? (
|
|
92
|
-
return Array.isArray(s) ? (ae.value = !(s != null && s.includes(`${e}/上传头像`)), (
|
|
90
|
+
var n, l, o;
|
|
91
|
+
const t = sessionStorage.getItem("authority"), s = JSON.parse(t || ""), e = (n = I.value) != null && n.startsWith("/") ? (l = I.value) == null ? void 0 : l.substring(1) : I.value;
|
|
92
|
+
return Array.isArray(s) ? (ae.value = !(s != null && s.includes(`${e}/上传头像`)), (o = K.value) == null ? void 0 : o.map((a) => ({
|
|
93
93
|
...a,
|
|
94
94
|
disabled: !(s != null && s.includes(`${e}/签名`))
|
|
95
95
|
}))) : typeof s == "string" && (s == null ? void 0 : s.toUpperCase()) === "SUPERADMIN" ? K.value : [];
|
|
@@ -107,7 +107,7 @@ const M = ye(G), { loginUserInfo: d, cryptoInfo: P } = J(M), Ie = be(G), { activ
|
|
|
107
107
|
}, se = () => {
|
|
108
108
|
L.dialogShow = !1;
|
|
109
109
|
}, re = async (t) => {
|
|
110
|
-
var e, n,
|
|
110
|
+
var e, n, l, o, a, p, y, b, g;
|
|
111
111
|
const s = await Q({
|
|
112
112
|
id: t
|
|
113
113
|
// key: {
|
|
@@ -119,14 +119,14 @@ const M = ye(G), { loginUserInfo: d, cryptoInfo: P } = J(M), Ie = be(G), { activ
|
|
|
119
119
|
});
|
|
120
120
|
if (((e = s == null ? void 0 : s.data) == null ? void 0 : e.code) === 200 && s.data.result && Array.isArray(s.data.result) && s.data.result.length > 0) {
|
|
121
121
|
const c = {
|
|
122
|
-
...(
|
|
122
|
+
...(o = (l = (n = s.data.result) == null ? void 0 : n[0]) == null ? void 0 : l.value) == null ? void 0 : o.tableData,
|
|
123
123
|
id: (p = (a = s.data.result) == null ? void 0 : a[0]) == null ? void 0 : p.id,
|
|
124
124
|
layer: (g = (b = (y = s.data.result) == null ? void 0 : y[0]) == null ? void 0 : b.key) == null ? void 0 : g.layer
|
|
125
125
|
};
|
|
126
126
|
M.setLoginUserInfo(c);
|
|
127
127
|
}
|
|
128
128
|
}, ne = async (t, s) => {
|
|
129
|
-
var n,
|
|
129
|
+
var n, l, o;
|
|
130
130
|
const e = me(t);
|
|
131
131
|
e == null || delete e.id;
|
|
132
132
|
try {
|
|
@@ -136,7 +136,7 @@ const M = ye(G), { loginUserInfo: d, cryptoInfo: P } = J(M), Ie = be(G), { activ
|
|
|
136
136
|
tableData: e
|
|
137
137
|
}
|
|
138
138
|
});
|
|
139
|
-
((
|
|
139
|
+
((l = a == null ? void 0 : a.data) == null ? void 0 : l.code) === 200 && (se(), T.success("修改成功"), await re((o = d.value) == null ? void 0 : o.id), await M.setLogRecordAsync({
|
|
140
140
|
type: s,
|
|
141
141
|
data: t
|
|
142
142
|
}, I.value));
|
|
@@ -146,10 +146,10 @@ const M = ye(G), { loginUserInfo: d, cryptoInfo: P } = J(M), Ie = be(G), { activ
|
|
|
146
146
|
$.value = !1, z.value = !1, O.value = !1;
|
|
147
147
|
}
|
|
148
148
|
}, De = async (t, s) => {
|
|
149
|
-
var
|
|
149
|
+
var l;
|
|
150
150
|
const e = t === "avatarUrl" ? "头像" : "签名", n = {
|
|
151
151
|
...d.value,
|
|
152
|
-
status: ((
|
|
152
|
+
status: ((l = d.value) == null ? void 0 : l.status) ?? "启用",
|
|
153
153
|
// password: encryptData(loginUserInfo.value?.password, cryptoInfo?.publicKey),
|
|
154
154
|
// [prop]: url
|
|
155
155
|
[e]: s
|
|
@@ -158,18 +158,18 @@ const M = ye(G), { loginUserInfo: d, cryptoInfo: P } = J(M), Ie = be(G), { activ
|
|
|
158
158
|
}, B = j({
|
|
159
159
|
baseCols: [],
|
|
160
160
|
otherCols: []
|
|
161
|
-
}),
|
|
162
|
-
var
|
|
161
|
+
}), le = h([]), oe = h(), Pe = (t, s, e) => {
|
|
162
|
+
var o, a, p, y, b, g;
|
|
163
163
|
let n;
|
|
164
|
-
const
|
|
165
|
-
((a = (
|
|
164
|
+
const l = s;
|
|
165
|
+
((a = (o = d.value) == null ? void 0 : o.layer) == null ? void 0 : a.toUpperCase()) !== "SUPERADMIN" ? n = (p = d.value) != null && p.password ? ke((y = d.value) == null ? void 0 : y.password, (b = P == null ? void 0 : P.value) == null ? void 0 : b.privateKey) : Se : n = (g = d.value) == null ? void 0 : g.password, n === l ? e() : e(new Error("输入的密码与原密码不匹配,请重新输入"));
|
|
166
166
|
}, Ne = (t, s, e) => {
|
|
167
167
|
s ? e() : e(new Error("请输入密码"));
|
|
168
168
|
}, Fe = (t, s, e) => {
|
|
169
169
|
var n;
|
|
170
|
-
s !== ((n =
|
|
170
|
+
s !== ((n = oe.value) == null ? void 0 : n.newtPass) ? e(new Error("两次输入的密码不一致")) : e();
|
|
171
171
|
}, Le = async () => {
|
|
172
|
-
var s, e, n,
|
|
172
|
+
var s, e, n, l, o, a, p, y, b, g;
|
|
173
173
|
const t = await Q({
|
|
174
174
|
key: {
|
|
175
175
|
systemKey: sessionStorage.getItem("systemKey"),
|
|
@@ -179,7 +179,7 @@ const M = ye(G), { loginUserInfo: d, cryptoInfo: P } = J(M), Ie = be(G), { activ
|
|
|
179
179
|
}
|
|
180
180
|
});
|
|
181
181
|
if (((s = t == null ? void 0 : t.data) == null ? void 0 : s.code) === 200 && t.data.result && ((e = t.data.result) == null ? void 0 : e.length) > 0) {
|
|
182
|
-
const c = (p = (a = (
|
|
182
|
+
const c = (p = (a = (o = (l = (n = t.data.result) == null ? void 0 : n[0]) == null ? void 0 : l.value) == null ? void 0 : o.pageData) == null ? void 0 : a.compData) == null ? void 0 : p.find((r) => (r == null ? void 0 : r.key) === "header"), w = (y = ee.value) == null ? void 0 : y.map((r) => r == null ? void 0 : r.prop);
|
|
183
183
|
B.baseCols = c && ((b = c.contents) == null ? void 0 : b.map((r) => ({
|
|
184
184
|
...r,
|
|
185
185
|
isFormColHidden: (w == null ? void 0 : w.includes(r == null ? void 0 : r.prop)) || (r == null ? void 0 : r.label) === "操作"
|
|
@@ -207,22 +207,22 @@ const M = ye(G), { loginUserInfo: d, cryptoInfo: P } = J(M), Ie = be(G), { activ
|
|
|
207
207
|
B.otherCols = u, xe(d.value);
|
|
208
208
|
}
|
|
209
209
|
}, Re = (t) => {
|
|
210
|
-
|
|
210
|
+
oe.value = t;
|
|
211
211
|
}, Ve = async ({ content: t, buttonName: s }) => {
|
|
212
|
-
var n,
|
|
212
|
+
var n, l, o, a, p;
|
|
213
213
|
let e;
|
|
214
214
|
s === "确定" && (e = {
|
|
215
215
|
...d.value,
|
|
216
216
|
status: ((n = d.value) == null ? void 0 : n.status) ?? "启用",
|
|
217
217
|
// 目前是超管密码明文传输,非超管用户密码加密传输
|
|
218
|
-
password: ((
|
|
218
|
+
password: ((o = (l = d.value) == null ? void 0 : l.layer) == null ? void 0 : o.toUpperCase()) === "SUPERADMIN" ? t == null ? void 0 : t.confirmNewPass : Ae(t == null ? void 0 : t.confirmNewPass, (a = P.value) == null ? void 0 : a.publicKey)
|
|
219
219
|
}), s === "保存基本信息" && (e = {
|
|
220
220
|
...d.value,
|
|
221
221
|
...t,
|
|
222
222
|
status: ((p = d.value) == null ? void 0 : p.status) ?? "启用"
|
|
223
223
|
}), $.value = !0, await ne(e, s);
|
|
224
224
|
}, W = () => {
|
|
225
|
-
var n,
|
|
225
|
+
var n, l;
|
|
226
226
|
const t = {
|
|
227
227
|
base: [
|
|
228
228
|
{
|
|
@@ -240,15 +240,15 @@ const M = ye(G), { loginUserInfo: d, cryptoInfo: P } = J(M), Ie = be(G), { activ
|
|
|
240
240
|
]
|
|
241
241
|
}, s = sessionStorage.getItem("authority"), e = JSON.parse(s || "");
|
|
242
242
|
if (Array.isArray(e)) {
|
|
243
|
-
const
|
|
243
|
+
const o = (n = I.value) != null && n.startsWith("/") ? (l = I.value) == null ? void 0 : l.substring(1) : I.value, a = e != null && e.includes(`${o}/基本信息`) ? t == null ? void 0 : t.base : [], p = e != null && e.includes(`${o}/修改密码`) ? t == null ? void 0 : t.other : [];
|
|
244
244
|
return {
|
|
245
245
|
base: a,
|
|
246
246
|
other: p
|
|
247
247
|
};
|
|
248
248
|
} else return typeof e == "string" && (e == null ? void 0 : e.toUpperCase()) === "SUPERADMIN" ? t : null;
|
|
249
249
|
}, xe = (t) => {
|
|
250
|
-
var s, e, n,
|
|
251
|
-
|
|
250
|
+
var s, e, n, l, o;
|
|
251
|
+
le.value = [
|
|
252
252
|
{
|
|
253
253
|
value: "基础信息",
|
|
254
254
|
label: "基础信息",
|
|
@@ -298,14 +298,14 @@ const M = ye(G), { loginUserInfo: d, cryptoInfo: P } = J(M), Ie = be(G), { activ
|
|
|
298
298
|
name: a == null ? void 0 : a.prop,
|
|
299
299
|
contents: a == null ? void 0 : a.options
|
|
300
300
|
})),
|
|
301
|
-
formRules: (
|
|
301
|
+
formRules: (l = B.otherCols) == null ? void 0 : l.reduce((a, p) => (a[p.prop] = [
|
|
302
302
|
{ required: !0, message: "输入有误", trigger: "change" },
|
|
303
303
|
{
|
|
304
304
|
validator: (y, b, g) => p.validator(y, b, g),
|
|
305
305
|
trigger: "blur"
|
|
306
306
|
}
|
|
307
307
|
], a), {}),
|
|
308
|
-
buttonValue: (
|
|
308
|
+
buttonValue: (o = W()) == null ? void 0 : o.other,
|
|
309
309
|
isEnableWrap: !1
|
|
310
310
|
},
|
|
311
311
|
value: ""
|
|
@@ -331,7 +331,7 @@ const M = ye(G), { loginUserInfo: d, cryptoInfo: P } = J(M), Ie = be(G), { activ
|
|
|
331
331
|
signatureLoading: O,
|
|
332
332
|
submitImageAsync: De,
|
|
333
333
|
tabKey: Ue,
|
|
334
|
-
tabsContents:
|
|
334
|
+
tabsContents: le,
|
|
335
335
|
tempSignTypes: K,
|
|
336
336
|
uploadDisabled: ae
|
|
337
337
|
}, Symbol.toStringTag, { value: "Module" })), Ke = { class: "avatar-model-wrap" }, Me = { key: 0 }, $e = /* @__PURE__ */ q({
|
|
@@ -360,18 +360,18 @@ const M = ye(G), { loginUserInfo: d, cryptoInfo: P } = J(M), Ie = be(G), { activ
|
|
|
360
360
|
},
|
|
361
361
|
emits: ["submitImage", "deleteImage"],
|
|
362
362
|
setup(t, { emit: s }) {
|
|
363
|
-
const e = t, n = s,
|
|
363
|
+
const e = t, n = s, l = E(() => "http://222.92.178.198:62001"), o = h(""), a = h(""), p = h();
|
|
364
364
|
H(() => {
|
|
365
365
|
var c;
|
|
366
366
|
return (c = e.userInfo) == null ? void 0 : c.头像;
|
|
367
367
|
}, (c) => {
|
|
368
|
-
a.value = c ?
|
|
368
|
+
a.value = c ? l.value + "/" + c : "";
|
|
369
369
|
}, { immediate: !0 });
|
|
370
370
|
const y = async () => {
|
|
371
371
|
if (!(e != null && e.disabled))
|
|
372
372
|
try {
|
|
373
373
|
const c = await he({
|
|
374
|
-
url:
|
|
374
|
+
url: o.value
|
|
375
375
|
// url: props.avatarUrl
|
|
376
376
|
});
|
|
377
377
|
if (c.status !== 200)
|
|
@@ -385,7 +385,7 @@ const M = ye(G), { loginUserInfo: d, cryptoInfo: P } = J(M), Ie = be(G), { activ
|
|
|
385
385
|
var w, S, u, r, m;
|
|
386
386
|
try {
|
|
387
387
|
const f = await Y(c);
|
|
388
|
-
((w = f == null ? void 0 : f.data) == null ? void 0 : w.code) === 200 && (a.value =
|
|
388
|
+
((w = f == null ? void 0 : f.data) == null ? void 0 : w.code) === 200 && (a.value = l.value + "/" + ((u = (S = f.data) == null ? void 0 : S.result) == null ? void 0 : u.url), o.value = (m = (r = f.data) == null ? void 0 : r.result) == null ? void 0 : m.url, n("submitImage", o.value));
|
|
389
389
|
} catch (f) {
|
|
390
390
|
T.error(f);
|
|
391
391
|
}
|
|
@@ -438,10 +438,10 @@ const M = ye(G), { loginUserInfo: d, cryptoInfo: P } = J(M), Ie = be(G), { activ
|
|
|
438
438
|
},
|
|
439
439
|
emits: ["clickSignButton", "clickSubmitSign", "beforeDestroy"],
|
|
440
440
|
setup(t, { emit: s }) {
|
|
441
|
-
const e = t, n = h({}),
|
|
442
|
-
n.value.dialogShow = (u == null ? void 0 : u.label) === "电子签名",
|
|
441
|
+
const e = t, n = h({}), l = h([]), o = s, a = (u) => {
|
|
442
|
+
n.value.dialogShow = (u == null ? void 0 : u.label) === "电子签名", o("clickSignButton", u);
|
|
443
443
|
}, p = () => {
|
|
444
|
-
n.value.dialogShow = !1,
|
|
444
|
+
n.value.dialogShow = !1, o("beforeDestroy");
|
|
445
445
|
}, y = E(() => "http://222.92.178.198:62001"), b = (u) => {
|
|
446
446
|
var i;
|
|
447
447
|
const r = u.split(","), m = (i = r == null ? void 0 : r[0]) == null ? void 0 : i.match(/:(.*?);/)[1], f = atob(r[1]);
|
|
@@ -454,7 +454,7 @@ const M = ye(G), { loginUserInfo: d, cryptoInfo: P } = J(M), Ie = be(G), { activ
|
|
|
454
454
|
var r, m, f;
|
|
455
455
|
try {
|
|
456
456
|
const v = await Y(u);
|
|
457
|
-
((r = v == null ? void 0 : v.data) == null ? void 0 : r.code) === 200 &&
|
|
457
|
+
((r = v == null ? void 0 : v.data) == null ? void 0 : r.code) === 200 && o("clickSubmitSign", (f = (m = v.data) == null ? void 0 : m.result) == null ? void 0 : f.url);
|
|
458
458
|
} catch (v) {
|
|
459
459
|
T.error(v);
|
|
460
460
|
}
|
|
@@ -472,7 +472,7 @@ const M = ye(G), { loginUserInfo: d, cryptoInfo: P } = J(M), Ie = be(G), { activ
|
|
|
472
472
|
const r = (f = u == null ? void 0 : u.find((i) => (i == null ? void 0 : i.key) === "signConfig")) == null ? void 0 : f.contents;
|
|
473
473
|
r && Object.keys(r).forEach((i) => {
|
|
474
474
|
(r[i] === void 0 || r[i] === null || r[i] === "") && delete r[i];
|
|
475
|
-
}), n.value = (v = u == null ? void 0 : u.find((i) => (i == null ? void 0 : i.key) === "signConfig")) == null ? void 0 : v.contents,
|
|
475
|
+
}), n.value = (v = u == null ? void 0 : u.find((i) => (i == null ? void 0 : i.key) === "signConfig")) == null ? void 0 : v.contents, l.value = (C = u == null ? void 0 : u.find((i) => (i == null ? void 0 : i.key) === "signTypeList")) == null ? void 0 : C.contents;
|
|
476
476
|
}, {
|
|
477
477
|
immediate: !0
|
|
478
478
|
}), (u, r) => {
|
|
@@ -510,7 +510,7 @@ const M = ye(G), { loginUserInfo: d, cryptoInfo: P } = J(M), Ie = be(G), { activ
|
|
|
510
510
|
];
|
|
511
511
|
}),
|
|
512
512
|
signatureTypes: _(() => [
|
|
513
|
-
(k(!0), N(ie, null, ce(
|
|
513
|
+
(k(!0), N(ie, null, ce(l.value, (i) => {
|
|
514
514
|
var U;
|
|
515
515
|
return k(), N("div", {
|
|
516
516
|
key: i.label,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { f as C, h as L, d as b, b as N, p as j, s as R, i as T } from "./index-
|
|
1
|
+
import { f as C, h as L, d as b, b as N, p as j, s as R, i as T } from "./index-yOnrK71-.js";
|
|
2
2
|
import { E as k } from "./request-1RPa2bBn.js";
|
|
3
3
|
const q = N(j), { isDefaultModel: D } = b(), E = async (m, a) => {
|
|
4
4
|
var c, o, i, r, l, s, g, f, _, y, h, S, w, A;
|