dlzn-ui 2.0.52 → 2.0.53
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/chunks/{AssignUser-B11nIqo_.mjs → AssignUser-CJFt5Q1h.mjs} +14 -14
- package/chunks/{BasicInfo-9WqspD1Z.mjs → BasicInfo-CJNldTAG.mjs} +1 -1
- package/chunks/{ColumnInfo-B_lgPqVS.mjs → ColumnInfo-Be56uLyo.mjs} +2 -2
- package/chunks/{Common-BVD38hp6.mjs → Common-CFfc_3CV.mjs} +1 -1
- package/chunks/{Day-CHWBklI0.mjs → Day-goCJrrD_.mjs} +1 -1
- package/chunks/{DictTypeDetail-C8SPo0b_.mjs → DictTypeDetail-C-LVM-Mf.mjs} +8 -8
- package/chunks/{GenInfo-Dxoe_3RM.mjs → GenInfo-1KrHcY4D.mjs} +1 -1
- package/chunks/{Hour-NaDEj833.mjs → Hour-B0FYcjAM.mjs} +1 -1
- package/chunks/{Import-BZkJuPLC.mjs → Import-BTaQ_XRL.mjs} +2 -2
- package/chunks/{Index-ClKOg-Wu.mjs → Index-CIuzrUvW.mjs} +1 -1
- package/chunks/{Index-QeguMHYR.mjs → Index-DLWQRcwf.mjs} +1 -1
- package/chunks/{Index-CQSAs1h6.mjs → Index-DWMWEc1h.mjs} +1 -1
- package/chunks/{Index-LNJ_79uk.mjs → Index-NwyOfjbd.mjs} +1 -1
- package/chunks/{IndexItem-D7mOSNO6.mjs → IndexItem-BGiKCAsP.mjs} +1 -1
- package/chunks/{Log-DSKkWGbI.mjs → Log-3YYKqTZ2.mjs} +11 -11
- package/chunks/{LoginBg-BharyaPx.mjs → LoginBg-Bk4XiQcv.mjs} +1 -1
- package/chunks/{Minute-CM6f_BSX.mjs → Minute-DUu_mOOe.mjs} +1 -1
- package/chunks/{Month-DRWusngF.mjs → Month-Gvd1GX2j.mjs} +1 -1
- package/chunks/{Preview-hFTldEUR.mjs → Preview-BrOs3WhB.mjs} +1 -1
- package/chunks/{Second-BTRO-iOb.mjs → Second-D022qvS-.mjs} +1 -1
- package/chunks/{SelectDept-B_9npI--.mjs → SelectDept-B1D0kuQH.mjs} +1 -1
- package/chunks/{SelectMenu-CB0bsNEl.mjs → SelectMenu-DHUb3_VU.mjs} +1 -1
- package/chunks/{SelectUser-CZ4P-c67.mjs → SelectUser-CAFBcwTn.mjs} +2 -2
- package/chunks/{UserInfo-CT_ez2uW.mjs → UserInfo-CqWhc6yw.mjs} +7 -7
- package/chunks/{app-DNfYzQDT.mjs → app-CEhN8Ot6.mjs} +1 -1
- package/chunks/{custom-page-list-v88splrD.mjs → custom-page-list-BSixJAQP.mjs} +4 -4
- package/chunks/{custom-page-table-BheCVTlP.mjs → custom-page-table-BTWOfn8t.mjs} +2 -2
- package/chunks/{overview-MLIPTO-D.mjs → overview-D_sf7DL1.mjs} +1 -1
- package/chunks/{page-list-BLDYBbVJ.mjs → page-list-PgB5MGIt.mjs} +3 -3
- package/chunks/{page-query-JDsWn-xy.mjs → page-query-CkhudpAH.mjs} +1 -1
- package/chunks/{page-table-Be4aMLTf.mjs → page-table-C53YrGik.mjs} +3 -3
- package/chunks/{pagination-Cck2wqel.mjs → pagination-DjeMHIma.mjs} +1 -1
- package/chunks/{provider-CDqQoKIA.mjs → provider-CkV8UD3o.mjs} +471 -466
- package/chunks/{table-5y2fT5vf.mjs → table-Bu1WKJn0.mjs} +1 -1
- package/components/app/index.mjs +1 -1
- package/components/app/src/app.mjs +1 -1
- 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/custom-page-list/index.mjs +1 -1
- package/components/custom-page-list/src/custom-page-list.mjs +1 -1
- package/components/custom-page-table/index.mjs +1 -1
- package/components/custom-page-table/src/custom-page-table.mjs +1 -1
- package/components/form/index.mjs +1 -1
- package/components/form/src/form.mjs +1 -1
- package/components/index.mjs +9 -9
- 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/overview.mjs +1 -1
- package/components/page-list/index.mjs +1 -1
- package/components/page-list/src/page-list.d.ts +13 -13
- package/components/page-list/src/page-list.mjs +1 -1
- package/components/page-query/index.mjs +1 -1
- package/components/page-query/src/page-query.mjs +1 -1
- package/components/page-table/index.mjs +1 -1
- package/components/page-table/src/page-table.mjs +1 -1
- package/components/pagination/index.mjs +1 -1
- package/components/pagination/src/pagination.mjs +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/select/index.mjs +1 -1
- package/components/select/src/select.mjs +1 -1
- 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/table/index.mjs +1 -1
- package/components/table/src/table.mjs +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 +1 -1
- 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/useSysUser/index.mjs +1 -1
- package/layout/Entry.mjs +1 -1
- package/layout/Home.mjs +2 -2
- package/layout/Login.mjs +2 -2
- 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 +2 -2
- package/layout/profile/ResetPwd.mjs +1 -1
- package/layout/profile/UserInfo.mjs +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 +1 -1
- package/plugins/captcha/index.mjs +1 -1
- package/plugins/initialize/webUpdateNotify.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/Select/Index.mjs +1 -1
- package/plugins/tableRenders/cell/index.mjs +3 -3
- 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 +2 -2
- package/store/modules/user.mjs +1 -1
- package/utils/index.mjs +3 -3
- package/utils/tool.d.ts +2 -0
- package/utils/tool.mjs +6 -2
- package/views/monitor/cache/index.mjs +2 -2
- package/views/monitor/cacheList/index.mjs +2 -2
- 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 +11 -11
- package/views/system/dept/index.mjs +15 -15
- package/views/system/dept/utils.mjs +1 -1
- package/views/system/dict/index.mjs +16 -16
- package/views/system/dict/modules/DictTypeDetail.mjs +1 -1
- package/views/system/menu/index.mjs +19 -19
- package/views/system/menu/utils.mjs +1 -1
- package/views/system/notice/index.mjs +6 -6
- package/views/system/post/index.mjs +6 -6
- package/views/system/role/index.mjs +36 -36
- 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 +41 -41
- package/views/tool/gen/editTable/index.mjs +13 -13
- 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 +15 -15
- package/views/tool/gen/modules/Import.mjs +1 -1
- package/views/tool/gen/modules/Preview.mjs +1 -1
- package/views/tool/job/index.mjs +26 -26
- package/views/tool/job/modules/Log.mjs +1 -1
package/package.json
CHANGED
|
@@ -93,6 +93,7 @@
|
|
|
93
93
|
"croner": "^10.0.1",
|
|
94
94
|
"cronstrue": "^3.24.0",
|
|
95
95
|
"crypto-js": "^4.2.0",
|
|
96
|
+
"dompurify": "^3.4.16",
|
|
96
97
|
"element-plus": "^2.14.5",
|
|
97
98
|
"file-saver": "^2.0.5",
|
|
98
99
|
"ogl": "^1.0.11",
|
|
@@ -108,7 +109,7 @@
|
|
|
108
109
|
"> 1%",
|
|
109
110
|
"not dead"
|
|
110
111
|
],
|
|
111
|
-
"version": "2.0.
|
|
112
|
+
"version": "2.0.53",
|
|
112
113
|
"scripts": {
|
|
113
114
|
"dev": "vite --config play/vite.config.ts"
|
|
114
115
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { C as e, S as t, w as n } from "../../../chunks/provider-
|
|
1
|
+
import { C as e, S as t, w as n } from "../../../chunks/provider-CkV8UD3o.mjs";
|
|
2
2
|
export { t as default, e as getFilterEmptyParamsObj, n as getParamsString };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { V as e } from "../../../chunks/provider-CkV8UD3o.mjs";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { H as e } from "../../../chunks/provider-CkV8UD3o.mjs";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { O as e } from "../../../chunks/provider-
|
|
1
|
+
import { O as e } from "../../../chunks/provider-CkV8UD3o.mjs";
|
|
2
2
|
export { e as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as e, n as t } from "../../chunks/provider-
|
|
1
|
+
import { S as e, n as t } from "../../chunks/provider-CkV8UD3o.mjs";
|
|
2
2
|
import { t as n } from "../../chunks/icon-DcFIQ_yG.mjs";
|
|
3
3
|
import "../../components/icon/index.mjs";
|
|
4
4
|
import "../../chunks/utils-ag05P503.mjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { H as e } from "../../chunks/provider-CkV8UD3o.mjs";
|
|
2
2
|
import { defineAsyncComponent as t, h as n } from "vue";
|
|
3
3
|
//#region ../../packages/dlzn-ui/plugins/captcha/index.ts
|
|
4
4
|
var r = () => new Promise((r) => {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../../../chunks/Index-
|
|
1
|
+
import { t as e } from "../../../../chunks/Index-CIuzrUvW.mjs";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../../../chunks/Index-
|
|
1
|
+
import { t as e } from "../../../../chunks/Index-DLWQRcwf.mjs";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../../../chunks/Index-
|
|
1
|
+
import { t as e } from "../../../../chunks/Index-DWMWEc1h.mjs";
|
|
2
2
|
export { e as default };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { n as e } from "../../../chunks/useAppContext-D47amIp5.mjs";
|
|
2
2
|
import { t } from "../../../chunks/Index-DOMlymIc.mjs";
|
|
3
|
-
import { t as n } from "../../../chunks/Index-
|
|
3
|
+
import { t as n } from "../../../chunks/Index-CIuzrUvW.mjs";
|
|
4
4
|
import { t as r } from "../../../chunks/Index-BKtK-Ikl.mjs";
|
|
5
5
|
import { t as i } from "../../../chunks/Index-But4jrnW.mjs";
|
|
6
6
|
import { t as a } from "../../../chunks/Index-BuqrJDKe.mjs";
|
|
7
|
-
import { t as o } from "../../../chunks/Index-
|
|
7
|
+
import { t as o } from "../../../chunks/Index-DLWQRcwf.mjs";
|
|
8
8
|
import { t as s } from "../../../chunks/Index-DlS664Iz.mjs";
|
|
9
9
|
import { t as c } from "../../../chunks/Index-BVighfGs.mjs";
|
|
10
10
|
import { t as l } from "../../../chunks/Index-sYhv1xn9.mjs";
|
|
@@ -14,7 +14,7 @@ import { t as f } from "../../../chunks/Index-B-O5KGpr.mjs";
|
|
|
14
14
|
import { t as p } from "../../../chunks/Index-B5dltuvs.mjs";
|
|
15
15
|
import { t as m } from "../../../chunks/Index-DBQnzqsw.mjs";
|
|
16
16
|
import { t as h } from "../../../chunks/Index-BAwtI6wg.mjs";
|
|
17
|
-
import { t as g } from "../../../chunks/Index-
|
|
17
|
+
import { t as g } from "../../../chunks/Index-DWMWEc1h.mjs";
|
|
18
18
|
import { t as _ } from "../../../chunks/Index-BOv4n_q9.mjs";
|
|
19
19
|
import { t as v } from "../../../chunks/Index-DuOAXN6w.mjs";
|
|
20
20
|
import { t as y } from "../../../chunks/Index-DytUHz5x.mjs";
|
package/router/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { D as e, E as t, T as n } from "../chunks/provider-
|
|
1
|
+
import { D as e, E as t, T as n } from "../chunks/provider-CkV8UD3o.mjs";
|
|
2
2
|
export { e as default, n as getRoute, t as getTopRoute };
|
package/store/modules/common.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { B as e } from "../../chunks/provider-CkV8UD3o.mjs";
|
|
2
2
|
export { e as default };
|
package/store/modules/login.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { j as e } from "../../chunks/provider-
|
|
1
|
+
import { j as e } from "../../chunks/provider-CkV8UD3o.mjs";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { z as e } from "../../chunks/provider-CkV8UD3o.mjs";
|
|
2
2
|
export { e as default };
|
package/store/modules/router.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
1
|
+
import { L as e, R as t } from "../../chunks/provider-CkV8UD3o.mjs";
|
|
2
|
+
export { t as default, e as getRoutersMethod };
|
package/store/modules/user.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as e, r as t } from "../../chunks/provider-
|
|
1
|
+
import { i as e, r as t } from "../../chunks/provider-CkV8UD3o.mjs";
|
|
2
2
|
export { e as default, t as getUserInfoMethod };
|
package/utils/index.mjs
CHANGED
|
@@ -3,6 +3,6 @@ import { getDomRangeWidth as n } from "./dom.mjs";
|
|
|
3
3
|
import { t as r } from "../chunks/utils-ag05P503.mjs";
|
|
4
4
|
import { formatNumber as i, formatSecondsToChinese as a } from "./number.mjs";
|
|
5
5
|
import { getFilenameFromUrl as o, queryStringToObject as s, stringDisplay as c } from "./string.mjs";
|
|
6
|
-
import { aesDecrypt as l, aesEncrypt as u,
|
|
7
|
-
import { flatArrToTree as
|
|
8
|
-
export { l as aesDecrypt, u as aesEncrypt, r as findLabel,
|
|
6
|
+
import { aesDecrypt as l, aesEncrypt as u, sanitizeHtml as d, saveAs as f } from "./tool.mjs";
|
|
7
|
+
import { flatArrToTree as p, treeToFlatArr as m } from "./tree.mjs";
|
|
8
|
+
export { l as aesDecrypt, u as aesEncrypt, r as findLabel, p as flatArrToTree, i as formatNumber, a as formatSecondsToChinese, n as getDomRangeWidth, o as getFilenameFromUrl, e as isFalsy, t as isValidNumberString, s as queryStringToObject, d as sanitizeHtml, f as saveAs, c as stringDisplay, m as treeToFlatArr };
|
package/utils/tool.d.ts
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
|
+
import { Config } from 'dompurify';
|
|
1
2
|
import { default as FileSaver } from 'file-saver';
|
|
2
3
|
export declare function aesDecrypt(word: string, keyWord: string): Promise<string>;
|
|
3
4
|
export declare function aesEncrypt(word: string, keyWord: string): Promise<string>;
|
|
5
|
+
export declare function sanitizeHtml(dirty: Node | string, cfg?: Config): Promise<string>;
|
|
4
6
|
export declare function saveAs(arg1: Parameters<typeof FileSaver.saveAs>[0], arg2?: Parameters<typeof FileSaver.saveAs>[1], arg3?: FileSaver.FileSaverOptions): Promise<void>;
|
package/utils/tool.mjs
CHANGED
|
@@ -13,9 +13,13 @@ async function t(e, t) {
|
|
|
13
13
|
padding: n.pad.Pkcs7
|
|
14
14
|
}).toString();
|
|
15
15
|
}
|
|
16
|
-
async function n(e, t
|
|
16
|
+
async function n(e, t) {
|
|
17
|
+
let { default: n } = await import("dompurify");
|
|
18
|
+
return n.sanitize(e, t);
|
|
19
|
+
}
|
|
20
|
+
async function r(e, t, n) {
|
|
17
21
|
let { default: r } = await import("file-saver");
|
|
18
22
|
r(e, t, n);
|
|
19
23
|
}
|
|
20
24
|
//#endregion
|
|
21
|
-
export { e as aesDecrypt, t as aesEncrypt, n as saveAs };
|
|
25
|
+
export { e as aesDecrypt, t as aesEncrypt, n as sanitizeHtml, r as saveAs };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { S as e } from "../../../chunks/provider-
|
|
1
|
+
import { S as e } from "../../../chunks/provider-CkV8UD3o.mjs";
|
|
2
2
|
import { t } from "../../../chunks/card-Domqu1Hz.mjs";
|
|
3
3
|
import "../../../components/card/index.mjs";
|
|
4
|
-
import { t as n } from "../../../chunks/table-
|
|
4
|
+
import { t as n } from "../../../chunks/table-Bu1WKJn0.mjs";
|
|
5
5
|
import "../../../components/table/index.mjs";
|
|
6
6
|
import { t as r } from "../../../chunks/echarts-C3EKKtvU.mjs";
|
|
7
7
|
import { computed as i, createElementBlock as a, createVNode as o, defineComponent as s, normalizeStyle as c, openBlock as l, unref as u, withCtx as d } from "vue";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { S as e, n as t, o as n } from "../../../chunks/provider-
|
|
1
|
+
import { S as e, n as t, o as n } from "../../../chunks/provider-CkV8UD3o.mjs";
|
|
2
2
|
import r from "../../../plugins/autoImport/$msg/index.mjs";
|
|
3
3
|
import { t as i } from "../../../chunks/card-Domqu1Hz.mjs";
|
|
4
4
|
import "../../../components/card/index.mjs";
|
|
5
|
-
import { t as a } from "../../../chunks/table-
|
|
5
|
+
import { t as a } from "../../../chunks/table-Bu1WKJn0.mjs";
|
|
6
6
|
import "../../../components/table/index.mjs";
|
|
7
7
|
import { computed as o, createElementBlock as s, createTextVNode as c, createVNode as l, defineComponent as u, openBlock as d, reactive as f, ref as p, unref as m, watch as h, withCtx as g } from "vue";
|
|
8
8
|
//#region ../../packages/dlzn-ui/views/monitor/cacheList/index.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { S as e } from "../../../chunks/provider-
|
|
2
|
-
import { t } from "../../../chunks/page-list-
|
|
1
|
+
import { S as e } from "../../../chunks/provider-CkV8UD3o.mjs";
|
|
2
|
+
import { t } from "../../../chunks/page-list-PgB5MGIt.mjs";
|
|
3
3
|
import "../../../components/page-list/index.mjs";
|
|
4
4
|
import { createBlock as n, defineComponent as r, mergeProps as i, openBlock as a, reactive as o, ref as s, unref as c, useTemplateRef as l } from "vue";
|
|
5
5
|
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { S as e } from "../../../chunks/provider-
|
|
2
|
-
import { t } from "../../../chunks/page-list-
|
|
1
|
+
import { S as e } from "../../../chunks/provider-CkV8UD3o.mjs";
|
|
2
|
+
import { t } from "../../../chunks/page-list-PgB5MGIt.mjs";
|
|
3
3
|
import "../../../components/page-list/index.mjs";
|
|
4
4
|
import { createBlock as n, defineComponent as r, mergeProps as i, openBlock as a, unref as o, useTemplateRef as s } from "vue";
|
|
5
5
|
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as r } from "../../../chunks/page-list-
|
|
1
|
+
import { H as e, S as t, o as n } from "../../../chunks/provider-CkV8UD3o.mjs";
|
|
2
|
+
import { t as r } from "../../../chunks/page-list-PgB5MGIt.mjs";
|
|
3
3
|
import "../../../components/page-list/index.mjs";
|
|
4
4
|
import { createBlock as i, defineComponent as a, h as o, mergeProps as s, openBlock as c, reactive as l, ref as u, unref as d, useTemplateRef as f, watch as p } from "vue";
|
|
5
5
|
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { S as e } from "../../../chunks/provider-
|
|
1
|
+
import { S as e } from "../../../chunks/provider-CkV8UD3o.mjs";
|
|
2
2
|
import { t } from "../../../chunks/card-Domqu1Hz.mjs";
|
|
3
3
|
import "../../../components/card/index.mjs";
|
|
4
|
-
import { t as n } from "../../../chunks/table-
|
|
4
|
+
import { t as n } from "../../../chunks/table-Bu1WKJn0.mjs";
|
|
5
5
|
import "../../../components/table/index.mjs";
|
|
6
6
|
import { computed as r, createElementBlock as i, createVNode as a, defineComponent as o, openBlock as s, unref as c, withCtx as l } from "vue";
|
|
7
7
|
import { useRequest as u } from "alova/client";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { S as e, V as t, o as n } from "../../../chunks/provider-CkV8UD3o.mjs";
|
|
2
2
|
import r from "../../../plugins/autoImport/$msg/index.mjs";
|
|
3
|
-
import { t as i } from "../../../chunks/page-list-
|
|
3
|
+
import { t as i } from "../../../chunks/page-list-PgB5MGIt.mjs";
|
|
4
4
|
import "../../../components/page-list/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
|
//#endregion
|
|
@@ -56,11 +56,11 @@ var h = /* @__PURE__ */ o({
|
|
|
56
56
|
method: "system/config/export",
|
|
57
57
|
permission: "system:config:export"
|
|
58
58
|
},
|
|
59
|
-
list: { method: (
|
|
60
|
-
...
|
|
59
|
+
list: { method: (t) => e.Get("system/config/list", { params: {
|
|
60
|
+
...t,
|
|
61
61
|
dateRange: void 0,
|
|
62
|
-
"params[beginTime]":
|
|
63
|
-
"params[endTime]":
|
|
62
|
+
"params[beginTime]": t.dateRange[0],
|
|
63
|
+
"params[endTime]": t.dateRange[1]
|
|
64
64
|
} }) }
|
|
65
65
|
},
|
|
66
66
|
columns: [
|
|
@@ -105,7 +105,7 @@ var h = /* @__PURE__ */ o({
|
|
|
105
105
|
let a = d(null);
|
|
106
106
|
m(a, () => {
|
|
107
107
|
a.value.setFormData(i);
|
|
108
|
-
}, { once: !0 }),
|
|
108
|
+
}, { once: !0 }), t({
|
|
109
109
|
body: () => s(n, {
|
|
110
110
|
items: [
|
|
111
111
|
g.configName,
|
|
@@ -120,7 +120,7 @@ var h = /* @__PURE__ */ o({
|
|
|
120
120
|
}),
|
|
121
121
|
header: "修改参数",
|
|
122
122
|
onConfirmCallback: async () => {
|
|
123
|
-
await
|
|
123
|
+
await e.Put("system/config", {
|
|
124
124
|
...await a.value.validate(),
|
|
125
125
|
configId: i.configId
|
|
126
126
|
}), r.success("参数修改成功"), h.value.query();
|
|
@@ -149,7 +149,7 @@ var h = /* @__PURE__ */ o({
|
|
|
149
149
|
default: "新增",
|
|
150
150
|
onClick: () => {
|
|
151
151
|
let i = d(null);
|
|
152
|
-
|
|
152
|
+
t({
|
|
153
153
|
body: () => s(n, {
|
|
154
154
|
data: u({ configType: "Y" }),
|
|
155
155
|
items: [
|
|
@@ -165,7 +165,7 @@ var h = /* @__PURE__ */ o({
|
|
|
165
165
|
}),
|
|
166
166
|
header: "添加参数",
|
|
167
167
|
onConfirmCallback: async () => {
|
|
168
|
-
await
|
|
168
|
+
await e.Post("system/config", await i.value.validate()), r.success("参数添加成功"), h.value.query();
|
|
169
169
|
},
|
|
170
170
|
width: 460
|
|
171
171
|
});
|
|
@@ -177,7 +177,7 @@ var h = /* @__PURE__ */ o({
|
|
|
177
177
|
popconfirm: {
|
|
178
178
|
content: "确定要刷新缓存吗?",
|
|
179
179
|
onConfirm: async () => {
|
|
180
|
-
await
|
|
180
|
+
await e.Delete("system/config/refreshCache", void 0, { meta: { useSuccessMsg: !0 } });
|
|
181
181
|
}
|
|
182
182
|
}
|
|
183
183
|
}],
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { S as e, V as t, o as n } from "../../../chunks/provider-CkV8UD3o.mjs";
|
|
2
2
|
import "../../../chunks/utils-ag05P503.mjs";
|
|
3
3
|
import { flatArrToTree as r } from "../../../utils/tree.mjs";
|
|
4
4
|
import i from "../../../plugins/autoImport/$msg/index.mjs";
|
|
5
|
-
import { t as a } from "../../../chunks/page-list-
|
|
5
|
+
import { t as a } from "../../../chunks/page-list-PgB5MGIt.mjs";
|
|
6
6
|
import "../../../components/page-list/index.mjs";
|
|
7
7
|
import { deptTreeList as o, deptTreeListSend as s } from "./utils.mjs";
|
|
8
8
|
import { createBlock as c, defineComponent as l, h as u, mergeProps as d, openBlock as f, reactive as p, ref as m, unref as h, useTemplateRef as g, watch as _ } from "vue";
|
|
@@ -64,9 +64,9 @@ var v = /* @__PURE__ */ l({
|
|
|
64
64
|
model: "status"
|
|
65
65
|
}
|
|
66
66
|
}, x = {
|
|
67
|
-
apis: { list: { method: (
|
|
67
|
+
apis: { list: { method: (t) => e.Get("system/dept/list", {
|
|
68
68
|
params: {
|
|
69
|
-
...
|
|
69
|
+
...t,
|
|
70
70
|
pageNum: void 0,
|
|
71
71
|
pageSize: void 0
|
|
72
72
|
},
|
|
@@ -129,7 +129,7 @@ var v = /* @__PURE__ */ l({
|
|
|
129
129
|
let a = m(null);
|
|
130
130
|
_(a, () => {
|
|
131
131
|
a.value.setFormData(r);
|
|
132
|
-
}, { once: !0 }),
|
|
132
|
+
}, { once: !0 }), t({
|
|
133
133
|
body: () => u(n, {
|
|
134
134
|
items: [
|
|
135
135
|
b.parentId,
|
|
@@ -144,9 +144,9 @@ var v = /* @__PURE__ */ l({
|
|
|
144
144
|
}),
|
|
145
145
|
header: "编辑部门",
|
|
146
146
|
onConfirmCallback: async () => {
|
|
147
|
-
let
|
|
148
|
-
await
|
|
149
|
-
...
|
|
147
|
+
let t = await a.value.validate();
|
|
148
|
+
await e.Put("system/dept", {
|
|
149
|
+
...t,
|
|
150
150
|
deptId: r.deptId
|
|
151
151
|
}), s(), i.success("部门修改成功"), v.value.query();
|
|
152
152
|
},
|
|
@@ -159,7 +159,7 @@ var v = /* @__PURE__ */ l({
|
|
|
159
159
|
default: "新增",
|
|
160
160
|
onClick: () => {
|
|
161
161
|
let a = m(null);
|
|
162
|
-
|
|
162
|
+
t({
|
|
163
163
|
body: () => u(n, {
|
|
164
164
|
data: p({
|
|
165
165
|
parentId: r.deptId,
|
|
@@ -181,23 +181,23 @@ var v = /* @__PURE__ */ l({
|
|
|
181
181
|
}),
|
|
182
182
|
header: "新增部门",
|
|
183
183
|
onConfirmCallback: async () => {
|
|
184
|
-
await
|
|
184
|
+
await e.Post("system/dept", await a.value.validate()), s(), i.success("部门添加成功"), v.value.query();
|
|
185
185
|
},
|
|
186
186
|
width: 730
|
|
187
187
|
});
|
|
188
188
|
},
|
|
189
189
|
permission: "system:dept:add"
|
|
190
190
|
}),
|
|
191
|
-
({ row:
|
|
191
|
+
({ row: t }) => ({
|
|
192
192
|
default: "删除",
|
|
193
193
|
permission: "system:dept:remove",
|
|
194
194
|
popconfirm: {
|
|
195
195
|
content: "确认删除吗",
|
|
196
196
|
onConfirm: async () => {
|
|
197
|
-
await
|
|
197
|
+
await e.Delete(`system/dept/${t.deptId}`), s(), i("删除成功"), v.value.query();
|
|
198
198
|
}
|
|
199
199
|
},
|
|
200
|
-
show:
|
|
200
|
+
show: t.parentId !== "0"
|
|
201
201
|
})
|
|
202
202
|
],
|
|
203
203
|
component: "Buttons"
|
|
@@ -214,7 +214,7 @@ var v = /* @__PURE__ */ l({
|
|
|
214
214
|
default: "新增",
|
|
215
215
|
onClick: () => {
|
|
216
216
|
let r = m(null);
|
|
217
|
-
|
|
217
|
+
t({
|
|
218
218
|
body: () => u(n, {
|
|
219
219
|
data: p({ status: "0" }),
|
|
220
220
|
items: [
|
|
@@ -230,7 +230,7 @@ var v = /* @__PURE__ */ l({
|
|
|
230
230
|
}),
|
|
231
231
|
header: "添加部门",
|
|
232
232
|
onConfirmCallback: async () => {
|
|
233
|
-
await
|
|
233
|
+
await e.Post("system/dept", await r.value.validate()), s(), i.success("部门添加成功"), v.value.query();
|
|
234
234
|
},
|
|
235
235
|
width: 730
|
|
236
236
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as e } from "../../../chunks/provider-
|
|
1
|
+
import { S as e } from "../../../chunks/provider-CkV8UD3o.mjs";
|
|
2
2
|
import "../../../chunks/utils-ag05P503.mjs";
|
|
3
3
|
import { flatArrToTree as t } from "../../../utils/tree.mjs";
|
|
4
4
|
import { useRequest as n } from "alova/client";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { H as e, S as t, V as n, o as r } from "../../../chunks/provider-CkV8UD3o.mjs";
|
|
2
2
|
import i from "../../../plugins/autoImport/$msg/index.mjs";
|
|
3
|
-
import { t as a } from "../../../chunks/page-list-
|
|
3
|
+
import { t as a } from "../../../chunks/page-list-PgB5MGIt.mjs";
|
|
4
4
|
import "../../../components/page-list/index.mjs";
|
|
5
|
-
import { t as o } from "../../../chunks/DictTypeDetail-
|
|
5
|
+
import { t as o } from "../../../chunks/DictTypeDetail-C-LVM-Mf.mjs";
|
|
6
6
|
import { createBlock as s, defineComponent as c, h as l, mergeProps as u, openBlock as d, reactive as f, ref as p, unref as m, useTemplateRef as h, watch as g } from "vue";
|
|
7
7
|
//#endregion
|
|
8
8
|
//#region ../../packages/dlzn-ui/views/system/dict/index.vue
|
|
@@ -50,7 +50,7 @@ var _ = /* @__PURE__ */ c({
|
|
|
50
50
|
method: "system/dict/type/export",
|
|
51
51
|
permission: "system:dict:export"
|
|
52
52
|
},
|
|
53
|
-
list: { method: (e) =>
|
|
53
|
+
list: { method: (e) => t.Get("system/dict/type/list", { params: {
|
|
54
54
|
...e,
|
|
55
55
|
dateRange: void 0,
|
|
56
56
|
"params[beginTime]": e.dateRange[0] ?? "",
|
|
@@ -67,10 +67,10 @@ var _ = /* @__PURE__ */ c({
|
|
|
67
67
|
title: "字典名称"
|
|
68
68
|
},
|
|
69
69
|
{
|
|
70
|
-
cell: (
|
|
70
|
+
cell: (t, { row: n }) => ({
|
|
71
71
|
component: "TypographyTextLink",
|
|
72
72
|
link: { onClick: () => {
|
|
73
|
-
|
|
73
|
+
e({
|
|
74
74
|
body: () => l(o, { dictType: n.dictType }),
|
|
75
75
|
footer: !1,
|
|
76
76
|
header: `字典类型: ${n.dictName}(${n.dictType})`,
|
|
@@ -103,13 +103,13 @@ var _ = /* @__PURE__ */ c({
|
|
|
103
103
|
},
|
|
104
104
|
{
|
|
105
105
|
cell: {
|
|
106
|
-
buttons: [({ row:
|
|
106
|
+
buttons: [({ row: e }) => ({
|
|
107
107
|
default: "编辑",
|
|
108
108
|
onClick: () => {
|
|
109
109
|
let a = p(null);
|
|
110
110
|
g(a, () => {
|
|
111
|
-
a.value.setFormData(
|
|
112
|
-
}, { once: !0 }),
|
|
111
|
+
a.value.setFormData(e);
|
|
112
|
+
}, { once: !0 }), n({
|
|
113
113
|
body: () => l(r, {
|
|
114
114
|
items: [
|
|
115
115
|
v.dictName,
|
|
@@ -126,9 +126,9 @@ var _ = /* @__PURE__ */ c({
|
|
|
126
126
|
}),
|
|
127
127
|
header: "修改字典类型",
|
|
128
128
|
onConfirmCallback: async () => {
|
|
129
|
-
await
|
|
129
|
+
await t.Put("system/dict/type", {
|
|
130
130
|
...await a.value.validate(),
|
|
131
|
-
dictId:
|
|
131
|
+
dictId: e.dictId
|
|
132
132
|
}), i.success("字典类型修改成功"), _.value.query();
|
|
133
133
|
},
|
|
134
134
|
width: 430
|
|
@@ -151,8 +151,8 @@ var _ = /* @__PURE__ */ c({
|
|
|
151
151
|
operations: [{
|
|
152
152
|
default: "新增",
|
|
153
153
|
onClick: () => {
|
|
154
|
-
let
|
|
155
|
-
|
|
154
|
+
let e = p(null);
|
|
155
|
+
n({
|
|
156
156
|
body: () => l(r, {
|
|
157
157
|
data: f({ status: "0" }),
|
|
158
158
|
items: [
|
|
@@ -166,11 +166,11 @@ var _ = /* @__PURE__ */ c({
|
|
|
166
166
|
],
|
|
167
167
|
labelAlign: "right",
|
|
168
168
|
layout: "vertical",
|
|
169
|
-
ref:
|
|
169
|
+
ref: e
|
|
170
170
|
}),
|
|
171
171
|
header: "添加字典类型",
|
|
172
172
|
onConfirmCallback: async () => {
|
|
173
|
-
await
|
|
173
|
+
await t.Post("system/dict/type", await e.value.validate()), i.success("字典添加成功"), _.value.query();
|
|
174
174
|
},
|
|
175
175
|
width: 430
|
|
176
176
|
});
|
|
@@ -179,7 +179,7 @@ var _ = /* @__PURE__ */ c({
|
|
|
179
179
|
}, {
|
|
180
180
|
default: "刷新缓存",
|
|
181
181
|
onClick: async () => {
|
|
182
|
-
await
|
|
182
|
+
await t.Delete("system/dict/type/refreshCache", void 0, { meta: { useSuccessMsg: !0 } }), _.value.query();
|
|
183
183
|
},
|
|
184
184
|
permission: "system:dict:remove"
|
|
185
185
|
}],
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../../../chunks/DictTypeDetail-
|
|
1
|
+
import { t as e } from "../../../../chunks/DictTypeDetail-C-LVM-Mf.mjs";
|
|
2
2
|
export { e as default };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { S as e, V as t, n, o as r } from "../../../chunks/provider-CkV8UD3o.mjs";
|
|
2
2
|
import { t as i } from "../../../chunks/icon-DcFIQ_yG.mjs";
|
|
3
3
|
import "../../../components/icon/index.mjs";
|
|
4
4
|
import { isFalsy as a } from "../../../utils/boolean.mjs";
|
|
5
5
|
import "../../../chunks/utils-ag05P503.mjs";
|
|
6
6
|
import { flatArrToTree as o } from "../../../utils/tree.mjs";
|
|
7
7
|
import s from "../../../plugins/autoImport/$msg/index.mjs";
|
|
8
|
-
import { t as c } from "../../../chunks/page-list-
|
|
8
|
+
import { t as c } from "../../../chunks/page-list-PgB5MGIt.mjs";
|
|
9
9
|
import "../../../components/page-list/index.mjs";
|
|
10
10
|
import { useMenuTree as l } from "./utils.mjs";
|
|
11
11
|
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";
|
|
@@ -159,9 +159,9 @@ var b = /* @__PURE__ */ d({
|
|
|
159
159
|
method: "system/menu",
|
|
160
160
|
permission: "system:menu:remove"
|
|
161
161
|
},
|
|
162
|
-
list: { method: (
|
|
162
|
+
list: { method: (t) => e.Get("system/menu/list", {
|
|
163
163
|
params: {
|
|
164
|
-
...
|
|
164
|
+
...t,
|
|
165
165
|
pageNum: void 0,
|
|
166
166
|
pageSize: void 0
|
|
167
167
|
},
|
|
@@ -244,7 +244,7 @@ var b = /* @__PURE__ */ d({
|
|
|
244
244
|
...n,
|
|
245
245
|
parentId: n.parentId === "0" ? "" : n.parentId
|
|
246
246
|
}, { numberToStringKeys: ["isFrame"] });
|
|
247
|
-
}, { once: !0 }),
|
|
247
|
+
}, { once: !0 }), t({
|
|
248
248
|
body: () => f(r, {
|
|
249
249
|
data: h({
|
|
250
250
|
isCache: "0",
|
|
@@ -269,7 +269,7 @@ var b = /* @__PURE__ */ d({
|
|
|
269
269
|
}),
|
|
270
270
|
header: "编辑菜单",
|
|
271
271
|
onConfirmCallback: async () => {
|
|
272
|
-
let
|
|
272
|
+
let t = await i.value.validate();
|
|
273
273
|
[
|
|
274
274
|
"component",
|
|
275
275
|
"perms",
|
|
@@ -278,12 +278,12 @@ var b = /* @__PURE__ */ d({
|
|
|
278
278
|
"isCache",
|
|
279
279
|
"path",
|
|
280
280
|
"isFrame"
|
|
281
|
-
].forEach((
|
|
282
|
-
|
|
283
|
-
}), T(
|
|
284
|
-
...
|
|
281
|
+
].forEach((e) => {
|
|
282
|
+
e in t || (t[e] = "");
|
|
283
|
+
}), T(t), await e.Put("system/menu", {
|
|
284
|
+
...t,
|
|
285
285
|
menuId: n.menuId,
|
|
286
|
-
parentId: a(
|
|
286
|
+
parentId: a(t.parentId) ? "0" : t.parentId
|
|
287
287
|
}), x(), s.success("菜单修改成功"), S.value.query();
|
|
288
288
|
},
|
|
289
289
|
width: 730
|
|
@@ -294,7 +294,7 @@ var b = /* @__PURE__ */ d({
|
|
|
294
294
|
default: "新增",
|
|
295
295
|
onClick: () => {
|
|
296
296
|
let i = g(null);
|
|
297
|
-
|
|
297
|
+
t({
|
|
298
298
|
body: () => f(r, {
|
|
299
299
|
data: h({
|
|
300
300
|
isCache: "0",
|
|
@@ -325,8 +325,8 @@ var b = /* @__PURE__ */ d({
|
|
|
325
325
|
}),
|
|
326
326
|
header: "新增菜单",
|
|
327
327
|
onConfirmCallback: async () => {
|
|
328
|
-
let
|
|
329
|
-
T(
|
|
328
|
+
let t = await i.value.validate();
|
|
329
|
+
T(t), await e.Post("system/menu", t), x(), s.success("菜单修改成功"), S.value.query();
|
|
330
330
|
},
|
|
331
331
|
width: 730
|
|
332
332
|
});
|
|
@@ -347,7 +347,7 @@ var b = /* @__PURE__ */ d({
|
|
|
347
347
|
default: "新增",
|
|
348
348
|
onClick: () => {
|
|
349
349
|
let n = g(null);
|
|
350
|
-
|
|
350
|
+
t({
|
|
351
351
|
body: () => f(r, {
|
|
352
352
|
data: h({
|
|
353
353
|
isCache: "0",
|
|
@@ -374,10 +374,10 @@ var b = /* @__PURE__ */ d({
|
|
|
374
374
|
}),
|
|
375
375
|
header: "添加菜单",
|
|
376
376
|
onConfirmCallback: async () => {
|
|
377
|
-
let
|
|
378
|
-
T(
|
|
379
|
-
...
|
|
380
|
-
parentId: a(
|
|
377
|
+
let t = await n.value.validate();
|
|
378
|
+
T(t), await e.Post("system/menu", {
|
|
379
|
+
...t,
|
|
380
|
+
parentId: a(t.parentId) ? "0" : t.parentId
|
|
381
381
|
}), x(), s.success("菜单添加成功"), S.value.query();
|
|
382
382
|
},
|
|
383
383
|
width: 730
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as e } from "../../../chunks/provider-
|
|
1
|
+
import { S as e } from "../../../chunks/provider-CkV8UD3o.mjs";
|
|
2
2
|
import "../../../chunks/utils-ag05P503.mjs";
|
|
3
3
|
import { flatArrToTree as t } from "../../../utils/tree.mjs";
|
|
4
4
|
import { useRequest as n } from "alova/client";
|