ss-component-new 1.3.537 → 1.3.539
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-CJpSdxp4.js → MTLLoader-C39kpgdW.js} +1 -1
- package/dist/{OrbitControls-Dn5RI8yb.js → OrbitControls-gxPdDfJE.js} +1 -1
- package/dist/{URDFLoader-CBCUFT9t.js → URDFLoader-_Fx0i2TU.js} +2 -2
- package/dist/{animationData-CePYKY0n.js → animationData-CluZJZuh.js} +3 -3
- package/dist/{array-De_ksRNY.js → array-CvIYSfPf.js} +3 -3
- package/dist/clone-ez7vwxnP.js +8 -0
- package/dist/{iconfont-CZ40-aPC.js → iconfont-SlSF8dh4.js} +2 -2
- package/dist/{index-DfKuu864.js → index-B-SRrjLA.js} +4 -4
- package/dist/{index-CHI_k9PI.js → index-B3osj0rP.js} +1 -1
- package/dist/{index-CkW_ja7U.js → index-BLlYLkpo.js} +2 -2
- package/dist/{index-CzLHT5lM.js → index-BMW0Bmak.js} +32 -32
- package/dist/{index-BrqL9KU9.js → index-BgFsJTRi.js} +2 -2
- package/dist/{index-B-C5TdFW.js → index-BmXJsp_5.js} +16 -16
- package/dist/{index-DQ3EYkwb.js → index-BnQxLEeP.js} +2 -2
- package/dist/index-BscI3lbU.js +55 -0
- package/dist/{index-CTtYLr1S.js → index-COLCZG9X.js} +24257 -23557
- package/dist/index-CQD9tf3F.js +197 -0
- package/dist/{index-Ddn47YOo.js → index-CThJS2hV.js} +1 -1
- package/dist/{index-CisHksIK.js → index-CUiW029G.js} +4 -4
- package/dist/{index-BZjBZlTS.js → index-CUpk1gQx.js} +2 -2
- package/dist/{index-DEI7Vflb.js → index-CVIPXYtg.js} +1 -1
- package/dist/{index-EP4_0PDS.js → index-CZYjnaB4.js} +8 -8
- package/dist/{index-BnWsptYg.js → index-C_bkw4Ks.js} +17 -17
- package/dist/{index-DwJLblIq.js → index-CocPelja.js} +4 -4
- package/dist/{index-CH17Cg3K.js → index-CqUR7JfB.js} +13 -13
- package/dist/{index-C0zUtuoD.js → index-D-nAxY--.js} +25 -26
- package/dist/{index-DxOcC8k8.js → index-DA0q73bO.js} +1 -1
- package/dist/{index-Cn16Hic7.js → index-DB1HWx1W.js} +1 -1
- package/dist/{index-DdlbvI4c.js → index-DcNXwXrV.js} +14 -14
- package/dist/{index-C2FVe2U6.js → index-DmaDbz-y.js} +26 -26
- package/dist/{index-DeGxq_J_.js → index-DqXvOyIs.js} +192 -197
- package/dist/{index-BZECuG4k.js → index-Ds-fktuI.js} +1 -1
- package/dist/{index-eNJ1M05y.js → index-Fy4MrrOF.js} +25 -25
- package/dist/{index-CGWCPa7J.js → index-GY3-9I5w.js} +8 -8
- package/dist/{index-D94Xd2N1.js → index-KxgyPOIl.js} +3 -3
- package/dist/index-RLUSh93k.js +1000 -0
- package/dist/{index.vue_vue_type_style_index_0_scoped_07c75c98_lang-nutx4ggn.js → index.vue_vue_type_style_index_0_scoped_07c75c98_lang-CSiO4SIG.js} +3 -3
- package/dist/{main---mNjhuu.js → main-ZR_JK1Yg.js} +4 -4
- package/dist/{menuIndex-CUwbp3jl.js → menuIndex-VozC7XXB.js} +1 -1
- package/dist/ss-component.css +1 -1
- package/dist/ss-component.js +11 -11
- package/dist/ss-component2.js +12 -12
- package/dist/{threeModel-om3lolpg.js → threeModel-4Q0gEotC.js} +4 -4
- package/dist/{threePreview-BKq8-BNs.js → threePreview-DPTGt5fZ.js} +4 -4
- package/dist/{threeSceneView-B9HE-6FF.js → threeSceneView-Bm5LEA_Q.js} +13 -14
- package/dist/{threeSceneViewForCPMPIP-B3iqjUVV.js → threeSceneViewForCPMPIP-B3SUlGk5.js} +8 -8
- package/dist/{threeTrackPathView-Cua5p2_z.js → threeTrackPathView-CHwHb3Z5.js} +4 -4
- package/dist/{threeViewerHost-BgkLy3Px.js → threeViewerHost-p-5Iqaxw.js} +12 -12
- package/dist/{urdfTree-CEVNcjbP.js → urdfTree-_2vCDAO7.js} +1 -1
- package/dist/{workpieceTreePanel-5Z2rOZ9E.js → workpieceTreePanel-BaMbkaOM.js} +4 -4
- package/package.json +1 -1
- package/dist/App-Bs9l6gBz.js +0 -207
- package/dist/clone-CXsLtSvf.js +0 -8
- package/dist/header-B1G-mIVr.js +0 -651
- package/dist/index-DISV4b3h.js +0 -1048
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { R as Z, U as Y, u as D, C as P, c as S, a1 as H, V as O, Y as k, s as ie, a2 as N, aI as X, _ as T, k as ne, aM as $, $ as W, h as K, an as ae, a4 as oe, aF as le, aZ as q, ap as Q, b9 as ce, aw as he } from "./index.vue_vue_type_style_index_0_scoped_07c75c98_lang-
|
|
1
|
+
import { R as Z, U as Y, u as D, C as P, c as S, a1 as H, V as O, Y as k, s as ie, a2 as N, aI as X, _ as T, k as ne, aM as $, $ as W, h as K, an as ae, a4 as oe, aF as le, aZ as q, ap as Q, b9 as ce, aw as he } from "./index.vue_vue_type_style_index_0_scoped_07c75c98_lang-CSiO4SIG.js";
|
|
2
2
|
class xe extends Z {
|
|
3
3
|
/**
|
|
4
4
|
* Constructs a new STL loader.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { bj as S, V as p, M as u, bk as _, at as E, bl as P, ap as c, bm as w, m as O, o as R } from "./index.vue_vue_type_style_index_0_scoped_07c75c98_lang-
|
|
1
|
+
import { bj as S, V as p, M as u, bk as _, at as E, bl as P, ap as c, bm as w, m as O, o as R } from "./index.vue_vue_type_style_index_0_scoped_07c75c98_lang-CSiO4SIG.js";
|
|
2
2
|
const D = { type: "change" }, b = { type: "start" }, M = { type: "end" }, f = new w(), T = new O(), j = Math.cos(70 * R.DEG2RAD), n = new p(), r = 2 * Math.PI, o = {
|
|
3
3
|
NONE: -1,
|
|
4
4
|
ROTATE: 0,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { S as Ln } from "./MTLLoader-
|
|
2
|
-
import { b7 as vn, az as Rn, R as lt, an as At, U as In, V as pe, n as he, aJ as dt, S as Mn, aw as Tt, C as ut, o as Le, aQ as ft, b8 as Sn, k as ve, aZ as Se, c as me, ap as On, l as Gn, a4 as Pn, P as ht, aO as qn, i as jn, ar as Fn, j as Un, D as Hn, s as pt, at as Et, aW as mt, aY as Bn, u as zn, Y as ye, aR as Dn, a2 as bt, aL as Vn, h as Ce, w as Jn, aM as Wn, aP as Kn, aF as Oe, aH as gt, b9 as Yn, ba as Xn, bb as yt, bc as $n, bd as Zn, be as Qn, bf as ei, a0 as ti, bg as ni, bh as ii, E as si } from "./index.vue_vue_type_style_index_0_scoped_07c75c98_lang-
|
|
1
|
+
import { S as Ln } from "./MTLLoader-C39kpgdW.js";
|
|
2
|
+
import { b7 as vn, az as Rn, R as lt, an as At, U as In, V as pe, n as he, aJ as dt, S as Mn, aw as Tt, C as ut, o as Le, aQ as ft, b8 as Sn, k as ve, aZ as Se, c as me, ap as On, l as Gn, a4 as Pn, P as ht, aO as qn, i as jn, ar as Fn, j as Un, D as Hn, s as pt, at as Et, aW as mt, aY as Bn, u as zn, Y as ye, aR as Dn, a2 as bt, aL as Vn, h as Ce, w as Jn, aM as Wn, aP as Kn, aF as Oe, aH as gt, b9 as Yn, ba as Xn, bb as yt, bc as $n, bd as Zn, be as Qn, bf as ei, a0 as ti, bg as ni, bh as ii, E as si } from "./index.vue_vue_type_style_index_0_scoped_07c75c98_lang-CSiO4SIG.js";
|
|
3
3
|
class wt extends vn {
|
|
4
4
|
/**
|
|
5
5
|
* Constructs a new TGA loader.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { d as K, y as C, e as x } from "./index-
|
|
2
|
-
import { r as N, b6 as S } from "./index.vue_vue_type_style_index_0_scoped_07c75c98_lang-
|
|
3
|
-
import { c as O } from "./index-
|
|
1
|
+
import { d as K, y as C, e as x } from "./index-DB1HWx1W.js";
|
|
2
|
+
import { r as N, b6 as S } from "./index.vue_vue_type_style_index_0_scoped_07c75c98_lang-CSiO4SIG.js";
|
|
3
|
+
import { c as O } from "./index-DqXvOyIs.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 H, 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 { V as Ie, g as aa, E as oa, G as sa, H as Je, c 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 { V as Ie, g as aa, E as oa, G as sa, H as Je, c as ra } from "./index-COLCZG9X.js";
|
|
3
|
+
import { a as Ce, p as he, s as ie, c as K, u as ke, E as ua } from "./index-DqXvOyIs.js";
|
|
4
4
|
import { _ as we } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
import ca from "./index-rlStojTL.js";
|
|
6
|
-
import {
|
|
6
|
+
import { d as ia, c as da } from "./index-BmXJsp_5.js";
|
|
7
7
|
import { s as va } from "./index-11kpzK0A.js";
|
|
8
8
|
import { E as pa } from "./request-B1c8BUkR.js";
|
|
9
9
|
const fa = { class: "type-select" }, ha = { class: "group-label" }, ga = { class: "group-items" }, ma = ["onDragstart"], ba = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { shallowRef as i2, ref as T, defineComponent as c2, computed as Z, createElementBlock as o2, openBlock as n2, createElementVNode as B } from "vue";
|
|
2
|
-
import { V as r, at as h2, E as Y, B as k, h as S, av as s2, G as p2, e as j, f as r2, S as d2, C as v2, P as z2, W as f2, b as A2, A as m2, c as M2, M as t2, bi as u2, X as F2, i as g2, D as $, H as y2, j as l2, a$ as w2, k as B2, l as b2, m as J } from "./index.vue_vue_type_style_index_0_scoped_07c75c98_lang-
|
|
3
|
-
import { O as H2 } from "./OrbitControls-
|
|
2
|
+
import { V as r, at as h2, E as Y, B as k, h as S, av as s2, G as p2, e as j, f as r2, S as d2, C as v2, P as z2, W as f2, b as A2, A as m2, c as M2, M as t2, bi as u2, X as F2, i as g2, D as $, H as y2, j as l2, a$ as w2, k as B2, l as b2, m as J } from "./index.vue_vue_type_style_index_0_scoped_07c75c98_lang-CSiO4SIG.js";
|
|
3
|
+
import { O as H2 } from "./OrbitControls-gxPdDfJE.js";
|
|
4
4
|
import { _ as V2 } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
const n1 = (i, a = "YZX") => {
|
|
6
6
|
const t = new r(), o = new h2(), h = new r(), p = new Y();
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineComponent as J, ref as u, onBeforeUnmount as le, createElementBlock as L, openBlock as F, createElementVNode as o, renderSlot as te, computed as z, onMounted as se, onUnmounted as ne, reactive as re, resolveComponent as g, Fragment as ie, createVNode as a, withCtx as l, toDisplayString as H, unref as h, createBlock as de, createCommentVNode as ce } from "vue";
|
|
2
|
-
import {
|
|
3
|
-
import { u as me, t as w } from "./index-
|
|
2
|
+
import { b as ue, s as pe, e as fe, t as ve } from "./index-DqXvOyIs.js";
|
|
3
|
+
import { u as me, t as w } from "./index-CocPelja.js";
|
|
4
4
|
import { _ as x } from "./index.vue_vue_type_script_setup_true_lang-DRzriV-s.js";
|
|
5
5
|
import { s as _e } from "./index-11kpzK0A.js";
|
|
6
|
-
import { u as ge } from "./index-
|
|
6
|
+
import { u as ge } from "./index-CqUR7JfB.js";
|
|
7
7
|
import { E as K } from "./request-B1c8BUkR.js";
|
|
8
8
|
import { _ as Q } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
9
|
-
import { c as ye } from "./clone-
|
|
9
|
+
import { c as ye } from "./clone-ez7vwxnP.js";
|
|
10
10
|
const be = { class: "account-wrap" }, we = { class: "video-wrap" }, Re = /* @__PURE__ */ J({
|
|
11
11
|
__name: "index",
|
|
12
12
|
emits: ["startVerify", "completeVerify", "verifyResult"],
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ref as _, computed as A } from "vue";
|
|
2
2
|
import { a as I, g as M } from "./index-YvUJL9Us.js";
|
|
3
|
-
import { E as N } from "./index-
|
|
3
|
+
import { E as N } from "./index-DqXvOyIs.js";
|
|
4
4
|
import { E as s } from "./request-B1c8BUkR.js";
|
|
5
5
|
const K = _([]), T = A(() => [
|
|
6
6
|
{
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ref as x, onMounted as _, createElementBlock as g, openBlock as y, createVNode as C } from "vue";
|
|
2
|
-
import { s as b } from "./index-
|
|
3
|
-
import { c as s } from "./index-
|
|
2
|
+
import { s as b } from "./index-CThJS2hV.js";
|
|
3
|
+
import { c as s } from "./index-DqXvOyIs.js";
|
|
4
4
|
import { _ as k } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
const A = (t, n, a) => {
|
|
6
6
|
var r, d, p, m;
|
|
@@ -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 { c7 as fe, c8 as ve, c9 as ge, E as T } from "./request-B1c8BUkR.js";
|
|
3
|
-
import { s as J,
|
|
3
|
+
import { s as J, b as ye, u as be, p as G, c as me, e as he } from "./index-DqXvOyIs.js";
|
|
4
4
|
import { g as Q, u as we } from "./index-YvUJL9Us.js";
|
|
5
5
|
import { J as X } from "./JSEncrypt-B36c1iN5.js";
|
|
6
|
-
import { a5 as Se } from "./index-
|
|
7
|
-
import { A as _e } from "./index-
|
|
8
|
-
import { u as Y, l as Ce } from "./index-
|
|
6
|
+
import { a5 as Se } from "./index-DB1HWx1W.js";
|
|
7
|
+
import { A as _e } from "./index-CVIPXYtg.js";
|
|
8
|
+
import { u as Y, l as Ce } from "./index-BmXJsp_5.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) {
|
|
@@ -16,8 +16,8 @@ function ke(t, s) {
|
|
|
16
16
|
const e = new X();
|
|
17
17
|
return e.setPrivateKey(s), e.decrypt(t) || "";
|
|
18
18
|
}
|
|
19
|
-
const M = ye(G), { loginUserInfo: d, cryptoInfo: P } = J(M), Ie =
|
|
20
|
-
var t, s, e, n, l, o, a, p, y,
|
|
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, l, o, a, p, y, b, g;
|
|
21
21
|
return [
|
|
22
22
|
{
|
|
23
23
|
label: "",
|
|
@@ -58,7 +58,7 @@ const M = ye(G), { loginUserInfo: d, cryptoInfo: P } = J(M), Ie = me(G), { activ
|
|
|
58
58
|
label: "",
|
|
59
59
|
prop: "签名",
|
|
60
60
|
isFormColHidden: !0,
|
|
61
|
-
value: ((
|
|
61
|
+
value: ((b = d.value) == null ? void 0 : b.layer) === "superAdmin" ? "启用" : ((g = d.value) == null ? void 0 : g.状态) ?? "未知"
|
|
62
62
|
}
|
|
63
63
|
];
|
|
64
64
|
}), Be = () => {
|
|
@@ -107,7 +107,7 @@ const M = ye(G), { loginUserInfo: d, cryptoInfo: P } = J(M), Ie = me(G), { activ
|
|
|
107
107
|
}, se = () => {
|
|
108
108
|
L.dialogShow = !1;
|
|
109
109
|
}, re = async (t) => {
|
|
110
|
-
var e, n, l, o, a, p, y,
|
|
110
|
+
var e, n, l, o, a, p, y, b, g;
|
|
111
111
|
const s = await Q({
|
|
112
112
|
id: t
|
|
113
113
|
// key: {
|
|
@@ -121,13 +121,13 @@ const M = ye(G), { loginUserInfo: d, cryptoInfo: P } = J(M), Ie = me(G), { activ
|
|
|
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
|
-
layer: (g = (
|
|
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
129
|
var n, l, o;
|
|
130
|
-
const e =
|
|
130
|
+
const e = me(t);
|
|
131
131
|
e == null || delete e.id;
|
|
132
132
|
try {
|
|
133
133
|
const a = await we({
|
|
@@ -159,17 +159,17 @@ const M = ye(G), { loginUserInfo: d, cryptoInfo: P } = J(M), Ie = me(G), { activ
|
|
|
159
159
|
baseCols: [],
|
|
160
160
|
otherCols: []
|
|
161
161
|
}), le = h([]), oe = h(), Pe = (t, s, e) => {
|
|
162
|
-
var o, a, p, y,
|
|
162
|
+
var o, a, p, y, b, g;
|
|
163
163
|
let n;
|
|
164
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, (
|
|
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
170
|
s !== ((n = oe.value) == null ? void 0 : n.newtPass) ? e(new Error("两次输入的密码不一致")) : e();
|
|
171
171
|
}, Le = async () => {
|
|
172
|
-
var s, e, n, l, o, a, p, y,
|
|
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"),
|
|
@@ -180,7 +180,7 @@ const M = ye(G), { loginUserInfo: d, cryptoInfo: P } = J(M), Ie = me(G), { activ
|
|
|
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
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
|
-
B.baseCols = c && ((
|
|
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) === "操作"
|
|
186
186
|
})));
|
|
@@ -301,7 +301,7 @@ const M = ye(G), { loginUserInfo: d, cryptoInfo: P } = J(M), Ie = me(G), { activ
|
|
|
301
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
|
-
validator: (y,
|
|
304
|
+
validator: (y, b, g) => p.validator(y, b, g),
|
|
305
305
|
trigger: "blur"
|
|
306
306
|
}
|
|
307
307
|
], a), {}),
|
|
@@ -381,11 +381,11 @@ const M = ye(G), { loginUserInfo: d, cryptoInfo: P } = J(M), Ie = me(G), { activ
|
|
|
381
381
|
} catch (c) {
|
|
382
382
|
throw new Error(c);
|
|
383
383
|
}
|
|
384
|
-
},
|
|
385
|
-
var w, S, u, r,
|
|
384
|
+
}, b = async (c) => {
|
|
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 = l.value + "/" + ((u = (S = f.data) == null ? void 0 : S.result) == null ? void 0 : u.url), o.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
|
}
|
|
@@ -404,14 +404,14 @@ const M = ye(G), { loginUserInfo: d, cryptoInfo: P } = J(M), Ie = me(G), { activ
|
|
|
404
404
|
avatarBlob: p.value,
|
|
405
405
|
size: t.size,
|
|
406
406
|
onClickAvatar: y,
|
|
407
|
-
onSubmitImage:
|
|
407
|
+
onSubmitImage: b,
|
|
408
408
|
onDeleteImage: g,
|
|
409
409
|
clickStop: e == null ? void 0 : e.clickStop
|
|
410
410
|
}, {
|
|
411
411
|
avatarDefault: _(() => {
|
|
412
|
-
var r,
|
|
412
|
+
var r, m, f, v;
|
|
413
413
|
return [
|
|
414
|
-
x(F(((
|
|
414
|
+
x(F(((m = (r = t.userInfo) == null ? void 0 : r.account) == null ? void 0 : m.charAt(0)) || ((v = (f = t.userInfo) == null ? void 0 : f.姓名) == null ? void 0 : v.charAt(0)) || ""), 1)
|
|
415
415
|
];
|
|
416
416
|
}),
|
|
417
417
|
_: 1
|
|
@@ -442,33 +442,33 @@ const M = ye(G), { loginUserInfo: d, cryptoInfo: P } = J(M), Ie = me(G), { activ
|
|
|
442
442
|
n.value.dialogShow = (u == null ? void 0 : u.label) === "电子签名", o("clickSignButton", u);
|
|
443
443
|
}, p = () => {
|
|
444
444
|
n.value.dialogShow = !1, o("beforeDestroy");
|
|
445
|
-
}, y = E(() => "http://222.92.178.198:62001"),
|
|
445
|
+
}, y = E(() => "http://222.92.178.198:62001"), b = (u) => {
|
|
446
446
|
var i;
|
|
447
|
-
const r = u.split(","),
|
|
447
|
+
const r = u.split(","), m = (i = r == null ? void 0 : r[0]) == null ? void 0 : i.match(/:(.*?);/)[1], f = atob(r[1]);
|
|
448
448
|
let v = f.length;
|
|
449
449
|
const C = new Uint8Array(v);
|
|
450
450
|
for (; v--; )
|
|
451
451
|
C[v] = f.charCodeAt(v);
|
|
452
|
-
return new Blob([C], { type:
|
|
452
|
+
return new Blob([C], { type: m });
|
|
453
453
|
}, g = async (u) => {
|
|
454
|
-
var r,
|
|
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 && o("clickSubmitSign", (f = (
|
|
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
|
}
|
|
461
461
|
}, c = h(""), w = (u) => {
|
|
462
462
|
c.value = u, n.value.dialogShow = !1;
|
|
463
|
-
const r = new FormData(),
|
|
464
|
-
r.append("file",
|
|
463
|
+
const r = new FormData(), m = b(u);
|
|
464
|
+
r.append("file", m, "image.png"), g(r);
|
|
465
465
|
}, S = (u) => {
|
|
466
466
|
const r = new FormData();
|
|
467
467
|
r.append("file", u == null ? void 0 : u.file), g(r);
|
|
468
468
|
};
|
|
469
469
|
return H(() => e == null ? void 0 : e.itemData, (u) => {
|
|
470
|
-
var
|
|
471
|
-
c.value = "", (
|
|
470
|
+
var m, f, v, C;
|
|
471
|
+
c.value = "", (m = n.value) != null && m.dialogShow && (n.value.dialogShow = !1);
|
|
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];
|
|
@@ -476,7 +476,7 @@ const M = ye(G), { loginUserInfo: d, cryptoInfo: P } = J(M), Ie = me(G), { activ
|
|
|
476
476
|
}, {
|
|
477
477
|
immediate: !0
|
|
478
478
|
}), (u, r) => {
|
|
479
|
-
const
|
|
479
|
+
const m = D("el-empty"), f = D("el-image"), v = D("el-button"), C = D("el-upload");
|
|
480
480
|
return k(), R(Ce, {
|
|
481
481
|
signPadInfo: n.value,
|
|
482
482
|
onBeforeDestroy: p,
|
|
@@ -494,7 +494,7 @@ const M = ye(G), { loginUserInfo: d, cryptoInfo: P } = J(M), Ie = me(G), { activ
|
|
|
494
494
|
fit: "contain"
|
|
495
495
|
}, {
|
|
496
496
|
error: _(() => [
|
|
497
|
-
A(
|
|
497
|
+
A(m, {
|
|
498
498
|
"image-size": 60,
|
|
499
499
|
description: " "
|
|
500
500
|
}, {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ref as n, computed as c, defineComponent as s, reactive as p, onMounted as i, createElementBlock as u, openBlock as f, createVNode as b } from "vue";
|
|
2
|
-
import { W as m } from "./index-
|
|
3
|
-
import { g as d, c as _ } from "./index-
|
|
2
|
+
import { W as m } from "./index-COLCZG9X.js";
|
|
3
|
+
import { g as d, c as _ } from "./index-B3osj0rP.js";
|
|
4
4
|
import { _ as k } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
const l = n([]), g = c(() => [
|
|
6
6
|
{
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { ref as N, resolveComponent as J, createBlock as q, openBlock as x, defineComponent as i0, computed as r2, watch as F2, createElementBlock as z, createVNode as t2, withCtx as H, createElementVNode as a2, Fragment as k2, renderList as M2, withModifiers as Ge, normalizeClass as Ce, toDisplayString as E2, createSlots as ae, renderSlot as D2, nextTick as G0, onMounted as Ve, createTextVNode as T0, isRef as m9, isReactive as w9, toRaw as x9, createCommentVNode as Q, onBeforeUnmount as X4, normalizeStyle as h0, resolveDynamicComponent as Lt, normalizeProps as b9, guardReactiveProps as _9, unref as Y0, mergeProps as G1, reactive as o6, inject as x6, withDirectives as v3, vShow as b6, watchEffect as it, onUnmounted as e1, resolveDirective as y9, h as qi, toRefs as S9 } from "vue";
|
|
2
|
-
import { a8 as C9, a9 as k9, g as D9, aa as O9, ab as M9, ac as T9, a5 as Yi, ad as z9, ae as P9, af as V9, ag as A9, ah as Fi, ai as Ki } from "./index.vue_vue_type_style_index_0_scoped_07c75c98_lang-
|
|
2
|
+
import { a8 as C9, a9 as k9, g as D9, aa as O9, ab as M9, ac as T9, a5 as Yi, ad as z9, ae as P9, af as V9, ag as A9, ah as Fi, ai as Ki } from "./index.vue_vue_type_style_index_0_scoped_07c75c98_lang-CSiO4SIG.js";
|
|
3
3
|
import { _ as B2 } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
4
|
import { S as It } from "./index-BHtNKL1L.js";
|
|
5
5
|
import { r as s8, t as o8, R as E9, T as Xi, E as Xe, s as Q4, C as l8, p as Q6, m as B9, ca as L9, aM as H9, aN as G9, c9 as R9, b as N9 } from "./request-B1c8BUkR.js";
|
|
6
|
-
import { a as J4, p as Ht, s as qt, u as Z4, c as F0,
|
|
6
|
+
import { a as J4, p as Ht, s as qt, u as Z4, c as F0, af as Be, e as r8, aP as T3, i as $9, t as j9 } from "./index-DqXvOyIs.js";
|
|
7
7
|
import { _ as q0 } from "./index.vue_vue_type_script_setup_true_lang-DRzriV-s.js";
|
|
8
|
-
import { m as Qi, B as W9, Y as a8 } from "./index-
|
|
8
|
+
import { m as Qi, B as W9, Y as a8 } from "./index-DB1HWx1W.js";
|
|
9
9
|
/* empty css */
|
|
10
10
|
import { s as ei } from "./index-11kpzK0A.js";
|
|
11
|
-
import { T as Ji, a as U9 } from "./threeViewerHost-
|
|
12
|
-
import { A as I9 } from "./index-
|
|
11
|
+
import { T as Ji, a as U9 } from "./threeViewerHost-p-5Iqaxw.js";
|
|
12
|
+
import { A as I9 } from "./index-CVIPXYtg.js";
|
|
13
13
|
var q9 = "[object Date]";
|
|
14
14
|
function Y9(n) {
|
|
15
15
|
return s8(n) && o8(n) == q9;
|
|
@@ -24208,23 +24208,23 @@ export {
|
|
|
24208
24208
|
h9 as S,
|
|
24209
24209
|
wk as X,
|
|
24210
24210
|
lk as _,
|
|
24211
|
-
|
|
24212
|
-
|
|
24213
|
-
|
|
24214
|
-
|
|
24215
|
-
|
|
24216
|
-
|
|
24211
|
+
mt as a,
|
|
24212
|
+
fg as b,
|
|
24213
|
+
Gt as c,
|
|
24214
|
+
K9 as d,
|
|
24215
|
+
f9 as e,
|
|
24216
|
+
Dg as f,
|
|
24217
24217
|
Vp as g,
|
|
24218
|
-
|
|
24219
|
-
|
|
24220
|
-
|
|
24221
|
-
|
|
24218
|
+
jp as h,
|
|
24219
|
+
Gi as i,
|
|
24220
|
+
u9 as j,
|
|
24221
|
+
tv as k,
|
|
24222
24222
|
ok as l,
|
|
24223
24223
|
Rk as m,
|
|
24224
24224
|
vg as n,
|
|
24225
24225
|
yk as o,
|
|
24226
24226
|
Nk as p,
|
|
24227
24227
|
Wk as q,
|
|
24228
|
-
|
|
24228
|
+
p1 as s,
|
|
24229
24229
|
J6 as u
|
|
24230
24230
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as y, ref as C, onMounted as _, createElementBlock as c, openBlock as g, createVNode as v } from "vue";
|
|
2
|
-
import { u as h, p as k, s as x, c as m } from "./index-
|
|
3
|
-
import { W as M } from "./index-
|
|
2
|
+
import { u as h, p as k, s as x, c as m } from "./index-DqXvOyIs.js";
|
|
3
|
+
import { W as M } from "./index-COLCZG9X.js";
|
|
4
4
|
import { a as D, d as T, f as S } from "./index-XvX6TMzr.js";
|
|
5
5
|
import { g as w } from "./index-YvUJL9Us.js";
|
|
6
6
|
import { _ as B } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { f as P, g as C, d as L, b, p as N, s as R, h as T } from "./index-DqXvOyIs.js";
|
|
2
|
+
import { E as k } from "./request-B1c8BUkR.js";
|
|
3
|
+
const A = b(N), { isDefaultModel: D } = L(), E = async (c, a) => {
|
|
4
|
+
var l, n, r, i, s, d, g, p, f, _, y, h, S, w;
|
|
5
|
+
let e = Object.values(c), t = await P({
|
|
6
|
+
userName: (l = e == null ? void 0 : e[0]) == null ? void 0 : l.trim(),
|
|
7
|
+
password: (n = e == null ? void 0 : e[1]) == null ? void 0 : n.trim()
|
|
8
|
+
});
|
|
9
|
+
if (((r = t == null ? void 0 : t.data) == null ? void 0 : r.status) === 200 && ((s = (i = t == null ? void 0 : t.data) == null ? void 0 : i.result) == null ? void 0 : s.length) <= 0 && (t = await C({
|
|
10
|
+
userName: (d = e == null ? void 0 : e[0]) == null ? void 0 : d.trim(),
|
|
11
|
+
password: (g = e == null ? void 0 : e[1]) == null ? void 0 : g.trim(),
|
|
12
|
+
path: "系统管理/用户管理",
|
|
13
|
+
platId: a
|
|
14
|
+
})), ((p = t == null ? void 0 : t.data) == null ? void 0 : p.status) === 200 && ((_ = (f = t == null ? void 0 : t.data) == null ? void 0 : f.result) == null ? void 0 : _.length) > 0) {
|
|
15
|
+
const o = ((h = (y = t == null ? void 0 : t.data) == null ? void 0 : y.result) == null ? void 0 : h.find((M) => D(M))) || ((w = (S = t == null ? void 0 : t.data) == null ? void 0 : S.result) == null ? void 0 : w[0]);
|
|
16
|
+
sessionStorage.setItem("systemKey", a && a !== "" ? a : o == null ? void 0 : o.plat_id);
|
|
17
|
+
let m = o;
|
|
18
|
+
return m.plat_id = m.plat_id ?? a, A.setLoginUserInfo(m), A.setSystemKey(a && a !== "" ? a : o == null ? void 0 : o.plat_id), !0;
|
|
19
|
+
} else
|
|
20
|
+
return k.error("输入的密码错误,请重新输入"), !1;
|
|
21
|
+
}, K = b(N), { systemInfo: q, loginUserInfo: u } = R(K), O = async () => (sessionStorage.setItem("loginToken", "111"), !0), x = async () => (sessionStorage.setItem("magicToken", "123456"), !0), I = async (c) => {
|
|
22
|
+
var n, r, i;
|
|
23
|
+
let a = [E(c, (n = q.value) == null ? void 0 : n.plat_id), O(), x()];
|
|
24
|
+
const e = await Promise.all(a), t = e == null ? void 0 : e.every((s) => s);
|
|
25
|
+
let l = [
|
|
26
|
+
{
|
|
27
|
+
id: "1",
|
|
28
|
+
request_method: "Post",
|
|
29
|
+
request_url: "/platform/getdata",
|
|
30
|
+
request_param: JSON.stringify({
|
|
31
|
+
userName: "hjj",
|
|
32
|
+
password: "1"
|
|
33
|
+
}),
|
|
34
|
+
request_result: "{}",
|
|
35
|
+
is_delete: !1,
|
|
36
|
+
request_table: "admin_user",
|
|
37
|
+
request_type: "login"
|
|
38
|
+
}
|
|
39
|
+
];
|
|
40
|
+
try {
|
|
41
|
+
const s = ((r = u == null ? void 0 : u.value) == null ? void 0 : r.plat_id) || ((i = q.value) == null ? void 0 : i.plat_id);
|
|
42
|
+
return await T({
|
|
43
|
+
platId: parseInt(s),
|
|
44
|
+
changeContents: [{
|
|
45
|
+
tableName: "log",
|
|
46
|
+
tableContents: l
|
|
47
|
+
}]
|
|
48
|
+
}), t;
|
|
49
|
+
} catch {
|
|
50
|
+
return t;
|
|
51
|
+
}
|
|
52
|
+
};
|
|
53
|
+
export {
|
|
54
|
+
I as l
|
|
55
|
+
};
|