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