ss-component-new 1.3.658 → 1.3.660
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/_plugin-vue_export-helper-BZ_eTSzz.js +16638 -0
- package/dist/config.js +1 -1
- package/dist/{index-ChNfRlIP.js → index-BofWylNB.js} +42 -18
- package/dist/index-C5rFKP3J.js +1042 -0
- package/dist/index-CLw1Ncst.js +181 -0
- package/dist/index-Cz0F1nRr.js +8236 -0
- package/dist/index-p2dYw5GI.js +49 -0
- package/dist/{index.vue_vue_type_script_setup_true_lang-DwbHXtUp.js → index.vue_vue_type_script_setup_true_lang-DRzriV-s.js} +2 -2
- package/dist/ss-component.css +2 -8
- package/dist/ss-component.js +214 -67
- package/dist/ss-component2.js +15 -75
- package/dist/ss-component3.js +785 -9
- package/package.json +4 -4
- package/public/config.js +1 -1
- package/dist/MTLLoader-DI0avKtj.js +0 -657
- package/dist/URDFLoader-PUxvYFDe.js +0 -2304
- package/dist/_plugin-vue_export-helper-CHgC5LLL.js +0 -9
- package/dist/animationData-05aVUytq.js +0 -83
- package/dist/array-ZM04o_us.js +0 -1044
- package/dist/clone-Ddn1p6-1.js +0 -8
- package/dist/eleIcon-BWVKfp5t.js +0 -29
- package/dist/iconfont-BNdGaGPn.js +0 -1018
- package/dist/icons/svg/Update.svg +0 -1
- package/dist/icons/svg/functionList.svg +0 -1
- package/dist/icons/svg/uploadCopy.svg +0 -1
- package/dist/index-9ruiIh9Q.js +0 -30
- package/dist/index-BAenzdfB.js +0 -83
- package/dist/index-BDhIWgKn.js +0 -658
- package/dist/index-BFqUz4pN.js +0 -52
- package/dist/index-BIAWyba9.js +0 -2623
- package/dist/index-BKJ5SfU0.js +0 -98
- package/dist/index-BMr09Ruf.js +0 -107
- package/dist/index-BOGJMjxF.js +0 -117
- package/dist/index-BP1mKUQP.js +0 -627
- package/dist/index-BczRQX8N.js +0 -407
- package/dist/index-BnrvtCYj.js +0 -55
- package/dist/index-Bpr501oZ.js +0 -78
- package/dist/index-Bs7vFXNW.js +0 -93
- package/dist/index-BvbZiTVB.js +0 -342
- package/dist/index-Bvvz41NY.js +0 -44
- package/dist/index-C2YKgxwc.js +0 -61990
- package/dist/index-C9DBY1gg.js +0 -103
- package/dist/index-CFFbhR3G.js +0 -996
- package/dist/index-COr2mcbl.js +0 -48
- package/dist/index-CV_jQDcg.js +0 -9
- package/dist/index-CXe4q28L.js +0 -447
- package/dist/index-CsxH-GEh.js +0 -24847
- package/dist/index-D-5v1Jx7.js +0 -93
- package/dist/index-D4LcEpQ7.js +0 -619
- package/dist/index-DGObzWyL.js +0 -8984
- package/dist/index-DJ59jXR0.js +0 -28483
- package/dist/index-DJrzqi4-.js +0 -209
- package/dist/index-D_kI6aHR.js +0 -98
- package/dist/index-Ddhx18T9.js +0 -864
- package/dist/index-Dr9Wt5nC.js +0 -84
- package/dist/index-Dwt0Wlg_.js +0 -201
- package/dist/index-EGwObkob.js +0 -468
- package/dist/index-WPJbEuld.js +0 -62
- package/dist/index-YVR3acYT.js +0 -61
- package/dist/index-dD-mKgue.js +0 -27
- package/dist/index-lHjuVdOp.js +0 -11773
- package/dist/index-uF-ibwG0.js +0 -9
- package/dist/index.vue_vue_type_style_index_0_scoped_39e1db95_lang-CG9X8aa2.js +0 -137728
- package/dist/isString-CoCw_sp3.js +0 -8
- package/dist/localIcon-CoJHw5ss.js +0 -76
- package/dist/main-Bs7Y7gDm.js +0 -502
- package/dist/menuIndex-Dt0NyAyE.js +0 -159
- package/dist/request-DiogHwkN.js +0 -9465
- package/dist/threeModel-C3x2TmUN.js +0 -1108
- package/dist/threePreview-BHLSA5YS.js +0 -2259
- package/dist/threeSceneView-mfAIunaw.js +0 -1289
- package/dist/threeSceneViewForCPMPIP-DrnsTNPv.js +0 -538
- package/dist/threeTrackPathView-BR8-g2Tr.js +0 -620
- package/dist/threeViewerHost-DbJCLcbz.js +0 -233
- package/dist/urdfTree-IEJgkVzs.js +0 -254
- package/dist/workpieceTreePanel-aZV2ut3W.js +0 -555
- package/public/icons/svg/Update.svg +0 -1
- package/public/icons/svg/functionList.svg +0 -1
- package/public/icons/svg/uploadCopy.svg +0 -1
- /package/dist/icons/svg/{tableClose.svg → table-close.svg} +0 -0
- /package/dist/icons/svg/{tableExpand.svg → table-expand.svg} +0 -0
- /package/public/icons/svg/{tableClose.svg → table-close.svg} +0 -0
- /package/public/icons/svg/{tableExpand.svg → table-expand.svg} +0 -0
package/dist/index-BvbZiTVB.js
DELETED
|
@@ -1,342 +0,0 @@
|
|
|
1
|
-
import { watch as Ie, ref as w, computed as we } from "vue";
|
|
2
|
-
import { p as E, k as A, w as Le } from "./index-DJ59jXR0.js";
|
|
3
|
-
import { s as Te, b as V, p as C, u as Re, A as De, c as B, J as N, E as Ee, q as Ae, aZ as Be, a_ as Pe, a$ as Ue, b0 as xe, b1 as Se, b2 as ke } from "./index-DGObzWyL.js";
|
|
4
|
-
import { s as z } from "./request-DiogHwkN.js";
|
|
5
|
-
const qe = V(C), { systemUrl: f } = Te(qe);
|
|
6
|
-
let P = f.value === "" || !f.value ? "http://222.92.178.198:63002" : f.value;
|
|
7
|
-
Ie(
|
|
8
|
-
() => f.value,
|
|
9
|
-
() => {
|
|
10
|
-
P = f.value === "" || !f.value ? "http://222.92.178.198:63002" : f.value;
|
|
11
|
-
},
|
|
12
|
-
{ deep: !0, immediate: !0 }
|
|
13
|
-
);
|
|
14
|
-
function Ne(s) {
|
|
15
|
-
return z({
|
|
16
|
-
url: `${P}/platform/import_data`,
|
|
17
|
-
method: "post",
|
|
18
|
-
data: s
|
|
19
|
-
});
|
|
20
|
-
}
|
|
21
|
-
function Fe(s) {
|
|
22
|
-
return z({
|
|
23
|
-
url: `${P}/platform/export_data`,
|
|
24
|
-
method: "post",
|
|
25
|
-
data: s,
|
|
26
|
-
responseType: "blob"
|
|
27
|
-
});
|
|
28
|
-
}
|
|
29
|
-
function Ve(s = "") {
|
|
30
|
-
const r = s.match(/filename\*=UTF-8''([^;]+)/i);
|
|
31
|
-
if (r)
|
|
32
|
-
return decodeURIComponent(r[1]);
|
|
33
|
-
const i = s.match(/filename=["']?([^"';]+)["']?/);
|
|
34
|
-
return i ? i[1] : "download.xlsx";
|
|
35
|
-
}
|
|
36
|
-
const Ce = (s) => {
|
|
37
|
-
var b, g;
|
|
38
|
-
const r = ((b = s == null ? void 0 : s.headers) == null ? void 0 : b["content-type"]) || "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", i = new Blob([s.data], { type: r }), L = (g = s == null ? void 0 : s.headers) == null ? void 0 : g["content-disposition"], h = Ve(L) || "数据.xlsx", c = window.URL.createObjectURL(i), u = document.createElement("a");
|
|
39
|
-
u.href = c, u.setAttribute("download", h), document.body.appendChild(u), u.click(), document.body.removeChild(u), window.URL.revokeObjectURL(c);
|
|
40
|
-
}, Je = [
|
|
41
|
-
{
|
|
42
|
-
label: "编辑",
|
|
43
|
-
value: "edit"
|
|
44
|
-
},
|
|
45
|
-
{
|
|
46
|
-
label: "删除",
|
|
47
|
-
value: "delete"
|
|
48
|
-
}
|
|
49
|
-
], F = "role", m = {
|
|
50
|
-
ENABLE: {
|
|
51
|
-
value: "enable",
|
|
52
|
-
label: "启用",
|
|
53
|
-
tag: "primary"
|
|
54
|
-
},
|
|
55
|
-
DISABLED: {
|
|
56
|
-
value: "disabled",
|
|
57
|
-
label: "禁用",
|
|
58
|
-
tag: "info"
|
|
59
|
-
}
|
|
60
|
-
}, d = {
|
|
61
|
-
EDITABLE: {
|
|
62
|
-
value: "editable",
|
|
63
|
-
label: "可编辑",
|
|
64
|
-
tag: "primary"
|
|
65
|
-
},
|
|
66
|
-
DISABLED: {
|
|
67
|
-
value: "disabled",
|
|
68
|
-
label: "不可编辑",
|
|
69
|
-
tag: "info"
|
|
70
|
-
}
|
|
71
|
-
}, ze = {
|
|
72
|
-
TABLE: {
|
|
73
|
-
value: "Table"
|
|
74
|
-
}
|
|
75
|
-
}, Oe = ["查看", "查看三维模型", "导出paraform", "导出", "导出全部", "导出选中"], Ke = () => {
|
|
76
|
-
const s = V(), r = Re(C), { isSuperAdmin: i, userId: L, userName: h, platId: c } = De(), u = w([]), b = (t) => {
|
|
77
|
-
const { propertyType: e } = t || {};
|
|
78
|
-
return e === ze.TABLE.value;
|
|
79
|
-
}, g = w({}), O = we(() => {
|
|
80
|
-
var e;
|
|
81
|
-
return i.value ? !0 : ((e = g.value) == null ? void 0 : e.status) === d.EDITABLE.value;
|
|
82
|
-
}), $ = (t) => {
|
|
83
|
-
var o, l;
|
|
84
|
-
const e = N(Date.now()), { id: a = 0 } = s.loginUserInfo || {}, n = B(t);
|
|
85
|
-
return n.update_user_id = a, n.update_user_name = h.value, n.update_time = e, n.checked_ids = ((l = (o = n == null ? void 0 : n.main_ids) == null ? void 0 : o.map) == null ? void 0 : l.call(o, (p) => {
|
|
86
|
-
const { id: _ } = p;
|
|
87
|
-
return _;
|
|
88
|
-
})) || [], n;
|
|
89
|
-
}, U = (t) => {
|
|
90
|
-
let e = [];
|
|
91
|
-
return t.forEach((a) => {
|
|
92
|
-
var n;
|
|
93
|
-
if (a.isPropertyLeaf) {
|
|
94
|
-
const o = B(a);
|
|
95
|
-
e.push(o);
|
|
96
|
-
}
|
|
97
|
-
a.children && ((n = a.children) == null ? void 0 : n.length) > 0 && (e = e.concat(U(a.children)));
|
|
98
|
-
}), e;
|
|
99
|
-
}, x = (t = []) => {
|
|
100
|
-
let e = [];
|
|
101
|
-
for (let a = 0; a < t.length; a++) {
|
|
102
|
-
const n = t[a], o = n.children || [];
|
|
103
|
-
delete n.children, e.push(n), o && o.length > 0 && (e = e.concat(x(o)));
|
|
104
|
-
}
|
|
105
|
-
return e;
|
|
106
|
-
}, G = (t) => {
|
|
107
|
-
let e = [];
|
|
108
|
-
return t.forEach((a) => {
|
|
109
|
-
if (a.isPropertyLeaf) {
|
|
110
|
-
const n = x(a.params);
|
|
111
|
-
e = e.concat(n);
|
|
112
|
-
}
|
|
113
|
-
}), e;
|
|
114
|
-
}, S = (t, e) => {
|
|
115
|
-
const a = s.loginUserInfo, { id: n = 0 } = a || {}, o = N(Date.now());
|
|
116
|
-
let l = {
|
|
117
|
-
name: "",
|
|
118
|
-
code: "",
|
|
119
|
-
order_no: 1,
|
|
120
|
-
data_scope: 1,
|
|
121
|
-
remark: "",
|
|
122
|
-
tenant_id: "",
|
|
123
|
-
create_time: o,
|
|
124
|
-
update_time: o,
|
|
125
|
-
create_user_id: n,
|
|
126
|
-
create_user_name: h.value,
|
|
127
|
-
update_user_id: n,
|
|
128
|
-
update_user_name: h.value,
|
|
129
|
-
status: m.ENABLE.value,
|
|
130
|
-
main_ids: [],
|
|
131
|
-
checked_ids: [],
|
|
132
|
-
params: []
|
|
133
|
-
};
|
|
134
|
-
const { checkAll: p, tree: _ } = e || {};
|
|
135
|
-
if (p && _) {
|
|
136
|
-
const v = U(_), be = v.map((D) => ({
|
|
137
|
-
...D,
|
|
138
|
-
department_scope: "unlimited"
|
|
139
|
-
}));
|
|
140
|
-
l.main_ids = be, l.checked_ids = v.map((D) => D.id), l.params = G(v);
|
|
141
|
-
}
|
|
142
|
-
if (t) {
|
|
143
|
-
const v = $(t);
|
|
144
|
-
l = {
|
|
145
|
-
...l,
|
|
146
|
-
...v
|
|
147
|
-
};
|
|
148
|
-
}
|
|
149
|
-
return l;
|
|
150
|
-
}, T = (t) => {
|
|
151
|
-
const e = [t];
|
|
152
|
-
return {
|
|
153
|
-
platId: c.value,
|
|
154
|
-
changeRoleData: e
|
|
155
|
-
};
|
|
156
|
-
}, M = async (t) => await Se({
|
|
157
|
-
platId: t
|
|
158
|
-
}), j = async () => {
|
|
159
|
-
var e;
|
|
160
|
-
r.setImportLoading(!0);
|
|
161
|
-
const t = await M(c.value).finally(() => {
|
|
162
|
-
r.setImportLoading(!1);
|
|
163
|
-
});
|
|
164
|
-
return (e = t == null ? void 0 : t.data) == null ? void 0 : e.result;
|
|
165
|
-
}, k = () => ({
|
|
166
|
-
name: ""
|
|
167
|
-
}), I = w(k()), H = () => {
|
|
168
|
-
I.value = k();
|
|
169
|
-
}, y = w({
|
|
170
|
-
pageNum: 1,
|
|
171
|
-
pageSize: 10,
|
|
172
|
-
total: 0,
|
|
173
|
-
pageSizes: [5, 10, 20, 50, 100]
|
|
174
|
-
}), Q = (t) => {
|
|
175
|
-
y.value.pageNum = t;
|
|
176
|
-
}, J = (t) => {
|
|
177
|
-
y.value.pageSize = t;
|
|
178
|
-
}, K = () => ({
|
|
179
|
-
platId: c.value,
|
|
180
|
-
pageNum: y.value.pageNum,
|
|
181
|
-
pageSize: y.value.pageSize,
|
|
182
|
-
filter: {
|
|
183
|
-
...I.value
|
|
184
|
-
}
|
|
185
|
-
}), W = async (t) => {
|
|
186
|
-
var a;
|
|
187
|
-
const e = await ke(t);
|
|
188
|
-
return (a = e == null ? void 0 : e.data) == null ? void 0 : a.result;
|
|
189
|
-
}, Z = async () => {
|
|
190
|
-
const t = K(), e = await W(t), { total: a } = e || {};
|
|
191
|
-
return y.value.total = a, e || {};
|
|
192
|
-
}, X = async (t) => {
|
|
193
|
-
delete t.role_id;
|
|
194
|
-
const e = T(t);
|
|
195
|
-
await xe(e);
|
|
196
|
-
}, Y = async (t) => {
|
|
197
|
-
r.setImportLoading(!0), await X(t).finally(() => {
|
|
198
|
-
r.setImportLoading(!1);
|
|
199
|
-
});
|
|
200
|
-
}, ee = async (t) => {
|
|
201
|
-
const e = T(t);
|
|
202
|
-
await Ue(e);
|
|
203
|
-
}, te = async (t) => {
|
|
204
|
-
r.setImportLoading(!0), await ee(t).finally(() => {
|
|
205
|
-
r.setImportLoading(!1);
|
|
206
|
-
});
|
|
207
|
-
}, ae = async (t) => {
|
|
208
|
-
const { role_id: e } = t, a = {
|
|
209
|
-
platId: c.value,
|
|
210
|
-
role_id: [e]
|
|
211
|
-
};
|
|
212
|
-
await Pe(a);
|
|
213
|
-
}, ne = async (t) => {
|
|
214
|
-
await Ee.confirm("是否确认要删除", "", {
|
|
215
|
-
showClose: !1,
|
|
216
|
-
confirmButtonText: "确认",
|
|
217
|
-
cancelButtonText: "取消",
|
|
218
|
-
type: "warning",
|
|
219
|
-
modalClass: "delete-role-message-modal",
|
|
220
|
-
confirmButtonClass: "delete-role-confirm"
|
|
221
|
-
}), r.setImportLoading(!0), await ae(t).finally(() => {
|
|
222
|
-
r.setImportLoading(!1);
|
|
223
|
-
});
|
|
224
|
-
}, oe = (t) => {
|
|
225
|
-
const e = t.toUpperCase(), a = m == null ? void 0 : m[e];
|
|
226
|
-
return (a == null ? void 0 : a.label) || t;
|
|
227
|
-
}, se = (t) => {
|
|
228
|
-
const e = t.toUpperCase(), a = m == null ? void 0 : m[e];
|
|
229
|
-
return (a == null ? void 0 : a.tag) || "info";
|
|
230
|
-
}, re = async (t) => {
|
|
231
|
-
var a;
|
|
232
|
-
const e = await Be(t);
|
|
233
|
-
return ((a = e == null ? void 0 : e.data) == null ? void 0 : a.result) || [];
|
|
234
|
-
}, le = async (t) => {
|
|
235
|
-
const e = {
|
|
236
|
-
platId: c.value,
|
|
237
|
-
includeHidden: !0,
|
|
238
|
-
roleIds: t
|
|
239
|
-
};
|
|
240
|
-
r.setImportLoading(!0);
|
|
241
|
-
const a = await re(e).finally(() => {
|
|
242
|
-
r.setImportLoading(!1);
|
|
243
|
-
});
|
|
244
|
-
u.value = a;
|
|
245
|
-
}, ce = (t = "") => {
|
|
246
|
-
const e = t.toUpperCase(), a = d == null ? void 0 : d[e];
|
|
247
|
-
return (a == null ? void 0 : a.label) || t;
|
|
248
|
-
}, ie = (t = "") => {
|
|
249
|
-
const e = t.toUpperCase(), a = d == null ? void 0 : d[e];
|
|
250
|
-
return (a == null ? void 0 : a.tag) || "info";
|
|
251
|
-
}, R = (t) => t === d.EDITABLE.value, ue = (t, e) => {
|
|
252
|
-
const { status: a } = t || {}, { tableOperate: n } = e || {};
|
|
253
|
-
return !!(R(a) || n && Oe.includes(n));
|
|
254
|
-
}, pe = (t, e) => {
|
|
255
|
-
const { status: a } = t || {};
|
|
256
|
-
return R(a);
|
|
257
|
-
}, de = (t, e) => {
|
|
258
|
-
if (i.value)
|
|
259
|
-
return !0;
|
|
260
|
-
const { type: a } = e || {};
|
|
261
|
-
if (E.TABLE === a)
|
|
262
|
-
return ue(t, e);
|
|
263
|
-
if (E.FORM === a)
|
|
264
|
-
return pe(t);
|
|
265
|
-
const { status: n } = t || {};
|
|
266
|
-
return R(n);
|
|
267
|
-
}, me = async () => {
|
|
268
|
-
var n, o;
|
|
269
|
-
const e = {
|
|
270
|
-
pageName: "系统管理/角色管理",
|
|
271
|
-
platId: c.value,
|
|
272
|
-
userId: L.value
|
|
273
|
-
}, a = await Ae(e);
|
|
274
|
-
return (o = (n = a == null ? void 0 : a.data) == null ? void 0 : n.result) == null ? void 0 : o[0];
|
|
275
|
-
}, fe = async () => {
|
|
276
|
-
if (!i.value)
|
|
277
|
-
return g.value = await me(), g;
|
|
278
|
-
}, q = (t) => {
|
|
279
|
-
const e = B(t);
|
|
280
|
-
for (let a = 0; a < e.length; a++) {
|
|
281
|
-
const n = e == null ? void 0 : e[a], { id: o, prop: l, children: p } = n || {};
|
|
282
|
-
n.uniqueKey = `${o}_${l}`, p && (n.children = q(p));
|
|
283
|
-
}
|
|
284
|
-
return e;
|
|
285
|
-
}, ge = async (t) => {
|
|
286
|
-
var a;
|
|
287
|
-
const e = await Ne(t);
|
|
288
|
-
return (a = e == null ? void 0 : e.data) == null ? void 0 : a.result;
|
|
289
|
-
}, ye = async (t) => {
|
|
290
|
-
const e = new FormData(), a = S(), { create_user_id: n, update_user_id: o, create_user_name: l, update_user_name: p } = a;
|
|
291
|
-
return e.set("platId", c.value), e.set("file", t), e.set("tableType", F), e.set("create_user_id", n), e.set("update_user_id", o), e.set("create_user_name", l), e.set("update_user_name", p), await ge(e);
|
|
292
|
-
}, he = async (t) => await Fe(t), _e = async () => {
|
|
293
|
-
const t = {
|
|
294
|
-
platId: c.value,
|
|
295
|
-
tableType: F,
|
|
296
|
-
filter: I.value
|
|
297
|
-
}, e = await he(t);
|
|
298
|
-
return Ce(e), e;
|
|
299
|
-
}, ve = [["名称", "编码", "备注", "状态"]];
|
|
300
|
-
return {
|
|
301
|
-
compType: E,
|
|
302
|
-
isTableFeature: b,
|
|
303
|
-
queryInfo: I,
|
|
304
|
-
resetQuery: H,
|
|
305
|
-
pageInfo: y,
|
|
306
|
-
setPageNum: Q,
|
|
307
|
-
setPageSize: J,
|
|
308
|
-
initGetByPage: Z,
|
|
309
|
-
initRoleList: j,
|
|
310
|
-
initCreate: Y,
|
|
311
|
-
initUpdate: te,
|
|
312
|
-
initDelete: ne,
|
|
313
|
-
initRoleRequestData: T,
|
|
314
|
-
initPropertyAuthTree: le,
|
|
315
|
-
propertyAuthTree: u,
|
|
316
|
-
initRoleItem: S,
|
|
317
|
-
isSuperAdmin: i,
|
|
318
|
-
getStatusLabelByValue: oe,
|
|
319
|
-
getStatusTagByValue: se,
|
|
320
|
-
getFeatureStatusLabelByValue: ce,
|
|
321
|
-
getFeatureStatusTagByValue: ie,
|
|
322
|
-
hasEditable: de,
|
|
323
|
-
initRoleConfig: fe,
|
|
324
|
-
hasRoleEditAuth: O,
|
|
325
|
-
buildParamAuthTree: q,
|
|
326
|
-
initImport: ye,
|
|
327
|
-
initExport: _e,
|
|
328
|
-
exportTemplate: async () => {
|
|
329
|
-
const t = A.aoa_to_sheet(ve), e = A.book_new();
|
|
330
|
-
A.book_append_sheet(e, t, "角色"), Le(e, "角色模板.xlsx");
|
|
331
|
-
}
|
|
332
|
-
};
|
|
333
|
-
};
|
|
334
|
-
export {
|
|
335
|
-
Ne as a,
|
|
336
|
-
Fe as e,
|
|
337
|
-
d as f,
|
|
338
|
-
Ce as i,
|
|
339
|
-
Je as o,
|
|
340
|
-
m as s,
|
|
341
|
-
Ke as u
|
|
342
|
-
};
|
package/dist/index-Bvvz41NY.js
DELETED
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { c as t, d as y, u as d } from "./index-YVR3acYT.js";
|
|
2
|
-
import { ref as o } from "vue";
|
|
3
|
-
const m = (e) => {
|
|
4
|
-
const a = {};
|
|
5
|
-
for (let s in e)
|
|
6
|
-
s !== "id" && (a[s] = e[s]);
|
|
7
|
-
const i = a == null ? void 0 : a.主菜单名称;
|
|
8
|
-
t({
|
|
9
|
-
key: {
|
|
10
|
-
type: "mainEquip",
|
|
11
|
-
systemKey: sessionStorage.getItem("systemKey"),
|
|
12
|
-
pageKey: i
|
|
13
|
-
},
|
|
14
|
-
value: {
|
|
15
|
-
tableData: a
|
|
16
|
-
}
|
|
17
|
-
});
|
|
18
|
-
}, r = (e) => {
|
|
19
|
-
y({
|
|
20
|
-
id: e == null ? void 0 : e.id
|
|
21
|
-
});
|
|
22
|
-
}, u = (e) => {
|
|
23
|
-
const a = {};
|
|
24
|
-
for (let s in e)
|
|
25
|
-
s !== "id" && (a[s] = e[s]);
|
|
26
|
-
const i = a == null ? void 0 : a.主菜单名称;
|
|
27
|
-
d({
|
|
28
|
-
id: e == null ? void 0 : e.id,
|
|
29
|
-
key: {
|
|
30
|
-
type: "mainEquip",
|
|
31
|
-
systemKey: sessionStorage.getItem("systemKey"),
|
|
32
|
-
pageKey: i
|
|
33
|
-
},
|
|
34
|
-
value: {
|
|
35
|
-
tableData: a
|
|
36
|
-
}
|
|
37
|
-
});
|
|
38
|
-
};
|
|
39
|
-
o([]);
|
|
40
|
-
export {
|
|
41
|
-
m as a,
|
|
42
|
-
r as d,
|
|
43
|
-
u as f
|
|
44
|
-
};
|