ss-component-new 1.3.280 → 1.3.281
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-DXYhvEjE.cjs → MTLLoader-CvINB_3K.cjs} +1 -1
- package/dist/{MTLLoader-DLRLyLMt.js → MTLLoader-DVywhJ5Q.js} +1 -1
- package/dist/{OrbitControls-nAgVKLNJ.cjs → OrbitControls-D671ekNZ.cjs} +1 -1
- package/dist/{OrbitControls-CQvx5QMJ.js → OrbitControls-Dw-kijDo.js} +1 -1
- package/dist/{URDFLoader-BWQ_OscV.cjs → URDFLoader-BgcTSOZ6.cjs} +1 -1
- package/dist/{URDFLoader-D22KzIth.js → URDFLoader-Dk8lOGc-.js} +2 -2
- package/dist/{animationData-VUxOUVgD.js → animationData-BtgtSqTz.js} +3 -3
- package/dist/{animationData-LLOehaOQ.cjs → animationData-CTbEmb_V.cjs} +1 -1
- package/dist/{array-D45MU204.js → array-B0PFrdFL.js} +3 -3
- package/dist/{array-D1GUCNsq.cjs → array-D2bK6Jvr.cjs} +1 -1
- package/dist/{clone-BbOj9TCH.js → clone-BRg3D_Io.js} +1 -1
- package/dist/{iconfont-BE1hzmDc.cjs → iconfont-DHYDXPkZ.cjs} +1 -1
- package/dist/{iconfont-Cr38i46d.js → iconfont-DNwVgv2S.js} +2 -2
- package/dist/{index-BOvPjR0D.js → index-0aWnJT_L.js} +3 -3
- package/dist/{index-DR_WyjvT.cjs → index-9m_Dfg-a.cjs} +1 -1
- package/dist/{index-BHMoo7bB.cjs → index-AbAAedWL.cjs} +1 -1
- package/dist/{index-9wGZ-4hR.js → index-B8ltduvS.js} +8 -8
- package/dist/{index-BoTE32ut.js → index-BB2tyXr9.js} +2 -2
- package/dist/{index-Cy9bsuL2.js → index-BCFmSGbB.js} +4 -4
- package/dist/{index-BT46HAHZ.js → index-BGTs360b.js} +8 -8
- package/dist/{index-B-l84C54.cjs → index-BRVviKxo.cjs} +1 -1
- package/dist/index-BWlTDVnR.cjs +2 -0
- package/dist/{index-BuAbzlq5.js → index-BY0Eh6RU.js} +2 -2
- package/dist/{index-SbZQQ-X8.js → index-BYTKbNYi.js} +3 -3
- package/dist/{index-C24Ew8DS.js → index-BctOhDwk.js} +2 -2
- package/dist/{index-CsQXBNEB.cjs → index-BdTJc6uN.cjs} +1 -1
- package/dist/{index-R_Xkgk81.cjs → index-BhSZE-7O.cjs} +1 -1
- package/dist/{index--m3WLt7S.cjs → index-BjkhIjV4.cjs} +1 -1
- package/dist/{index-xXJ9MTXI.cjs → index-BlELLGzz.cjs} +1 -1
- package/dist/{index-CC_Uf7i5.js → index-Bsr7LwqB.js} +2 -2
- package/dist/{index-Bshw7NTp.js → index-C5gP1spi.js} +1 -1
- package/dist/{index-BIUUO2hj.cjs → index-C5xqTd6I.cjs} +2 -2
- package/dist/index-CO_A9nyT.js +9005 -0
- package/dist/{index-C13U-0Jy.js → index-Cduqeukn.js} +12 -12
- package/dist/index-CqxMQr74.js +89 -0
- package/dist/{index-CDD6K64i.js → index-CvhlEfJz.js} +8 -8
- package/dist/{index-CgLR8M0W.js → index-Cw6dRC9A.js} +1 -1
- package/dist/{index-DJX7B_Ea.js → index-D8nK6HAn.js} +2 -2
- package/dist/{index-jyKnojfp.js → index-DCbu7ri3.js} +12 -12
- package/dist/{index-CUsNZcCU.js → index-DHmofmrZ.js} +5 -5
- package/dist/{index-DRfgsNa8.cjs → index-DQ7U_hjn.cjs} +1 -1
- package/dist/{index-Di7ZA2ve.js → index-DSAzufvO.js} +4 -4
- package/dist/{index-Cwqd3RTR.cjs → index-DVVFpoVc.cjs} +1 -1
- package/dist/{index-Dj7DdBZy.js → index-DejOuWvy.js} +1 -1
- package/dist/{index-Cf3xpk_1.js → index-DfIVee_H.js} +1 -1
- package/dist/{index-kmcOGXlU.cjs → index-FHHw49g0.cjs} +12 -12
- package/dist/{index-BgCFgQ5g.cjs → index-GMl49hXt.cjs} +1 -1
- package/dist/{index-Bt-uJfVZ.js → index-GNblQpLl.js} +3 -3
- package/dist/{index-CpzY9Gec.js → index-HLvtE9S0.js} +1 -1
- package/dist/{index-Dl2gLoFM.js → index-KcQ75YNd.js} +12 -12
- package/dist/{index-Ck622048.js → index-VVDo149k.js} +1 -1
- package/dist/{index-FyAkELn9.cjs → index-YMw8o9ul.cjs} +1 -1
- package/dist/{index-SGvs3h4A.js → index-llBnmaQK.js} +1 -1
- package/dist/{index-DLnb0ZNj.js → index-oJ-Mr4ev.js} +2 -2
- package/dist/{index-QR3l4OPP.js → index-qw8yMlIi.js} +2 -2
- package/dist/{index-Cz5U7Uzq.cjs → index-r6zzzKaL.cjs} +1 -1
- package/dist/{index-BhWJA_dI.js → index-wflbf1ZT.js} +3930 -3864
- package/dist/{index.vue_vue_type_style_index_0_scoped_6b92e250_lang-BTrmx-PC.cjs → index.vue_vue_type_style_index_0_scoped_6b92e250_lang-DFdOquZV.cjs} +61 -61
- package/dist/{index.vue_vue_type_style_index_0_scoped_6b92e250_lang-BwC3ERgZ.js → index.vue_vue_type_style_index_0_scoped_6b92e250_lang-Ds0kFEYt.js} +1842 -1847
- package/dist/{main-Bu-O08vQ.js → main-CwmmmDaX.js} +4 -4
- package/dist/{main-DvfGrAf_.cjs → main-D2rxq0Ih.cjs} +1 -1
- package/dist/{menuIndex-eRkWyS7P.js → menuIndex-DC3FlB82.js} +1 -1
- package/dist/ss-component.cjs +1 -1
- package/dist/ss-component.css +1 -1
- package/dist/ss-component.js +11 -11
- package/dist/ss-component2.cjs +1 -1
- package/dist/ss-component2.js +12 -12
- package/dist/{threeModel-2YOXSdLB.js → threeModel-BLHSvchi.js} +4 -4
- package/dist/{threeModel-BSgxEX3n.cjs → threeModel-ByNKj--n.cjs} +1 -1
- package/dist/{threePreview-CP3tcYAR.js → threePreview-DpiQX9ju.js} +4 -4
- package/dist/{threePreview-xhUkoXh6.cjs → threePreview-dtaXzjbO.cjs} +1 -1
- package/dist/{threeSceneView-DgoFm4DY.js → threeSceneView-BBaDsVGP.js} +12 -12
- package/dist/{threeSceneView-BhgJudfb.cjs → threeSceneView-BKBBYjDi.cjs} +1 -1
- package/dist/{threeSceneViewForCPMPIP-BnaXAowO.cjs → threeSceneViewForCPMPIP-DpUJIRom.cjs} +1 -1
- package/dist/{threeSceneViewForCPMPIP-CXHwBGw9.js → threeSceneViewForCPMPIP-yggkD4cL.js} +8 -8
- package/dist/{threeTrackPathView-CQaLFS7p.cjs → threeTrackPathView-BV0cv7WJ.cjs} +1 -1
- package/dist/{threeTrackPathView-DY3M_Buc.js → threeTrackPathView-mPB-okP7.js} +4 -4
- package/dist/{threeViewerHost-DEBZc9iA.js → threeViewerHost-BMA3etU6.js} +3 -3
- package/dist/{threeViewerHost-B8oZFaZa.cjs → threeViewerHost-JJLjuhNP.cjs} +1 -1
- package/dist/{urdfTree-5F2tOi3x.cjs → urdfTree-KlxvBQMs.cjs} +1 -1
- package/dist/{urdfTree-CckwVSYW.js → urdfTree-wRqFFqa9.js} +1 -1
- package/dist/{workpieceTreePanel-Cv5nNG_k.cjs → workpieceTreePanel-BUEpyjQH.cjs} +1 -1
- package/dist/{workpieceTreePanel-BweOcV6q.js → workpieceTreePanel-C6doIKHS.js} +4 -4
- package/package.json +1 -1
- package/dist/index-BpSJ4bpK.js +0 -8480
- package/dist/index-CQ7VqTEa.js +0 -89
- package/dist/index-DbliwBS9.cjs +0 -1
- 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
|
@@ -3,24 +3,24 @@ var ip = (a, l, r) => l in a ? rp(a, l, { enumerable: !0, configurable: !0, writ
|
|
|
3
3
|
var oi = (a, l, r) => ip(a, typeof l != "symbol" ? l + "" : l, r);
|
|
4
4
|
import { ref as ie, watch as kl, nextTick as Er, resolveComponent as _l, createBlock as pl, openBlock as se, withCtx as $e, createElementVNode as ce, renderSlot as Wi, computed as Ul, createElementBlock as Ke, createCommentVNode as Ml, normalizeClass as ci, toDisplayString as Va, defineComponent as Hr, onMounted as Pi, onUnmounted as Ut, withModifiers as Or, createVNode as Me, createTextVNode as bl, Fragment as Ol, renderList as Yl, onBeforeUnmount as Ns, normalizeStyle as Kr, unref as Bl, createSlots as qt, mergeProps as Wt, resolveDynamicComponent as Si, shallowRef as Ac, reactive as ei, getCurrentInstance as Tc, inject as At, provide as Cs, toRef as np, onBeforeMount as Ec, watchEffect as sp, getCurrentScope as op, onScopeDispose as tp, toRefs as Su, withDirectives as up, vShow as cp } from "vue";
|
|
5
5
|
import { m as dp, n as pp, E as Cl, k as Kt, h as Au, c as Tu, b as pi, ap as Cc, aq as fp, ar as hp, as as dt, ao as Eu } from "./request-B3-w_S8Z.js";
|
|
6
|
-
import { j as fn, c as Ee, h as Dn, p as Xl, s as lr, i as Tn, b as Kn, o as Dc, u as vn, a as zn, a2 as Yt, a0 as no, r as $o, a3 as rn, g as ti, n as xo, m as mo, E as Ii,
|
|
7
|
-
import { S as bp, b as $r, _ as Du, f as _p, h as ps, i as Lo, a as pr, j as kp, d as Jt, e as xp, c as wp, k as oo, l as Sp } from "./index-
|
|
6
|
+
import { j as fn, c as Ee, h as Dn, p as Xl, s as lr, i as Tn, b as Kn, o as Dc, u as vn, a as zn, a2 as Yt, a0 as no, r as $o, a3 as rn, g as ti, n as xo, m as mo, E as Ii, w as Ds, a4 as vp, a5 as so, a6 as yp, a7 as Cu, a8 as gp, _ as mp } from "./index-B8ltduvS.js";
|
|
7
|
+
import { S as bp, b as $r, _ as Du, f as _p, h as ps, i as Lo, a as pr, j as kp, d as Jt, e as xp, c as wp, k as oo, l as Sp } from "./index-wflbf1ZT.js";
|
|
8
8
|
import { _ as nr } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
9
|
-
import { u as Ap, b as Hl, N as Tp, O as Ep, Q as Cp, R as Dp, U as zu, Y as zp, Z as Op, C as Mp, f as pt, x as zc, _ as As, $ as Ip, a0 as Oc, a1 as Mc, v as ft, a2 as Bp, w as $p, j as Pn, B as Lp, V as ht, a3 as Ou, m as ns, n as Ss, a4 as Np, z as Rp, a5 as Pp, a6 as jp, a7 as Fp, s as Sn, a8 as Ic, d as Bc } from "./index.vue_vue_type_style_index_0_scoped_6b92e250_lang-
|
|
9
|
+
import { u as Ap, b as Hl, N as Tp, O as Ep, Q as Cp, R as Dp, U as zu, Y as zp, Z as Op, C as Mp, f as pt, x as zc, _ as As, $ as Ip, a0 as Oc, a1 as Mc, v as ft, a2 as Bp, w as $p, j as Pn, B as Lp, V as ht, a3 as Ou, m as ns, n as Ss, a4 as Np, z as Rp, a5 as Pp, a6 as jp, a7 as Fp, s as Sn, a8 as Ic, d as Bc } from "./index.vue_vue_type_style_index_0_scoped_6b92e250_lang-Ds0kFEYt.js";
|
|
10
10
|
import { s as Br } from "./index-CnjGqJZS.js";
|
|
11
|
-
import { a as $c, T as Lc } from "./threeViewerHost-
|
|
12
|
-
import { g as Cr, h as No, s as Tt, t as wo, d as hs, x as Rs, r as Hp, f as zs, y as Up, c as Wr, b as vs, u as Gt, z as vi, A as Ro, B as qp, C as Wp, D as Kp, E as Yp, l as Jp, F as Gp, w as Xp, G as Zp, H as Vp, I as Qp, J as Nc, K as ui, L as us, M as nn, N as Hn, O as vt, P as ef, o as af, Q as yt, R as lf, S as rf } from "./index-
|
|
11
|
+
import { a as $c, T as Lc } from "./threeViewerHost-BMA3etU6.js";
|
|
12
|
+
import { g as Cr, h as No, s as Tt, t as wo, d as hs, x as Rs, r as Hp, f as zs, y as Up, c as Wr, b as vs, u as Gt, z as vi, A as Ro, B as qp, C as Wp, D as Kp, E as Yp, l as Jp, F as Gp, w as Xp, G as Zp, H as Vp, I as Qp, J as Nc, K as ui, L as us, M as nn, N as Hn, O as vt, P as ef, o as af, Q as yt, R as lf, S as rf } from "./index-BctOhDwk.js";
|
|
13
13
|
import { g as An, u as So, c as Rc, d as Ps, b as Xt, a as Ao } from "./index-_uOv3SVz.js";
|
|
14
|
-
import { a as nf, s as sf } from "./index-
|
|
15
|
-
import "./index-
|
|
16
|
-
import { u as Pc } from "./index-
|
|
14
|
+
import { a as nf, s as sf } from "./index-BCFmSGbB.js";
|
|
15
|
+
import "./index-llBnmaQK.js";
|
|
16
|
+
import { u as Pc } from "./index-DCbu7ri3.js";
|
|
17
17
|
/* empty css */
|
|
18
18
|
import { i as To } from "./isString-BLBZkTvd.js";
|
|
19
19
|
import { _ as Mu } from "./index.vue_vue_type_script_setup_true_lang-DRzriV-s.js";
|
|
20
20
|
import jc from "./index-rlStojTL.js";
|
|
21
|
-
import { s as of } from "./index-
|
|
22
|
-
import { S as gt, O as mt, M as bt } from "./MTLLoader-
|
|
23
|
-
import { U as tf } from "./URDFLoader-
|
|
21
|
+
import { s as of } from "./index-VVDo149k.js";
|
|
22
|
+
import { S as gt, O as mt, M as bt } from "./MTLLoader-DVywhJ5Q.js";
|
|
23
|
+
import { U as tf } from "./URDFLoader-Dk8lOGc-.js";
|
|
24
24
|
var uf = "[object Boolean]";
|
|
25
25
|
function Fc(a) {
|
|
26
26
|
return a === !0 || a === !1 || dp(a) && pp(a) == uf;
|
|
@@ -22197,7 +22197,7 @@ const e5 = {
|
|
|
22197
22197
|
}, null, 8, ["modelValue", "content"])
|
|
22198
22198
|
]));
|
|
22199
22199
|
}
|
|
22200
|
-
}), s5 = /* @__PURE__ */ nr(n5, [["__scopeId", "data-v-
|
|
22200
|
+
}), s5 = /* @__PURE__ */ nr(n5, [["__scopeId", "data-v-ed48c2f8"]]), o5 = ie([
|
|
22201
22201
|
{
|
|
22202
22202
|
name: "表格",
|
|
22203
22203
|
type: "table",
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import { computed as s, ref as h, onMounted as A } from "vue";
|
|
2
|
+
import { useRouter as _ } from "vue-router";
|
|
3
|
+
import { b as C, u as U, p as R, t as S, c as M, i as b, n as D } from "./index-B8ltduvS.js";
|
|
4
|
+
const i = {
|
|
5
|
+
ALLOW: {
|
|
6
|
+
value: "允许"
|
|
7
|
+
},
|
|
8
|
+
DENY: {
|
|
9
|
+
value: "不允许"
|
|
10
|
+
}
|
|
11
|
+
}, N = "系统管理/用户管理", L = "用户列表", E = {
|
|
12
|
+
title: "个人中心",
|
|
13
|
+
path: "/个人中心",
|
|
14
|
+
level: 1,
|
|
15
|
+
show: !0,
|
|
16
|
+
icon: "个人中心",
|
|
17
|
+
carryData: !0,
|
|
18
|
+
isPenultimate: !0,
|
|
19
|
+
isRouter: !0,
|
|
20
|
+
children: [],
|
|
21
|
+
childMenus: []
|
|
22
|
+
}, $ = () => {
|
|
23
|
+
const u = _(), r = C(), a = U(R), c = s(() => {
|
|
24
|
+
const t = r.loginUserInfo, { plat_id: e } = t || {};
|
|
25
|
+
return e;
|
|
26
|
+
}), p = s(() => {
|
|
27
|
+
const t = r.loginUserInfo, { layer: e } = t || {};
|
|
28
|
+
return e === S;
|
|
29
|
+
}), d = (t) => {
|
|
30
|
+
const { id: e } = t;
|
|
31
|
+
return {
|
|
32
|
+
id: e,
|
|
33
|
+
password: "",
|
|
34
|
+
allow_reset_password: i.DENY.value
|
|
35
|
+
};
|
|
36
|
+
}, l = h([]), f = s(() => {
|
|
37
|
+
var e, n;
|
|
38
|
+
const t = (n = (e = l.value) == null ? void 0 : e.find) == null ? void 0 : n.call(e, (o) => o.property_name === L);
|
|
39
|
+
return t == null ? void 0 : t.object_id;
|
|
40
|
+
}), w = async () => {
|
|
41
|
+
var n;
|
|
42
|
+
const t = {
|
|
43
|
+
pageName: N,
|
|
44
|
+
platId: c.value
|
|
45
|
+
}, e = await b(t);
|
|
46
|
+
return ((n = e == null ? void 0 : e.data) == null ? void 0 : n.result) || [];
|
|
47
|
+
}, m = async () => {
|
|
48
|
+
const t = await w();
|
|
49
|
+
l.value = t || [];
|
|
50
|
+
};
|
|
51
|
+
A(async () => {
|
|
52
|
+
await m();
|
|
53
|
+
});
|
|
54
|
+
const y = s(() => `content_${f.value}`), I = async (t) => ({
|
|
55
|
+
platId: c.value,
|
|
56
|
+
changeContents: [
|
|
57
|
+
{
|
|
58
|
+
tableContents: [t],
|
|
59
|
+
tableName: y.value
|
|
60
|
+
}
|
|
61
|
+
]
|
|
62
|
+
}), g = (t) => {
|
|
63
|
+
const { allow_reset_password: e } = t;
|
|
64
|
+
return e === i.ALLOW.value;
|
|
65
|
+
}, v = async (t) => {
|
|
66
|
+
const { id: e, password: n, allow_reset_password: o } = t;
|
|
67
|
+
return I({
|
|
68
|
+
id: e,
|
|
69
|
+
password: n,
|
|
70
|
+
allow_reset_password: o
|
|
71
|
+
});
|
|
72
|
+
}, P = async (t) => {
|
|
73
|
+
const e = await v(t);
|
|
74
|
+
return await D(e);
|
|
75
|
+
};
|
|
76
|
+
return {
|
|
77
|
+
isSuperAdmin: p,
|
|
78
|
+
toPersonalCenter: () => {
|
|
79
|
+
const t = M(E);
|
|
80
|
+
a.setAsideMenus([t]), a.setActiveMenuPath(t == null ? void 0 : t.path), a.setActiveAsideMenu(t), u.push(t.path);
|
|
81
|
+
},
|
|
82
|
+
isAllowReplacePassword: g,
|
|
83
|
+
initReplacePassword: async (t) => await P(t),
|
|
84
|
+
initEditForm: d
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
export {
|
|
88
|
+
$ as u
|
|
89
|
+
};
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { defineAsyncComponent as At, computed as We, onMounted as yt, resolveComponent as H, createBlock as Ve, openBlock as R, withCtx as N, resolveDynamicComponent as vt, defineComponent as Pt, defineProps as Ot, ref as z, watch as Rt, reactive as $t, createElementBlock as q, Fragment as Ne, createVNode as x, createCommentVNode as xe, normalizeStyle as zt, toDisplayString as rt, createElementVNode as Je, renderList as pt, createTextVNode as ct } from "vue";
|
|
2
|
-
import { u as qt, a as xt, p as nt, b as Jt, s as Qe, c as ue, v as Xe } from "./index-
|
|
2
|
+
import { u as qt, a as xt, p as nt, b as Jt, s as Qe, c as ue, v as Xe } from "./index-B8ltduvS.js";
|
|
3
3
|
import { S as Wt } from "./index-BHtNKL1L.js";
|
|
4
|
-
import "./index.vue_vue_type_style_index_0_scoped_6b92e250_lang-
|
|
4
|
+
import "./index.vue_vue_type_style_index_0_scoped_6b92e250_lang-Ds0kFEYt.js";
|
|
5
5
|
import { I as Gt } from "./request-B3-w_S8Z.js";
|
|
6
6
|
import { s as Nt } from "./index-CnjGqJZS.js";
|
|
7
|
-
import { c as Qt } from "./index-
|
|
7
|
+
import { c as Qt } from "./index-wflbf1ZT.js";
|
|
8
8
|
import { useRouter as Xt } from "vue-router";
|
|
9
9
|
import { a as Yt, e as Zt, f as Vt, g as Ht, h as ut } from "./index-C2UiLe43.js";
|
|
10
10
|
import { g as Pe, u as Ye, a as ft, c as mt, d as ht } from "./index-_uOv3SVz.js";
|
|
11
|
-
import { g as el } from "./index-
|
|
12
|
-
import { f as tl } from "./menuIndex-
|
|
13
|
-
import { c as Ze, d as dt, n as ll } from "./index-
|
|
14
|
-
import { u as sl } from "./index-
|
|
11
|
+
import { g as el } from "./index-Cduqeukn.js";
|
|
12
|
+
import { f as tl } from "./menuIndex-DC3FlB82.js";
|
|
13
|
+
import { c as Ze, d as dt, n as ll } from "./index-BctOhDwk.js";
|
|
14
|
+
import { u as sl } from "./index-DCbu7ri3.js";
|
|
15
15
|
import { _ as al } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
16
|
-
const He = At(() => import("./index-
|
|
16
|
+
const He = At(() => import("./index-wflbf1ZT.js").then((r) => r.n));
|
|
17
17
|
He.install = (r) => {
|
|
18
18
|
r.component("ssMenu", He);
|
|
19
19
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as v, computed as B, watch as u, onMounted as y, onUnmounted as _, resolveComponent as D, createElementBlock as K, openBlock as L, createVNode as E } from "vue";
|
|
2
|
-
import { b as j, p as x, s as z, d as A } from "./index-
|
|
2
|
+
import { b as j, p as x, s as z, d as A } from "./index-B8ltduvS.js";
|
|
3
3
|
import { _ as T } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
4
|
const b = /* @__PURE__ */ v({
|
|
5
5
|
__name: "index",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { computed as R, ref as y, defineComponent as Ue, onMounted as ze, reactive as xe, resolveComponent as c, createElementBlock as N, openBlock as w, createElementVNode as s, createVNode as o, unref as m, withCtx as i, createTextVNode as k, toDisplayString as de, Fragment as pe, renderList as ue, withModifiers as qe, createBlock as ce, createCommentVNode as Ge } from "vue";
|
|
2
|
-
import { g as Oe, d as Me, u as Re, c as Fe, a as Qe, b as $e } from "./index-
|
|
3
|
-
import { b as Ye, u as Ce, p as Te,
|
|
2
|
+
import { g as Oe, d as Me, u as Re, c as Fe, a as Qe, b as $e } from "./index-DejOuWvy.js";
|
|
3
|
+
import { b as Ye, u as Ce, p as Te, t as je, E as Ze, D as Ie, c as He, i as Je } from "./index-B8ltduvS.js";
|
|
4
4
|
import { _ as he } from "./index.vue_vue_type_script_setup_true_lang-DRzriV-s.js";
|
|
5
5
|
import { s as Ke } from "./index-CnjGqJZS.js";
|
|
6
6
|
import { _ as We } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { watch as ve, ref as L, computed as A } from "vue";
|
|
2
|
-
import { i as B, f as U, w as Le } from "./index-
|
|
3
|
-
import { s as Te, b as z, p as O, u as De,
|
|
2
|
+
import { i as B, f as U, w as Le } from "./index-BctOhDwk.js";
|
|
3
|
+
import { s as Te, b as z, p as O, u as De, t as Re, c as P, D as V, E as Ee, i as Ae, ac as Be, ad as Ue, ae as Pe, af as xe, ag as Se, ah as ke } from "./index-B8ltduvS.js";
|
|
4
4
|
import { s as G } from "./request-B3-w_S8Z.js";
|
|
5
5
|
const qe = z(O), { systemUrl: g } = Te(qe);
|
|
6
6
|
let x = g.value === "" || !g.value ? "http://222.92.178.198:63002" : g.value;
|
|
@@ -26,16 +26,16 @@ function Ne(s) {
|
|
|
26
26
|
responseType: "blob"
|
|
27
27
|
});
|
|
28
28
|
}
|
|
29
|
-
function
|
|
29
|
+
function Ve(s = "") {
|
|
30
30
|
const r = s.match(/filename\*=UTF-8''([^;]+)/i);
|
|
31
31
|
if (r)
|
|
32
32
|
return decodeURIComponent(r[1]);
|
|
33
33
|
const p = s.match(/filename=["']?([^"';]+)["']?/);
|
|
34
34
|
return p ? p[1] : "download.xlsx";
|
|
35
35
|
}
|
|
36
|
-
const
|
|
36
|
+
const Ce = (s) => {
|
|
37
37
|
var y, I;
|
|
38
|
-
const r = ((y = s == null ? void 0 : s.headers) == null ? void 0 : y["content-type"]) || "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", p = new Blob([s.data], { type: r }), i = (I = s == null ? void 0 : s.headers) == null ? void 0 : I["content-disposition"], T =
|
|
38
|
+
const r = ((y = s == null ? void 0 : s.headers) == null ? void 0 : y["content-type"]) || "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", p = new Blob([s.data], { type: r }), i = (I = s == null ? void 0 : s.headers) == null ? void 0 : I["content-disposition"], T = Ve(i) || "数据.xlsx", d = window.URL.createObjectURL(p), m = document.createElement("a");
|
|
39
39
|
m.href = d, m.setAttribute("download", T), document.body.appendChild(m), m.click(), document.body.removeChild(m), window.URL.revokeObjectURL(d);
|
|
40
40
|
}, Ke = [
|
|
41
41
|
{
|
|
@@ -46,7 +46,7 @@ const Ve = (s) => {
|
|
|
46
46
|
label: "删除",
|
|
47
47
|
value: "delete"
|
|
48
48
|
}
|
|
49
|
-
],
|
|
49
|
+
], C = "role", f = {
|
|
50
50
|
ENABLE: {
|
|
51
51
|
value: "enable",
|
|
52
52
|
label: "启用",
|
|
@@ -90,7 +90,7 @@ const Ve = (s) => {
|
|
|
90
90
|
return d.value ? !0 : ((e = y.value) == null ? void 0 : e.status) === u.EDITABLE.value;
|
|
91
91
|
}), M = (t) => {
|
|
92
92
|
var l, c;
|
|
93
|
-
const e =
|
|
93
|
+
const e = V(Date.now()), { user_name: a, id: n = 0 } = s.loginUserInfo || {}, o = P(t);
|
|
94
94
|
return o.update_user_id = n, o.update_user_name = a, o.update_time = e, o.checked_ids = ((c = (l = o == null ? void 0 : o.main_ids) == null ? void 0 : l.map) == null ? void 0 : c.call(l, (w) => {
|
|
95
95
|
const { id: v } = w;
|
|
96
96
|
return v;
|
|
@@ -121,7 +121,7 @@ const Ve = (s) => {
|
|
|
121
121
|
}
|
|
122
122
|
}), e;
|
|
123
123
|
}, q = (t, e) => {
|
|
124
|
-
const a = s.loginUserInfo, { user_name: n, id: o = 0 } = a || {}, l =
|
|
124
|
+
const a = s.loginUserInfo, { user_name: n, id: o = 0 } = a || {}, l = V(Date.now());
|
|
125
125
|
let c = {
|
|
126
126
|
name: "",
|
|
127
127
|
code: "",
|
|
@@ -294,14 +294,14 @@ const Ve = (s) => {
|
|
|
294
294
|
return (a = e == null ? void 0 : e.data) == null ? void 0 : a.result;
|
|
295
295
|
}, he = async (t) => {
|
|
296
296
|
const e = new FormData(), a = q(), { create_user_id: n, update_user_id: o, create_user_name: l, update_user_name: c } = a;
|
|
297
|
-
return e.set("platId", i()), e.set("file", t), e.set("tableType",
|
|
297
|
+
return e.set("platId", i()), e.set("file", t), e.set("tableType", C), e.set("create_user_id", n), e.set("update_user_id", o), e.set("create_user_name", l), e.set("update_user_name", c), await ye(e);
|
|
298
298
|
}, _e = async (t) => await Ne(t), Ie = async () => {
|
|
299
299
|
const e = {
|
|
300
300
|
platId: i(),
|
|
301
|
-
tableType:
|
|
301
|
+
tableType: C,
|
|
302
302
|
filter: b.value
|
|
303
303
|
}, a = await _e(e);
|
|
304
|
-
return
|
|
304
|
+
return Ce(a), a;
|
|
305
305
|
}, be = [["名称", "编码", "备注", "状态"]];
|
|
306
306
|
return {
|
|
307
307
|
compType: B,
|
|
@@ -342,7 +342,7 @@ export {
|
|
|
342
342
|
Fe as a,
|
|
343
343
|
Ne as e,
|
|
344
344
|
u as f,
|
|
345
|
-
|
|
345
|
+
Ce as i,
|
|
346
346
|
Ke as o,
|
|
347
347
|
f as s,
|
|
348
348
|
We as u
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent as C, reactive as k, onMounted as D, resolveComponent as B, resolveDirective as T, createElementBlock as y, openBlock as u, createElementVNode as t, withDirectives as p, createVNode as o, unref as n, toDisplayString as r, createBlock as A } from "vue";
|
|
2
|
-
import { S as I, t as x, s as w, a as L } from "./index-
|
|
3
|
-
import "./index.vue_vue_type_style_index_0_scoped_6b92e250_lang-
|
|
2
|
+
import { S as I, t as x, s as w, a as L } from "./index-BCFmSGbB.js";
|
|
3
|
+
import "./index.vue_vue_type_style_index_0_scoped_6b92e250_lang-Ds0kFEYt.js";
|
|
4
4
|
import "./index-BHtNKL1L.js";
|
|
5
|
-
import { e as E } from "./index-
|
|
6
|
-
import "./index-
|
|
7
|
-
import { b as N, s as U } from "./index-
|
|
5
|
+
import { e as E } from "./index-wflbf1ZT.js";
|
|
6
|
+
import "./index-BctOhDwk.js";
|
|
7
|
+
import { b as N, s as U } from "./index-B8ltduvS.js";
|
|
8
8
|
import "./request-B3-w_S8Z.js";
|
|
9
9
|
/* empty css */
|
|
10
10
|
import { _ as V } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("vue"),u=require("./index-3XgooQs8.cjs"),_=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("vue"),u=require("./index-3XgooQs8.cjs"),_=require("./index-C5xqTd6I.cjs"),r=require("./index-Dub2SbvH.cjs"),C=require("./index-CW4qJdP8.cjs"),g=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),v={class:"menu-content"},x=l.defineComponent({__name:"index",setup(q){const m=u.useMenuState(u.pinia),{menus:c}=u.storeToRefs(m),p=l.ref([]),f=async()=>{var i,t,n,a;const e=await C.getInsofDataApi({key:{type:"mainEquip",systemKey:sessionStorage.getItem("systemKey")}});if(((i=e==null?void 0:e.data)==null?void 0:i.type)==="success"){let o=(n=(t=e==null?void 0:e.data)==null?void 0:t.result)==null?void 0:n.map(s=>s);return o=(a=u.cloneDeep(o))==null?void 0:a.map(s=>{var d;const b=Object.values((d=s==null?void 0:s.value)==null?void 0:d.tableData);return b.unshift({id:s==null?void 0:s.id}),b}),o}else return[]};l.onMounted(async()=>{var n;const e=await f(),t=[{key:"header",contents:[{label:"主菜单名称",formType:"Select",options:(n=u.cloneDeep(c.value))==null?void 0:n.map(a=>({label:a==null?void 0:a.title,value:a==null?void 0:a.title})),prop:"主菜单名称"},{label:"隐藏三维显示",formType:"Switch",value:!1,prop:"隐藏三维显示"},{label:"操作"}]},{key:"extraButton",contents:[{label:"新增"}]},{key:"rowButton",contents:[{label:"查看"},{label:"编辑"},{label:"删除"}]}];t.push({key:"tableContents",contents:e}),p.value=t});const y=e=>{(e==null?void 0:e.buttonName)==="新增"?r.addMenuContent(e==null?void 0:e.singleContent):(e==null?void 0:e.buttonName)==="删除"?r.deleteMenuContent(e==null?void 0:e.singleContent):(e==null?void 0:e.buttonName)==="编辑"&&r.fixMenuContent(e==null?void 0:e.singleContent)};return(e,i)=>(l.openBlock(),l.createElementBlock("div",v,[l.createVNode(_.ssTable,{itemData:p.value,class:"table-content",onChange:y},null,8,["itemData"])]))}}),h=g._export_sfc(x,[["__scopeId","data-v-26f5cadc"]]);exports.default=h;
|
|
@@ -1,9 +1,9 @@
|
|
|
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
|
-
import { S as x } from "./index-
|
|
3
|
-
import { Y as B } from "./index-
|
|
2
|
+
import { S as x } from "./index-BYTKbNYi.js";
|
|
3
|
+
import { Y as B } from "./index-Cduqeukn.js";
|
|
4
4
|
import { s as F } from "./index-CnjGqJZS.js";
|
|
5
|
-
import { b as y } from "./index-
|
|
6
|
-
import { u as S, p as I, s as N } from "./index-
|
|
5
|
+
import { b as y } from "./index-wflbf1ZT.js";
|
|
6
|
+
import { u as S, p as I, s as N } from "./index-B8ltduvS.js";
|
|
7
7
|
import { _ as R } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
8
8
|
const E = { class: "menu-module" }, M = {
|
|
9
9
|
class: "table-wrap",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),s=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),s=require("./index-C5xqTd6I.cjs"),n=require("./index-WOOGbDrU.cjs"),u=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),r=e.ref([]),i=e.computed(()=>[{key:"extraButton",contents:[{label:"清空",background:"#f56c6c",color:"#ffffff"}]},{key:"rowButton",contents:[]},{key:"header",contents:[{label:"模块名称",prop:"module",filterable:!0},{label:"操作类型",prop:"type",filterable:!0},{label:"账号",prop:"account",filterable:!0},{label:"姓名",prop:"userName",filterable:!0},{label:"时间",prop:"timeStamp",sortable:!0}]},{key:"tableContents",contents:r.value}]),p=Object.freeze(Object.defineProperty({__proto__:null,pageData:i,tableData:r},Symbol.toStringTag,{value:"Module"})),b={class:"log-wrap"},d=e.defineComponent({__name:"index",setup(_){const t=e.reactive({...p});e.onMounted(async()=>{t.tableData=await n.getLogTableDataAsync("operate")});const c=l=>{var a;n.clickButton(l,(a=t.tableData)==null?void 0:a.map(o=>o.id),o=>{o&&(t.tableData=[])})};return(l,a)=>(e.openBlock(),e.createElementBlock("div",b,[e.createVNode(s.ssTable,{itemData:t.pageData,allowOperate:!1,allowSelect:!1,onOnButtonClick:c},null,8,["itemData"])]))}}),f=u._export_sfc(d,[["__scopeId","data-v-3d3b471d"]]);exports.default=f;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { watch as n } from "vue";
|
|
2
|
-
import { s as o, b as p, p as u } from "./index-
|
|
2
|
+
import { s as o, b as p, p as u } from "./index-B8ltduvS.js";
|
|
3
3
|
import { s as r } from "./request-B3-w_S8Z.js";
|
|
4
4
|
const m = p(u), { systemUrl: a } = o(m);
|
|
5
5
|
let e = a.value === "" || !a.value ? "http://222.92.178.198:63002" : a.value;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ref as l, defineComponent as m, createElementBlock as f, openBlock as p, createElementVNode as e, createVNode as u, unref as t } from "vue";
|
|
2
|
-
import { Y as C } from "./index-
|
|
2
|
+
import { Y as C } from "./index-Cduqeukn.js";
|
|
3
3
|
import { _ as g } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
4
|
const b = () => {
|
|
5
5
|
const i = l("日志管理"), o = l(), a = l([
|