dlzn-ui 2.0.6 → 2.0.8
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/$loading-D_Zs2VgL.css +1 -0
- package/assets/LoginBg-XqWOv7dJ.css +1 -0
- package/assets/main-CxSb5Gqw.css +2 -0
- package/assets/{button-Bwn73ZEc.css → provider-1BcdscQq.css} +1 -1
- package/chunks/$loading-Df3COGfW.mjs +241 -0
- package/chunks/{AssignUser-DCju22tm.mjs → AssignUser-Dj8rq5gH.mjs} +3 -3
- package/chunks/{Common-DQbblaTl.mjs → Common-CnrITpXz.mjs} +7 -7
- package/chunks/{Day-9BKmHuZl.mjs → Day-tjS-0iDA.mjs} +13 -13
- package/chunks/{DictTypeDetail-e14bGyiZ.mjs → DictTypeDetail-CcohOVfN.mjs} +7 -7
- package/chunks/FileSaver.min-BAG7TK0U.mjs +70 -0
- package/chunks/{Hour-CrFFADzT.mjs → Hour-B9fx59cM.mjs} +1 -1
- package/chunks/{Index-Bu5a_B5n.mjs → Index-B-_PVf5U.mjs} +1 -1
- package/chunks/{Index-QUCWrT4d.mjs → Index-BTEVAXbg.mjs} +2 -2
- package/chunks/{Index-bEWcnIHJ.mjs → Index-BxfxoY-l.mjs} +1 -1
- package/chunks/{Index-Bi44jQm2.mjs → Index-CrxoIuR-.mjs} +1 -1
- package/chunks/{Index-ChH8kYUs.mjs → Index-D-gi1OVy.mjs} +2 -2
- package/chunks/{Index-DloA1g7z.mjs → Index-DlrNiiDp.mjs} +5 -5
- package/chunks/{Index-De48YIRG.mjs → Index-baebFewJ.mjs} +1 -1
- package/chunks/{Index-CZ0ICyCx.mjs → Index-z9vUMzmS.mjs} +2 -2
- package/chunks/{IndexItem-OIGXdAkP.mjs → IndexItem-rt5wZA39.mjs} +7 -7
- package/chunks/{Log-DdemNjDW.mjs → Log-DK5aduPG.mjs} +8 -8
- package/chunks/{LoginBg-BD6ChYvu.mjs → LoginBg-BtuSDFUq.mjs} +10 -18
- package/chunks/{MenuNode-ByutDAqI.mjs → MenuNode-B0M4WpOn.mjs} +1 -1
- package/chunks/{MenuNode-DXgE629W.mjs → MenuNode-DEBSfNz9.mjs} +3 -3
- package/chunks/{Minute-xZNOCy8Q.mjs → Minute-hPwzkaCM.mjs} +1 -1
- package/chunks/{Month-CvWOcD_9.mjs → Month-Cnjhbs28.mjs} +1 -1
- package/chunks/{Second-BvMnEOms.mjs → Second-DAYKul2s.mjs} +1 -1
- package/chunks/{SelectDept-DmtKBaW0.mjs → SelectDept-CC4ckbbt.mjs} +1 -1
- package/chunks/{SelectMenu-tEpLm6Ij.mjs → SelectMenu-pBim6_Lj.mjs} +1 -1
- package/chunks/{SelectUser-CTvBarod.mjs → SelectUser-D6dBXxlL.mjs} +2 -2
- package/chunks/Triangle-C5ogSVp9.mjs +1140 -0
- package/chunks/{UserInfo-qrNR9tve.mjs → UserInfo-BUlPdKge.mjs} +11 -11
- package/chunks/{Wrapper-LEchQmDn.mjs → Wrapper-C6BtJDSa.mjs} +5 -5
- package/chunks/__vite-browser-external-D1GT_Hx9.mjs +7 -0
- package/chunks/{app-CggLqjRQ.mjs → app-Dk-mybzX.mjs} +5 -5
- package/chunks/auto-animate-FPySn19g.mjs +341 -0
- package/chunks/crypto-js-DWj_rBsG.mjs +3695 -0
- package/chunks/css-Cw_qlmlv.mjs +521 -0
- package/chunks/{custom-page-list-CJWB72dw.mjs → custom-page-list-EQhltX7t.mjs} +4 -4
- package/chunks/{custom-page-table-5f8lI6CQ.mjs → custom-page-table-CYLFzT4F.mjs} +2 -2
- package/chunks/date-picker-C_5NJHjq.mjs +8186 -0
- package/chunks/icon-jnCbW4iu.mjs +1013 -0
- package/chunks/{menu-CjNx3wKR.mjs → menu-DYwAudY3.mjs} +1 -1
- package/chunks/{overview-BEtKbidZ.mjs → overview-D9YB44O0.mjs} +1 -1
- package/chunks/{page-list-C3nqGnnX.mjs → page-list-BnGVTcad.mjs} +36 -36
- package/chunks/{page-query-C6oSW1je.mjs → page-query-QCT-mat_.mjs} +5 -5
- package/chunks/{page-table-3DTiPP9H.mjs → page-table-DMOjg44G.mjs} +9 -9
- package/chunks/{pagination-C6-VAj4W.mjs → pagination-BNAZYVJk.mjs} +1 -1
- package/chunks/{button-Dk3CiB69.mjs → provider-DQIMA4mE.mjs} +840 -809
- package/chunks/rolldown-runtime-D_tDV3RV.mjs +23 -0
- package/chunks/{scrollbar-CI1mysNQ.mjs → scrollbar-B0u39t4J.mjs} +9 -10
- package/chunks/store-C46_JI7q.mjs +112 -0
- package/chunks/{table-Cp9NQHjQ.mjs → table-BFP90EA0.mjs} +11 -11
- package/chunks/{tag-CfeJWJii.mjs → tag-BDpZ8-Fj.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 +6206 -103
- 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/date-picker/index.mjs +1 -1
- package/components/date-picker/src/date-picker.mjs +1 -1
- package/components/form/index.mjs +1 -1
- package/components/form/src/form.mjs +1 -1
- package/components/icon/index.mjs +1 -1
- package/components/icon/src/icon.mjs +1 -1
- package/components/image-viewer/src/image-viewer.vue.d.ts +1 -1
- package/components/index.mjs +19 -19
- 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 +3 -3
- 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/page-table/src/page-table.vue.d.ts +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/scrollbar/index.mjs +1 -1
- package/components/scrollbar/src/scrollbar.mjs +1 -1
- package/components/select/index.mjs +2 -2
- 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/table/src/table.vue.d.ts +1 -1
- package/components/tag/index.mjs +1 -1
- package/components/tag/src/tag.mjs +1 -1
- package/components/tree/index.mjs +2 -2
- package/components/tree/src/tree.mjs +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 +2 -2
- package/components/upload/src/upload.mjs +1 -1
- package/hooks/useAnimateAuto/index.mjs +6 -6
- package/hooks/useContextMenu/menu/index.mjs +1 -1
- package/hooks/useContextMenu/menu/src/MenuNode.mjs +1 -1
- package/hooks/useContextMenu/menu/src/menu.mjs +1 -1
- package/hooks/useDicOptions/index.mjs +2 -2
- package/hooks/useSysUser/index.mjs +2 -2
- package/index.d.ts +3 -0
- package/layout/Entry.mjs +1 -1
- package/layout/Login.mjs +6 -6
- 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/modules/MenuNode.mjs +1 -1
- package/layout/profile/Index.mjs +4 -4
- package/layout/profile/ResetPwd.mjs +1 -1
- package/layout/profile/UserInfo.mjs +1 -1
- package/layout/vueBits/LightRays.mjs +47 -47
- package/layout/vueBits/Plasma.mjs +29 -29
- package/layout/vueBits/Prism.mjs +51 -51
- package/main.d.ts +2 -0
- package/main.mjs +41 -0
- package/package.json +17 -11
- package/plugins/autoImport/$alova/index.mjs +2 -2
- 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/autoImport/$loading/index.mjs +2 -38
- package/plugins/captcha/captcha.mjs +13 -13
- package/plugins/captcha/index.mjs +1 -1
- package/plugins/echarts/index.mjs +705 -25
- package/plugins/initialize/index.mjs +1 -1
- package/plugins/initialize/webUpdateNotify.mjs +1 -1
- package/plugins/tableRenders/Wrapper.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/Icon/Index.mjs +1 -1
- package/plugins/tableRenders/cell/ImageViewer/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/Tags/Index.mjs +1 -1
- package/plugins/tableRenders/cell/index.mjs +7 -7
- package/plugins/tableRenders/title/index.mjs +1 -1
- package/router/index.mjs +1 -1
- package/store/index.mjs +2 -7
- 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 +2 -2
- package/utils/tool.mjs +16 -15
- package/views/system/dept/index.mjs +10 -10
- package/views/system/dept/utils.mjs +1 -1
- package/views/system/dict/index.mjs +18 -18
- package/views/system/dict/modules/DictTypeDetail.mjs +1 -1
- package/views/system/menu/index.mjs +11 -11
- package/views/system/post/index.mjs +6 -6
- package/views/system/role/index.mjs +42 -42
- 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/job/index.mjs +31 -31
- package/views/tool/job/modules/Log.mjs +1 -1
- package/assets/LoginBg-BTrRjkK7.css +0 -1
- package/chunks/date-picker-DtbDIFUH.mjs +0 -378
- package/chunks/icon-COjp1yrx.mjs +0 -21
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../chunks/Wrapper-
|
|
1
|
+
import { t as e } from "../../chunks/Wrapper-C6BtJDSa.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-D-gi1OVy.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-BTEVAXbg.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-BxfxoY-l.mjs";
|
|
2
2
|
export { e as default };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
declare const __VLS_export: import('vue').DefineComponent<import('../../../../components/image-viewer').ImageViewerProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('../../../../components/image-viewer').ImageViewerProps> & Readonly<{}>, {
|
|
2
2
|
visible: boolean;
|
|
3
3
|
closeBtn: boolean | import('tdesign-vue-next').TNode;
|
|
4
|
-
showOverlay: boolean;
|
|
5
4
|
closeOnEscKeydown: boolean;
|
|
6
5
|
draggable: boolean;
|
|
6
|
+
showOverlay: boolean;
|
|
7
7
|
closeOnOverlay: boolean;
|
|
8
8
|
navigationArrow: boolean | import('tdesign-vue-next').TNode;
|
|
9
9
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../../../chunks/Index-
|
|
1
|
+
import { t as e } from "../../../../chunks/Index-CrxoIuR-.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-DlrNiiDp.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-baebFewJ.mjs";
|
|
2
2
|
export { e as default };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { n as e } from "../../../chunks/useAppContext-D47amIp5.mjs";
|
|
2
2
|
import { t } from "../../../chunks/Index-BChP9CTL.mjs";
|
|
3
|
-
import { t as n } from "../../../chunks/Index-
|
|
3
|
+
import { t as n } from "../../../chunks/Index-D-gi1OVy.mjs";
|
|
4
4
|
import { t as r } from "../../../chunks/Index-BuqrJDKe.mjs";
|
|
5
|
-
import { t as i } from "../../../chunks/Index-
|
|
5
|
+
import { t as i } from "../../../chunks/Index-BTEVAXbg.mjs";
|
|
6
6
|
import { t as a } from "../../../chunks/Index-Bye0GY_j.mjs";
|
|
7
7
|
import { t as o } from "../../../chunks/Index-BwWS0oPl.mjs";
|
|
8
|
-
import { t as s } from "../../../chunks/Index-
|
|
8
|
+
import { t as s } from "../../../chunks/Index-BxfxoY-l.mjs";
|
|
9
9
|
import { t as c } from "../../../chunks/Index-eWToVefC.mjs";
|
|
10
10
|
import { t as l } from "../../../chunks/Index-DiOdyjva.mjs";
|
|
11
11
|
import { t as u } from "../../../chunks/Index-CwksT4hO.mjs";
|
|
12
12
|
import { t as d } from "../../../chunks/Index-CS1bfxu7.mjs";
|
|
13
13
|
import { t as f } from "../../../chunks/Index-DC0L_zaY.mjs";
|
|
14
|
-
import { t as p } from "../../../chunks/Index-
|
|
15
|
-
import { t as m } from "../../../chunks/Index-
|
|
14
|
+
import { t as p } from "../../../chunks/Index-CrxoIuR-.mjs";
|
|
15
|
+
import { t as m } from "../../../chunks/Index-DlrNiiDp.mjs";
|
|
16
16
|
import { t as h } from "../../../chunks/Index--rlVexBg.mjs";
|
|
17
|
-
import { t as g } from "../../../chunks/Index-
|
|
17
|
+
import { t as g } from "../../../chunks/Index-baebFewJ.mjs";
|
|
18
18
|
import { t as _ } from "../../../chunks/Index-CZnP6jHo.mjs";
|
|
19
19
|
import { t as v } from "../../../chunks/Index-7ubKF9v4.mjs";
|
|
20
|
-
import { t as y } from "../../../chunks/Wrapper-
|
|
20
|
+
import { t as y } from "../../../chunks/Wrapper-C6BtJDSa.mjs";
|
|
21
21
|
//#region ../../packages/dlzn-ui/plugins/tableRenders/cell/index.ts
|
|
22
22
|
var b = /* #__PURE__ */ Object.assign({
|
|
23
23
|
"./Avatar/Index.vue": t,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "../../../chunks/Wrapper-
|
|
1
|
+
import { t as e } from "../../../chunks/Wrapper-C6BtJDSa.mjs";
|
|
2
2
|
import { t } from "../../../chunks/Index-Cesv9ltS.mjs";
|
|
3
3
|
//#region ../../packages/dlzn-ui/plugins/tableRenders/title/index.ts
|
|
4
4
|
var n = /* #__PURE__ */ Object.assign({ "./Default/Index.vue": t });
|
package/router/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { D as e, E as t, T as n } from "../chunks/provider-DQIMA4mE.mjs";
|
|
2
2
|
export { e as default, n as getRoute, t as getTopRoute };
|
package/store/index.mjs
CHANGED
|
@@ -1,7 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
//#region ../../packages/dlzn-ui/store/index.ts
|
|
4
|
-
var n = e();
|
|
5
|
-
n.use(t());
|
|
6
|
-
//#endregion
|
|
7
|
-
export { n as default };
|
|
1
|
+
import { t as e } from "../chunks/store-C46_JI7q.mjs";
|
|
2
|
+
export { e as default };
|
package/store/modules/common.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { H as e } from "../../chunks/
|
|
1
|
+
import { H as e } from "../../chunks/provider-DQIMA4mE.mjs";
|
|
2
2
|
export { e as default };
|
package/store/modules/login.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { j as e } from "../../chunks/provider-DQIMA4mE.mjs";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { V as e } from "../../chunks/
|
|
1
|
+
import { V as e } from "../../chunks/provider-DQIMA4mE.mjs";
|
|
2
2
|
export { e as default };
|
package/store/modules/router.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { B as e, z as t } from "../../chunks/
|
|
1
|
+
import { B as e, z as t } from "../../chunks/provider-DQIMA4mE.mjs";
|
|
2
2
|
export { e as default, t as getRoutersMethod };
|
package/store/modules/user.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
1
|
+
import { i as e, r as t } from "../../chunks/provider-DQIMA4mE.mjs";
|
|
2
|
+
export { e as default, t as getUserInfoMethod };
|
package/utils/tool.mjs
CHANGED
|
@@ -1,21 +1,22 @@
|
|
|
1
|
+
import { a as e } from "../chunks/rolldown-runtime-D_tDV3RV.mjs";
|
|
1
2
|
//#region ../../packages/dlzn-ui/utils/tool.ts
|
|
2
|
-
async function
|
|
3
|
-
let { default:
|
|
4
|
-
return
|
|
5
|
-
mode:
|
|
6
|
-
padding:
|
|
7
|
-
}).toString(
|
|
3
|
+
async function t(t, n) {
|
|
4
|
+
let { default: r } = await import("../chunks/crypto-js-DWj_rBsG.mjs").then((t) => /* @__PURE__ */ e(t.default, 1)), i = r.enc.Utf8.parse(n);
|
|
5
|
+
return r.AES.decrypt(t, i, {
|
|
6
|
+
mode: r.mode.ECB,
|
|
7
|
+
padding: r.pad.Pkcs7
|
|
8
|
+
}).toString(r.enc.Utf8);
|
|
8
9
|
}
|
|
9
|
-
async function t
|
|
10
|
-
let { default:
|
|
11
|
-
return
|
|
12
|
-
mode:
|
|
13
|
-
padding:
|
|
10
|
+
async function n(t, n) {
|
|
11
|
+
let { default: r } = await import("../chunks/crypto-js-DWj_rBsG.mjs").then((t) => /* @__PURE__ */ e(t.default, 1)), i = r.enc.Utf8.parse(n), a = r.enc.Utf8.parse(t);
|
|
12
|
+
return r.AES.encrypt(a, i, {
|
|
13
|
+
mode: r.mode.ECB,
|
|
14
|
+
padding: r.pad.Pkcs7
|
|
14
15
|
}).toString();
|
|
15
16
|
}
|
|
16
|
-
async function
|
|
17
|
-
let { default:
|
|
18
|
-
|
|
17
|
+
async function r(t, n, r) {
|
|
18
|
+
let { default: i } = await import("../chunks/FileSaver.min-BAG7TK0U.mjs").then((t) => /* @__PURE__ */ e(t.default, 1));
|
|
19
|
+
i(t, n, r);
|
|
19
20
|
}
|
|
20
21
|
//#endregion
|
|
21
|
-
export {
|
|
22
|
+
export { t as aesDecrypt, n as aesEncrypt, r as saveAs };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { F as e, S as t, o as n } from "../../../chunks/provider-DQIMA4mE.mjs";
|
|
2
2
|
import r from "../../../plugins/autoImport/$msg/index.mjs";
|
|
3
3
|
import { flatArrToTree as i } from "../../../utils/tree.mjs";
|
|
4
4
|
import "../../../utils/index.mjs";
|
|
5
|
-
import { t as a } from "../../../chunks/page-list-
|
|
5
|
+
import { t as a } from "../../../chunks/page-list-BnGVTcad.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,7 +64,7 @@ var v = /* @__PURE__ */ l({
|
|
|
64
64
|
model: "status"
|
|
65
65
|
}
|
|
66
66
|
}, x = {
|
|
67
|
-
apis: { list: { method: (e) =>
|
|
67
|
+
apis: { list: { method: (e) => t.Get("system/dept/list", {
|
|
68
68
|
params: {
|
|
69
69
|
...e,
|
|
70
70
|
pageNum: void 0,
|
|
@@ -130,7 +130,7 @@ var v = /* @__PURE__ */ l({
|
|
|
130
130
|
_(a, () => {
|
|
131
131
|
a.value.setFormData(i);
|
|
132
132
|
}, { once: !0 }), e({
|
|
133
|
-
body: () => u(
|
|
133
|
+
body: () => u(n, {
|
|
134
134
|
items: [
|
|
135
135
|
b.parentId,
|
|
136
136
|
b.deptName,
|
|
@@ -145,7 +145,7 @@ var v = /* @__PURE__ */ l({
|
|
|
145
145
|
header: "编辑部门",
|
|
146
146
|
onConfirmCallback: async () => {
|
|
147
147
|
let e = await a.value.validate();
|
|
148
|
-
await
|
|
148
|
+
await t.Put("system/dept", {
|
|
149
149
|
...e,
|
|
150
150
|
deptId: i.deptId
|
|
151
151
|
}), s(), r.success("部门修改成功"), v.value.query();
|
|
@@ -160,7 +160,7 @@ var v = /* @__PURE__ */ l({
|
|
|
160
160
|
onClick: () => {
|
|
161
161
|
let a = m(null);
|
|
162
162
|
e({
|
|
163
|
-
body: () => u(
|
|
163
|
+
body: () => u(n, {
|
|
164
164
|
data: p({
|
|
165
165
|
parentId: i.deptId,
|
|
166
166
|
status: "0"
|
|
@@ -181,7 +181,7 @@ var v = /* @__PURE__ */ l({
|
|
|
181
181
|
}),
|
|
182
182
|
header: "新增部门",
|
|
183
183
|
onConfirmCallback: async () => {
|
|
184
|
-
await
|
|
184
|
+
await t.Post("system/dept", await a.value.validate()), s(), r.success("部门添加成功"), v.value.query();
|
|
185
185
|
},
|
|
186
186
|
width: 730
|
|
187
187
|
});
|
|
@@ -194,7 +194,7 @@ var v = /* @__PURE__ */ l({
|
|
|
194
194
|
popconfirm: {
|
|
195
195
|
content: "确认删除吗",
|
|
196
196
|
onConfirm: async () => {
|
|
197
|
-
await
|
|
197
|
+
await t.Delete(`system/dept/${e.deptId}`), s(), r("删除成功"), v.value.query();
|
|
198
198
|
}
|
|
199
199
|
},
|
|
200
200
|
show: e.parentId !== "0"
|
|
@@ -215,7 +215,7 @@ var v = /* @__PURE__ */ l({
|
|
|
215
215
|
onClick: () => {
|
|
216
216
|
let i = m(null);
|
|
217
217
|
e({
|
|
218
|
-
body: () => u(
|
|
218
|
+
body: () => u(n, {
|
|
219
219
|
data: p({ status: "0" }),
|
|
220
220
|
items: [
|
|
221
221
|
b.parentId,
|
|
@@ -230,7 +230,7 @@ var v = /* @__PURE__ */ l({
|
|
|
230
230
|
}),
|
|
231
231
|
header: "添加部门",
|
|
232
232
|
onConfirmCallback: async () => {
|
|
233
|
-
await
|
|
233
|
+
await t.Post("system/dept", await i.value.validate()), s(), r.success("部门添加成功"), v.value.query();
|
|
234
234
|
},
|
|
235
235
|
width: 730
|
|
236
236
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { S as e } from "../../../chunks/provider-DQIMA4mE.mjs";
|
|
2
2
|
import { flatArrToTree as t } from "../../../utils/tree.mjs";
|
|
3
3
|
import "../../../utils/index.mjs";
|
|
4
4
|
import { useRequest as n } from "alova/client";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { F as e,
|
|
1
|
+
import { F as e, I as t, S as n, o as r } from "../../../chunks/provider-DQIMA4mE.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-BnGVTcad.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-CcohOVfN.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) => n.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: (e, { row: n }) => ({
|
|
71
71
|
component: "TypographyTextLink",
|
|
72
72
|
link: { onClick: () => {
|
|
73
|
-
|
|
73
|
+
t({
|
|
74
74
|
body: () => l(o, { dictType: n.dictType }),
|
|
75
75
|
footer: !1,
|
|
76
76
|
header: `字典类型: ${n.dictName}(${n.dictType})`,
|
|
@@ -103,14 +103,14 @@ var _ = /* @__PURE__ */ c({
|
|
|
103
103
|
},
|
|
104
104
|
{
|
|
105
105
|
cell: {
|
|
106
|
-
buttons: [({ row:
|
|
106
|
+
buttons: [({ row: t }) => ({
|
|
107
107
|
default: "编辑",
|
|
108
108
|
onClick: () => {
|
|
109
109
|
let a = p(null);
|
|
110
110
|
g(a, () => {
|
|
111
|
-
a.value.setFormData(
|
|
112
|
-
}, { once: !0 }),
|
|
113
|
-
body: () => l(
|
|
111
|
+
a.value.setFormData(t);
|
|
112
|
+
}, { once: !0 }), e({
|
|
113
|
+
body: () => l(r, {
|
|
114
114
|
items: [
|
|
115
115
|
v.dictName,
|
|
116
116
|
v.dictType,
|
|
@@ -126,9 +126,9 @@ var _ = /* @__PURE__ */ c({
|
|
|
126
126
|
}),
|
|
127
127
|
header: "修改字典类型",
|
|
128
128
|
onConfirmCallback: async () => {
|
|
129
|
-
await
|
|
129
|
+
await n.Put("system/dict/type", {
|
|
130
130
|
...await a.value.validate(),
|
|
131
|
-
dictId:
|
|
131
|
+
dictId: t.dictId
|
|
132
132
|
}), i.success("字典类型修改成功"), _.value.query();
|
|
133
133
|
},
|
|
134
134
|
width: 430
|
|
@@ -151,9 +151,9 @@ var _ = /* @__PURE__ */ c({
|
|
|
151
151
|
operations: [{
|
|
152
152
|
default: "新增",
|
|
153
153
|
onClick: () => {
|
|
154
|
-
let
|
|
155
|
-
|
|
156
|
-
body: () => l(
|
|
154
|
+
let t = p(null);
|
|
155
|
+
e({
|
|
156
|
+
body: () => l(r, {
|
|
157
157
|
data: f({ status: "0" }),
|
|
158
158
|
items: [
|
|
159
159
|
v.dictName,
|
|
@@ -166,11 +166,11 @@ var _ = /* @__PURE__ */ c({
|
|
|
166
166
|
],
|
|
167
167
|
labelAlign: "right",
|
|
168
168
|
layout: "vertical",
|
|
169
|
-
ref:
|
|
169
|
+
ref: t
|
|
170
170
|
}),
|
|
171
171
|
header: "添加字典类型",
|
|
172
172
|
onConfirmCallback: async () => {
|
|
173
|
-
await
|
|
173
|
+
await n.Post("system/dict/type", await t.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 n.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-CcohOVfN.mjs";
|
|
2
2
|
export { e as default };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as i } from "../../../chunks/icon-
|
|
1
|
+
import { F as e, S as t, n, o as r } from "../../../chunks/provider-DQIMA4mE.mjs";
|
|
2
|
+
import { t as i } from "../../../chunks/icon-jnCbW4iu.mjs";
|
|
3
3
|
import "../../../components/icon/index.mjs";
|
|
4
4
|
import a from "../../../plugins/autoImport/$msg/index.mjs";
|
|
5
5
|
import { isFalsy as o } from "../../../utils/boolean.mjs";
|
|
6
6
|
import { flatArrToTree as s } from "../../../utils/tree.mjs";
|
|
7
7
|
import "../../../utils/index.mjs";
|
|
8
|
-
import { t as c } from "../../../chunks/page-list-
|
|
8
|
+
import { t as c } from "../../../chunks/page-list-BnGVTcad.mjs";
|
|
9
9
|
import "../../../components/page-list/index.mjs";
|
|
10
10
|
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";
|
|
11
11
|
import { useRequest as y } from "alova/client";
|
|
@@ -14,7 +14,7 @@ import { useRequest as y } from "alova/client";
|
|
|
14
14
|
var b = /* @__PURE__ */ u({
|
|
15
15
|
__name: "index",
|
|
16
16
|
setup(u) {
|
|
17
|
-
let { data: b, send: x } = y(
|
|
17
|
+
let { data: b, send: x } = y(t.Get("system/menu/list", { transform: (e) => s(e.map((e) => ({
|
|
18
18
|
...e,
|
|
19
19
|
label: e.menuName,
|
|
20
20
|
value: e.menuId
|
|
@@ -162,7 +162,7 @@ var b = /* @__PURE__ */ u({
|
|
|
162
162
|
method: "system/menu",
|
|
163
163
|
permission: "system:menu:remove"
|
|
164
164
|
},
|
|
165
|
-
list: { method: (e) =>
|
|
165
|
+
list: { method: (e) => t.Get("system/menu/list", {
|
|
166
166
|
params: {
|
|
167
167
|
...e,
|
|
168
168
|
pageNum: void 0,
|
|
@@ -248,7 +248,7 @@ var b = /* @__PURE__ */ u({
|
|
|
248
248
|
parentId: n.parentId === "0" ? "" : n.parentId
|
|
249
249
|
}, { numberToStringKeys: ["isFrame"] });
|
|
250
250
|
}, { once: !0 }), e({
|
|
251
|
-
body: () => d(
|
|
251
|
+
body: () => d(r, {
|
|
252
252
|
data: m({
|
|
253
253
|
isCache: "0",
|
|
254
254
|
isFrame: "1",
|
|
@@ -283,7 +283,7 @@ var b = /* @__PURE__ */ u({
|
|
|
283
283
|
"isFrame"
|
|
284
284
|
].forEach((t) => {
|
|
285
285
|
t in e || (e[t] = "");
|
|
286
|
-
}), T(e), await
|
|
286
|
+
}), T(e), await t.Put("system/menu", {
|
|
287
287
|
...e,
|
|
288
288
|
menuId: n.menuId,
|
|
289
289
|
parentId: o(e.parentId) ? "0" : e.parentId
|
|
@@ -298,7 +298,7 @@ var b = /* @__PURE__ */ u({
|
|
|
298
298
|
onClick: () => {
|
|
299
299
|
let i = h(null);
|
|
300
300
|
e({
|
|
301
|
-
body: () => d(
|
|
301
|
+
body: () => d(r, {
|
|
302
302
|
data: m({
|
|
303
303
|
isCache: "0",
|
|
304
304
|
isFrame: "1",
|
|
@@ -329,7 +329,7 @@ var b = /* @__PURE__ */ u({
|
|
|
329
329
|
header: "新增菜单",
|
|
330
330
|
onConfirmCallback: async () => {
|
|
331
331
|
let e = await i.value.validate();
|
|
332
|
-
T(e), await
|
|
332
|
+
T(e), await t.Post("system/menu", e), x(), a.success("菜单修改成功"), S.value.query();
|
|
333
333
|
},
|
|
334
334
|
width: 730
|
|
335
335
|
});
|
|
@@ -351,7 +351,7 @@ var b = /* @__PURE__ */ u({
|
|
|
351
351
|
onClick: () => {
|
|
352
352
|
let n = h(null);
|
|
353
353
|
e({
|
|
354
|
-
body: () => d(
|
|
354
|
+
body: () => d(r, {
|
|
355
355
|
data: m({
|
|
356
356
|
isCache: "0",
|
|
357
357
|
isFrame: "1",
|
|
@@ -378,7 +378,7 @@ var b = /* @__PURE__ */ u({
|
|
|
378
378
|
header: "添加菜单",
|
|
379
379
|
onConfirmCallback: async () => {
|
|
380
380
|
let e = await n.value.validate();
|
|
381
|
-
T(e), await
|
|
381
|
+
T(e), await t.Post("system/menu", {
|
|
382
382
|
...e,
|
|
383
383
|
parentId: o(e.parentId) ? "0" : e.parentId
|
|
384
384
|
}), x(), a.success("菜单添加成功"), S.value.query();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { F as e, S as t, o as n } from "../../../chunks/provider-DQIMA4mE.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-BnGVTcad.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
|
|
@@ -102,7 +102,7 @@ var h = /* @__PURE__ */ o({
|
|
|
102
102
|
m(a, () => {
|
|
103
103
|
a.value.setFormData(i);
|
|
104
104
|
}, { once: !0 }), e({
|
|
105
|
-
body: () => s(
|
|
105
|
+
body: () => s(n, {
|
|
106
106
|
items: [
|
|
107
107
|
g.postCode,
|
|
108
108
|
g.postName,
|
|
@@ -119,7 +119,7 @@ var h = /* @__PURE__ */ o({
|
|
|
119
119
|
}),
|
|
120
120
|
header: "修改岗位",
|
|
121
121
|
onConfirmCallback: async () => {
|
|
122
|
-
await
|
|
122
|
+
await t.Put("system/post", {
|
|
123
123
|
...await a.value.validate(),
|
|
124
124
|
postId: i.postId
|
|
125
125
|
}), r.success("岗位修改成功"), h.value.query();
|
|
@@ -145,7 +145,7 @@ var h = /* @__PURE__ */ o({
|
|
|
145
145
|
onClick: () => {
|
|
146
146
|
let i = d(null);
|
|
147
147
|
e({
|
|
148
|
-
body: () => s(
|
|
148
|
+
body: () => s(n, {
|
|
149
149
|
data: u({ status: "0" }),
|
|
150
150
|
items: [
|
|
151
151
|
g.postCode,
|
|
@@ -163,7 +163,7 @@ var h = /* @__PURE__ */ o({
|
|
|
163
163
|
}),
|
|
164
164
|
header: "添加岗位",
|
|
165
165
|
onConfirmCallback: async () => {
|
|
166
|
-
await
|
|
166
|
+
await t.Post("system/post", await i.value.validate()), r.success("岗位添加成功"), h.value.query();
|
|
167
167
|
},
|
|
168
168
|
width: 430
|
|
169
169
|
});
|