ss-component-new 1.1.501 → 1.1.502
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-JGE4RSk8.cjs → array-CF_XfISd.cjs} +1 -1
- package/dist/{array-QCH56pCW.js → array-CPNYdzD7.js} +1 -1
- package/dist/{index-drc9T3wI.js → index--dwrvWPb.js} +7 -7
- package/dist/{index-BCaLjIrh.cjs → index-1GjovX1v.cjs} +1 -1
- package/dist/{index-DzzzS6Zg.js → index-6aw163ZT.js} +4 -4
- package/dist/{index-BVVzI-Vz.cjs → index-8N7uCCvy.cjs} +1 -1
- package/dist/{index-Bama3ESS.cjs → index-AIUiEbwb.cjs} +1 -1
- package/dist/index-B4YLoGDZ.cjs +1 -0
- package/dist/{index-rUyKg6xA.cjs → index-B6z-IxUp.cjs} +1 -1
- package/dist/{index-BBrvfOVu.cjs → index-B7Ku6s5R.cjs} +1 -1
- package/dist/{index-D4gbYfhH.js → index-BBFGTF00.js} +1 -1
- package/dist/{index-NCZdARhs.cjs → index-BBdzqfex.cjs} +1 -1
- package/dist/{index-C4VtU-xj.cjs → index-BJfUtIF6.cjs} +1 -1
- package/dist/{index-CTpkOUJV.js → index-BMo5HHjt.js} +5 -5
- package/dist/{index-ecKC2nR8.js → index-BNgeEKrO.js} +68 -68
- package/dist/{index-Dsc7b7Ds.js → index-BQq3bpEi.js} +5 -5
- package/dist/{index-BjiDhi2U.js → index-BR6C5l3D.js} +1 -1
- package/dist/{index-Gcny8ECH.js → index-BTNJUcpo.js} +5 -5
- package/dist/{index-DegowlDc.cjs → index-BVkO3xIA.cjs} +1 -1
- package/dist/{index-DldbD5bE.js → index-Bd9g785i.js} +4 -4
- package/dist/{index-DzIjZvtZ.js → index-BmTXTKII.js} +6 -6
- package/dist/{index-CfyrOLYw.cjs → index-BpW2ARIw.cjs} +1 -1
- package/dist/{index-Bjvrt0oC.cjs → index-Bv-wqMd4.cjs} +1 -1
- package/dist/{index-B2Dwmyeu.cjs → index-By05chUe.cjs} +1 -1
- package/dist/{index-BsoKkJln.cjs → index-ByS0pbi9.cjs} +1 -1
- package/dist/{index-COMMTnhc.js → index-C9Oq3H-G.js} +3484 -3457
- package/dist/{index-xbHa5o-T.cjs → index-CAYf-XPA.cjs} +1 -1
- package/dist/{index-BmhTKbPp.js → index-CIZSkG01.js} +4 -4
- package/dist/{index-DBQipWml.cjs → index-CIzEDVme.cjs} +1 -1
- package/dist/{index-BGRlGPy9.js → index-CTExxvOw.js} +4 -4
- package/dist/{index-D8TP53vQ.cjs → index-CU0Oaw7b.cjs} +1 -1
- package/dist/{index-Dqmpbhfe.cjs → index-CUUwFKGA.cjs} +1 -1
- package/dist/{index-XrMiIxl4.cjs → index-CVejy2UR.cjs} +1 -1
- package/dist/{index-cKls2_Vv.js → index-CXJb8xLW.js} +1 -1
- package/dist/{index-B2WgzPs7.js → index-CbKz2-Ky.js} +7 -7
- package/dist/{index-Cfk6pzMO.cjs → index-CdabLFGy.cjs} +13 -13
- package/dist/{index-DWdkYZjg.js → index-Cxef8dZf.js} +6 -6
- package/dist/{index-53pkv6FU.cjs → index-DGUv5hED.cjs} +1 -1
- package/dist/{index-CzcoZetA.js → index-DRdwtjCA.js} +1 -1
- package/dist/{index-BUEM3siI.js → index-DSW2Mr7b.js} +3 -3
- package/dist/{index-DZl7qnKq.cjs → index-DV-IKKp2.cjs} +1 -1
- package/dist/{index-paPTAkp5.cjs → index-DV7ZVCXq.cjs} +1 -1
- package/dist/{index-DnDobHKl.js → index-DfAc3hns.js} +3 -3
- package/dist/{index-CbeSEJ67.js → index-DrQkX4ZE.js} +3 -3
- package/dist/{index-BTpQC71i.js → index-Dyxo5n0q.js} +9 -9
- package/dist/{index-DOUBefWm.js → index-RFxUujjQ.js} +9 -9
- package/dist/{index-Bp8BUoZJ.cjs → index-S2DIXQYV.cjs} +1 -1
- package/dist/{index-0eFMjm2t.js → index-TG4p1pOs.js} +2 -2
- package/dist/{index-YYT2uSbG.cjs → index-aHu7iVWG.cjs} +1 -1
- package/dist/{index-D2_VRB6o.js → index-clNQ-bJU.js} +4 -4
- package/dist/index-diWA3Iv3.cjs +1 -0
- package/dist/{index-CdQbL0_C.cjs → index-gesndcE9.cjs} +1 -1
- package/dist/{index-CyvgDA-G.js → index-hovlSozd.js} +6 -6
- package/dist/index-pZ8mIeBn.js +1488 -0
- package/dist/{index.vue_vue_type_script_setup_true_lang-BVXEPTRt.cjs → index.vue_vue_type_script_setup_true_lang-Cevcn0Bk.cjs} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-B_VLW1tr.js → index.vue_vue_type_script_setup_true_lang-Dbo4ap0q.js} +3 -3
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-Cf7FdIui.js → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-5oFYiO8I.js} +2 -2
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BmKPYErp.cjs → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-B7OTW91g.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_ed9fe0f5_lang-D6JkBrUD.cjs → index.vue_vue_type_style_index_0_scoped_ed9fe0f5_lang--y7lyLmG.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_ed9fe0f5_lang-CicQNMmJ.js → index.vue_vue_type_style_index_0_scoped_ed9fe0f5_lang-BdnrSVHw.js} +16 -16
- package/dist/{index.vue_vue_type_style_index_0_scoped_f69cf49c_lang-CANrDZWd.js → index.vue_vue_type_style_index_0_scoped_f69cf49c_lang-Bspoptvn.js} +15 -15
- package/dist/{index.vue_vue_type_style_index_0_scoped_f69cf49c_lang-TT3rn0X0.cjs → index.vue_vue_type_style_index_0_scoped_f69cf49c_lang-C07dzPDN.cjs} +1 -1
- package/dist/{login-DVYqR8Ky.cjs → login-CVYPBO1o.cjs} +1 -1
- package/dist/{login-J9T9ReFO.js → login-eM3l7P-d.js} +1 -1
- package/dist/{main-BA3nr3XH.cjs → main-BV7sRLRk.cjs} +1 -1
- package/dist/{main-SGGJxnYu.js → main-LxIRPMFd.js} +6 -6
- package/dist/{menu-Q3pWjAeA.cjs → menu-Bh3uINuX.cjs} +1 -1
- package/dist/{menu-Bhsx7QXx.js → menu-Bs376m_d.js} +1 -1
- package/dist/ss-component.cjs +1 -1
- package/dist/ss-component.css +2 -2
- package/dist/ss-component.js +10 -10
- package/dist/ss-component3.cjs +1 -1
- package/dist/ss-component3.js +1 -1
- package/dist/{threeModel-DXJAQkA4.js → threeModel-CsdgHC7W.js} +1 -1
- package/dist/{threeModel-B_86hyow.cjs → threeModel-nKshZ3OG.cjs} +1 -1
- package/dist/{threeModel.vue_vue_type_style_index_0_scoped_3e87dec6_lang-h98meEIO.js → threeModel.vue_vue_type_style_index_0_scoped_3e87dec6_lang-CGHDP1sW.js} +2 -2
- package/dist/{threeModel.vue_vue_type_style_index_0_scoped_3e87dec6_lang-CBrSeAmm.cjs → threeModel.vue_vue_type_style_index_0_scoped_3e87dec6_lang-CRj2nv3K.cjs} +1 -1
- package/package.json +1 -1
- package/dist/index-BDF-mVFQ.cjs +0 -1
- package/dist/index-CScTsa_o.cjs +0 -1
- package/dist/index-nTWXPdH3.js +0 -1445
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { resolveComponent as
|
|
2
|
-
import { m as Pe, a as Me, b as xe } from "./index
|
|
3
|
-
import He from "./index-
|
|
4
|
-
import { _ as _t, o as Je, c as We, a as Qe, b as Ye, d as Ze, s as Z, g as et, e as tt, f as at, h as ot, i as vt, j as gt } from "./index.vue_vue_type_style_index_0_scoped_f69cf49c_lang-
|
|
1
|
+
import { resolveComponent as y, createBlock as b, openBlock as s, withCtx as o, createVNode as e, createElementVNode as h, toDisplayString as ee, ref as d, onMounted as ht, watch as I, createElementBlock as A, Fragment as ye, renderList as $e, createCommentVNode as V, normalizeStyle as ft, defineComponent as Ge, computed as Be, resolveDirective as Xe, withDirectives as ke, unref as t, createTextVNode as L, renderSlot as _e, vShow as Fe, resolveDynamicComponent as qe } from "vue";
|
|
2
|
+
import { m as Pe, a as Me, b as xe } from "./index--dwrvWPb.js";
|
|
3
|
+
import He from "./index-CXJb8xLW.js";
|
|
4
|
+
import { _ as _t, o as Je, c as We, a as Qe, b as Ye, d as Ze, s as Z, g as et, e as tt, f as at, h as ot, i as vt, j as gt } from "./index.vue_vue_type_style_index_0_scoped_f69cf49c_lang-Bspoptvn.js";
|
|
5
5
|
import { _ as ve } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
|
-
import { p as X, s as G, u as be, b as ge, g as yt } from "./menu-
|
|
7
|
-
import { u as nt } from "./login-
|
|
6
|
+
import { p as X, s as G, u as be, b as ge, g as yt } from "./menu-Bs376m_d.js";
|
|
7
|
+
import { u as nt } from "./login-eM3l7P-d.js";
|
|
8
8
|
import { S as fe } from "./index-BHtNKL1L.js";
|
|
9
|
-
import { u as Te } from "./threeModel.vue_vue_type_style_index_0_scoped_3e87dec6_lang-
|
|
10
|
-
import { u as De, a as Ct, l as lt } from "./index-
|
|
11
|
-
import { s as st } from "./index-
|
|
12
|
-
import { s as it, _ as wt } from "./index-
|
|
13
|
-
import { _ as rt } from "./index.vue_vue_type_script_setup_true_lang-
|
|
14
|
-
import { c as Re } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
15
|
-
import Bt from "./threeModel-
|
|
16
|
-
import { u as kt } from "./index-
|
|
17
|
-
import { d as Ke } from "./index-
|
|
18
|
-
import { a as Ft } from "./array-
|
|
19
|
-
import { c as Rt, b as bt } from "./index.vue_vue_type_style_index_0_scoped_ed9fe0f5_lang-
|
|
9
|
+
import { u as Te } from "./threeModel.vue_vue_type_style_index_0_scoped_3e87dec6_lang-CGHDP1sW.js";
|
|
10
|
+
import { u as De, a as Ct, l as lt } from "./index-pZ8mIeBn.js";
|
|
11
|
+
import { s as st } from "./index-RFxUujjQ.js";
|
|
12
|
+
import { s as it, _ as wt } from "./index-C9Oq3H-G.js";
|
|
13
|
+
import { _ as rt } from "./index.vue_vue_type_script_setup_true_lang-Dbo4ap0q.js";
|
|
14
|
+
import { c as Re } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-5oFYiO8I.js";
|
|
15
|
+
import Bt from "./threeModel-CsdgHC7W.js";
|
|
16
|
+
import { u as kt } from "./index-CbKz2-Ky.js";
|
|
17
|
+
import { d as Ke } from "./index-BBFGTF00.js";
|
|
18
|
+
import { a as Ft } from "./array-CPNYdzD7.js";
|
|
19
|
+
import { c as Rt, b as bt } from "./index.vue_vue_type_style_index_0_scoped_ed9fe0f5_lang-BdnrSVHw.js";
|
|
20
20
|
function Tt(B, J, a, k, S, U) {
|
|
21
|
-
const n =
|
|
21
|
+
const n = y("svg-icon"), M = y("ssMenu");
|
|
22
22
|
return s(), b(M, {
|
|
23
23
|
mode: B.mode,
|
|
24
24
|
menuList: B.renderMenuList,
|
|
@@ -96,13 +96,13 @@ const ut = /* @__PURE__ */ ve(_t, [["render", Tt], ["__scopeId", "data-v-5c2d7ed
|
|
|
96
96
|
}
|
|
97
97
|
},
|
|
98
98
|
setup(B) {
|
|
99
|
-
const J = De(X), { selectTitle: a } = G(J), k = nt(), { loginUserInfo: S } = G(k), U = Te(X), { isEdit: n, routeToChildPath: M } = G(U), T = be(X), { importLoading: D, activeTopMenuPath: j } = G(T), oe = d(""),
|
|
99
|
+
const J = De(X), { selectTitle: a } = G(J), k = nt(), { loginUserInfo: S } = G(k), U = Te(X), { isEdit: n, routeToChildPath: M } = G(U), T = be(X), { importLoading: D, activeTopMenuPath: j } = G(T), oe = d(""), C = Be(() => j.value === "系统管理" || j.value === "平台管理"), O = () => {
|
|
100
100
|
sessionStorage.clear(), window.location.reload();
|
|
101
101
|
}, q = () => {
|
|
102
102
|
T.setActiveMenuPath(M.value), U.setRouteToChildPath("");
|
|
103
103
|
};
|
|
104
104
|
return (N, u) => {
|
|
105
|
-
const $ =
|
|
105
|
+
const $ = y("el-button"), W = y("el-avatar"), ce = y("el-header"), z = y("el-container"), de = y("el-icon"), me = y("el-input"), ie = y("ss-button"), pe = y("el-aside"), f = y("router-view"), K = y("el-main"), Q = Xe("loading");
|
|
106
106
|
return s(), A(ye, null, [
|
|
107
107
|
ke(e(z, { class: "client-container" }, {
|
|
108
108
|
default: o(() => [
|
|
@@ -296,7 +296,7 @@ const ut = /* @__PURE__ */ ve(_t, [["render", Tt], ["__scopeId", "data-v-5c2d7ed
|
|
|
296
296
|
_: 1
|
|
297
297
|
}),
|
|
298
298
|
h("div", It, [
|
|
299
|
-
|
|
299
|
+
C.value ? (s(), b(f, { key: 0 })) : V("", !0),
|
|
300
300
|
t(M) !== "" ? (s(), b(ie, {
|
|
301
301
|
key: 1,
|
|
302
302
|
class: "calculator-content back-content",
|
|
@@ -444,45 +444,45 @@ const ut = /* @__PURE__ */ ve(_t, [["render", Tt], ["__scopeId", "data-v-5c2d7ed
|
|
|
444
444
|
d(!1);
|
|
445
445
|
const n = Ct(X), M = d(!1), { tableShowThree: T } = G(n), D = nt(), { loginUserInfo: j } = G(D);
|
|
446
446
|
d(null);
|
|
447
|
-
const oe = Te(X), { isEdit:
|
|
447
|
+
const oe = Te(X), { isEdit: C } = G(oe), O = be(X), q = kt(X), { objUrl: N, blobUrls: u } = G(q), $ = d(null);
|
|
448
448
|
d(!1);
|
|
449
449
|
const W = d(!0);
|
|
450
450
|
d(!1);
|
|
451
451
|
const { importLoading: ce, activeMenuPath: z, activeTopMenuPath: de, platName: me } = G(O), ie = d(!1), pe = d(!1), f = d(!1), K = J;
|
|
452
452
|
I(() => z.value, async (i) => {
|
|
453
453
|
i && (f.value = !0), i === "弯管仿真加工管理/仿真动画生成" ? ie.value = !0 : ie.value = !1, i === "弯管仿真加工管理/程序输出" ? pe.value = !0 : pe.value = !1, Ae != null && Ae.find((c) => {
|
|
454
|
-
var
|
|
455
|
-
return (c == null ? void 0 : c.key) === ((
|
|
454
|
+
var w;
|
|
455
|
+
return (c == null ? void 0 : c.key) === ((w = i == null ? void 0 : i.split("/")) == null ? void 0 : w[(i == null ? void 0 : i.split("/").length) - 1]);
|
|
456
456
|
}) ? M.value = !0 : M.value = !1;
|
|
457
457
|
}, { immediate: !0 });
|
|
458
458
|
const Q = (i) => {
|
|
459
459
|
if ((i == null ? void 0 : i.type) === "table") {
|
|
460
|
-
let c = Object.values(i == null ? void 0 : i.row),
|
|
461
|
-
|
|
462
|
-
url:
|
|
460
|
+
let c = Object.values(i == null ? void 0 : i.row), w = c == null ? void 0 : c.find((v) => typeof v == "string" && ((v == null ? void 0 : v.includes(".urdf")) || (v == null ? void 0 : v.includes(".obj"))));
|
|
461
|
+
w && K("showChild", {
|
|
462
|
+
url: w,
|
|
463
463
|
row: i == null ? void 0 : i.row
|
|
464
464
|
});
|
|
465
465
|
}
|
|
466
466
|
}, _ = () => {
|
|
467
467
|
sessionStorage.clear(), window.location.reload();
|
|
468
468
|
}, l = async (i) => {
|
|
469
|
-
var
|
|
470
|
-
const c = (
|
|
469
|
+
var v, R, g, r, E, H, p;
|
|
470
|
+
const c = (v = i == null ? void 0 : i.split("/")) == null ? void 0 : v[0], w = await yt({
|
|
471
471
|
key: {
|
|
472
472
|
type: "mainEquip",
|
|
473
473
|
systemKey: sessionStorage.getItem("systemKey"),
|
|
474
474
|
pageKey: c
|
|
475
475
|
}
|
|
476
476
|
});
|
|
477
|
-
return ((R =
|
|
477
|
+
return ((R = w == null ? void 0 : w.data) == null ? void 0 : R.type) === "success" ? ((p = (H = (E = (r = (g = w == null ? void 0 : w.data) == null ? void 0 : g.result) == null ? void 0 : r[0]) == null ? void 0 : E.value) == null ? void 0 : H.tableData) == null ? void 0 : p.隐藏三维显示) !== !0 : !0;
|
|
478
478
|
};
|
|
479
479
|
I(
|
|
480
480
|
() => Z.value,
|
|
481
481
|
() => {
|
|
482
|
-
var i, c,
|
|
483
|
-
if (((i = Z.value) == null ? void 0 : i.length) === 2 && ((c = Z.value) != null && c.find((
|
|
484
|
-
const
|
|
485
|
-
U.value = ((R =
|
|
482
|
+
var i, c, w, v, R;
|
|
483
|
+
if (((i = Z.value) == null ? void 0 : i.length) === 2 && ((c = Z.value) != null && c.find((g) => (g == null ? void 0 : g.name) === "输入")) && ((w = Z.value) != null && w.find((g) => (g == null ? void 0 : g.name) === "输出"))) {
|
|
484
|
+
const g = (v = Z.value) == null ? void 0 : v.find((r) => (r == null ? void 0 : r.name) === "输出");
|
|
485
|
+
U.value = ((R = g == null ? void 0 : g.comp) == null ? void 0 : R.toUpperCase()) === "FORM", S.value = !0;
|
|
486
486
|
} else
|
|
487
487
|
S.value = !1, U.value = !1;
|
|
488
488
|
},
|
|
@@ -503,10 +503,10 @@ const ut = /* @__PURE__ */ ve(_t, [["render", Tt], ["__scopeId", "data-v-5c2d7ed
|
|
|
503
503
|
), I(
|
|
504
504
|
() => u == null ? void 0 : u.value,
|
|
505
505
|
async () => {
|
|
506
|
-
var i, c,
|
|
507
|
-
if (u != null && u.value && ((i = u == null ? void 0 : u.value) == null ? void 0 : i.length) > 0 && !M.value && !((c = Z.value) != null && c.find((R) => (R == null ? void 0 : R.name) === "输入") && ((
|
|
506
|
+
var i, c, w, v;
|
|
507
|
+
if (u != null && u.value && ((i = u == null ? void 0 : u.value) == null ? void 0 : i.length) > 0 && !M.value && !((c = Z.value) != null && c.find((R) => (R == null ? void 0 : R.name) === "输入") && ((w = Z.value) != null && w.find((R) => (R == null ? void 0 : R.name) === "输出")))) {
|
|
508
508
|
let R = [];
|
|
509
|
-
const
|
|
509
|
+
const g = await ((v = Re(u == null ? void 0 : u.value)) == null ? void 0 : v.map(async (r) => {
|
|
510
510
|
var ne, Ce, x, m, ae, le, we, je, Ne, Ve;
|
|
511
511
|
let E, H;
|
|
512
512
|
const p = (Ce = (ne = r == null ? void 0 : r.blob) == null ? void 0 : ne.split("undefined,")) == null ? void 0 : Ce[1];
|
|
@@ -599,17 +599,17 @@ const ut = /* @__PURE__ */ ve(_t, [["render", Tt], ["__scopeId", "data-v-5c2d7ed
|
|
|
599
599
|
}
|
|
600
600
|
H && R.push(H);
|
|
601
601
|
}));
|
|
602
|
-
await Promise.all(
|
|
602
|
+
await Promise.all(g);
|
|
603
603
|
}
|
|
604
604
|
},
|
|
605
605
|
{ immediate: !0, deep: !0 }
|
|
606
606
|
), I(
|
|
607
607
|
() => T.value,
|
|
608
608
|
async () => {
|
|
609
|
-
var c,
|
|
609
|
+
var c, w, v, R;
|
|
610
610
|
if (T.value !== "" && T.value) {
|
|
611
|
-
let
|
|
612
|
-
const H = (((
|
|
611
|
+
let g = (c = z.value) == null ? void 0 : c.split("/"), r = g[(g == null ? void 0 : g.length) - 2];
|
|
612
|
+
const H = (((w = Se == null ? void 0 : Se.find((ne) => (ne == null ? void 0 : ne.key) === r)) == null ? void 0 : w.download) ?? "") + "/" + T.value, p = sessionStorage.getItem("magicToken") === "" ? "123456" : sessionStorage.getItem("magicToken"), Y = await ge.post(H, null, {
|
|
613
613
|
responseType: "blob",
|
|
614
614
|
// 必须设置
|
|
615
615
|
headers: {
|
|
@@ -621,7 +621,7 @@ const ut = /* @__PURE__ */ ve(_t, [["render", Tt], ["__scopeId", "data-v-5c2d7ed
|
|
|
621
621
|
var i = new Blob([Y.data], {
|
|
622
622
|
type: "application/octet-stream;charset=UTF-8"
|
|
623
623
|
});
|
|
624
|
-
"" + ((R = (
|
|
624
|
+
"" + ((R = (v = T.value) == null ? void 0 : v.split(".")) == null ? void 0 : R[1]);
|
|
625
625
|
}
|
|
626
626
|
},
|
|
627
627
|
{ deep: !0, immediate: !0 }
|
|
@@ -634,9 +634,9 @@ const ut = /* @__PURE__ */ ve(_t, [["render", Tt], ["__scopeId", "data-v-5c2d7ed
|
|
|
634
634
|
}, 1e3);
|
|
635
635
|
};
|
|
636
636
|
return (i, c) => {
|
|
637
|
-
const
|
|
637
|
+
const w = y("el-dialog"), v = y("el-button"), R = y("el-avatar"), g = y("el-header"), r = y("el-container"), E = y("el-icon"), H = y("el-input"), p = y("el-aside"), Y = y("router-view"), ne = y("el-main"), Ce = Xe("loading");
|
|
638
638
|
return s(), A(ye, null, [
|
|
639
|
-
e(
|
|
639
|
+
e(w, {
|
|
640
640
|
modelValue: re.value,
|
|
641
641
|
"onUpdate:modelValue": c[0] || (c[0] = (x) => re.value = x),
|
|
642
642
|
style: { height: "700px", width: "1800px" }
|
|
@@ -651,12 +651,12 @@ const ut = /* @__PURE__ */ ve(_t, [["render", Tt], ["__scopeId", "data-v-5c2d7ed
|
|
|
651
651
|
}, 8, ["modelValue"]),
|
|
652
652
|
ke(e(r, { class: "client-container" }, {
|
|
653
653
|
default: o(() => [
|
|
654
|
-
e(
|
|
654
|
+
e(g, { class: "client-structure-header" }, {
|
|
655
655
|
default: o(() => {
|
|
656
656
|
var x;
|
|
657
657
|
return [
|
|
658
658
|
h("div", Gt, [
|
|
659
|
-
e(
|
|
659
|
+
e(v, {
|
|
660
660
|
id: "transparentBgButton",
|
|
661
661
|
onClick: t(Je)
|
|
662
662
|
}, {
|
|
@@ -666,7 +666,7 @@ const ut = /* @__PURE__ */ ve(_t, [["render", Tt], ["__scopeId", "data-v-5c2d7ed
|
|
|
666
666
|
_: 1,
|
|
667
667
|
__: [3]
|
|
668
668
|
}, 8, ["onClick"]),
|
|
669
|
-
e(
|
|
669
|
+
e(v, {
|
|
670
670
|
id: "transparentBgButton",
|
|
671
671
|
onClick: c[1] || (c[1] = (m) => {
|
|
672
672
|
var ae, le;
|
|
@@ -709,7 +709,7 @@ const ut = /* @__PURE__ */ ve(_t, [["render", Tt], ["__scopeId", "data-v-5c2d7ed
|
|
|
709
709
|
}),
|
|
710
710
|
_: 3
|
|
711
711
|
}),
|
|
712
|
-
t(
|
|
712
|
+
t(C) === "edit" ? (s(), b(r, {
|
|
713
713
|
key: 0,
|
|
714
714
|
class: "model-operate",
|
|
715
715
|
style: { "margin-top": "10px", height: "0px" }
|
|
@@ -730,14 +730,14 @@ const ut = /* @__PURE__ */ ve(_t, [["render", Tt], ["__scopeId", "data-v-5c2d7ed
|
|
|
730
730
|
]),
|
|
731
731
|
_: 3
|
|
732
732
|
}, 512), [
|
|
733
|
-
[Fe, t(
|
|
733
|
+
[Fe, t(C) === "edit"]
|
|
734
734
|
]),
|
|
735
735
|
ke((s(), b(r, {
|
|
736
736
|
class: "client-container",
|
|
737
737
|
"element-loading-text": "正在加载页面数据..."
|
|
738
738
|
}, {
|
|
739
739
|
default: o(() => [
|
|
740
|
-
e(
|
|
740
|
+
e(g, { class: "client-header" }, {
|
|
741
741
|
default: o(() => [
|
|
742
742
|
h("div", {
|
|
743
743
|
class: "client-header-logo",
|
|
@@ -764,7 +764,7 @@ const ut = /* @__PURE__ */ ve(_t, [["render", Tt], ["__scopeId", "data-v-5c2d7ed
|
|
|
764
764
|
]),
|
|
765
765
|
_: 1
|
|
766
766
|
}, 8, ["modelValue"]),
|
|
767
|
-
B.showButton ? (s(), b(
|
|
767
|
+
B.showButton ? (s(), b(v, {
|
|
768
768
|
key: 0,
|
|
769
769
|
id: "transparentBgButton",
|
|
770
770
|
onClick: t(Ye)
|
|
@@ -778,7 +778,7 @@ const ut = /* @__PURE__ */ ve(_t, [["render", Tt], ["__scopeId", "data-v-5c2d7ed
|
|
|
778
778
|
_: 1,
|
|
779
779
|
__: [5]
|
|
780
780
|
}, 8, ["onClick"])) : V("", !0),
|
|
781
|
-
B.showButton && t(
|
|
781
|
+
B.showButton && t(C) === "view" ? (s(), b(v, {
|
|
782
782
|
key: 1,
|
|
783
783
|
id: "transparentBgButton",
|
|
784
784
|
onClick: t(Ze)
|
|
@@ -874,13 +874,13 @@ const ut = /* @__PURE__ */ ve(_t, [["render", Tt], ["__scopeId", "data-v-5c2d7ed
|
|
|
874
874
|
]),
|
|
875
875
|
_: 3
|
|
876
876
|
})), [
|
|
877
|
-
[Fe, t(
|
|
877
|
+
[Fe, t(C) === "view"],
|
|
878
878
|
[Ce, t(ce)]
|
|
879
879
|
])
|
|
880
880
|
], 64);
|
|
881
881
|
};
|
|
882
882
|
}
|
|
883
|
-
}), oa = /* @__PURE__ */ ve(aa, [["__scopeId", "data-v-
|
|
883
|
+
}), oa = /* @__PURE__ */ ve(aa, [["__scopeId", "data-v-a8be2682"]]), na = { class: "system-wrap" }, la = {
|
|
884
884
|
__name: "index",
|
|
885
885
|
props: {
|
|
886
886
|
windowConfig: {
|
|
@@ -903,8 +903,8 @@ const ut = /* @__PURE__ */ ve(_t, [["render", Tt], ["__scopeId", "data-v-5c2d7ed
|
|
|
903
903
|
setup(B, { emit: J }) {
|
|
904
904
|
const a = Te(X), k = De(X), S = be();
|
|
905
905
|
d(!1);
|
|
906
|
-
const U = d(!0), n = B, M = J, T = (
|
|
907
|
-
M("showChild",
|
|
906
|
+
const U = d(!0), n = B, M = J, T = (C) => {
|
|
907
|
+
M("showChild", C);
|
|
908
908
|
}, D = Be(() => {
|
|
909
909
|
switch (n == null ? void 0 : n.platform) {
|
|
910
910
|
case "browser":
|
|
@@ -912,14 +912,14 @@ const ut = /* @__PURE__ */ ve(_t, [["render", Tt], ["__scopeId", "data-v-5c2d7ed
|
|
|
912
912
|
case "client":
|
|
913
913
|
return Rt;
|
|
914
914
|
}
|
|
915
|
-
}), j = (
|
|
915
|
+
}), j = (C) => {
|
|
916
916
|
const O = document.documentElement;
|
|
917
|
-
|
|
917
|
+
C == null || C.forEach((q) => {
|
|
918
918
|
O.style.setProperty(q.name, q.value);
|
|
919
919
|
});
|
|
920
920
|
};
|
|
921
|
-
I(() => n.platform, (
|
|
922
|
-
|
|
921
|
+
I(() => n.platform, (C, O) => {
|
|
922
|
+
C && j(D.value);
|
|
923
923
|
}, { immediate: !0 });
|
|
924
924
|
const oe = () => {
|
|
925
925
|
M("buildContent");
|
|
@@ -934,19 +934,19 @@ const ut = /* @__PURE__ */ ve(_t, [["render", Tt], ["__scopeId", "data-v-5c2d7ed
|
|
|
934
934
|
}
|
|
935
935
|
if (!(n != null && n.content) || ((N = n == null ? void 0 : n.content) == null ? void 0 : N.length) === 0) return;
|
|
936
936
|
U.value = !0, S.setImportLoading(!0);
|
|
937
|
-
let
|
|
937
|
+
let C = [], O = [];
|
|
938
938
|
k.setSelectTitle([]), k.setSelectIndex(""), k.setSelectMenu(""), ($ = (u = n == null ? void 0 : n.content) == null ? void 0 : u.filter((W) => W !== "")) == null || $.forEach((W) => {
|
|
939
939
|
O.push(vt(W));
|
|
940
|
-
}),
|
|
940
|
+
}), C = O == null ? void 0 : O[0], await gt(C), await lt(), a.setOriginalData(C), S.setImportLoading(!1);
|
|
941
941
|
},
|
|
942
942
|
{ deep: !0, immediate: !0 }
|
|
943
|
-
), (
|
|
943
|
+
), (C, O) => (s(), A("div", na, [
|
|
944
944
|
B.platform === "browser" ? (s(), b(Kt, {
|
|
945
945
|
key: 0,
|
|
946
946
|
showButton: B.showButton
|
|
947
947
|
}, {
|
|
948
948
|
default: o(() => [
|
|
949
|
-
_e(
|
|
949
|
+
_e(C.$slots, "default", {}, void 0, !0)
|
|
950
950
|
]),
|
|
951
951
|
_: 3
|
|
952
952
|
}, 8, ["showButton"])) : (s(), b(oa, {
|
|
@@ -957,7 +957,7 @@ const ut = /* @__PURE__ */ ve(_t, [["render", Tt], ["__scopeId", "data-v-5c2d7ed
|
|
|
957
957
|
onShowChild: T
|
|
958
958
|
}, {
|
|
959
959
|
default: o(() => [
|
|
960
|
-
_e(
|
|
960
|
+
_e(C.$slots, "default", {}, void 0, !0)
|
|
961
961
|
]),
|
|
962
962
|
_: 3
|
|
963
963
|
}, 8, ["windowConfig", "showButton"]))
|
|
@@ -995,7 +995,7 @@ const ut = /* @__PURE__ */ ve(_t, [["render", Tt], ["__scopeId", "data-v-5c2d7ed
|
|
|
995
995
|
},
|
|
996
996
|
emits: ["change", "contentChange", "buildContent", "openThreeBuild"],
|
|
997
997
|
setup(B, { emit: J }) {
|
|
998
|
-
const a = B, k = J, S = d([]), U = d(0), n = d([]), M = d([]), T = d(0), D = Te(X), j = be(X), { itemData: oe, originalData:
|
|
998
|
+
const a = B, k = J, S = d([]), U = d(0), n = d([]), M = d([]), T = d(0), D = Te(X), j = be(X), { itemData: oe, originalData: C } = G(D), { activeMenuPath: O, platform: q } = G(j), N = d(null), u = d(0), $ = d([]);
|
|
999
999
|
d("");
|
|
1000
1000
|
const W = d(0), ce = () => {
|
|
1001
1001
|
k("buildContent");
|
|
@@ -1021,7 +1021,7 @@ const ut = /* @__PURE__ */ ve(_t, [["render", Tt], ["__scopeId", "data-v-5c2d7ed
|
|
|
1021
1021
|
return (_ == null ? void 0 : _.comp) === "Form" && (_.compData = (l = _.compData) == null ? void 0 : l.map((F) => ((F == null ? void 0 : F.key) === "formContent" && (F.contents = Ft(F == null ? void 0 : F.contents)), F))), _;
|
|
1022
1022
|
});
|
|
1023
1023
|
k("change", {
|
|
1024
|
-
originalContents:
|
|
1024
|
+
originalContents: C.value,
|
|
1025
1025
|
currentContents: f == null ? void 0 : f.wholeValue,
|
|
1026
1026
|
editContent: f == null ? void 0 : f.editValue,
|
|
1027
1027
|
arrayToContents: K
|
|
@@ -1067,7 +1067,7 @@ const ut = /* @__PURE__ */ ve(_t, [["render", Tt], ["__scopeId", "data-v-5c2d7ed
|
|
|
1067
1067
|
},
|
|
1068
1068
|
{ deep: !0, immediate: !0 }
|
|
1069
1069
|
), (f, K) => {
|
|
1070
|
-
const Q =
|
|
1070
|
+
const Q = y("svg-icon"), _ = y("el-button");
|
|
1071
1071
|
return s(), A("div", ia, [
|
|
1072
1072
|
(a == null ? void 0 : a.mode) === "edit" ? (s(), A("div", ra, [
|
|
1073
1073
|
h("div", ua, [
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent as t, reactive as a, onMounted as o, createElementBlock as r, openBlock as n, createVNode as m } from "vue";
|
|
2
2
|
import "./index-BHtNKL1L.js";
|
|
3
|
-
import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
4
|
-
import "./menu-
|
|
5
|
-
import { x as s } from "./index-
|
|
6
|
-
import { S as c } from "./index-
|
|
7
|
-
import { g as i } from "./index-
|
|
3
|
+
import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-5oFYiO8I.js";
|
|
4
|
+
import "./menu-Bs376m_d.js";
|
|
5
|
+
import { x as s } from "./index-pZ8mIeBn.js";
|
|
6
|
+
import { S as c } from "./index-DSW2Mr7b.js";
|
|
7
|
+
import { g as i } from "./index-CTExxvOw.js";
|
|
8
8
|
const p = { class: "role-wrapper" }, v = /* @__PURE__ */ t({
|
|
9
9
|
__name: "index",
|
|
10
10
|
setup(d) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ref as Sp, onMounted as Ab, watch as vL, onUnmounted as cL, createElementBlock as Mb, openBlock as Ib, createVNode as pL } from "vue";
|
|
2
2
|
import { _ as Lb } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
3
|
-
import { c as Ki } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
3
|
+
import { c as Ki } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-5oFYiO8I.js";
|
|
4
4
|
/*! *****************************************************************************
|
|
5
5
|
Copyright (c) Microsoft Corporation.
|
|
6
6
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent as e, reactive as a, onMounted as o, createElementBlock as r, openBlock as n, createVNode as m } from "vue";
|
|
2
2
|
import "./index-BHtNKL1L.js";
|
|
3
|
-
import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
4
|
-
import "./menu-
|
|
5
|
-
import { x as i } from "./index-
|
|
6
|
-
import { S as c } from "./index-
|
|
7
|
-
import { g as p } from "./index-
|
|
3
|
+
import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-5oFYiO8I.js";
|
|
4
|
+
import "./menu-Bs376m_d.js";
|
|
5
|
+
import { x as i } from "./index-pZ8mIeBn.js";
|
|
6
|
+
import { S as c } from "./index-DrQkX4ZE.js";
|
|
7
|
+
import { g as p } from "./index-CTExxvOw.js";
|
|
8
8
|
const D = /* @__PURE__ */ e({
|
|
9
9
|
__name: "index",
|
|
10
10
|
setup(s) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const l=require("vue"),c=require("./menu-
|
|
1
|
+
"use strict";const l=require("vue"),c=require("./menu-Bh3uINuX.cjs"),u=require("./index-AIUiEbwb.cjs"),g=require("./threeModel.vue_vue_type_style_index_0_scoped_3e87dec6_lang-CRj2nv3K.cjs"),D=g.useModelComp(),{itemData:i}=c.storeToRefs(D),p=l.ref(0),f=l.ref([{label:"机构名称",value:"",name:"deptName"}]),_=e=>{console.log("handleQueryChange",e)},s=l.ref([{key:"extraButton",contents:[{label:"新增"}]},{key:"rowButton",contents:[{label:"编辑"},{label:"删除"}]},{key:"header",contents:[{label:"机构名称",prop:"deptName"},{label:"机构类型",prop:"deptType",formType:"Select",options:[{label:"集团",value:"集团"},{label:"公司",value:"公司"},{label:"部门",value:"部门"},{label:"区域",value:"区域"},{label:"组",value:"组"}]},{label:"机构状态",formType:"Radio",prop:"deptStatus",options:[{label:"启用",value:"启用"},{label:"禁用",value:"禁用"}]},{label:"操作"}]},{key:"tableContents",contents:[]}]),h=e=>{u.submitTableAsyncByVerify(e.singleContent,e.buttonName,p.value)},m=e=>{console.log("onDoubleClick",e)},C=(e,t)=>{console.log("onButtonClick",e,t)},k=async e=>{const t=await u.handleSubmitAsync(c.getInsofDataApi,{key:{systemKey:sessionStorage.getItem("systemKey"),type:"data",pageKey:e}},"查询"),n=t==null?void 0:t.map(a=>{var o;return{id:a.id,tableData:(o=a==null?void 0:a.value)==null?void 0:o.tableData}});return n==null?void 0:n.map(a=>{var o;if(Array.isArray(a==null?void 0:a.tableData)){let r={id:a.id};return(o=a==null?void 0:a.tableData)==null||o.forEach((y,d)=>{r[`a${d}`]=y}),r}else return{...a.tableData,id:a.id}})},b={comp:"Group",name:"/系统管理/部门管理",compData:[{key:"groupContents",contents:[{comp:"Table",compData:s.value,name:""}]}]};l.watch(()=>i.value,e=>{var t;e&&(e==null?void 0:e.length)>0&&(s.value=(t=e==null?void 0:e[0])==null?void 0:t.compData)});const S=Object.freeze(Object.defineProperty({__proto__:null,getPageDataAsync:k,handleItemDataChange:h,handleQueryChange:_,onButtonClick:C,onDoubleClick:m,pageData:s,queryFormData:f,structureId:p,tempDeptPageData:b},Symbol.toStringTag,{value:"Module"}));exports.State=S;exports.tempDeptPageData=b;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { createElementBlock as M, openBlock as L, createElementVNode as Q, renderSlot as u, defineComponent as Z, ref as m, resolveComponent as r, createVNode as S, withCtx as i, reactive as T, watch as N, unref as v, toDisplayString as k, createTextVNode as j } from "vue";
|
|
2
2
|
import { _ as z } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
3
|
-
import { u as EA, l as IA } from "./index-
|
|
3
|
+
import { u as EA, l as IA } from "./index-RFxUujjQ.js";
|
|
4
4
|
import { useRouter as gA } from "vue-router";
|
|
5
|
-
import { u as CA } from "./login-
|
|
6
|
-
import { a as BA, p as QA, E as Y, b as iA, g as G } from "./menu-
|
|
7
|
-
import { v as oA } from "./index-
|
|
5
|
+
import { u as CA } from "./login-eM3l7P-d.js";
|
|
6
|
+
import { a as BA, p as QA, E as Y, b as iA, g as G } from "./menu-Bs376m_d.js";
|
|
7
|
+
import { v as oA } from "./index-TG4p1pOs.js";
|
|
8
8
|
import { d as cA } from "./crypto-BRyGpjGR.js";
|
|
9
9
|
const RA = {}, nA = { class: "header-wrapper" }, wA = { class: "header-horizontal" }, eA = { class: "header-logo" }, sA = { class: "header-cTitle" }, SA = { class: "header-horizontal" }, tA = { class: "header-eTitle" };
|
|
10
10
|
function JA(J, l) {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent as o, reactive as a, onMounted as r, createElementBlock as c, openBlock as s, createVNode as i } from "vue";
|
|
2
2
|
import "./index-BHtNKL1L.js";
|
|
3
|
-
import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
4
|
-
import { u as m, s as u } from "./menu-
|
|
5
|
-
import { x as l } from "./index-
|
|
6
|
-
import { S as p } from "./index-
|
|
7
|
-
import { u as d } from "./login-
|
|
8
|
-
import { g } from "./index-
|
|
3
|
+
import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-5oFYiO8I.js";
|
|
4
|
+
import { u as m, s as u } from "./menu-Bs376m_d.js";
|
|
5
|
+
import { x as l } from "./index-pZ8mIeBn.js";
|
|
6
|
+
import { S as p } from "./index-Cxef8dZf.js";
|
|
7
|
+
import { u as d } from "./login-eM3l7P-d.js";
|
|
8
|
+
import { g } from "./index-CTExxvOw.js";
|
|
9
9
|
const I = /* @__PURE__ */ o({
|
|
10
10
|
__name: "index",
|
|
11
11
|
setup(f) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./index.vue_vue_type_style_index_0_scoped_ed9fe0f5_lang
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./index.vue_vue_type_style_index_0_scoped_ed9fe0f5_lang--y7lyLmG.cjs"),e=require("vue"),u=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),g=["title"],p={key:0,class:"menu-operate-icon"},_={class:"menu-config-wrap"},C=["onClick"],f={class:"module-dialog-content"};function k(n,l,v,h,B,V){const r=e.resolveComponent("svg-icon"),s=e.resolveComponent("el-popover"),a=e.resolveComponent("ssMenu"),i=e.resolveComponent("el-button"),d=e.resolveComponent("ssDialog");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(a,{mode:n.mode,menuList:n.renderMenuList,onClickMenu:n.clickMenu,onOpenMenu:n.openMenu,onCloseMenu:n.closeMenu},{title:e.withCtx(({menu:t})=>[e.createVNode(r,{name:t.icon??"",class:"menu-icon"},null,8,["name"]),e.createElementVNode("span",{title:t.title,class:"menu-title"},e.toDisplayString(t.title??""),9,g),t!=null&&t.config?(e.openBlock(),e.createElementBlock("span",p,[e.createVNode(s,{title:"菜单操作",placement:"bottom-start",trigger:"click","popper-class":"menu-operate-popover"},{reference:e.withCtx(()=>[e.createVNode(r,{name:"config"})]),default:e.withCtx(()=>[e.createElementVNode("div",_,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t==null?void 0:t.config,o=>(e.openBlock(),e.createElementBlock("div",{class:"menu-config-item",key:o.id,onClick:y=>n.clickMenuIcon(t,o)},[e.createVNode(r,{name:o==null?void 0:o.menuIcon,style:{width:"15px",height:"15px","margin-right":"8px"}},null,8,["name"]),e.createElementVNode("span",null,e.toDisplayString(o==null?void 0:o.operateType),1)],8,C))),128))])]),_:2},1024)])):e.createCommentVNode("",!0)]),_:1},8,["mode","menuList","onClickMenu","onOpenMenu","onCloseMenu"]),e.createVNode(d,{class:"module-dialog",title:n.dialogInfo.title,visible:n.dialogInfo.show,width:n.dialogInfo.width,onBeforeDestroy:n.beforeDialogDestroy},{default:e.withCtx(()=>[e.createElementVNode("div",f,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.dialogRenderComps,t=>(e.openBlock(),e.createElementBlock("div",{key:t.id},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(n.getComponents((t==null?void 0:t.comp)??"Input")),{itemData:t==null?void 0:t.compData,key:t==null?void 0:t.id,content:(t==null?void 0:t.contents)??[],config:t==null?void 0:t.config,onContentChange:n.handleCompChange},null,40,["itemData","content","config","onContentChange"]))]))),128))])]),footer:e.withCtx(()=>[e.createElementVNode("div",null,[e.createVNode(i,{id:"themeBorderButton",onClick:n.beforeDialogDestroy},{default:e.withCtx(()=>l[0]||(l[0]=[e.createTextVNode("取消")])),_:1,__:[0]},8,["onClick"]),e.createVNode(i,{id:"themeButton",onClick:n.clickSubmitForm},{default:e.withCtx(()=>l[1]||(l[1]=[e.createTextVNode(" 确认 ")])),_:1,__:[1]},8,["onClick"])])]),_:1},8,["title","visible","width","onBeforeDestroy"])],64)}const m=u._export_sfc(c._sfc_main,[["render",k],["__scopeId","data-v-ed9fe0f5"]]);exports.default=m;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue");require("./index-BpPyaNFa.cjs");const f=require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue");require("./index-BpPyaNFa.cjs");const f=require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-B7OTW91g.cjs"),u=require("./menu-Bh3uINuX.cjs"),x=require("./index-diWA3Iv3.cjs"),i=require("./index-8N7uCCvy.cjs"),m=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),V={class:"role-wrapper"},v={class:"role-dialog-header"},w={class:"node-text"},y={class:"dialog-footer"},B=e.defineComponent({__name:"index",setup(D){const h=u.useMenuState(),{menus:p}=u.storeToRefs(h),t=e.reactive({...i.State}),{treeRef:_}=i.State;e.onMounted(async()=>{t.structureId=await t.getActivePageStructureId()});const g=a=>{const r=[a==null?void 0:a.find(o=>(o==null?void 0:o.title)==="系统管理")].flatMap(o=>o==null?void 0:o.children);return r==null?void 0:r.map(o=>({path:o==null?void 0:o.path,buttons:(o==null?void 0:o.path)==="/系统管理/个人中心"?["基本信息","上传头像","签名","修改密码"]:["新增","查看","编辑","删除"]}))};return e.watch(()=>p.value,a=>{e.nextTick(()=>{const n=f.cloneDeep(a);t.tempSysMenus=g(n),t.menuData=t.addButtonsToTree(n,t.structureButtons)})},{immediate:!0,deep:!0}),(a,n)=>{const r=e.resolveComponent("el-checkbox"),o=e.resolveComponent("el-checkbox-group"),C=e.resolveComponent("el-tree"),s=e.resolveComponent("el-button"),k=e.resolveComponent("el-dialog");return e.openBlock(),e.createElementBlock("div",V,[e.createVNode(x.ssTable,{itemData:t.pageDataFiltered,changedContent:t.changedRow,onChange:t.handleItemDataChange,onOnButtonClick:t.clickRowButton},null,8,["itemData","changedContent","onChange","onOnButtonClick"]),e.createVNode(k,{modelValue:t.authorizeDialog.show,"onUpdate:modelValue":n[0]||(n[0]=d=>t.authorizeDialog.show=d),width:t.authorizeDialog.width,draggable:t.authorizeDialog.draggable,"before-close":t.closeAuthorizeDialog,class:"role-dialog"},{header:e.withCtx(()=>[e.createElementVNode("div",v,e.toDisplayString(t.authorizeDialog.title),1)]),footer:e.withCtx(()=>[e.createElementVNode("div",y,[e.createVNode(s,{id:"themeBorderButton",onClick:t.closeAuthorizeDialog},{default:e.withCtx(()=>n[1]||(n[1]=[e.createTextVNode("取消")])),_:1,__:[1]},8,["onClick"]),e.createVNode(s,{id:"themeButton",onClick:t.clickSubmitAuthority},{default:e.withCtx(()=>n[2]||(n[2]=[e.createTextVNode(" 确认 ")])),_:1,__:[2]},8,["onClick"])])]),default:e.withCtx(()=>[e.createVNode(C,{class:"role-tree",ref_key:"treeRef",ref:_,data:t.menuData,"expand-on-click-node":!1,"node-key":"path",props:{children:"children",label:"title",path:"path"},"highlight-current":"","default-expand-all":"","check-on-click-leaf":!1,"check-strictly":"",onCheckChange:t.handleNodeCheckChange,style:{height:"500px","overflow-y":"auto"}},{default:e.withCtx(({node:d,data:c})=>[e.createElementVNode("span",w,e.toDisplayString(d.label),1),e.createVNode(o,{modelValue:c.checkedButtons,"onUpdate:modelValue":l=>c.checkedButtons=l,onChange:l=>t.handleNodeBtnChange(l,c),class:"node-buttons"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.renderButtons,l=>(e.openBlock(),e.createBlock(r,{key:l.title,label:l.title,value:l.path},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.title),1)]),_:2},1032,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue","onChange"])]),_:1},8,["data","onCheckChange"])]),_:1},8,["modelValue","width","draggable","before-close"])])}}}),b=m._export_sfc(B,[["__scopeId","data-v-e1dfc119"]]);exports.default=b;
|