yh-pub 2.0.23 → 2.0.25
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/{AdminLogin-CpgCPQCY.js → AdminLogin-r1buP06D.js} +2 -2
- package/{AdminLogin-CpgCPQCY.js.map → AdminLogin-r1buP06D.js.map} +1 -1
- package/{Error-CmQbIXp3.js → Error-fKLmGO_G.js} +2 -2
- package/{Error-CmQbIXp3.js.map → Error-fKLmGO_G.js.map} +1 -1
- package/{Error401-CH7dA4qS.js → Error401-CRKo3mBB.js} +3 -3
- package/{Error401-CH7dA4qS.js.map → Error401-CRKo3mBB.js.map} +1 -1
- package/{Error404-CGk-6nbX.js → Error404-CD2FDLsM.js} +3 -3
- package/{Error404-CGk-6nbX.js.map → Error404-CD2FDLsM.js.map} +1 -1
- package/{Error500-D96jvA-e.js → Error500-CjjG0Qkb.js} +3 -3
- package/{Error500-D96jvA-e.js.map → Error500-CjjG0Qkb.js.map} +1 -1
- package/{HomeIndex-C6m9mX7y.js → HomeIndex-DCM-vrSh.js} +2 -2
- package/{HomeIndex-C6m9mX7y.js.map → HomeIndex-DCM-vrSh.js.map} +1 -1
- package/{IconExplorer-IvSZZOp6.js → IconExplorer-D0nDSjRc.js} +2 -2
- package/{IconExplorer-IvSZZOp6.js.map → IconExplorer-D0nDSjRc.js.map} +1 -1
- package/Index-CDP6wXET.js +5 -0
- package/Index-CDP6wXET.js.map +1 -0
- package/{MainLogin-DZAQ-Rqd.js → MainLogin-mcSuLAAm.js} +2 -2
- package/{MainLogin-DZAQ-Rqd.js.map → MainLogin-mcSuLAAm.js.map} +1 -1
- package/{MenuManage-C6uGK-FI.js → MenuManage-Cy__KBZE.js} +107 -107
- package/MenuManage-Cy__KBZE.js.map +1 -0
- package/{OrgManage-DJ0y_FGB.js → OrgManage-CeI0BkPR.js} +2 -2
- package/{OrgManage-DJ0y_FGB.js.map → OrgManage-CeI0BkPR.js.map} +1 -1
- package/{RoleManage-DhXjJvnh.js → RoleManage-WRPwZxC6.js} +2 -2
- package/{RoleManage-DhXjJvnh.js.map → RoleManage-WRPwZxC6.js.map} +1 -1
- package/{SysConfig-CIvEAx7U.js → SysConfig-h3NY_hOh.js} +2 -2
- package/{SysConfig-CIvEAx7U.js.map → SysConfig-h3NY_hOh.js.map} +1 -1
- package/{TenantList-DDaQPNbx.js → TenantList-BZ3toTio.js} +2 -2
- package/{TenantList-DDaQPNbx.js.map → TenantList-BZ3toTio.js.map} +1 -1
- package/{index-BpxX_ULE.js → index-Ckon4oo4.js} +18 -18
- package/{index-BpxX_ULE.js.map → index-Ckon4oo4.js.map} +1 -1
- package/index.es.js +1 -1
- package/package.json +1 -1
- package/vite.js +1 -1
- package/Index-CU6nqYEP.js +0 -5
- package/Index-CU6nqYEP.js.map +0 -1
- package/MenuManage-C6uGK-FI.js.map +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { watch as _e, computed as te, reactive as ye, ref as c, onMounted as oe, resolveComponent as f, resolveDirective as ne, openBlock as h, createBlock as $, unref as
|
|
1
|
+
import { watch as _e, computed as te, reactive as ye, ref as c, onMounted as oe, resolveComponent as f, resolveDirective as ne, openBlock as h, createBlock as $, unref as o, withCtx as s, createElementVNode as v, createVNode as l, withDirectives as N, createElementBlock as P, Fragment as H, renderList as Q, createTextVNode as C, toDisplayString as b, defineComponent as be, onActivated as ge, vShow as Y, createCommentVNode as he, nextTick as le } from "vue";
|
|
2
2
|
import { ElMessage as I, ElMessageBox as Ie } from "element-plus";
|
|
3
3
|
import { httpRequest as j, deepClone as ae } from "yh-client";
|
|
4
|
-
import { g as Ve, c as e, f as x, t as Me } from "./index-
|
|
4
|
+
import { g as Ve, c as e, f as x, t as Me } from "./index-Ckon4oo4.js";
|
|
5
5
|
import "pinia";
|
|
6
6
|
import "vue-router";
|
|
7
7
|
import "./vite.js";
|
|
@@ -53,7 +53,7 @@ const Ce = { style: { height: "600px" } }, ke = { class: "icon-choose-container"
|
|
|
53
53
|
return h(), $(W, {
|
|
54
54
|
modelValue: g.value,
|
|
55
55
|
"onUpdate:modelValue": i[2] || (i[2] = (y) => g.value = y),
|
|
56
|
-
title:
|
|
56
|
+
title: o(e)("选择ICON"),
|
|
57
57
|
width: 1200
|
|
58
58
|
}, {
|
|
59
59
|
default: s(() => [
|
|
@@ -64,13 +64,13 @@ const Ce = { style: { height: "600px" } }, ke = { class: "icon-choose-container"
|
|
|
64
64
|
}, {
|
|
65
65
|
default: s(() => [
|
|
66
66
|
l(O, {
|
|
67
|
-
label:
|
|
67
|
+
label: o(e)("筛选图标")
|
|
68
68
|
}, {
|
|
69
69
|
default: s(() => [
|
|
70
70
|
l(B, {
|
|
71
71
|
modelValue: V.icon,
|
|
72
72
|
"onUpdate:modelValue": i[0] || (i[0] = (y) => V.icon = y),
|
|
73
|
-
placeholder:
|
|
73
|
+
placeholder: o(e)("输入中文、英文、拼音筛选"),
|
|
74
74
|
"allow-clear": ""
|
|
75
75
|
}, null, 8, ["modelValue", "placeholder"])
|
|
76
76
|
]),
|
|
@@ -79,7 +79,7 @@ const Ce = { style: { height: "600px" } }, ke = { class: "icon-choose-container"
|
|
|
79
79
|
]),
|
|
80
80
|
_: 1
|
|
81
81
|
}, 8, ["model"]),
|
|
82
|
-
|
|
82
|
+
N((h(), P("div", ke, [
|
|
83
83
|
(h(!0), P(H, null, Q(T.value, (y) => (h(), $(x, {
|
|
84
84
|
"font-family": y.fontFamily,
|
|
85
85
|
prefix: y.prefix,
|
|
@@ -96,7 +96,7 @@ const Ce = { style: { height: "600px" } }, ke = { class: "icon-choose-container"
|
|
|
96
96
|
onClick: i[1] || (i[1] = (y) => D())
|
|
97
97
|
}, {
|
|
98
98
|
default: s(() => [
|
|
99
|
-
C(b(
|
|
99
|
+
C(b(o(e)("关闭")), 1)
|
|
100
100
|
]),
|
|
101
101
|
_: 1
|
|
102
102
|
})
|
|
@@ -106,7 +106,7 @@ const Ce = { style: { height: "600px" } }, ke = { class: "icon-choose-container"
|
|
|
106
106
|
}, 8, ["modelValue", "title"]);
|
|
107
107
|
};
|
|
108
108
|
}
|
|
109
|
-
}, De = { class: "yh-pub-menu-manage" }, Fe = { class: "operation" }, Pe = { class: "yh-pub-menu-main" }, Ue = { class: "tree" }, Te = { class: "edit-status-row" }, Oe = { class: "tree-tips" }, Ee = { class: "tree-bar" }, Le = { class: "form" },
|
|
109
|
+
}, De = { class: "yh-pub-menu-manage" }, Fe = { class: "operation" }, Pe = { class: "yh-pub-menu-main" }, Ue = { class: "tree" }, Te = { class: "edit-status-row" }, Oe = { class: "tree-tips" }, Ee = { class: "tree-bar" }, Le = { class: "form" }, Ae = { class: "yh-pub-menu-option-item" }, Ne = { class: "name" }, qe = { class: "tip" }, Be = { class: "icon-preview" }, je = /* @__PURE__ */ be({
|
|
110
110
|
name: "MenuManage",
|
|
111
111
|
__name: "MenuManage",
|
|
112
112
|
setup(X) {
|
|
@@ -143,33 +143,33 @@ const Ce = { style: { height: "600px" } }, ke = { class: "icon-choose-container"
|
|
|
143
143
|
}, W = {
|
|
144
144
|
label: "title"
|
|
145
145
|
}, K = te(() => p.value.filter((u) => ["JOIN"].includes(t.value.menuType) || u.menuType === "GROUP")), y = (u, a) => {
|
|
146
|
-
const
|
|
147
|
-
a(_.map((
|
|
146
|
+
const r = Me(), m = Object.keys(r), _ = u ? m.filter((d) => d.toLowerCase().includes(u.toLowerCase())) : m;
|
|
147
|
+
a(_.map((d) => ({ value: d })));
|
|
148
148
|
}, E = () => {
|
|
149
149
|
k.value = !0, j.post("/menuController/getMenuData", {}).then((u) => {
|
|
150
|
-
u.data.result && (p.value = [], w.value = u.data.menuList, M.value =
|
|
150
|
+
u.data.result && (p.value = [], w.value = u.data.menuList, M.value = G(w.value, 0));
|
|
151
151
|
}).catch((u) => {
|
|
152
152
|
console.error("获取菜单列表失败:", u), I.error(e("获取菜单列表失败"));
|
|
153
153
|
}).finally(() => {
|
|
154
154
|
k.value = !1;
|
|
155
155
|
});
|
|
156
156
|
}, ue = () => {
|
|
157
|
-
k.value = !0, M.value =
|
|
158
|
-
},
|
|
157
|
+
k.value = !0, M.value = G(w.value, 0, U.value), k.value = !1;
|
|
158
|
+
}, G = (u, a, r) => {
|
|
159
159
|
const m = [];
|
|
160
160
|
return u.forEach((_) => {
|
|
161
|
-
const
|
|
161
|
+
const d = {
|
|
162
162
|
data: _,
|
|
163
163
|
key: "",
|
|
164
164
|
title: "",
|
|
165
165
|
level: a
|
|
166
166
|
};
|
|
167
|
-
_._childs && _._childs.length > 0 && (
|
|
167
|
+
_._childs && _._childs.length > 0 && (d.children = G(_._childs, a + 1, r)), !(r !== void 0 && (d.children === void 0 || d.children.length === 0) && _.name.indexOf(r) === -1) && (r === void 0 && p.value.push(_), d.key = _.adMenuId, d.title = _.name, m.push(d));
|
|
168
168
|
}), m;
|
|
169
169
|
}, se = (u, a) => {
|
|
170
170
|
if (u) {
|
|
171
|
-
const
|
|
172
|
-
|
|
171
|
+
const r = ae(u.data);
|
|
172
|
+
t.value = r, T.value = r.name, B.value = a, D.value = u.data.adMenuId;
|
|
173
173
|
} else
|
|
174
174
|
D.value = null, L();
|
|
175
175
|
}, de = () => {
|
|
@@ -194,8 +194,8 @@ const Ce = { style: { height: "600px" } }, ke = { class: "icon-choose-container"
|
|
|
194
194
|
(u = g.value) == null || u.validate((a) => {
|
|
195
195
|
if (a) {
|
|
196
196
|
F.value = !0;
|
|
197
|
-
const
|
|
198
|
-
delete
|
|
197
|
+
const r = ae(t.value);
|
|
198
|
+
delete r.created, delete r.updated, delete r._childs, j.post("/menuController/submitMenu", r).then((m) => {
|
|
199
199
|
m.data.result ? (I.success(
|
|
200
200
|
(t.value.adMenuId !== "" ? e("修改") : e("新增")) + e("成功")
|
|
201
201
|
), E(), L()) : I.error(m.data.msg);
|
|
@@ -232,10 +232,10 @@ const Ce = { style: { height: "600px" } }, ke = { class: "icon-choose-container"
|
|
|
232
232
|
E();
|
|
233
233
|
}), ge(() => {
|
|
234
234
|
}), (u, a) => {
|
|
235
|
-
const
|
|
235
|
+
const r = f("el-button"), m = f("el-input"), _ = f("el-tree"), d = f("el-form-item"), A = f("el-option"), J = f("el-select"), pe = f("el-autocomplete"), me = f("el-switch"), ve = f("el-form"), fe = ne("loading");
|
|
236
236
|
return h(), P("div", De, [
|
|
237
237
|
v("div", Fe, [
|
|
238
|
-
l(
|
|
238
|
+
l(r, {
|
|
239
239
|
onClick: de,
|
|
240
240
|
type: "primary"
|
|
241
241
|
}, {
|
|
@@ -245,11 +245,11 @@ const Ce = { style: { height: "600px" } }, ke = { class: "icon-choose-container"
|
|
|
245
245
|
prefix: "yh-",
|
|
246
246
|
name: "plus"
|
|
247
247
|
}),
|
|
248
|
-
C(" " + b(
|
|
248
|
+
C(" " + b(o(e)("新增")), 1)
|
|
249
249
|
]),
|
|
250
250
|
_: 1
|
|
251
251
|
}),
|
|
252
|
-
l(
|
|
252
|
+
l(r, {
|
|
253
253
|
onClick: re,
|
|
254
254
|
type: "danger"
|
|
255
255
|
}, {
|
|
@@ -259,18 +259,18 @@ const Ce = { style: { height: "600px" } }, ke = { class: "icon-choose-container"
|
|
|
259
259
|
prefix: "yh-",
|
|
260
260
|
name: "delete2"
|
|
261
261
|
}),
|
|
262
|
-
C(" " + b(
|
|
262
|
+
C(" " + b(o(e)("删除")), 1)
|
|
263
263
|
]),
|
|
264
264
|
_: 1
|
|
265
265
|
}),
|
|
266
|
-
l(
|
|
266
|
+
l(r, { onClick: E }, {
|
|
267
267
|
default: s(() => [
|
|
268
268
|
l(x, {
|
|
269
269
|
fontFamily: "yhicon",
|
|
270
270
|
prefix: "yh-",
|
|
271
271
|
name: "refresh"
|
|
272
272
|
}),
|
|
273
|
-
C(" " + b(
|
|
273
|
+
C(" " + b(o(e)("刷新")), 1)
|
|
274
274
|
]),
|
|
275
275
|
_: 1
|
|
276
276
|
})
|
|
@@ -278,7 +278,7 @@ const Ce = { style: { height: "600px" } }, ke = { class: "icon-choose-container"
|
|
|
278
278
|
v("div", Pe, [
|
|
279
279
|
v("div", Ue, [
|
|
280
280
|
v("div", Te, [
|
|
281
|
-
v("div", Oe, b(
|
|
281
|
+
v("div", Oe, b(o(e)("当前选择编辑:") + T.value), 1),
|
|
282
282
|
l(x, {
|
|
283
283
|
class: "select-clear-icon",
|
|
284
284
|
onClick: Z,
|
|
@@ -289,9 +289,9 @@ const Ce = { style: { height: "600px" } }, ke = { class: "icon-choose-container"
|
|
|
289
289
|
]),
|
|
290
290
|
l(m, {
|
|
291
291
|
modelValue: U.value,
|
|
292
|
-
"onUpdate:modelValue": a[0] || (a[0] = (
|
|
292
|
+
"onUpdate:modelValue": a[0] || (a[0] = (n) => U.value = n),
|
|
293
293
|
onChange: ue,
|
|
294
|
-
placeholder:
|
|
294
|
+
placeholder: o(e)("输入菜单名搜索"),
|
|
295
295
|
clearable: ""
|
|
296
296
|
}, {
|
|
297
297
|
prepend: s(() => [
|
|
@@ -299,7 +299,7 @@ const Ce = { style: { height: "600px" } }, ke = { class: "icon-choose-container"
|
|
|
299
299
|
]),
|
|
300
300
|
_: 1
|
|
301
301
|
}, 8, ["modelValue", "placeholder"]),
|
|
302
|
-
|
|
302
|
+
N((h(), P("div", Ee, [
|
|
303
303
|
l(_, {
|
|
304
304
|
ref_key: "treeRef",
|
|
305
305
|
ref: V,
|
|
@@ -326,43 +326,43 @@ const Ce = { style: { height: "600px" } }, ke = { class: "icon-choose-container"
|
|
|
326
326
|
"label-width": "90px"
|
|
327
327
|
}, {
|
|
328
328
|
default: s(() => [
|
|
329
|
-
l(
|
|
330
|
-
label:
|
|
329
|
+
l(d, {
|
|
330
|
+
label: o(e)("名称"),
|
|
331
331
|
prop: "name"
|
|
332
332
|
}, {
|
|
333
333
|
default: s(() => [
|
|
334
334
|
l(m, {
|
|
335
335
|
modelValue: t.value.name,
|
|
336
|
-
"onUpdate:modelValue": a[1] || (a[1] = (
|
|
336
|
+
"onUpdate:modelValue": a[1] || (a[1] = (n) => t.value.name = n),
|
|
337
337
|
ref_key: "nameInputRef",
|
|
338
338
|
ref: q
|
|
339
339
|
}, null, 8, ["modelValue"])
|
|
340
340
|
]),
|
|
341
341
|
_: 1
|
|
342
342
|
}, 8, ["label"]),
|
|
343
|
-
l(
|
|
344
|
-
label:
|
|
343
|
+
l(d, {
|
|
344
|
+
label: o(e)("类型"),
|
|
345
345
|
prop: "menuType"
|
|
346
346
|
}, {
|
|
347
347
|
default: s(() => [
|
|
348
|
-
l(
|
|
348
|
+
l(J, {
|
|
349
349
|
modelValue: t.value.menuType,
|
|
350
|
-
"onUpdate:modelValue": a[2] || (a[2] = (
|
|
350
|
+
"onUpdate:modelValue": a[2] || (a[2] = (n) => t.value.menuType = n),
|
|
351
351
|
"popper-class": "yh-pub-menu-option",
|
|
352
|
-
placeholder:
|
|
352
|
+
placeholder: o(e)("请选择或输入搜索"),
|
|
353
353
|
filterable: "",
|
|
354
354
|
clearable: ""
|
|
355
355
|
}, {
|
|
356
356
|
default: s(() => [
|
|
357
|
-
(h(), P(H, null, Q(S, (
|
|
358
|
-
key:
|
|
359
|
-
value:
|
|
360
|
-
label:
|
|
357
|
+
(h(), P(H, null, Q(S, (n) => l(A, {
|
|
358
|
+
key: n.value,
|
|
359
|
+
value: n.value,
|
|
360
|
+
label: n.label
|
|
361
361
|
}, {
|
|
362
362
|
default: s(() => [
|
|
363
|
-
v("div",
|
|
364
|
-
v("div",
|
|
365
|
-
v("div", qe, b(o.desc), 1)
|
|
363
|
+
v("div", Ae, [
|
|
364
|
+
v("div", Ne, b(o(e)(n.label)), 1),
|
|
365
|
+
v("div", qe, b(o(e)(n.desc)), 1)
|
|
366
366
|
])
|
|
367
367
|
]),
|
|
368
368
|
_: 2
|
|
@@ -373,8 +373,8 @@ const Ce = { style: { height: "600px" } }, ke = { class: "icon-choose-container"
|
|
|
373
373
|
]),
|
|
374
374
|
_: 1
|
|
375
375
|
}, 8, ["label"]),
|
|
376
|
-
l(
|
|
377
|
-
label:
|
|
376
|
+
l(d, {
|
|
377
|
+
label: o(e)("所属模块"),
|
|
378
378
|
prop: "sysModuleId"
|
|
379
379
|
}, {
|
|
380
380
|
default: s(() => [
|
|
@@ -382,7 +382,7 @@ const Ce = { style: { height: "600px" } }, ke = { class: "icon-choose-container"
|
|
|
382
382
|
dict: "sysModuleId",
|
|
383
383
|
_select_id: "59C1E77AE78D44DF8876688FE78DB53E",
|
|
384
384
|
modelValue: t.value.sysModuleId,
|
|
385
|
-
"onUpdate:modelValue": a[3] || (a[3] = (
|
|
385
|
+
"onUpdate:modelValue": a[3] || (a[3] = (n) => t.value.sysModuleId = n),
|
|
386
386
|
placeholder: "请选择或输入搜索",
|
|
387
387
|
filterable: "",
|
|
388
388
|
clearable: ""
|
|
@@ -390,26 +390,26 @@ const Ce = { style: { height: "600px" } }, ke = { class: "icon-choose-container"
|
|
|
390
390
|
]),
|
|
391
391
|
_: 1
|
|
392
392
|
}, 8, ["label"]),
|
|
393
|
-
|
|
394
|
-
label:
|
|
393
|
+
N(l(d, {
|
|
394
|
+
label: o(e)("请求地址"),
|
|
395
395
|
prop: "url"
|
|
396
396
|
}, {
|
|
397
397
|
default: s(() => [
|
|
398
398
|
l(pe, {
|
|
399
399
|
modelValue: t.value.url,
|
|
400
|
-
"onUpdate:modelValue": a[4] || (a[4] = (
|
|
400
|
+
"onUpdate:modelValue": a[4] || (a[4] = (n) => t.value.url = n),
|
|
401
401
|
"fetch-suggestions": y,
|
|
402
|
-
placeholder:
|
|
402
|
+
placeholder: o(e)("请输入或选择组件路径"),
|
|
403
403
|
clearable: "",
|
|
404
404
|
style: { width: "100%" }
|
|
405
405
|
}, null, 8, ["modelValue", "placeholder"])
|
|
406
406
|
]),
|
|
407
407
|
_: 1
|
|
408
408
|
}, 8, ["label"]), [
|
|
409
|
-
[
|
|
409
|
+
[Y, ["LINK", "SUBPAGE"].includes(t.value.menuType)]
|
|
410
410
|
]),
|
|
411
|
-
|
|
412
|
-
label:
|
|
411
|
+
N(l(d, {
|
|
412
|
+
label: o(e)("访问窗口"),
|
|
413
413
|
prop: "sysWindowId"
|
|
414
414
|
}, {
|
|
415
415
|
default: s(() => [
|
|
@@ -417,17 +417,17 @@ const Ce = { style: { height: "600px" } }, ke = { class: "icon-choose-container"
|
|
|
417
417
|
dict: "sysWindowId",
|
|
418
418
|
_select_id: "F56B868C8FF44053926920588FB3C76C",
|
|
419
419
|
modelValue: t.value.sysWindowId,
|
|
420
|
-
"onUpdate:modelValue": a[5] || (a[5] = (
|
|
421
|
-
placeholder:
|
|
420
|
+
"onUpdate:modelValue": a[5] || (a[5] = (n) => t.value.sysWindowId = n),
|
|
421
|
+
placeholder: o(e)("请选择或输入搜索"),
|
|
422
422
|
filterable: "",
|
|
423
423
|
clearable: ""
|
|
424
424
|
}, null, 8, ["modelValue", "placeholder"])
|
|
425
425
|
]),
|
|
426
426
|
_: 1
|
|
427
427
|
}, 8, ["label"]), [
|
|
428
|
-
[
|
|
428
|
+
[Y, t.value.menuType === "WINDOW" || t.value.menuType === "JOIN"]
|
|
429
429
|
]),
|
|
430
|
-
|
|
430
|
+
N(l(d, {
|
|
431
431
|
label: "App页面",
|
|
432
432
|
prop: "sysAppDesignId"
|
|
433
433
|
}, {
|
|
@@ -436,33 +436,33 @@ const Ce = { style: { height: "600px" } }, ke = { class: "icon-choose-container"
|
|
|
436
436
|
dict: "sysAppDesignId",
|
|
437
437
|
_select_id: "1352728B367842EDAFF195BF073DD817",
|
|
438
438
|
modelValue: t.value.sysAppDesignId,
|
|
439
|
-
"onUpdate:modelValue": a[6] || (a[6] = (
|
|
440
|
-
placeholder:
|
|
439
|
+
"onUpdate:modelValue": a[6] || (a[6] = (n) => t.value.sysAppDesignId = n),
|
|
440
|
+
placeholder: o(e)("请选择或输入搜索"),
|
|
441
441
|
filterable: "",
|
|
442
442
|
clearable: ""
|
|
443
443
|
}, null, 8, ["modelValue", "placeholder"])
|
|
444
444
|
]),
|
|
445
445
|
_: 1
|
|
446
446
|
}, 512), [
|
|
447
|
-
[
|
|
447
|
+
[Y, t.value.menuType === "APP"]
|
|
448
448
|
]),
|
|
449
|
-
l(
|
|
450
|
-
label:
|
|
449
|
+
l(d, {
|
|
450
|
+
label: o(e)("上级菜单"),
|
|
451
451
|
prop: "parentId"
|
|
452
452
|
}, {
|
|
453
453
|
default: s(() => [
|
|
454
|
-
l(
|
|
454
|
+
l(J, {
|
|
455
455
|
modelValue: t.value.parentId,
|
|
456
|
-
"onUpdate:modelValue": a[7] || (a[7] = (
|
|
457
|
-
placeholder:
|
|
456
|
+
"onUpdate:modelValue": a[7] || (a[7] = (n) => t.value.parentId = n),
|
|
457
|
+
placeholder: o(e)("请选择或输入搜索"),
|
|
458
458
|
filterable: "",
|
|
459
459
|
clearable: ""
|
|
460
460
|
}, {
|
|
461
461
|
default: s(() => [
|
|
462
|
-
(h(!0), P(H, null, Q(K.value, (
|
|
463
|
-
value:
|
|
464
|
-
label:
|
|
465
|
-
key:
|
|
462
|
+
(h(!0), P(H, null, Q(K.value, (n) => (h(), $(A, {
|
|
463
|
+
value: n.adMenuId,
|
|
464
|
+
label: n.name,
|
|
465
|
+
key: n.adMenuId
|
|
466
466
|
}, null, 8, ["value", "label"]))), 128))
|
|
467
467
|
]),
|
|
468
468
|
_: 1
|
|
@@ -470,30 +470,30 @@ const Ce = { style: { height: "600px" } }, ke = { class: "icon-choose-container"
|
|
|
470
470
|
]),
|
|
471
471
|
_: 1
|
|
472
472
|
}, 8, ["label"]),
|
|
473
|
-
l(
|
|
474
|
-
label:
|
|
473
|
+
l(d, {
|
|
474
|
+
label: o(e)("显示模式"),
|
|
475
475
|
prop: "showMode"
|
|
476
476
|
}, {
|
|
477
477
|
default: s(() => [
|
|
478
|
-
l(
|
|
478
|
+
l(J, {
|
|
479
479
|
modelValue: t.value.showMode,
|
|
480
|
-
"onUpdate:modelValue": a[8] || (a[8] = (
|
|
481
|
-
placeholder:
|
|
480
|
+
"onUpdate:modelValue": a[8] || (a[8] = (n) => t.value.showMode = n),
|
|
481
|
+
placeholder: o(e)("请选择或输入搜索"),
|
|
482
482
|
filterable: "",
|
|
483
483
|
clearable: ""
|
|
484
484
|
}, {
|
|
485
485
|
default: s(() => [
|
|
486
|
-
l(
|
|
486
|
+
l(A, {
|
|
487
487
|
value: "P",
|
|
488
|
-
label:
|
|
488
|
+
label: o(e)("电脑端")
|
|
489
489
|
}, null, 8, ["label"]),
|
|
490
|
-
l(
|
|
490
|
+
l(A, {
|
|
491
491
|
value: "M",
|
|
492
|
-
label:
|
|
492
|
+
label: o(e)("手机端")
|
|
493
493
|
}, null, 8, ["label"]),
|
|
494
|
-
l(
|
|
494
|
+
l(A, {
|
|
495
495
|
value: "PM",
|
|
496
|
-
label:
|
|
496
|
+
label: o(e)("电脑+手机")
|
|
497
497
|
}, null, 8, ["label"])
|
|
498
498
|
]),
|
|
499
499
|
_: 1
|
|
@@ -501,37 +501,37 @@ const Ce = { style: { height: "600px" } }, ke = { class: "icon-choose-container"
|
|
|
501
501
|
]),
|
|
502
502
|
_: 1
|
|
503
503
|
}, 8, ["label"]),
|
|
504
|
-
l(
|
|
505
|
-
label:
|
|
504
|
+
l(d, {
|
|
505
|
+
label: o(e)("排序"),
|
|
506
506
|
prop: "seq"
|
|
507
507
|
}, {
|
|
508
508
|
default: s(() => [
|
|
509
509
|
l(m, {
|
|
510
510
|
type: "number",
|
|
511
511
|
modelValue: t.value.seq,
|
|
512
|
-
"onUpdate:modelValue": a[9] || (a[9] = (
|
|
512
|
+
"onUpdate:modelValue": a[9] || (a[9] = (n) => t.value.seq = n)
|
|
513
513
|
}, null, 8, ["modelValue"])
|
|
514
514
|
]),
|
|
515
515
|
_: 1
|
|
516
516
|
}, 8, ["label"]),
|
|
517
|
-
l(
|
|
518
|
-
label:
|
|
517
|
+
l(d, {
|
|
518
|
+
label: o(e)("图标地址"),
|
|
519
519
|
prop: "iconPath",
|
|
520
520
|
class: "icon-select-form-item"
|
|
521
521
|
}, {
|
|
522
522
|
default: s(() => [
|
|
523
|
-
l(
|
|
523
|
+
l(r, {
|
|
524
524
|
type: "info",
|
|
525
|
-
onClick: a[10] || (a[10] = (
|
|
525
|
+
onClick: a[10] || (a[10] = (n) => ie())
|
|
526
526
|
}, {
|
|
527
527
|
default: s(() => [
|
|
528
|
-
C(b(
|
|
528
|
+
C(b(o(e)("图标选择")), 1)
|
|
529
529
|
]),
|
|
530
530
|
_: 1
|
|
531
531
|
}),
|
|
532
532
|
l(m, {
|
|
533
533
|
modelValue: t.value.iconPath,
|
|
534
|
-
"onUpdate:modelValue": a[11] || (a[11] = (
|
|
534
|
+
"onUpdate:modelValue": a[11] || (a[11] = (n) => t.value.iconPath = n)
|
|
535
535
|
}, null, 8, ["modelValue"]),
|
|
536
536
|
v("span", Be, [
|
|
537
537
|
t.value.iconPath ? (h(), $(x, {
|
|
@@ -542,38 +542,38 @@ const Ce = { style: { height: "600px" } }, ke = { class: "icon-choose-container"
|
|
|
542
542
|
]),
|
|
543
543
|
_: 1
|
|
544
544
|
}, 8, ["label"]),
|
|
545
|
-
l(
|
|
546
|
-
label:
|
|
545
|
+
l(d, {
|
|
546
|
+
label: o(e)("备注"),
|
|
547
547
|
prop: "description"
|
|
548
548
|
}, {
|
|
549
549
|
default: s(() => [
|
|
550
550
|
l(m, {
|
|
551
551
|
modelValue: t.value.description,
|
|
552
|
-
"onUpdate:modelValue": a[12] || (a[12] = (
|
|
552
|
+
"onUpdate:modelValue": a[12] || (a[12] = (n) => t.value.description = n),
|
|
553
553
|
type: "textarea"
|
|
554
554
|
}, null, 8, ["modelValue"])
|
|
555
555
|
]),
|
|
556
556
|
_: 1
|
|
557
557
|
}, 8, ["label"]),
|
|
558
|
-
l(
|
|
559
|
-
label:
|
|
558
|
+
l(d, {
|
|
559
|
+
label: o(e)("是否有效")
|
|
560
560
|
}, {
|
|
561
561
|
default: s(() => [
|
|
562
562
|
l(me, {
|
|
563
563
|
modelValue: t.value.active,
|
|
564
|
-
"onUpdate:modelValue": a[13] || (a[13] = (
|
|
564
|
+
"onUpdate:modelValue": a[13] || (a[13] = (n) => t.value.active = n),
|
|
565
565
|
"inline-prompt": "",
|
|
566
566
|
"active-value": "Y",
|
|
567
567
|
"inactive-value": "N",
|
|
568
|
-
"active-text":
|
|
569
|
-
"inactive-text":
|
|
568
|
+
"active-text": o(e)("有效"),
|
|
569
|
+
"inactive-text": o(e)("无效")
|
|
570
570
|
}, null, 8, ["modelValue", "active-text", "inactive-text"])
|
|
571
571
|
]),
|
|
572
572
|
_: 1
|
|
573
573
|
}, 8, ["label"]),
|
|
574
|
-
l(
|
|
574
|
+
l(d, null, {
|
|
575
575
|
default: s(() => [
|
|
576
|
-
l(
|
|
576
|
+
l(r, {
|
|
577
577
|
style: { "margin-right": "5px" },
|
|
578
578
|
onClick: ee,
|
|
579
579
|
loading: F.value,
|
|
@@ -582,11 +582,11 @@ const Ce = { style: { height: "600px" } }, ke = { class: "icon-choose-container"
|
|
|
582
582
|
}, {
|
|
583
583
|
default: s(() => [
|
|
584
584
|
a[14] || (a[14] = v("i", { class: "iconfont icon-plus" }, null, -1)),
|
|
585
|
-
C(" " + b(
|
|
585
|
+
C(" " + b(o(e)("保存新增")), 1)
|
|
586
586
|
]),
|
|
587
587
|
_: 1
|
|
588
588
|
}, 8, ["loading", "disabled"]),
|
|
589
|
-
l(
|
|
589
|
+
l(r, {
|
|
590
590
|
style: { "margin-right": "5px" },
|
|
591
591
|
onClick: ee,
|
|
592
592
|
loading: F.value,
|
|
@@ -595,13 +595,13 @@ const Ce = { style: { height: "600px" } }, ke = { class: "icon-choose-container"
|
|
|
595
595
|
}, {
|
|
596
596
|
default: s(() => [
|
|
597
597
|
a[15] || (a[15] = v("i", { class: "iconfont icon-save" }, null, -1)),
|
|
598
|
-
C(" " + b(
|
|
598
|
+
C(" " + b(o(e)("保存修改")), 1)
|
|
599
599
|
]),
|
|
600
600
|
_: 1
|
|
601
601
|
}, 8, ["loading", "disabled"]),
|
|
602
|
-
l(
|
|
602
|
+
l(r, { onClick: L }, {
|
|
603
603
|
default: s(() => [
|
|
604
|
-
C(b(
|
|
604
|
+
C(b(o(e)("重置")), 1)
|
|
605
605
|
]),
|
|
606
606
|
_: 1
|
|
607
607
|
})
|
|
@@ -624,4 +624,4 @@ const Ce = { style: { height: "600px" } }, ke = { class: "icon-choose-container"
|
|
|
624
624
|
export {
|
|
625
625
|
je as default
|
|
626
626
|
};
|
|
627
|
-
//# sourceMappingURL=MenuManage-
|
|
627
|
+
//# sourceMappingURL=MenuManage-Cy__KBZE.js.map
|