ss-component-new 1.3.229 → 1.3.231
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.
|
@@ -148,7 +148,7 @@ function It(p = "menu") {
|
|
|
148
148
|
activeMenuPath: a,
|
|
149
149
|
linkMenuInfo: b,
|
|
150
150
|
updateMenuStatus: D
|
|
151
|
-
} = ae(n), J = Qe(), { structureData: Y } = ae(J), _ = O([]), nA = O([]), iA = Ie(() => q == null ? void 0 : q.mode),
|
|
151
|
+
} = ae(n), J = Qe(), { structureData: Y } = ae(J), _ = O([]), nA = O([]), iA = Ie(() => q == null ? void 0 : q.mode), AA = O({}), z = (A) => A == null ? void 0 : A.map((e) => e.children && e.children.length > 0 ? {
|
|
152
152
|
...e,
|
|
153
153
|
// 水平菜单仅显示一层
|
|
154
154
|
children: e.level === 0 ? [] : e.children ?? [],
|
|
@@ -157,9 +157,9 @@ function It(p = "menu") {
|
|
|
157
157
|
var I, V;
|
|
158
158
|
return (V = (I = nA.value) == null ? void 0 : I.find((C) => (A.title + e).includes(C.value))) == null ? void 0 : V.value;
|
|
159
159
|
}, VA = (A, e = "", I = 0) => {
|
|
160
|
-
var
|
|
160
|
+
var $;
|
|
161
161
|
let V = re(A);
|
|
162
|
-
const C = Array.from(/* @__PURE__ */ new Set([...(
|
|
162
|
+
const C = Array.from(/* @__PURE__ */ new Set([...($ = Y.value) == null ? void 0 : $.map((f) => {
|
|
163
163
|
var r;
|
|
164
164
|
return (r = f == null ? void 0 : f.key) == null ? void 0 : r.pageKey;
|
|
165
165
|
})]));
|
|
@@ -193,7 +193,7 @@ function It(p = "menu") {
|
|
|
193
193
|
const e = z(A);
|
|
194
194
|
return Ya(e), n.setMenus(e), e;
|
|
195
195
|
}), SA = async (A) => {
|
|
196
|
-
var C, B,
|
|
196
|
+
var C, B, $;
|
|
197
197
|
let e, I;
|
|
198
198
|
(A == null ? void 0 : A.level) === 0 ? I = {
|
|
199
199
|
key: {
|
|
@@ -211,13 +211,13 @@ function It(p = "menu") {
|
|
|
211
211
|
}
|
|
212
212
|
};
|
|
213
213
|
const V = await Ke(I);
|
|
214
|
-
return ((C = V == null ? void 0 : V.data) == null ? void 0 : C.code) === 200 && (e = (
|
|
214
|
+
return ((C = V == null ? void 0 : V.data) == null ? void 0 : C.code) === 200 && (e = ($ = (B = V.data) == null ? void 0 : B.result) == null ? void 0 : $.map((f) => {
|
|
215
215
|
var r;
|
|
216
216
|
return {
|
|
217
217
|
id: f == null ? void 0 : f.id,
|
|
218
218
|
...(r = f == null ? void 0 : f.value) == null ? void 0 : r.tableData
|
|
219
219
|
};
|
|
220
|
-
}), (A == null ? void 0 : A.level) === 0 && (
|
|
220
|
+
}), (A == null ? void 0 : A.level) === 0 && (AA.value = re(e))), (e == null ? void 0 : e.length) > 0 ? e : null;
|
|
221
221
|
}, jA = (A, e) => {
|
|
222
222
|
var V, C;
|
|
223
223
|
const I = A == null ? void 0 : A.find((B) => (B == null ? void 0 : B.operateType) === "新增");
|
|
@@ -235,11 +235,11 @@ function It(p = "menu") {
|
|
|
235
235
|
}, x = O(null), cA = async (A, e = null) => await Promise.all(
|
|
236
236
|
A == null ? void 0 : A.map(async (I) => {
|
|
237
237
|
var B;
|
|
238
|
-
let V = await w(I,
|
|
239
|
-
const C = (V == null ? void 0 : V.config) ?? ((B = e == null ? void 0 : e.filter((
|
|
238
|
+
let V = await w(I, AA.value);
|
|
239
|
+
const C = (V == null ? void 0 : V.config) ?? ((B = e == null ? void 0 : e.filter(($) => $.allowInherit)) == null ? void 0 : B.map(($) => {
|
|
240
240
|
var f;
|
|
241
241
|
return {
|
|
242
|
-
|
|
242
|
+
...$,
|
|
243
243
|
// structureIds: parentConfig?.find((p: any) => p?.structureIds?.length > 0)?.structureIds?.filter((item: any) => item?.key === 'contentConfig')
|
|
244
244
|
structureIds: (f = e == null ? void 0 : e.find((r) => {
|
|
245
245
|
var g;
|
|
@@ -268,7 +268,7 @@ function It(p = "menu") {
|
|
|
268
268
|
if (!A) return;
|
|
269
269
|
const e = (V = (I = A == null ? void 0 : A.path) == null ? void 0 : I.split("/")) == null ? void 0 : V[0];
|
|
270
270
|
if (e) {
|
|
271
|
-
const B = (C = _.value) == null ? void 0 : C.find((
|
|
271
|
+
const B = (C = _.value) == null ? void 0 : C.find(($) => ($ == null ? void 0 : $.path) === e);
|
|
272
272
|
if (!B || (n.setActiveTopMenuPath(e), !(B != null && B.children))) return;
|
|
273
273
|
n.setAsideMenus(B == null ? void 0 : B.children), n.setActiveMenuPath(A == null ? void 0 : A.path), E.setRouteToChildPath(A == null ? void 0 : A.path);
|
|
274
274
|
}
|
|
@@ -278,8 +278,8 @@ function It(p = "menu") {
|
|
|
278
278
|
const bA = async (A) => {
|
|
279
279
|
var e, I, V, C;
|
|
280
280
|
if (n.setLinkMenuInfo(null), n.setAsideMenuLoading(!0), E.setRouteToChildPath(""), n.setActiveTopMenuPath(A == null ? void 0 : A.path), n.setActiveMainMenu(A), x.value = null, A != null && A.childMenus && ((e = A == null ? void 0 : A.childMenus) == null ? void 0 : e.length) > 0) {
|
|
281
|
-
const B = await WA(A),
|
|
282
|
-
if (n.setAsideMenus(
|
|
281
|
+
const B = await WA(A), $ = (B == null ? void 0 : B.length) === 0 ? A == null ? void 0 : A.childMenus : B;
|
|
282
|
+
if (n.setAsideMenus($), D.value) {
|
|
283
283
|
const f = (V = (I = A == null ? void 0 : A.childMenus) == null ? void 0 : I[0]) == null ? void 0 : V.path;
|
|
284
284
|
n.setActiveMenuPath(f);
|
|
285
285
|
} else
|
|
@@ -335,12 +335,12 @@ function It(p = "menu") {
|
|
|
335
335
|
}
|
|
336
336
|
return e;
|
|
337
337
|
}, PA = (A, e, I, V) => A.map((C) => {
|
|
338
|
-
var B,
|
|
338
|
+
var B, $;
|
|
339
339
|
if (C.path === I) {
|
|
340
340
|
const f = { ...C };
|
|
341
341
|
return V === "create" ? f.children.push(e) : V === "update" ? f.children = (B = f.children) == null ? void 0 : B.map(
|
|
342
342
|
(r) => (r == null ? void 0 : r.path) === (e == null ? void 0 : e.path) ? e : r
|
|
343
|
-
) : V === "delete" && (f.children = (
|
|
343
|
+
) : V === "delete" && (f.children = ($ = f.children) == null ? void 0 : $.filter((r) => (r == null ? void 0 : r.path) !== (e == null ? void 0 : e.path))), f;
|
|
344
344
|
} else
|
|
345
345
|
return {
|
|
346
346
|
...C,
|
|
@@ -348,7 +348,7 @@ function It(p = "menu") {
|
|
|
348
348
|
// 递归更新子节点
|
|
349
349
|
};
|
|
350
350
|
}), JA = async (A) => {
|
|
351
|
-
var I, V, C, B,
|
|
351
|
+
var I, V, C, B, $, f;
|
|
352
352
|
const e = (I = Y.value) == null ? void 0 : I.find((r) => {
|
|
353
353
|
var g;
|
|
354
354
|
return ((g = r == null ? void 0 : r.key) == null ? void 0 : g.pageKey) === "menu";
|
|
@@ -356,7 +356,7 @@ function It(p = "menu") {
|
|
|
356
356
|
if (e) {
|
|
357
357
|
const r = {
|
|
358
358
|
...(V = e.value) == null ? void 0 : V.pageData,
|
|
359
|
-
compData: (
|
|
359
|
+
compData: ($ = (B = (C = e.value) == null ? void 0 : C.pageData) == null ? void 0 : B.compData) == null ? void 0 : $.map((v) => v.key === "menuContents" ? {
|
|
360
360
|
...v,
|
|
361
361
|
contents: A
|
|
362
362
|
} : v)
|
|
@@ -376,7 +376,7 @@ function It(p = "menu") {
|
|
|
376
376
|
const C = await Promise.all(V), B = C == null ? void 0 : C.map((v) => {
|
|
377
377
|
const { id: H, ...QA } = v;
|
|
378
378
|
return QA;
|
|
379
|
-
}),
|
|
379
|
+
}), $ = B == null ? void 0 : B.map((v) => ({
|
|
380
380
|
key: {
|
|
381
381
|
pageKey: A == null ? void 0 : A.path,
|
|
382
382
|
systemKey: sessionStorage.getItem("systemKey"),
|
|
@@ -389,13 +389,13 @@ function It(p = "menu") {
|
|
|
389
389
|
}
|
|
390
390
|
}));
|
|
391
391
|
await Qa({
|
|
392
|
-
dataList:
|
|
392
|
+
dataList: $
|
|
393
393
|
});
|
|
394
394
|
};
|
|
395
395
|
return Ve(
|
|
396
396
|
() => s.value,
|
|
397
397
|
async (A) => {
|
|
398
|
-
var e, I, V, C, B,
|
|
398
|
+
var e, I, V, C, B, $, f, r;
|
|
399
399
|
if (A)
|
|
400
400
|
try {
|
|
401
401
|
const g = (V = (I = (e = W.value) == null ? void 0 : e.data) == null ? void 0 : I.path) == null ? void 0 : V.split("/").slice(0, -1).join("/"), v = PA(
|
|
@@ -403,7 +403,7 @@ function It(p = "menu") {
|
|
|
403
403
|
(C = W.value) == null ? void 0 : C.data,
|
|
404
404
|
g,
|
|
405
405
|
(B = W.value) == null ? void 0 : B.type
|
|
406
|
-
), H = (
|
|
406
|
+
), H = ($ = v == null ? void 0 : v.filter((ze) => ze.path !== "平台管理")) == null ? void 0 : $.map((ze) => xA(ze));
|
|
407
407
|
await U((f = W.value) == null ? void 0 : f.data), n.setAsideMenuLoading(!0), await JA(H);
|
|
408
408
|
const QA = await WA(c.value), XA = (QA == null ? void 0 : QA.length) === 0 ? (r = c.value) == null ? void 0 : r.childMenus : QA;
|
|
409
409
|
n.setAsideMenus(XA);
|
|
@@ -471,11 +471,11 @@ const it = /* @__PURE__ */ Be(dt, [["render", zt], ["__scopeId", "data-v-f4b6e11
|
|
|
471
471
|
let rA = n.value;
|
|
472
472
|
rA = rA == null ? void 0 : rA.filter((W) => (W != null && W.parentContent ? (W == null ? void 0 : W.parentContent) === (y == null ? void 0 : y.parentContent) : (W == null ? void 0 : W.relatedContent) === (y == null ? void 0 : y.relatedContent)) && (W == null ? void 0 : W.condition) === "child"), t.setChooseTitle(rA);
|
|
473
473
|
}, o = async (y) => {
|
|
474
|
-
var D, J, Y, _, nA, iA,
|
|
474
|
+
var D, J, Y, _, nA, iA, AA;
|
|
475
475
|
l.value = !0;
|
|
476
476
|
let rA = await Kr(y != null && y.parentContent ? y == null ? void 0 : y.parentContent : y == null ? void 0 : y.relatedContent, !1), W = (J = (D = rA == null ? void 0 : rA.filter((z) => (z == null ? void 0 : z.comp) === "Table")) == null ? void 0 : D[0]) == null ? void 0 : J.compData, c = (Y = W == null ? void 0 : W.find((z) => (z == null ? void 0 : z.key) === "header")) == null ? void 0 : Y.contents;
|
|
477
477
|
c = ((_ = c == null ? void 0 : c.find((z) => z == null ? void 0 : z.isMainKey)) == null ? void 0 : _.prop) ?? ((nA = c == null ? void 0 : c[0]) == null ? void 0 : nA.prop);
|
|
478
|
-
let a = (
|
|
478
|
+
let a = (AA = (iA = W == null ? void 0 : W.find((z) => (z == null ? void 0 : z.key) === "tableContents")) == null ? void 0 : iA.contents) == null ? void 0 : AA.map((z) => ({
|
|
479
479
|
label: z == null ? void 0 : z[c],
|
|
480
480
|
value: z == null ? void 0 : z[c]
|
|
481
481
|
})), b = n.value;
|
|
@@ -672,13 +672,13 @@ const it = /* @__PURE__ */ Be(dt, [["render", zt], ["__scopeId", "data-v-f4b6e11
|
|
|
672
672
|
const c = await rl({
|
|
673
673
|
platId: parseInt((_ = t == null ? void 0 : t.value) == null ? void 0 : _.plat_id),
|
|
674
674
|
pageName: "试验任务/任务管理"
|
|
675
|
-
}), a = ((nA = c == null ? void 0 : c.data) == null ? void 0 : nA.result) ?? [], b = a == null ? void 0 : a.find((
|
|
675
|
+
}), a = ((nA = c == null ? void 0 : c.data) == null ? void 0 : nA.result) ?? [], b = a == null ? void 0 : a.find((AA) => {
|
|
676
676
|
var z;
|
|
677
|
-
return (
|
|
678
|
-
}), D = (iA = b == null ? void 0 : b.contents) == null ? void 0 : iA.find((
|
|
677
|
+
return (AA == null ? void 0 : AA.property_name) === "任务列表" || ((z = AA == null ? void 0 : AA.name) == null ? void 0 : z.name0) === "任务列表";
|
|
678
|
+
}), D = (iA = b == null ? void 0 : b.contents) == null ? void 0 : iA.find((AA) => String((AA == null ? void 0 : AA.key) || "").startsWith("content_")), J = (D == null ? void 0 : D.value) ?? [];
|
|
679
679
|
E.value = o(J);
|
|
680
680
|
}, rA = async () => {
|
|
681
|
-
var _, nA, iA,
|
|
681
|
+
var _, nA, iA, AA;
|
|
682
682
|
if (!((_ = t == null ? void 0 : t.value) != null && _.plat_id)) return;
|
|
683
683
|
const c = await rl({
|
|
684
684
|
platId: parseInt((nA = t == null ? void 0 : t.value) == null ? void 0 : nA.plat_id),
|
|
@@ -686,7 +686,7 @@ const it = /* @__PURE__ */ Be(dt, [["render", zt], ["__scopeId", "data-v-f4b6e11
|
|
|
686
686
|
}), a = ((iA = c == null ? void 0 : c.data) == null ? void 0 : iA.result) ?? [], b = a == null ? void 0 : a.find((z) => {
|
|
687
687
|
var RA;
|
|
688
688
|
return (z == null ? void 0 : z.property_name) === "设备列表" || ((RA = z == null ? void 0 : z.name) == null ? void 0 : RA.name0) === "设备列表";
|
|
689
|
-
}), D = (
|
|
689
|
+
}), D = (AA = b == null ? void 0 : b.contents) == null ? void 0 : AA.find((z) => String((z == null ? void 0 : z.key) || "").startsWith("content_")), J = (D == null ? void 0 : D.value) ?? [], Y = {
|
|
690
690
|
测量系统: { inUse: 0, stopped: 0 },
|
|
691
691
|
工艺系统: { inUse: 0, stopped: 0 },
|
|
692
692
|
控制系统: { inUse: 0, stopped: 0 }
|
|
@@ -749,7 +749,7 @@ const it = /* @__PURE__ */ Be(dt, [["render", zt], ["__scopeId", "data-v-f4b6e11
|
|
|
749
749
|
]
|
|
750
750
|
};
|
|
751
751
|
}, W = async () => {
|
|
752
|
-
var _, nA, iA,
|
|
752
|
+
var _, nA, iA, AA;
|
|
753
753
|
if (!((_ = t == null ? void 0 : t.value) != null && _.plat_id)) return;
|
|
754
754
|
const c = await rl({
|
|
755
755
|
platId: parseInt((nA = t == null ? void 0 : t.value) == null ? void 0 : nA.plat_id),
|
|
@@ -757,7 +757,7 @@ const it = /* @__PURE__ */ Be(dt, [["render", zt], ["__scopeId", "data-v-f4b6e11
|
|
|
757
757
|
}), a = ((iA = c == null ? void 0 : c.data) == null ? void 0 : iA.result) ?? [], b = a == null ? void 0 : a.find((z) => {
|
|
758
758
|
var RA;
|
|
759
759
|
return (z == null ? void 0 : z.property_name) === "试验台列表" || ((RA = z == null ? void 0 : z.name) == null ? void 0 : RA.name0) === "试验台列表";
|
|
760
|
-
}), D = (
|
|
760
|
+
}), D = (AA = b == null ? void 0 : b.contents) == null ? void 0 : AA.find((z) => String((z == null ? void 0 : z.key) || "").startsWith("content_")), J = (D == null ? void 0 : D.value) ?? [], Y = /* @__PURE__ */ new Map();
|
|
761
761
|
J.forEach((z) => {
|
|
762
762
|
var jA, w;
|
|
763
763
|
const RA = (z == null ? void 0 : z.所属部门) ?? "未知部门", VA = (z == null ? void 0 : z.试验台名称) ?? "", IA = (z == null ? void 0 : z["累计点火时间(小时)"]) ?? 0, SA = Number(IA) || 0;
|
|
@@ -988,12 +988,12 @@ const it = /* @__PURE__ */ Be(dt, [["render", zt], ["__scopeId", "data-v-f4b6e11
|
|
|
988
988
|
setup(p, { emit: q }) {
|
|
989
989
|
var a;
|
|
990
990
|
const t = Le(de), { pageMapState: n } = ae(t), E = Ge(de), { activeMenuPath: l } = ae(E), i = $l(de), { originalPath: h } = ae(i), u = p, s = q, o = O(""), y = () => {
|
|
991
|
-
var J, Y, _, nA, iA,
|
|
991
|
+
var J, Y, _, nA, iA, AA, z, RA, VA, IA, SA;
|
|
992
992
|
if (!l.value) return;
|
|
993
|
-
const b = ((Y = (J = l.value) == null ? void 0 : J.split(h.value)) == null ? void 0 : Y[0]) + h.value + ((_ = u == null ? void 0 : u.toolBar) == null ? void 0 : _.mainKeyPropValue), D = (z = (
|
|
993
|
+
const b = ((Y = (J = l.value) == null ? void 0 : J.split(h.value)) == null ? void 0 : Y[0]) + h.value + ((_ = u == null ? void 0 : u.toolBar) == null ? void 0 : _.mainKeyPropValue), D = (z = (AA = (iA = (nA = n.value) == null ? void 0 : nA[b]) == null ? void 0 : iA.find((jA) => {
|
|
994
994
|
var w, x, cA;
|
|
995
995
|
return ((cA = (x = (w = jA == null ? void 0 : jA.value) == null ? void 0 : w.pageData) == null ? void 0 : x.comp) == null ? void 0 : cA.toUpperCase()) === "FORM";
|
|
996
|
-
})) == null ? void 0 :
|
|
996
|
+
})) == null ? void 0 : AA.value) == null ? void 0 : z.pageData;
|
|
997
997
|
o.value = (SA = (IA = (VA = (RA = D == null ? void 0 : D.compData) == null ? void 0 : RA.find((jA) => (jA == null ? void 0 : jA.key) === "formContent")) == null ? void 0 : VA.contents) == null ? void 0 : IA.find((jA) => {
|
|
998
998
|
var w;
|
|
999
999
|
return (jA == null ? void 0 : jA.prop) === ((w = u == null ? void 0 : u.toolBar) == null ? void 0 : w.prop);
|
|
@@ -1190,9 +1190,9 @@ const it = /* @__PURE__ */ Be(dt, [["render", zt], ["__scopeId", "data-v-f4b6e11
|
|
|
1190
1190
|
console.error("加载菜单或页面时出错:", CA);
|
|
1191
1191
|
}
|
|
1192
1192
|
})(L);
|
|
1193
|
-
},
|
|
1193
|
+
}, AA = ml(de), { selectTitle: z } = ae(AA), RA = O(!1), VA = O(), IA = O(null), SA = O(), jA = O(!1), w = Oa(de), { blobUrls: x } = ae(w), cA = O(), WA = O(!1), bA = O(!1), X = O(!1), uA = O([]), vA = O(!1), HA = O(null), yA = O([]), xA = O(!1), PA = O(!1), JA = O();
|
|
1194
1194
|
dl("contentRef", HA);
|
|
1195
|
-
const ue = Le(de), { isEdit: U, routeToChildPath: A } = ae(ue), e = q, I = Ge(de), { asideMenuLoading: V, importLoading: C, activeAsideMenu: B, contentLoading:
|
|
1195
|
+
const ue = Le(de), { isEdit: U, routeToChildPath: A } = ae(ue), e = q, I = Ge(de), { asideMenuLoading: V, importLoading: C, activeAsideMenu: B, contentLoading: $, activeMenuPath: f } = ae(I), { logoUrl: r, platNameEn: g } = ba(), v = p, H = Ie(() => B.value.isRouter), QA = () => {
|
|
1196
1196
|
sessionStorage.clear(), localStorage.clear(), window.location.reload();
|
|
1197
1197
|
}, XA = async (L) => {
|
|
1198
1198
|
var Q, fA, KA, mA, M, zA, N, CA, S, K, MA, eA, hA, sA, aA, m, GA, EA, lA;
|
|
@@ -1222,7 +1222,6 @@ const it = /* @__PURE__ */ Be(dt, [["render", zt], ["__scopeId", "data-v-f4b6e11
|
|
|
1222
1222
|
isShow: !0
|
|
1223
1223
|
}, tA.push(F);
|
|
1224
1224
|
}
|
|
1225
|
-
$.setSelectTitle(tA), $.setChooseTitle([F]);
|
|
1226
1225
|
}
|
|
1227
1226
|
}
|
|
1228
1227
|
}
|
|
@@ -2117,7 +2116,7 @@ const it = /* @__PURE__ */ Be(dt, [["render", zt], ["__scopeId", "data-v-f4b6e11
|
|
|
2117
2116
|
]))
|
|
2118
2117
|
]))
|
|
2119
2118
|
])), [
|
|
2120
|
-
[aA, d(
|
|
2119
|
+
[aA, d($)]
|
|
2121
2120
|
])
|
|
2122
2121
|
])
|
|
2123
2122
|
];
|
|
@@ -2196,7 +2195,7 @@ const it = /* @__PURE__ */ Be(dt, [["render", zt], ["__scopeId", "data-v-f4b6e11
|
|
|
2196
2195
|
], 64);
|
|
2197
2196
|
};
|
|
2198
2197
|
}
|
|
2199
|
-
}), A7 = /* @__PURE__ */ Be($n, [["__scopeId", "data-v-
|
|
2198
|
+
}), A7 = /* @__PURE__ */ Be($n, [["__scopeId", "data-v-f9ce968b"]]), Na = (p, q, t = 0) => {
|
|
2200
2199
|
let n = p;
|
|
2201
2200
|
return n != null && n.every((E) => Array.isArray(E)) && (n != null && n.every((E) => Array.isArray(E) && E.length === 1) ? n = n == null ? void 0 : n.filter((E) => (E == null ? void 0 : E[0]) !== (q == null ? void 0 : q[t])) : n = n == null ? void 0 : n.map((E) => {
|
|
2202
2201
|
if (E != null && E.find((l) => l === (q == null ? void 0 : q[t])) && (q == null ? void 0 : q.length) !== 1) {
|
|
@@ -2281,7 +2280,7 @@ function Da(p = "menu") {
|
|
|
2281
2280
|
l.setActiveAsideMenu(A), i.setRouteToChildPath(""), a.value ? i.setFixMenuStatus(!1) : (JA.value && (W.value = "open"), W.value === "click" ? s.value === 1 ? l.setActiveMenuPath(sessionStorage.getItem("pageKey")) : l.setActiveMenuPath(U) : JA.value || (l.setMenuTriggerType("click"), l.setActiveMenuPath(U))), U != null && U.startsWith("/") ? o.push(U) : o.push("/"), s.value++;
|
|
2282
2281
|
}, iA = (U) => {
|
|
2283
2282
|
JA.value || l.setActiveMenuPath(U);
|
|
2284
|
-
},
|
|
2283
|
+
}, AA = (U) => {
|
|
2285
2284
|
const A = document.documentElement;
|
|
2286
2285
|
U == null || U.forEach((e) => {
|
|
2287
2286
|
A.style.setProperty(e.name, e.value);
|
|
@@ -2297,7 +2296,7 @@ function Da(p = "menu") {
|
|
|
2297
2296
|
Ve(
|
|
2298
2297
|
() => c.value,
|
|
2299
2298
|
(U) => {
|
|
2300
|
-
U === "browser" ?
|
|
2299
|
+
U === "browser" ? AA(Dl) : U === "client" ? (AA(Ll), AA(Hl)) : U === "three" && (AA(Tl), AA(_l));
|
|
2301
2300
|
},
|
|
2302
2301
|
{ immediate: !0 }
|
|
2303
2302
|
);
|
|
@@ -2323,7 +2322,7 @@ function Da(p = "menu") {
|
|
|
2323
2322
|
data: U
|
|
2324
2323
|
}), l.setIsRefreshMenus(!0);
|
|
2325
2324
|
}, X = async (U, A, e) => {
|
|
2326
|
-
var I, V, C, B,
|
|
2325
|
+
var I, V, C, B, $, f, r, g, v, H, QA, XA, ze, pA, ZA, OA, Ae, YA, te, FA, se, ie, Ee, ce, Ce, me, L, Q, fA, KA, mA, M, zA, N, CA, S, K, MA, eA, hA, sA, aA;
|
|
2327
2326
|
if (A === "create") {
|
|
2328
2327
|
let m = (e == null ? void 0 : e.title) + "(1)", GA = await Ke({
|
|
2329
2328
|
key: {
|
|
@@ -2340,7 +2339,7 @@ function Da(p = "menu") {
|
|
|
2340
2339
|
pageData: lA
|
|
2341
2340
|
}
|
|
2342
2341
|
});
|
|
2343
|
-
let T = (f = (
|
|
2342
|
+
let T = (f = ($ = e == null ? void 0 : e.path) == null ? void 0 : $.split("/")) == null ? void 0 : f.filter((R, tA) => {
|
|
2344
2343
|
var F, oA;
|
|
2345
2344
|
return tA !== ((oA = (F = e == null ? void 0 : e.path) == null ? void 0 : F.split("/")) == null ? void 0 : oA.length) - 1;
|
|
2346
2345
|
}), qA = await Xe(
|
|
@@ -2463,11 +2462,11 @@ function Da(p = "menu") {
|
|
|
2463
2462
|
return hA !== ((aA = (sA = A == null ? void 0 : A.path) == null ? void 0 : sA.split("/")) == null ? void 0 : aA.length) - 1;
|
|
2464
2463
|
}), B = C == null ? void 0 : C.join("/");
|
|
2465
2464
|
C.push((pA = U == null ? void 0 : U.target) == null ? void 0 : pA.value), C = C == null ? void 0 : C.join("/");
|
|
2466
|
-
let
|
|
2467
|
-
if (((te = (YA = (Ae = (OA = (ZA =
|
|
2468
|
-
let eA = (ce = (Ee = (ie = (se = (FA =
|
|
2465
|
+
let $ = await Xe(B, sessionStorage.getItem("systemKey"), "");
|
|
2466
|
+
if (((te = (YA = (Ae = (OA = (ZA = $ == null ? void 0 : $[0]) == null ? void 0 : ZA.compData) == null ? void 0 : OA.find((eA) => (eA == null ? void 0 : eA.key) === "header")) == null ? void 0 : Ae.contents) == null ? void 0 : YA[0]) == null ? void 0 : te.directiveLabel) === "#isMain") {
|
|
2467
|
+
let eA = (ce = (Ee = (ie = (se = (FA = $ == null ? void 0 : $[0]) == null ? void 0 : FA.compData) == null ? void 0 : se.find((m) => (m == null ? void 0 : m.key) === "header")) == null ? void 0 : ie.contents) == null ? void 0 : Ee[0]) == null ? void 0 : ce.prop, hA = (L = (me = (Ce = $ == null ? void 0 : $[0]) == null ? void 0 : Ce.compData) == null ? void 0 : me.find(
|
|
2469
2468
|
(m) => (m == null ? void 0 : m.key) === "tableContents"
|
|
2470
|
-
)) == null ? void 0 : L.contents, sA = (mA = (KA = (fA = (Q =
|
|
2469
|
+
)) == null ? void 0 : L.contents, sA = (mA = (KA = (fA = (Q = $ == null ? void 0 : $[0]) == null ? void 0 : Q.compData) == null ? void 0 : fA.find((m) => (m == null ? void 0 : m.key) === "header")) == null ? void 0 : KA.contents) == null ? void 0 : mA.map((m) => m == null ? void 0 : m.prop), aA;
|
|
2471
2470
|
if (hA == null || hA.forEach((m) => {
|
|
2472
2471
|
var EA;
|
|
2473
2472
|
let GA = pl(m, sA);
|
|
@@ -2550,7 +2549,7 @@ function Da(p = "menu") {
|
|
|
2550
2549
|
clickMenu: _,
|
|
2551
2550
|
openMenu: nA,
|
|
2552
2551
|
closeMenu: iA,
|
|
2553
|
-
changeMenuStyle:
|
|
2552
|
+
changeMenuStyle: AA,
|
|
2554
2553
|
fixElement: y,
|
|
2555
2554
|
onBlur: uA,
|
|
2556
2555
|
isSuperAdmin: b
|
|
@@ -2601,7 +2600,7 @@ function La(p = "menu") {
|
|
|
2601
2600
|
activeMenuPath: a,
|
|
2602
2601
|
linkMenuInfo: b,
|
|
2603
2602
|
updateMenuStatus: D
|
|
2604
|
-
} = ae(n), J = Qe(), { structureData: Y } = ae(J), _ = O([]), nA = O([]), iA = Ie(() => q == null ? void 0 : q.mode),
|
|
2603
|
+
} = ae(n), J = Qe(), { structureData: Y } = ae(J), _ = O([]), nA = O([]), iA = Ie(() => q == null ? void 0 : q.mode), AA = O({}), z = (A) => A == null ? void 0 : A.map((e) => e.children && e.children.length > 0 ? {
|
|
2605
2604
|
...e,
|
|
2606
2605
|
// 水平菜单仅显示一层
|
|
2607
2606
|
children: e.level === 0 ? [] : e.children ?? [],
|
|
@@ -2610,9 +2609,9 @@ function La(p = "menu") {
|
|
|
2610
2609
|
var I, V;
|
|
2611
2610
|
return (V = (I = nA.value) == null ? void 0 : I.find((C) => (A.title + e).includes(C.value))) == null ? void 0 : V.value;
|
|
2612
2611
|
}, VA = (A, e = "", I = 0) => {
|
|
2613
|
-
var
|
|
2612
|
+
var $;
|
|
2614
2613
|
let V = re(A);
|
|
2615
|
-
const C = Array.from(/* @__PURE__ */ new Set([...(
|
|
2614
|
+
const C = Array.from(/* @__PURE__ */ new Set([...($ = Y.value) == null ? void 0 : $.map((f) => {
|
|
2616
2615
|
var r;
|
|
2617
2616
|
return (r = f == null ? void 0 : f.key) == null ? void 0 : r.pageKey;
|
|
2618
2617
|
})]));
|
|
@@ -2646,7 +2645,7 @@ function La(p = "menu") {
|
|
|
2646
2645
|
const e = z(A);
|
|
2647
2646
|
return Ya(e), n.setMenus(e), e;
|
|
2648
2647
|
}), SA = async (A) => {
|
|
2649
|
-
var C, B,
|
|
2648
|
+
var C, B, $;
|
|
2650
2649
|
let e, I;
|
|
2651
2650
|
(A == null ? void 0 : A.level) === 0 ? I = {
|
|
2652
2651
|
key: {
|
|
@@ -2664,13 +2663,13 @@ function La(p = "menu") {
|
|
|
2664
2663
|
}
|
|
2665
2664
|
};
|
|
2666
2665
|
const V = await Ke(I);
|
|
2667
|
-
return ((C = V == null ? void 0 : V.data) == null ? void 0 : C.code) === 200 && (e = (
|
|
2666
|
+
return ((C = V == null ? void 0 : V.data) == null ? void 0 : C.code) === 200 && (e = ($ = (B = V.data) == null ? void 0 : B.result) == null ? void 0 : $.map((f) => {
|
|
2668
2667
|
var r;
|
|
2669
2668
|
return {
|
|
2670
2669
|
id: f == null ? void 0 : f.id,
|
|
2671
2670
|
...(r = f == null ? void 0 : f.value) == null ? void 0 : r.tableData
|
|
2672
2671
|
};
|
|
2673
|
-
}), (A == null ? void 0 : A.level) === 0 && (
|
|
2672
|
+
}), (A == null ? void 0 : A.level) === 0 && (AA.value = re(e))), (e == null ? void 0 : e.length) > 0 ? e : null;
|
|
2674
2673
|
}, jA = (A, e) => {
|
|
2675
2674
|
var V, C;
|
|
2676
2675
|
const I = A == null ? void 0 : A.find((B) => (B == null ? void 0 : B.operateType) === "新增");
|
|
@@ -2688,11 +2687,11 @@ function La(p = "menu") {
|
|
|
2688
2687
|
}, x = O(null), cA = async (A, e = null) => await Promise.all(
|
|
2689
2688
|
A == null ? void 0 : A.map(async (I) => {
|
|
2690
2689
|
var B;
|
|
2691
|
-
let V = await w(I,
|
|
2692
|
-
const C = (V == null ? void 0 : V.config) ?? ((B = e == null ? void 0 : e.filter((
|
|
2690
|
+
let V = await w(I, AA.value);
|
|
2691
|
+
const C = (V == null ? void 0 : V.config) ?? ((B = e == null ? void 0 : e.filter(($) => $.allowInherit)) == null ? void 0 : B.map(($) => {
|
|
2693
2692
|
var f;
|
|
2694
2693
|
return {
|
|
2695
|
-
|
|
2694
|
+
...$,
|
|
2696
2695
|
// structureIds: parentConfig?.find((p: any) => p?.structureIds?.length > 0)?.structureIds?.filter((item: any) => item?.key === 'contentConfig')
|
|
2697
2696
|
structureIds: (f = e == null ? void 0 : e.find((r) => {
|
|
2698
2697
|
var g;
|
|
@@ -2721,7 +2720,7 @@ function La(p = "menu") {
|
|
|
2721
2720
|
if (!A) return;
|
|
2722
2721
|
const e = (V = (I = A == null ? void 0 : A.path) == null ? void 0 : I.split("/")) == null ? void 0 : V[0];
|
|
2723
2722
|
if (e) {
|
|
2724
|
-
const B = (C = _.value) == null ? void 0 : C.find((
|
|
2723
|
+
const B = (C = _.value) == null ? void 0 : C.find(($) => ($ == null ? void 0 : $.path) === e);
|
|
2725
2724
|
if (!B || (n.setActiveTopMenuPath(e), !(B != null && B.children))) return;
|
|
2726
2725
|
n.setAsideMenus(B == null ? void 0 : B.children), n.setActiveMenuPath(A == null ? void 0 : A.path), E.setRouteToChildPath(A == null ? void 0 : A.path);
|
|
2727
2726
|
}
|
|
@@ -2731,8 +2730,8 @@ function La(p = "menu") {
|
|
|
2731
2730
|
const bA = async (A) => {
|
|
2732
2731
|
var e, I, V, C;
|
|
2733
2732
|
if (n.setLinkMenuInfo(null), n.setAsideMenuLoading(!0), E.setRouteToChildPath(""), n.setActiveTopMenuPath(A == null ? void 0 : A.path), n.setActiveMainMenu(A), x.value = null, A != null && A.childMenus && ((e = A == null ? void 0 : A.childMenus) == null ? void 0 : e.length) > 0) {
|
|
2734
|
-
const B = await WA(A),
|
|
2735
|
-
if (n.setAsideMenus(
|
|
2733
|
+
const B = await WA(A), $ = (B == null ? void 0 : B.length) === 0 ? A == null ? void 0 : A.childMenus : B;
|
|
2734
|
+
if (n.setAsideMenus($), D.value) {
|
|
2736
2735
|
const f = (V = (I = A == null ? void 0 : A.childMenus) == null ? void 0 : I[0]) == null ? void 0 : V.path;
|
|
2737
2736
|
n.setActiveMenuPath(f);
|
|
2738
2737
|
} else
|
|
@@ -2788,12 +2787,12 @@ function La(p = "menu") {
|
|
|
2788
2787
|
}
|
|
2789
2788
|
return e;
|
|
2790
2789
|
}, PA = (A, e, I, V) => A.map((C) => {
|
|
2791
|
-
var B,
|
|
2790
|
+
var B, $;
|
|
2792
2791
|
if (C.path === I) {
|
|
2793
2792
|
const f = { ...C };
|
|
2794
2793
|
return V === "create" ? f.children.push(e) : V === "update" ? f.children = (B = f.children) == null ? void 0 : B.map(
|
|
2795
2794
|
(r) => (r == null ? void 0 : r.path) === (e == null ? void 0 : e.path) ? e : r
|
|
2796
|
-
) : V === "delete" && (f.children = (
|
|
2795
|
+
) : V === "delete" && (f.children = ($ = f.children) == null ? void 0 : $.filter((r) => (r == null ? void 0 : r.path) !== (e == null ? void 0 : e.path))), f;
|
|
2797
2796
|
} else
|
|
2798
2797
|
return {
|
|
2799
2798
|
...C,
|
|
@@ -2801,7 +2800,7 @@ function La(p = "menu") {
|
|
|
2801
2800
|
// 递归更新子节点
|
|
2802
2801
|
};
|
|
2803
2802
|
}), JA = async (A) => {
|
|
2804
|
-
var I, V, C, B,
|
|
2803
|
+
var I, V, C, B, $, f;
|
|
2805
2804
|
const e = (I = Y.value) == null ? void 0 : I.find((r) => {
|
|
2806
2805
|
var g;
|
|
2807
2806
|
return ((g = r == null ? void 0 : r.key) == null ? void 0 : g.pageKey) === "menu";
|
|
@@ -2809,7 +2808,7 @@ function La(p = "menu") {
|
|
|
2809
2808
|
if (e) {
|
|
2810
2809
|
const r = {
|
|
2811
2810
|
...(V = e.value) == null ? void 0 : V.pageData,
|
|
2812
|
-
compData: (
|
|
2811
|
+
compData: ($ = (B = (C = e.value) == null ? void 0 : C.pageData) == null ? void 0 : B.compData) == null ? void 0 : $.map((v) => v.key === "menuContents" ? {
|
|
2813
2812
|
...v,
|
|
2814
2813
|
contents: A
|
|
2815
2814
|
} : v)
|
|
@@ -2829,7 +2828,7 @@ function La(p = "menu") {
|
|
|
2829
2828
|
const C = await Promise.all(V), B = C == null ? void 0 : C.map((v) => {
|
|
2830
2829
|
const { id: H, ...QA } = v;
|
|
2831
2830
|
return QA;
|
|
2832
|
-
}),
|
|
2831
|
+
}), $ = B == null ? void 0 : B.map((v) => ({
|
|
2833
2832
|
key: {
|
|
2834
2833
|
pageKey: A == null ? void 0 : A.path,
|
|
2835
2834
|
systemKey: sessionStorage.getItem("systemKey"),
|
|
@@ -2842,13 +2841,13 @@ function La(p = "menu") {
|
|
|
2842
2841
|
}
|
|
2843
2842
|
}));
|
|
2844
2843
|
await Qa({
|
|
2845
|
-
dataList:
|
|
2844
|
+
dataList: $
|
|
2846
2845
|
});
|
|
2847
2846
|
};
|
|
2848
2847
|
return Ve(
|
|
2849
2848
|
() => s.value,
|
|
2850
2849
|
async (A) => {
|
|
2851
|
-
var e, I, V, C, B,
|
|
2850
|
+
var e, I, V, C, B, $, f, r;
|
|
2852
2851
|
if (A)
|
|
2853
2852
|
try {
|
|
2854
2853
|
const g = (V = (I = (e = W.value) == null ? void 0 : e.data) == null ? void 0 : I.path) == null ? void 0 : V.split("/").slice(0, -1).join("/"), v = PA(
|
|
@@ -2856,7 +2855,7 @@ function La(p = "menu") {
|
|
|
2856
2855
|
(C = W.value) == null ? void 0 : C.data,
|
|
2857
2856
|
g,
|
|
2858
2857
|
(B = W.value) == null ? void 0 : B.type
|
|
2859
|
-
), H = (
|
|
2858
|
+
), H = ($ = v == null ? void 0 : v.filter((ze) => ze.path !== "平台管理")) == null ? void 0 : $.map((ze) => xA(ze));
|
|
2860
2859
|
await U((f = W.value) == null ? void 0 : f.data), n.setAsideMenuLoading(!0), await JA(H);
|
|
2861
2860
|
const QA = await WA(c.value), XA = (QA == null ? void 0 : QA.length) === 0 ? (r = c.value) == null ? void 0 : r.childMenus : QA;
|
|
2862
2861
|
n.setAsideMenus(XA);
|
|
@@ -2929,7 +2928,7 @@ const d7 = /* @__PURE__ */ Be(t7, [["render", I7], ["__scopeId", "data-v-94d06d5
|
|
|
2929
2928
|
}).length
|
|
2930
2929
|
);
|
|
2931
2930
|
Ie(() => l.value > 99 ? "99+" : l.value);
|
|
2932
|
-
const i = $l(de), { originalPath: h } = ae(i), u = h.value, s = ml(de), { selectTitle: o } = ae(s), y = O(!1), rA = O(null), W = O(), c = O(!1), a = Oa(de), { blobUrls: b } = ae(a), D = O(!1), J = O(!1), Y = O(!1), _ = O([]), nA = O(!1), iA = O(null),
|
|
2931
|
+
const i = $l(de), { originalPath: h } = ae(i), u = h.value, s = ml(de), { selectTitle: o } = ae(s), y = O(!1), rA = O(null), W = O(), c = O(!1), a = Oa(de), { blobUrls: b } = ae(a), D = O(!1), J = O(!1), Y = O(!1), _ = O([]), nA = O(!1), iA = O(null), AA = O([]), z = O(!1);
|
|
2933
2932
|
dl("contentRef", iA);
|
|
2934
2933
|
const RA = Qe(), { loginUserInfo: VA } = ae(RA), IA = Le(de), { isEdit: SA, routeToChildPath: jA } = ae(IA), w = q, x = Ge(de), { asideMenuLoading: cA, importLoading: WA, activeAsideMenu: bA, contentLoading: X, platName: uA, activeMenuPath: vA } = ae(x), HA = _r(de), { data: yA } = ae(HA), { setData: xA } = $r(), PA = Ie(() => bA.value.isRouter), JA = () => {
|
|
2935
2934
|
sessionStorage.clear(), window.location.reload();
|
|
@@ -3090,7 +3089,7 @@ const d7 = /* @__PURE__ */ Be(t7, [["render", I7], ["__scopeId", "data-v-94d06d5
|
|
|
3090
3089
|
}, e = O("数据管理"), I = O(!1), V = O(), C = O(), B = O({
|
|
3091
3090
|
x: 0,
|
|
3092
3091
|
y: 0
|
|
3093
|
-
}),
|
|
3092
|
+
}), $ = () => {
|
|
3094
3093
|
B.value = {
|
|
3095
3094
|
x: 0,
|
|
3096
3095
|
y: 0
|
|
@@ -3100,7 +3099,7 @@ const d7 = /* @__PURE__ */ Be(t7, [["render", I7], ["__scopeId", "data-v-94d06d5
|
|
|
3100
3099
|
}), r = (S) => {
|
|
3101
3100
|
e.value = S;
|
|
3102
3101
|
}, g = (S) => {
|
|
3103
|
-
|
|
3102
|
+
$(), I.value = S;
|
|
3104
3103
|
}, v = () => {
|
|
3105
3104
|
g(!(I != null && I.value));
|
|
3106
3105
|
}, H = Ie(() => ({
|
|
@@ -3231,7 +3230,7 @@ const d7 = /* @__PURE__ */ Be(t7, [["render", I7], ["__scopeId", "data-v-94d06d5
|
|
|
3231
3230
|
style: { height: "700px", width: "1800px" }
|
|
3232
3231
|
}, {
|
|
3233
3232
|
default: G(() => [
|
|
3234
|
-
Z(Bl, { files:
|
|
3233
|
+
Z(Bl, { files: AA.value }, null, 8, ["files"])
|
|
3235
3234
|
]),
|
|
3236
3235
|
_: 1
|
|
3237
3236
|
}, 8, ["modelValue"]),
|
|
@@ -3546,7 +3545,7 @@ const Ha = (p) => {
|
|
|
3546
3545
|
var q, t, n;
|
|
3547
3546
|
return !!((n = (t = qe(p, "@")) == null ? void 0 : t[((q = qe(p, "@")) == null ? void 0 : q.length) - 1]) != null && n.includes("Form"));
|
|
3548
3547
|
}, Q7 = (p, q, t, n) => {
|
|
3549
|
-
var l, i, h, u, s, o, y, rA, W, c, a, b, D, J, Y, _, nA, iA,
|
|
3548
|
+
var l, i, h, u, s, o, y, rA, W, c, a, b, D, J, Y, _, nA, iA, AA, z, RA, VA, IA, SA, jA, w, x, cA, WA, bA;
|
|
3550
3549
|
let E = p;
|
|
3551
3550
|
if (Ha(E == null ? void 0 : E[0])) {
|
|
3552
3551
|
let X = Lr(E), uA = (l = qe(E == null ? void 0 : E[0], "@")) == null ? void 0 : l[1];
|
|
@@ -3565,7 +3564,7 @@ const Ha = (p) => {
|
|
|
3565
3564
|
name: X == null ? void 0 : X.groupName,
|
|
3566
3565
|
tableColumns: X == null ? void 0 : X.tableColumns,
|
|
3567
3566
|
assistColumn: X == null ? void 0 : X.columns,
|
|
3568
|
-
tableContents: q === 1 ? X == null ? void 0 : X.tableContents : (iA = (nA = X == null ? void 0 : X.tableContents) == null ? void 0 : nA[t]) != null && iA.every((vA) => Array.isArray(vA)) ? (
|
|
3567
|
+
tableContents: q === 1 ? X == null ? void 0 : X.tableContents : (iA = (nA = X == null ? void 0 : X.tableContents) == null ? void 0 : nA[t]) != null && iA.every((vA) => Array.isArray(vA)) ? (AA = X == null ? void 0 : X.tableContents) == null ? void 0 : AA[t] : [(z = X == null ? void 0 : X.tableContents) == null ? void 0 : z[t]],
|
|
3569
3568
|
filter: X == null ? void 0 : X.tableFilter,
|
|
3570
3569
|
menuFilter: n == null ? void 0 : n.menuFilter,
|
|
3571
3570
|
quotePage: uA !== "" ? ((IA = (VA = (RA = uA == null ? void 0 : uA.replace("*", TA)) == null ? void 0 : RA.split(TA)) == null ? void 0 : VA[0]) == null ? void 0 : IA.replaceAll(":", "/")) ?? "" : void 0,
|
|
@@ -3576,7 +3575,7 @@ const Ha = (p) => {
|
|
|
3576
3575
|
};
|
|
3577
3576
|
}
|
|
3578
3577
|
}, P7 = (p, q) => {
|
|
3579
|
-
var n, E, l, i, h, u, s, o, y, rA, W, c, a, b, D, J, Y, _, nA, iA,
|
|
3578
|
+
var n, E, l, i, h, u, s, o, y, rA, W, c, a, b, D, J, Y, _, nA, iA, AA, z, RA, VA, IA, SA, jA, w, x, cA, WA, bA, X, uA, vA, HA, yA, xA, PA, JA, ue, U;
|
|
3580
3579
|
let t = (E = (n = qe(p, "=")) == null ? void 0 : n.filter((A) => A !== "=")) == null ? void 0 : E.map((A) => ((A == null ? void 0 : A[(A == null ? void 0 : A.length) - 1]) === "=" && (A = A == null ? void 0 : A.slice(0, (A == null ? void 0 : A.length) - 1)), A));
|
|
3581
3580
|
if (Ha(t == null ? void 0 : t[1])) {
|
|
3582
3581
|
let A = Hr(t), e = (h = (i = (l = A == null ? void 0 : A.filter) == null ? void 0 : l.replace("@", TA)) == null ? void 0 : i.split(TA)) == null ? void 0 : h[0], I = (o = (s = (u = A == null ? void 0 : A.filter) == null ? void 0 : u.replace("(", TA)) == null ? void 0 : s.split(TA)) == null ? void 0 : o[1];
|
|
@@ -3593,7 +3592,7 @@ const Ha = (p) => {
|
|
|
3593
3592
|
};
|
|
3594
3593
|
} else {
|
|
3595
3594
|
let A = ya(t, q, t == null ? void 0 : t[1]), e = "";
|
|
3596
|
-
(
|
|
3595
|
+
(AA = A == null ? void 0 : A.tableFilter) != null && AA.includes(TA) ? A.tableFilter = (z = A == null ? void 0 : A.tableFilter) == null ? void 0 : z.replace(TA, "") : e = (IA = (VA = (RA = A == null ? void 0 : A.tableFilter) == null ? void 0 : RA.replace("(", TA)) == null ? void 0 : VA.split(TA)) == null ? void 0 : IA[0];
|
|
3597
3596
|
let I = (w = (jA = (SA = A == null ? void 0 : A.tableFilter) == null ? void 0 : SA.replace("(", TA)) == null ? void 0 : jA.split(TA)) == null ? void 0 : w[0];
|
|
3598
3597
|
return I = [{
|
|
3599
3598
|
menus: (cA = (x = I == null ? void 0 : I.split("*")) == null ? void 0 : x[0]) == null ? void 0 : cA.replaceAll(":", "/"),
|
|
@@ -3628,14 +3627,14 @@ const Ta = (p, q = []) => {
|
|
|
3628
3627
|
return (h = l == null ? void 0 : l.key) == null ? void 0 : h.slice(1, (i = l == null ? void 0 : l.key) == null ? void 0 : i.length);
|
|
3629
3628
|
})) ?? [], n = [];
|
|
3630
3629
|
t == null || t.forEach((l) => {
|
|
3631
|
-
var i, h, u, s, o, y, rA, W, c, a, b, D, J, Y, _, nA, iA,
|
|
3630
|
+
var i, h, u, s, o, y, rA, W, c, a, b, D, J, Y, _, nA, iA, AA, z, RA, VA, IA, SA, jA, w, x, cA, WA, bA, X, uA, vA, HA, yA, xA, PA, JA, ue, U, A, e, I, V, C, B, $, f;
|
|
3632
3631
|
if (l != null && l.includes(Ql)) {
|
|
3633
3632
|
let r = "";
|
|
3634
3633
|
l != null && l.includes("(@") ? (r = (h = (i = l == null ? void 0 : l.replace("(", ve)) == null ? void 0 : i.split(ve)) == null ? void 0 : h[1], r = r == null ? void 0 : r.slice(0, (r == null ? void 0 : r.length) - 1)) : (r = (s = (u = l == null ? void 0 : l.replace("@", ve)) == null ? void 0 : u.split(ve)) == null ? void 0 : s[1], r = r ? "@" + r : "");
|
|
3635
3634
|
let g = "";
|
|
3636
3635
|
r != null && r.includes("$") && (r = (o = r == null ? void 0 : r.replace("$", ve)) == null ? void 0 : o.split(ve), g = "$" + ((rA = (y = re(r)) == null ? void 0 : y[1]) == null ? void 0 : rA.replaceAll(":", "/")), r = r == null ? void 0 : r[0]);
|
|
3637
3636
|
let v = !0;
|
|
3638
|
-
r && (r = (c = (W = r == null ? void 0 : r.replace("(", ve)) == null ? void 0 : W.split(ve)) == null ? void 0 : c[1], r = r == null ? void 0 : r.slice(0, (r == null ? void 0 : r.length) - 1), r = (a = qe(r, ",")) == null ? void 0 : a.map((XA) => (XA = "@" + XA, XA)), r = r == null ? void 0 : r.join(""), (D = (b = qe(r, ",")) == null ? void 0 : b.find((XA) => XA == null ? void 0 : XA.includes("@Hide"))) != null && D.includes("Yes") && (v = !1)), l = (Y = (J = l == null ? void 0 : l.replace("@", ve)) == null ? void 0 : J.split(ve)) == null ? void 0 : Y[0], l = (nA = (_ = l == null ? void 0 : l.replace("(", ve)) == null ? void 0 : _.split(ve)) == null ? void 0 : nA[0], l = ((z = (
|
|
3637
|
+
r && (r = (c = (W = r == null ? void 0 : r.replace("(", ve)) == null ? void 0 : W.split(ve)) == null ? void 0 : c[1], r = r == null ? void 0 : r.slice(0, (r == null ? void 0 : r.length) - 1), r = (a = qe(r, ",")) == null ? void 0 : a.map((XA) => (XA = "@" + XA, XA)), r = r == null ? void 0 : r.join(""), (D = (b = qe(r, ",")) == null ? void 0 : b.find((XA) => XA == null ? void 0 : XA.includes("@Hide"))) != null && D.includes("Yes") && (v = !1)), l = (Y = (J = l == null ? void 0 : l.replace("@", ve)) == null ? void 0 : J.split(ve)) == null ? void 0 : Y[0], l = (nA = (_ = l == null ? void 0 : l.replace("(", ve)) == null ? void 0 : _.split(ve)) == null ? void 0 : nA[0], l = ((z = (AA = (iA = l == null ? void 0 : l.replaceAll(":", "/")) == null ? void 0 : iA.replaceAll("{", "")) == null ? void 0 : AA.replaceAll("}", "")) == null ? void 0 : z.replaceAll("[Any]", "")) + g;
|
|
3639
3638
|
let H = (RA = l == null ? void 0 : l.split(Ql)) == null ? void 0 : RA[0];
|
|
3640
3639
|
(H == null ? void 0 : H[(H == null ? void 0 : H.length) - 1]) === "/" && (H = H == null ? void 0 : H.slice(0, (H == null ? void 0 : H.length) - 1), H = H + Oe);
|
|
3641
3640
|
let QA = ((VA = H == null ? void 0 : H.split("/")) == null ? void 0 : VA[0]) + "/" + ((SA = (IA = l == null ? void 0 : l.split(Ql)) == null ? void 0 : IA[1]) == null ? void 0 : SA.replaceAll("==", Oe));
|
|
@@ -3662,7 +3661,7 @@ const Ta = (p, q = []) => {
|
|
|
3662
3661
|
let r = "";
|
|
3663
3662
|
l != null && l.includes("(@") ? (r = (X = (bA = l == null ? void 0 : l.replace("(", ve)) == null ? void 0 : bA.split(ve)) == null ? void 0 : X[1], r = r == null ? void 0 : r.slice(0, (r == null ? void 0 : r.length) - 1)) : (r = (vA = (uA = l == null ? void 0 : l.replace("@", ve)) == null ? void 0 : uA.split(ve)) == null ? void 0 : vA[1], r = r ? "@" + r : ""), r != null && r.includes("[Any]") && (r = r == null ? void 0 : r.replace(":[Any]", ","));
|
|
3664
3663
|
let g = !0;
|
|
3665
|
-
r && (r = Tr(r), (yA = (HA = qe(r, ",")) == null ? void 0 : HA.find((v) => v == null ? void 0 : v.includes("@Hide"))) != null && yA.includes("Yes") && (g = !1)), (JA = (PA = (xA = l == null ? void 0 : l.replace("@", ve)) == null ? void 0 : xA.split(ve)) == null ? void 0 : PA[1]) != null && JA.includes("[Any]") ? l = ((U = (ue = l == null ? void 0 : l.replace("@", ve)) == null ? void 0 : ue.split(ve)) == null ? void 0 : U[0]) + ":[Any]" : l = (e = (A = l == null ? void 0 : l.replace("@", ve)) == null ? void 0 : A.split(ve)) == null ? void 0 : e[0], l = (V = (I = l == null ? void 0 : l.replace("(", ve)) == null ? void 0 : I.split(ve)) == null ? void 0 : V[0], (l == null ? void 0 : l[(l == null ? void 0 : l.length) - 1]) === ":" && (l = l == null ? void 0 : l.slice(0, (l == null ? void 0 : l.length) - 1)), l = (C = l == null ? void 0 : l.replaceAll(":", "/")) == null ? void 0 : C.replaceAll("[Any]", ""), l != null && l.includes("[") ? (l = l == null ? void 0 : l.replaceAll("]", ""), (f = (
|
|
3664
|
+
r && (r = Tr(r), (yA = (HA = qe(r, ",")) == null ? void 0 : HA.find((v) => v == null ? void 0 : v.includes("@Hide"))) != null && yA.includes("Yes") && (g = !1)), (JA = (PA = (xA = l == null ? void 0 : l.replace("@", ve)) == null ? void 0 : xA.split(ve)) == null ? void 0 : PA[1]) != null && JA.includes("[Any]") ? l = ((U = (ue = l == null ? void 0 : l.replace("@", ve)) == null ? void 0 : ue.split(ve)) == null ? void 0 : U[0]) + ":[Any]" : l = (e = (A = l == null ? void 0 : l.replace("@", ve)) == null ? void 0 : A.split(ve)) == null ? void 0 : e[0], l = (V = (I = l == null ? void 0 : l.replace("(", ve)) == null ? void 0 : I.split(ve)) == null ? void 0 : V[0], (l == null ? void 0 : l[(l == null ? void 0 : l.length) - 1]) === ":" && (l = l == null ? void 0 : l.slice(0, (l == null ? void 0 : l.length) - 1)), l = (C = l == null ? void 0 : l.replaceAll(":", "/")) == null ? void 0 : C.replaceAll("[Any]", ""), l != null && l.includes("[") ? (l = l == null ? void 0 : l.replaceAll("]", ""), (f = ($ = (B = l == null ? void 0 : l.split("[")) == null ? void 0 : B[1]) == null ? void 0 : $.split(",")) == null || f.forEach((v) => {
|
|
3666
3665
|
var QA;
|
|
3667
3666
|
let H = (QA = l == null ? void 0 : l.split("[")) == null ? void 0 : QA[0];
|
|
3668
3667
|
(H == null ? void 0 : H[(H == null ? void 0 : H.length) - 1]) === "/" && (H = H == null ? void 0 : H.slice(0, (H == null ? void 0 : H.length) - 1)), n == null || n.push({
|
|
@@ -3856,35 +3855,35 @@ const Ta = (p, q = []) => {
|
|
|
3856
3855
|
let BA = "$R";
|
|
3857
3856
|
const _a = (p, q, t, n) => {
|
|
3858
3857
|
var l, i, h, u, s, o, y, rA, W, c, a, b, D, J, Y, _, nA, iA;
|
|
3859
|
-
let E = ((i = (l = q.get(p == null ? void 0 : p.quotePage)) == null ? void 0 : l.contents) == null ? void 0 : i.find((
|
|
3858
|
+
let E = ((i = (l = q.get(p == null ? void 0 : p.quotePage)) == null ? void 0 : l.contents) == null ? void 0 : i.find((AA) => Ol((n == null ? void 0 : n.quoteGroup) ?? [], AA == null ? void 0 : AA.name))) ?? ((h = q.get(p == null ? void 0 : p.quotePage)) == null ? void 0 : h.contents) ?? [];
|
|
3860
3859
|
if (!Array.isArray(E) && ((u = E == null ? void 0 : E.tableColumns) == null ? void 0 : u.length) > 0) {
|
|
3861
|
-
let
|
|
3860
|
+
let AA = re(E), z = (y = (o = (s = AA.filter) == null ? void 0 : s.replace("(", BA)) == null ? void 0 : o.split(BA)) == null ? void 0 : y[1];
|
|
3862
3861
|
z = "(" + (z == null ? void 0 : z.slice(0, (z == null ? void 0 : z.length) - 1));
|
|
3863
3862
|
let RA = (c = (W = (rA = p == null ? void 0 : p.filter) == null ? void 0 : rA.replace("(", BA)) == null ? void 0 : W.split(BA)) == null ? void 0 : c[0];
|
|
3864
|
-
!(
|
|
3865
|
-
let VA = (_ = (Y = (J =
|
|
3863
|
+
!(AA != null && AA.filter) || (AA == null ? void 0 : AA.filter) === "" ? AA.filter = p == null ? void 0 : p.filter : AA.filter = RA + z + "," + ((D = (b = (a = p == null ? void 0 : p.filter) == null ? void 0 : a.replace("(", BA)) == null ? void 0 : b.split(BA)) == null ? void 0 : D[1]);
|
|
3864
|
+
let VA = (_ = (Y = (J = AA.filter) == null ? void 0 : J.replace("(", BA)) == null ? void 0 : Y.split(BA)) == null ? void 0 : _[1];
|
|
3866
3865
|
VA = VA == null ? void 0 : VA.slice(0, (VA == null ? void 0 : VA.length) - 1), VA = qe(VA, ",");
|
|
3867
3866
|
let IA = VA == null ? void 0 : VA.filter((SA) => SA == null ? void 0 : SA.includes("@Type"));
|
|
3868
|
-
return (IA == null ? void 0 : IA.length) > 0 && (IA != null && IA.find((SA) => SA == null ? void 0 : SA.includes("@Type"))) && ((nA = IA == null ? void 0 : IA[(IA == null ? void 0 : IA.length) - 1]) != null && nA.includes("Manual")) && (
|
|
3867
|
+
return (IA == null ? void 0 : IA.length) > 0 && (IA != null && IA.find((SA) => SA == null ? void 0 : SA.includes("@Type"))) && ((nA = IA == null ? void 0 : IA[(IA == null ? void 0 : IA.length) - 1]) != null && nA.includes("Manual")) && (AA.tableContents = []), AA.name = t, [AA];
|
|
3869
3868
|
} else if (E) {
|
|
3870
3869
|
Array.isArray(E) || (E = [E]);
|
|
3871
|
-
let
|
|
3870
|
+
let AA = [];
|
|
3872
3871
|
return (iA = re(E)) == null || iA.forEach((z) => {
|
|
3873
3872
|
var RA, VA, IA, SA, jA, w, x, cA, WA, bA, X, uA, vA, HA, yA, xA, PA, JA, ue, U, A, e, I, V, C, B;
|
|
3874
3873
|
if (!(z != null && z.filter) || ((RA = z == null ? void 0 : z.tableColumns) == null ? void 0 : RA.length) > 0 || ((VA = z == null ? void 0 : z.value) == null ? void 0 : VA.length) > 0) {
|
|
3875
|
-
let
|
|
3876
|
-
f = "(" + (f == null ? void 0 : f.slice(0, (f == null ? void 0 : f.length) - 1)), !(z != null && z.filter) || (z == null ? void 0 : z.filter) === "" ? z.filter = p == null ? void 0 : p.filter : z.filter =
|
|
3874
|
+
let $ = (jA = (SA = (IA = p == null ? void 0 : p.filter) == null ? void 0 : IA.replace("(", BA)) == null ? void 0 : SA.split(BA)) == null ? void 0 : jA[0], f = (cA = (x = (w = z.filter) == null ? void 0 : w.replace("(", BA)) == null ? void 0 : x.split(BA)) == null ? void 0 : cA[1];
|
|
3875
|
+
f = "(" + (f == null ? void 0 : f.slice(0, (f == null ? void 0 : f.length) - 1)), !(z != null && z.filter) || (z == null ? void 0 : z.filter) === "" ? z.filter = p == null ? void 0 : p.filter : z.filter = $ + f + "," + ((X = (bA = (WA = p == null ? void 0 : p.filter) == null ? void 0 : WA.replace("(", BA)) == null ? void 0 : bA.split(BA)) == null ? void 0 : X[1]);
|
|
3877
3876
|
let r = (HA = (vA = (uA = z == null ? void 0 : z.filter) == null ? void 0 : uA.replace("(", BA)) == null ? void 0 : vA.split(BA)) == null ? void 0 : HA[1];
|
|
3878
3877
|
r = r == null ? void 0 : r.slice(0, (r == null ? void 0 : r.length) - 1), r = qe(r, ",");
|
|
3879
3878
|
let g = r == null ? void 0 : r.filter((v) => v == null ? void 0 : v.includes("@Type"));
|
|
3880
|
-
((yA = z == null ? void 0 : z.tableContents) == null ? void 0 : yA.length) > 0 && (r != null && r.filter((v) => v == null ? void 0 : v.includes("@Type"))) && ((xA = g == null ? void 0 : g[(g == null ? void 0 : g.length) - 1]) != null && xA.includes("Manual")) && (z.tableContents = []), z.name = [...t, ...z == null ? void 0 : z.name],
|
|
3879
|
+
((yA = z == null ? void 0 : z.tableContents) == null ? void 0 : yA.length) > 0 && (r != null && r.filter((v) => v == null ? void 0 : v.includes("@Type"))) && ((xA = g == null ? void 0 : g[(g == null ? void 0 : g.length) - 1]) != null && xA.includes("Manual")) && (z.tableContents = []), z.name = [...t, ...z == null ? void 0 : z.name], AA.push(re(z));
|
|
3881
3880
|
} else {
|
|
3882
|
-
let
|
|
3883
|
-
f = "(" + (f == null ? void 0 : f.slice(0, (f == null ? void 0 : f.length) - 1)), !(z != null && z.filter) || (z == null ? void 0 : z.filter) === "" ? z.filter = p == null ? void 0 : p.filter : z.filter =
|
|
3884
|
-
|
|
3881
|
+
let $ = (ue = (JA = (PA = p == null ? void 0 : p.filter) == null ? void 0 : PA.replace("(", BA)) == null ? void 0 : JA.split(BA)) == null ? void 0 : ue[0], f = (e = (A = (U = z.filter) == null ? void 0 : U.replace("(", BA)) == null ? void 0 : A.split(BA)) == null ? void 0 : e[1];
|
|
3882
|
+
f = "(" + (f == null ? void 0 : f.slice(0, (f == null ? void 0 : f.length) - 1)), !(z != null && z.filter) || (z == null ? void 0 : z.filter) === "" ? z.filter = p == null ? void 0 : p.filter : z.filter = $ + f + "," + ((C = (V = (I = p == null ? void 0 : p.filter) == null ? void 0 : I.replace("(", BA)) == null ? void 0 : V.split(BA)) == null ? void 0 : C[1]), (B = _a(re(z), q, (t == null ? void 0 : t.length) > 0 ? t : [...t, ...z == null ? void 0 : z.name], n)) == null || B.forEach((r) => {
|
|
3883
|
+
AA.push(re(r));
|
|
3885
3884
|
});
|
|
3886
3885
|
}
|
|
3887
|
-
}),
|
|
3886
|
+
}), AA;
|
|
3888
3887
|
} else
|
|
3889
3888
|
return [];
|
|
3890
3889
|
}, x7 = async (p, q) => {
|
|
@@ -3931,13 +3930,13 @@ const _a = (p, q, t, n) => {
|
|
|
3931
3930
|
return ((J = (D = u == null ? void 0 : u.key) == null ? void 0 : D.split("/")) == null ? void 0 : J.length) - 1 !== b;
|
|
3932
3931
|
})) == null ? void 0 : W.join("/")) + "/";
|
|
3933
3932
|
return (c = u.contents) == null || c.forEach((a, b) => {
|
|
3934
|
-
var D, J, Y, _, nA, iA,
|
|
3933
|
+
var D, J, Y, _, nA, iA, AA, z, RA, VA, IA, SA, jA, w, x, cA, WA, bA, X, uA, vA, HA, yA, xA, PA, JA, ue, U, A, e, I, V, C, B, $, f;
|
|
3935
3934
|
if (a.isShow = ((Y = (J = (D = i == null ? void 0 : i.get(o)) == null ? void 0 : D.contents) == null ? void 0 : J.find((r) => {
|
|
3936
3935
|
var g, v, H, QA;
|
|
3937
3936
|
return ((v = r == null ? void 0 : r.name) == null ? void 0 : v[((g = r == null ? void 0 : r.name) == null ? void 0 : g.length) - 1]) === ((QA = a == null ? void 0 : a.name) == null ? void 0 : QA[((H = a == null ? void 0 : a.name) == null ? void 0 : H.length) - 1]);
|
|
3938
3937
|
})) == null ? void 0 : Y.isShow) ?? a.isShow, (a == null ? void 0 : a.filter) !== "" && (a != null && a.filter) && (a != null && a.quotePage))
|
|
3939
3938
|
if (((_ = a == null ? void 0 : a.tableColumns) == null ? void 0 : _.length) === 0) {
|
|
3940
|
-
let r = ((iA = (nA = i.get(a == null ? void 0 : a.quotePage)) == null ? void 0 : nA.contents) == null ? void 0 : iA.find((g) => Ol(a == null ? void 0 : a.quoteGroup, g == null ? void 0 : g.name))) ?? ((
|
|
3939
|
+
let r = ((iA = (nA = i.get(a == null ? void 0 : a.quotePage)) == null ? void 0 : nA.contents) == null ? void 0 : iA.find((g) => Ol(a == null ? void 0 : a.quoteGroup, g == null ? void 0 : g.name))) ?? ((AA = i.get(a == null ? void 0 : a.quotePage)) == null ? void 0 : AA.contents) ?? [];
|
|
3941
3940
|
if (!Array.isArray(r) && ((z = r == null ? void 0 : r.tableColumns) == null ? void 0 : z.length) > 0) {
|
|
3942
3941
|
a.tableColumns = r == null ? void 0 : r.tableColumns;
|
|
3943
3942
|
let g = (IA = (VA = (RA = a == null ? void 0 : a.filter) == null ? void 0 : RA.replace("(", BA)) == null ? void 0 : VA.split(BA)) == null ? void 0 : IA[1];
|
|
@@ -4005,7 +4004,7 @@ const _a = (p, q, t, n) => {
|
|
|
4005
4004
|
let g = re(a).tableContents;
|
|
4006
4005
|
a = (C = (V = i == null ? void 0 : i.get(r)) == null ? void 0 : V.contents) == null ? void 0 : C[b], a.contents = g;
|
|
4007
4006
|
} else
|
|
4008
|
-
a.tableColumns = (f = (
|
|
4007
|
+
a.tableColumns = (f = ($ = (B = i == null ? void 0 : i.get(r)) == null ? void 0 : B.contents) == null ? void 0 : $[b]) == null ? void 0 : f.tableColumns;
|
|
4009
4008
|
s.push(a);
|
|
4010
4009
|
} else
|
|
4011
4010
|
s.push(a);
|
|
@@ -4121,11 +4120,11 @@ const _a = (p, q, t, n) => {
|
|
|
4121
4120
|
pageName: "menu"
|
|
4122
4121
|
});
|
|
4123
4122
|
iA = (D = iA == null ? void 0 : iA.data) == null ? void 0 : D.result, l.value = !0, E.setImportLoading(!0);
|
|
4124
|
-
let
|
|
4123
|
+
let AA = [];
|
|
4125
4124
|
n.setSelectTitle([]), n.setSelectIndex(""), n.setSelectMenu("");
|
|
4126
4125
|
let z = (J = u == null ? void 0 : u.content) == null ? void 0 : J.filter((RA) => RA !== "");
|
|
4127
|
-
if (
|
|
4128
|
-
await K7(
|
|
4126
|
+
if (AA = await Y7(z == null ? void 0 : z[0], iA), iA && (iA == null ? void 0 : iA.length) === 0)
|
|
4127
|
+
await K7(AA);
|
|
4129
4128
|
else {
|
|
4130
4129
|
let RA = /* @__PURE__ */ new Map(), VA = [];
|
|
4131
4130
|
iA == null || iA.forEach((w) => {
|
|
@@ -4145,7 +4144,7 @@ const _a = (p, q, t, n) => {
|
|
|
4145
4144
|
Array.isArray(x == null ? void 0 : x[0]) && (x = gr(x == null ? void 0 : x[0])), x = x == null ? void 0 : x.filter((X) => (X == null ? void 0 : X.prop) !== "sort"), IA.set((bA = w == null ? void 0 : w[0]) == null ? void 0 : bA.source_table, x);
|
|
4146
4145
|
});
|
|
4147
4146
|
let jA = [];
|
|
4148
|
-
|
|
4147
|
+
AA == null || AA.forEach((w) => {
|
|
4149
4148
|
var cA;
|
|
4150
4149
|
let x = RA.get(w == null ? void 0 : w.key) ?? [];
|
|
4151
4150
|
(x == null ? void 0 : x.length) > 0 && ((cA = w.contents) == null || cA.forEach((WA) => {
|
|
@@ -4169,7 +4168,7 @@ const _a = (p, q, t, n) => {
|
|
|
4169
4168
|
changeContents: jA
|
|
4170
4169
|
});
|
|
4171
4170
|
}
|
|
4172
|
-
t.setOriginalData(
|
|
4171
|
+
t.setOriginalData(AA);
|
|
4173
4172
|
} catch {
|
|
4174
4173
|
Zl.error("模型内容错误");
|
|
4175
4174
|
}
|
|
@@ -4242,9 +4241,9 @@ const _a = (p, q, t, n) => {
|
|
|
4242
4241
|
return [];
|
|
4243
4242
|
const { myModelList: pA = [], otherList: ZA = [] } = nA.value;
|
|
4244
4243
|
return [...pA, ...ZA];
|
|
4245
|
-
}),
|
|
4244
|
+
}), AA = (pA) => l(pA), z = async () => {
|
|
4246
4245
|
const pA = await E();
|
|
4247
|
-
nA.value =
|
|
4246
|
+
nA.value = AA(pA);
|
|
4248
4247
|
}, RA = async () => {
|
|
4249
4248
|
await z();
|
|
4250
4249
|
};
|
|
@@ -4418,7 +4417,7 @@ const _a = (p, q, t, n) => {
|
|
|
4418
4417
|
value: "delete"
|
|
4419
4418
|
}
|
|
4420
4419
|
]);
|
|
4421
|
-
const
|
|
4420
|
+
const $ = O([]), f = O([
|
|
4422
4421
|
{
|
|
4423
4422
|
label: "设为默认",
|
|
4424
4423
|
value: "set-default",
|
|
@@ -4521,7 +4520,7 @@ const _a = (p, q, t, n) => {
|
|
|
4521
4520
|
platType: pA != null && pA.isPlat ? te : "",
|
|
4522
4521
|
businessType: pA != null && pA.isPlat ? "" : te
|
|
4523
4522
|
});
|
|
4524
|
-
((Ae = FA == null ? void 0 : FA.data) == null ? void 0 : Ae.code) === 200 && (
|
|
4523
|
+
((Ae = FA == null ? void 0 : FA.data) == null ? void 0 : Ae.code) === 200 && ($.value = (YA = FA == null ? void 0 : FA.data) == null ? void 0 : YA.result);
|
|
4525
4524
|
} catch (te) {
|
|
4526
4525
|
throw te;
|
|
4527
4526
|
} finally {
|
|
@@ -4608,7 +4607,7 @@ const _a = (p, q, t, n) => {
|
|
|
4608
4607
|
Z(YA, null, {
|
|
4609
4608
|
default: G(() => [
|
|
4610
4609
|
Z(Ce, {
|
|
4611
|
-
data:
|
|
4610
|
+
data: $.value,
|
|
4612
4611
|
stripe: "",
|
|
4613
4612
|
style: { width: "100%" },
|
|
4614
4613
|
"row-class-name": ze,
|
|
@@ -5011,7 +5010,7 @@ const _a = (p, q, t, n) => {
|
|
|
5011
5010
|
immediate: !0
|
|
5012
5011
|
}
|
|
5013
5012
|
);
|
|
5014
|
-
const
|
|
5013
|
+
const AA = (w) => {
|
|
5015
5014
|
n("contentChange", w);
|
|
5016
5015
|
}, z = (w) => {
|
|
5017
5016
|
var cA;
|
|
@@ -5106,7 +5105,7 @@ const _a = (p, q, t, n) => {
|
|
|
5106
5105
|
content: E.value,
|
|
5107
5106
|
onChange: z,
|
|
5108
5107
|
jsonContents: h.value,
|
|
5109
|
-
onContentChange:
|
|
5108
|
+
onContentChange: AA,
|
|
5110
5109
|
onBuildContent: nA,
|
|
5111
5110
|
key: u.value,
|
|
5112
5111
|
onShowChild: iA,
|