yh-pub 2.0.30 → 2.0.32
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-B-bap9Wb.js → AdminLogin-DmBEbRiR.js} +2 -2
- package/{AdminLogin-B-bap9Wb.js.map → AdminLogin-DmBEbRiR.js.map} +1 -1
- package/{Error-ByUwxF2t.js → Error-DbLtZWd3.js} +2 -2
- package/{Error-ByUwxF2t.js.map → Error-DbLtZWd3.js.map} +1 -1
- package/{Error401-MdgqkyYA.js → Error401-Dm7POI60.js} +3 -3
- package/{Error401-MdgqkyYA.js.map → Error401-Dm7POI60.js.map} +1 -1
- package/{Error404-BkrBYN-f.js → Error404-DTxXfh_L.js} +3 -3
- package/{Error404-BkrBYN-f.js.map → Error404-DTxXfh_L.js.map} +1 -1
- package/{Error500-BZiERwJv.js → Error500-BZzsjKRm.js} +3 -3
- package/{Error500-BZiERwJv.js.map → Error500-BZzsjKRm.js.map} +1 -1
- package/{HomeIndex-CDcFWMyV.js → HomeIndex-D7gT6unm.js} +2 -2
- package/{HomeIndex-CDcFWMyV.js.map → HomeIndex-D7gT6unm.js.map} +1 -1
- package/{IconExplorer-C-40h02U.js → IconExplorer-C20HFqPl.js} +2 -2
- package/{IconExplorer-C-40h02U.js.map → IconExplorer-C20HFqPl.js.map} +1 -1
- package/Index-B2kW5XRu.js +5 -0
- package/Index-B2kW5XRu.js.map +1 -0
- package/{MainLogin-BvcD1qy-.js → MainLogin-Bdok33n-.js} +2 -2
- package/{MainLogin-BvcD1qy-.js.map → MainLogin-Bdok33n-.js.map} +1 -1
- package/{MenuManage-DAF7gje1.js → MenuManage-pfQIfWK_.js} +112 -112
- package/MenuManage-pfQIfWK_.js.map +1 -0
- package/{OrgManage-Cmw-BaTS.js → OrgManage-BZt3r_hl.js} +2 -2
- package/{OrgManage-Cmw-BaTS.js.map → OrgManage-BZt3r_hl.js.map} +1 -1
- package/{RoleManage-CtAkOhOY.js → RoleManage-CM5WWubK.js} +2 -2
- package/{RoleManage-CtAkOhOY.js.map → RoleManage-CM5WWubK.js.map} +1 -1
- package/{SysConfig-CNNCmtXk.js → SysConfig-g_sVzaWS.js} +2 -2
- package/{SysConfig-CNNCmtXk.js.map → SysConfig-g_sVzaWS.js.map} +1 -1
- package/{TenantList-DEonx9jV.js → TenantList-UUuW8_UG.js} +2 -2
- package/{TenantList-DEonx9jV.js.map → TenantList-UUuW8_UG.js.map} +1 -1
- package/{index-BeDsZQRG.js → index-4tVryg-6.js} +6101 -6095
- package/{index-BeDsZQRG.js.map → index-4tVryg-6.js.map} +1 -1
- package/index.es.js +50 -49
- package/package.json +1 -1
- package/Index-DOBYMcja.js +0 -5
- package/Index-DOBYMcja.js.map +0 -1
- package/MenuManage-DAF7gje1.js.map +0 -1
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { watch as
|
|
2
|
-
import { ElMessage as I, ElMessageBox as
|
|
3
|
-
import { httpRequest as j, deepClone as
|
|
4
|
-
import { g as
|
|
1
|
+
import { watch as ye, computed as oe, reactive as be, ref as c, onMounted as ne, resolveComponent as f, resolveDirective as ue, openBlock as h, createBlock as S, unref as o, withCtx as s, createElementVNode as v, createVNode as l, withDirectives as E, createElementBlock as U, Fragment as H, renderList as Q, createTextVNode as C, toDisplayString as b, defineComponent as ge, onActivated as he, vShow as Y, createCommentVNode as Ie, nextTick as ae } from "vue";
|
|
2
|
+
import { ElMessage as I, ElMessageBox as Ve } from "element-plus";
|
|
3
|
+
import { getConfig as Me, httpRequest as j, deepClone as te } from "yh-client";
|
|
4
|
+
import { g as Ce, c as e, f as x, t as ke } from "./index-4tVryg-6.js";
|
|
5
5
|
import "pinia";
|
|
6
6
|
import "vue-router";
|
|
7
7
|
import "./vite.js";
|
|
8
8
|
import { _ as z } from "./Dict.vue_vue_type_script_setup_true_lang-CcfyhJln.js";
|
|
9
|
-
const
|
|
9
|
+
const we = { style: { height: "600px" } }, xe = { class: "icon-choose-container" }, Pe = { slot: "footer" }, De = {
|
|
10
10
|
__name: "IconSelect",
|
|
11
11
|
props: {
|
|
12
12
|
actionData: {
|
|
@@ -14,9 +14,9 @@ const Ce = { style: { height: "600px" } }, ke = { class: "icon-choose-container"
|
|
|
14
14
|
}
|
|
15
15
|
},
|
|
16
16
|
emits: ["clickSure"],
|
|
17
|
-
setup(X, { emit:
|
|
18
|
-
const k = X,
|
|
19
|
-
|
|
17
|
+
setup(X, { emit: B }) {
|
|
18
|
+
const k = X, F = B;
|
|
19
|
+
ye(
|
|
20
20
|
() => k.actionData,
|
|
21
21
|
(p) => {
|
|
22
22
|
p.type === "select" ? g.value = !0 : g.value = !1;
|
|
@@ -25,40 +25,40 @@ const Ce = { style: { height: "600px" } }, ke = { class: "icon-choose-container"
|
|
|
25
25
|
deep: !0
|
|
26
26
|
}
|
|
27
27
|
);
|
|
28
|
-
const T =
|
|
28
|
+
const T = oe(() => {
|
|
29
29
|
const p = V.icon.toLowerCase();
|
|
30
30
|
return p ? M.value.filter((i) => i.label && i.label.toLowerCase().indexOf(p) > -1 || i.value && i.value.toLowerCase().indexOf(p) > -1 || i.pinyinFull && i.pinyinFull.indexOf(p) > -1 || i.pinyinFirst && i.pinyinFirst.indexOf(p) > -1) : M.value;
|
|
31
31
|
});
|
|
32
|
-
function
|
|
32
|
+
function P() {
|
|
33
33
|
V.icon = "", g.value = !1;
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function D(p) {
|
|
36
36
|
const i = `${p.fontFamily} ${p.prefix}${p.value}`;
|
|
37
|
-
|
|
37
|
+
N.value = i, F("clickSure", i), g.value = !1;
|
|
38
38
|
}
|
|
39
|
-
const V =
|
|
39
|
+
const V = be({
|
|
40
40
|
icon: ""
|
|
41
|
-
}), g = c(!1),
|
|
42
|
-
return
|
|
41
|
+
}), g = c(!1), N = c(""), M = c([]), w = c(!1);
|
|
42
|
+
return ne(async () => {
|
|
43
43
|
if (!(M.value.length > 0)) {
|
|
44
44
|
w.value = !0;
|
|
45
45
|
try {
|
|
46
|
-
M.value = await
|
|
46
|
+
M.value = await Ce();
|
|
47
47
|
} finally {
|
|
48
48
|
w.value = !1;
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
51
|
}), (p, i) => {
|
|
52
|
-
const
|
|
53
|
-
return h(),
|
|
52
|
+
const q = f("el-input"), O = f("el-form-item"), R = f("el-form"), t = f("el-button"), W = f("el-dialog"), K = ue("loading");
|
|
53
|
+
return h(), S(W, {
|
|
54
54
|
modelValue: g.value,
|
|
55
55
|
"onUpdate:modelValue": i[2] || (i[2] = (y) => g.value = y),
|
|
56
56
|
title: o(e)("选择ICON"),
|
|
57
57
|
width: 1200
|
|
58
58
|
}, {
|
|
59
59
|
default: s(() => [
|
|
60
|
-
v("div",
|
|
61
|
-
l(
|
|
60
|
+
v("div", we, [
|
|
61
|
+
l(R, {
|
|
62
62
|
model: V,
|
|
63
63
|
layout: "inline"
|
|
64
64
|
}, {
|
|
@@ -67,7 +67,7 @@ const Ce = { style: { height: "600px" } }, ke = { class: "icon-choose-container"
|
|
|
67
67
|
label: o(e)("筛选图标")
|
|
68
68
|
}, {
|
|
69
69
|
default: s(() => [
|
|
70
|
-
l(
|
|
70
|
+
l(q, {
|
|
71
71
|
modelValue: V.icon,
|
|
72
72
|
"onUpdate:modelValue": i[0] || (i[0] = (y) => V.icon = y),
|
|
73
73
|
placeholder: o(e)("输入中文、英文、拼音筛选"),
|
|
@@ -79,21 +79,21 @@ const Ce = { style: { height: "600px" } }, ke = { class: "icon-choose-container"
|
|
|
79
79
|
]),
|
|
80
80
|
_: 1
|
|
81
81
|
}, 8, ["model"]),
|
|
82
|
-
|
|
83
|
-
(h(!0),
|
|
82
|
+
E((h(), U("div", xe, [
|
|
83
|
+
(h(!0), U(H, null, Q(T.value, (y) => (h(), S(x, {
|
|
84
84
|
"font-family": y.fontFamily,
|
|
85
85
|
prefix: y.prefix,
|
|
86
86
|
name: y.value,
|
|
87
|
-
onClick: (
|
|
87
|
+
onClick: (Z) => D(y)
|
|
88
88
|
}, null, 8, ["font-family", "prefix", "name", "onClick"]))), 256))
|
|
89
89
|
])), [
|
|
90
90
|
[K, w.value]
|
|
91
91
|
])
|
|
92
92
|
]),
|
|
93
|
-
v("div",
|
|
94
|
-
l(
|
|
93
|
+
v("div", Pe, [
|
|
94
|
+
l(t, {
|
|
95
95
|
type: "primary",
|
|
96
|
-
onClick: i[1] || (i[1] = (y) =>
|
|
96
|
+
onClick: i[1] || (i[1] = (y) => P())
|
|
97
97
|
}, {
|
|
98
98
|
default: s(() => [
|
|
99
99
|
C(b(o(e)("关闭")), 1)
|
|
@@ -106,11 +106,11 @@ const Ce = { style: { height: "600px" } }, ke = { class: "icon-choose-container"
|
|
|
106
106
|
}, 8, ["modelValue", "title"]);
|
|
107
107
|
};
|
|
108
108
|
}
|
|
109
|
-
},
|
|
109
|
+
}, Ue = { class: "yh-pub-menu-manage" }, Fe = { class: "operation" }, Te = { class: "yh-pub-menu-main" }, Oe = { class: "tree" }, Ae = { class: "edit-status-row" }, Le = { class: "tree-tips" }, Ee = { class: "tree-bar" }, Ne = { class: "form" }, qe = { class: "yh-pub-menu-option-item" }, $e = { class: "name" }, Se = { class: "tip" }, Be = { class: "icon-preview" }, He = /* @__PURE__ */ ge({
|
|
110
110
|
name: "MenuManage",
|
|
111
111
|
__name: "MenuManage",
|
|
112
112
|
setup(X) {
|
|
113
|
-
const
|
|
113
|
+
const B = [
|
|
114
114
|
{ value: "WINDOW", label: e("窗口"), desc: e("引用配置窗口作为页面") },
|
|
115
115
|
{ value: "LINK", label: e("访问链接"), desc: e("外部链接或内部组件路径") },
|
|
116
116
|
{ value: "SUBPAGE", label: e("子页面"), desc: e("以弹窗方式打开页面的权限") },
|
|
@@ -119,7 +119,7 @@ const Ce = { style: { height: "600px" } }, ke = { class: "icon-choose-container"
|
|
|
119
119
|
{ value: "APP", label: e("手机页面"), desc: e("手机端页面") }
|
|
120
120
|
];
|
|
121
121
|
c("tree");
|
|
122
|
-
const k = c(!0),
|
|
122
|
+
const k = c(!0), F = c(""), T = c(""), P = c(null), D = c(!1), V = c(), g = c(), N = c(), M = c([]), w = c([]), p = c([]), i = c({}), q = c(null), O = c(!1), R = c(Me("AppPageId")), t = c({
|
|
123
123
|
name: "",
|
|
124
124
|
menuType: "",
|
|
125
125
|
sysModuleId: "",
|
|
@@ -133,19 +133,19 @@ const Ce = { style: { height: "600px" } }, ke = { class: "icon-choose-container"
|
|
|
133
133
|
description: "",
|
|
134
134
|
adMenuId: "",
|
|
135
135
|
active: "Y"
|
|
136
|
-
}),
|
|
136
|
+
}), W = {
|
|
137
137
|
name: [{ required: !0, message: e("名称不能为空"), trigger: "blur" }],
|
|
138
138
|
menuType: [{ required: !0, message: e("菜单类型不能为空"), trigger: "blur" }],
|
|
139
139
|
sysModuleId: [{ required: !0, message: e("所属模块不能为空"), trigger: "blur" }],
|
|
140
140
|
showMode: [{ required: !0, message: e("显示模式不能为空"), trigger: "blur" }],
|
|
141
141
|
seq: [{ required: !0, message: e("排序值不能为空"), trigger: "blur" }],
|
|
142
142
|
iconPath: [{ required: !0, message: e("图标不能为空"), trigger: "blur" }]
|
|
143
|
-
},
|
|
143
|
+
}, K = {
|
|
144
144
|
label: "title"
|
|
145
|
-
},
|
|
146
|
-
const r =
|
|
145
|
+
}, y = oe(() => p.value.filter((u) => ["JOIN"].includes(t.value.menuType) || u.menuType === "GROUP")), Z = (u, a) => {
|
|
146
|
+
const r = ke(), m = Object.keys(r), _ = u ? m.filter((d) => d.toLowerCase().includes(u.toLowerCase())) : m;
|
|
147
147
|
a(_.map((d) => ({ value: d })));
|
|
148
|
-
},
|
|
148
|
+
}, $ = () => {
|
|
149
149
|
k.value = !0, j.post("/menuController/getMenuData", {}).then((u) => {
|
|
150
150
|
u.data.result && (p.value = [], w.value = u.data.menuList, M.value = G(w.value, 0));
|
|
151
151
|
}).catch((u) => {
|
|
@@ -153,8 +153,8 @@ const Ce = { style: { height: "600px" } }, ke = { class: "icon-choose-container"
|
|
|
153
153
|
}).finally(() => {
|
|
154
154
|
k.value = !1;
|
|
155
155
|
});
|
|
156
|
-
},
|
|
157
|
-
k.value = !0, M.value = G(w.value, 0,
|
|
156
|
+
}, se = () => {
|
|
157
|
+
k.value = !0, M.value = G(w.value, 0, F.value), k.value = !1;
|
|
158
158
|
}, G = (u, a, r) => {
|
|
159
159
|
const m = [];
|
|
160
160
|
return u.forEach((_) => {
|
|
@@ -166,26 +166,26 @@ const Ce = { style: { height: "600px" } }, ke = { class: "icon-choose-container"
|
|
|
166
166
|
};
|
|
167
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
|
+
}, de = (u, a) => {
|
|
170
170
|
if (u) {
|
|
171
|
-
const r =
|
|
172
|
-
t.value = r, T.value = r.name,
|
|
171
|
+
const r = te(u.data);
|
|
172
|
+
t.value = r, T.value = r.name, q.value = a, P.value = u.data.adMenuId;
|
|
173
173
|
} else
|
|
174
|
-
|
|
175
|
-
},
|
|
176
|
-
|
|
174
|
+
P.value = null, A();
|
|
175
|
+
}, re = () => {
|
|
176
|
+
ee(), ae(() => {
|
|
177
177
|
var u;
|
|
178
|
-
(u =
|
|
178
|
+
(u = N.value) == null || u.focus();
|
|
179
179
|
});
|
|
180
|
-
},
|
|
180
|
+
}, ee = () => {
|
|
181
181
|
var u;
|
|
182
|
-
O.value || (O.value = !0, (u = V.value) == null || u.setCurrentKey(null),
|
|
183
|
-
|
|
182
|
+
O.value || (O.value = !0, (u = V.value) == null || u.setCurrentKey(null), ae(() => {
|
|
183
|
+
P.value = null, A(), O.value = !1;
|
|
184
184
|
}));
|
|
185
|
-
},
|
|
185
|
+
}, A = () => {
|
|
186
186
|
var u;
|
|
187
187
|
t.value.adMenuId = "", T.value = "", (u = g.value) == null || u.resetFields();
|
|
188
|
-
},
|
|
188
|
+
}, le = () => {
|
|
189
189
|
var u;
|
|
190
190
|
if (t.value.adMenuId && t.value.parentId === t.value.adMenuId) {
|
|
191
191
|
I.error(e("父级菜单不能为自身!"));
|
|
@@ -193,50 +193,50 @@ const Ce = { style: { height: "600px" } }, ke = { class: "icon-choose-container"
|
|
|
193
193
|
}
|
|
194
194
|
(u = g.value) == null || u.validate((a) => {
|
|
195
195
|
if (a) {
|
|
196
|
-
|
|
197
|
-
const r =
|
|
196
|
+
D.value = !0;
|
|
197
|
+
const r = te(t.value);
|
|
198
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
|
+
), $(), A()) : I.error(m.data.msg);
|
|
202
202
|
}).catch((m) => {
|
|
203
203
|
console.error("提交菜单失败:", m), I.error(e("提交失败,请稍后重试"));
|
|
204
204
|
}).finally(() => {
|
|
205
|
-
|
|
205
|
+
D.value = !1;
|
|
206
206
|
});
|
|
207
207
|
}
|
|
208
208
|
});
|
|
209
|
-
},
|
|
210
|
-
if (!
|
|
209
|
+
}, ie = () => {
|
|
210
|
+
if (!q.value) {
|
|
211
211
|
I.warning(e("您还未勾选要删除的数据"));
|
|
212
212
|
return;
|
|
213
213
|
}
|
|
214
|
-
|
|
214
|
+
Ve.confirm(e("您确认要删除所选的数据?"), e("确认删除"), {
|
|
215
215
|
type: "warning"
|
|
216
216
|
}).then(() => {
|
|
217
217
|
const u = t.value.adMenuId;
|
|
218
218
|
j.post("/menuController/delMenuByIds", { ids: u }).then((a) => {
|
|
219
|
-
a.data.result ? (I.success(e("删除成功")),
|
|
219
|
+
a.data.result ? (I.success(e("删除成功")), $(), A()) : I.error(a.data.msg);
|
|
220
220
|
}).catch((a) => {
|
|
221
221
|
console.error("删除菜单失败:", a), I.error(e("删除失败,请稍后重试"));
|
|
222
222
|
});
|
|
223
223
|
});
|
|
224
|
-
},
|
|
224
|
+
}, ce = () => {
|
|
225
225
|
i.value = {
|
|
226
226
|
type: "select"
|
|
227
227
|
};
|
|
228
|
-
},
|
|
228
|
+
}, pe = (u) => {
|
|
229
229
|
t.value.iconPath = u;
|
|
230
230
|
};
|
|
231
|
-
return
|
|
232
|
-
|
|
233
|
-
}),
|
|
231
|
+
return ne(() => {
|
|
232
|
+
$();
|
|
233
|
+
}), he(() => {
|
|
234
234
|
}), (u, a) => {
|
|
235
|
-
const r = f("el-button"), m = f("el-input"), _ = f("el-tree"), d = f("el-form-item"),
|
|
236
|
-
return h(),
|
|
235
|
+
const r = f("el-button"), m = f("el-input"), _ = f("el-tree"), d = f("el-form-item"), L = f("el-option"), J = f("el-select"), me = f("el-autocomplete"), ve = f("el-switch"), fe = f("el-form"), _e = ue("loading");
|
|
236
|
+
return h(), U("div", Ue, [
|
|
237
237
|
v("div", Fe, [
|
|
238
238
|
l(r, {
|
|
239
|
-
onClick:
|
|
239
|
+
onClick: re,
|
|
240
240
|
type: "primary"
|
|
241
241
|
}, {
|
|
242
242
|
default: s(() => [
|
|
@@ -250,7 +250,7 @@ const Ce = { style: { height: "600px" } }, ke = { class: "icon-choose-container"
|
|
|
250
250
|
_: 1
|
|
251
251
|
}),
|
|
252
252
|
l(r, {
|
|
253
|
-
onClick:
|
|
253
|
+
onClick: ie,
|
|
254
254
|
type: "danger"
|
|
255
255
|
}, {
|
|
256
256
|
default: s(() => [
|
|
@@ -263,7 +263,7 @@ const Ce = { style: { height: "600px" } }, ke = { class: "icon-choose-container"
|
|
|
263
263
|
]),
|
|
264
264
|
_: 1
|
|
265
265
|
}),
|
|
266
|
-
l(r, { onClick:
|
|
266
|
+
l(r, { onClick: $ }, {
|
|
267
267
|
default: s(() => [
|
|
268
268
|
l(x, {
|
|
269
269
|
fontFamily: "yhicon",
|
|
@@ -275,22 +275,22 @@ const Ce = { style: { height: "600px" } }, ke = { class: "icon-choose-container"
|
|
|
275
275
|
_: 1
|
|
276
276
|
})
|
|
277
277
|
]),
|
|
278
|
-
v("div",
|
|
279
|
-
v("div",
|
|
280
|
-
v("div",
|
|
281
|
-
v("div",
|
|
278
|
+
v("div", Te, [
|
|
279
|
+
v("div", Oe, [
|
|
280
|
+
v("div", Ae, [
|
|
281
|
+
v("div", Le, b(o(e)("当前选择编辑:") + T.value), 1),
|
|
282
282
|
l(x, {
|
|
283
283
|
class: "select-clear-icon",
|
|
284
|
-
onClick:
|
|
284
|
+
onClick: ee,
|
|
285
285
|
fontFamily: "yhicon",
|
|
286
286
|
prefix: "yh-",
|
|
287
287
|
name: "circle-close"
|
|
288
288
|
})
|
|
289
289
|
]),
|
|
290
290
|
l(m, {
|
|
291
|
-
modelValue:
|
|
292
|
-
"onUpdate:modelValue": a[0] || (a[0] = (n) =>
|
|
293
|
-
onChange:
|
|
291
|
+
modelValue: F.value,
|
|
292
|
+
"onUpdate:modelValue": a[0] || (a[0] = (n) => F.value = n),
|
|
293
|
+
onChange: se,
|
|
294
294
|
placeholder: o(e)("输入菜单名搜索"),
|
|
295
295
|
clearable: ""
|
|
296
296
|
}, {
|
|
@@ -299,30 +299,30 @@ const Ce = { style: { height: "600px" } }, ke = { class: "icon-choose-container"
|
|
|
299
299
|
]),
|
|
300
300
|
_: 1
|
|
301
301
|
}, 8, ["modelValue", "placeholder"]),
|
|
302
|
-
|
|
302
|
+
E((h(), U("div", Ee, [
|
|
303
303
|
l(_, {
|
|
304
304
|
ref_key: "treeRef",
|
|
305
305
|
ref: V,
|
|
306
306
|
data: M.value,
|
|
307
|
-
props:
|
|
307
|
+
props: K,
|
|
308
308
|
"node-key": "key",
|
|
309
309
|
"default-expand-all": "",
|
|
310
310
|
"expand-on-click-node": !1,
|
|
311
311
|
"highlight-current": "",
|
|
312
|
-
"current-node-key":
|
|
313
|
-
onCurrentChange:
|
|
312
|
+
"current-node-key": P.value,
|
|
313
|
+
onCurrentChange: de
|
|
314
314
|
}, null, 8, ["data", "current-node-key"])
|
|
315
315
|
])), [
|
|
316
|
-
[
|
|
316
|
+
[_e, k.value]
|
|
317
317
|
])
|
|
318
318
|
]),
|
|
319
|
-
v("div",
|
|
320
|
-
l(
|
|
319
|
+
v("div", Ne, [
|
|
320
|
+
l(fe, {
|
|
321
321
|
ref_key: "formRef",
|
|
322
322
|
ref: g,
|
|
323
323
|
class: "menu-edit-form",
|
|
324
324
|
model: t.value,
|
|
325
|
-
rules:
|
|
325
|
+
rules: W,
|
|
326
326
|
"label-width": "90px"
|
|
327
327
|
}, {
|
|
328
328
|
default: s(() => [
|
|
@@ -335,7 +335,7 @@ const Ce = { style: { height: "600px" } }, ke = { class: "icon-choose-container"
|
|
|
335
335
|
modelValue: t.value.name,
|
|
336
336
|
"onUpdate:modelValue": a[1] || (a[1] = (n) => t.value.name = n),
|
|
337
337
|
ref_key: "nameInputRef",
|
|
338
|
-
ref:
|
|
338
|
+
ref: N
|
|
339
339
|
}, null, 8, ["modelValue"])
|
|
340
340
|
]),
|
|
341
341
|
_: 1
|
|
@@ -354,15 +354,15 @@ const Ce = { style: { height: "600px" } }, ke = { class: "icon-choose-container"
|
|
|
354
354
|
clearable: ""
|
|
355
355
|
}, {
|
|
356
356
|
default: s(() => [
|
|
357
|
-
(h(),
|
|
357
|
+
(h(), U(H, null, Q(B, (n) => l(L, {
|
|
358
358
|
key: n.value,
|
|
359
359
|
value: n.value,
|
|
360
360
|
label: n.label
|
|
361
361
|
}, {
|
|
362
362
|
default: s(() => [
|
|
363
|
-
v("div",
|
|
364
|
-
v("div",
|
|
365
|
-
v("div",
|
|
363
|
+
v("div", qe, [
|
|
364
|
+
v("div", $e, b(o(e)(n.label)), 1),
|
|
365
|
+
v("div", Se, b(o(e)(n.desc)), 1)
|
|
366
366
|
])
|
|
367
367
|
]),
|
|
368
368
|
_: 2
|
|
@@ -390,15 +390,15 @@ const Ce = { style: { height: "600px" } }, ke = { class: "icon-choose-container"
|
|
|
390
390
|
]),
|
|
391
391
|
_: 1
|
|
392
392
|
}, 8, ["label"]),
|
|
393
|
-
|
|
393
|
+
E(l(d, {
|
|
394
394
|
label: o(e)("请求地址"),
|
|
395
395
|
prop: "url"
|
|
396
396
|
}, {
|
|
397
397
|
default: s(() => [
|
|
398
|
-
l(
|
|
398
|
+
l(me, {
|
|
399
399
|
modelValue: t.value.url,
|
|
400
400
|
"onUpdate:modelValue": a[4] || (a[4] = (n) => t.value.url = n),
|
|
401
|
-
"fetch-suggestions":
|
|
401
|
+
"fetch-suggestions": Z,
|
|
402
402
|
placeholder: o(e)("请输入或选择组件路径"),
|
|
403
403
|
clearable: "",
|
|
404
404
|
style: { width: "100%" }
|
|
@@ -408,7 +408,7 @@ const Ce = { style: { height: "600px" } }, ke = { class: "icon-choose-container"
|
|
|
408
408
|
}, 8, ["label"]), [
|
|
409
409
|
[Y, ["LINK", "SUBPAGE"].includes(t.value.menuType)]
|
|
410
410
|
]),
|
|
411
|
-
|
|
411
|
+
E(l(d, {
|
|
412
412
|
label: o(e)("访问窗口"),
|
|
413
413
|
prop: "sysWindowId"
|
|
414
414
|
}, {
|
|
@@ -427,20 +427,20 @@ const Ce = { style: { height: "600px" } }, ke = { class: "icon-choose-container"
|
|
|
427
427
|
}, 8, ["label"]), [
|
|
428
428
|
[Y, t.value.menuType === "WINDOW" || t.value.menuType === "JOIN"]
|
|
429
429
|
]),
|
|
430
|
-
|
|
430
|
+
E(l(d, {
|
|
431
431
|
label: "App页面",
|
|
432
432
|
prop: "sysAppDesignId"
|
|
433
433
|
}, {
|
|
434
434
|
default: s(() => [
|
|
435
435
|
l(z, {
|
|
436
436
|
dict: "sysAppDesignId",
|
|
437
|
-
_select_id:
|
|
437
|
+
_select_id: R.value,
|
|
438
438
|
modelValue: t.value.sysAppDesignId,
|
|
439
439
|
"onUpdate:modelValue": a[6] || (a[6] = (n) => t.value.sysAppDesignId = n),
|
|
440
440
|
placeholder: o(e)("请选择或输入搜索"),
|
|
441
441
|
filterable: "",
|
|
442
442
|
clearable: ""
|
|
443
|
-
}, null, 8, ["modelValue", "placeholder"])
|
|
443
|
+
}, null, 8, ["_select_id", "modelValue", "placeholder"])
|
|
444
444
|
]),
|
|
445
445
|
_: 1
|
|
446
446
|
}, 512), [
|
|
@@ -459,7 +459,7 @@ const Ce = { style: { height: "600px" } }, ke = { class: "icon-choose-container"
|
|
|
459
459
|
clearable: ""
|
|
460
460
|
}, {
|
|
461
461
|
default: s(() => [
|
|
462
|
-
(h(!0),
|
|
462
|
+
(h(!0), U(H, null, Q(y.value, (n) => (h(), S(L, {
|
|
463
463
|
value: n.adMenuId,
|
|
464
464
|
label: n.name,
|
|
465
465
|
key: n.adMenuId
|
|
@@ -483,15 +483,15 @@ const Ce = { style: { height: "600px" } }, ke = { class: "icon-choose-container"
|
|
|
483
483
|
clearable: ""
|
|
484
484
|
}, {
|
|
485
485
|
default: s(() => [
|
|
486
|
-
l(
|
|
486
|
+
l(L, {
|
|
487
487
|
value: "P",
|
|
488
488
|
label: o(e)("电脑端")
|
|
489
489
|
}, null, 8, ["label"]),
|
|
490
|
-
l(
|
|
490
|
+
l(L, {
|
|
491
491
|
value: "M",
|
|
492
492
|
label: o(e)("手机端")
|
|
493
493
|
}, null, 8, ["label"]),
|
|
494
|
-
l(
|
|
494
|
+
l(L, {
|
|
495
495
|
value: "PM",
|
|
496
496
|
label: o(e)("电脑+手机")
|
|
497
497
|
}, null, 8, ["label"])
|
|
@@ -522,7 +522,7 @@ const Ce = { style: { height: "600px" } }, ke = { class: "icon-choose-container"
|
|
|
522
522
|
default: s(() => [
|
|
523
523
|
l(r, {
|
|
524
524
|
type: "info",
|
|
525
|
-
onClick: a[10] || (a[10] = (n) =>
|
|
525
|
+
onClick: a[10] || (a[10] = (n) => ce())
|
|
526
526
|
}, {
|
|
527
527
|
default: s(() => [
|
|
528
528
|
C(b(o(e)("图标选择")), 1)
|
|
@@ -534,10 +534,10 @@ const Ce = { style: { height: "600px" } }, ke = { class: "icon-choose-container"
|
|
|
534
534
|
"onUpdate:modelValue": a[11] || (a[11] = (n) => t.value.iconPath = n)
|
|
535
535
|
}, null, 8, ["modelValue"]),
|
|
536
536
|
v("span", Be, [
|
|
537
|
-
t.value.iconPath ? (h(),
|
|
537
|
+
t.value.iconPath ? (h(), S(x, {
|
|
538
538
|
key: 0,
|
|
539
539
|
name: t.value.iconPath
|
|
540
|
-
}, null, 8, ["name"])) :
|
|
540
|
+
}, null, 8, ["name"])) : Ie("", !0)
|
|
541
541
|
])
|
|
542
542
|
]),
|
|
543
543
|
_: 1
|
|
@@ -559,7 +559,7 @@ const Ce = { style: { height: "600px" } }, ke = { class: "icon-choose-container"
|
|
|
559
559
|
label: o(e)("是否有效")
|
|
560
560
|
}, {
|
|
561
561
|
default: s(() => [
|
|
562
|
-
l(
|
|
562
|
+
l(ve, {
|
|
563
563
|
modelValue: t.value.active,
|
|
564
564
|
"onUpdate:modelValue": a[13] || (a[13] = (n) => t.value.active = n),
|
|
565
565
|
"inline-prompt": "",
|
|
@@ -575,8 +575,8 @@ const Ce = { style: { height: "600px" } }, ke = { class: "icon-choose-container"
|
|
|
575
575
|
default: s(() => [
|
|
576
576
|
l(r, {
|
|
577
577
|
style: { "margin-right": "5px" },
|
|
578
|
-
onClick:
|
|
579
|
-
loading:
|
|
578
|
+
onClick: le,
|
|
579
|
+
loading: D.value,
|
|
580
580
|
disabled: t.value.adMenuId !== "",
|
|
581
581
|
type: "primary"
|
|
582
582
|
}, {
|
|
@@ -588,8 +588,8 @@ const Ce = { style: { height: "600px" } }, ke = { class: "icon-choose-container"
|
|
|
588
588
|
}, 8, ["loading", "disabled"]),
|
|
589
589
|
l(r, {
|
|
590
590
|
style: { "margin-right": "5px" },
|
|
591
|
-
onClick:
|
|
592
|
-
loading:
|
|
591
|
+
onClick: le,
|
|
592
|
+
loading: D.value,
|
|
593
593
|
disabled: t.value.adMenuId === "",
|
|
594
594
|
type: "primary"
|
|
595
595
|
}, {
|
|
@@ -599,7 +599,7 @@ const Ce = { style: { height: "600px" } }, ke = { class: "icon-choose-container"
|
|
|
599
599
|
]),
|
|
600
600
|
_: 1
|
|
601
601
|
}, 8, ["loading", "disabled"]),
|
|
602
|
-
l(r, { onClick:
|
|
602
|
+
l(r, { onClick: A }, {
|
|
603
603
|
default: s(() => [
|
|
604
604
|
C(b(o(e)("重置")), 1)
|
|
605
605
|
]),
|
|
@@ -613,15 +613,15 @@ const Ce = { style: { height: "600px" } }, ke = { class: "icon-choose-container"
|
|
|
613
613
|
}, 8, ["model"])
|
|
614
614
|
])
|
|
615
615
|
]),
|
|
616
|
-
l(
|
|
616
|
+
l(De, {
|
|
617
617
|
actionData: i.value,
|
|
618
|
-
onClickSure:
|
|
618
|
+
onClickSure: pe
|
|
619
619
|
}, null, 8, ["actionData"])
|
|
620
620
|
]);
|
|
621
621
|
};
|
|
622
622
|
}
|
|
623
623
|
});
|
|
624
624
|
export {
|
|
625
|
-
|
|
625
|
+
He as default
|
|
626
626
|
};
|
|
627
|
-
//# sourceMappingURL=MenuManage-
|
|
627
|
+
//# sourceMappingURL=MenuManage-pfQIfWK_.js.map
|