yh-pub 2.0.1 → 2.0.7

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.
Files changed (61) hide show
  1. package/{AdminLogin-BoxKRRwd.js → AdminLogin-BQ1XLQaD.js} +83 -75
  2. package/AdminLogin-BQ1XLQaD.js.map +1 -0
  3. package/{Dict.vue_vue_type_script_setup_true_lang-A8BZwEiK.js → Dict.vue_vue_type_script_setup_true_lang-CcfyhJln.js} +9 -10
  4. package/{Dict.vue_vue_type_script_setup_true_lang-A8BZwEiK.js.map → Dict.vue_vue_type_script_setup_true_lang-CcfyhJln.js.map} +1 -1
  5. package/{Error-BCu4KHfU.js → Error-mAhb4JTd.js} +2 -2
  6. package/{Error-BCu4KHfU.js.map → Error-mAhb4JTd.js.map} +1 -1
  7. package/Error401-B7NlVttM.js +31 -0
  8. package/Error401-B7NlVttM.js.map +1 -0
  9. package/Error404-Ba9ueMHc.js +31 -0
  10. package/Error404-Ba9ueMHc.js.map +1 -0
  11. package/Error500-DYjNCZNu.js +31 -0
  12. package/Error500-DYjNCZNu.js.map +1 -0
  13. package/{HomeIndex-C806Fp-9.js → HomeIndex-BO9gew40.js} +172 -172
  14. package/HomeIndex-BO9gew40.js.map +1 -0
  15. package/{IconExplorer-CBg1lvD0.js → IconExplorer-CAqKbvQ1.js} +25 -25
  16. package/IconExplorer-CAqKbvQ1.js.map +1 -0
  17. package/Index-fSvx8Wih.js +5 -0
  18. package/Index-fSvx8Wih.js.map +1 -0
  19. package/{MainLogin-wW7bSk0F.js → MainLogin-D2XRuJDW.js} +92 -86
  20. package/MainLogin-D2XRuJDW.js.map +1 -0
  21. package/MenuManage-BPvVvMzw.js +626 -0
  22. package/MenuManage-BPvVvMzw.js.map +1 -0
  23. package/OrgManage-DM43rEPk.js +380 -0
  24. package/OrgManage-DM43rEPk.js.map +1 -0
  25. package/RoleManage-AqGTGljA.js +738 -0
  26. package/RoleManage-AqGTGljA.js.map +1 -0
  27. package/SysConfig-v9nYZf4a.js +733 -0
  28. package/SysConfig-v9nYZf4a.js.map +1 -0
  29. package/TenantList-PeEEKz0o.js +705 -0
  30. package/TenantList-PeEEKz0o.js.map +1 -0
  31. package/{index-BP41Ph8K.js → index-kZF68V9S.js} +11915 -17231
  32. package/index-kZF68V9S.js.map +1 -0
  33. package/index.es.js +52 -48
  34. package/package.json +12 -13
  35. package/style.css +1 -1
  36. package/AdminLogin-BoxKRRwd.js.map +0 -1
  37. package/Error401-C5kTyMSM.js +0 -30
  38. package/Error401-C5kTyMSM.js.map +0 -1
  39. package/Error404-P3qKjHk6.js +0 -30
  40. package/Error404-P3qKjHk6.js.map +0 -1
  41. package/Error500-NVnuOBIQ.js +0 -30
  42. package/Error500-NVnuOBIQ.js.map +0 -1
  43. package/HomeIndex-C806Fp-9.js.map +0 -1
  44. package/IconExplorer-CBg1lvD0.js.map +0 -1
  45. package/Index-AjfvK7Ss.js +0 -5
  46. package/Index-AjfvK7Ss.js.map +0 -1
  47. package/MainLogin-wW7bSk0F.js.map +0 -1
  48. package/MenuManage-CIxqmusr.js +0 -641
  49. package/MenuManage-CIxqmusr.js.map +0 -1
  50. package/OrgManage-BcTWbnyc.js +0 -378
  51. package/OrgManage-BcTWbnyc.js.map +0 -1
  52. package/RoleManage-Bw83c_7q.js +0 -729
  53. package/RoleManage-Bw83c_7q.js.map +0 -1
  54. package/SysConfig-L0A1eY-O.js +0 -727
  55. package/SysConfig-L0A1eY-O.js.map +0 -1
  56. package/TenantList-B5imzQc5.js +0 -696
  57. package/TenantList-B5imzQc5.js.map +0 -1
  58. package/index-BP41Ph8K.js.map +0 -1
  59. package/index-CJ0So9-k.js +0 -7
  60. package/index-CJ0So9-k.js.map +0 -1
  61. package/index.d.ts +0 -35
@@ -1,641 +0,0 @@
1
- import { watch as ge, computed as ae, reactive as be, ref as r, onMounted as oe, resolveComponent as d, resolveDirective as ne, openBlock as g, createBlock as S, withCtx as n, createElementVNode as I, createVNode as l, withDirectives as x, createElementBlock as k, Fragment as H, renderList as J, createTextVNode as M, defineComponent as Ie, onActivated as Ve, normalizeStyle as Me, vShow as B, createCommentVNode as he, nextTick as le } from "vue";
2
- import { ElMessage as b, ElMessageBox as we } from "element-plus";
3
- import { g as xe, h as C, j as G, w as Ce, _ as ke } from "./index-BP41Ph8K.js";
4
- import "lodash-es";
5
- import { d as te } from "./index-CJ0So9-k.js";
6
- import { _ as Y } from "./Dict.vue_vue_type_script_setup_true_lang-A8BZwEiK.js";
7
- const Fe = { style: { height: "600px" } }, De = { class: "icon-choose-container" }, Te = { slot: "footer" }, Pe = {
8
- __name: "IconSelect",
9
- props: {
10
- actionData: {
11
- type: Object
12
- }
13
- },
14
- emits: ["clickSure"],
15
- setup(z, { emit: q }) {
16
- const R = z, h = q;
17
- ge(
18
- () => R.actionData,
19
- (i) => {
20
- i.type === "select" ? f.value = !0 : f.value = !1;
21
- },
22
- {
23
- deep: !0
24
- }
25
- );
26
- const O = ae(() => {
27
- const i = _.icon.toLowerCase();
28
- return i ? V.value.filter((s) => s.label && s.label.toLowerCase().indexOf(i) > -1 || s.value && s.value.toLowerCase().indexOf(i) > -1 || s.pinyinFull && s.pinyinFull.indexOf(i) > -1 || s.pinyinFirst && s.pinyinFirst.indexOf(i) > -1) : V.value;
29
- });
30
- function F() {
31
- _.icon = "", f.value = !1;
32
- }
33
- function D(i) {
34
- const s = `${i.fontFamily} ${i.prefix}${i.value}`;
35
- L.value = s, h("clickSure", s), f.value = !1;
36
- }
37
- const _ = be({
38
- icon: ""
39
- }), f = r(!1), L = r(""), V = r([]), w = r(!1);
40
- return oe(async () => {
41
- if (!(V.value.length > 0)) {
42
- w.value = !0;
43
- try {
44
- V.value = await xe();
45
- } finally {
46
- w.value = !1;
47
- }
48
- }
49
- }), (i, s) => {
50
- const T = d("el-input"), N = d("el-form-item"), A = d("el-form"), P = d("el-button"), t = d("el-dialog"), W = ne("loading");
51
- return g(), S(t, {
52
- modelValue: f.value,
53
- "onUpdate:modelValue": s[2] || (s[2] = (y) => f.value = y),
54
- title: "选择ICON",
55
- width: 1200
56
- }, {
57
- default: n(() => [
58
- I("div", Fe, [
59
- l(A, {
60
- model: _,
61
- layout: "inline"
62
- }, {
63
- default: n(() => [
64
- l(N, { label: "筛选图标" }, {
65
- default: n(() => [
66
- l(T, {
67
- modelValue: _.icon,
68
- "onUpdate:modelValue": s[0] || (s[0] = (y) => _.icon = y),
69
- placeholder: "输入中文、英文、拼音筛选",
70
- "allow-clear": ""
71
- }, null, 8, ["modelValue"])
72
- ]),
73
- _: 1
74
- })
75
- ]),
76
- _: 1
77
- }, 8, ["model"]),
78
- x((g(), k("div", De, [
79
- (g(!0), k(H, null, J(O.value, (y) => (g(), S(C, {
80
- "font-family": y.fontFamily,
81
- prefix: y.prefix,
82
- name: y.value,
83
- onClick: (Q) => D(y)
84
- }, null, 8, ["font-family", "prefix", "name", "onClick"]))), 256))
85
- ])), [
86
- [W, w.value]
87
- ])
88
- ]),
89
- I("div", Te, [
90
- l(P, {
91
- type: "primary",
92
- onClick: s[1] || (s[1] = (y) => F())
93
- }, {
94
- default: n(() => [...s[3] || (s[3] = [
95
- M(" 关闭 ", -1)
96
- ])]),
97
- _: 1
98
- })
99
- ])
100
- ]),
101
- _: 1
102
- }, 8, ["modelValue"]);
103
- };
104
- }
105
- }, Ue = { class: "menu-manage" }, Ee = { class: "edit-status-row" }, Oe = { class: "icon-preview" }, Le = 287, Ne = /* @__PURE__ */ Ie({
106
- name: "MenuManage",
107
- __name: "MenuManage",
108
- setup(z) {
109
- const q = [
110
- { value: "WINDOW", label: "窗口" },
111
- { value: "LINK", label: "访问链接" },
112
- { value: "SUBPAGE", label: "子页面" },
113
- { value: "JOIN", label: "关联弹窗" },
114
- { value: "GROUP", label: "菜单分组" },
115
- { value: "APP", label: "手机页面" }
116
- ], R = r("tree"), h = r(!0), O = r("500px"), F = r(""), D = r(""), _ = r(null), f = r(!1), L = r(), V = r(), w = r(), i = r([]), s = r([]), T = r([]), N = r({}), A = r(null), P = r(!1), t = r({
117
- name: "",
118
- menuType: "",
119
- sysModuleId: "",
120
- sysWindowId: "",
121
- sysAppDesignId: "",
122
- url: "",
123
- parentId: "",
124
- showMode: null,
125
- seq: null,
126
- iconPath: "",
127
- description: "",
128
- adMenuId: "",
129
- active: !0
130
- }), W = {
131
- name: [{ required: !0, message: "名称不能为空", trigger: "blur" }],
132
- menuType: [{ required: !0, message: "菜单类型不能为空", trigger: "blur" }],
133
- sysModuleId: [{ required: !0, message: "所属模块不能为空", trigger: "blur" }],
134
- showMode: [{ required: !0, message: "显示模式不能为空", trigger: "blur" }],
135
- seq: [{ required: !0, message: "排序值不能为空", trigger: "blur" }],
136
- iconPath: [{ required: !0, message: "图标不能为空", trigger: "blur" }]
137
- }, y = {
138
- label: "title"
139
- }, Q = ae(() => T.value.filter((a) => ["JOIN"].includes(t.value.menuType) || a.menuType === "GROUP")), ue = (a, e) => {
140
- const u = Ce(), p = Object.keys(u), v = a ? p.filter((c) => c.toLowerCase().includes(a.toLowerCase())) : p;
141
- e(v.map((c) => ({ value: c })));
142
- }, $ = () => {
143
- h.value = !0, G.post("/menuController/getMenuData", {}).then((a) => {
144
- a.data.result && (T.value = [], s.value = a.data.menuList, i.value = K(s.value, 0));
145
- }).catch((a) => {
146
- console.error("获取菜单列表失败:", a), b.error("获取菜单列表失败");
147
- }).finally(() => {
148
- h.value = !1;
149
- });
150
- }, se = () => {
151
- h.value = !0, i.value = K(s.value, 0, F.value), h.value = !1;
152
- }, K = (a, e, u) => {
153
- const p = [];
154
- return a.forEach((v) => {
155
- const c = {
156
- data: v,
157
- key: "",
158
- title: "",
159
- level: e
160
- };
161
- v._childs && v._childs.length > 0 && (c.children = K(v._childs, e + 1, u)), !(u !== void 0 && (c.children === void 0 || c.children.length === 0) && v.name.indexOf(u) === -1) && (u === void 0 && T.value.push(v), c.key = v.adMenuId, c.title = v.name, p.push(c));
162
- }), p;
163
- }, re = (a, e) => {
164
- if (a) {
165
- const u = te(a.data);
166
- u.active = u.active === "Y", t.value = u, D.value = u.name, A.value = e, _.value = a.data.adMenuId;
167
- } else
168
- _.value = null, U();
169
- }, de = () => {
170
- X(), le(() => {
171
- var a;
172
- (a = w.value) == null || a.focus();
173
- });
174
- }, X = () => {
175
- var a;
176
- P.value || (P.value = !0, (a = L.value) == null || a.setCurrentKey(null), le(() => {
177
- _.value = null, U(), P.value = !1;
178
- }));
179
- }, U = () => {
180
- var a;
181
- t.value.adMenuId = "", D.value = "", (a = V.value) == null || a.resetFields();
182
- }, Z = () => {
183
- var a;
184
- if (t.value.adMenuId && t.value.parentId === t.value.adMenuId) {
185
- b.error("父级菜单不能为自身!");
186
- return;
187
- }
188
- (a = V.value) == null || a.validate((e) => {
189
- if (e) {
190
- f.value = !0;
191
- const u = te(t.value);
192
- delete u.created, delete u.updated, delete u._childs, u.active = u.active ? "Y" : "N", G.post("/menuController/submitMenu", u).then((p) => {
193
- p.data.result ? (b.success((t.value.adMenuId !== "" ? "修改" : "新增") + "成功"), $(), U()) : b.error(p.data.msg);
194
- }).catch((p) => {
195
- console.error("提交菜单失败:", p), b.error("提交失败,请稍后重试");
196
- }).finally(() => {
197
- f.value = !1;
198
- });
199
- }
200
- });
201
- }, ie = () => {
202
- if (!A.value) {
203
- b.warning("您还未勾选要删除的数据");
204
- return;
205
- }
206
- we.confirm("您确认要删除所选的数据?", "确认删除", {
207
- type: "warning"
208
- }).then(() => {
209
- const a = t.value.adMenuId;
210
- G.post("/menuController/delMenuByIds", { ids: a }).then((e) => {
211
- e.data.result ? (b.success("删除成功"), $(), U()) : b.error(e.data.msg);
212
- }).catch((e) => {
213
- console.error("删除菜单失败:", e), b.error("删除失败,请稍后重试");
214
- });
215
- });
216
- }, ce = () => {
217
- N.value = {
218
- type: "select"
219
- };
220
- }, pe = (a) => {
221
- t.value.iconPath = a;
222
- };
223
- return oe(() => {
224
- $();
225
- }), Ve(() => {
226
- const a = document.documentElement.clientHeight;
227
- O.value = `${a - Le}px`;
228
- }), (a, e) => {
229
- const u = d("el-button"), p = d("el-row"), v = d("el-alert"), c = d("el-input"), me = d("el-tree"), ee = d("el-col"), m = d("el-form-item"), E = d("el-option"), j = d("el-select"), ve = d("el-autocomplete"), fe = d("el-switch"), ye = d("el-form"), _e = ne("loading");
230
- return g(), k("div", Ue, [
231
- l(p, { class: "operation" }, {
232
- default: n(() => [
233
- I("div", null, [
234
- l(u, { onClick: de }, {
235
- default: n(() => [
236
- l(C, {
237
- fontFamily: "yhicon",
238
- prefix: "yh-",
239
- name: "plus"
240
- }),
241
- e[14] || (e[14] = M(" 新增 ", -1))
242
- ]),
243
- _: 1
244
- }),
245
- l(u, { onClick: ie }, {
246
- default: n(() => [
247
- l(C, {
248
- fontFamily: "yhicon",
249
- prefix: "yh-",
250
- name: "delete2"
251
- }),
252
- e[15] || (e[15] = M(" 删除 ", -1))
253
- ]),
254
- _: 1
255
- }),
256
- l(u, { onClick: $ }, {
257
- default: n(() => [
258
- l(C, {
259
- fontFamily: "yhicon",
260
- prefix: "yh-",
261
- name: "refresh"
262
- }),
263
- e[16] || (e[16] = M(" 刷新 ", -1))
264
- ]),
265
- _: 1
266
- })
267
- ])
268
- ]),
269
- _: 1
270
- }),
271
- x(l(p, {
272
- type: "flex",
273
- justify: "start",
274
- gutter: 16
275
- }, {
276
- default: n(() => [
277
- l(ee, {
278
- sm: 8,
279
- md: 8,
280
- lg: 8,
281
- xl: 6
282
- }, {
283
- default: n(() => [
284
- I("div", Ee, [
285
- l(v, {
286
- class: "tree-tips",
287
- "show-icon": "",
288
- closable: !1,
289
- title: `当前选择编辑:${D.value}`
290
- }, null, 8, ["title"]),
291
- l(C, {
292
- class: "select-clear-icon",
293
- onClick: X,
294
- fontFamily: "yhicon",
295
- prefix: "yh-",
296
- name: "circle-close"
297
- })
298
- ]),
299
- l(c, {
300
- modelValue: F.value,
301
- "onUpdate:modelValue": e[0] || (e[0] = (o) => F.value = o),
302
- onChange: se,
303
- placeholder: "输入菜单名搜索",
304
- clearable: ""
305
- }, {
306
- prepend: n(() => [...e[17] || (e[17] = [
307
- I("i", { class: "iconfont icon-search" }, null, -1)
308
- ])]),
309
- _: 1
310
- }, 8, ["modelValue"]),
311
- x((g(), k("div", null, [
312
- I("div", {
313
- class: "tree-bar",
314
- style: Me({ maxHeight: O.value })
315
- }, [
316
- l(me, {
317
- ref_key: "treeRef",
318
- ref: L,
319
- data: i.value,
320
- props: y,
321
- "node-key": "key",
322
- "default-expand-all": "",
323
- "expand-on-click-node": !1,
324
- "highlight-current": "",
325
- "current-node-key": _.value,
326
- onCurrentChange: re
327
- }, null, 8, ["data", "current-node-key"])
328
- ], 4)
329
- ])), [
330
- [_e, h.value]
331
- ])
332
- ]),
333
- _: 1
334
- }),
335
- l(ee, {
336
- sm: 16,
337
- md: 16,
338
- lg: 16,
339
- xl: 9
340
- }, {
341
- default: n(() => [
342
- l(ye, {
343
- ref_key: "formRef",
344
- ref: V,
345
- class: "menu-edit-form",
346
- model: t.value,
347
- rules: W,
348
- "label-width": "90px"
349
- }, {
350
- default: n(() => [
351
- l(m, {
352
- label: "名称",
353
- prop: "name"
354
- }, {
355
- default: n(() => [
356
- l(c, {
357
- modelValue: t.value.name,
358
- "onUpdate:modelValue": e[1] || (e[1] = (o) => t.value.name = o),
359
- ref_key: "nameInputRef",
360
- ref: w
361
- }, null, 8, ["modelValue"])
362
- ]),
363
- _: 1
364
- }),
365
- l(m, {
366
- label: "类型",
367
- prop: "menuType"
368
- }, {
369
- default: n(() => [
370
- l(j, {
371
- modelValue: t.value.menuType,
372
- "onUpdate:modelValue": e[2] || (e[2] = (o) => t.value.menuType = o),
373
- placeholder: "请选择或输入搜索",
374
- filterable: "",
375
- clearable: ""
376
- }, {
377
- default: n(() => [
378
- (g(), k(H, null, J(q, (o) => l(E, {
379
- key: o.value,
380
- value: o.value,
381
- label: o.label
382
- }, null, 8, ["value", "label"])), 64))
383
- ]),
384
- _: 1
385
- }, 8, ["modelValue"])
386
- ]),
387
- _: 1
388
- }),
389
- l(m, {
390
- label: "所属模块",
391
- prop: "sysModuleId"
392
- }, {
393
- default: n(() => [
394
- l(Y, {
395
- dict: "sysModuleId",
396
- _select_id: "59C1E77AE78D44DF8876688FE78DB53E",
397
- modelValue: t.value.sysModuleId,
398
- "onUpdate:modelValue": e[3] || (e[3] = (o) => t.value.sysModuleId = o),
399
- placeholder: "请选择或输入搜索",
400
- filterable: "",
401
- clearable: ""
402
- }, null, 8, ["modelValue"])
403
- ]),
404
- _: 1
405
- }),
406
- x(l(m, {
407
- label: "请求地址",
408
- prop: "url"
409
- }, {
410
- default: n(() => [
411
- l(ve, {
412
- modelValue: t.value.url,
413
- "onUpdate:modelValue": e[4] || (e[4] = (o) => t.value.url = o),
414
- "fetch-suggestions": ue,
415
- placeholder: "请输入或选择组件路径",
416
- clearable: "",
417
- style: { width: "100%" }
418
- }, null, 8, ["modelValue"])
419
- ]),
420
- _: 1
421
- }, 512), [
422
- [B, ["LINK", "SUBPAGE"].includes(t.value.menuType)]
423
- ]),
424
- x(l(m, {
425
- label: "访问窗口",
426
- prop: "sysWindowId"
427
- }, {
428
- default: n(() => [
429
- l(Y, {
430
- dict: "sysWindowId",
431
- _select_id: "F56B868C8FF44053926920588FB3C76C",
432
- modelValue: t.value.sysWindowId,
433
- "onUpdate:modelValue": e[5] || (e[5] = (o) => t.value.sysWindowId = o),
434
- placeholder: "请选择或输入搜索",
435
- filterable: "",
436
- clearable: ""
437
- }, null, 8, ["modelValue"])
438
- ]),
439
- _: 1
440
- }, 512), [
441
- [B, t.value.menuType === "WINDOW" || t.value.menuType === "JOIN"]
442
- ]),
443
- x(l(m, {
444
- label: "App页面",
445
- prop: "sysAppDesignId"
446
- }, {
447
- default: n(() => [
448
- l(Y, {
449
- dict: "sysAppDesignId",
450
- _select_id: "1352728B367842EDAFF195BF073DD817",
451
- modelValue: t.value.sysAppDesignId,
452
- "onUpdate:modelValue": e[6] || (e[6] = (o) => t.value.sysAppDesignId = o),
453
- placeholder: "请选择或输入搜索",
454
- filterable: "",
455
- clearable: ""
456
- }, null, 8, ["modelValue"])
457
- ]),
458
- _: 1
459
- }, 512), [
460
- [B, t.value.menuType === "APP"]
461
- ]),
462
- l(m, {
463
- label: "上级菜单",
464
- prop: "parentId"
465
- }, {
466
- default: n(() => [
467
- l(j, {
468
- modelValue: t.value.parentId,
469
- "onUpdate:modelValue": e[7] || (e[7] = (o) => t.value.parentId = o),
470
- placeholder: "请选择或输入搜索",
471
- filterable: "",
472
- clearable: ""
473
- }, {
474
- default: n(() => [
475
- (g(!0), k(H, null, J(Q.value, (o) => (g(), S(E, {
476
- value: o.adMenuId,
477
- label: o.name,
478
- key: o.adMenuId
479
- }, null, 8, ["value", "label"]))), 128))
480
- ]),
481
- _: 1
482
- }, 8, ["modelValue"])
483
- ]),
484
- _: 1
485
- }),
486
- l(m, {
487
- label: "显示模式",
488
- prop: "showMode"
489
- }, {
490
- default: n(() => [
491
- l(j, {
492
- modelValue: t.value.showMode,
493
- "onUpdate:modelValue": e[8] || (e[8] = (o) => t.value.showMode = o),
494
- placeholder: "请选择或输入搜索",
495
- filterable: "",
496
- clearable: ""
497
- }, {
498
- default: n(() => [
499
- l(E, {
500
- value: "P",
501
- label: "电脑端"
502
- }),
503
- l(E, {
504
- value: "M",
505
- label: "手机端"
506
- }),
507
- l(E, {
508
- value: "PM",
509
- label: "电脑+手机"
510
- })
511
- ]),
512
- _: 1
513
- }, 8, ["modelValue"])
514
- ]),
515
- _: 1
516
- }),
517
- l(m, {
518
- label: "排序",
519
- prop: "seq"
520
- }, {
521
- default: n(() => [
522
- l(c, {
523
- type: "number",
524
- modelValue: t.value.seq,
525
- "onUpdate:modelValue": e[9] || (e[9] = (o) => t.value.seq = o)
526
- }, null, 8, ["modelValue"])
527
- ]),
528
- _: 1
529
- }),
530
- l(m, {
531
- label: "图标地址",
532
- prop: "iconPath",
533
- class: "icon-select-form-item"
534
- }, {
535
- default: n(() => [
536
- l(u, {
537
- type: "info",
538
- onClick: e[10] || (e[10] = (o) => ce())
539
- }, {
540
- default: n(() => [...e[18] || (e[18] = [
541
- M(" 图标选择 ", -1)
542
- ])]),
543
- _: 1
544
- }),
545
- l(c, {
546
- modelValue: t.value.iconPath,
547
- "onUpdate:modelValue": e[11] || (e[11] = (o) => t.value.iconPath = o)
548
- }, null, 8, ["modelValue"]),
549
- I("span", Oe, [
550
- t.value.iconPath ? (g(), S(C, {
551
- key: 0,
552
- name: t.value.iconPath
553
- }, null, 8, ["name"])) : he("", !0)
554
- ])
555
- ]),
556
- _: 1
557
- }),
558
- l(m, {
559
- label: "备注",
560
- prop: "description"
561
- }, {
562
- default: n(() => [
563
- l(c, {
564
- modelValue: t.value.description,
565
- "onUpdate:modelValue": e[12] || (e[12] = (o) => t.value.description = o),
566
- type: "textarea"
567
- }, null, 8, ["modelValue"])
568
- ]),
569
- _: 1
570
- }),
571
- l(m, { label: "是否有效" }, {
572
- default: n(() => [
573
- l(fe, {
574
- modelValue: t.value.active,
575
- "onUpdate:modelValue": e[13] || (e[13] = (o) => t.value.active = o),
576
- "active-text": "Y",
577
- "inactive-text": "N"
578
- }, null, 8, ["modelValue"])
579
- ]),
580
- _: 1
581
- }),
582
- l(m, null, {
583
- default: n(() => [
584
- l(u, {
585
- style: { "margin-right": "5px" },
586
- onClick: Z,
587
- loading: f.value,
588
- disabled: t.value.adMenuId !== "",
589
- type: "primary"
590
- }, {
591
- default: n(() => [...e[19] || (e[19] = [
592
- I("i", { class: "iconfont icon-plus" }, null, -1),
593
- M(" 保存新增 ", -1)
594
- ])]),
595
- _: 1
596
- }, 8, ["loading", "disabled"]),
597
- l(u, {
598
- style: { "margin-right": "5px" },
599
- onClick: Z,
600
- loading: f.value,
601
- disabled: t.value.adMenuId === "",
602
- type: "primary"
603
- }, {
604
- default: n(() => [...e[20] || (e[20] = [
605
- I("i", { class: "iconfont icon-save" }, null, -1),
606
- M(" 保存修改 ", -1)
607
- ])]),
608
- _: 1
609
- }, 8, ["loading", "disabled"]),
610
- l(u, { onClick: U }, {
611
- default: n(() => [...e[21] || (e[21] = [
612
- M("重置", -1)
613
- ])]),
614
- _: 1
615
- })
616
- ]),
617
- _: 1
618
- })
619
- ]),
620
- _: 1
621
- }, 8, ["model"])
622
- ]),
623
- _: 1
624
- })
625
- ]),
626
- _: 1
627
- }, 512), [
628
- [B, R.value === "tree"]
629
- ]),
630
- l(Pe, {
631
- actionData: N.value,
632
- onClickSure: pe
633
- }, null, 8, ["actionData"])
634
- ]);
635
- };
636
- }
637
- }), We = /* @__PURE__ */ ke(Ne, [["__scopeId", "data-v-1bf74f34"]]);
638
- export {
639
- We as default
640
- };
641
- //# sourceMappingURL=MenuManage-CIxqmusr.js.map