ss-component-new 1.1.504 → 1.1.505
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-BTzXzvKw.cjs → array-B25wyWPk.cjs} +1 -1
- package/dist/{array-BklxmHKn.js → array-HVQANKzE.js} +1 -1
- package/dist/{index-HOauPWGX.js → index-6N0i8tHG.js} +7 -7
- package/dist/{index-Bf2zD1Ct.js → index-A4h-EzBL.js} +12 -12
- package/dist/{index-CO7cqrQv.cjs → index-B0MKpokT.cjs} +1 -1
- package/dist/{index-ClHP3GHa.js → index-B31yLXuA.js} +5 -5
- package/dist/{index-D0eit4aJ.js → index-B8pvhqbr.js} +62 -62
- package/dist/{index-CnLvPg3A.js → index-BLuw9z6p.js} +23 -24
- package/dist/index-BMgCXU_s.cjs +1 -0
- package/dist/{index-B5Jo2BOZ.js → index-BWW-dWcO.js} +3 -3
- package/dist/{index-CRG_fwJf.js → index-BYnRSH0G.js} +4 -4
- package/dist/{index-OKOPfI0k.js → index-B_3QuU34.js} +1 -1
- package/dist/{index-B2kFXC1k.js → index-B_CAnpvt.js} +1 -1
- package/dist/index-BaFCKnyt.cjs +1 -0
- package/dist/{index-C_z3ozNV.cjs → index-BbXKGiXp.cjs} +1 -1
- package/dist/{index-BIWu9oDu.js → index-Bfx9-BjM.js} +15 -15
- package/dist/{index-CbARTJ4m.cjs → index-BgwEiVgl.cjs} +1 -1
- package/dist/{index-fEv8SPda.js → index-BoZCUWow.js} +9 -9
- package/dist/{index-CQZo2DCP.js → index-C4Mp32-c.js} +10 -11
- package/dist/{index-CJvxMtnO.cjs → index-CAFN0O5_.cjs} +3 -3
- package/dist/{index-BQvsQB62.js → index-CF20NInv.js} +17 -17
- package/dist/{index-BISxVG3N.cjs → index-CIY7XbHq.cjs} +1 -1
- package/dist/{index-DWNO3jUX.cjs → index-CSEuYDmf.cjs} +1 -1
- package/dist/{index-ClgE7B7A.cjs → index-CZqNpb3-.cjs} +1 -1
- package/dist/{index-CIvVQr8k.js → index-Ca9GVFAd.js} +2 -2
- package/dist/{index-DvnqJyE8.js → index-CaEW7LNv.js} +88 -89
- package/dist/{index-D6MMbZlJ.cjs → index-CaeMv-8j.cjs} +1 -1
- package/dist/{index-CFCND7cq.cjs → index-Ce8X4fBq.cjs} +1 -1
- package/dist/{index-DdFAiBCB.cjs → index-Cj_FKqDC.cjs} +1 -1
- package/dist/{index-BW-lqoB1.cjs → index-CoDqCLL2.cjs} +1 -1
- package/dist/{index-C1vHnukD.cjs → index-CqNXunKQ.cjs} +1 -1
- package/dist/{index-BOkQDMQ7.js → index-D0onf966.js} +12 -13
- package/dist/{index-CHmBsta9.js → index-D2_m0R2l.js} +5 -5
- package/dist/{index-DAXzq7uu.js → index-DOX0YT9e.js} +4 -4
- package/dist/{index-CLQ9HASO.cjs → index-DUHDMrf-.cjs} +1 -1
- package/dist/{index-yjvtX07s.cjs → index-DeA4WatI.cjs} +1 -1
- package/dist/{index-B7lSlV7E.cjs → index-DsRfAaso.cjs} +1 -1
- package/dist/{index-BBHFm2iM.cjs → index-DuOC15Bp.cjs} +1 -1
- package/dist/{index-CmTjNzGe.cjs → index-Dv-dYGo4.cjs} +1 -1
- package/dist/{index-BXA8NymH.js → index-DxgNmR4J.js} +1 -1
- package/dist/{index-N9l0sQDk.cjs → index-WCPJ3dXu.cjs} +1 -1
- package/dist/{index-pab41FX9.cjs → index-ZKAxM9UP.cjs} +1 -1
- package/dist/{index-Cl59VIo_.js → index-_HsqhTXc.js} +1 -1
- package/dist/{index-CjSi_bxO.js → index-c97ImmWg.js} +276 -277
- package/dist/{index-DJV9PW-O.js → index-cTKOCv4d.js} +3 -3
- package/dist/{index-hPZWA6vy.js → index-gGMxGKBe.js} +5 -5
- package/dist/{index-DUcFC5QR.js → index-ghP2FQO6.js} +9 -10
- package/dist/index-hkGxTDQI.cjs +1 -0
- package/dist/{index-CCOA_m4p.cjs → index-l6ZQIH9_.cjs} +1 -1
- package/dist/{index-BxQu4xAZ.js → index-nFOjgQUU.js} +7 -7
- package/dist/{index-MGcZxlDU.cjs → index-qXoh3FjE.cjs} +13 -13
- package/dist/index-uJ7gVJnC.cjs +1 -0
- package/dist/{index.vue_vue_type_script_setup_true_lang-BJBsxBwR.js → index.vue_vue_type_script_setup_true_lang-D9wCXH0S.js} +73 -74
- package/dist/index.vue_vue_type_script_setup_true_lang-YMZJ4qqu.cjs +1 -0
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-GhrhFO-6.cjs → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-7uyHrx8M.cjs} +65 -65
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-B_0YDw24.js → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-Dlje_9At.js} +38 -39
- package/dist/index.vue_vue_type_style_index_0_scoped_ed9fe0f5_lang-BU_aqMGK.cjs +1 -0
- package/dist/{index.vue_vue_type_style_index_0_scoped_ed9fe0f5_lang-CX4nu8jN.js → index.vue_vue_type_style_index_0_scoped_ed9fe0f5_lang-iOcoFMZu.js} +15 -16
- package/dist/index.vue_vue_type_style_index_0_scoped_f69cf49c_lang-Bl4BaO3_.cjs +56 -0
- package/dist/{index.vue_vue_type_style_index_0_scoped_f69cf49c_lang-Bwp55Vxz.js → index.vue_vue_type_style_index_0_scoped_f69cf49c_lang-DHUwgc4E.js} +7473 -7232
- package/dist/{login-DIBkb_Ni.cjs → login-YGxcpXMB.cjs} +1 -1
- package/dist/{login-dXHkkBvz.js → login-hsL9DHeX.js} +5 -5
- package/dist/{main-Dzut54zM.cjs → main-DaGPiOpb.cjs} +1 -1
- package/dist/{main-GHdUOTCX.js → main-ffJNfuoi.js} +6 -6
- package/dist/menu-W5FOvzIs.js +13327 -0
- package/dist/menu-awjMwLrA.cjs +21 -0
- package/dist/ss-component.cjs +1 -1
- package/dist/ss-component.css +1 -1
- package/dist/ss-component.js +14 -14
- package/dist/ss-component2.cjs +1 -1
- package/dist/ss-component2.js +65 -10
- package/dist/ss-component3.cjs +1 -1
- package/dist/ss-component3.js +10 -3
- package/dist/{threeModel-ySgAoNbc.cjs → threeModel-B-gROPIW.cjs} +1 -1
- package/dist/{threeModel-BcEteASy.js → threeModel-DQngYS2D.js} +1 -1
- package/dist/{threeModel.vue_vue_type_style_index_0_scoped_cbdfb9a2_lang-jEoHPxv7.js → threeModel.vue_vue_type_style_index_0_scoped_cbdfb9a2_lang-BOOm8T1l.js} +2 -2
- package/dist/{threeModel.vue_vue_type_style_index_0_scoped_cbdfb9a2_lang-D7l93TVF.cjs → threeModel.vue_vue_type_style_index_0_scoped_cbdfb9a2_lang-ep61RgF6.cjs} +1 -1
- package/package.json +1 -1
- package/dist/index-B6h0GH1d.js +0 -6591
- package/dist/index-BEmhmd-0.cjs +0 -1
- package/dist/index-C8JQF41P.cjs +0 -1
- package/dist/index-CzOGNmb9.cjs +0 -1
- package/dist/index-D7KccLa7.cjs +0 -1
- package/dist/index-o9sqGaM1.cjs +0 -6
- package/dist/index.vue_vue_type_script_setup_true_lang-CQkUba-9.cjs +0 -1
- package/dist/index.vue_vue_type_style_index_0_scoped_ed9fe0f5_lang-CHATjhxs.cjs +0 -1
- package/dist/index.vue_vue_type_style_index_0_scoped_f69cf49c_lang-DjzCTC5A.cjs +0 -56
- package/dist/menu-CQaafOdo.js +0 -7053
- package/dist/menu-UnnzwFWp.cjs +0 -16
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const x=require("vue"),c=require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
1
|
+
"use strict";const x=require("vue"),c=require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-7uyHrx8M.cjs"),D=[{key:"FormName",value:"Form"},{key:"TableName",value:"Table"},{key:"MenuName",value:"Menu"},{key:"GroupName",value:"Group"},{key:"SystemKey",value:"System"}],b=[{key:"FormDirect",value:"formFlex"},{key:"Form",value:"formContent"},{key:"FormButton",value:"formButton"},{key:"FormFlex",value:"formWrap"},{key:"TableColumns",value:"header"},{key:"TableButton",value:"extraButton"},{key:"TableLineButton",value:"rowButton"},{key:"Table",value:"tableContents"},{key:"TableIndex",value:"tableIndex"},{key:"Menus",value:"menuContents"},{key:"GroupContents",value:"groupContents"}];x.ref(0);const I=l=>{var t,r;if(Array.isArray(Object.keys(l))&&((t=Object.keys(l))==null?void 0:t.length)>0){let e=[];return(r=Object.entries(l))==null||r.forEach(([s,n])=>{var f,$;let a=[];if(a.push(s),((f=Object.keys(n))==null?void 0:f.length)>0){let y=[];($=I(n))==null||$.forEach(_=>{y.push(_)}),y==null||y.forEach(_=>{a.push(_)})}e.push(a)}),e}},R=(l,t)=>{var e;let r=t;return Array.isArray(Object.keys(l))&&((e=Object.entries(l))==null||e.forEach(([s,n])=>{let a=[s];if(typeof n=="object"&&n!==null){let f=I(n);f==null||f.forEach($=>{a.push($)})}r.push(a)})),r},X=l=>{const t={};return l.forEach(e=>{const s=e.split("/");let n=t;s.forEach(a=>{n[a]||(n[a]={}),n=n[a]})}),R(t,[])},Y=l=>X(l);x.ref(0);x.ref(1);const q=l=>{let t;l.replaceAll(" ",`\r
|
|
2
2
|
`).includes(`\r
|
|
3
3
|
`)?t=l.replaceAll(" ",`\r
|
|
4
4
|
`).split(`\r
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { p as Dl, a as fl, j as rl, q as Il, r as Tl, v as $l, w as El, x as tl, y as Bl, z as Fl, A as Al, B as Sl } from "./index-
|
|
1
|
+
import { p as Dl, a as fl, j as rl, q as Il, r as Tl, v as $l, w as El, x as tl, y as Bl, z as Fl, A as Al, B as Sl } from "./index-c97ImmWg.js";
|
|
2
2
|
import { ref as B, watch as Ie, createElementBlock as H, openBlock as R, createVNode as E, resolveComponent as ye, Fragment as be, renderList as _e, createElementVNode as f, createCommentVNode as Pe, toDisplayString as oe, withCtx as K, createBlock as ke, createTextVNode as fe, defineComponent as qe, reactive as nl, resolveDynamicComponent as Xe, unref as ml, computed as ol, renderSlot as Ye, createSlots as Ll, mergeProps as Ol, normalizeStyle as Rl, withModifiers as Qe } from "vue";
|
|
3
|
-
import {
|
|
4
|
-
import { d as Be, c as Fe, e as yl, _ as Nl, f as Pl, h as Ul, a as Wl } from "./index-
|
|
5
|
-
import { c as d, F as dl, t as jl, u as De, v as He, w as We, x as Ge, y as al } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
3
|
+
import { bA as hl, p as Ue, s as Je, E as Me, u as Vl, g as ll, c as cl } from "./menu-W5FOvzIs.js";
|
|
4
|
+
import { d as Be, c as Fe, e as yl, _ as Nl, f as Pl, h as Ul, a as Wl } from "./index-D0onf966.js";
|
|
5
|
+
import { c as d, F as dl, t as jl, u as De, v as He, w as We, x as Ge, y as al } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-Dlje_9At.js";
|
|
6
6
|
import { _ as we } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
7
|
-
import { E as Ke } from "./index-
|
|
8
|
-
import { u as bl } from "./threeModel.vue_vue_type_style_index_0_scoped_cbdfb9a2_lang-
|
|
9
|
-
import { s as zl, a as Ml } from "./index-
|
|
7
|
+
import { E as Ke } from "./index-CaEW7LNv.js";
|
|
8
|
+
import { u as bl } from "./threeModel.vue_vue_type_style_index_0_scoped_cbdfb9a2_lang-BOOm8T1l.js";
|
|
9
|
+
import { s as zl, a as Ml } from "./index-DOX0YT9e.js";
|
|
10
10
|
import Kl from "./index-CZtXRS3l.js";
|
|
11
11
|
const Jl = (k) => k.match(/\((.*)\)/)[1], Gl = hl("formComp", {
|
|
12
12
|
state: () => ({
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ref as u, computed as E, reactive as T, nextTick as R, watch as N } from "vue";
|
|
2
|
-
import {
|
|
3
|
-
import { u as G } from "./login-
|
|
4
|
-
import { c as C } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
5
|
-
const H =
|
|
2
|
+
import { bA as $, g as x, s as A, E as k, bx as j, bv as Q, by as V, u as q, p as K } from "./menu-W5FOvzIs.js";
|
|
3
|
+
import { u as G } from "./login-hsL9DHeX.js";
|
|
4
|
+
import { c as C } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-Dlje_9At.js";
|
|
5
|
+
const H = $("authorityState", {
|
|
6
6
|
state: () => ({
|
|
7
7
|
routerPageStructures: []
|
|
8
8
|
}),
|
|
@@ -215,7 +215,7 @@ const H = W("authorityState", {
|
|
|
215
215
|
const e = C(a);
|
|
216
216
|
e != null && e.id && delete e.id;
|
|
217
217
|
const c = ut(e, O.value), l = ot(e);
|
|
218
|
-
console.log(1222, e, l, b.value), t === "新增" ? p(
|
|
218
|
+
console.log(1222, e, l, b.value), t === "新增" ? p(j, {
|
|
219
219
|
key: {
|
|
220
220
|
type: "data",
|
|
221
221
|
systemKey: sessionStorage.getItem("systemKey"),
|
|
@@ -248,7 +248,7 @@ const H = W("authorityState", {
|
|
|
248
248
|
}, t).then((o) => {
|
|
249
249
|
t && o && k.success(t + "成功");
|
|
250
250
|
});
|
|
251
|
-
},
|
|
251
|
+
}, z = (a) => {
|
|
252
252
|
let t = [];
|
|
253
253
|
return a == null || a.forEach((s) => {
|
|
254
254
|
var e;
|
|
@@ -260,12 +260,12 @@ const H = W("authorityState", {
|
|
|
260
260
|
};
|
|
261
261
|
t = t.concat(c);
|
|
262
262
|
}
|
|
263
|
-
s.children && (t = t.concat(
|
|
263
|
+
s.children && (t = t.concat(z(s.children)));
|
|
264
264
|
}), t;
|
|
265
265
|
}, ht = () => {
|
|
266
266
|
d.value = {
|
|
267
267
|
...P.value,
|
|
268
|
-
roleAuthority:
|
|
268
|
+
roleAuthority: z(v.value)
|
|
269
269
|
// ['a' + authorityIndex]: checkedKeys
|
|
270
270
|
}, R(() => {
|
|
271
271
|
console.log("clickSubmitAuthority", d.value, w.value), I(d.value, "编辑", b.value);
|
|
@@ -325,13 +325,13 @@ const B = E(() => {
|
|
|
325
325
|
const c = /button/i;
|
|
326
326
|
let l = (i = (r = (n = e == null ? void 0 : e.value) == null ? void 0 : n.pageData) == null ? void 0 : r.compData) == null ? void 0 : i.filter((o) => c.test(o == null ? void 0 : o.key));
|
|
327
327
|
return l = Array.from(
|
|
328
|
-
new Set(l == null ? void 0 : l.flatMap((o) => o.contents.map((
|
|
328
|
+
new Set(l == null ? void 0 : l.flatMap((o) => o.contents.map((W) => W.label)))
|
|
329
329
|
), {
|
|
330
330
|
path: (f = e == null ? void 0 : e.key) == null ? void 0 : f.pageKey,
|
|
331
331
|
buttons: l
|
|
332
332
|
};
|
|
333
|
-
}), ...
|
|
334
|
-
}),
|
|
333
|
+
}), ...U.value];
|
|
334
|
+
}), U = u([]), D = (a, t) => {
|
|
335
335
|
if (Array.isArray(a))
|
|
336
336
|
return a == null ? void 0 : a.map((s) => {
|
|
337
337
|
var c, l;
|
|
@@ -397,7 +397,7 @@ const B = E(() => {
|
|
|
397
397
|
structureId: b,
|
|
398
398
|
submitTableAsyncByVerify: I,
|
|
399
399
|
tempRolePageData: dt,
|
|
400
|
-
tempSysMenus:
|
|
400
|
+
tempSysMenus: U,
|
|
401
401
|
treeRef: S
|
|
402
402
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
403
403
|
export {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue");require("./index-BpPyaNFa.cjs");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");require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-7uyHrx8M.cjs");require("./menu-awjMwLrA.cjs");const n=require("./index-BaFCKnyt.cjs"),r=require("./index-BgwEiVgl.cjs"),a=require("./index-l6ZQIH9_.cjs"),i=e.defineComponent({__name:"index",setup(u){const t=e.reactive({...r.State});return e.onMounted(async()=>{t.structureId=await a.getActivePageStructureId()}),(c,o)=>(e.openBlock(),e.createElementBlock("div",null,[e.createVNode(n.ssTable,{itemData:t.pageData,onChange:t.handleItemDataChange},null,8,["itemData","onChange"])]))}});exports.default=i;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as a, reactive as o, onMounted as c, createElementBlock as r, openBlock as s, createVNode as i } from "vue";
|
|
2
|
-
import { B as u } from "./index-
|
|
3
|
-
import { S as m } from "./index-
|
|
4
|
-
import { u as l, s as d } from "./menu-
|
|
5
|
-
import { u as g } from "./login-
|
|
6
|
-
import { g as p } from "./index-
|
|
2
|
+
import { B as u } from "./index-c97ImmWg.js";
|
|
3
|
+
import { S as m } from "./index-Bfx9-BjM.js";
|
|
4
|
+
import { u as l, s as d } from "./menu-W5FOvzIs.js";
|
|
5
|
+
import { u as g } from "./login-hsL9DHeX.js";
|
|
6
|
+
import { g as p } from "./index-A4h-EzBL.js";
|
|
7
7
|
const w = /* @__PURE__ */ a({
|
|
8
8
|
__name: "index",
|
|
9
9
|
setup(f) {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { ref as
|
|
2
|
-
import { s as $, g as q, u as ve, E as F, p as H,
|
|
3
|
-
import { u as Pe } from "./threeModel.vue_vue_type_style_index_0_scoped_cbdfb9a2_lang-
|
|
4
|
-
import { u as xe, B as Ee } from "./index-
|
|
5
|
-
import { h as Ke } from "./index-
|
|
1
|
+
import { ref as b, computed as U, reactive as de, nextTick as N, watch as fe, defineComponent as Se, onMounted as we, resolveComponent as A, resolveDirective as Me, createElementBlock as se, openBlock as ue, createVNode as I, withCtx as w, withDirectives as Fe, createElementVNode as ce, createTextVNode as ie } from "vue";
|
|
2
|
+
import { s as $, g as q, u as ve, E as F, p as H, bx as he, bv as be, by as Be, bt as Ne } from "./menu-W5FOvzIs.js";
|
|
3
|
+
import { u as Pe } from "./threeModel.vue_vue_type_style_index_0_scoped_cbdfb9a2_lang-BOOm8T1l.js";
|
|
4
|
+
import { u as xe, B as Ee } from "./index-c97ImmWg.js";
|
|
5
|
+
import { h as Ke } from "./index-Bfx9-BjM.js";
|
|
6
6
|
import { a as Ae } from "./menuIndex-BWim3TlH.js";
|
|
7
|
-
import { c as W } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
8
|
-
import { c as He, d as Re } from "./index-
|
|
7
|
+
import { c as W } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-Dlje_9At.js";
|
|
8
|
+
import { c as He, d as Re } from "./index-D0onf966.js";
|
|
9
9
|
import { _ as Oe } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
10
|
-
const B = Pe(H), { isEdit:
|
|
10
|
+
const B = Pe(H), { isEdit: Ve } = $(B), ye = xe(H), C = ve(H), { menus: Ce, configMenu: V, activeMenuPath: G, cacheStructures: M } = $(C), Q = b(!1), je = U(() => {
|
|
11
11
|
var t, e;
|
|
12
12
|
return [
|
|
13
13
|
{
|
|
@@ -67,7 +67,7 @@ const B = Pe(H), { isEdit: je } = $(B), be = xe(H), C = ve(H), { menus: Ce, conf
|
|
|
67
67
|
}))) == null ? void 0 : e.filter((l) => l.title !== "系统管理" && l.title !== "平台管理")
|
|
68
68
|
}
|
|
69
69
|
];
|
|
70
|
-
}), X =
|
|
70
|
+
}), X = b([]), j = b([
|
|
71
71
|
{
|
|
72
72
|
// label: "新增",
|
|
73
73
|
label: "新建"
|
|
@@ -75,7 +75,7 @@ const B = Pe(H), { isEdit: je } = $(B), be = xe(H), C = ve(H), { menus: Ce, conf
|
|
|
75
75
|
]), ze = U(() => [
|
|
76
76
|
{
|
|
77
77
|
key: "extraButton",
|
|
78
|
-
contents:
|
|
78
|
+
contents: j.value
|
|
79
79
|
},
|
|
80
80
|
{
|
|
81
81
|
key: "rowButton",
|
|
@@ -170,7 +170,7 @@ const B = Pe(H), { isEdit: je } = $(B), be = xe(H), C = ve(H), { menus: Ce, conf
|
|
|
170
170
|
key: "tableContents",
|
|
171
171
|
contents: X.value
|
|
172
172
|
}
|
|
173
|
-
]), Y =
|
|
173
|
+
]), Y = b([]), _ = b({}), Je = b({}), z = b([
|
|
174
174
|
// {
|
|
175
175
|
// label: "配置菜单:",
|
|
176
176
|
// prop: 'menu',
|
|
@@ -274,7 +274,7 @@ const B = Pe(H), { isEdit: je } = $(B), be = xe(H), C = ve(H), { menus: Ce, conf
|
|
|
274
274
|
...l,
|
|
275
275
|
value: t ? t[l == null ? void 0 : l.prop] : ""
|
|
276
276
|
}) : z.value;
|
|
277
|
-
}, Le =
|
|
277
|
+
}, Le = b([
|
|
278
278
|
{
|
|
279
279
|
label: "查询"
|
|
280
280
|
},
|
|
@@ -291,12 +291,12 @@ const B = Pe(H), { isEdit: je } = $(B), be = xe(H), C = ve(H), { menus: Ce, conf
|
|
|
291
291
|
...e,
|
|
292
292
|
value: e == null ? void 0 : e.title,
|
|
293
293
|
label: e == null ? void 0 : e.title
|
|
294
|
-
}),
|
|
294
|
+
}), d = de({
|
|
295
295
|
show: !1,
|
|
296
296
|
title: "菜单配置",
|
|
297
297
|
width: "30%",
|
|
298
298
|
type: "create"
|
|
299
|
-
}), Z =
|
|
299
|
+
}), Z = b([]), h = b({}), y = b(null), Te = b([]), Ie = U(() => {
|
|
300
300
|
var t;
|
|
301
301
|
return (t = ke(Ce.value)) == null ? void 0 : t.filter((e) => e.title !== "系统管理" && e.title !== "平台管理");
|
|
302
302
|
}), _e = async (t) => {
|
|
@@ -324,10 +324,10 @@ const B = Pe(H), { isEdit: je } = $(B), be = xe(H), C = ve(H), { menus: Ce, conf
|
|
|
324
324
|
}
|
|
325
325
|
}, $e = async (t) => {
|
|
326
326
|
var e;
|
|
327
|
-
Q.value = !0,
|
|
327
|
+
Q.value = !0, y.value = {
|
|
328
328
|
...t,
|
|
329
329
|
rootNode: Ae(Ie.value, t.path)
|
|
330
|
-
}, C.setCacheStructures(null), (t == null ? void 0 : t.level) === 0 ?
|
|
330
|
+
}, C.setCacheStructures(null), (t == null ? void 0 : t.level) === 0 ? j.value.splice(0) : (j.value = [{ label: "新建" }], Z.value = (e = t == null ? void 0 : t.path) == null ? void 0 : e.split("/")), await C.setConfigMenu(null), await _e(t == null ? void 0 : t.path), await R(t);
|
|
331
331
|
}, qe = (t) => {
|
|
332
332
|
switch (t) {
|
|
333
333
|
case "新建":
|
|
@@ -339,9 +339,9 @@ const B = Pe(H), { isEdit: je } = $(B), be = xe(H), C = ve(H), { menus: Ce, conf
|
|
|
339
339
|
}
|
|
340
340
|
}, We = async (t, e) => {
|
|
341
341
|
var l, s;
|
|
342
|
-
if (!
|
|
343
|
-
if (
|
|
344
|
-
switch (
|
|
342
|
+
if (!y.value) return F.warning("请先选择菜单");
|
|
343
|
+
if (d.type = qe(t), Z.value = [], B.setSubmitCurStructure(!1), ye.setSelectTitle([]), h.value = W(e), d.type !== "delete") {
|
|
344
|
+
switch (d.type) {
|
|
345
345
|
case "create":
|
|
346
346
|
J(null), await C.setConfigMenu(null);
|
|
347
347
|
break;
|
|
@@ -349,14 +349,14 @@ const B = Pe(H), { isEdit: je } = $(B), be = xe(H), C = ve(H), { menus: Ce, conf
|
|
|
349
349
|
J(h.value), await C.setConfigMenu(h.value), console.log("clickRowButton", h.value);
|
|
350
350
|
break;
|
|
351
351
|
}
|
|
352
|
-
await N(),
|
|
352
|
+
await N(), d.title = `【${d.type === "create" ? (l = y.value) == null ? void 0 : l.path : (s = h.value) == null ? void 0 : s.path}】菜单配置${t}`, d.show = !0;
|
|
353
353
|
} else
|
|
354
|
-
await De(h.value,
|
|
355
|
-
}, L =
|
|
354
|
+
await De(h.value, d.type);
|
|
355
|
+
}, L = b(!0), Ge = async (t) => {
|
|
356
356
|
var e;
|
|
357
357
|
_.value = t, await C.setConfigMenu({
|
|
358
358
|
..._.value,
|
|
359
|
-
path: (e =
|
|
359
|
+
path: (e = y.value) == null ? void 0 : e.path
|
|
360
360
|
}), L.value = (t == null ? void 0 : t.operateType) !== "新增", console.log("7890changeTrigger", L.value);
|
|
361
361
|
};
|
|
362
362
|
fe(() => L.value, async (t) => {
|
|
@@ -369,10 +369,10 @@ fe(() => L.value, async (t) => {
|
|
|
369
369
|
value: _.value ? _.value[l == null ? void 0 : l.prop] : ""
|
|
370
370
|
}), console.log(7890, t);
|
|
371
371
|
}, { immediate: !0, deep: !0 });
|
|
372
|
-
const Qe =
|
|
372
|
+
const Qe = b(null), Xe = async (t, e) => {
|
|
373
373
|
var r, p, c, u, f;
|
|
374
|
-
if (
|
|
375
|
-
const o = (p = (r = M.value) == null ? void 0 : r.filter((
|
|
374
|
+
if (d.type === "create") {
|
|
375
|
+
const o = (p = (r = M.value) == null ? void 0 : r.filter((g) => (g == null ? void 0 : g.key) === e)) == null ? void 0 : p.flatMap((g) => g == null ? void 0 : g.data);
|
|
376
376
|
console.log("clickTrigger", e, M.value, o), B.setItemData(o), C.setCacheStructures({
|
|
377
377
|
key: e,
|
|
378
378
|
data: o
|
|
@@ -385,15 +385,15 @@ const Qe = y(null), Xe = async (t, e) => {
|
|
|
385
385
|
return q({ id: o });
|
|
386
386
|
});
|
|
387
387
|
const n = await Promise.all(s), i = n == null ? void 0 : n.every((o) => {
|
|
388
|
-
var
|
|
389
|
-
return ((
|
|
388
|
+
var g;
|
|
389
|
+
return ((g = o == null ? void 0 : o.data) == null ? void 0 : g.code) === 200;
|
|
390
390
|
});
|
|
391
391
|
if (console.log("getTriggerStructures2", t == null ? void 0 : t.structureIds, e, n), i && (n == null ? void 0 : n.length) > 0) {
|
|
392
|
-
const o = n == null ? void 0 : n.map((
|
|
392
|
+
const o = n == null ? void 0 : n.map((g) => {
|
|
393
393
|
var k, T, P, x, E, a, K;
|
|
394
394
|
return {
|
|
395
|
-
id: (P = (T = (k =
|
|
396
|
-
...(K = (a = (E = (x =
|
|
395
|
+
id: (P = (T = (k = g == null ? void 0 : g.data) == null ? void 0 : k.result) == null ? void 0 : T[0]) == null ? void 0 : P.id,
|
|
396
|
+
...(K = (a = (E = (x = g == null ? void 0 : g.data) == null ? void 0 : x.result) == null ? void 0 : E[0]) == null ? void 0 : a.value) == null ? void 0 : K.pageData
|
|
397
397
|
};
|
|
398
398
|
});
|
|
399
399
|
B.setItemData(o), C.setCacheStructures({
|
|
@@ -412,10 +412,10 @@ const Qe = y(null), Xe = async (t, e) => {
|
|
|
412
412
|
value: (p = h.value) == null ? void 0 : p.title
|
|
413
413
|
}));
|
|
414
414
|
let s;
|
|
415
|
-
|
|
415
|
+
d.type === "create" ? s = {
|
|
416
416
|
..._.value,
|
|
417
|
-
path: (c =
|
|
418
|
-
} :
|
|
417
|
+
path: (c = y.value) == null ? void 0 : c.path
|
|
418
|
+
} : d.type === "update" && (s = V.value), await C.setConfigMenu(s), ye.setSelectTitle(l), B.setIsEdit("edit");
|
|
419
419
|
}, R = async (t) => {
|
|
420
420
|
var l, s, n, i, r, p;
|
|
421
421
|
const e = await q({
|
|
@@ -441,9 +441,9 @@ const Qe = y(null), Xe = async (t, e) => {
|
|
|
441
441
|
e === "create" ? (u = {
|
|
442
442
|
key: {
|
|
443
443
|
systemKey: sessionStorage.getItem("systemKey"),
|
|
444
|
-
pageKey: G.value + "/" + ((s =
|
|
444
|
+
pageKey: G.value + "/" + ((s = y.value) == null ? void 0 : s.path),
|
|
445
445
|
type: "structure",
|
|
446
|
-
rootNodePath: (i = (n =
|
|
446
|
+
rootNodePath: (i = (n = y.value) == null ? void 0 : n.rootNode) == null ? void 0 : i.path,
|
|
447
447
|
structureBelong: l,
|
|
448
448
|
parentTable: "",
|
|
449
449
|
version: 1
|
|
@@ -465,17 +465,17 @@ const Qe = y(null), Xe = async (t, e) => {
|
|
|
465
465
|
value: {
|
|
466
466
|
pageData: t
|
|
467
467
|
}
|
|
468
|
-
}, f =
|
|
468
|
+
}, f = be) : e === "delete" && (u = {
|
|
469
469
|
id: t
|
|
470
470
|
}, f = Be);
|
|
471
471
|
const o = await f(u);
|
|
472
472
|
if (((r = o == null ? void 0 : o.data) == null ? void 0 : r.code) !== 200)
|
|
473
473
|
throw F.error("保存响应失败"), new Error("保存响应失败");
|
|
474
|
-
const
|
|
475
|
-
return console.log("查看返回的数据id:", e,
|
|
474
|
+
const g = e === "create" ? (p = o == null ? void 0 : o.data) == null ? void 0 : p.result : t == null ? void 0 : t.id;
|
|
475
|
+
return console.log("查看返回的数据id:", e, g), {
|
|
476
476
|
status: ((c = o == null ? void 0 : o.data) == null ? void 0 : c.code) === 200,
|
|
477
477
|
data: {
|
|
478
|
-
id:
|
|
478
|
+
id: g,
|
|
479
479
|
key: l
|
|
480
480
|
}
|
|
481
481
|
};
|
|
@@ -491,7 +491,7 @@ const Qe = y(null), Xe = async (t, e) => {
|
|
|
491
491
|
createComps: r,
|
|
492
492
|
updateComps: p
|
|
493
493
|
};
|
|
494
|
-
},
|
|
494
|
+
}, ge = (t, e) => {
|
|
495
495
|
var s, n, i, r, p, c;
|
|
496
496
|
let l = [];
|
|
497
497
|
return ((s = e == null ? void 0 : e.deleteIds) == null ? void 0 : s.length) > 0 && ((n = e == null ? void 0 : e.deleteIds) == null || n.forEach((u) => {
|
|
@@ -513,21 +513,21 @@ const Qe = y(null), Xe = async (t, e) => {
|
|
|
513
513
|
const u = t == null ? void 0 : t.filter((a) => (a == null ? void 0 : a.key) === "contentConfig"), f = t == null ? void 0 : t.filter((a) => (a == null ? void 0 : a.key) === "dialogConfig");
|
|
514
514
|
await N();
|
|
515
515
|
const o = (n = (s = (l = M.value) == null ? void 0 : l.filter((a) => (a == null ? void 0 : a.key) === "dialogConfig")) == null ? void 0 : s.flatMap((a) => a == null ? void 0 : a.data)) == null ? void 0 : n.map((a) => a == null ? void 0 : a.id);
|
|
516
|
-
let
|
|
517
|
-
console.log("submitMenuStructures", o,
|
|
518
|
-
const k = pe(f, o), T = pe(u,
|
|
516
|
+
let g = (p = (r = (i = M.value) == null ? void 0 : i.filter((a) => (a == null ? void 0 : a.key) === "contentConfig")) == null ? void 0 : r.flatMap((a) => a == null ? void 0 : a.data)) == null ? void 0 : p.map((a) => a == null ? void 0 : a.id);
|
|
517
|
+
console.log("submitMenuStructures", o, g), g = [...g, ...(c = Te.value) == null ? void 0 : c.map((a) => a == null ? void 0 : a.id)];
|
|
518
|
+
const k = pe(f, o), T = pe(u, g);
|
|
519
519
|
console.log("clickSubmitForm1", f, u, k, T, e);
|
|
520
|
-
const P =
|
|
520
|
+
const P = ge("dialogConfig", k), x = ge("contentConfig", T), E = [...P, ...x];
|
|
521
521
|
await Promise.all(E).then((a) => {
|
|
522
522
|
var ee, te, le, oe, ae, ne, re;
|
|
523
523
|
const K = a == null ? void 0 : a.every((v) => v.status);
|
|
524
524
|
if (console.log("clickSubmitForm3Promise:", a, h.value, k, T), !K) return;
|
|
525
525
|
let D = (ee = a == null ? void 0 : a.flatMap((v) => v == null ? void 0 : v.data)) == null ? void 0 : ee.filter((v) => (v == null ? void 0 : v.id) !== null && (v == null ? void 0 : v.id) !== void 0);
|
|
526
|
-
if (console.log("clickSubmitForm4Promise:", D, k, T, h.value), ((te = k == null ? void 0 : k.updateComps) == null ? void 0 : te.length) === 0 &&
|
|
526
|
+
if (console.log("clickSubmitForm4Promise:", D, k, T, h.value), ((te = k == null ? void 0 : k.updateComps) == null ? void 0 : te.length) === 0 && d.type === "update") {
|
|
527
527
|
const v = (oe = (le = h.value) == null ? void 0 : le.structureIds) == null ? void 0 : oe.filter((S) => (S == null ? void 0 : S.key) === "dialogConfig");
|
|
528
528
|
D = [...D, ...v];
|
|
529
529
|
}
|
|
530
|
-
if (console.log("clickSubmitForm5Promise:", D), ((ae = T == null ? void 0 : T.updateComps) == null ? void 0 : ae.length) === 0 &&
|
|
530
|
+
if (console.log("clickSubmitForm5Promise:", D), ((ae = T == null ? void 0 : T.updateComps) == null ? void 0 : ae.length) === 0 && d.type === "update") {
|
|
531
531
|
const v = (re = (ne = h.value) == null ? void 0 : ne.structureIds) == null ? void 0 : re.filter((S) => (S == null ? void 0 : S.key) === "contentConfig");
|
|
532
532
|
D = [...D, ...v];
|
|
533
533
|
}
|
|
@@ -536,7 +536,7 @@ const Qe = y(null), Xe = async (t, e) => {
|
|
|
536
536
|
...e,
|
|
537
537
|
isNotInitial: !0,
|
|
538
538
|
structureIds: m
|
|
539
|
-
},
|
|
539
|
+
}, d.type);
|
|
540
540
|
}).catch((a) => {
|
|
541
541
|
F.error(a);
|
|
542
542
|
});
|
|
@@ -550,7 +550,7 @@ const Qe = y(null), Xe = async (t, e) => {
|
|
|
550
550
|
key: {
|
|
551
551
|
type: "menuConfigData",
|
|
552
552
|
systemKey: sessionStorage.getItem("systemKey"),
|
|
553
|
-
pageKey: G.value + "/" + ((n =
|
|
553
|
+
pageKey: G.value + "/" + ((n = y.value) == null ? void 0 : n.path),
|
|
554
554
|
tableId: "",
|
|
555
555
|
rootNodePath: t == null ? void 0 : t.rootNodePath
|
|
556
556
|
},
|
|
@@ -568,31 +568,31 @@ const Qe = y(null), Xe = async (t, e) => {
|
|
|
568
568
|
value: {
|
|
569
569
|
tableData: t
|
|
570
570
|
}
|
|
571
|
-
}, s =
|
|
571
|
+
}, s = be) : e === "delete" && (l = {
|
|
572
572
|
ids: [t.id, ...(i = t == null ? void 0 : t.structureIds) == null ? void 0 : i.map((r) => r.id)]
|
|
573
573
|
}, s = Ne), Ke(s, l, e).then((r) => {
|
|
574
574
|
e === "create" && X.value.push({
|
|
575
575
|
...t,
|
|
576
576
|
id: r
|
|
577
|
-
}), e && r && F.success("响应成功"), R(
|
|
577
|
+
}), e && r && F.success("响应成功"), R(y.value);
|
|
578
578
|
});
|
|
579
579
|
}, et = async () => {
|
|
580
580
|
var l, s, n, i, r;
|
|
581
581
|
const t = JSON.parse(W(JSON.stringify(M.value)));
|
|
582
582
|
console.log("clickSubmitForm-1", t), await N();
|
|
583
|
-
const e =
|
|
584
|
-
...
|
|
585
|
-
rootNodePath: (s = (l =
|
|
583
|
+
const e = d.type === "create" ? {
|
|
584
|
+
...V.value,
|
|
585
|
+
rootNodePath: (s = (l = y.value) == null ? void 0 : l.rootNode) == null ? void 0 : s.path
|
|
586
586
|
} : {
|
|
587
|
-
...
|
|
588
|
-
rootNodePath: (i = (n =
|
|
587
|
+
...V.value,
|
|
588
|
+
rootNodePath: (i = (n = y.value) == null ? void 0 : n.rootNode) == null ? void 0 : i.path,
|
|
589
589
|
id: (r = h.value) == null ? void 0 : r.id
|
|
590
590
|
};
|
|
591
|
-
await me(t, e), _.value = {},
|
|
591
|
+
await me(t, e), _.value = {}, d.show = !1, await R(y.value);
|
|
592
592
|
}, tt = () => {
|
|
593
|
-
|
|
593
|
+
d.show = !1;
|
|
594
594
|
};
|
|
595
|
-
fe(() =>
|
|
595
|
+
fe(() => Ve.value, (t) => {
|
|
596
596
|
console.log("返回时查看:", t, M.value);
|
|
597
597
|
}, { immediate: !0 });
|
|
598
598
|
const lt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
@@ -605,7 +605,7 @@ const lt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
605
605
|
clickRowButton: We,
|
|
606
606
|
clickSubmitForm: et,
|
|
607
607
|
clickTrigger: Ye,
|
|
608
|
-
dialogInfo:
|
|
608
|
+
dialogInfo: d,
|
|
609
609
|
formatFormData: J,
|
|
610
610
|
getInitialSubStructure: _e,
|
|
611
611
|
getTableDataAsync: R,
|
|
@@ -613,7 +613,7 @@ const lt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
613
613
|
inputForm: _,
|
|
614
614
|
menuPageData: ze,
|
|
615
615
|
operatingForm: Qe,
|
|
616
|
-
pageData:
|
|
616
|
+
pageData: je,
|
|
617
617
|
renderFormData: Y,
|
|
618
618
|
tableLoading: Q,
|
|
619
619
|
treeData: Ie
|
|
@@ -623,7 +623,7 @@ const lt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
623
623
|
}, nt = { class: "module-dialog-default" }, rt = /* @__PURE__ */ Se({
|
|
624
624
|
__name: "index",
|
|
625
625
|
setup(t) {
|
|
626
|
-
const e =
|
|
626
|
+
const e = de({ ...lt }), l = b(null), s = ve(H), { configMenu: n } = $(s);
|
|
627
627
|
return we(() => {
|
|
628
628
|
var i;
|
|
629
629
|
e.formatFormData(n.value), N(() => {
|
|
@@ -1,23 +1,22 @@
|
|
|
1
1
|
import { resolveComponent as y, createBlock as b, openBlock as s, withCtx as o, createVNode as e, createElementVNode as h, toDisplayString as te, ref as c, onMounted as ft, watch as I, createElementBlock as A, Fragment as Ce, renderList as Me, createCommentVNode as D, normalizeStyle as _t, defineComponent as Xe, computed as ke, resolveDirective as qe, withDirectives as Fe, unref as t, createTextVNode as L, renderSlot as he, vShow as Re, resolveDynamicComponent as He } from "vue";
|
|
2
|
-
import { m as Pe, a as xe, b as De } from "./index-
|
|
3
|
-
import Je from "./index-
|
|
4
|
-
import { _ as vt, o as We, c as Qe, a as Ye, b as Ze, d as et, s as ee, g as tt, e as at, f as ot, h as nt, i as gt, j as yt } from "./index.vue_vue_type_style_index_0_scoped_f69cf49c_lang-
|
|
2
|
+
import { m as Pe, a as xe, b as De } from "./index-nFOjgQUU.js";
|
|
3
|
+
import Je from "./index-_HsqhTXc.js";
|
|
4
|
+
import { _ as vt, o as We, c as Qe, a as Ye, b as Ze, d as et, s as ee, g as tt, e as at, f as ot, h as nt, i as gt, j as yt } from "./index.vue_vue_type_style_index_0_scoped_f69cf49c_lang-DHUwgc4E.js";
|
|
5
5
|
import { _ as fe } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
|
-
import { p as X, s as G, u as Te,
|
|
7
|
-
import { u as
|
|
6
|
+
import { p as X, s as G, u as Te, d as lt, c as ye, g as Ct } from "./menu-W5FOvzIs.js";
|
|
7
|
+
import { u as st } from "./login-hsL9DHeX.js";
|
|
8
8
|
import { S as pe } from "./index-BHtNKL1L.js";
|
|
9
|
-
import { u as Se } from "./threeModel.vue_vue_type_style_index_0_scoped_cbdfb9a2_lang-
|
|
10
|
-
import { u as je, a as wt, l as
|
|
11
|
-
import { s as
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
import {
|
|
17
|
-
import { d as Ge } from "./index-B2kFXC1k.js";
|
|
9
|
+
import { u as Se } from "./threeModel.vue_vue_type_style_index_0_scoped_cbdfb9a2_lang-BOOm8T1l.js";
|
|
10
|
+
import { u as je, a as wt, l as it } from "./index-c97ImmWg.js";
|
|
11
|
+
import { s as rt, _ as Bt } from "./index-D0onf966.js";
|
|
12
|
+
import { _ as ut } from "./index.vue_vue_type_script_setup_true_lang-D9wCXH0S.js";
|
|
13
|
+
import { c as be } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-Dlje_9At.js";
|
|
14
|
+
import kt from "./threeModel-DQngYS2D.js";
|
|
15
|
+
import { u as Ft } from "./index-6N0i8tHG.js";
|
|
16
|
+
import { d as Ge } from "./index-B_CAnpvt.js";
|
|
18
17
|
import "vue-router";
|
|
19
|
-
import { a as Rt } from "./array-
|
|
20
|
-
import { c as bt, b as Tt } from "./index.vue_vue_type_style_index_0_scoped_ed9fe0f5_lang-
|
|
18
|
+
import { a as Rt } from "./array-HVQANKzE.js";
|
|
19
|
+
import { c as bt, b as Tt } from "./index.vue_vue_type_style_index_0_scoped_ed9fe0f5_lang-iOcoFMZu.js";
|
|
21
20
|
function St(w, W, a, B, S, V) {
|
|
22
21
|
const n = y("svg-icon"), M = y("ssMenu");
|
|
23
22
|
return s(), b(M, {
|
|
@@ -97,7 +96,7 @@ const ct = /* @__PURE__ */ fe(vt, [["render", St], ["__scopeId", "data-v-5c2d7ed
|
|
|
97
96
|
}
|
|
98
97
|
},
|
|
99
98
|
setup(w) {
|
|
100
|
-
const W = je(X), { selectTitle: a } = G(W), B =
|
|
99
|
+
const W = je(X), { selectTitle: a } = G(W), B = st(), { loginUserInfo: S } = G(B), V = Se(X), { isEdit: n, routeToChildPath: M } = G(V), T = Te(X), { importLoading: j, activeTopMenuPath: z, activeAsideMenu: ie } = G(T), _ = c(""), N = ke(() => ie.value.isRouter), q = () => {
|
|
101
100
|
sessionStorage.clear(), window.location.reload();
|
|
102
101
|
}, U = () => {
|
|
103
102
|
T.setActiveMenuPath(M.value), V.setRouteToChildPath("");
|
|
@@ -210,7 +209,7 @@ const ct = /* @__PURE__ */ fe(vt, [["render", St], ["__scopeId", "data-v-5c2d7ed
|
|
|
210
209
|
prefix: o(() => [
|
|
211
210
|
e(de, { class: "el-input__icon" }, {
|
|
212
211
|
default: o(() => [
|
|
213
|
-
e(t(
|
|
212
|
+
e(t(lt))
|
|
214
213
|
]),
|
|
215
214
|
_: 1
|
|
216
215
|
})
|
|
@@ -443,7 +442,7 @@ const ct = /* @__PURE__ */ fe(vt, [["render", St], ["__scopeId", "data-v-5c2d7ed
|
|
|
443
442
|
c(0), c(!1);
|
|
444
443
|
const { selectTitle: B } = G(a), S = c(!1), V = c(!1);
|
|
445
444
|
c(!1);
|
|
446
|
-
const n = wt(X), M = c(!1), { tableShowThree: T } = G(n), j =
|
|
445
|
+
const n = wt(X), M = c(!1), { tableShowThree: T } = G(n), j = st(), { loginUserInfo: z } = G(j);
|
|
447
446
|
c(null);
|
|
448
447
|
const ie = Se(X), { isEdit: _ } = G(ie), N = Te(X), q = Ft(X), { objUrl: U, blobUrls: k } = G(q), p = c(null);
|
|
449
448
|
c(!1);
|
|
@@ -758,7 +757,7 @@ const ct = /* @__PURE__ */ fe(vt, [["render", St], ["__scopeId", "data-v-5c2d7ed
|
|
|
758
757
|
prefix: o(() => [
|
|
759
758
|
e(E, { class: "el-input__icon" }, {
|
|
760
759
|
default: o(() => [
|
|
761
|
-
e(t(
|
|
760
|
+
e(t(lt))
|
|
762
761
|
]),
|
|
763
762
|
_: 1
|
|
764
763
|
})
|
|
@@ -938,7 +937,7 @@ const ct = /* @__PURE__ */ fe(vt, [["render", St], ["__scopeId", "data-v-5c2d7ed
|
|
|
938
937
|
let _ = [], N = [];
|
|
939
938
|
B.setSelectTitle([]), B.setSelectIndex(""), B.setSelectMenu(""), (p = (k = n == null ? void 0 : n.content) == null ? void 0 : k.filter((O) => O !== "")) == null || p.forEach((O) => {
|
|
940
939
|
N.push(gt(O));
|
|
941
|
-
}), _ = N == null ? void 0 : N[0], await yt(_), await
|
|
940
|
+
}), _ = N == null ? void 0 : N[0], await yt(_), await it(), a.setOriginalData(_), S.setImportLoading(!1);
|
|
942
941
|
},
|
|
943
942
|
{ deep: !0, immediate: !0 }
|
|
944
943
|
), (_, N) => (s(), A("div", la, [
|
|
@@ -1057,7 +1056,7 @@ const ct = /* @__PURE__ */ fe(vt, [["render", St], ["__scopeId", "data-v-5c2d7ed
|
|
|
1057
1056
|
return I(
|
|
1058
1057
|
() => [a == null ? void 0 : a.content, a == null ? void 0 : a.jsonContents],
|
|
1059
1058
|
async () => {
|
|
1060
|
-
await
|
|
1059
|
+
await it(), S.value = a.content, M.value = a == null ? void 0 : a.jsonContents;
|
|
1061
1060
|
},
|
|
1062
1061
|
{ deep: !0, immediate: !0 }
|
|
1063
1062
|
), I(
|
|
@@ -1131,7 +1130,7 @@ const ct = /* @__PURE__ */ fe(vt, [["render", St], ["__scopeId", "data-v-5c2d7ed
|
|
|
1131
1130
|
]);
|
|
1132
1131
|
};
|
|
1133
1132
|
}
|
|
1134
|
-
},
|
|
1133
|
+
}, xa = /* @__PURE__ */ fe(pa, [["__scopeId", "data-v-f69cf49c"]]);
|
|
1135
1134
|
export {
|
|
1136
|
-
|
|
1135
|
+
xa as default
|
|
1137
1136
|
};
|