dlzn-ui 2.0.94 → 2.0.96
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/provider-Bh_VYGit.css +2 -0
- package/assets/{css-CZQicoxs.css → scrollbar-To1tAaeV.css} +1 -1
- package/chunks/{AssignUser-CouSn8m6.mjs → AssignUser-yiWAIybZ.mjs} +14 -14
- package/chunks/{BasicInfo-BCeofxua.mjs → BasicInfo-E_xJIu8w.mjs} +1 -1
- package/chunks/{ColumnInfo-DIMFSHjI.mjs → ColumnInfo-B2A4GN-N.mjs} +2 -2
- package/chunks/{Common-CwFmdwb1.mjs → Common-CN3gpCis.mjs} +7 -8
- package/chunks/{Day-CYRyMdGp.mjs → Day-lqbg2T_2.mjs} +12 -13
- package/chunks/{DictTypeDetail-BuJzsRck.mjs → DictTypeDetail-DC5BEX_V.mjs} +10 -10
- package/chunks/{GenInfo-u2q3GHjT.mjs → GenInfo-_BMO8inv.mjs} +1 -1
- package/chunks/{Hour-BucXva0o.mjs → Hour-BFKxT6NE.mjs} +1 -1
- package/chunks/{Import-Cbpbw1lG.mjs → Import-BbDJsrem.mjs} +2 -2
- package/chunks/{Index-Bk88hnNn.mjs → Index--HKuaKg7.mjs} +1 -1
- package/chunks/{Index-C7ffC0FL.mjs → Index-BBrBETc5.mjs} +1 -1
- package/chunks/{Index-Bw-ARCfv.mjs → Index-BUZtj8UF.mjs} +1 -1
- package/chunks/{Index-BrimwFmb.mjs → Index-B_ESnEXB.mjs} +1 -1
- package/chunks/{Index-Cl3E8sdW.mjs → Index-Bh3fQu21.mjs} +1 -1
- package/chunks/{Index-D2ylEiec.mjs → Index-C-GwH8aI.mjs} +1 -1
- package/chunks/{Index-BZJQOM_U.mjs → Index-C2BOclFS.mjs} +2 -2
- package/chunks/{Index-CzrztdW-.mjs → Index-C547B3A3.mjs} +1 -1
- package/chunks/{Index-wzt08-bX.mjs → Index-CFknVX4H.mjs} +1 -1
- package/chunks/{Index-BstvYgFa.mjs → Index-ClBfluee.mjs} +1 -1
- package/chunks/{Index-BNL5a-Cp.mjs → Index-CwyMYz2G.mjs} +5 -6
- package/chunks/{Index-7kWmNVUh.mjs → Index-D5qldOtA.mjs} +1 -1
- package/chunks/{Index-DPsmE1uN.mjs → Index-DBgS4EU9.mjs} +1 -1
- package/chunks/{Index-CvhYPFWQ.mjs → Index-DWIf5gtB.mjs} +1 -1
- package/chunks/{Index-B6nf1hBs.mjs → Index-DckJhpbX.mjs} +1 -1
- package/chunks/{Index-B9ltACCu.mjs → Index-DgFy81pM.mjs} +34 -30
- package/chunks/{Index-DiMU3wUU.mjs → Index-uifWkFaA.mjs} +1 -1
- package/chunks/{IndexItem-D9CJRe8H.mjs → IndexItem-THDMPSs5.mjs} +3 -3
- package/chunks/{Log-CRCoNWG4.mjs → Log-C6z8Kn8T.mjs} +12 -12
- package/chunks/{LoginBg-YJNdM6MW.mjs → LoginBg-CRyowz7s.mjs} +1 -1
- package/chunks/{Minute-CbXsIR7_.mjs → Minute-CxaPP4jl.mjs} +1 -1
- package/chunks/{Month-CthyKyhv.mjs → Month-DJaZR44b.mjs} +1 -1
- package/chunks/{Preview-B98m3MGO.mjs → Preview-CCXYRme4.mjs} +1 -1
- package/chunks/{Second-CIQ6V9se.mjs → Second-uNW9qtHw.mjs} +1 -1
- package/chunks/{SelectDept-CnWQxS5K.mjs → SelectDept-C7BMFi5k.mjs} +1 -2
- package/chunks/{SelectMenu-CkTKjWBF.mjs → SelectMenu-Czk1bBbH.mjs} +1 -2
- package/chunks/{SelectUser-Ckno6MOD.mjs → SelectUser-DhVrI513.mjs} +2 -2
- package/chunks/{UserInfo-CLmJTgYA.mjs → UserInfo-Bkvei2_f.mjs} +9 -9
- package/chunks/{Wrapper-DTafMJUk.mjs → Wrapper-j2FOAwse.mjs} +1 -1
- package/chunks/{app-Bi5IK4Co.mjs → app-DmklWuqg.mjs} +1 -1
- package/chunks/{custom-page-list-iJnDKzZY.mjs → custom-page-list-DA9NkHWz.mjs} +4 -4
- package/chunks/{custom-page-table-C1_--vky.mjs → custom-page-table-DoywFXab.mjs} +2 -2
- package/chunks/{job-LMdrSGj4.mjs → job-BQJ_hHUe.mjs} +33 -33
- package/chunks/{overview-TtQSpbKc.mjs → overview-3sLtgolg.mjs} +1 -1
- package/chunks/{page-list-DM1OJ9i_.mjs → page-list-B8TBznW6.mjs} +3 -3
- package/chunks/{page-query-Dt2TDeWb.mjs → page-query-Dkxrgx6h.mjs} +1 -1
- package/chunks/{page-table-BFRDmAMb.mjs → page-table-Bt0JTMda.mjs} +24 -25
- package/chunks/{pagination-BqB9JLb_.mjs → pagination-C9lNjVzl.mjs} +1 -1
- package/chunks/{provider-CygWvvoI.mjs → provider-CG0FCD6y.mjs} +1296 -574
- package/chunks/{scrollbar-DR0tchN3.mjs → scrollbar-CFNjWbWr.mjs} +1 -2
- package/chunks/{table-KkVV8NF3.mjs → table-ktOrvaEb.mjs} +8 -9
- 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/cron/src/cron.vue.d.ts +1 -1
- package/components/custom-page-list/index.mjs +1 -1
- package/components/custom-page-list/src/custom-page-list.mjs +1 -1
- package/components/custom-page-list/src/custom-page-list.vue.d.ts +3 -3
- package/components/custom-page-table/index.mjs +1 -1
- package/components/custom-page-table/src/custom-page-table.mjs +1 -1
- package/components/date-picker/index.mjs +1 -1
- package/components/date-picker/src/date-picker.mjs +1 -1
- package/components/date-picker/src/date-picker.vue.d.ts +1 -1
- package/components/dialog/index.mjs +1 -1
- package/components/dialog/src/dialog.mjs +1 -1
- package/components/dialog/src/dialog.vue.d.ts +6 -6
- package/components/form/index.mjs +1 -1
- package/components/form/src/form.mjs +1 -1
- package/components/form/src/form.vue.d.ts +1 -1
- package/components/image-viewer/src/image-viewer.vue.d.ts +1 -1
- package/components/index.mjs +26 -32
- package/components/input/src/input.vue.d.ts +1 -1
- package/components/input-number/index.mjs +1 -1
- package/components/input-number/src/input-number.mjs +1 -1
- package/components/input-number/src/input-number.vue.d.ts +1 -1
- package/components/overview/index.mjs +1 -1
- package/components/overview/src/DicLabel/Index.mjs +1 -1
- package/components/overview/src/IndexItem.mjs +1 -1
- package/components/overview/src/OptionLabel/Index.mjs +1 -1
- package/components/overview/src/overview.mjs +1 -1
- package/components/page-list/index.mjs +1 -1
- package/components/page-list/src/page-list.d.ts +62 -62
- package/components/page-list/src/page-list.mjs +1 -1
- package/components/page-list/src/page-list.vue.d.ts +9 -9
- package/components/page-query/index.mjs +1 -1
- package/components/page-query/src/page-query.mjs +1 -1
- package/components/page-query/src/page-query.vue.d.ts +4 -4
- package/components/page-table/index.mjs +1 -1
- package/components/page-table/src/page-table.mjs +1 -1
- package/components/page-table/src/page-table.vue.d.ts +7 -7
- 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/range-input/src/range-input.vue.d.ts +1 -1
- package/components/scrollbar/index.mjs +1 -1
- package/components/scrollbar/src/scrollbar.mjs +1 -1
- package/components/select/index.mjs +1 -1
- package/components/select/src/select.mjs +1 -1
- package/components/select/src/select.vue.d.ts +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/tab-panel/src/tab-panel.vue.d.ts +1 -1
- package/components/table/index.mjs +1 -1
- package/components/table/src/table.mjs +1 -1
- package/components/table/src/table.vue.d.ts +1 -1
- package/components/textarea/src/textarea.vue.d.ts +1 -1
- package/components/tree/index.mjs +1 -1
- package/components/tree/src/tree.mjs +1 -1
- package/components/tree/src/tree.vue.d.ts +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/useLabel/index.mjs +1 -16
- package/hooks/useList/index.mjs +1 -28
- package/hooks/useSysUser/index.mjs +1 -1
- package/layout/Entry.mjs +1 -1
- package/layout/Home.mjs +8 -9
- package/layout/Home1.mjs +7 -7
- package/layout/Login.mjs +8 -8
- package/layout/NotFound.mjs +1 -1
- package/layout/modules/Aside.mjs +1 -1
- package/layout/modules/Breadcrumb.mjs +1 -1
- package/layout/modules/Header.mjs +1 -1
- package/layout/modules/LoginBg.mjs +1 -1
- package/layout/profile/Index.mjs +9 -10
- package/layout/profile/ResetPwd.mjs +1 -1
- package/layout/profile/UserInfo.mjs +1 -1
- package/layout/vueBits/Plasma.vue.d.ts +1 -1
- package/main.mjs +3 -3
- package/package.json +2 -1
- package/plugins/autoImport/$alova/index.mjs +1 -1
- package/plugins/autoImport/$confirm/index.mjs +1 -1
- package/plugins/autoImport/$dialog/index.mjs +1 -1
- package/plugins/autoImport/$drawer/index.mjs +1 -1
- package/plugins/captcha/captcha.mjs +15 -17
- package/plugins/captcha/index.mjs +1 -1
- package/plugins/directive/index.mjs +1 -1
- package/plugins/initialize/webUpdateNotify.mjs +1 -1
- package/plugins/tableRenders/Wrapper.mjs +1 -1
- package/plugins/tableRenders/cell/AudioPlay/Index.mjs +1 -1
- package/plugins/tableRenders/cell/Avatar/Index.mjs +1 -1
- package/plugins/tableRenders/cell/Buttons/Index.mjs +1 -1
- package/plugins/tableRenders/cell/DicLabel/Index.mjs +1 -1
- package/plugins/tableRenders/cell/FormatDate/Index.mjs +1 -1
- package/plugins/tableRenders/cell/FormatNumber/Index.mjs +1 -1
- package/plugins/tableRenders/cell/Icon/Index.mjs +1 -1
- package/plugins/tableRenders/cell/Image/Index.mjs +1 -1
- package/plugins/tableRenders/cell/ImageViewer/Index.mjs +1 -1
- package/plugins/tableRenders/cell/ImageViewer/Index.vue.d.ts +1 -1
- package/plugins/tableRenders/cell/Input/Index.vue.d.ts +1 -1
- package/plugins/tableRenders/cell/InputNumber/Index.mjs +1 -1
- package/plugins/tableRenders/cell/InputNumber/Index.vue.d.ts +1 -1
- package/plugins/tableRenders/cell/OptionLabel/Index.mjs +1 -1
- package/plugins/tableRenders/cell/Select/Index.mjs +1 -1
- package/plugins/tableRenders/cell/Select/Index.vue.d.ts +1 -1
- package/plugins/tableRenders/cell/TypographyText/Index.mjs +1 -1
- package/plugins/tableRenders/cell/TypographyTextLink/Index.mjs +1 -1
- package/plugins/tableRenders/cell/index.mjs +15 -15
- package/plugins/tableRenders/title/TypographyText/Index.mjs +1 -1
- package/plugins/tableRenders/title/index.mjs +2 -2
- package/router/index.mjs +1 -1
- package/store/modules/common.mjs +1 -1
- package/store/modules/login.mjs +1 -1
- package/store/modules/recentRouters.mjs +1 -1
- package/store/modules/router.mjs +1 -1
- package/store/modules/user.mjs +1 -1
- package/utils/gather.mjs +1 -1
- package/utils/index.mjs +7 -8
- package/utils/tool.d.ts +4 -0
- package/utils/tool.mjs +1 -28
- package/views/monitor/cache/index.mjs +2 -2
- package/views/monitor/cacheList/index.mjs +2 -2
- package/views/monitor/job/index.mjs +1 -1
- package/views/monitor/logininfor/index.mjs +2 -2
- package/views/monitor/online/index.mjs +2 -2
- package/views/monitor/operlog/index.mjs +2 -2
- package/views/monitor/server/index.mjs +2 -2
- package/views/system/config/index.mjs +13 -13
- package/views/system/dept/index.mjs +35 -36
- package/views/system/dept/utils.mjs +1 -2
- package/views/system/dict/index.mjs +23 -23
- package/views/system/dict/modules/DictTypeDetail.mjs +1 -1
- package/views/system/menu/index.mjs +40 -41
- package/views/system/menu/utils.mjs +1 -2
- package/views/system/notice/index.mjs +8 -8
- package/views/system/post/index.mjs +8 -8
- package/views/system/role/index.mjs +43 -43
- package/views/system/role/modules/AssignUser.mjs +1 -1
- package/views/system/role/modules/SelectDept.mjs +1 -1
- package/views/system/role/modules/SelectMenu.mjs +1 -1
- package/views/system/role/modules/SelectUser.mjs +1 -1
- package/views/system/user/index.mjs +49 -49
- package/views/tool/gen/editTable/index.mjs +14 -14
- package/views/tool/gen/editTable/modules/BasicInfo.mjs +1 -1
- package/views/tool/gen/editTable/modules/ColumnInfo.mjs +1 -1
- package/views/tool/gen/editTable/modules/GenInfo.mjs +1 -1
- package/views/tool/gen/index.mjs +22 -22
- package/views/tool/gen/modules/Import.mjs +1 -1
- package/views/tool/gen/modules/Preview.mjs +1 -1
- package/views/tool/job/index.mjs +1 -1
- package/views/tool/job/modules/Log.mjs +1 -1
- package/assets/date-picker-CKUanIvh.css +0 -1
- package/assets/input-number-DHmV6oBX.css +0 -2
- package/assets/provider-yh_xhvsD.css +0 -2
- package/assets/scrollbar-CWhno35V.css +0 -1
- package/chunks/date-picker-B2wW7DdC.mjs +0 -376
- package/chunks/input-number-D6xmAwom.mjs +0 -73
- package/chunks/range-input-BIjdk8b6.mjs +0 -109
- package/chunks/utils-CR1bJjmo.mjs +0 -126
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as default } from "../../../../chunks/Index-
|
|
1
|
+
export { t as default } from "../../../../chunks/Index-C547B3A3.mjs";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as default } from "../../../../chunks/Index-
|
|
1
|
+
export { t as default } from "../../../../chunks/Index-BUZtj8UF.mjs";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as default } from "../../../../chunks/Index-
|
|
1
|
+
export { t as default } from "../../../../chunks/Index-uifWkFaA.mjs";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as default } from "../../../../chunks/Index-
|
|
1
|
+
export { t as default } from "../../../../chunks/Index-DWIf5gtB.mjs";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as default } from "../../../../chunks/Index-
|
|
1
|
+
export { t as default } from "../../../../chunks/Index-D5qldOtA.mjs";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as default } from "../../../../chunks/Index-
|
|
1
|
+
export { t as default } from "../../../../chunks/Index-C2BOclFS.mjs";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as default } from "../../../../chunks/Index
|
|
1
|
+
export { t as default } from "../../../../chunks/Index--HKuaKg7.mjs";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as default } from "../../../../chunks/Index-
|
|
1
|
+
export { t as default } from "../../../../chunks/Index-DckJhpbX.mjs";
|
|
@@ -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
|
closeBtn: boolean | ((h: typeof import('vue').h) => import('tdesign-vue-next').TNodeReturnValue);
|
|
3
3
|
visible: boolean;
|
|
4
|
-
closeOnEscKeydown: boolean;
|
|
5
4
|
draggable: boolean;
|
|
6
5
|
showOverlay: boolean;
|
|
6
|
+
closeOnEscKeydown: boolean;
|
|
7
7
|
closeOnOverlay: boolean;
|
|
8
8
|
navigationArrow: boolean | ((h: typeof import('vue').h) => import('tdesign-vue-next').TNodeReturnValue);
|
|
9
9
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
@@ -12,9 +12,9 @@ declare const __VLS_export: import('vue').DefineComponent<__VLS_PublicProps, {},
|
|
|
12
12
|
}>, {
|
|
13
13
|
disabled: boolean;
|
|
14
14
|
readonly: boolean;
|
|
15
|
-
placeholder: string;
|
|
16
15
|
clearable: boolean;
|
|
17
16
|
autocomplete: string;
|
|
17
|
+
placeholder: string;
|
|
18
18
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
19
19
|
declare const _default: typeof __VLS_export;
|
|
20
20
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as default } from "../../../../chunks/Index-
|
|
1
|
+
export { t as default } from "../../../../chunks/Index-CwyMYz2G.mjs";
|
|
@@ -14,9 +14,9 @@ declare const __VLS_export: import('vue').DefineComponent<__VLS_PublicProps, {},
|
|
|
14
14
|
useGrouping: boolean;
|
|
15
15
|
disabled: boolean;
|
|
16
16
|
readonly: boolean;
|
|
17
|
-
min: InputNumberValue;
|
|
18
17
|
autoWidth: boolean;
|
|
19
18
|
decimalPlaces: import('tdesign-vue-next').InputNumberDecimalPlaces;
|
|
19
|
+
min: InputNumberValue;
|
|
20
20
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
21
21
|
declare const _default: typeof __VLS_export;
|
|
22
22
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as default } from "../../../../chunks/Index-
|
|
1
|
+
export { t as default } from "../../../../chunks/Index-Bh3fQu21.mjs";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as default } from "../../../../chunks/Index-
|
|
1
|
+
export { t as default } from "../../../../chunks/Index-B_ESnEXB.mjs";
|
|
@@ -15,9 +15,9 @@ declare const __VLS_export: import('vue').DefineComponent<__VLS_PublicProps, {},
|
|
|
15
15
|
showArrow: boolean;
|
|
16
16
|
disabled: boolean;
|
|
17
17
|
readonly: boolean;
|
|
18
|
-
placeholder: string;
|
|
19
18
|
showCheckAll: boolean;
|
|
20
19
|
clearable: boolean;
|
|
20
|
+
placeholder: string;
|
|
21
21
|
filterable: boolean;
|
|
22
22
|
inputValue: string;
|
|
23
23
|
minCollapsedNum: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as default } from "../../../../chunks/Index-
|
|
1
|
+
export { t as default } from "../../../../chunks/Index-BBrBETc5.mjs";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as default } from "../../../../chunks/Index-
|
|
1
|
+
export { t as default } from "../../../../chunks/Index-CFknVX4H.mjs";
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import { t as e } from "../../../chunks/Index-
|
|
2
|
-
import { t } from "../../../chunks/Index-
|
|
3
|
-
import { t as n } from "../../../chunks/Index-
|
|
1
|
+
import { t as e } from "../../../chunks/Index-DgFy81pM.mjs";
|
|
2
|
+
import { t } from "../../../chunks/Index-C547B3A3.mjs";
|
|
3
|
+
import { t as n } from "../../../chunks/Index-BUZtj8UF.mjs";
|
|
4
4
|
import { t as r } from "../../../chunks/Index-HO2qVQE_.mjs";
|
|
5
5
|
import { t as i } from "../../../chunks/Index-B3Qx5yy5.mjs";
|
|
6
6
|
import { t as a } from "../../../chunks/Index-DVGoGfWk.mjs";
|
|
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
|
|
12
|
-
import { t as d } from "../../../chunks/Index-
|
|
7
|
+
import { t as o } from "../../../chunks/Index-uifWkFaA.mjs";
|
|
8
|
+
import { t as s } from "../../../chunks/Index-DWIf5gtB.mjs";
|
|
9
|
+
import { t as c } from "../../../chunks/Index-D5qldOtA.mjs";
|
|
10
|
+
import { t as l } from "../../../chunks/Index-C2BOclFS.mjs";
|
|
11
|
+
import { t as u } from "../../../chunks/Index--HKuaKg7.mjs";
|
|
12
|
+
import { t as d } from "../../../chunks/Index-DckJhpbX.mjs";
|
|
13
13
|
import { t as f } from "../../../chunks/Index-C_CRE-HW.mjs";
|
|
14
|
-
import { t as p } from "../../../chunks/Index-
|
|
14
|
+
import { t as p } from "../../../chunks/Index-CwyMYz2G.mjs";
|
|
15
15
|
import { t as m } from "../../../chunks/Index-hqjbydPe.mjs";
|
|
16
|
-
import { t as h } from "../../../chunks/Index-
|
|
17
|
-
import { t as g } from "../../../chunks/Index-
|
|
16
|
+
import { t as h } from "../../../chunks/Index-Bh3fQu21.mjs";
|
|
17
|
+
import { t as g } from "../../../chunks/Index-B_ESnEXB.mjs";
|
|
18
18
|
import { t as _ } from "../../../chunks/Index-CsLXahGP.mjs";
|
|
19
19
|
import { t as v } from "../../../chunks/Index-WrYouWPp.mjs";
|
|
20
|
-
import { t as y } from "../../../chunks/Index-
|
|
21
|
-
import { t as b } from "../../../chunks/Index-
|
|
20
|
+
import { t as y } from "../../../chunks/Index-BBrBETc5.mjs";
|
|
21
|
+
import { t as b } from "../../../chunks/Index-CFknVX4H.mjs";
|
|
22
22
|
import { n as x } from "../../../chunks/useAppContext-DAxNLHY9.mjs";
|
|
23
|
-
import { t as S } from "../../../chunks/Wrapper-
|
|
23
|
+
import { t as S } from "../../../chunks/Wrapper-j2FOAwse.mjs";
|
|
24
24
|
// ../../packages/dlzn-ui/plugins/tableRenders/cell/index.ts
|
|
25
25
|
var C = /* #__PURE__ */ Object.assign({
|
|
26
26
|
"./AudioPlay/Index.vue": e,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as default } from "../../../../chunks/Index-
|
|
1
|
+
export { t as default } from "../../../../chunks/Index-C-GwH8aI.mjs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as e } from "../../../chunks/Index-BJGHcLE6.mjs";
|
|
2
|
-
import { t } from "../../../chunks/Index-
|
|
3
|
-
import { t as n } from "../../../chunks/Wrapper-
|
|
2
|
+
import { t } from "../../../chunks/Index-C-GwH8aI.mjs";
|
|
3
|
+
import { t as n } from "../../../chunks/Wrapper-j2FOAwse.mjs";
|
|
4
4
|
// ../../packages/dlzn-ui/plugins/tableRenders/title/index.ts
|
|
5
5
|
var r = /* #__PURE__ */ Object.assign({
|
|
6
6
|
"./Default/Index.vue": e,
|
package/router/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { z as default, L as getRoute, R as getTopRoute } from "../chunks/provider-CG0FCD6y.mjs";
|
package/store/modules/common.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { nt as default } from "../../chunks/provider-CG0FCD6y.mjs";
|
package/store/modules/login.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { U as default } from "../../chunks/provider-CG0FCD6y.mjs";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { tt as default } from "../../chunks/provider-CG0FCD6y.mjs";
|
package/store/modules/router.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { et as default, $ as getRoutersMethod } from "../../chunks/provider-CG0FCD6y.mjs";
|
package/store/modules/user.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { i as default, r as getUserInfoMethod } from "../../chunks/provider-
|
|
1
|
+
export { i as default, r as getUserInfoMethod } from "../../chunks/provider-CG0FCD6y.mjs";
|
package/utils/gather.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { st as findLabel } from "../chunks/provider-CG0FCD6y.mjs";
|
package/utils/index.mjs
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { isFalsy as
|
|
3
|
-
import { getDomRangeWidth as
|
|
4
|
-
import { formatNumber as
|
|
5
|
-
import { getFilenameFromUrl as
|
|
6
|
-
import {
|
|
7
|
-
|
|
8
|
-
export { m as aesDecrypt, h as aesEncrypt, i as findLabel, y as flatArrToTree, l as formatNumber, u as formatSecondsToChinese, c as getDomRangeWidth, d as getFilenameFromUrl, g as getFingerprint, a as isFalsy, o as isNotEmpty, s as isValidNumberString, t as playAudioMediaStream, n as playAudioUrl, f as queryStringToObject, e as releaseAudioMediaStream, r as releaseAudioUrl, _ as sanitizeHtml, v as saveAs, p as stringDisplay, b as treeToFlatArr };
|
|
1
|
+
import { A as e, D as t, M as n, O as r, ct as i, dt as a, j as o, k as s, lt as c, st as l, ut as u } from "../chunks/provider-CG0FCD6y.mjs";
|
|
2
|
+
import { isFalsy as d, isNotEmpty as f, isValidNumberString as p } from "./boolean.mjs";
|
|
3
|
+
import { getDomRangeWidth as m } from "./dom.mjs";
|
|
4
|
+
import { formatNumber as h, formatSecondsToChinese as g } from "./number.mjs";
|
|
5
|
+
import { getFilenameFromUrl as _, queryStringToObject as v, stringDisplay as y } from "./string.mjs";
|
|
6
|
+
import { flatArrToTree as b, treeToFlatArr as x } from "./tree.mjs";
|
|
7
|
+
export { t as aesDecrypt, r as aesEncrypt, s as downloadZip, l as findLabel, b as flatArrToTree, h as formatNumber, g as formatSecondsToChinese, m as getDomRangeWidth, _ as getFilenameFromUrl, e as getFingerprint, d as isFalsy, f as isNotEmpty, p as isValidNumberString, u as playAudioMediaStream, i as playAudioUrl, v as queryStringToObject, a as releaseAudioMediaStream, c as releaseAudioUrl, o as sanitizeHtml, n as saveAs, y as stringDisplay, x as treeToFlatArr };
|
package/utils/tool.d.ts
CHANGED
|
@@ -2,6 +2,10 @@ import { Config } from 'dompurify';
|
|
|
2
2
|
import { default as FileSaver } from 'file-saver';
|
|
3
3
|
export declare function aesDecrypt(word: string, keyWord: string): Promise<string>;
|
|
4
4
|
export declare function aesEncrypt(word: string, keyWord: string): Promise<string>;
|
|
5
|
+
export declare function downloadZip(files: Array<{
|
|
6
|
+
name: string;
|
|
7
|
+
source: Blob | string;
|
|
8
|
+
}>, zipName: string): Promise<void>;
|
|
5
9
|
export declare function getFingerprint(): Promise<string>;
|
|
6
10
|
export declare function sanitizeHtml(dirty: Node | string, cfg?: Config): Promise<string>;
|
|
7
11
|
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
|
@@ -1,28 +1 @@
|
|
|
1
|
-
|
|
2
|
-
async function e(e, t) {
|
|
3
|
-
let { default: n } = await import("crypto-js"), r = n.enc.Utf8.parse(t);
|
|
4
|
-
return n.AES.decrypt(e, r, {
|
|
5
|
-
mode: n.mode.ECB,
|
|
6
|
-
padding: n.pad.Pkcs7
|
|
7
|
-
}).toString(n.enc.Utf8);
|
|
8
|
-
}
|
|
9
|
-
async function t(e, t) {
|
|
10
|
-
let { default: n } = await import("crypto-js"), r = n.enc.Utf8.parse(t), i = n.enc.Utf8.parse(e);
|
|
11
|
-
return n.AES.encrypt(i, r, {
|
|
12
|
-
mode: n.mode.ECB,
|
|
13
|
-
padding: n.pad.Pkcs7
|
|
14
|
-
}).toString();
|
|
15
|
-
}
|
|
16
|
-
async function n() {
|
|
17
|
-
let { default: e } = await import("@fingerprintjs/fingerprintjs");
|
|
18
|
-
return (await (await e.load()).get()).visitorId;
|
|
19
|
-
}
|
|
20
|
-
async function r(e, t) {
|
|
21
|
-
let { default: n } = await import("dompurify");
|
|
22
|
-
return n.sanitize(e, t);
|
|
23
|
-
}
|
|
24
|
-
async function i(e, t, n) {
|
|
25
|
-
let { default: r } = await import("file-saver");
|
|
26
|
-
r(e, t, n);
|
|
27
|
-
}
|
|
28
|
-
export { e as aesDecrypt, t as aesEncrypt, n as getFingerprint, r as sanitizeHtml, i as saveAs };
|
|
1
|
+
export { D as aesDecrypt, O as aesEncrypt, k as downloadZip, A as getFingerprint, j as sanitizeHtml, M as saveAs } from "../chunks/provider-CG0FCD6y.mjs";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "../../../components/card/index.mjs";
|
|
2
2
|
import { t as e } from "../../../chunks/card-fcGTPVWb.mjs";
|
|
3
3
|
import "../../../components/table/index.mjs";
|
|
4
|
-
import { t } from "../../../chunks/table-
|
|
5
|
-
import {
|
|
4
|
+
import { t } from "../../../chunks/table-ktOrvaEb.mjs";
|
|
5
|
+
import { N as n } from "../../../chunks/provider-CG0FCD6y.mjs";
|
|
6
6
|
import { t as r } from "../../../chunks/echarts-CYv6gr6J.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";
|
|
8
8
|
import { useRequest as f } from "alova/client";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { N as e, n as t, o as n } from "../../../chunks/provider-CG0FCD6y.mjs";
|
|
2
2
|
import "../../../components/card/index.mjs";
|
|
3
3
|
import { t as r } from "../../../chunks/card-fcGTPVWb.mjs";
|
|
4
4
|
import "../../../components/table/index.mjs";
|
|
5
|
-
import { t as i } from "../../../chunks/table-
|
|
5
|
+
import { t as i } from "../../../chunks/table-ktOrvaEb.mjs";
|
|
6
6
|
import a from "../../../plugins/autoImport/$msg/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
|
// ../../packages/dlzn-ui/views/monitor/cacheList/index.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "../../../chunks/job-
|
|
1
|
+
import { t as e } from "../../../chunks/job-BQJ_hHUe.mjs";
|
|
2
2
|
import { createBlock as t, defineComponent as n, openBlock as r } from "vue";
|
|
3
3
|
// ../../packages/dlzn-ui/views/monitor/job/index.vue
|
|
4
4
|
var i = /* @__PURE__ */ n({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "../../../components/page-list/index.mjs";
|
|
2
|
-
import { t as e } from "../../../chunks/page-list-
|
|
3
|
-
import {
|
|
2
|
+
import { t as e } from "../../../chunks/page-list-B8TBznW6.mjs";
|
|
3
|
+
import { N as t } from "../../../chunks/provider-CG0FCD6y.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
|
// ../../packages/dlzn-ui/views/monitor/logininfor/index.vue
|
|
6
6
|
var u = /* @__PURE__ */ r({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "../../../components/page-list/index.mjs";
|
|
2
|
-
import { t as e } from "../../../chunks/page-list-
|
|
3
|
-
import {
|
|
2
|
+
import { t as e } from "../../../chunks/page-list-B8TBznW6.mjs";
|
|
3
|
+
import { N as t } from "../../../chunks/provider-CG0FCD6y.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
|
// ../../packages/dlzn-ui/views/monitor/online/index.vue
|
|
6
6
|
var c = /* @__PURE__ */ r({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as r } from "../../../chunks/page-list-
|
|
1
|
+
import { N as e, it as t, o as n } from "../../../chunks/provider-CG0FCD6y.mjs";
|
|
2
|
+
import { t as r } from "../../../chunks/page-list-B8TBznW6.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
|
// ../../packages/dlzn-ui/views/monitor/operlog/index.vue
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "../../../components/card/index.mjs";
|
|
2
2
|
import { t as e } from "../../../chunks/card-fcGTPVWb.mjs";
|
|
3
3
|
import "../../../components/table/index.mjs";
|
|
4
|
-
import { t } from "../../../chunks/table-
|
|
5
|
-
import {
|
|
4
|
+
import { t } from "../../../chunks/table-ktOrvaEb.mjs";
|
|
5
|
+
import { N as n } from "../../../chunks/provider-CG0FCD6y.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";
|
|
8
8
|
// ../../packages/dlzn-ui/views/monitor/server/index.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { N as e, o as t, rt as n } from "../../../chunks/provider-CG0FCD6y.mjs";
|
|
2
2
|
import "../../../components/page-list/index.mjs";
|
|
3
|
-
import { t as r } from "../../../chunks/page-list-
|
|
3
|
+
import { t as r } from "../../../chunks/page-list-B8TBznW6.mjs";
|
|
4
4
|
import i from "../../../plugins/autoImport/$msg/index.mjs";
|
|
5
5
|
import { createBlock as a, defineComponent as o, h as s, mergeProps as c, openBlock as l, reactive as u, ref as d, unref as f, useTemplateRef as p, watch as m } from "vue";
|
|
6
6
|
// ../../packages/dlzn-ui/views/system/config/index.vue
|
|
@@ -55,11 +55,11 @@ var h = /* @__PURE__ */ o({
|
|
|
55
55
|
method: "system/config/export",
|
|
56
56
|
permission: "system:config:export"
|
|
57
57
|
},
|
|
58
|
-
list: { method: (
|
|
59
|
-
...
|
|
58
|
+
list: { method: (t) => e.Get("system/config/list", { params: {
|
|
59
|
+
...t,
|
|
60
60
|
dateRange: void 0,
|
|
61
|
-
"params[beginTime]":
|
|
62
|
-
"params[endTime]":
|
|
61
|
+
"params[beginTime]": t.dateRange[0],
|
|
62
|
+
"params[endTime]": t.dateRange[1]
|
|
63
63
|
} }) }
|
|
64
64
|
},
|
|
65
65
|
columns: [
|
|
@@ -104,8 +104,8 @@ var h = /* @__PURE__ */ o({
|
|
|
104
104
|
let a = d(null);
|
|
105
105
|
m(a, () => {
|
|
106
106
|
a.value.setFormData(r);
|
|
107
|
-
}, { once: !0 }),
|
|
108
|
-
body: () => s(
|
|
107
|
+
}, { once: !0 }), n({
|
|
108
|
+
body: () => s(t, {
|
|
109
109
|
items: [
|
|
110
110
|
g.configName,
|
|
111
111
|
g.configKey,
|
|
@@ -119,7 +119,7 @@ var h = /* @__PURE__ */ o({
|
|
|
119
119
|
}),
|
|
120
120
|
header: "修改参数",
|
|
121
121
|
onConfirmCallback: async () => {
|
|
122
|
-
await
|
|
122
|
+
await e.Put("system/config", {
|
|
123
123
|
...await a.value.validate(),
|
|
124
124
|
configId: r.configId
|
|
125
125
|
}), i.success("参数修改成功"), h.value.query();
|
|
@@ -148,8 +148,8 @@ var h = /* @__PURE__ */ o({
|
|
|
148
148
|
default: "新增",
|
|
149
149
|
onClick: () => {
|
|
150
150
|
let r = d(null);
|
|
151
|
-
|
|
152
|
-
body: () => s(
|
|
151
|
+
n({
|
|
152
|
+
body: () => s(t, {
|
|
153
153
|
data: u({ configType: "Y" }),
|
|
154
154
|
items: [
|
|
155
155
|
g.configName,
|
|
@@ -164,7 +164,7 @@ var h = /* @__PURE__ */ o({
|
|
|
164
164
|
}),
|
|
165
165
|
header: "添加参数",
|
|
166
166
|
onConfirmCallback: async () => {
|
|
167
|
-
await
|
|
167
|
+
await e.Post("system/config", await r.value.validate()), i.success("参数添加成功"), h.value.query();
|
|
168
168
|
},
|
|
169
169
|
width: 460
|
|
170
170
|
});
|
|
@@ -176,7 +176,7 @@ var h = /* @__PURE__ */ o({
|
|
|
176
176
|
popconfirm: {
|
|
177
177
|
content: "确定要刷新缓存吗?",
|
|
178
178
|
onConfirm: async () => {
|
|
179
|
-
await
|
|
179
|
+
await e.Delete("system/config/refreshCache", void 0, { meta: { useSuccessMsg: !0 } });
|
|
180
180
|
}
|
|
181
181
|
}
|
|
182
182
|
}],
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { N as e, o as t, rt as n } from "../../../chunks/provider-CG0FCD6y.mjs";
|
|
2
2
|
import "../../../components/page-list/index.mjs";
|
|
3
|
-
import r from "../../../
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
6
|
-
import "../../../chunks/utils-CR1bJjmo.mjs";
|
|
3
|
+
import { flatArrToTree as r } from "../../../utils/tree.mjs";
|
|
4
|
+
import { t as i } from "../../../chunks/page-list-B8TBznW6.mjs";
|
|
5
|
+
import a from "../../../plugins/autoImport/$msg/index.mjs";
|
|
7
6
|
import { deptTreeList as o, deptTreeListSend as s } from "./utils.mjs";
|
|
8
7
|
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";
|
|
9
8
|
// ../../packages/dlzn-ui/views/system/dept/index.vue
|
|
@@ -63,14 +62,14 @@ var v = /* @__PURE__ */ l({
|
|
|
63
62
|
model: "status"
|
|
64
63
|
}
|
|
65
64
|
}, x = {
|
|
66
|
-
apis: { list: { method: (
|
|
65
|
+
apis: { list: { method: (t) => e.Get("system/dept/list", {
|
|
67
66
|
params: {
|
|
68
|
-
...
|
|
67
|
+
...t,
|
|
69
68
|
pageNum: void 0,
|
|
70
69
|
pageSize: void 0
|
|
71
70
|
},
|
|
72
71
|
transform: (e) => {
|
|
73
|
-
let t =
|
|
72
|
+
let t = r(e, { idKey: "deptId" }), n = (e) => {
|
|
74
73
|
e.forEach((e) => {
|
|
75
74
|
(e.children ?? []).length > 0 && (y.value.push(e.deptId), n(e.children));
|
|
76
75
|
});
|
|
@@ -122,14 +121,14 @@ var v = /* @__PURE__ */ l({
|
|
|
122
121
|
{
|
|
123
122
|
cell: {
|
|
124
123
|
buttons: [
|
|
125
|
-
({ row:
|
|
124
|
+
({ row: r }) => ({
|
|
126
125
|
default: "编辑",
|
|
127
126
|
onClick: () => {
|
|
128
|
-
let
|
|
129
|
-
_(
|
|
130
|
-
|
|
131
|
-
}, { once: !0 }),
|
|
132
|
-
body: () => u(
|
|
127
|
+
let i = m(null);
|
|
128
|
+
_(i, () => {
|
|
129
|
+
i.value.setFormData(r);
|
|
130
|
+
}, { once: !0 }), n({
|
|
131
|
+
body: () => u(t, {
|
|
133
132
|
items: [
|
|
134
133
|
b.parentId,
|
|
135
134
|
b.deptName,
|
|
@@ -139,29 +138,29 @@ var v = /* @__PURE__ */ l({
|
|
|
139
138
|
b.email,
|
|
140
139
|
b.status
|
|
141
140
|
],
|
|
142
|
-
ref:
|
|
141
|
+
ref: i
|
|
143
142
|
}),
|
|
144
143
|
header: "编辑部门",
|
|
145
144
|
onConfirmCallback: async () => {
|
|
146
|
-
let
|
|
147
|
-
await
|
|
148
|
-
...
|
|
149
|
-
deptId:
|
|
150
|
-
}), s(),
|
|
145
|
+
let t = await i.value.validate();
|
|
146
|
+
await e.Put("system/dept", {
|
|
147
|
+
...t,
|
|
148
|
+
deptId: r.deptId
|
|
149
|
+
}), s(), a.success("部门修改成功"), v.value.query();
|
|
151
150
|
},
|
|
152
151
|
width: 730
|
|
153
152
|
});
|
|
154
153
|
},
|
|
155
154
|
permission: "system:dept:edit"
|
|
156
155
|
}),
|
|
157
|
-
({ row:
|
|
156
|
+
({ row: r }) => ({
|
|
158
157
|
default: "新增",
|
|
159
158
|
onClick: () => {
|
|
160
|
-
let
|
|
161
|
-
|
|
162
|
-
body: () => u(
|
|
159
|
+
let i = m(null);
|
|
160
|
+
n({
|
|
161
|
+
body: () => u(t, {
|
|
163
162
|
data: p({
|
|
164
|
-
parentId:
|
|
163
|
+
parentId: r.deptId,
|
|
165
164
|
status: "0"
|
|
166
165
|
}),
|
|
167
166
|
items: [
|
|
@@ -176,27 +175,27 @@ var v = /* @__PURE__ */ l({
|
|
|
176
175
|
b.email,
|
|
177
176
|
b.status
|
|
178
177
|
],
|
|
179
|
-
ref:
|
|
178
|
+
ref: i
|
|
180
179
|
}),
|
|
181
180
|
header: "新增部门",
|
|
182
181
|
onConfirmCallback: async () => {
|
|
183
|
-
await
|
|
182
|
+
await e.Post("system/dept", await i.value.validate()), s(), a.success("部门添加成功"), v.value.query();
|
|
184
183
|
},
|
|
185
184
|
width: 730
|
|
186
185
|
});
|
|
187
186
|
},
|
|
188
187
|
permission: "system:dept:add"
|
|
189
188
|
}),
|
|
190
|
-
({ row:
|
|
189
|
+
({ row: t }) => ({
|
|
191
190
|
default: "删除",
|
|
192
191
|
permission: "system:dept:remove",
|
|
193
192
|
popconfirm: {
|
|
194
193
|
content: "确认删除吗",
|
|
195
194
|
onConfirm: async () => {
|
|
196
|
-
await
|
|
195
|
+
await e.Delete(`system/dept/${t.deptId}`), s(), a("删除成功"), v.value.query();
|
|
197
196
|
}
|
|
198
197
|
},
|
|
199
|
-
show:
|
|
198
|
+
show: t.parentId !== "0"
|
|
200
199
|
})
|
|
201
200
|
],
|
|
202
201
|
component: "Buttons"
|
|
@@ -212,9 +211,9 @@ var v = /* @__PURE__ */ l({
|
|
|
212
211
|
operations: [{
|
|
213
212
|
default: "新增",
|
|
214
213
|
onClick: () => {
|
|
215
|
-
let
|
|
216
|
-
|
|
217
|
-
body: () => u(
|
|
214
|
+
let r = m(null);
|
|
215
|
+
n({
|
|
216
|
+
body: () => u(t, {
|
|
218
217
|
data: p({ status: "0" }),
|
|
219
218
|
items: [
|
|
220
219
|
b.parentId,
|
|
@@ -225,11 +224,11 @@ var v = /* @__PURE__ */ l({
|
|
|
225
224
|
b.email,
|
|
226
225
|
b.status
|
|
227
226
|
],
|
|
228
|
-
ref:
|
|
227
|
+
ref: r
|
|
229
228
|
}),
|
|
230
229
|
header: "添加部门",
|
|
231
230
|
onConfirmCallback: async () => {
|
|
232
|
-
await
|
|
231
|
+
await e.Post("system/dept", await r.value.validate()), s(), a.success("部门添加成功"), v.value.query();
|
|
233
232
|
},
|
|
234
233
|
width: 730
|
|
235
234
|
});
|
|
@@ -245,7 +244,7 @@ var v = /* @__PURE__ */ l({
|
|
|
245
244
|
showSerialNumber: !1
|
|
246
245
|
})
|
|
247
246
|
};
|
|
248
|
-
return (e, t) => (f(), c(h(
|
|
247
|
+
return (e, t) => (f(), c(h(i), d({
|
|
249
248
|
ref_key: "pageListRef",
|
|
250
249
|
ref: v
|
|
251
250
|
}, x), null, 16));
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "../../../chunks/utils-CR1bJjmo.mjs";
|
|
1
|
+
import { N as e } from "../../../chunks/provider-CG0FCD6y.mjs";
|
|
3
2
|
import { flatArrToTree as t } from "../../../utils/tree.mjs";
|
|
4
3
|
import { useRequest as n } from "alova/client";
|
|
5
4
|
// ../../packages/dlzn-ui/views/system/dept/utils.ts
|