ss-component-new 1.3.531 → 1.3.533
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-Uji2-rMi.js → MTLLoader-C39kpgdW.js} +90 -90
- package/dist/{OrbitControls-Cp92obD3.js → OrbitControls-gxPdDfJE.js} +1 -1
- package/dist/{URDFLoader-Crgute7w.js → URDFLoader-_Fx0i2TU.js} +211 -211
- package/dist/{animationData-CPLKUFPL.js → animationData-CluZJZuh.js} +3 -3
- package/dist/{array-Dlk4haRY.js → array-Dz51vQBD.js} +4 -4
- package/dist/{clone-uDiz-hNZ.js → clone-ez7vwxnP.js} +1 -1
- package/dist/{eleIcon-B_axj8bR.js → eleIcon-C7Pz9jha.js} +3 -3
- package/dist/{iconfont-CFKrnQEL.js → iconfont-SlSF8dh4.js} +18 -18
- package/dist/{index-PhSZw0Y_.js → index-B-SRrjLA.js} +5 -5
- package/dist/{index-DnXVYmdD.js → index-B3osj0rP.js} +3 -3
- package/dist/{index-CrwqA_VO.js → index-B8LCpCcY.js} +10 -10
- package/dist/{index-D_GnOffO.js → index-BLlYLkpo.js} +2 -2
- package/dist/{index-kDiTOzGS.js → index-BscI3lbU.js} +2 -2
- package/dist/{index-Bb6FygJ4.js → index-COi8MT5y.js} +8 -8
- package/dist/{index-B1FZZIu7.js → index-CQD9tf3F.js} +2 -2
- package/dist/{index-B3tEvDy6.js → index-CThJS2hV.js} +1 -1
- package/dist/{index-BE4qZiGa.js → index-CVIPXYtg.js} +53 -52
- package/dist/{index-C6fPMPkd.js → index-C_4ECarE.js} +2 -2
- package/dist/{index-BQrB2FPQ.js → index-CocPelja.js} +1 -1
- package/dist/{index-BXv5S9_0.js → index-CqUR7JfB.js} +2 -2
- package/dist/{index-DNQtcpvR.js → index-DB1HWx1W.js} +4 -4
- package/dist/{index-ByHN5sXT.js → index-DBu4Eudt.js} +1 -1
- package/dist/{index-D7SgAs33.js → index-DLoJgHWy.js} +68 -68
- package/dist/{index-B1V-Rgv8.js → index-DSB1RQPg.js} +4 -4
- package/dist/{index-BS_Hb1O8.js → index-DcNXwXrV.js} +31 -31
- package/dist/{index-BRUinwTd.js → index-DlPAF7pq.js} +3930 -3930
- package/dist/{index-DHAhIKmQ.js → index-DlQXFCw8.js} +2 -2
- package/dist/{index-B0aAfT6h.js → index-DmaDbz-y.js} +4 -4
- package/dist/{index-CCcJa9gc.js → index-DqXvOyIs.js} +2192 -2259
- package/dist/{index-Csby6Vj4.js → index-Ds-fktuI.js} +2 -2
- package/dist/{index-JmNdbR6O.js → index-Fy4MrrOF.js} +2 -2
- package/dist/{index-CI9OKNjn.js → index-HcpVOGXt.js} +2 -2
- package/dist/{index-i4mEZe21.js → index-KxgyPOIl.js} +5 -5
- package/dist/index-OTLbQ7Xz.js +61480 -0
- package/dist/{index-gI03EEIe.js → index-Op_V_qXR.js} +18 -18
- package/dist/{index-9z3gGGkS.js → index-RLUSh93k.js} +4 -4
- package/dist/{index-BmZwVwZC.js → index-XvX6TMzr.js} +1 -1
- package/dist/{index-DUq4XELr.js → index-YvUJL9Us.js} +1 -1
- package/dist/{index-BiXoSo97.js → index-liDr9ErW.js} +6 -6
- package/dist/{index-BOChBkFa.js → index-qSiIJbZX.js} +4 -4
- package/dist/{index.vue_vue_type_style_index_0_scoped_07c75c98_lang-BIGp57QB.js → index.vue_vue_type_style_index_0_scoped_07c75c98_lang-CSiO4SIG.js} +10280 -10439
- package/dist/{isString-ChmgnNIb.js → isString-BlNsHiyU.js} +3 -3
- package/dist/{main-B85ZuM_V.js → main-CrnUY6yt.js} +4 -4
- package/dist/{menuIndex-MRzQpSlP.js → menuIndex-VozC7XXB.js} +1 -1
- package/dist/{request-XJsZ4h2T.js → request-B1c8BUkR.js} +3737 -2917
- package/dist/ss-component.css +2 -2
- package/dist/ss-component.js +12 -12
- package/dist/ss-component2.js +13 -13
- package/dist/{threeModel-nnpkV7at.js → threeModel-C7OpCzYA.js} +5 -5
- package/dist/{threePreview-CWv8mRxK.js → threePreview-DPTGt5fZ.js} +48 -48
- package/dist/{threeSceneView-Dubxjm8P.js → threeSceneView-CNwbHm2x.js} +67 -67
- package/dist/{threeSceneViewForCPMPIP-RYg-LYPE.js → threeSceneViewForCPMPIP-DhUDjjmG.js} +9 -9
- package/dist/{threeTrackPathView-DAq7Etua.js → threeTrackPathView-CHwHb3Z5.js} +57 -57
- package/dist/{threeViewerHost-Cb4ykYa0.js → threeViewerHost-C25yJdV7.js} +6 -6
- package/dist/{urdfTree-ZuA4DfFJ.js → urdfTree-_2vCDAO7.js} +1 -1
- package/dist/{workpieceTreePanel-cg0p_DH6.js → workpieceTreePanel-BaMbkaOM.js} +35 -35
- package/package.json +2 -1
- package/dist/index-By7enXb2.js +0 -25218
|
@@ -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 { W as C } from "./index-
|
|
2
|
+
import { W as C } from "./index-OTLbQ7Xz.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([
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import { computed as kl, defineComponent as _l, defineProps as Ot, ref as E, watch as vl, onMounted as Kl, onUnmounted as nt, resolveComponent as le, createBlock as fe, openBlock as p, withCtx as o, createElementVNode as O, toDisplayString as il, createElementBlock as ee, Fragment as ll, renderList as dl, createCommentVNode as Re, normalizeStyle as Bl, createVNode as s, unref as n, resolveDynamicComponent as oa, provide as Za, shallowRef as us, resolveDirective as st, withDirectives as ql, vShow as pa, createTextVNode as ul, renderSlot as Nl, normalizeClass as Ol, createSlots as yt, mergeProps as En, withModifiers as xl, defineAsyncComponent as fn, reactive as Pl, nextTick as Wl, withKeys as ds } from "vue";
|
|
2
|
-
import { m as Lt, a as Qt, b as Nt, c as ps } from "./array-
|
|
3
|
-
import { u as Vl, p as bl, s as gl, c as Al, a as $l, b as Fl, i as Ea, d as bt, l as fs, j as ga, e as Sa, E as ya, k as Tt, m as $a, v as et, n as Dn, o as vs, q as Pn, h as hs, r as Ct, t as ra, w as vn, x as gs, y as Rn, z as ys, A as bs, B as xn, C as hn, D as Cs, F as ms } from "./index-
|
|
4
|
-
import { _ as ot, s as Kt, a as ws } from "./index-
|
|
2
|
+
import { m as Lt, a as Qt, b as Nt, c as ps } from "./array-Dz51vQBD.js";
|
|
3
|
+
import { u as Vl, p as bl, s as gl, c as Al, a as $l, b as Fl, i as Ea, d as bt, l as fs, j as ga, e as Sa, E as ya, k as Tt, m as $a, v as et, n as Dn, o as vs, q as Pn, h as hs, r as Ct, t as ra, w as vn, x as gs, y as Rn, z as ys, A as bs, B as xn, C as hn, D as Cs, F as ms } from "./index-DqXvOyIs.js";
|
|
4
|
+
import { _ as ot, s as Kt, a as ws } from "./index-B8LCpCcY.js";
|
|
5
5
|
import { useRouter as Da } from "vue-router";
|
|
6
6
|
import { a as it, d as qt, e as rt, f as ct, g as ut, h as dt, t as ks, c as As, b as Is } from "./index-ChNfRlIP.js";
|
|
7
|
-
import { g as Ba, s as Ms, a as gn, _ as Bt, b as _s, u as Ss, c as Vn, X as Ts, Q as Bs } from "./index-
|
|
8
|
-
import { u as Un, g as yn, b as bn, c as Es, a as Ds } from "./index-
|
|
9
|
-
import { E as Ml, d as jn, b as ia, I as Ps, s as ea, e as On, a as Ln, c as Qn, g as Rs, h as xs, p as Nn, m as Vs, i as Us, j as js, f as Os } from "./request-
|
|
10
|
-
import { b as Ls, g as Kn, c as Qs, u as Wt, d as na, e as tt, o as qn, l as Ns, n as Ks, f as qs, h as fa, s as gt, t as Ws, i as Hs } from "./index-
|
|
11
|
-
import { d as Ys, g as lt, a as Fs } from "./index.vue_vue_type_style_index_0_scoped_07c75c98_lang-
|
|
7
|
+
import { g as Ba, s as Ms, a as gn, _ as Bt, b as _s, u as Ss, c as Vn, X as Ts, Q as Bs } from "./index-DlPAF7pq.js";
|
|
8
|
+
import { u as Un, g as yn, b as bn, c as Es, a as Ds } from "./index-YvUJL9Us.js";
|
|
9
|
+
import { E as Ml, d as jn, b as ia, I as Ps, s as ea, e as On, a as Ln, c as Qn, g as Rs, h as xs, p as Nn, m as Vs, i as Us, j as js, f as Os } from "./request-B1c8BUkR.js";
|
|
10
|
+
import { b as Ls, g as Kn, c as Qs, u as Wt, d as na, e as tt, o as qn, l as Ns, n as Ks, f as qs, h as fa, s as gt, t as Ws, i as Hs } from "./index-DB1HWx1W.js";
|
|
11
|
+
import { d as Ys, g as lt, a as Fs } from "./index.vue_vue_type_style_index_0_scoped_07c75c98_lang-CSiO4SIG.js";
|
|
12
|
+
import { a as Wn, b as da, u as Hn, s as ta, c as Js, d as zs, r as Tl, n as Xs, o as ca, e as ua, f as Yn, h as Et, i as Fn, j as Ht, k as Gs, t as Zs, l as Ca, m as mt, p as ft, q as ma, v as za, w as wa, x as $s, y as ka, z as Aa, A as eo, B as Ia, C as Ma, D as Xa, E as Cn, F as lo, G as mn, H as vt, I as wt, J as ao, K as zl, L as to, M as no, N as kt, O as so, P as oo, Q as io, g as Jn, R as ro, S as wn, T as co, U as uo } from "./index-OTLbQ7Xz.js";
|
|
12
13
|
import "./JSEncrypt-B36c1iN5.js";
|
|
13
|
-
import "./index-
|
|
14
|
-
import "./index-
|
|
15
|
-
import { c as
|
|
14
|
+
import "./index-KxgyPOIl.js";
|
|
15
|
+
import "./index-XvX6TMzr.js";
|
|
16
|
+
import { c as Yt, f as jl, b as zn, a as po, g as fo, d as kn } from "./menuIndex-VozC7XXB.js";
|
|
16
17
|
import { _ as Ll } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
17
|
-
import { C as
|
|
18
|
+
import { C as vo } from "./index-CVIPXYtg.js";
|
|
18
19
|
import { S as Sl } from "./index-BHtNKL1L.js";
|
|
19
|
-
import
|
|
20
|
-
import { a as Hn, b as da, u as Yn, s as ta, c as Zs, d as $s, r as Tl, n as eo, o as ca, e as ua, f as Fn, h as Et, i as Jn, j as Yt, k as lo, t as ao, l as Ca, m as mt, p as ft, q as ma, v as za, w as wa, x as to, y as ka, z as Aa, A as no, B as Ia, C as Ma, D as Xa, E as mn, F as so, G as wn, H as vt, I as wt, J as oo, K as zl, L as io, M as ro, N as kt, O as co, P as uo, Q as po, g as zn, R as fo, S as kn, T as vo, U as ho } from "./index-By7enXb2.js";
|
|
20
|
+
import ho from "./threeModel-C7OpCzYA.js";
|
|
21
21
|
import { _ as sa } from "./index.vue_vue_type_script_setup_true_lang-DRzriV-s.js";
|
|
22
22
|
import { s as aa } from "./index-11kpzK0A.js";
|
|
23
|
-
import { T as Dt, u as go, a as yo } from "./threeViewerHost-
|
|
24
|
-
import { s as Pt } from "./index-
|
|
25
|
-
import { u as bo } from "./index-
|
|
26
|
-
import { u as Co } from "./index-
|
|
27
|
-
import { u as Xn } from "./index-
|
|
23
|
+
import { T as Dt, u as go, a as yo } from "./threeViewerHost-C25yJdV7.js";
|
|
24
|
+
import { s as Pt } from "./index-Op_V_qXR.js";
|
|
25
|
+
import { u as bo } from "./index-CqUR7JfB.js";
|
|
26
|
+
import { u as Co } from "./index-CocPelja.js";
|
|
27
|
+
import { u as Xn } from "./index-DcNXwXrV.js";
|
|
28
28
|
import { T as An } from "./svgIcon-4u4PW7Is.js";
|
|
29
|
-
import { f as mo, a as wo } from "./animationData-
|
|
29
|
+
import { f as mo, a as wo } from "./animationData-CluZJZuh.js";
|
|
30
30
|
Vl();
|
|
31
31
|
const ko = Vl(), Gn = async (l, y) => {
|
|
32
32
|
var c, v, I, U;
|
|
@@ -305,7 +305,7 @@ function So(l = "menu") {
|
|
|
305
305
|
if (C.value = Ba(), a) {
|
|
306
306
|
se.value && (v.setActiveTopMenuPath(""), v.setActiveMenuPath(""), v.setAsideMenus([]));
|
|
307
307
|
const f = a;
|
|
308
|
-
A.value = ce(
|
|
308
|
+
A.value = ce(Yt(f));
|
|
309
309
|
}
|
|
310
310
|
},
|
|
311
311
|
{
|
|
@@ -428,7 +428,7 @@ const Do = /* @__PURE__ */ Ll(To, [["render", Eo], ["__scopeId", "data-v-ca3f1fb
|
|
|
428
428
|
},
|
|
429
429
|
emits: ["click"],
|
|
430
430
|
setup(l, { emit: y }) {
|
|
431
|
-
const c = Ea(bl), { selectTitle: v } = gl(c), I = l, U = E(!1), _ = E([]), V = y, x = kl(() => (j) => Ls(j) +
|
|
431
|
+
const c = Ea(bl), { selectTitle: v } = gl(c), I = l, U = E(!1), _ = E([]), V = y, x = kl(() => (j) => Ls(j) + 60);
|
|
432
432
|
vl(
|
|
433
433
|
() => [I == null ? void 0 : I.breadArray, v.value],
|
|
434
434
|
() => {
|
|
@@ -445,7 +445,7 @@ const Do = /* @__PURE__ */ Ll(To, [["render", Eo], ["__scopeId", "data-v-ca3f1fb
|
|
|
445
445
|
}, e = async (j) => {
|
|
446
446
|
var te, A, C, i, Be, de, N;
|
|
447
447
|
U.value = !0;
|
|
448
|
-
let T = await
|
|
448
|
+
let T = await Wn(j != null && j.parentContent ? j == null ? void 0 : j.parentContent : j == null ? void 0 : j.relatedContent, !1), B = (A = (te = T == null ? void 0 : T.filter((ce) => (ce == null ? void 0 : ce.comp) === "Table")) == null ? void 0 : te[0]) == null ? void 0 : A.compData, u = (C = B == null ? void 0 : B.find((ce) => (ce == null ? void 0 : ce.key) === "header")) == null ? void 0 : C.contents;
|
|
449
449
|
Array.isArray(u == null ? void 0 : u[0]) && (u = Kn(u == null ? void 0 : u[0])), u = ((i = u == null ? void 0 : u.find((ce) => ce == null ? void 0 : ce.isMainKey)) == null ? void 0 : i.prop) ?? ((Be = u == null ? void 0 : u[0]) == null ? void 0 : Be.prop);
|
|
450
450
|
let se = (N = (de = B == null ? void 0 : B.find((ce) => (ce == null ? void 0 : ce.key) === "tableContents")) == null ? void 0 : de.contents) == null ? void 0 : N.map((ce) => ({
|
|
451
451
|
label: ce == null ? void 0 : ce[u],
|
|
@@ -491,7 +491,7 @@ const Do = /* @__PURE__ */ Ll(To, [["render", Eo], ["__scopeId", "data-v-ca3f1fb
|
|
|
491
491
|
}), 128))
|
|
492
492
|
]));
|
|
493
493
|
}
|
|
494
|
-
}), Rt = /* @__PURE__ */ Ll(Uo, [["__scopeId", "data-v-
|
|
494
|
+
}), Rt = /* @__PURE__ */ Ll(Uo, [["__scopeId", "data-v-d78e15ae"]]), jo = {
|
|
495
495
|
key: 0,
|
|
496
496
|
class: "item-view-group",
|
|
497
497
|
style: { display: "flex" }
|
|
@@ -518,7 +518,7 @@ const Do = /* @__PURE__ */ Ll(To, [["render", Eo], ["__scopeId", "data-v-ca3f1fb
|
|
|
518
518
|
var C;
|
|
519
519
|
return (A == null ? void 0 : A[(A == null ? void 0 : A.length) - 1]) === "/" && (A = A + ((C = e == null ? void 0 : e[0]) == null ? void 0 : C.value)), A;
|
|
520
520
|
}), T = [], B = j == null ? void 0 : j.map(async (A) => {
|
|
521
|
-
let C = await
|
|
521
|
+
let C = await Wn(A, !1);
|
|
522
522
|
return C = C == null ? void 0 : C.map((Be) => {
|
|
523
523
|
var de;
|
|
524
524
|
return Be.isShow = !0, Be.compData = (de = Be.compData) == null ? void 0 : de.filter((N) => (N == null ? void 0 : N.key) !== "extraButton" && (N == null ? void 0 : N.key) !== "rowButton"), Be.disabled = !0, Be;
|
|
@@ -815,7 +815,7 @@ const Do = /* @__PURE__ */ Ll(To, [["render", Eo], ["__scopeId", "data-v-ca3f1fb
|
|
|
815
815
|
console.error("加载菜单或页面时出错:", _e);
|
|
816
816
|
}
|
|
817
817
|
})(L);
|
|
818
|
-
}, $e = Ea(bl), { selectTitle: el } = gl($e), pl = E(!1), Cl = E(), Je = E(null), ml = E(), ve = E(!1), g =
|
|
818
|
+
}, $e = Ea(bl), { selectTitle: el } = gl($e), pl = E(!1), Cl = E(), Je = E(null), ml = E(), ve = E(!1), g = Hn(bl), { blobUrls: Ue } = gl(g), be = E(), Ee = E(!1), al = E(!1), Qe = E(!1), tl = E(!1), Ze = E(null), a = E([]), f = E(!1), h = E(!1), M = E();
|
|
819
819
|
Za("contentRef", Ze);
|
|
820
820
|
const H = $l(bl), { isEdit: pe, routeToChildPath: Q } = gl(H), r = y, { logoUrl: k, platNameEn: W, getPreviousModel: $, rememberPreviousModelByPlatId: t } = bt(), { toPersonalCenter: d } = Co(), m = l, Y = us(/* @__PURE__ */ new Map()), we = kl(() => x.value.isRouter), Ne = E(""), rl = async (L) => {
|
|
821
821
|
const R = await Sa({
|
|
@@ -1105,8 +1105,8 @@ const Do = /* @__PURE__ */ Ll(To, [["render", Eo], ["__scopeId", "data-v-ca3f1fb
|
|
|
1105
1105
|
} catch (X) {
|
|
1106
1106
|
Ml.error(X);
|
|
1107
1107
|
}
|
|
1108
|
-
}, ie = kl(() =>
|
|
1109
|
-
const R =
|
|
1108
|
+
}, ie = kl(() => Js(Tl.value, zs.value)), ke = kl(() => {
|
|
1109
|
+
const R = Xs(Tl.value, 100) || [];
|
|
1110
1110
|
let P = 0, re = 0, De = 0;
|
|
1111
1111
|
return R == null ? void 0 : R.map((X) => (De = De + (X == null ? void 0 : X.arrowGap), (X == null ? void 0 : X.arrowGap) + P <= 100 && (X.x = P), X.y = re, (X == null ? void 0 : X.arrowGap) !== 0 && De < 100 ? P = P + (X == null ? void 0 : X.w) : P = 0, (De >= 100 || (X == null ? void 0 : X.arrowGap) === 0) && (De = 0, re = re + (X == null ? void 0 : X.h)), X));
|
|
1112
1112
|
}), ge = kl(() => {
|
|
@@ -1121,7 +1121,7 @@ const Do = /* @__PURE__ */ Ll(To, [["render", Eo], ["__scopeId", "data-v-ca3f1fb
|
|
|
1121
1121
|
return (L, R) => {
|
|
1122
1122
|
const P = le("el-dialog"), re = le("el-button"), De = le("el-header"), w = le("el-splitter-panel"), X = le("el-splitter"), F = le("el-container"), _e = le("el-tab-pane"), Ye = le("el-tabs"), ue = le("el-aside"), cl = le("router-view"), We = le("el-step"), Se = le("el-steps"), Il = le("el-main"), je = st("loading");
|
|
1123
1123
|
return p(), ee(ll, null, [
|
|
1124
|
-
ql(s(
|
|
1124
|
+
ql(s(vo, {
|
|
1125
1125
|
ref: "cropperDialogRef",
|
|
1126
1126
|
title: "更改头像",
|
|
1127
1127
|
avatarUrl: I.value,
|
|
@@ -1165,7 +1165,7 @@ const Do = /* @__PURE__ */ Ll(To, [["render", Eo], ["__scopeId", "data-v-ca3f1fb
|
|
|
1165
1165
|
O("div", No, [
|
|
1166
1166
|
s(re, {
|
|
1167
1167
|
id: "transparentBgButton",
|
|
1168
|
-
onClick: n(
|
|
1168
|
+
onClick: n(Yn)
|
|
1169
1169
|
}, {
|
|
1170
1170
|
icon: o(() => [
|
|
1171
1171
|
s(Sl, { name: "Back" })
|
|
@@ -1188,7 +1188,7 @@ const Do = /* @__PURE__ */ Ll(To, [["render", Eo], ["__scopeId", "data-v-ca3f1fb
|
|
|
1188
1188
|
id: "themeButton",
|
|
1189
1189
|
onClick: R[2] || (R[2] = (nl) => {
|
|
1190
1190
|
var wl, sl;
|
|
1191
|
-
return n(
|
|
1191
|
+
return n(Fn)((sl = (wl = n(el)) == null ? void 0 : wl.map((Le) => Le.value)) == null ? void 0 : sl.join("/"));
|
|
1192
1192
|
})
|
|
1193
1193
|
}, {
|
|
1194
1194
|
icon: o(() => [
|
|
@@ -1521,13 +1521,13 @@ const Do = /* @__PURE__ */ Ll(To, [["render", Eo], ["__scopeId", "data-v-ca3f1fb
|
|
|
1521
1521
|
((wl = n(Z)) == null ? void 0 : wl[((nl = n(Z)) == null ? void 0 : nl.length) - 1]) === n(i) || (sl = n(Z)) != null && sl.includes("updateLoading") || (Le = n(Z)) != null && Le.includes("loading") ? (p(), ee("div", Mi, [
|
|
1522
1522
|
s(sa, {
|
|
1523
1523
|
class: "calculator-content back-content",
|
|
1524
|
-
onClickTrigger: R[4] || (R[4] = (q) => n(
|
|
1524
|
+
onClickTrigger: R[4] || (R[4] = (q) => n(Ht)()),
|
|
1525
1525
|
modelValue: "返回"
|
|
1526
1526
|
}),
|
|
1527
1527
|
O("div", _i, [
|
|
1528
1528
|
s(Qo, {
|
|
1529
|
-
toolBar: n(
|
|
1530
|
-
onOnExtendTaskEnd: n(
|
|
1529
|
+
toolBar: n(Zs),
|
|
1530
|
+
onOnExtendTaskEnd: n(Gs)
|
|
1531
1531
|
}, null, 8, ["toolBar", "onOnExtendTaskEnd"])
|
|
1532
1532
|
])
|
|
1533
1533
|
])) : (p(), ee("div", Si, [
|
|
@@ -1554,7 +1554,7 @@ const Do = /* @__PURE__ */ Ll(To, [["render", Eo], ["__scopeId", "data-v-ca3f1fb
|
|
|
1554
1554
|
childItemData: q == null ? void 0 : q.itemChildData,
|
|
1555
1555
|
key: n(Ia),
|
|
1556
1556
|
onChange: n(ua),
|
|
1557
|
-
onClickStep: n(
|
|
1557
|
+
onClickStep: n(eo),
|
|
1558
1558
|
index: (q == null ? void 0 : q.id) ?? Ge,
|
|
1559
1559
|
config: {
|
|
1560
1560
|
showIndex: q == null ? void 0 : q.showIndex,
|
|
@@ -1568,7 +1568,7 @@ const Do = /* @__PURE__ */ Ll(To, [["render", Eo], ["__scopeId", "data-v-ca3f1fb
|
|
|
1568
1568
|
onRouteUrl: Ke,
|
|
1569
1569
|
parentTableId: q == null ? void 0 : q.tableId,
|
|
1570
1570
|
allMapContents: n(ka),
|
|
1571
|
-
onRadioChange: n(
|
|
1571
|
+
onRadioChange: n($s),
|
|
1572
1572
|
children: q == null ? void 0 : q.children,
|
|
1573
1573
|
level: 1,
|
|
1574
1574
|
onClickTrigger: n(wa),
|
|
@@ -1576,19 +1576,19 @@ const Do = /* @__PURE__ */ Ll(To, [["render", Eo], ["__scopeId", "data-v-ca3f1fb
|
|
|
1576
1576
|
}, null, 40, ["related", "compNames", "compName", "groupNames", "cacheNewData", "isDevMode", "itemData", "calculator", "childItemData", "onChange", "onClickStep", "index", "config", "onContentChange", "onPageChange", "onRowClick", "parentTableId", "allMapContents", "onRadioChange", "children", "onClickTrigger", "onClickMainKey"])) : Re("", !0)
|
|
1577
1577
|
], 6);
|
|
1578
1578
|
}), 128)) : Re("", !0),
|
|
1579
|
-
!n(Ca) && ge.value === "vertical" && ((He = n(mt)) == null ? void 0 : He.length) > 0 ? (p(), fe(n(
|
|
1579
|
+
!n(Ca) && ge.value === "vertical" && ((He = n(mt)) == null ? void 0 : He.length) > 0 ? (p(), fe(n(Cn), {
|
|
1580
1580
|
key: 1,
|
|
1581
1581
|
layout: ie.value,
|
|
1582
1582
|
"is-draggable": !1,
|
|
1583
1583
|
"is-resizable": !1,
|
|
1584
1584
|
"col-num": 24,
|
|
1585
1585
|
margin: [8, 16],
|
|
1586
|
-
"row-height": n(
|
|
1586
|
+
"row-height": n(lo)
|
|
1587
1587
|
}, {
|
|
1588
1588
|
default: o(() => [
|
|
1589
1589
|
(p(!0), ee(ll, null, dl(ie.value, (q, Ge) => {
|
|
1590
1590
|
var Yl, Gl;
|
|
1591
|
-
return p(), fe(n(
|
|
1591
|
+
return p(), fe(n(mn), {
|
|
1592
1592
|
key: q.i,
|
|
1593
1593
|
x: q.x,
|
|
1594
1594
|
y: q.y,
|
|
@@ -1647,14 +1647,14 @@ const Do = /* @__PURE__ */ Ll(To, [["render", Eo], ["__scopeId", "data-v-ca3f1fb
|
|
|
1647
1647
|
}), 128))
|
|
1648
1648
|
]),
|
|
1649
1649
|
_: 1
|
|
1650
|
-
}, 8, ["layout", "row-height"])) : !n(Ca) && ge.value === "vertical" && ((Rl = n(Z)) != null && Rl.includes("首页")) ? (p(), fe(n(
|
|
1650
|
+
}, 8, ["layout", "row-height"])) : !n(Ca) && ge.value === "vertical" && ((Rl = n(Z)) != null && Rl.includes("首页")) ? (p(), fe(n(Cn), {
|
|
1651
1651
|
key: 2,
|
|
1652
1652
|
layout: ke.value,
|
|
1653
1653
|
"is-draggable": !1,
|
|
1654
1654
|
"is-resizable": !1,
|
|
1655
1655
|
"col-num": 100,
|
|
1656
1656
|
margin: [8, 0],
|
|
1657
|
-
"row-height": n(
|
|
1657
|
+
"row-height": n(ao),
|
|
1658
1658
|
style: { padding: "8px 0" },
|
|
1659
1659
|
"vertical-compact": !1,
|
|
1660
1660
|
"prevent-collision": !0,
|
|
@@ -1663,7 +1663,7 @@ const Do = /* @__PURE__ */ Ll(To, [["render", Eo], ["__scopeId", "data-v-ca3f1fb
|
|
|
1663
1663
|
default: o(() => [
|
|
1664
1664
|
(p(!0), ee(ll, null, dl(ke.value, (q, Ge) => {
|
|
1665
1665
|
var Yl, Gl;
|
|
1666
|
-
return p(), fe(n(
|
|
1666
|
+
return p(), fe(n(mn), {
|
|
1667
1667
|
key: q.i,
|
|
1668
1668
|
x: q.x,
|
|
1669
1669
|
y: q.y,
|
|
@@ -1797,11 +1797,11 @@ const Do = /* @__PURE__ */ Ll(To, [["render", Eo], ["__scopeId", "data-v-ca3f1fb
|
|
|
1797
1797
|
class: "display-steps"
|
|
1798
1798
|
}, {
|
|
1799
1799
|
default: o(() => [
|
|
1800
|
-
(p(!0), ee(ll, null, dl(n(
|
|
1800
|
+
(p(!0), ee(ll, null, dl(n(to), (q, Ge) => (p(), fe(We, {
|
|
1801
1801
|
key: q == null ? void 0 : q.id,
|
|
1802
1802
|
class: "step-item",
|
|
1803
1803
|
status: q == null ? void 0 : q.status,
|
|
1804
|
-
onClick: (Yl) => n(
|
|
1804
|
+
onClick: (Yl) => n(no)(Ge)
|
|
1805
1805
|
}, {
|
|
1806
1806
|
title: o(() => [
|
|
1807
1807
|
ul(il(q == null ? void 0 : q.name), 1)
|
|
@@ -1868,7 +1868,7 @@ const Do = /* @__PURE__ */ Ll(To, [["render", Eo], ["__scopeId", "data-v-ca3f1fb
|
|
|
1868
1868
|
style: { height: "700px", width: "1000px" }
|
|
1869
1869
|
}, {
|
|
1870
1870
|
default: o(() => [
|
|
1871
|
-
s(
|
|
1871
|
+
s(ho, {
|
|
1872
1872
|
ref_key: "threeModelRef",
|
|
1873
1873
|
ref: Je
|
|
1874
1874
|
}, null, 512)
|
|
@@ -1886,8 +1886,8 @@ const Do = /* @__PURE__ */ Ll(To, [["render", Eo], ["__scopeId", "data-v-ca3f1fb
|
|
|
1886
1886
|
default: o(() => [
|
|
1887
1887
|
O("div", Qi, [
|
|
1888
1888
|
s(_s, {
|
|
1889
|
-
rowContents: n(
|
|
1890
|
-
onChange: n(
|
|
1889
|
+
rowContents: n(io),
|
|
1890
|
+
onChange: n(oo),
|
|
1891
1891
|
showOperator: !1,
|
|
1892
1892
|
isEnableWrap: !1
|
|
1893
1893
|
}, null, 8, ["rowContents", "onChange"])
|
|
@@ -1907,7 +1907,7 @@ const Do = /* @__PURE__ */ Ll(To, [["render", Eo], ["__scopeId", "data-v-ca3f1fb
|
|
|
1907
1907
|
}),
|
|
1908
1908
|
s(re, {
|
|
1909
1909
|
class: "ok-button",
|
|
1910
|
-
onClick: R[7] || (R[7] = (nl) => n(
|
|
1910
|
+
onClick: R[7] || (R[7] = (nl) => n(so)()),
|
|
1911
1911
|
id: "themeButton"
|
|
1912
1912
|
}, {
|
|
1913
1913
|
default: o(() => R[18] || (R[18] = [
|
|
@@ -2142,7 +2142,7 @@ const Do = /* @__PURE__ */ Ll(To, [["render", Eo], ["__scopeId", "data-v-ca3f1fb
|
|
|
2142
2142
|
},
|
|
2143
2143
|
emits: ["update:modelValue", "get", "clear"],
|
|
2144
2144
|
setup(l, { emit: y }) {
|
|
2145
|
-
const c = l, v = y, I = fn(() => import("./localIcon-D5UoFBU5.js")), U = fn(() => import("./eleIcon-
|
|
2145
|
+
const c = l, v = y, I = fn(() => import("./localIcon-D5UoFBU5.js")), U = fn(() => import("./eleIcon-C7Pz9jha.js")), _ = E(), V = Pl({
|
|
2146
2146
|
fontIconPrefix: "",
|
|
2147
2147
|
fontIconWidth: 0,
|
|
2148
2148
|
fontIconSearch: "",
|
|
@@ -2549,7 +2549,7 @@ function er(l = "menu") {
|
|
|
2549
2549
|
{ immediate: !0 }
|
|
2550
2550
|
);
|
|
2551
2551
|
const pl = async (r) => {
|
|
2552
|
-
await $e(), te.value = ce(
|
|
2552
|
+
await $e(), te.value = ce(Yt(r)), j.value;
|
|
2553
2553
|
};
|
|
2554
2554
|
vl(
|
|
2555
2555
|
() => x.value,
|
|
@@ -2991,7 +2991,7 @@ function rr(l = "menu") {
|
|
|
2991
2991
|
key: "filter",
|
|
2992
2992
|
contents: (_e = He == null ? void 0 : He.引用) == null ? void 0 : _e.contents
|
|
2993
2993
|
}
|
|
2994
|
-
], Hl = await
|
|
2994
|
+
], Hl = await ro(Jl, { originPath: j.value }), Ul = Hl == null ? void 0 : Hl.find((yl) => (yl == null ? void 0 : yl.key) === "header");
|
|
2995
2995
|
wl.set(ye == null ? void 0 : ye.object_id, {
|
|
2996
2996
|
groupId: ye == null ? void 0 : ye.object_id,
|
|
2997
2997
|
groupName: ye == null ? void 0 : ye.property_name,
|
|
@@ -3019,8 +3019,8 @@ function rr(l = "menu") {
|
|
|
3019
3019
|
let Fe = [];
|
|
3020
3020
|
for (const [ye, He] of wl.entries())
|
|
3021
3021
|
Fe.push(He);
|
|
3022
|
-
const Ve =
|
|
3023
|
-
N.value =
|
|
3022
|
+
const Ve = zn(Fe, "groupId", "namePath", "groupName");
|
|
3023
|
+
N.value = po(Ve, "columns"), c("getPageStructure", wl), c("getGroupOptions", N.value);
|
|
3024
3024
|
}
|
|
3025
3025
|
} catch (nl) {
|
|
3026
3026
|
throw new Error(nl);
|
|
@@ -3062,7 +3062,7 @@ function rr(l = "menu") {
|
|
|
3062
3062
|
title: "菜单配置",
|
|
3063
3063
|
width: "30%",
|
|
3064
3064
|
type: "create"
|
|
3065
|
-
}), Cl = (S) =>
|
|
3065
|
+
}), Cl = (S) => Jn(S), Je = E({}), ml = E([]), ve = E({}), g = E({}), Ue = E({}), be = (S) => {
|
|
3066
3066
|
I.setCacheInputMenu({
|
|
3067
3067
|
type: pl.type,
|
|
3068
3068
|
data: S
|
|
@@ -5757,7 +5757,7 @@ const ss = (l, y = 0) => {
|
|
|
5757
5757
|
if ((d = Object.keys(t)) == null || d.forEach((Y) => {
|
|
5758
5758
|
Y in e && (e[Y] = t[Y]);
|
|
5759
5759
|
}), !(e != null && e.id)) return Ml.error("获取节点信息出错了");
|
|
5760
|
-
const m =
|
|
5760
|
+
const m = fo(h.value, e == null ? void 0 : e.id, "groupId");
|
|
5761
5761
|
e.pid = (m == null ? void 0 : m.groupId) || (e == null ? void 0 : e.menuId) || "", te();
|
|
5762
5762
|
}
|
|
5763
5763
|
}, K = E(!1), te = async () => {
|
|
@@ -6064,7 +6064,7 @@ const ss = (l, y = 0) => {
|
|
|
6064
6064
|
...he
|
|
6065
6065
|
}];
|
|
6066
6066
|
}
|
|
6067
|
-
const Ke = [...Pe == null ? void 0 : Pe.hiddenColumns, ...
|
|
6067
|
+
const Ke = [...Pe == null ? void 0 : Pe.hiddenColumns, ...kn(J, Bn)], Xe = {
|
|
6068
6068
|
platId: Number(sessionStorage.getItem("systemKey")),
|
|
6069
6069
|
objectId: i.groupId,
|
|
6070
6070
|
key: i == null ? void 0 : i.groupType,
|
|
@@ -6079,7 +6079,7 @@ const ss = (l, y = 0) => {
|
|
|
6079
6079
|
(oe = Object.keys(i)) == null || oe.forEach((Oe) => {
|
|
6080
6080
|
Oe in ae && (ae[Oe] = i[Oe], ae.formType = i == null ? void 0 : i.compType, ae.value = i == null ? void 0 : i.defaultValue, ae.prop = i == null ? void 0 : i.id, ae.disabled = (i == null ? void 0 : i.view) === "Read", ae.mainKey = i == null ? void 0 : i.mainKey, ae.options = i != null && i.defaultValue ? i == null ? void 0 : i.options : [], ae.groups = he == null ? void 0 : he.groups, ae.menus = he == null ? void 0 : he.menus, ae.words = he == null ? void 0 : he.words);
|
|
6081
6081
|
});
|
|
6082
|
-
const J = [...Pe == null ? void 0 : Pe.hiddenColumns, ...
|
|
6082
|
+
const J = [...Pe == null ? void 0 : Pe.hiddenColumns, ...kn(Pe == null ? void 0 : Pe.data, Bn)], Ke = {
|
|
6083
6083
|
platId: Number(sessionStorage.getItem("systemKey")),
|
|
6084
6084
|
objectId: i.groupId,
|
|
6085
6085
|
key: i == null ? void 0 : i.groupType,
|
|
@@ -6264,7 +6264,7 @@ const ss = (l, y = 0) => {
|
|
|
6264
6264
|
quoteWays: b == null ? void 0 : b.quoteWays,
|
|
6265
6265
|
configInfo: b == null ? void 0 : b.configInfo
|
|
6266
6266
|
});
|
|
6267
|
-
a.value = (we =
|
|
6267
|
+
a.value = (we = zn(d)) == null ? void 0 : we.sort((oe, b) => {
|
|
6268
6268
|
var Ie, Pe, he;
|
|
6269
6269
|
return (Ie = oe == null ? void 0 : oe.children) != null && Ie.length && (oe.order_no = (he = (Pe = oe == null ? void 0 : oe.children) == null ? void 0 : Pe[0]) == null ? void 0 : he.order_no), (oe == null ? void 0 : oe.order_no) - (b == null ? void 0 : b.order_no);
|
|
6270
6270
|
}), pe.value = (me = (rl = (Ne = d == null ? void 0 : d[0]) == null ? void 0 : Ne.data) == null ? void 0 : rl[0]) == null ? void 0 : me.groupType;
|
|
@@ -6812,7 +6812,7 @@ function is(l = "menu") {
|
|
|
6812
6812
|
title: "菜单配置",
|
|
6813
6813
|
width: "30%",
|
|
6814
6814
|
type: "create"
|
|
6815
|
-
}), Te = (a) =>
|
|
6815
|
+
}), Te = (a) => Jn(a), Ae = E({}), xe = E([]), $e = E({}), el = E({}), pl = (a) => {
|
|
6816
6816
|
switch (a) {
|
|
6817
6817
|
case "复制新增":
|
|
6818
6818
|
return "create";
|
|
@@ -7206,7 +7206,7 @@ function rs(l = "menu") {
|
|
|
7206
7206
|
if (C.value = Ba(), a) {
|
|
7207
7207
|
se.value && (v.setActiveTopMenuPath(""), v.setActiveMenuPath(""), v.setAsideMenus([]));
|
|
7208
7208
|
const f = a;
|
|
7209
|
-
A.value = ce(
|
|
7209
|
+
A.value = ce(Yt(f));
|
|
7210
7210
|
}
|
|
7211
7211
|
},
|
|
7212
7212
|
{
|
|
@@ -7349,7 +7349,7 @@ const _c = /* @__PURE__ */ Ll(kc, [["render", Mc], ["__scopeId", "data-v-94d06d5
|
|
|
7349
7349
|
}).length
|
|
7350
7350
|
);
|
|
7351
7351
|
kl(() => U.value > 99 ? "99+" : U.value);
|
|
7352
|
-
const _ = Wt(bl), { originalPath: V } = gl(_), x = V.value, D = Ea(bl), { selectTitle: Z } = gl(D), e = E(!1), j = E(null), T = E(), B = E(!1), u =
|
|
7352
|
+
const _ = Wt(bl), { originalPath: V } = gl(_), x = V.value, D = Ea(bl), { selectTitle: Z } = gl(D), e = E(!1), j = E(null), T = E(), B = E(!1), u = Hn(bl), { blobUrls: se } = gl(u), K = E(!1), te = E(!1), A = E(!1), C = E([]), i = E(!1), Be = E(null), de = E([]), N = E(!1), ce = (z) => {
|
|
7353
7353
|
const ne = (z == null ? void 0 : z.menuFilter) || [];
|
|
7354
7354
|
return Array.isArray(ne) && (ne == null ? void 0 : ne.some((L) => {
|
|
7355
7355
|
const R = typeof L == "string" ? L : JSON.stringify(L);
|
|
@@ -7668,7 +7668,7 @@ const _c = /* @__PURE__ */ Ll(kc, [["render", Mc], ["__scopeId", "data-v-94d06d5
|
|
|
7668
7668
|
O("div", Sc, [
|
|
7669
7669
|
s(R, {
|
|
7670
7670
|
id: "transparentBgButton",
|
|
7671
|
-
onClick: n(
|
|
7671
|
+
onClick: n(Yn)
|
|
7672
7672
|
}, {
|
|
7673
7673
|
default: o(() => ne[5] || (ne[5] = [
|
|
7674
7674
|
ul(" 返回页面 ")
|
|
@@ -7680,7 +7680,7 @@ const _c = /* @__PURE__ */ Ll(kc, [["render", Mc], ["__scopeId", "data-v-94d06d5
|
|
|
7680
7680
|
id: "transparentBgButton",
|
|
7681
7681
|
onClick: ne[2] || (ne[2] = (F) => {
|
|
7682
7682
|
var _e, Ye;
|
|
7683
|
-
return n(
|
|
7683
|
+
return n(Fn)((Ye = (_e = n(Z)) == null ? void 0 : _e.map((ue) => ue.value)) == null ? void 0 : Ye.join("/"));
|
|
7684
7684
|
})
|
|
7685
7685
|
}, {
|
|
7686
7686
|
icon: o(() => [
|
|
@@ -7767,7 +7767,7 @@ const _c = /* @__PURE__ */ Ll(kc, [["render", Mc], ["__scopeId", "data-v-94d06d5
|
|
|
7767
7767
|
class: "top-icon",
|
|
7768
7768
|
title: "界面修改",
|
|
7769
7769
|
onClick: ne[3] || (ne[3] = //@ts-ignore
|
|
7770
|
-
(...F) => n(
|
|
7770
|
+
(...F) => n(wn) && n(wn)(...F))
|
|
7771
7771
|
}, [
|
|
7772
7772
|
s(Sl, {
|
|
7773
7773
|
name: "界面修改",
|
|
@@ -7859,7 +7859,7 @@ const _c = /* @__PURE__ */ Ll(kc, [["render", Mc], ["__scopeId", "data-v-94d06d5
|
|
|
7859
7859
|
((_e = n(g)) == null ? void 0 : _e[((F = n(g)) == null ? void 0 : F.length) - 1]) === n(x) || (Ye = n(g)) != null && Ye.includes("updateLoading") || (ue = n(g)) != null && ue.includes("loading") ? (p(), ee("div", Uc, [
|
|
7860
7860
|
s(sa, {
|
|
7861
7861
|
class: "calculator-content back-content",
|
|
7862
|
-
onClickTrigger: ne[4] || (ne[4] = (Se) => n(
|
|
7862
|
+
onClickTrigger: ne[4] || (ne[4] = (Se) => n(Ht)()),
|
|
7863
7863
|
modelValue: "返回"
|
|
7864
7864
|
})
|
|
7865
7865
|
])) : Re("", !0),
|
|
@@ -8263,14 +8263,14 @@ const cs = (l, y, c, v) => {
|
|
|
8263
8263
|
} else
|
|
8264
8264
|
return [];
|
|
8265
8265
|
}, Xc = async (l, y) => {
|
|
8266
|
-
let c = [], v =
|
|
8266
|
+
let c = [], v = co(l), I = /* @__PURE__ */ new Map();
|
|
8267
8267
|
v == null || v.forEach((x) => {
|
|
8268
8268
|
I != null && I.has(x.path) || I.set(x.path, x);
|
|
8269
8269
|
}), v = [...I.values()], c.push({
|
|
8270
8270
|
key: "menuPath",
|
|
8271
8271
|
contents: [...v, ...Fc]
|
|
8272
8272
|
});
|
|
8273
|
-
let U = l.map(async (x) => await
|
|
8273
|
+
let U = l.map(async (x) => await uo(x, Al(v)));
|
|
8274
8274
|
U = await Promise.all(U);
|
|
8275
8275
|
let _ = /* @__PURE__ */ new Map();
|
|
8276
8276
|
U == null || U.forEach((x) => {
|
|
@@ -9441,7 +9441,7 @@ const uu = (l) => {
|
|
|
9441
9441
|
}, be = async () => {
|
|
9442
9442
|
await j(Ce.value);
|
|
9443
9443
|
}, Ee = async (ae) => {
|
|
9444
|
-
V(ae), _(ae), C(),
|
|
9444
|
+
V(ae), _(ae), C(), Ht();
|
|
9445
9445
|
}, al = async (ae) => {
|
|
9446
9446
|
const J = await Ne({
|
|
9447
9447
|
isPlat: !1,
|
|
@@ -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 { W as B } from "./index-
|
|
2
|
+
import { S as x } from "./index-KxgyPOIl.js";
|
|
3
|
+
import { W as B } from "./index-OTLbQ7Xz.js";
|
|
4
4
|
import { s as F } from "./index-11kpzK0A.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-DlPAF7pq.js";
|
|
6
|
+
import { u as S, p as I, s as N } from "./index-DqXvOyIs.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,8 +1,8 @@
|
|
|
1
1
|
import { watch as be, ref as w, computed as we } from "vue";
|
|
2
|
-
import { p as E, k as B, w as Le } from "./index-
|
|
3
|
-
import { s as Te, b as
|
|
4
|
-
import { s as z } from "./request-
|
|
5
|
-
const qe = C
|
|
2
|
+
import { p as E, k as B, w as Le } from "./index-DB1HWx1W.js";
|
|
3
|
+
import { s as Te, b as V, p as C, u as Re, r as De, c as A, C as N, E as Ee, j as Be, aT as Ae, aU as Pe, aV as Ue, aW as xe, aX as Se, aY as ke } from "./index-DqXvOyIs.js";
|
|
4
|
+
import { s as z } from "./request-B1c8BUkR.js";
|
|
5
|
+
const qe = V(C), { systemUrl: f } = Te(qe);
|
|
6
6
|
let P = f.value === "" || !f.value ? "http://222.92.178.198:63002" : f.value;
|
|
7
7
|
be(
|
|
8
8
|
() => f.value,
|
|
@@ -26,18 +26,18 @@ function Fe(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 i = s.match(/filename=["']?([^"';]+)["']?/);
|
|
34
34
|
return i ? i[1] : "download.xlsx";
|
|
35
35
|
}
|
|
36
|
-
const
|
|
36
|
+
const Ce = (s) => {
|
|
37
37
|
var I, g;
|
|
38
|
-
const r = ((I = s == null ? void 0 : s.headers) == null ? void 0 : I["content-type"]) || "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", i = new Blob([s.data], { type: r }), L = (g = s == null ? void 0 : s.headers) == null ? void 0 : g["content-disposition"], h =
|
|
38
|
+
const r = ((I = s == null ? void 0 : s.headers) == null ? void 0 : I["content-type"]) || "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", i = new Blob([s.data], { type: r }), L = (g = s == null ? void 0 : s.headers) == null ? void 0 : g["content-disposition"], h = Ve(L) || "数据.xlsx", c = window.URL.createObjectURL(i), u = document.createElement("a");
|
|
39
39
|
u.href = c, u.setAttribute("download", h), document.body.appendChild(u), u.click(), document.body.removeChild(u), window.URL.revokeObjectURL(c);
|
|
40
|
-
},
|
|
40
|
+
}, We = [
|
|
41
41
|
{
|
|
42
42
|
label: "编辑",
|
|
43
43
|
value: "edit"
|
|
@@ -72,14 +72,14 @@ const Ve = (s) => {
|
|
|
72
72
|
TABLE: {
|
|
73
73
|
value: "Table"
|
|
74
74
|
}
|
|
75
|
-
}, Oe = ["查看", "查看三维模型", "导出paraform", "导出", "导出全部", "导出选中"],
|
|
76
|
-
const s =
|
|
75
|
+
}, Oe = ["查看", "查看三维模型", "导出paraform", "导出", "导出全部", "导出选中"], Ke = () => {
|
|
76
|
+
const s = V(), r = Re(C), { isSuperAdmin: i, userId: L, userName: h, platId: c } = De(), u = w([]), I = (t) => {
|
|
77
77
|
const { propertyType: e } = t || {};
|
|
78
78
|
return e === ze.TABLE.value;
|
|
79
79
|
}, g = w({}), O = we(() => {
|
|
80
80
|
var e;
|
|
81
81
|
return i.value ? !0 : ((e = g.value) == null ? void 0 : e.status) === d.EDITABLE.value;
|
|
82
|
-
}),
|
|
82
|
+
}), G = (t) => {
|
|
83
83
|
var o, l;
|
|
84
84
|
const e = N(Date.now()), { id: a = 0 } = s.loginUserInfo || {}, n = A(t);
|
|
85
85
|
return n.update_user_id = a, n.update_user_name = h.value, n.update_time = e, n.checked_ids = ((l = (o = n == null ? void 0 : n.main_ids) == null ? void 0 : o.map) == null ? void 0 : l.call(o, (p) => {
|
|
@@ -103,7 +103,7 @@ const Ve = (s) => {
|
|
|
103
103
|
delete n.children, e.push(n), o && o.length > 0 && (e = e.concat(x(o)));
|
|
104
104
|
}
|
|
105
105
|
return e;
|
|
106
|
-
},
|
|
106
|
+
}, M = (t) => {
|
|
107
107
|
let e = [];
|
|
108
108
|
return t.forEach((a) => {
|
|
109
109
|
if (a.isPropertyLeaf) {
|
|
@@ -137,10 +137,10 @@ const Ve = (s) => {
|
|
|
137
137
|
...D,
|
|
138
138
|
department_scope: "unlimited"
|
|
139
139
|
}));
|
|
140
|
-
l.main_ids = Ie, l.checked_ids = v.map((D) => D.id), l.params =
|
|
140
|
+
l.main_ids = Ie, l.checked_ids = v.map((D) => D.id), l.params = M(v);
|
|
141
141
|
}
|
|
142
142
|
if (t) {
|
|
143
|
-
const v =
|
|
143
|
+
const v = G(t);
|
|
144
144
|
l = {
|
|
145
145
|
...l,
|
|
146
146
|
...v
|
|
@@ -153,12 +153,12 @@ const Ve = (s) => {
|
|
|
153
153
|
platId: c.value,
|
|
154
154
|
changeRoleData: e
|
|
155
155
|
};
|
|
156
|
-
},
|
|
156
|
+
}, $ = async (t) => await Se({
|
|
157
157
|
platId: t
|
|
158
|
-
}),
|
|
158
|
+
}), j = async () => {
|
|
159
159
|
var e;
|
|
160
160
|
r.setImportLoading(!0);
|
|
161
|
-
const t = await
|
|
161
|
+
const t = await $(c.value).finally(() => {
|
|
162
162
|
r.setImportLoading(!1);
|
|
163
163
|
});
|
|
164
164
|
return (e = t == null ? void 0 : t.data) == null ? void 0 : e.result;
|
|
@@ -173,28 +173,28 @@ const Ve = (s) => {
|
|
|
173
173
|
pageSizes: [5, 10, 20, 50, 100]
|
|
174
174
|
}), Q = (t) => {
|
|
175
175
|
y.value.pageNum = t;
|
|
176
|
-
},
|
|
176
|
+
}, W = (t) => {
|
|
177
177
|
y.value.pageSize = t;
|
|
178
|
-
},
|
|
178
|
+
}, K = () => ({
|
|
179
179
|
platId: c.value,
|
|
180
180
|
pageNum: y.value.pageNum,
|
|
181
181
|
pageSize: y.value.pageSize,
|
|
182
182
|
filter: {
|
|
183
183
|
...b.value
|
|
184
184
|
}
|
|
185
|
-
}),
|
|
185
|
+
}), X = async (t) => {
|
|
186
186
|
var a;
|
|
187
187
|
const e = await ke(t);
|
|
188
188
|
return (a = e == null ? void 0 : e.data) == null ? void 0 : a.result;
|
|
189
|
-
},
|
|
190
|
-
const t =
|
|
189
|
+
}, Y = async () => {
|
|
190
|
+
const t = K(), e = await X(t), { total: a } = e || {};
|
|
191
191
|
return y.value.total = a, e || {};
|
|
192
|
-
},
|
|
192
|
+
}, J = async (t) => {
|
|
193
193
|
delete t.role_id;
|
|
194
194
|
const e = T(t);
|
|
195
195
|
await xe(e);
|
|
196
196
|
}, Z = async (t) => {
|
|
197
|
-
r.setImportLoading(!0), await
|
|
197
|
+
r.setImportLoading(!0), await J(t).finally(() => {
|
|
198
198
|
r.setImportLoading(!1);
|
|
199
199
|
});
|
|
200
200
|
}, ee = async (t) => {
|
|
@@ -295,7 +295,7 @@ const Ve = (s) => {
|
|
|
295
295
|
tableType: F,
|
|
296
296
|
filter: b.value
|
|
297
297
|
}, e = await he(t);
|
|
298
|
-
return
|
|
298
|
+
return Ce(e), e;
|
|
299
299
|
}, ve = [["名称", "编码", "备注", "状态"]];
|
|
300
300
|
return {
|
|
301
301
|
compType: E,
|
|
@@ -304,9 +304,9 @@ const Ve = (s) => {
|
|
|
304
304
|
resetQuery: H,
|
|
305
305
|
pageInfo: y,
|
|
306
306
|
setPageNum: Q,
|
|
307
|
-
setPageSize:
|
|
308
|
-
initGetByPage:
|
|
309
|
-
initRoleList:
|
|
307
|
+
setPageSize: W,
|
|
308
|
+
initGetByPage: Y,
|
|
309
|
+
initRoleList: j,
|
|
310
310
|
initCreate: Z,
|
|
311
311
|
initUpdate: te,
|
|
312
312
|
initDelete: ne,
|
|
@@ -335,8 +335,8 @@ export {
|
|
|
335
335
|
Ne as a,
|
|
336
336
|
Fe as e,
|
|
337
337
|
d as f,
|
|
338
|
-
|
|
339
|
-
|
|
338
|
+
Ce as i,
|
|
339
|
+
We as o,
|
|
340
340
|
m as s,
|
|
341
|
-
|
|
341
|
+
Ke as u
|
|
342
342
|
};
|