ss-component-new 1.3.803 → 1.3.804
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/{array-Cl1qcK8l.js → array-DF-Ciec1.js} +2 -2
- package/dist/{index-CMR6jjoi.js → index-B2iryOZl.js} +1 -1
- package/dist/{index-CcoYlI8Z.js → index-BN9Rlbbp.js} +1 -1
- package/dist/{index-C42y7dgV.js → index-B_nyoili.js} +32 -19
- package/dist/{index-DRLBelku.js → index-By8fgGQy.js} +2 -2
- package/dist/{index-C4saaYMU.js → index-CozoQ47n.js} +1 -1
- package/dist/{index-B1QgEBqQ.js → index-D4VBkMf1.js} +40 -40
- package/dist/{index-CJ5SfZh0.js → index-DEExElBR.js} +10402 -10285
- package/dist/{index-4jYpX5LE.js → index-DMuhMIKL.js} +2 -2
- package/dist/{index-BNYj3j4S.js → index-DSxHafH8.js} +2 -2
- package/dist/{index-CMqZHUj9.js → index-Das6jpm_.js} +1 -1
- package/dist/{index-gyzM0dDg.js → index-F51VY1RN.js} +17 -16
- package/dist/{index-C6sgnI4x.js → index-cG99Yhmp.js} +3 -3
- package/dist/{main-Df83LTk2.js → main-B6jkS92r.js} +2 -2
- package/dist/ss-component.css +2 -2
- package/dist/ss-component.js +9 -9
- package/dist/ss-component2.js +8 -8
- package/dist/{threeModel-B0hsiGQZ.js → threeModel-BnIPsf6z.js} +1 -1
- package/dist/{threePreview-S-zYKiGw.js → threePreview-yTpz4Dqe.js} +1 -1
- package/dist/{threeSceneView-DaTtAqeC.js → threeSceneView-jS_r_IRD.js} +3 -3
- package/dist/{threeSceneViewForCPMPIP-MUpulxM6.js → threeSceneViewForCPMPIP-Dx5dZu19.js} +1 -1
- package/dist/{threeViewerHost-CtCv8rI2.js → threeViewerHost-EHgJ2OgZ.js} +1 -1
- package/package.json +1 -1
|
@@ -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-
|
|
2
|
+
import { U as Ie, g as aa, E as oa, F as sa, G as Je, V as ra } from "./index-DEExElBR.js";
|
|
3
3
|
import { a as Ce, p as he, s as ie, c as K, u as ke, E as ua } from "./index-D1VswI-c.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-F51VY1RN.js";
|
|
7
7
|
import { s as va } from "./index-11kpzK0A.js";
|
|
8
8
|
import { E as pa } from "./request-DUCugy3B.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 { defineComponent as y, ref as C, onMounted as _, createElementBlock as c, openBlock as g, createVNode as v } from "vue";
|
|
2
2
|
import { u as h, p as k, s as x, c as m } from "./index-D1VswI-c.js";
|
|
3
|
-
import { W as M } from "./index-
|
|
3
|
+
import { W as M } from "./index-DEExElBR.js";
|
|
4
4
|
import { a as D, d as T, f as S } from "./index-DNIDO-x3.js";
|
|
5
5
|
import { g as w } from "./index-JzyzdVhr.js";
|
|
6
6
|
import { _ as B } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
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-
|
|
2
|
+
import { W as m } from "./index-DEExElBR.js";
|
|
3
3
|
import { g as d, c as _ } from "./index-C4JRH2bS.js";
|
|
4
4
|
import { _ as k } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
const l = n([]), g = c(() => [
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { computed as Gt, defineComponent as Cn, defineProps as su, ref as ne, watch as Xt, onMounted as ll, onUnmounted as ts, resolveComponent as Re, createBlock as Ue, openBlock as z, withCtx as N, createElementVNode as ue, toDisplayString as Et, createElementBlock as Ae, Fragment as Nt, createVNode as R, renderList as Yt, withModifiers as Dn, normalizeStyle as _n, createTextVNode as Qt, createCommentVNode as lt, unref as P, resolveDynamicComponent as il, shallowRef as gf, getCurrentInstance as gh, onBeforeUnmount as vf, normalizeClass as An, mergeProps as hr, nextTick as hl, markRaw as iu, resolveDirective as Ya, withDirectives as Ml, provide as Jo, vShow as ra, renderSlot as Tl, createSlots as si, defineAsyncComponent as Ec, reactive as Un, withKeys as vh } from "vue";
|
|
2
|
-
import { m as uu, a as cu, b as fu, c as yh } from "./array-
|
|
2
|
+
import { m as uu, a as cu, b as fu, c as yh } from "./array-DF-Ciec1.js";
|
|
3
3
|
import { u as Jn, p as cn, s as un, c as vn, a as Xl, b as Wl, j as ni, k as bh, m as mh, n as wh, o as Ga, q as yf, d as ii, l as Ch, r as ia, e as ja, t as kh, g as Sh, E as ua, w as Zi, x as Xo, v as Zo, y as bf, z as Ah, A as mf, i as Mh, B as ui, C as Br, D as Pc, F as Th, G as wf, H as _h, I as xh, J as Cf, K as Bc, L as Lh, M as Dh } from "./index-D1VswI-c.js";
|
|
4
|
-
import { _ as ns, s as du, a as Ih } from "./index-
|
|
4
|
+
import { _ as ns, s as du, a as Ih } from "./index-cG99Yhmp.js";
|
|
5
5
|
import { useRouter as Ja } from "vue-router";
|
|
6
6
|
import { a as ls, d as hu, e as rs, f as as, g as os, h as ss, t as Eh, c as Ph, b as Bh } from "./index-ChNfRlIP.js";
|
|
7
|
-
import { g as qa, s as Rh, a as kf, b as Oh, c as Rc, _ as $i, u as Nh, d as Sf, X as Wh, Q as Fh } from "./index-
|
|
7
|
+
import { g as qa, s as Rh, a as kf, b as Oh, c as Rc, _ as $i, u as Nh, d as Sf, X as Wh, Q as Fh } from "./index-F51VY1RN.js";
|
|
8
8
|
import { u as Af, g as Oc, b as Nc, c as Hh, a as Uh } from "./index-JzyzdVhr.js";
|
|
9
9
|
import { E as yn, i as Vh, d as Mf, b as gr, s as Tf, l as Kh, e as zh, m as jh, u as Qh, g as qh, h as Yh, j as Gh, k as Jh, t as Xh, n as Fa, o as Ha, I as Zh, p as Zl, q as _f, a as xf, c as Lf, r as $h, v as ep, w as Df, x as tp, y as np, f as lp } from "./request-DUCugy3B.js";
|
|
10
10
|
import { b as rp, g as If, c as ap, d as yl, u as pu, e as vr, f as es, o as Ef, l as op, n as sp, h as ip, s as li, t as up, i as cp } from "./index-C0DGvXAg.js";
|
|
11
11
|
import { d as fp, g as Ka, a as dp } from "./index.vue_vue_type_style_index_0_scoped_05e3a1d8_lang-Dtw1Kq4K.js";
|
|
12
|
-
import { t as hp, a as Pf, b as Pr, e as pp, u as Bf, c as Zs, s as pr, r as vl, o as Ir, d as Er, f as Rf, h as eu, i as Of, j as gu, k as gp, l as vp, m as Qo, n as Vi, p as qo, q as Zr, v as Ua, w as Va, x as $r, y as yp, z as ea, A as ta, B as bp, C as na, D as la, E as Wc, F as Fc, G as Hc, H as $s, I as In, J as mp, K as wp, L as Ki, M as Cp, N as kp, O as Sp, P as Ap, g as Nf, Q as Mp, R as Uc, S as Tp, T as _p } from "./index-
|
|
12
|
+
import { t as hp, a as Pf, b as Pr, e as pp, u as Bf, c as Zs, s as pr, r as vl, o as Ir, d as Er, f as Rf, h as eu, i as Of, j as gu, k as gp, l as vp, m as Qo, n as Vi, p as qo, q as Zr, v as Ua, w as Va, x as $r, y as yp, z as ea, A as ta, B as bp, C as na, D as la, E as Wc, F as Fc, G as Hc, H as $s, I as In, J as mp, K as wp, L as Ki, M as Cp, N as kp, O as Sp, P as Ap, g as Nf, Q as Mp, R as Uc, S as Tp, T as _p } from "./index-DEExElBR.js";
|
|
13
13
|
import "./JSEncrypt-B36c1iN5.js";
|
|
14
14
|
import "./index-CWmXf1NE.js";
|
|
15
15
|
import "./index-DNIDO-x3.js";
|
|
@@ -18,10 +18,10 @@ import { _ as ul } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
|
18
18
|
import { s as Nl } from "./index-11kpzK0A.js";
|
|
19
19
|
import { C as Dp } from "./index-Py7mpzFg.js";
|
|
20
20
|
import { S as Tn } from "./index-BHtNKL1L.js";
|
|
21
|
-
import Ip from "./threeModel-
|
|
21
|
+
import Ip from "./threeModel-BnIPsf6z.js";
|
|
22
22
|
import { _ as ar } from "./index.vue_vue_type_script_setup_true_lang-BqS9V6jf.js";
|
|
23
|
-
import { T as ai, u as Ep, a as Pp } from "./threeViewerHost-
|
|
24
|
-
import { s as tu } from "./index-
|
|
23
|
+
import { T as ai, u as Ep, a as Pp } from "./threeViewerHost-EHgJ2OgZ.js";
|
|
24
|
+
import { s as tu } from "./index-D4VBkMf1.js";
|
|
25
25
|
import { u as Bp } from "./index-y4IdSOLI.js";
|
|
26
26
|
import { u as Rp } from "./index-CYiiVUoE.js";
|
|
27
27
|
import { u as Ff } from "./index-CZ5rnzxC.js";
|
|
@@ -18344,7 +18344,12 @@ const td = (f) => Array.isArray(f) ? f.filter((M) => M != null && M !== "") : f
|
|
|
18344
18344
|
((kt = W == null ? void 0 : W.tableContents) == null ? void 0 : kt.length) > 0 && (U != null && U.filter((_e) => _e == null ? void 0 : _e.includes("@Type"))) && ((qe = ae == null ? void 0 : ae[(ae == null ? void 0 : ae.length) - 1]) != null && qe.includes("Manual")) && (W.tableContents = []), W.calculatorFilters = I.calculatorFilters, oa(W, I), W.name = [...v, ...W == null ? void 0 : W.name], K.push(vn(W));
|
|
18345
18345
|
} else {
|
|
18346
18346
|
let Qe = (mt = (Pt = (et = f == null ? void 0 : f.filter) == null ? void 0 : et.replace("(", sn)) == null ? void 0 : Pt.split(sn)) == null ? void 0 : mt[0], ye = (x = (wt = (St = W.filter) == null ? void 0 : St.replace("(", sn)) == null ? void 0 : wt.split(sn)) == null ? void 0 : x[1];
|
|
18347
|
-
ye = "(" + (ye == null ? void 0 : ye.slice(0, (ye == null ? void 0 : ye.length) - 1)), !(W != null && W.filter) || (W == null ? void 0 : W.filter) === "" ? W.filter = f == null ? void 0 : f.filter : W.filter = Qe + ye + "," + ((ie = (Z = (Y = f == null ? void 0 : f.filter) == null ? void 0 : Y.replace("(", sn)) == null ? void 0 : Z.split(sn)) == null ? void 0 : ie[1]), W.calculatorFilters = I.calculatorFilters, oa(W, I), (ke = nd(
|
|
18347
|
+
ye = "(" + (ye == null ? void 0 : ye.slice(0, (ye == null ? void 0 : ye.length) - 1)), !(W != null && W.filter) || (W == null ? void 0 : W.filter) === "" ? W.filter = f == null ? void 0 : f.filter : W.filter = Qe + ye + "," + ((ie = (Z = (Y = f == null ? void 0 : f.filter) == null ? void 0 : Y.replace("(", sn)) == null ? void 0 : Z.split(sn)) == null ? void 0 : ie[1]), W.calculatorFilters = I.calculatorFilters, oa(W, I), (ke = nd(
|
|
18348
|
+
vn(W),
|
|
18349
|
+
M,
|
|
18350
|
+
(v == null ? void 0 : v.length) > 0 ? v : [...v, ...W == null ? void 0 : W.name],
|
|
18351
|
+
I
|
|
18352
|
+
)) == null || ke.forEach((U) => {
|
|
18348
18353
|
K.push(vn(U));
|
|
18349
18354
|
});
|
|
18350
18355
|
}
|
|
@@ -18475,15 +18480,17 @@ const td = (f) => Array.isArray(f) ? f.filter((M) => M != null && M !== "") : f
|
|
|
18475
18480
|
let J = me == null ? void 0 : me.filter((He) => He == null ? void 0 : He.includes("@Type"));
|
|
18476
18481
|
if (me != null && me.find((He) => He == null ? void 0 : He.includes("@Type")) && !((kt = J == null ? void 0 : J[(J == null ? void 0 : J.length) - 1]) != null && kt.includes("Manual"))) {
|
|
18477
18482
|
let He = [];
|
|
18478
|
-
(qe = up(fe == null ? void 0 : fe.tableContents, fe == null ? void 0 : fe.tableColumns)) == null || qe.forEach(
|
|
18479
|
-
|
|
18480
|
-
|
|
18481
|
-
|
|
18482
|
-
|
|
18483
|
-
|
|
18484
|
-
|
|
18485
|
-
|
|
18486
|
-
|
|
18483
|
+
(qe = up(fe == null ? void 0 : fe.tableContents, fe == null ? void 0 : fe.tableColumns)) == null || qe.forEach(
|
|
18484
|
+
(ze, Ne) => {
|
|
18485
|
+
var Se;
|
|
18486
|
+
let Le = [];
|
|
18487
|
+
Le.push(Ne), (Se = m == null ? void 0 : m.tableColumns) == null || Se.forEach((bt) => {
|
|
18488
|
+
ze == null || ze.forEach((st) => {
|
|
18489
|
+
(bt == null ? void 0 : bt.prop) === (st == null ? void 0 : st.key) && Le.push((st == null ? void 0 : st.value) ?? "");
|
|
18490
|
+
});
|
|
18491
|
+
}), He.push(Le);
|
|
18492
|
+
}
|
|
18493
|
+
), m.tableContents = He;
|
|
18487
18494
|
}
|
|
18488
18495
|
C.push(m);
|
|
18489
18496
|
}
|
|
@@ -18521,10 +18528,16 @@ const td = (f) => Array.isArray(f) ? f.filter((M) => M != null && M !== "") : f
|
|
|
18521
18528
|
T.push(D);
|
|
18522
18529
|
else if ((D == null ? void 0 : D.key) === "Table" || (D == null ? void 0 : D.key) === "Method") {
|
|
18523
18530
|
let B = T == null ? void 0 : T.findIndex((k) => Go(k) === m);
|
|
18524
|
-
T[B].tableContents = [
|
|
18531
|
+
T[B].tableContents = [
|
|
18532
|
+
...((F = T[B]) == null ? void 0 : F.tableContents) ?? [],
|
|
18533
|
+
...D.tableContents ?? []
|
|
18534
|
+
], T[B].tableColumns = ((H = T[B].tableColumns) == null ? void 0 : H.length) === 0 ? D.tableColumns : T[B].tableColumns, oa(T[B], D);
|
|
18525
18535
|
} else if ((D == null ? void 0 : D.key) === "Form") {
|
|
18526
18536
|
let B = T == null ? void 0 : T.findIndex((k) => Go(k) === m);
|
|
18527
|
-
T[B].contents = [
|
|
18537
|
+
T[B].contents = [
|
|
18538
|
+
...((j = T[B]) == null ? void 0 : j.contents) ?? [],
|
|
18539
|
+
...D.contents ?? []
|
|
18540
|
+
], T[B].value = ((L = T[B].value) == null ? void 0 : L.length) === 0 ? D.value : T[B].value, oa(T[B], D);
|
|
18528
18541
|
}
|
|
18529
18542
|
}), y.contents = T;
|
|
18530
18543
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as C, reactive as k, ref as v, onMounted as D, nextTick as b, resolveComponent as i, resolveDirective as T, createElementBlock as m, openBlock as u, createVNode as t, withCtx as n, withDirectives as w, createElementVNode as p, createTextVNode as _ } from "vue";
|
|
2
2
|
import { S as x } from "./index-CWmXf1NE.js";
|
|
3
|
-
import { W as B } from "./index-
|
|
3
|
+
import { W as B } from "./index-DEExElBR.js";
|
|
4
4
|
import { s as F } from "./index-11kpzK0A.js";
|
|
5
|
-
import { a as y } from "./index-
|
|
5
|
+
import { a as y } from "./index-F51VY1RN.js";
|
|
6
6
|
import { u as S, p as I, s as N } from "./index-D1VswI-c.js";
|
|
7
7
|
import { _ as R } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
8
8
|
const E = { class: "menu-module" }, M = {
|
|
@@ -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
2
|
import { S as m } from "./index-C4JRH2bS.js";
|
|
3
|
-
import { W as _ } from "./index-
|
|
3
|
+
import { W as _ } from "./index-DEExElBR.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",
|
|
@@ -5,7 +5,7 @@ import { g as Q, u as we } from "./index-JzyzdVhr.js";
|
|
|
5
5
|
import { J as X } from "./JSEncrypt-B36c1iN5.js";
|
|
6
6
|
import { a4 as Se } from "./index-C0DGvXAg.js";
|
|
7
7
|
import { A as _e } from "./index-Py7mpzFg.js";
|
|
8
|
-
import { u as Y,
|
|
8
|
+
import { u as Y, o as Ce } from "./index-F51VY1RN.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, o, l, 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: ((o = d.value) == null ? void 0 : o.部门名称) ?? "未知"
|
|
43
43
|
},
|
|
44
44
|
{
|
|
45
45
|
label: "",
|
|
46
46
|
// name: 'userDept',
|
|
47
47
|
name: "状态",
|
|
48
48
|
prop: "状态",
|
|
49
|
-
value: ((
|
|
49
|
+
value: ((l = d.value) == null ? void 0 : l.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, o, l;
|
|
91
|
+
const t = sessionStorage.getItem("authority"), s = JSON.parse(t || ""), e = (n = I.value) != null && n.startsWith("/") ? (o = I.value) == null ? void 0 : o.substring(1) : I.value;
|
|
92
|
+
return Array.isArray(s) ? (ae.value = !(s != null && s.includes(`${e}/上传头像`)), (l = K.value) == null ? void 0 : l.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, o, l, 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
|
+
...(l = (o = (n = s.data.result) == null ? void 0 : n[0]) == null ? void 0 : o.value) == null ? void 0 : l.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, o, l;
|
|
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
|
+
((o = a == null ? void 0 : a.data) == null ? void 0 : o.code) === 200 && (se(), T.success("修改成功"), await re((l = d.value) == null ? void 0 : l.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 o;
|
|
150
150
|
const e = t === "avatarUrl" ? "头像" : "签名", n = {
|
|
151
151
|
...d.value,
|
|
152
|
-
status: ((
|
|
152
|
+
status: ((o = d.value) == null ? void 0 : o.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
|
+
}), oe = h([]), le = h(), Pe = (t, s, e) => {
|
|
162
|
+
var l, a, p, y, b, g;
|
|
163
163
|
let n;
|
|
164
|
-
const
|
|
165
|
-
((a = (
|
|
164
|
+
const o = s;
|
|
165
|
+
((a = (l = d.value) == null ? void 0 : l.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 === o ? 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 = le.value) == null ? void 0 : n.newtPass) ? e(new Error("两次输入的密码不一致")) : e();
|
|
171
171
|
}, Le = async () => {
|
|
172
|
-
var s, e, n,
|
|
172
|
+
var s, e, n, o, l, 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 = (l = (o = (n = t.data.result) == null ? void 0 : n[0]) == null ? void 0 : o.value) == null ? void 0 : l.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
|
+
le.value = t;
|
|
211
211
|
}, Ve = async ({ content: t, buttonName: s }) => {
|
|
212
|
-
var n,
|
|
212
|
+
var n, o, l, 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: ((l = (o = d.value) == null ? void 0 : o.layer) == null ? void 0 : l.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, o;
|
|
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 l = (n = I.value) != null && n.startsWith("/") ? (o = I.value) == null ? void 0 : o.substring(1) : I.value, a = e != null && e.includes(`${l}/基本信息`) ? t == null ? void 0 : t.base : [], p = e != null && e.includes(`${l}/修改密码`) ? 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, o, l;
|
|
251
|
+
oe.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: (o = B.otherCols) == null ? void 0 : o.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: (l = W()) == null ? void 0 : l.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: oe,
|
|
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, o = E(() => "http://222.92.178.198:62001"), l = 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 ? o.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: l.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 = o.value + "/" + ((u = (S = f.data) == null ? void 0 : S.result) == null ? void 0 : u.url), l.value = (m = (r = f.data) == null ? void 0 : r.result) == null ? void 0 : m.url, n("submitImage", l.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({}), o = h([]), l = s, a = (u) => {
|
|
442
|
+
n.value.dialogShow = (u == null ? void 0 : u.label) === "电子签名", l("clickSignButton", u);
|
|
443
443
|
}, p = () => {
|
|
444
|
-
n.value.dialogShow = !1,
|
|
444
|
+
n.value.dialogShow = !1, l("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 && l("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, o.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(o.value, (i) => {
|
|
514
514
|
var U;
|
|
515
515
|
return k(), N("div", {
|
|
516
516
|
key: i.label,
|