dlzn-ui 2.0.93 → 2.0.95
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/assets/provider-Bh_VYGit.css +2 -0
- package/assets/{css-CZQicoxs.css → scrollbar-To1tAaeV.css} +1 -1
- package/chunks/{AssignUser-Bjm-tcxL.mjs → AssignUser-pMMpNO27.mjs} +14 -14
- package/chunks/{BasicInfo-BWfSZ_HQ.mjs → BasicInfo-dMwF0ziF.mjs} +1 -1
- package/chunks/{ColumnInfo-sxd5S5fj.mjs → ColumnInfo-0WJQWMbG.mjs} +2 -2
- package/chunks/{Common-DtHjLp8S.mjs → Common-DE7thNTn.mjs} +7 -8
- package/chunks/{Day-DXmvbaA-.mjs → Day-Dj8dheNY.mjs} +12 -13
- package/chunks/{DictTypeDetail-DExEs2pD.mjs → DictTypeDetail-BIVPm9kz.mjs} +10 -10
- package/chunks/{GenInfo-zHlSR8Xi.mjs → GenInfo-CVmGFfUf.mjs} +1 -1
- package/chunks/{Hour-og6bObii.mjs → Hour-fmUnJG03.mjs} +1 -1
- package/chunks/{Import-CB1QuML4.mjs → Import-DWlcNGih.mjs} +2 -2
- package/chunks/{Index-CJCfI-r7.mjs → Index--FTIsWxL.mjs} +5 -6
- package/chunks/{Index-Djtx-Hvr.mjs → Index-BU7G9MXR.mjs} +1 -1
- package/chunks/{Index-kmSafJeE.mjs → Index-BloAp662.mjs} +1 -1
- package/chunks/{Index-B71kfXN0.mjs → Index-C97pCXnX.mjs} +2 -2
- package/chunks/{Index-DPsmE1uN.mjs → Index-CFtIabpU.mjs} +1 -1
- package/chunks/{Index-DJa6TvxZ.mjs → Index-CPJZlyGD.mjs} +2 -2
- package/chunks/{Index-Cm8ZetsA.mjs → Index-CSiH5LGc.mjs} +2 -2
- package/chunks/{Index-CN4X_4BO.mjs → Index-CiiLzD8p.mjs} +2 -2
- package/chunks/Index-D3ymPHcw.mjs +46 -0
- package/chunks/Index-D447iwxd.mjs +128 -0
- package/chunks/{Index-iSZ25oa5.mjs → Index-D4ys8Z_X.mjs} +1 -1
- package/chunks/{Index-DNWEV6qX.mjs → Index-DGf3QrKq.mjs} +1 -1
- package/chunks/{Index-cb1Euao4.mjs → Index-Dp_dwqU5.mjs} +1 -1
- package/chunks/{Index-D0Rcw6_y.mjs → Index-GJJawnRZ.mjs} +1 -1
- package/chunks/{Index-DMar4Ak5.mjs → Index-nLSG5esH.mjs} +2 -2
- package/chunks/{Index-CiXTiCPv.mjs → Index-rcLOiKUG.mjs} +5 -5
- package/chunks/{Index-Cl3E8sdW.mjs → Index-vepbJg-2.mjs} +1 -1
- package/chunks/{IndexItem-DabXJCE1.mjs → IndexItem-D5Ngo4ux.mjs} +7 -7
- package/chunks/{Log-Bdl4dLs2.mjs → Log-DiPyKgVW.mjs} +12 -12
- package/chunks/{LoginBg-CMSDCnPF.mjs → LoginBg-DK-FxB2n.mjs} +1 -1
- package/chunks/{Minute-BNXg2byx.mjs → Minute-D_mesp23.mjs} +1 -1
- package/chunks/{Month-BJSN_RQi.mjs → Month-BEnKEFGO.mjs} +1 -1
- package/chunks/{Preview-B0gJ53SG.mjs → Preview-DwWeDzEq.mjs} +1 -1
- package/chunks/{Second-CwPCm_aA.mjs → Second-DmBfCWw4.mjs} +1 -1
- package/chunks/{SelectDept-sNeYNdzH.mjs → SelectDept-DqkpUrLX.mjs} +1 -2
- package/chunks/{SelectMenu-27KCnGVX.mjs → SelectMenu-BG2aO4dr.mjs} +1 -2
- package/chunks/{SelectUser-Cx0YM3ds.mjs → SelectUser-UL3WHxqY.mjs} +2 -2
- package/chunks/{UserInfo-Bb1tmRjV.mjs → UserInfo-CJ1LUaSs.mjs} +9 -9
- package/chunks/{Wrapper-D6hdJKG5.mjs → Wrapper-Dd5a1AeJ.mjs} +1 -1
- package/chunks/{app-BBa29b74.mjs → app-Q4BryaGi.mjs} +1 -1
- package/chunks/{custom-page-list-Cu3uysuq.mjs → custom-page-list-BfwM6BZj.mjs} +4 -4
- package/chunks/{custom-page-table-4RY6Lrxk.mjs → custom-page-table-DiSUr7km.mjs} +2 -2
- package/chunks/{job-BCL4Boa7.mjs → job-CF59695q.mjs} +33 -33
- package/chunks/{overview-CZjS_5ws.mjs → overview-C_YMhM9g.mjs} +1 -1
- package/chunks/{page-list-Dyusjn67.mjs → page-list-Da4eL_wk.mjs} +3 -3
- package/chunks/{page-query-10dZRPbn.mjs → page-query-jPlr6ld9.mjs} +1 -1
- package/chunks/{page-table-D33Gigz2.mjs → page-table-BX-Inp9P.mjs} +24 -25
- package/chunks/{pagination-voqexobJ.mjs → pagination-BAsYYvcR.mjs} +1 -1
- package/chunks/{provider-BipQBIc8.mjs → provider-ofhdEHHM.mjs} +1287 -565
- package/chunks/{scrollbar-DR0tchN3.mjs → scrollbar-CFNjWbWr.mjs} +1 -2
- package/chunks/{table-CR8g_CQd.mjs → table-CEHUFrgD.mjs} +7 -8
- package/components/app/index.mjs +1 -1
- package/components/app/src/app.mjs +1 -1
- package/components/audio-play/index.d.ts +2 -0
- package/components/audio-play/src/audio-play.d.ts +7 -0
- package/components/audio-play/src/audio-play.vue.d.ts +6 -0
- package/components/button/index.mjs +1 -1
- package/components/button/src/button.mjs +1 -1
- package/components/checkbox-group/index.mjs +1 -1
- package/components/checkbox-group/src/checkbox-group.mjs +1 -1
- package/components/cron/index.mjs +1 -1
- package/components/cron/src/Common.mjs +1 -1
- package/components/cron/src/Day.mjs +1 -1
- package/components/cron/src/Hour.mjs +1 -1
- package/components/cron/src/Minute.mjs +1 -1
- package/components/cron/src/Month.mjs +1 -1
- package/components/cron/src/Picker.mjs +6 -6
- package/components/cron/src/Second.mjs +1 -1
- package/components/cron/src/cron.mjs +1 -1
- package/components/cron/src/cron.vue.d.ts +1 -1
- package/components/custom-page-list/index.mjs +1 -1
- package/components/custom-page-list/src/custom-page-list.mjs +1 -1
- package/components/custom-page-list/src/custom-page-list.vue.d.ts +3 -3
- package/components/custom-page-table/index.mjs +1 -1
- package/components/custom-page-table/src/custom-page-table.mjs +1 -1
- package/components/date-picker/index.mjs +1 -1
- package/components/date-picker/src/date-picker.mjs +1 -1
- package/components/date-picker/src/date-picker.vue.d.ts +1 -1
- package/components/dialog/index.mjs +1 -1
- package/components/dialog/src/dialog.mjs +1 -1
- package/components/dialog/src/dialog.vue.d.ts +10 -10
- package/components/form/index.mjs +1 -1
- package/components/form/src/form.mjs +1 -1
- package/components/form/src/form.vue.d.ts +1 -1
- package/components/image-viewer/src/image-viewer.vue.d.ts +2 -2
- package/components/index.mjs +26 -32
- package/components/input/src/input.vue.d.ts +1 -1
- package/components/input-number/index.mjs +1 -1
- package/components/input-number/src/input-number.mjs +1 -1
- package/components/input-number/src/input-number.vue.d.ts +2 -2
- package/components/link/src/link.vue.d.ts +1 -1
- package/components/overview/index.mjs +1 -1
- package/components/overview/src/DicLabel/Index.mjs +1 -1
- package/components/overview/src/IndexItem.mjs +1 -1
- package/components/overview/src/OptionLabel/Index.mjs +1 -1
- package/components/overview/src/overview.mjs +1 -1
- package/components/page-list/index.mjs +1 -1
- package/components/page-list/src/page-list.d.ts +77 -77
- package/components/page-list/src/page-list.mjs +1 -1
- package/components/page-list/src/page-list.vue.d.ts +15 -15
- package/components/page-query/index.mjs +1 -1
- package/components/page-query/src/page-query.mjs +1 -1
- package/components/page-query/src/page-query.vue.d.ts +4 -4
- package/components/page-table/index.mjs +1 -1
- package/components/page-table/src/page-table.mjs +1 -1
- package/components/page-table/src/page-table.vue.d.ts +16 -16
- package/components/pagination/index.mjs +1 -1
- package/components/pagination/src/pagination.mjs +1 -1
- package/components/popconfirm/src/popconfirm.vue.d.ts +1 -1
- package/components/provider/index.mjs +1 -1
- package/components/provider/src/Provider.mjs +1 -1
- package/components/radio-group/index.mjs +1 -1
- package/components/radio-group/src/radio-group.mjs +1 -1
- package/components/range-input/index.mjs +1 -1
- package/components/range-input/src/range-input.mjs +1 -1
- package/components/range-input/src/range-input.vue.d.ts +1 -1
- package/components/scrollbar/index.mjs +1 -1
- package/components/scrollbar/src/scrollbar.mjs +1 -1
- package/components/select/index.mjs +1 -1
- package/components/select/src/select.mjs +1 -1
- package/components/select/src/select.vue.d.ts +2 -2
- package/components/select-sys-user/index.mjs +1 -1
- package/components/select-sys-user/src/Picker.mjs +2 -2
- package/components/select-sys-user/src/select-sys-user.mjs +1 -1
- package/components/tab-panel/src/tab-panel.vue.d.ts +1 -1
- package/components/table/index.mjs +1 -1
- package/components/table/src/table.mjs +1 -1
- package/components/table/src/table.vue.d.ts +3 -3
- package/components/textarea/src/textarea.vue.d.ts +1 -1
- package/components/tree/index.mjs +1 -1
- package/components/tree/src/tree.mjs +1 -1
- package/components/tree/src/tree.vue.d.ts +2 -2
- package/components/tree-select/index.mjs +1 -1
- package/components/tree-select/src/tree-select.mjs +1 -1
- package/components/upload/index.mjs +1 -1
- package/components/upload/src/upload.mjs +1 -1
- package/hooks/useDicOptions/index.mjs +1 -1
- package/hooks/useLabel/index.mjs +1 -16
- package/hooks/useList/index.mjs +1 -28
- package/hooks/useSysUser/index.mjs +1 -1
- package/layout/Entry.mjs +1 -1
- package/layout/Home.mjs +8 -9
- package/layout/Home1.mjs +15 -8
- package/layout/Login.mjs +8 -8
- package/layout/NotFound.mjs +1 -1
- package/layout/modules/Aside.mjs +1 -1
- package/layout/modules/Breadcrumb.mjs +1 -1
- package/layout/modules/Header.mjs +1 -1
- package/layout/modules/LoginBg.mjs +1 -1
- package/layout/profile/Index.mjs +9 -10
- package/layout/profile/ResetPwd.mjs +1 -1
- package/layout/profile/UserInfo.mjs +1 -1
- package/layout/vueBits/Plasma.vue.d.ts +1 -1
- package/main.mjs +3 -3
- package/package.json +2 -1
- package/plugins/autoImport/$alova/index.mjs +1 -1
- package/plugins/autoImport/$confirm/index.mjs +1 -1
- package/plugins/autoImport/$dialog/index.mjs +1 -1
- package/plugins/autoImport/$drawer/index.mjs +1 -1
- package/plugins/captcha/captcha.mjs +15 -17
- package/plugins/captcha/index.mjs +1 -1
- package/plugins/directive/index.mjs +7 -7
- package/plugins/initialize/webUpdateNotify.mjs +1 -1
- package/plugins/tableRenders/Wrapper.mjs +1 -1
- package/plugins/tableRenders/cell/AudioPlay/Index.mjs +1 -0
- package/plugins/tableRenders/cell/AudioPlay/Index.vue.d.ts +6 -0
- package/plugins/tableRenders/cell/AudioPlay/index.d.ts +2 -0
- package/plugins/tableRenders/cell/AudioPlay/index2.mjs +0 -0
- package/plugins/tableRenders/cell/Avatar/Index.mjs +1 -1
- package/plugins/tableRenders/cell/Buttons/Index.mjs +1 -1
- package/plugins/tableRenders/cell/DicLabel/Index.mjs +1 -1
- package/plugins/tableRenders/cell/FormatDate/Index.mjs +1 -1
- package/plugins/tableRenders/cell/FormatNumber/Index.mjs +1 -1
- package/plugins/tableRenders/cell/Icon/Index.mjs +1 -1
- package/plugins/tableRenders/cell/Image/Index.mjs +1 -1
- package/plugins/tableRenders/cell/ImageViewer/Index.mjs +1 -1
- package/plugins/tableRenders/cell/ImageViewer/Index.vue.d.ts +2 -2
- package/plugins/tableRenders/cell/Input/Index.vue.d.ts +1 -1
- package/plugins/tableRenders/cell/InputNumber/Index.mjs +1 -1
- package/plugins/tableRenders/cell/InputNumber/Index.vue.d.ts +2 -2
- package/plugins/tableRenders/cell/Link/Index.vue.d.ts +1 -1
- package/plugins/tableRenders/cell/OptionLabel/Index.mjs +1 -1
- package/plugins/tableRenders/cell/Select/Index.mjs +1 -1
- package/plugins/tableRenders/cell/Select/Index.vue.d.ts +2 -2
- package/plugins/tableRenders/cell/TypographyText/Index.mjs +1 -1
- package/plugins/tableRenders/cell/TypographyTextLink/Index.mjs +1 -1
- package/plugins/tableRenders/cell/TypographyTextLink/Index.vue.d.ts +1 -1
- package/plugins/tableRenders/cell/index.d.ts +2 -0
- package/plugins/tableRenders/cell/index.mjs +54 -52
- package/plugins/tableRenders/title/TypographyText/Index.mjs +1 -1
- package/plugins/tableRenders/title/index.mjs +2 -2
- package/router/index.mjs +1 -1
- package/store/modules/common.mjs +1 -1
- package/store/modules/login.mjs +1 -1
- package/store/modules/recentRouters.mjs +1 -1
- package/store/modules/router.mjs +1 -1
- package/store/modules/user.mjs +1 -1
- package/utils/audio/getAudioElement.d.ts +2 -0
- package/utils/audio/getAudioElement.mjs +9 -0
- package/utils/audio/playMediaStream.d.ts +6 -0
- package/utils/audio/playUrl.d.ts +6 -0
- package/utils/gather.mjs +1 -1
- package/utils/index.d.ts +2 -0
- package/utils/index.mjs +7 -8
- package/utils/tool.d.ts +4 -0
- package/utils/tool.mjs +1 -28
- package/views/monitor/cache/index.mjs +2 -2
- package/views/monitor/cacheList/index.mjs +2 -2
- package/views/monitor/job/index.mjs +1 -1
- package/views/monitor/logininfor/index.mjs +2 -2
- package/views/monitor/online/index.mjs +2 -2
- package/views/monitor/operlog/index.mjs +2 -2
- package/views/monitor/server/index.mjs +2 -2
- package/views/system/config/index.mjs +13 -13
- package/views/system/dept/index.mjs +27 -28
- package/views/system/dept/utils.mjs +1 -2
- package/views/system/dict/index.mjs +23 -23
- package/views/system/dict/modules/DictTypeDetail.mjs +1 -1
- package/views/system/menu/index.mjs +36 -37
- package/views/system/menu/utils.mjs +1 -2
- package/views/system/notice/index.mjs +8 -8
- package/views/system/post/index.mjs +8 -8
- package/views/system/role/index.mjs +43 -43
- package/views/system/role/modules/AssignUser.mjs +1 -1
- package/views/system/role/modules/SelectDept.mjs +1 -1
- package/views/system/role/modules/SelectMenu.mjs +1 -1
- package/views/system/role/modules/SelectUser.mjs +1 -1
- package/views/system/user/index.mjs +49 -49
- package/views/tool/gen/editTable/index.mjs +14 -14
- package/views/tool/gen/editTable/modules/BasicInfo.mjs +1 -1
- package/views/tool/gen/editTable/modules/ColumnInfo.mjs +1 -1
- package/views/tool/gen/editTable/modules/GenInfo.mjs +1 -1
- package/views/tool/gen/index.mjs +22 -22
- package/views/tool/gen/modules/Import.mjs +1 -1
- package/views/tool/gen/modules/Preview.mjs +1 -1
- package/views/tool/job/index.mjs +1 -1
- package/views/tool/job/modules/Log.mjs +1 -1
- package/assets/date-picker-CKUanIvh.css +0 -1
- package/assets/input-number-DHmV6oBX.css +0 -2
- package/assets/provider-yh_xhvsD.css +0 -2
- package/assets/scrollbar-CWhno35V.css +0 -1
- package/chunks/Index-Cuc40XIY.mjs +0 -44
- package/chunks/date-picker-CoQEj1PX.mjs +0 -376
- package/chunks/input-number-DZeNW9Jv.mjs +0 -73
- package/chunks/range-input-CTpZmB-d.mjs +0 -109
- package/chunks/utils-TGX_Jb3e.mjs +0 -10
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { N as e, n as t, o as n, rt as r } from "../../../chunks/provider-ofhdEHHM.mjs";
|
|
2
2
|
import { t as i } from "../../../chunks/icon-DnBGEq-n.mjs";
|
|
3
3
|
import "../../../components/icon/index.mjs";
|
|
4
|
-
import { isFalsy as a } from "../../../utils/boolean.mjs";
|
|
5
4
|
import "../../../components/page-list/index.mjs";
|
|
5
|
+
import { isFalsy as a } from "../../../utils/boolean.mjs";
|
|
6
6
|
import { flatArrToTree as o } from "../../../utils/tree.mjs";
|
|
7
|
-
import s from "../../../
|
|
8
|
-
import
|
|
9
|
-
import "../../../chunks/utils-TGX_Jb3e.mjs";
|
|
7
|
+
import { t as s } from "../../../chunks/page-list-Da4eL_wk.mjs";
|
|
8
|
+
import c from "../../../plugins/autoImport/$msg/index.mjs";
|
|
10
9
|
import { useMenuTree as l } from "./utils.mjs";
|
|
11
10
|
import { createBlock as u, defineComponent as d, h as f, mergeProps as p, openBlock as m, reactive as h, ref as g, unref as _, useTemplateRef as v, watch as y } from "vue";
|
|
12
11
|
// ../../packages/dlzn-ui/views/system/menu/index.vue
|
|
@@ -26,7 +25,7 @@ var b = /* @__PURE__ */ d({
|
|
|
26
25
|
icon: {
|
|
27
26
|
__others: ({ formData: e }) => ({
|
|
28
27
|
adornment: {
|
|
29
|
-
append: () => f(
|
|
28
|
+
append: () => f(t, {
|
|
30
29
|
default: "去选择",
|
|
31
30
|
icon: "line-md:link",
|
|
32
31
|
onClick: () => {
|
|
@@ -158,9 +157,9 @@ var b = /* @__PURE__ */ d({
|
|
|
158
157
|
method: "system/menu",
|
|
159
158
|
permission: "system:menu:remove"
|
|
160
159
|
},
|
|
161
|
-
list: { method: (
|
|
160
|
+
list: { method: (t) => e.Get("system/menu/list", {
|
|
162
161
|
params: {
|
|
163
|
-
...
|
|
162
|
+
...t,
|
|
164
163
|
pageNum: void 0,
|
|
165
164
|
pageSize: void 0
|
|
166
165
|
},
|
|
@@ -234,17 +233,17 @@ var b = /* @__PURE__ */ d({
|
|
|
234
233
|
},
|
|
235
234
|
{
|
|
236
235
|
cell: {
|
|
237
|
-
buttons: [({ row:
|
|
236
|
+
buttons: [({ row: t }) => ({
|
|
238
237
|
default: "编辑",
|
|
239
238
|
onClick: () => {
|
|
240
239
|
let i = g(null);
|
|
241
240
|
y(i, () => {
|
|
242
241
|
i.value.setFormData({
|
|
243
|
-
...
|
|
244
|
-
parentId:
|
|
242
|
+
...t,
|
|
243
|
+
parentId: t.parentId === "0" ? "" : t.parentId
|
|
245
244
|
}, { numberToStringKeys: ["isFrame"] });
|
|
246
|
-
}, { once: !0 }),
|
|
247
|
-
body: () => f(
|
|
245
|
+
}, { once: !0 }), r({
|
|
246
|
+
body: () => f(n, {
|
|
248
247
|
data: h({
|
|
249
248
|
isCache: "0",
|
|
250
249
|
isFrame: "1",
|
|
@@ -268,7 +267,7 @@ var b = /* @__PURE__ */ d({
|
|
|
268
267
|
}),
|
|
269
268
|
header: "编辑菜单",
|
|
270
269
|
onConfirmCallback: async () => {
|
|
271
|
-
let
|
|
270
|
+
let n = await i.value.validate();
|
|
272
271
|
[
|
|
273
272
|
"component",
|
|
274
273
|
"perms",
|
|
@@ -277,29 +276,29 @@ var b = /* @__PURE__ */ d({
|
|
|
277
276
|
"isCache",
|
|
278
277
|
"path",
|
|
279
278
|
"isFrame"
|
|
280
|
-
].forEach((
|
|
281
|
-
|
|
282
|
-
}), T(
|
|
283
|
-
...
|
|
284
|
-
menuId:
|
|
285
|
-
parentId: a(
|
|
286
|
-
}), x(),
|
|
279
|
+
].forEach((e) => {
|
|
280
|
+
e in n || (n[e] = "");
|
|
281
|
+
}), T(n), await e.Put("system/menu", {
|
|
282
|
+
...n,
|
|
283
|
+
menuId: t.menuId,
|
|
284
|
+
parentId: a(n.parentId) ? "0" : n.parentId
|
|
285
|
+
}), x(), c.success("菜单修改成功"), S.value.query();
|
|
287
286
|
},
|
|
288
287
|
width: 730
|
|
289
288
|
});
|
|
290
289
|
},
|
|
291
290
|
permission: "system:menu:edit"
|
|
292
|
-
}), ({ row:
|
|
291
|
+
}), ({ row: t }) => ({
|
|
293
292
|
default: "新增",
|
|
294
293
|
onClick: () => {
|
|
295
294
|
let i = g(null);
|
|
296
|
-
|
|
297
|
-
body: () => f(
|
|
295
|
+
r({
|
|
296
|
+
body: () => f(n, {
|
|
298
297
|
data: h({
|
|
299
298
|
isCache: "0",
|
|
300
299
|
isFrame: "1",
|
|
301
300
|
menuType: "M",
|
|
302
|
-
parentId:
|
|
301
|
+
parentId: t.menuId,
|
|
303
302
|
status: "0",
|
|
304
303
|
visible: "0"
|
|
305
304
|
}),
|
|
@@ -324,8 +323,8 @@ var b = /* @__PURE__ */ d({
|
|
|
324
323
|
}),
|
|
325
324
|
header: "新增菜单",
|
|
326
325
|
onConfirmCallback: async () => {
|
|
327
|
-
let
|
|
328
|
-
T(
|
|
326
|
+
let t = await i.value.validate();
|
|
327
|
+
T(t), await e.Post("system/menu", t), x(), c.success("菜单修改成功"), S.value.query();
|
|
329
328
|
},
|
|
330
329
|
width: 730
|
|
331
330
|
});
|
|
@@ -345,9 +344,9 @@ var b = /* @__PURE__ */ d({
|
|
|
345
344
|
operations: [{
|
|
346
345
|
default: "新增",
|
|
347
346
|
onClick: () => {
|
|
348
|
-
let
|
|
349
|
-
|
|
350
|
-
body: () => f(
|
|
347
|
+
let t = g(null);
|
|
348
|
+
r({
|
|
349
|
+
body: () => f(n, {
|
|
351
350
|
data: h({
|
|
352
351
|
isCache: "0",
|
|
353
352
|
isFrame: "1",
|
|
@@ -369,15 +368,15 @@ var b = /* @__PURE__ */ d({
|
|
|
369
368
|
w.isFrame,
|
|
370
369
|
w.status
|
|
371
370
|
],
|
|
372
|
-
ref:
|
|
371
|
+
ref: t
|
|
373
372
|
}),
|
|
374
373
|
header: "添加菜单",
|
|
375
374
|
onConfirmCallback: async () => {
|
|
376
|
-
let
|
|
377
|
-
T(
|
|
378
|
-
...
|
|
379
|
-
parentId: a(
|
|
380
|
-
}), x(),
|
|
375
|
+
let n = await t.value.validate();
|
|
376
|
+
T(n), await e.Post("system/menu", {
|
|
377
|
+
...n,
|
|
378
|
+
parentId: a(n.parentId) ? "0" : n.parentId
|
|
379
|
+
}), x(), c.success("菜单添加成功"), S.value.query();
|
|
381
380
|
},
|
|
382
381
|
width: 730
|
|
383
382
|
});
|
|
@@ -393,7 +392,7 @@ var b = /* @__PURE__ */ d({
|
|
|
393
392
|
showSerialNumber: !1
|
|
394
393
|
})
|
|
395
394
|
};
|
|
396
|
-
return (e, t) => (m(), u(_(
|
|
395
|
+
return (e, t) => (m(), u(_(s), p({
|
|
397
396
|
ref_key: "pageListRef",
|
|
398
397
|
ref: S
|
|
399
398
|
}, E), null, 16));
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "../../../chunks/utils-TGX_Jb3e.mjs";
|
|
1
|
+
import { N as e } from "../../../chunks/provider-ofhdEHHM.mjs";
|
|
3
2
|
import { flatArrToTree as t } from "../../../utils/tree.mjs";
|
|
4
3
|
import { useRequest as n } from "alova/client";
|
|
5
4
|
// ../../packages/dlzn-ui/views/system/menu/utils.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { N as e, o as t, rt as n } from "../../../chunks/provider-ofhdEHHM.mjs";
|
|
2
2
|
import "../../../components/page-list/index.mjs";
|
|
3
|
-
import { t as r } from "../../../chunks/page-list-
|
|
3
|
+
import { t as r } from "../../../chunks/page-list-Da4eL_wk.mjs";
|
|
4
4
|
import i from "../../../plugins/autoImport/$msg/index.mjs";
|
|
5
5
|
import { createBlock as a, defineComponent as o, h as s, mergeProps as c, openBlock as l, reactive as u, ref as d, unref as f, useTemplateRef as p, watch as m } from "vue";
|
|
6
6
|
// ../../packages/dlzn-ui/views/system/notice/index.vue
|
|
@@ -88,8 +88,8 @@ var h = /* @__PURE__ */ o({
|
|
|
88
88
|
let a = d(null);
|
|
89
89
|
m(a, () => {
|
|
90
90
|
a.value.setFormData(r);
|
|
91
|
-
}, { once: !0 }),
|
|
92
|
-
body: () => s(
|
|
91
|
+
}, { once: !0 }), n({
|
|
92
|
+
body: () => s(t, {
|
|
93
93
|
items: _,
|
|
94
94
|
labelAlign: "right",
|
|
95
95
|
layout: "vertical",
|
|
@@ -97,7 +97,7 @@ var h = /* @__PURE__ */ o({
|
|
|
97
97
|
}),
|
|
98
98
|
header: "修改公告",
|
|
99
99
|
onConfirmCallback: async () => {
|
|
100
|
-
await
|
|
100
|
+
await e.Put("system/notice", {
|
|
101
101
|
...await a.value.validate(),
|
|
102
102
|
noticeId: r.noticeId
|
|
103
103
|
}), i.success("公告修改成功"), h.value.query();
|
|
@@ -122,8 +122,8 @@ var h = /* @__PURE__ */ o({
|
|
|
122
122
|
default: "新增",
|
|
123
123
|
onClick: () => {
|
|
124
124
|
let r = d(null);
|
|
125
|
-
|
|
126
|
-
body: () => s(
|
|
125
|
+
n({
|
|
126
|
+
body: () => s(t, {
|
|
127
127
|
data: u({ status: "0" }),
|
|
128
128
|
items: _,
|
|
129
129
|
labelAlign: "right",
|
|
@@ -132,7 +132,7 @@ var h = /* @__PURE__ */ o({
|
|
|
132
132
|
}),
|
|
133
133
|
header: "添加公告",
|
|
134
134
|
onConfirmCallback: async () => {
|
|
135
|
-
await
|
|
135
|
+
await e.Post("system/notice", await r.value.validate()), i.success("公告添加成功"), h.value.query();
|
|
136
136
|
},
|
|
137
137
|
width: 460
|
|
138
138
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { N as e, o as t, rt as n } from "../../../chunks/provider-ofhdEHHM.mjs";
|
|
2
2
|
import "../../../components/page-list/index.mjs";
|
|
3
|
-
import { t as r } from "../../../chunks/page-list-
|
|
3
|
+
import { t as r } from "../../../chunks/page-list-Da4eL_wk.mjs";
|
|
4
4
|
import i from "../../../plugins/autoImport/$msg/index.mjs";
|
|
5
5
|
import { createBlock as a, defineComponent as o, h as s, mergeProps as c, openBlock as l, reactive as u, ref as d, unref as f, useTemplateRef as p, watch as m } from "vue";
|
|
6
6
|
// ../../packages/dlzn-ui/views/system/post/index.vue
|
|
@@ -100,8 +100,8 @@ var h = /* @__PURE__ */ o({
|
|
|
100
100
|
let a = d(null);
|
|
101
101
|
m(a, () => {
|
|
102
102
|
a.value.setFormData(r);
|
|
103
|
-
}, { once: !0 }),
|
|
104
|
-
body: () => s(
|
|
103
|
+
}, { once: !0 }), n({
|
|
104
|
+
body: () => s(t, {
|
|
105
105
|
items: [
|
|
106
106
|
g.postCode,
|
|
107
107
|
g.postName,
|
|
@@ -118,7 +118,7 @@ var h = /* @__PURE__ */ o({
|
|
|
118
118
|
}),
|
|
119
119
|
header: "修改岗位",
|
|
120
120
|
onConfirmCallback: async () => {
|
|
121
|
-
await
|
|
121
|
+
await e.Put("system/post", {
|
|
122
122
|
...await a.value.validate(),
|
|
123
123
|
postId: r.postId
|
|
124
124
|
}), i.success("岗位修改成功"), h.value.query();
|
|
@@ -143,8 +143,8 @@ var h = /* @__PURE__ */ o({
|
|
|
143
143
|
default: "新增",
|
|
144
144
|
onClick: () => {
|
|
145
145
|
let r = d(null);
|
|
146
|
-
|
|
147
|
-
body: () => s(
|
|
146
|
+
n({
|
|
147
|
+
body: () => s(t, {
|
|
148
148
|
data: u({ status: "0" }),
|
|
149
149
|
items: [
|
|
150
150
|
g.postCode,
|
|
@@ -162,7 +162,7 @@ var h = /* @__PURE__ */ o({
|
|
|
162
162
|
}),
|
|
163
163
|
header: "添加岗位",
|
|
164
164
|
onConfirmCallback: async () => {
|
|
165
|
-
await
|
|
165
|
+
await e.Post("system/post", await r.value.validate()), i.success("岗位添加成功"), h.value.query();
|
|
166
166
|
},
|
|
167
167
|
width: 430
|
|
168
168
|
});
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { N as e, it as t, o as n, rt as r } from "../../../chunks/provider-ofhdEHHM.mjs";
|
|
2
2
|
import "../../../components/page-list/index.mjs";
|
|
3
|
-
import { t as i } from "../../../chunks/page-list-
|
|
3
|
+
import { t as i } from "../../../chunks/page-list-Da4eL_wk.mjs";
|
|
4
4
|
import a from "../../../plugins/autoImport/$msg/index.mjs";
|
|
5
|
-
import { t as o } from "../../../chunks/AssignUser-
|
|
6
|
-
import { t as s } from "../../../chunks/SelectDept-
|
|
7
|
-
import { t as c } from "../../../chunks/SelectMenu-
|
|
5
|
+
import { t as o } from "../../../chunks/AssignUser-pMMpNO27.mjs";
|
|
6
|
+
import { t as s } from "../../../chunks/SelectDept-DqkpUrLX.mjs";
|
|
7
|
+
import { t as c } from "../../../chunks/SelectMenu-BG2aO4dr.mjs";
|
|
8
8
|
import { createBlock as l, defineComponent as u, h as d, mergeProps as f, openBlock as p, reactive as m, ref as h, unref as g, useTemplateRef as _, watch as v } from "vue";
|
|
9
9
|
// ../../packages/dlzn-ui/views/system/role/index.vue
|
|
10
10
|
var y = /* @__PURE__ */ u({
|
|
@@ -60,11 +60,11 @@ var y = /* @__PURE__ */ u({
|
|
|
60
60
|
method: "system/role/export",
|
|
61
61
|
permission: "system:role:export"
|
|
62
62
|
},
|
|
63
|
-
list: { method: (
|
|
64
|
-
...
|
|
63
|
+
list: { method: (t) => e.Get("system/role/list", { params: {
|
|
64
|
+
...t,
|
|
65
65
|
dateRange: void 0,
|
|
66
|
-
"params[beginTime]":
|
|
67
|
-
"params[endTime]":
|
|
66
|
+
"params[beginTime]": t.dateRange[0] ?? "",
|
|
67
|
+
"params[endTime]": t.dateRange[1] ?? ""
|
|
68
68
|
} }) }
|
|
69
69
|
},
|
|
70
70
|
columns: [
|
|
@@ -85,17 +85,17 @@ var y = /* @__PURE__ */ u({
|
|
|
85
85
|
title: "显示顺序"
|
|
86
86
|
},
|
|
87
87
|
{
|
|
88
|
-
cell: (
|
|
88
|
+
cell: (t, { row: n }) => ({
|
|
89
89
|
beforeChange: async () => {
|
|
90
|
-
let
|
|
91
|
-
return await
|
|
92
|
-
roleId:
|
|
93
|
-
status:
|
|
90
|
+
let t = n.status === "1" ? "启用" : "停用";
|
|
91
|
+
return await r(`确认${t}${n.roleName}角色吗?`), await e.Put("system/role/changeStatus", {
|
|
92
|
+
roleId: n.roleId,
|
|
93
|
+
status: n.status === "1" ? "0" : "1"
|
|
94
94
|
}, { meta: { useSuccessMsg: !0 } }), y.value.query(), !0;
|
|
95
95
|
},
|
|
96
96
|
component: "Switch",
|
|
97
97
|
customValue: ["0", "1"],
|
|
98
|
-
disabled:
|
|
98
|
+
disabled: n.roleId === "1"
|
|
99
99
|
}),
|
|
100
100
|
colKey: "status",
|
|
101
101
|
title: "角色状态"
|
|
@@ -123,11 +123,11 @@ var y = /* @__PURE__ */ u({
|
|
|
123
123
|
{
|
|
124
124
|
cell: {
|
|
125
125
|
buttons: [
|
|
126
|
-
({ row:
|
|
126
|
+
({ row: t }) => ({
|
|
127
127
|
default: "编辑",
|
|
128
128
|
onClick: async () => {
|
|
129
|
-
let { checkedKeys: i, menus: o } = await
|
|
130
|
-
if (
|
|
129
|
+
let { checkedKeys: i, menus: o } = await e.Get(`system/menu/roleMenuTreeselect/${t.roleId}`), s = h(null);
|
|
130
|
+
if (t.menuCheckStrictly) {
|
|
131
131
|
let e = (t) => t.some((t) => t.children && e(t.children) || i.includes(t.id)), t = (n) => {
|
|
132
132
|
n.forEach((n) => {
|
|
133
133
|
n.children && (e(n.children) && (i.includes(n.id) || i.push(n.id)), t(n.children));
|
|
@@ -136,9 +136,9 @@ var y = /* @__PURE__ */ u({
|
|
|
136
136
|
t(o);
|
|
137
137
|
}
|
|
138
138
|
v(s, () => {
|
|
139
|
-
s.value.setFormData(
|
|
140
|
-
}, { once: !0 }),
|
|
141
|
-
body: () => d(
|
|
139
|
+
s.value.setFormData(t);
|
|
140
|
+
}, { once: !0 }), r({
|
|
141
|
+
body: () => d(n, {
|
|
142
142
|
data: m({ menuIds: i }),
|
|
143
143
|
items: [
|
|
144
144
|
b.roleName,
|
|
@@ -152,23 +152,23 @@ var y = /* @__PURE__ */ u({
|
|
|
152
152
|
}, { menu_ids: () => d(c, { menuOptions: o }) }),
|
|
153
153
|
header: "修改角色",
|
|
154
154
|
onConfirmCallback: async () => {
|
|
155
|
-
await
|
|
155
|
+
await e.Put("system/role", {
|
|
156
156
|
...await s.value.validate(),
|
|
157
157
|
menuCheckStrictly: !1,
|
|
158
|
-
roleId:
|
|
158
|
+
roleId: t.roleId
|
|
159
159
|
}), a.success("角色修改成功"), y.value.query();
|
|
160
160
|
},
|
|
161
161
|
width: 730
|
|
162
162
|
});
|
|
163
163
|
},
|
|
164
164
|
permission: "system:role:edit",
|
|
165
|
-
show:
|
|
165
|
+
show: t.roleId !== "1"
|
|
166
166
|
}),
|
|
167
|
-
({ row:
|
|
167
|
+
({ row: t }) => ({
|
|
168
168
|
default: "数据权限",
|
|
169
169
|
onClick: async () => {
|
|
170
|
-
let { checkedKeys: i, depts: o } = await
|
|
171
|
-
if (
|
|
170
|
+
let { checkedKeys: i, depts: o } = await e.Get(`system/role/deptTree/${t.roleId}`), c = h(null);
|
|
171
|
+
if (t.deptCheckStrictly) {
|
|
172
172
|
let e = (t) => t.some((t) => t.children && e(t.children) || i.includes(t.id)), t = (n) => {
|
|
173
173
|
n.forEach((n) => {
|
|
174
174
|
n.children && (e(n.children) && (i.includes(n.id) || i.push(n.id)), t(n.children));
|
|
@@ -177,9 +177,9 @@ var y = /* @__PURE__ */ u({
|
|
|
177
177
|
t(o);
|
|
178
178
|
}
|
|
179
179
|
v(c, () => {
|
|
180
|
-
c.value.setFormData(
|
|
181
|
-
}, { once: !0 }),
|
|
182
|
-
body: () => d(
|
|
180
|
+
c.value.setFormData(t);
|
|
181
|
+
}, { once: !0 }), r({
|
|
182
|
+
body: () => d(n, {
|
|
183
183
|
data: m({ deptIds: i }),
|
|
184
184
|
items: [
|
|
185
185
|
{
|
|
@@ -213,25 +213,25 @@ var y = /* @__PURE__ */ u({
|
|
|
213
213
|
],
|
|
214
214
|
ref: c
|
|
215
215
|
}, { dept_ids: () => d(s, { deptOptions: o }) }),
|
|
216
|
-
header: `给${
|
|
216
|
+
header: `给${t.roleName}分配数据权限`,
|
|
217
217
|
onConfirmCallback: async () => {
|
|
218
|
-
await
|
|
218
|
+
await e.Put("system/role/dataScope", {
|
|
219
219
|
deptIds: [],
|
|
220
220
|
...await c.value.validate(),
|
|
221
221
|
deptCheckStrictly: !1,
|
|
222
|
-
roleId:
|
|
222
|
+
roleId: t.roleId
|
|
223
223
|
}), a.success("数据权限分配成功"), y.value.query();
|
|
224
224
|
},
|
|
225
225
|
width: 430
|
|
226
226
|
});
|
|
227
227
|
},
|
|
228
228
|
permission: "system:role:edit",
|
|
229
|
-
show:
|
|
229
|
+
show: t.roleId !== "1"
|
|
230
230
|
}),
|
|
231
231
|
({ row: e }) => ({
|
|
232
232
|
default: "分配用户",
|
|
233
233
|
onClick: async () => {
|
|
234
|
-
|
|
234
|
+
t({
|
|
235
235
|
body: () => d(o, { roleId: e.roleId }),
|
|
236
236
|
footer: !1,
|
|
237
237
|
header: `给${e.roleName}分配用户`,
|
|
@@ -241,16 +241,16 @@ var y = /* @__PURE__ */ u({
|
|
|
241
241
|
permission: "system:role:edit",
|
|
242
242
|
show: e.roleId !== "1"
|
|
243
243
|
}),
|
|
244
|
-
({ row:
|
|
244
|
+
({ row: t }) => ({
|
|
245
245
|
default: "删除",
|
|
246
246
|
permission: "system:role:remove",
|
|
247
247
|
popconfirm: {
|
|
248
248
|
content: "确认删除吗",
|
|
249
249
|
onConfirm: async () => {
|
|
250
|
-
await
|
|
250
|
+
await e.Delete(`system/role/${t.roleId}`), a("删除成功"), y.value.query();
|
|
251
251
|
}
|
|
252
252
|
},
|
|
253
|
-
show:
|
|
253
|
+
show: t.roleId !== "1"
|
|
254
254
|
})
|
|
255
255
|
],
|
|
256
256
|
component: "Buttons"
|
|
@@ -277,9 +277,9 @@ var y = /* @__PURE__ */ u({
|
|
|
277
277
|
operations: [{
|
|
278
278
|
default: "新增",
|
|
279
279
|
onClick: async () => {
|
|
280
|
-
let
|
|
281
|
-
|
|
282
|
-
body: () => d(
|
|
280
|
+
let t = await e.Get("system/menu/treeselect"), i = h(null);
|
|
281
|
+
r({
|
|
282
|
+
body: () => d(n, {
|
|
283
283
|
data: m({
|
|
284
284
|
menuIds: [],
|
|
285
285
|
status: "0"
|
|
@@ -293,10 +293,10 @@ var y = /* @__PURE__ */ u({
|
|
|
293
293
|
b.remark
|
|
294
294
|
],
|
|
295
295
|
ref: i
|
|
296
|
-
}, { menu_ids: () => d(c, { menuOptions:
|
|
296
|
+
}, { menu_ids: () => d(c, { menuOptions: t }) }),
|
|
297
297
|
header: "添加角色",
|
|
298
298
|
onConfirmCallback: async () => {
|
|
299
|
-
await
|
|
299
|
+
await e.Post("system/role", {
|
|
300
300
|
...await i.value.validate(),
|
|
301
301
|
menuCheckStrictly: !1
|
|
302
302
|
}), a.success("角色添加成功"), y.value.query();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as default } from "../../../../chunks/AssignUser-
|
|
1
|
+
export { t as default } from "../../../../chunks/AssignUser-pMMpNO27.mjs";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as default } from "../../../../chunks/SelectDept-
|
|
1
|
+
export { t as default } from "../../../../chunks/SelectDept-DqkpUrLX.mjs";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as default } from "../../../../chunks/SelectMenu-
|
|
1
|
+
export { t as default } from "../../../../chunks/SelectMenu-BG2aO4dr.mjs";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as default } from "../../../../chunks/SelectUser-
|
|
1
|
+
export { t as default } from "../../../../chunks/SelectUser-UL3WHxqY.mjs";
|