dlzn-ui 2.0.42 → 2.0.44
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/Picker-BMwN00tM.css +1 -0
- package/assets/css-Ctf0Amkf.css +1 -0
- package/chunks/{AssignUser-CI1hv7zm.mjs → AssignUser-ag8Zz6lZ.mjs} +3 -3
- package/chunks/{Common-BiNl0t80.mjs → Common-BVhvn8ey.mjs} +2 -2
- package/chunks/{Day-iiU2bfSn.mjs → Day-Bsqlho18.mjs} +2 -2
- package/chunks/{DictTypeDetail-SpKe9j4h.mjs → DictTypeDetail-CGtRLsz1.mjs} +2 -2
- package/chunks/{Hour-CUOdal3S.mjs → Hour-CZxgu-gr.mjs} +1 -1
- package/chunks/{Index-bEWcnIHJ.mjs → Index-B0jtPG4z.mjs} +1 -1
- package/chunks/{Index-Cu2Ud84o.mjs → Index-B5dltuvs.mjs} +1 -1
- package/chunks/{Index-Bvu1c8Oy.mjs → Index-BFyst9Rj.mjs} +1 -1
- package/chunks/{Index-B-IRDS1Z.mjs → Index-BPfxS1Ur.mjs} +1 -1
- package/chunks/{Index-BwWS0oPl.mjs → Index-BVighfGs.mjs} +5 -3
- package/chunks/{Index-BMg2Bxvj.mjs → Index-BZloUL93.mjs} +1 -1
- package/chunks/{Index-AH0WCRJO.mjs → Index-CoNNokMv.mjs} +8 -8
- package/chunks/{Index-BChP9CTL.mjs → Index-DOMlymIc.mjs} +1 -1
- package/chunks/{Index-Bye0GY_j.mjs → Index-DlS664Iz.mjs} +1 -1
- package/chunks/{Index-CgJ94bEi.mjs → Index-DvWanFOZ.mjs} +1 -1
- package/chunks/{Index-BDidP0_Z.mjs → Index-R7H-nvMs.mjs} +1 -1
- package/chunks/{IndexItem-D_ZeRKlH.mjs → IndexItem-sPXuxTUs.mjs} +16 -16
- package/chunks/{Log-B72TP2Kr.mjs → Log-Br8Cnim8.mjs} +2 -2
- package/chunks/{LoginBg-HtZ8Lyev.mjs → LoginBg-BW263459.mjs} +1 -1
- package/chunks/{Minute-BLIvzH46.mjs → Minute-CQuKQcXO.mjs} +1 -1
- package/chunks/{Month-DzGi1B-x.mjs → Month-5cx6suVd.mjs} +1 -1
- package/chunks/{Second-DwM7HaZz.mjs → Second-DA6oyNKU.mjs} +1 -1
- package/chunks/{SelectDept-_EyrHhI9.mjs → SelectDept-CQRWjQ8n.mjs} +2 -2
- package/chunks/{SelectMenu-BGTtgamJ.mjs → SelectMenu-BNj0Lni8.mjs} +2 -2
- package/chunks/{SelectUser-DLapii8R.mjs → SelectUser-C6hO7rb-.mjs} +2 -2
- package/chunks/{UserInfo-CfJFU4J9.mjs → UserInfo-CAUjgfdS.mjs} +1 -1
- package/chunks/Wrapper-Boiyneqd.mjs +42 -0
- package/chunks/{app-BujKzbGI.mjs → app-BPNk1ofJ.mjs} +1 -1
- package/chunks/{custom-page-list-DjIGvqzk.mjs → custom-page-list-BHR3DhVT.mjs} +4 -4
- package/chunks/{custom-page-table-wy-8H6kG.mjs → custom-page-table-BxrEvdku.mjs} +2 -2
- package/chunks/{date-picker-D15OhWnK.mjs → date-picker-D-MGwALF.mjs} +2 -2
- package/chunks/{input-number-q9JM7-Uo.mjs → input-number-7Y1iWPPV.mjs} +12 -12
- package/chunks/{overview-CTQGBB2-.mjs → overview-DT-7oasE.mjs} +1 -1
- package/chunks/{page-list-DkOcgqMW.mjs → page-list-vyKjJFLU.mjs} +3 -3
- package/chunks/{page-query-CHFRZRhi.mjs → page-query-CPBOBzEz.mjs} +1 -1
- package/chunks/{page-table-C4tKerQw.mjs → page-table-IaiiKrWo.mjs} +4 -4
- package/chunks/{pagination-BxkLAF3U.mjs → pagination-u4S0HaQV.mjs} +1 -1
- package/chunks/{provider-DF-mIyi1.mjs → provider-DgBBnNgY.mjs} +499 -507
- package/chunks/{range-input-CkZteidJ.mjs → range-input-PIfE-AxB.mjs} +1 -1
- package/chunks/{scrollbar-CI1mysNQ.mjs → scrollbar-CoERe4kE.mjs} +1 -1
- package/chunks/{table-DfTSS9S4.mjs → table-DMUIy_b9.mjs} +15 -15
- package/chunks/utils-ag05P503.mjs +9 -0
- 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 +73 -55
- 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/index.mjs +13 -13
- package/components/input-number/index.mjs +1 -1
- package/components/input-number/src/input-number.mjs +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/overview.mjs +1 -1
- package/components/page-list/index.mjs +1 -1
- package/components/page-list/src/page-list.d.ts +5 -5
- 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/range-input/index.mjs +1 -1
- package/components/range-input/src/range-input.mjs +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-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.d.ts +4 -4
- package/components/tree/src/tree.mjs +1 -1
- package/components/tree/src/tree.vue.d.ts +1 -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.d.ts +5 -0
- package/hooks/useLabel/index.mjs +17 -0
- package/hooks/useList/index.d.ts +1 -1
- package/hooks/useList/index.mjs +20 -30
- 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 +3 -3
- package/layout/profile/ResetPwd.mjs +1 -1
- package/layout/profile/UserInfo.mjs +1 -1
- package/main.mjs +2 -2
- package/package.json +2 -2
- 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 +2 -2
- 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/Wrapper.vue.d.ts +1 -3
- 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/InputNumber/Index.mjs +1 -1
- package/plugins/tableRenders/cell/Select/Index.mjs +1 -1
- package/plugins/tableRenders/cell/index.mjs +11 -11
- package/plugins/tableRenders/title/index.mjs +1 -1
- package/proj-template/.vscode/settings.json +1 -0
- 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/dom.d.ts +1 -0
- package/utils/dom.mjs +7 -0
- package/utils/gather.d.ts +7 -0
- package/utils/gather.mjs +2 -0
- package/utils/index.d.ts +2 -0
- package/utils/index.mjs +7 -5
- 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 -3
- package/views/system/config/index.mjs +2 -2
- package/views/system/dept/index.mjs +17 -17
- package/views/system/dept/utils.mjs +2 -2
- package/views/system/dict/index.mjs +3 -3
- package/views/system/dict/modules/DictTypeDetail.mjs +1 -1
- package/views/system/menu/index.mjs +15 -15
- package/views/system/notice/index.mjs +2 -2
- package/views/system/post/index.mjs +2 -2
- package/views/system/role/index.mjs +5 -5
- 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 +23 -23
- package/views/tool/job/index.mjs +3 -3
- package/views/tool/job/modules/Log.mjs +1 -1
- package/assets/Picker-CBqZNv2a.css +0 -1
- package/assets/css-BPkXehJY.css +0 -1
- package/chunks/Wrapper-C6BtJDSa.mjs +0 -47
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../../../chunks/Index-
|
|
1
|
+
import { t as e } from "../../../../chunks/Index-DvWanFOZ.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-B5dltuvs.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-BZloUL93.mjs";
|
|
2
2
|
export { e as default };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import { n as e } from "../../../chunks/useAppContext-D47amIp5.mjs";
|
|
2
|
-
import { t } from "../../../chunks/Index-
|
|
3
|
-
import { t as n } from "../../../chunks/Index-
|
|
2
|
+
import { t } from "../../../chunks/Index-DOMlymIc.mjs";
|
|
3
|
+
import { t as n } from "../../../chunks/Index-BFyst9Rj.mjs";
|
|
4
4
|
import { t as r } from "../../../chunks/Index-But4jrnW.mjs";
|
|
5
5
|
import { t as i } from "../../../chunks/Index-BuqrJDKe.mjs";
|
|
6
|
-
import { t as a } from "../../../chunks/Index-
|
|
7
|
-
import { t as o } from "../../../chunks/Index-
|
|
8
|
-
import { t as s } from "../../../chunks/Index-
|
|
9
|
-
import { t as c } from "../../../chunks/Index-
|
|
10
|
-
import { t as l } from "../../../chunks/Index-
|
|
11
|
-
import { t as u } from "../../../chunks/Index-
|
|
6
|
+
import { t as a } from "../../../chunks/Index-BPfxS1Ur.mjs";
|
|
7
|
+
import { t as o } from "../../../chunks/Index-DlS664Iz.mjs";
|
|
8
|
+
import { t as s } from "../../../chunks/Index-BVighfGs.mjs";
|
|
9
|
+
import { t as c } from "../../../chunks/Index-B0jtPG4z.mjs";
|
|
10
|
+
import { t as l } from "../../../chunks/Index-CoNNokMv.mjs";
|
|
11
|
+
import { t as u } from "../../../chunks/Index-DvWanFOZ.mjs";
|
|
12
12
|
import { t as d } from "../../../chunks/Index-B-O5KGpr.mjs";
|
|
13
|
-
import { t as f } from "../../../chunks/Index-
|
|
13
|
+
import { t as f } from "../../../chunks/Index-B5dltuvs.mjs";
|
|
14
14
|
import { t as p } from "../../../chunks/Index-DBQnzqsw.mjs";
|
|
15
15
|
import { t as m } from "../../../chunks/Index-D6pUjcEN.mjs";
|
|
16
|
-
import { t as h } from "../../../chunks/Index-
|
|
16
|
+
import { t as h } from "../../../chunks/Index-BZloUL93.mjs";
|
|
17
17
|
import { t as g } from "../../../chunks/Index-BOv4n_q9.mjs";
|
|
18
18
|
import { t as _ } from "../../../chunks/Index-vcnN6L-y.mjs";
|
|
19
19
|
import { t as v } from "../../../chunks/Index-CZnP6jHo.mjs";
|
|
20
20
|
import { t as y } from "../../../chunks/Index-CT0eb17V.mjs";
|
|
21
|
-
import { t as b } from "../../../chunks/Wrapper-
|
|
21
|
+
import { t as b } from "../../../chunks/Wrapper-Boiyneqd.mjs";
|
|
22
22
|
//#region ../../packages/dlzn-ui/plugins/tableRenders/cell/index.ts
|
|
23
23
|
var x = /* #__PURE__ */ Object.assign({
|
|
24
24
|
"./Avatar/Index.vue": t,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "../../../chunks/Wrapper-
|
|
1
|
+
import { t as e } from "../../../chunks/Wrapper-Boiyneqd.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 { 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-DgBBnNgY.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 { H as e } from "../../chunks/provider-
|
|
1
|
+
import { H as e } from "../../chunks/provider-DgBBnNgY.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-DgBBnNgY.mjs";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { V as e } from "../../chunks/provider-
|
|
1
|
+
import { V as e } from "../../chunks/provider-DgBBnNgY.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/provider-
|
|
1
|
+
import { B as e, z as t } from "../../chunks/provider-DgBBnNgY.mjs";
|
|
2
2
|
export { e as default, t 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-DgBBnNgY.mjs";
|
|
2
2
|
export { e as default, t as getUserInfoMethod };
|
package/utils/dom.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function getDomRangeWidth(dom: HTMLElement): number;
|
package/utils/dom.mjs
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export interface Gather {
|
|
2
|
+
[key: string]: any;
|
|
3
|
+
label: string;
|
|
4
|
+
value: PettyPrimitive;
|
|
5
|
+
}
|
|
6
|
+
export declare function findLabel(gather: Gather[], value: PettyPrimitive): string;
|
|
7
|
+
export declare function findLabel(gather: Gather[], value: Array<PettyPrimitive>): string[];
|
package/utils/gather.mjs
ADDED
package/utils/index.d.ts
CHANGED
package/utils/index.mjs
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { isFalsy as e, isValidNumberString as t } from "./boolean.mjs";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
|
|
2
|
+
import { getDomRangeWidth as n } from "./dom.mjs";
|
|
3
|
+
import { t as r } from "../chunks/utils-ag05P503.mjs";
|
|
4
|
+
import { formatNumber as i, formatSecondsToChinese as a } from "./number.mjs";
|
|
5
|
+
import { getFilenameFromUrl as o, queryStringToObject as s, stringDisplay as c } from "./string.mjs";
|
|
6
|
+
import { aesDecrypt as l, aesEncrypt as u, saveAs as d } from "./tool.mjs";
|
|
7
|
+
import { flatArrToTree as f, treeToFlatArr as p } from "./tree.mjs";
|
|
8
|
+
export { l as aesDecrypt, u as aesEncrypt, r as findLabel, f 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 saveAs, c as stringDisplay, p as treeToFlatArr };
|
|
@@ -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-DgBBnNgY.mjs";
|
|
2
|
+
import { t } from "../../../chunks/page-list-vyKjJFLU.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-DgBBnNgY.mjs";
|
|
2
|
+
import { t } from "../../../chunks/page-list-vyKjJFLU.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 { I as e, S as t, o as n } from "../../../chunks/provider-
|
|
2
|
-
import { t as r } from "../../../chunks/page-list-
|
|
1
|
+
import { I as e, S as t, o as n } from "../../../chunks/provider-DgBBnNgY.mjs";
|
|
2
|
+
import { t as r } from "../../../chunks/page-list-vyKjJFLU.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-DgBBnNgY.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-DMUIy_b9.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";
|
|
@@ -54,7 +54,6 @@ var d = { class: "grid grid-cols-3 gap-4" }, f = /* @__PURE__ */ o({
|
|
|
54
54
|
title: "已用大小"
|
|
55
55
|
},
|
|
56
56
|
{
|
|
57
|
-
align: "right",
|
|
58
57
|
cell: {
|
|
59
58
|
component: "FormatNumber",
|
|
60
59
|
config: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { F as e, S as t, o as n } from "../../../chunks/provider-
|
|
1
|
+
import { F as e, S as t, o as n } from "../../../chunks/provider-DgBBnNgY.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-vyKjJFLU.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
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { F as e, S as t, o as n } from "../../../chunks/provider-
|
|
2
|
-
import
|
|
3
|
-
import { flatArrToTree as
|
|
4
|
-
import "../../../
|
|
5
|
-
import { t as a } from "../../../chunks/page-list-
|
|
1
|
+
import { F as e, S as t, o as n } from "../../../chunks/provider-DgBBnNgY.mjs";
|
|
2
|
+
import "../../../chunks/utils-ag05P503.mjs";
|
|
3
|
+
import { flatArrToTree as r } from "../../../utils/tree.mjs";
|
|
4
|
+
import i from "../../../plugins/autoImport/$msg/index.mjs";
|
|
5
|
+
import { t as a } from "../../../chunks/page-list-vyKjJFLU.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";
|
|
@@ -71,7 +71,7 @@ var v = /* @__PURE__ */ l({
|
|
|
71
71
|
pageSize: void 0
|
|
72
72
|
},
|
|
73
73
|
transform: (e) => {
|
|
74
|
-
let t =
|
|
74
|
+
let t = r(e, { idKey: "deptId" }), n = (e) => {
|
|
75
75
|
e.forEach((e) => {
|
|
76
76
|
(e.children ?? []).length > 0 && (y.value.push(e.deptId), n(e.children));
|
|
77
77
|
});
|
|
@@ -123,12 +123,12 @@ var v = /* @__PURE__ */ l({
|
|
|
123
123
|
{
|
|
124
124
|
cell: {
|
|
125
125
|
buttons: [
|
|
126
|
-
({ row:
|
|
126
|
+
({ row: r }) => ({
|
|
127
127
|
default: "编辑",
|
|
128
128
|
onClick: () => {
|
|
129
129
|
let a = m(null);
|
|
130
130
|
_(a, () => {
|
|
131
|
-
a.value.setFormData(
|
|
131
|
+
a.value.setFormData(r);
|
|
132
132
|
}, { once: !0 }), e({
|
|
133
133
|
body: () => u(n, {
|
|
134
134
|
items: [
|
|
@@ -147,22 +147,22 @@ var v = /* @__PURE__ */ l({
|
|
|
147
147
|
let e = await a.value.validate();
|
|
148
148
|
await t.Put("system/dept", {
|
|
149
149
|
...e,
|
|
150
|
-
deptId:
|
|
151
|
-
}), s(),
|
|
150
|
+
deptId: r.deptId
|
|
151
|
+
}), s(), i.success("部门修改成功"), v.value.query();
|
|
152
152
|
},
|
|
153
153
|
width: 730
|
|
154
154
|
});
|
|
155
155
|
},
|
|
156
156
|
permission: "system:dept:edit"
|
|
157
157
|
}),
|
|
158
|
-
({ row:
|
|
158
|
+
({ row: r }) => ({
|
|
159
159
|
default: "新增",
|
|
160
160
|
onClick: () => {
|
|
161
161
|
let a = m(null);
|
|
162
162
|
e({
|
|
163
163
|
body: () => u(n, {
|
|
164
164
|
data: p({
|
|
165
|
-
parentId:
|
|
165
|
+
parentId: r.deptId,
|
|
166
166
|
status: "0"
|
|
167
167
|
}),
|
|
168
168
|
items: [
|
|
@@ -181,7 +181,7 @@ var v = /* @__PURE__ */ l({
|
|
|
181
181
|
}),
|
|
182
182
|
header: "新增部门",
|
|
183
183
|
onConfirmCallback: async () => {
|
|
184
|
-
await t.Post("system/dept", await a.value.validate()), s(),
|
|
184
|
+
await t.Post("system/dept", await a.value.validate()), s(), i.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 t.Delete(`system/dept/${e.deptId}`), s(),
|
|
197
|
+
await t.Delete(`system/dept/${e.deptId}`), s(), i("删除成功"), v.value.query();
|
|
198
198
|
}
|
|
199
199
|
},
|
|
200
200
|
show: e.parentId !== "0"
|
|
@@ -213,7 +213,7 @@ var v = /* @__PURE__ */ l({
|
|
|
213
213
|
operations: [{
|
|
214
214
|
default: "新增",
|
|
215
215
|
onClick: () => {
|
|
216
|
-
let
|
|
216
|
+
let r = m(null);
|
|
217
217
|
e({
|
|
218
218
|
body: () => u(n, {
|
|
219
219
|
data: p({ status: "0" }),
|
|
@@ -226,11 +226,11 @@ var v = /* @__PURE__ */ l({
|
|
|
226
226
|
b.email,
|
|
227
227
|
b.status
|
|
228
228
|
],
|
|
229
|
-
ref:
|
|
229
|
+
ref: r
|
|
230
230
|
}),
|
|
231
231
|
header: "添加部门",
|
|
232
232
|
onConfirmCallback: async () => {
|
|
233
|
-
await t.Post("system/dept", await
|
|
233
|
+
await t.Post("system/dept", await r.value.validate()), s(), i.success("部门添加成功"), v.value.query();
|
|
234
234
|
},
|
|
235
235
|
width: 730
|
|
236
236
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { S as e } from "../../../chunks/provider-
|
|
1
|
+
import { S as e } from "../../../chunks/provider-DgBBnNgY.mjs";
|
|
2
|
+
import "../../../chunks/utils-ag05P503.mjs";
|
|
2
3
|
import { flatArrToTree as t } from "../../../utils/tree.mjs";
|
|
3
|
-
import "../../../utils/index.mjs";
|
|
4
4
|
import { useRequest as n } from "alova/client";
|
|
5
5
|
//#region ../../packages/dlzn-ui/views/system/dept/utils.ts
|
|
6
6
|
var { data: r, send: i } = n(e.Get("system/dept/list", { transform: (e) => t(e.map((e) => ({
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { F as e, I as t, S as n, o as r } from "../../../chunks/provider-
|
|
1
|
+
import { F as e, I as t, S as n, o as r } from "../../../chunks/provider-DgBBnNgY.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-vyKjJFLU.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-CGtRLsz1.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
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../../../chunks/DictTypeDetail-
|
|
1
|
+
import { t as e } from "../../../../chunks/DictTypeDetail-CGtRLsz1.mjs";
|
|
2
2
|
export { e as default };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { F as e, S as t, n, o as r } from "../../../chunks/provider-
|
|
1
|
+
import { F as e, S as t, n, o as r } from "../../../chunks/provider-DgBBnNgY.mjs";
|
|
2
2
|
import { t as i } from "../../../chunks/icon-COjp1yrx.mjs";
|
|
3
3
|
import "../../../components/icon/index.mjs";
|
|
4
|
-
import a from "../../../
|
|
5
|
-
import
|
|
6
|
-
import { flatArrToTree as
|
|
7
|
-
import "../../../
|
|
8
|
-
import { t as c } from "../../../chunks/page-list-
|
|
4
|
+
import { isFalsy as a } from "../../../utils/boolean.mjs";
|
|
5
|
+
import "../../../chunks/utils-ag05P503.mjs";
|
|
6
|
+
import { flatArrToTree as o } from "../../../utils/tree.mjs";
|
|
7
|
+
import s from "../../../plugins/autoImport/$msg/index.mjs";
|
|
8
|
+
import { t as c } from "../../../chunks/page-list-vyKjJFLU.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(t.Get("system/menu/list", { transform: (e) =>
|
|
17
|
+
let { data: b, send: x } = y(t.Get("system/menu/list", { transform: (e) => o(e.map((e) => ({
|
|
18
18
|
...e,
|
|
19
19
|
label: e.menuName,
|
|
20
20
|
value: e.menuId
|
|
@@ -44,7 +44,7 @@ var b = /* @__PURE__ */ u({
|
|
|
44
44
|
icon: e.icon
|
|
45
45
|
})
|
|
46
46
|
},
|
|
47
|
-
show: e.menuType !== "F" &&
|
|
47
|
+
show: e.menuType !== "F" && a(e.parentId)
|
|
48
48
|
}),
|
|
49
49
|
_label: "菜单图标",
|
|
50
50
|
_required: !0,
|
|
@@ -150,7 +150,7 @@ var b = /* @__PURE__ */ u({
|
|
|
150
150
|
}
|
|
151
151
|
};
|
|
152
152
|
function T(e) {
|
|
153
|
-
if (
|
|
153
|
+
if (a(e.component)) return;
|
|
154
154
|
let t = e.component.split("___");
|
|
155
155
|
e.component = e.isFrame === "0" ? `${t[0]}___0` : t[0];
|
|
156
156
|
}
|
|
@@ -170,7 +170,7 @@ var b = /* @__PURE__ */ u({
|
|
|
170
170
|
pageSize: void 0
|
|
171
171
|
},
|
|
172
172
|
transform: (e) => ({
|
|
173
|
-
rows:
|
|
173
|
+
rows: o(e, { idKey: "menuId" }),
|
|
174
174
|
total: 0
|
|
175
175
|
})
|
|
176
176
|
}) }
|
|
@@ -287,8 +287,8 @@ var b = /* @__PURE__ */ u({
|
|
|
287
287
|
}), T(e), await t.Put("system/menu", {
|
|
288
288
|
...e,
|
|
289
289
|
menuId: n.menuId,
|
|
290
|
-
parentId:
|
|
291
|
-
}), x(),
|
|
290
|
+
parentId: a(e.parentId) ? "0" : e.parentId
|
|
291
|
+
}), x(), s.success("菜单修改成功"), S.value.query();
|
|
292
292
|
},
|
|
293
293
|
width: 730
|
|
294
294
|
});
|
|
@@ -330,7 +330,7 @@ var b = /* @__PURE__ */ u({
|
|
|
330
330
|
header: "新增菜单",
|
|
331
331
|
onConfirmCallback: async () => {
|
|
332
332
|
let e = await i.value.validate();
|
|
333
|
-
T(e), await t.Post("system/menu", e), x(),
|
|
333
|
+
T(e), await t.Post("system/menu", e), x(), s.success("菜单修改成功"), S.value.query();
|
|
334
334
|
},
|
|
335
335
|
width: 730
|
|
336
336
|
});
|
|
@@ -381,8 +381,8 @@ var b = /* @__PURE__ */ u({
|
|
|
381
381
|
let e = await n.value.validate();
|
|
382
382
|
T(e), await t.Post("system/menu", {
|
|
383
383
|
...e,
|
|
384
|
-
parentId:
|
|
385
|
-
}), x(),
|
|
384
|
+
parentId: a(e.parentId) ? "0" : e.parentId
|
|
385
|
+
}), x(), s.success("菜单添加成功"), S.value.query();
|
|
386
386
|
},
|
|
387
387
|
width: 730
|
|
388
388
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { F as e, S as t, o as n } from "../../../chunks/provider-
|
|
1
|
+
import { F as e, S as t, o as n } from "../../../chunks/provider-DgBBnNgY.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-vyKjJFLU.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
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { F as e, S as t, o as n } from "../../../chunks/provider-
|
|
1
|
+
import { F as e, S as t, o as n } from "../../../chunks/provider-DgBBnNgY.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-vyKjJFLU.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
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { F as e, I as t, S as n, o as r } from "../../../chunks/provider-
|
|
1
|
+
import { F as e, I as t, S as n, o as r } from "../../../chunks/provider-DgBBnNgY.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-vyKjJFLU.mjs";
|
|
4
4
|
import "../../../components/page-list/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-ag8Zz6lZ.mjs";
|
|
6
|
+
import { t as s } from "../../../chunks/SelectDept-CQRWjQ8n.mjs";
|
|
7
|
+
import { t as c } from "../../../chunks/SelectMenu-BNj0Lni8.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
|
//#endregion
|
|
10
10
|
//#region ../../packages/dlzn-ui/views/system/role/index.vue
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../../../chunks/AssignUser-
|
|
1
|
+
import { t as e } from "../../../../chunks/AssignUser-ag8Zz6lZ.mjs";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../../../chunks/SelectDept-
|
|
1
|
+
import { t as e } from "../../../../chunks/SelectDept-CQRWjQ8n.mjs";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../../../chunks/SelectMenu-
|
|
1
|
+
import { t as e } from "../../../../chunks/SelectMenu-BNj0Lni8.mjs";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../../../chunks/SelectUser-
|
|
1
|
+
import { t as e } from "../../../../chunks/SelectUser-C6hO7rb-.mjs";
|
|
2
2
|
export { e as default };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { F as e, N as t, S as n, o as r } from "../../../chunks/provider-
|
|
1
|
+
import { F as e, N as t, S as n, o as r } from "../../../chunks/provider-DgBBnNgY.mjs";
|
|
2
2
|
import { n as i } from "../../../chunks/useAppContext-D47amIp5.mjs";
|
|
3
|
-
import a from "../../../
|
|
4
|
-
import
|
|
5
|
-
import { t as c } from "../../../chunks/table-
|
|
3
|
+
import { passwordReg as a, passwordRegMessage as o } from "../../../constants/regs.mjs";
|
|
4
|
+
import s from "../../../plugins/autoImport/$msg/index.mjs";
|
|
5
|
+
import { t as c } from "../../../chunks/table-DMUIy_b9.mjs";
|
|
6
6
|
import "../../../components/table/index.mjs";
|
|
7
|
-
import { t as l } from "../../../chunks/page-list-
|
|
7
|
+
import { t as l } from "../../../chunks/page-list-vyKjJFLU.mjs";
|
|
8
8
|
import "../../../components/page-list/index.mjs";
|
|
9
9
|
import { deptTreeList as u, deptTreeListSend as d } from "../dept/utils.mjs";
|
|
10
10
|
import { createBlock as f, defineComponent as p, h as m, mergeProps as h, onActivated as g, openBlock as _, reactive as v, ref as y, unref as b, useTemplateRef as x, watch as S } from "vue";
|
|
@@ -48,8 +48,8 @@ var w = /* @__PURE__ */ p({
|
|
|
48
48
|
_label: "登录密码",
|
|
49
49
|
_required: !0,
|
|
50
50
|
_rules: [{
|
|
51
|
-
message:
|
|
52
|
-
pattern:
|
|
51
|
+
message: o,
|
|
52
|
+
pattern: a
|
|
53
53
|
}],
|
|
54
54
|
autocomplete: "new-password",
|
|
55
55
|
component: "TInput",
|
|
@@ -185,13 +185,13 @@ var w = /* @__PURE__ */ p({
|
|
|
185
185
|
({ row: i }) => ({
|
|
186
186
|
default: "编辑",
|
|
187
187
|
onClick: async () => {
|
|
188
|
-
let { data:
|
|
188
|
+
let { data: a, postIds: o, posts: c, roleIds: l, roles: u } = await T(i.userId), d = y(null);
|
|
189
189
|
S(d, () => {
|
|
190
|
-
d.value.setFormData(
|
|
190
|
+
d.value.setFormData(a, { splitToArrKeys: VITE_APP_ID === "1" ? ["userDeptIds"] : [] });
|
|
191
191
|
}, { once: !0 }), e({
|
|
192
192
|
body: () => m(r, {
|
|
193
193
|
data: v({
|
|
194
|
-
postIds:
|
|
194
|
+
postIds: o,
|
|
195
195
|
roleIds: l
|
|
196
196
|
}),
|
|
197
197
|
items: [
|
|
@@ -228,9 +228,9 @@ var w = /* @__PURE__ */ p({
|
|
|
228
228
|
await n.Put("system/user", {
|
|
229
229
|
...e,
|
|
230
230
|
...VITE_APP_ID === "1" ? { userDeptIds: e.userDeptIds.join(",") } : {},
|
|
231
|
-
userId:
|
|
232
|
-
userName:
|
|
233
|
-
}), t(
|
|
231
|
+
userId: a.userId,
|
|
232
|
+
userName: a.userName
|
|
233
|
+
}), t(a.userId), s.success("用户修改成功"), E.value.query();
|
|
234
234
|
},
|
|
235
235
|
width: 730
|
|
236
236
|
});
|
|
@@ -241,24 +241,24 @@ var w = /* @__PURE__ */ p({
|
|
|
241
241
|
({ row: t }) => ({
|
|
242
242
|
default: "重置密码",
|
|
243
243
|
onClick: async () => {
|
|
244
|
-
let
|
|
244
|
+
let s = y(null);
|
|
245
245
|
e({
|
|
246
246
|
body: () => m(r, {
|
|
247
247
|
items: [{
|
|
248
248
|
_required: !0,
|
|
249
249
|
_rules: [{
|
|
250
|
-
message:
|
|
251
|
-
pattern:
|
|
250
|
+
message: o,
|
|
251
|
+
pattern: a
|
|
252
252
|
}],
|
|
253
253
|
component: "TInput",
|
|
254
254
|
model: "newPassword",
|
|
255
255
|
type: "password"
|
|
256
256
|
}],
|
|
257
|
-
ref:
|
|
257
|
+
ref: s
|
|
258
258
|
}),
|
|
259
259
|
header: `请输入${t.userName}用户的新密码`,
|
|
260
260
|
onConfirmCallback: async () => {
|
|
261
|
-
let e = (await
|
|
261
|
+
let e = (await s.value.validate()).newPassword;
|
|
262
262
|
await n.Put("system/user/resetPwd", {
|
|
263
263
|
password: e,
|
|
264
264
|
userId: t.userId
|
|
@@ -326,7 +326,7 @@ var w = /* @__PURE__ */ p({
|
|
|
326
326
|
popconfirm: {
|
|
327
327
|
content: "确认删除吗",
|
|
328
328
|
onConfirm: async () => {
|
|
329
|
-
await n.Delete(`system/user/${e.userId}`),
|
|
329
|
+
await n.Delete(`system/user/${e.userId}`), s("删除成功"), E.value.query();
|
|
330
330
|
}
|
|
331
331
|
},
|
|
332
332
|
show: e.userId !== "1"
|
|
@@ -358,7 +358,7 @@ var w = /* @__PURE__ */ p({
|
|
|
358
358
|
operations: [{
|
|
359
359
|
default: "新增",
|
|
360
360
|
onClick: async () => {
|
|
361
|
-
let { posts: t, roles: i } = await T(""),
|
|
361
|
+
let { posts: t, roles: i } = await T(""), a = y(null);
|
|
362
362
|
e({
|
|
363
363
|
body: () => m(r, {
|
|
364
364
|
data: v({ status: "0" }),
|
|
@@ -390,15 +390,15 @@ var w = /* @__PURE__ */ p({
|
|
|
390
390
|
},
|
|
391
391
|
D.remark
|
|
392
392
|
],
|
|
393
|
-
ref:
|
|
393
|
+
ref: a
|
|
394
394
|
}),
|
|
395
395
|
header: "添加用户",
|
|
396
396
|
onConfirmCallback: async () => {
|
|
397
|
-
let e = await
|
|
397
|
+
let e = await a.value.validate();
|
|
398
398
|
await n.Post("system/user", {
|
|
399
399
|
...e,
|
|
400
400
|
...VITE_APP_ID === "1" ? { userDeptIds: e.userDeptIds.join(",") } : {}
|
|
401
|
-
}),
|
|
401
|
+
}), s.success("用户添加成功"), E.value.query();
|
|
402
402
|
},
|
|
403
403
|
width: 730
|
|
404
404
|
});
|
package/views/tool/job/index.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { F as e, I as t, S as n, o as r } from "../../../chunks/provider-
|
|
1
|
+
import { F as e, I as t, S as n, o as r } from "../../../chunks/provider-DgBBnNgY.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-vyKjJFLU.mjs";
|
|
4
4
|
import "../../../components/page-list/index.mjs";
|
|
5
|
-
import { t as o } from "../../../chunks/Log-
|
|
5
|
+
import { t as o } from "../../../chunks/Log-Br8Cnim8.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/tool/job/index.vue
|