dlzn-ui 2.0.56 → 2.0.58
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-BBCGISR5.css → provider-B7Qp92IB.css} +1 -1
- package/chunks/{AssignUser-DFGKVyHA.mjs → AssignUser-oglCtKHG.mjs} +3 -3
- package/chunks/{BasicInfo-oYAekSwI.mjs → BasicInfo-BP7Cq7Nn.mjs} +1 -1
- package/chunks/{ColumnInfo-CVSldNXs.mjs → ColumnInfo-DU-3CPaF.mjs} +2 -2
- package/chunks/{Common-DDWrIunx.mjs → Common-xF3rgkl_.mjs} +1 -1
- package/chunks/{Day-Che8kW_B.mjs → Day-BJBhn5l0.mjs} +1 -1
- package/chunks/{DictTypeDetail-vPGWHXOl.mjs → DictTypeDetail-ihwR7SU2.mjs} +2 -2
- package/chunks/{GenInfo-BcwpyZSj.mjs → GenInfo-Dl4cpgZY.mjs} +1 -1
- package/chunks/{Hour-BoXdhMMY.mjs → Hour-DpwS9a-q.mjs} +1 -1
- package/chunks/{Import-BVbnDZt3.mjs → Import-BIXTovMr.mjs} +2 -2
- package/chunks/{Index-CnjpeIQL.mjs → Index--sidPxQN.mjs} +1 -1
- package/chunks/{Index-CxEYiUa-.mjs → Index-CAZBEZJ7.mjs} +1 -1
- package/chunks/{Index-C1v5EsZk.mjs → Index-DF_Aprat.mjs} +1 -1
- package/chunks/{Index-xoyD_qOp.mjs → Index-L-E7LpNu.mjs} +1 -1
- package/chunks/{IndexItem-BT-IQMY5.mjs → IndexItem-CZYIE2fp.mjs} +1 -1
- package/chunks/{Log-DOEaFtk1.mjs → Log-BmaGIKEs.mjs} +2 -2
- package/chunks/{LoginBg-YM4US_NO.mjs → LoginBg-DsWLmvhl.mjs} +1 -1
- package/chunks/{Minute-BJpoCyM8.mjs → Minute-s_LSMXJf.mjs} +1 -1
- package/chunks/{Month-UU1z-xQV.mjs → Month-DysmTEdT.mjs} +1 -1
- package/chunks/{Preview-SqQ2UnMr.mjs → Preview-DMGlG72W.mjs} +1 -1
- package/chunks/{Second-BOsQlzmK.mjs → Second-ByN9BJpo.mjs} +1 -1
- package/chunks/{SelectDept-DJciskzT.mjs → SelectDept-CakQvq5T.mjs} +1 -1
- package/chunks/{SelectMenu-7XAtNOza.mjs → SelectMenu-DlFwZ8W1.mjs} +1 -1
- package/chunks/{SelectUser-ChPXL5SD.mjs → SelectUser-BKrJzbyH.mjs} +2 -2
- package/chunks/{UserInfo-Bzdeuht7.mjs → UserInfo-sHWccJvI.mjs} +2 -3
- package/chunks/{app-CouSbYl9.mjs → app-aRuMVKMG.mjs} +1 -1
- package/chunks/{custom-page-list-ijqPjUG8.mjs → custom-page-list-Cot36K-w.mjs} +4 -4
- package/chunks/{custom-page-table-CUlGWxoP.mjs → custom-page-table-PhbvFX4q.mjs} +2 -2
- package/chunks/{overview-ZgCAiVFV.mjs → overview-CBfHin5S.mjs} +1 -1
- package/chunks/{page-list-DsgM0XRF.mjs → page-list-UaWlQCGJ.mjs} +3 -3
- package/chunks/{page-query-D-9Bfc2i.mjs → page-query-DXjfqqEc.mjs} +1 -1
- package/chunks/{page-table-BNO8b2RS.mjs → page-table-DWTtXk3Z.mjs} +3 -3
- package/chunks/{pagination-CQP7D64K.mjs → pagination-DTDBl9h8.mjs} +1 -1
- package/chunks/{provider-Bb25LOJZ.mjs → provider-CNLV7Wbf.mjs} +368 -361
- package/chunks/{table-v44larO2.mjs → table-DTPXpAAP.mjs} +1 -1
- package/components/app/index.mjs +1 -1
- package/components/app/src/app.mjs +1 -1
- package/components/button/index.mjs +1 -1
- package/components/button/src/button.mjs +1 -1
- package/components/checkbox-group/index.mjs +1 -1
- package/components/checkbox-group/src/checkbox-group.mjs +1 -1
- package/components/cron/index.mjs +1 -1
- package/components/cron/src/Common.mjs +1 -1
- package/components/cron/src/Day.mjs +1 -1
- package/components/cron/src/Hour.mjs +1 -1
- package/components/cron/src/Minute.mjs +1 -1
- package/components/cron/src/Month.mjs +1 -1
- package/components/cron/src/Picker.mjs +6 -6
- package/components/cron/src/Second.mjs +1 -1
- package/components/cron/src/cron.mjs +1 -1
- package/components/custom-page-list/index.mjs +1 -1
- package/components/custom-page-list/src/custom-page-list.mjs +1 -1
- package/components/custom-page-table/index.mjs +1 -1
- package/components/custom-page-table/src/custom-page-table.mjs +1 -1
- package/components/form/index.mjs +1 -1
- package/components/form/src/form.mjs +1 -1
- package/components/index.mjs +9 -9
- package/components/overview/index.mjs +1 -1
- package/components/overview/src/DicLabel/Index.mjs +1 -1
- package/components/overview/src/IndexItem.mjs +1 -1
- package/components/overview/src/overview.mjs +1 -1
- package/components/page-list/index.mjs +1 -1
- package/components/page-list/src/page-list.d.ts +1 -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/pagination/index.mjs +1 -1
- package/components/pagination/src/pagination.mjs +1 -1
- package/components/provider/index.mjs +1 -1
- package/components/provider/src/Provider.mjs +1 -1
- package/components/radio-group/index.mjs +1 -1
- package/components/radio-group/src/radio-group.mjs +1 -1
- package/components/select/index.mjs +1 -1
- package/components/select/src/select.mjs +1 -1
- package/components/select-sys-user/index.mjs +1 -1
- package/components/select-sys-user/src/Picker.mjs +2 -2
- package/components/select-sys-user/src/select-sys-user.mjs +1 -1
- package/components/table/index.mjs +1 -1
- package/components/table/src/table.mjs +1 -1
- package/components/tree/index.mjs +1 -1
- package/components/tree/src/tree.mjs +1 -1
- package/components/tree-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.d.ts +1 -3
- package/components/upload/src/upload.mjs +1 -1
- package/hooks/useDicOptions/index.mjs +1 -1
- package/hooks/useSysUser/index.mjs +1 -1
- package/index.html +1 -1
- package/layout/Entry.mjs +1 -1
- package/layout/Home.mjs +1 -1
- package/layout/Home1.mjs +2 -2
- package/layout/Login.mjs +2 -2
- package/layout/NotFound.mjs +1 -1
- package/layout/modules/Aside.mjs +1 -1
- package/layout/modules/Breadcrumb.mjs +1 -1
- package/layout/modules/Header.mjs +1 -1
- package/layout/modules/LoginBg.mjs +1 -1
- package/layout/profile/Index.mjs +2 -2
- package/layout/profile/ResetPwd.mjs +1 -1
- package/layout/profile/UserInfo.mjs +1 -1
- package/main.mjs +2 -2
- package/package.json +1 -1
- package/plugins/autoImport/$alova/index.mjs +1 -1
- package/plugins/autoImport/$confirm/index.mjs +1 -1
- package/plugins/autoImport/$dialog/index.mjs +1 -1
- package/plugins/autoImport/$drawer/index.mjs +1 -1
- package/plugins/captcha/captcha.mjs +1 -1
- package/plugins/captcha/index.mjs +1 -1
- package/plugins/initialize/webUpdateNotify.mjs +1 -1
- package/plugins/tableRenders/cell/Buttons/Index.mjs +1 -1
- package/plugins/tableRenders/cell/DicLabel/Index.mjs +1 -1
- package/plugins/tableRenders/cell/Select/Index.mjs +1 -1
- package/plugins/tableRenders/cell/index.mjs +3 -3
- package/proj-template/package.json +0 -5
- 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/types/env.d.ts +1 -0
- package/views/monitor/cache/index.mjs +2 -2
- package/views/monitor/cacheList/index.mjs +2 -2
- package/views/monitor/logininfor/index.mjs +2 -2
- package/views/monitor/online/index.mjs +2 -2
- package/views/monitor/operlog/index.mjs +2 -2
- package/views/monitor/server/index.mjs +2 -2
- package/views/system/config/index.mjs +2 -2
- package/views/system/dept/index.mjs +2 -2
- package/views/system/dept/utils.mjs +1 -1
- package/views/system/dict/index.mjs +3 -3
- package/views/system/dict/modules/DictTypeDetail.mjs +1 -1
- package/views/system/menu/index.mjs +2 -2
- package/views/system/menu/utils.mjs +1 -1
- 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 +142 -116
- package/views/system/user/index.vue.d.ts +5 -1
- package/views/tool/gen/editTable/index.mjs +4 -4
- 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 +4 -4
- package/views/tool/gen/modules/Import.mjs +1 -1
- package/views/tool/gen/modules/Preview.mjs +1 -1
- package/views/tool/job/index.mjs +3 -3
- package/views/tool/job/modules/Log.mjs +1 -1
- package/README.md +0 -22
|
@@ -24,11 +24,6 @@
|
|
|
24
24
|
"build-proj-template": "tsx node_modules/dlzn-ui/proj-template/apply.ts"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@dlzn-ui/eslint-config": "^2.0.53",
|
|
28
|
-
"@dlzn-ui/prettier-config": "^2.0.53",
|
|
29
|
-
"@dlzn-ui/stylelint-config": "^2.0.53",
|
|
30
|
-
"@dlzn-ui/vite-config": "^2.0.53",
|
|
31
|
-
"dlzn-ui": "^2.0.53"
|
|
32
27
|
},
|
|
33
28
|
"devDependencies": {
|
|
34
29
|
"jiti": "^2.7.0",
|
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-CNLV7Wbf.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 { B as e } from "../../chunks/provider-
|
|
1
|
+
import { B as e } from "../../chunks/provider-CNLV7Wbf.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-CNLV7Wbf.mjs";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { z as e } from "../../chunks/provider-
|
|
1
|
+
import { z as e } from "../../chunks/provider-CNLV7Wbf.mjs";
|
|
2
2
|
export { e as default };
|
package/store/modules/router.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { L as e, R as t } from "../../chunks/provider-
|
|
1
|
+
import { L as e, R as t } from "../../chunks/provider-CNLV7Wbf.mjs";
|
|
2
2
|
export { t as default, e as getRoutersMethod };
|
package/store/modules/user.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as e, r as t } from "../../chunks/provider-
|
|
1
|
+
import { i as e, r as t } from "../../chunks/provider-CNLV7Wbf.mjs";
|
|
2
2
|
export { e as default, t as getUserInfoMethod };
|
package/types/env.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { S as e } from "../../../chunks/provider-
|
|
1
|
+
import { S as e } from "../../../chunks/provider-CNLV7Wbf.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-DTPXpAAP.mjs";
|
|
5
5
|
import "../../../components/table/index.mjs";
|
|
6
6
|
import { t as r } from "../../../chunks/echarts-C3EKKtvU.mjs";
|
|
7
7
|
import { computed as i, createElementBlock as a, createVNode as o, defineComponent as s, normalizeStyle as c, openBlock as l, unref as u, withCtx as d } from "vue";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { S as e, n as t, o as n } from "../../../chunks/provider-
|
|
1
|
+
import { S as e, n as t, o as n } from "../../../chunks/provider-CNLV7Wbf.mjs";
|
|
2
2
|
import r from "../../../plugins/autoImport/$msg/index.mjs";
|
|
3
3
|
import { t as i } from "../../../chunks/card-Domqu1Hz.mjs";
|
|
4
4
|
import "../../../components/card/index.mjs";
|
|
5
|
-
import { t as a } from "../../../chunks/table-
|
|
5
|
+
import { t as a } from "../../../chunks/table-DTPXpAAP.mjs";
|
|
6
6
|
import "../../../components/table/index.mjs";
|
|
7
7
|
import { computed as o, createElementBlock as s, createTextVNode as c, createVNode as l, defineComponent as u, openBlock as d, reactive as f, ref as p, unref as m, watch as h, withCtx as g } from "vue";
|
|
8
8
|
//#region ../../packages/dlzn-ui/views/monitor/cacheList/index.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { S as e } from "../../../chunks/provider-
|
|
2
|
-
import { t } from "../../../chunks/page-list-
|
|
1
|
+
import { S as e } from "../../../chunks/provider-CNLV7Wbf.mjs";
|
|
2
|
+
import { t } from "../../../chunks/page-list-UaWlQCGJ.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-CNLV7Wbf.mjs";
|
|
2
|
+
import { t } from "../../../chunks/page-list-UaWlQCGJ.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 { H as e, S as t, o as n } from "../../../chunks/provider-
|
|
2
|
-
import { t as r } from "../../../chunks/page-list-
|
|
1
|
+
import { H as e, S as t, o as n } from "../../../chunks/provider-CNLV7Wbf.mjs";
|
|
2
|
+
import { t as r } from "../../../chunks/page-list-UaWlQCGJ.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-CNLV7Wbf.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-DTPXpAAP.mjs";
|
|
5
5
|
import "../../../components/table/index.mjs";
|
|
6
6
|
import { computed as r, createElementBlock as i, createVNode as a, defineComponent as o, openBlock as s, unref as c, withCtx as l } from "vue";
|
|
7
7
|
import { useRequest as u } from "alova/client";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { S as e, V as t, o as n } from "../../../chunks/provider-
|
|
1
|
+
import { S as e, V as t, o as n } from "../../../chunks/provider-CNLV7Wbf.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-UaWlQCGJ.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 { S as e, V as t, o as n } from "../../../chunks/provider-
|
|
1
|
+
import { S as e, V as t, o as n } from "../../../chunks/provider-CNLV7Wbf.mjs";
|
|
2
2
|
import "../../../chunks/utils-ag05P503.mjs";
|
|
3
3
|
import { flatArrToTree as r } from "../../../utils/tree.mjs";
|
|
4
4
|
import i from "../../../plugins/autoImport/$msg/index.mjs";
|
|
5
|
-
import { t as a } from "../../../chunks/page-list-
|
|
5
|
+
import { t as a } from "../../../chunks/page-list-UaWlQCGJ.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";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as e } from "../../../chunks/provider-
|
|
1
|
+
import { S as e } from "../../../chunks/provider-CNLV7Wbf.mjs";
|
|
2
2
|
import "../../../chunks/utils-ag05P503.mjs";
|
|
3
3
|
import { flatArrToTree as t } from "../../../utils/tree.mjs";
|
|
4
4
|
import { useRequest as n } from "alova/client";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { H as e, S as t, V as n, o as r } from "../../../chunks/provider-
|
|
1
|
+
import { H as e, S as t, V as n, o as r } from "../../../chunks/provider-CNLV7Wbf.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-UaWlQCGJ.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-ihwR7SU2.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-ihwR7SU2.mjs";
|
|
2
2
|
export { e as default };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { S as e, V as t, n, o as r } from "../../../chunks/provider-
|
|
1
|
+
import { S as e, V as t, n, o as r } from "../../../chunks/provider-CNLV7Wbf.mjs";
|
|
2
2
|
import { t as i } from "../../../chunks/icon-DcFIQ_yG.mjs";
|
|
3
3
|
import "../../../components/icon/index.mjs";
|
|
4
4
|
import { isFalsy as a } from "../../../utils/boolean.mjs";
|
|
5
5
|
import "../../../chunks/utils-ag05P503.mjs";
|
|
6
6
|
import { flatArrToTree as o } from "../../../utils/tree.mjs";
|
|
7
7
|
import s from "../../../plugins/autoImport/$msg/index.mjs";
|
|
8
|
-
import { t as c } from "../../../chunks/page-list-
|
|
8
|
+
import { t as c } from "../../../chunks/page-list-UaWlQCGJ.mjs";
|
|
9
9
|
import "../../../components/page-list/index.mjs";
|
|
10
10
|
import { useMenuTree as l } from "./utils.mjs";
|
|
11
11
|
import { createBlock as u, defineComponent as d, h as f, mergeProps as p, openBlock as m, reactive as h, ref as g, unref as _, useTemplateRef as v, watch as y } from "vue";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as e } from "../../../chunks/provider-
|
|
1
|
+
import { S as e } from "../../../chunks/provider-CNLV7Wbf.mjs";
|
|
2
2
|
import "../../../chunks/utils-ag05P503.mjs";
|
|
3
3
|
import { flatArrToTree as t } from "../../../utils/tree.mjs";
|
|
4
4
|
import { useRequest as n } from "alova/client";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { S as e, V as t, o as n } from "../../../chunks/provider-
|
|
1
|
+
import { S as e, V as t, o as n } from "../../../chunks/provider-CNLV7Wbf.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-UaWlQCGJ.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 { S as e, V as t, o as n } from "../../../chunks/provider-
|
|
1
|
+
import { S as e, V as t, o as n } from "../../../chunks/provider-CNLV7Wbf.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-UaWlQCGJ.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 { H as e, S as t, V as n, o as r } from "../../../chunks/provider-
|
|
1
|
+
import { H as e, S as t, V as n, o as r } from "../../../chunks/provider-CNLV7Wbf.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-UaWlQCGJ.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-oglCtKHG.mjs";
|
|
6
|
+
import { t as s } from "../../../chunks/SelectDept-CakQvq5T.mjs";
|
|
7
|
+
import { t as c } from "../../../chunks/SelectMenu-DlFwZ8W1.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-oglCtKHG.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-CakQvq5T.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-DlFwZ8W1.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-BKrJzbyH.mjs";
|
|
2
2
|
export { e as default };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { N as e, S as t, V as n, o as r } from "../../../chunks/provider-
|
|
1
|
+
import { N as e, S as t, V as n, o as r } from "../../../chunks/provider-CNLV7Wbf.mjs";
|
|
2
2
|
import { n as i } from "../../../chunks/useAppContext-D47amIp5.mjs";
|
|
3
3
|
import { passwordReg as a, passwordRegMessage as o } from "../../../constants/regs.mjs";
|
|
4
4
|
import s from "../../../plugins/autoImport/$msg/index.mjs";
|
|
5
|
-
import { t as c } from "../../../chunks/table-
|
|
5
|
+
import { t as c } from "../../../chunks/table-DTPXpAAP.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-UaWlQCGJ.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";
|
|
@@ -15,14 +15,15 @@ var w = /* @__PURE__ */ p({
|
|
|
15
15
|
__name: "index",
|
|
16
16
|
props: {
|
|
17
17
|
formItemMap: {},
|
|
18
|
+
operations: {},
|
|
18
19
|
tableColumns: {}
|
|
19
20
|
},
|
|
20
|
-
setup(p) {
|
|
21
|
-
let
|
|
21
|
+
setup(p, { expose: w }) {
|
|
22
|
+
let T = p;
|
|
22
23
|
g(() => {
|
|
23
24
|
d();
|
|
24
25
|
});
|
|
25
|
-
let { send:
|
|
26
|
+
let { send: E } = C((e) => t.Get(`system/user/${e}`, { meta: { useDataResult: !1 } }), { immediate: !1 }), D = x("pageListRef"), O = {
|
|
26
27
|
deptId: v({
|
|
27
28
|
_label: "归属部门",
|
|
28
29
|
_required: !0,
|
|
@@ -94,7 +95,13 @@ var w = /* @__PURE__ */ p({
|
|
|
94
95
|
dicCode: "sys_normal_disable",
|
|
95
96
|
model: "status"
|
|
96
97
|
},
|
|
97
|
-
|
|
98
|
+
userType: {
|
|
99
|
+
_label: "用户类型",
|
|
100
|
+
component: "TSelect",
|
|
101
|
+
dicCode: "sys_user_type",
|
|
102
|
+
model: "userType"
|
|
103
|
+
},
|
|
104
|
+
...VITE_APP_ID === "1" ? { ...T.formItemMap ?? {} } : {},
|
|
98
105
|
userName: {
|
|
99
106
|
_label: "登录账号",
|
|
100
107
|
_required: !0,
|
|
@@ -108,7 +115,7 @@ var w = /* @__PURE__ */ p({
|
|
|
108
115
|
component: "TInput",
|
|
109
116
|
model: "userName"
|
|
110
117
|
}
|
|
111
|
-
},
|
|
118
|
+
}, k = {
|
|
112
119
|
apis: {
|
|
113
120
|
export: {
|
|
114
121
|
method: "system/user/export",
|
|
@@ -131,7 +138,16 @@ var w = /* @__PURE__ */ p({
|
|
|
131
138
|
colKey: "userName",
|
|
132
139
|
title: "登录账号"
|
|
133
140
|
},
|
|
134
|
-
|
|
141
|
+
{
|
|
142
|
+
cell: {
|
|
143
|
+
component: "DicLabel",
|
|
144
|
+
dicCode: "sys_user_type"
|
|
145
|
+
},
|
|
146
|
+
colKey: "userType",
|
|
147
|
+
title: "用户类型",
|
|
148
|
+
visible: VITE_APP_ID !== "1"
|
|
149
|
+
},
|
|
150
|
+
...["1", "2"].includes(VITE_APP_ID) ? T.tableColumns ?? [] : [],
|
|
135
151
|
{
|
|
136
152
|
colKey: "nickName",
|
|
137
153
|
title: "用户昵称"
|
|
@@ -151,7 +167,7 @@ var w = /* @__PURE__ */ p({
|
|
|
151
167
|
return await n(`确认${e}${r.userName}用户吗?`), await t.Put("system/user/changeStatus", {
|
|
152
168
|
status: r.status === "1" ? "0" : "1",
|
|
153
169
|
userId: r.userId
|
|
154
|
-
}, { meta: { useSuccessMsg: !0 } }),
|
|
170
|
+
}, { meta: { useSuccessMsg: !0 } }), D.value.query(), !0;
|
|
155
171
|
},
|
|
156
172
|
component: "Switch",
|
|
157
173
|
customValue: ["0", "1"]
|
|
@@ -185,7 +201,7 @@ var w = /* @__PURE__ */ p({
|
|
|
185
201
|
({ row: i }) => ({
|
|
186
202
|
default: "编辑",
|
|
187
203
|
onClick: async () => {
|
|
188
|
-
let { data: a, postIds: o, posts: c, roleIds: l, roles: u } = await
|
|
204
|
+
let { data: a, postIds: o, posts: c, roleIds: l, roles: u } = await E(i.userId), d = y(null);
|
|
189
205
|
S(d, () => {
|
|
190
206
|
d.value.setFormData(a, { splitToArrKeys: VITE_APP_ID === "1" ? ["userDeptIds"] : [] });
|
|
191
207
|
}, { once: !0 }), n({
|
|
@@ -195,15 +211,16 @@ var w = /* @__PURE__ */ p({
|
|
|
195
211
|
roleIds: l
|
|
196
212
|
}),
|
|
197
213
|
items: [
|
|
198
|
-
|
|
199
|
-
...VITE_APP_ID === "1" ?
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
214
|
+
O.nickName,
|
|
215
|
+
...VITE_APP_ID === "1" ? [] : [O.userType],
|
|
216
|
+
...VITE_APP_ID === "1" ? Object.values(T.formItemMap ?? {}) : [],
|
|
217
|
+
O.deptId,
|
|
218
|
+
O.phonenumber,
|
|
219
|
+
O.email,
|
|
220
|
+
O.sex,
|
|
221
|
+
O.status,
|
|
205
222
|
{
|
|
206
|
-
...
|
|
223
|
+
...O.postIds,
|
|
207
224
|
options: c.map((e) => ({
|
|
208
225
|
disabled: e.status === "1",
|
|
209
226
|
label: e.postName,
|
|
@@ -211,14 +228,14 @@ var w = /* @__PURE__ */ p({
|
|
|
211
228
|
}))
|
|
212
229
|
},
|
|
213
230
|
{
|
|
214
|
-
...
|
|
231
|
+
...O.roleIds,
|
|
215
232
|
options: u.map((e) => ({
|
|
216
233
|
disabled: e.status === "1",
|
|
217
234
|
label: e.roleName,
|
|
218
235
|
value: e.roleId
|
|
219
236
|
}))
|
|
220
237
|
},
|
|
221
|
-
|
|
238
|
+
O.remark
|
|
222
239
|
],
|
|
223
240
|
ref: d
|
|
224
241
|
}),
|
|
@@ -230,7 +247,7 @@ var w = /* @__PURE__ */ p({
|
|
|
230
247
|
...VITE_APP_ID === "1" ? { userDeptIds: n.userDeptIds.join(",") } : {},
|
|
231
248
|
userId: a.userId,
|
|
232
249
|
userName: a.userName
|
|
233
|
-
}), e(a.userId), s.success("用户修改成功"),
|
|
250
|
+
}), e(a.userId), s.success("用户修改成功"), D.value.query();
|
|
234
251
|
},
|
|
235
252
|
width: 730
|
|
236
253
|
});
|
|
@@ -262,7 +279,7 @@ var w = /* @__PURE__ */ p({
|
|
|
262
279
|
await t.Put("system/user/resetPwd", {
|
|
263
280
|
password: n,
|
|
264
281
|
userId: e.userId
|
|
265
|
-
}), i(`密码修改成功,新密码是:${n}`),
|
|
282
|
+
}), i(`密码修改成功,新密码是:${n}`), D.value.query();
|
|
266
283
|
},
|
|
267
284
|
width: 430
|
|
268
285
|
});
|
|
@@ -312,7 +329,7 @@ var w = /* @__PURE__ */ p({
|
|
|
312
329
|
roleIds: a.value.selectedRowKeys.join(","),
|
|
313
330
|
userId: e.userId
|
|
314
331
|
}
|
|
315
|
-
}),
|
|
332
|
+
}), D.value.query();
|
|
316
333
|
},
|
|
317
334
|
width: 800
|
|
318
335
|
});
|
|
@@ -326,7 +343,7 @@ var w = /* @__PURE__ */ p({
|
|
|
326
343
|
popconfirm: {
|
|
327
344
|
content: "确认删除吗",
|
|
328
345
|
onConfirm: async () => {
|
|
329
|
-
await t.Delete(`system/user/${e.userId}`), s("删除成功"),
|
|
346
|
+
await t.Delete(`system/user/${e.userId}`), s("删除成功"), D.value.query();
|
|
330
347
|
}
|
|
331
348
|
},
|
|
332
349
|
show: e.userId !== "1"
|
|
@@ -339,12 +356,13 @@ var w = /* @__PURE__ */ p({
|
|
|
339
356
|
}
|
|
340
357
|
],
|
|
341
358
|
formItems: [
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
359
|
+
O.deptId,
|
|
360
|
+
O.userName,
|
|
361
|
+
...VITE_APP_ID === "1" ? [] : [O.userType],
|
|
362
|
+
O.nickName,
|
|
363
|
+
O.phonenumber,
|
|
346
364
|
{
|
|
347
|
-
...
|
|
365
|
+
...O.status,
|
|
348
366
|
component: "TSelect"
|
|
349
367
|
},
|
|
350
368
|
{
|
|
@@ -355,96 +373,104 @@ var w = /* @__PURE__ */ p({
|
|
|
355
373
|
type: "daterange"
|
|
356
374
|
}
|
|
357
375
|
],
|
|
358
|
-
operations: [
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
onClick: async () => {
|
|
410
|
-
let e = y(null);
|
|
411
|
-
n({
|
|
412
|
-
body: () => m(r, {
|
|
413
|
-
items: [{
|
|
414
|
-
_required: !0,
|
|
415
|
-
component: "TUpload",
|
|
416
|
-
downloadTemplate: t.Post("system/user/importTemplate", {}, { meta: {
|
|
417
|
-
useDownload: "用户管理导入模板.xlsx",
|
|
418
|
-
useResponseBlob: !0
|
|
419
|
-
} }),
|
|
420
|
-
model: "file",
|
|
421
|
-
tips: "请下载模板,并按照模板格式导入"
|
|
422
|
-
}, {
|
|
423
|
-
component: "TCheckbox",
|
|
424
|
-
label: "是否更新已经存在的用户数据",
|
|
425
|
-
model: "updateSupport"
|
|
426
|
-
}],
|
|
427
|
-
ref: e
|
|
428
|
-
}),
|
|
429
|
-
header: "导入用户",
|
|
430
|
-
onConfirmCallback: async () => {
|
|
431
|
-
let n = await e.value.validate();
|
|
432
|
-
await t.Post("system/user/importData", { file: n.file[0].raw }, {
|
|
433
|
-
meta: { useFormData: !0 },
|
|
434
|
-
params: { updateSupport: n.updateSupport }
|
|
435
|
-
}), E.value.query();
|
|
436
|
-
},
|
|
437
|
-
width: 480
|
|
438
|
-
});
|
|
376
|
+
operations: [
|
|
377
|
+
{
|
|
378
|
+
default: "新增",
|
|
379
|
+
onClick: async () => {
|
|
380
|
+
let { posts: e, roles: i } = await E(""), a = y(null);
|
|
381
|
+
n({
|
|
382
|
+
body: () => m(r, {
|
|
383
|
+
data: v({ status: "0" }),
|
|
384
|
+
items: [
|
|
385
|
+
O.nickName,
|
|
386
|
+
...VITE_APP_ID === "1" ? [] : [O.userType],
|
|
387
|
+
...VITE_APP_ID === "1" ? Object.values(T.formItemMap) : [],
|
|
388
|
+
O.deptId,
|
|
389
|
+
O.phonenumber,
|
|
390
|
+
O.email,
|
|
391
|
+
O.userName,
|
|
392
|
+
O.password,
|
|
393
|
+
O.sex,
|
|
394
|
+
O.status,
|
|
395
|
+
{
|
|
396
|
+
...O.postIds,
|
|
397
|
+
options: e.map((e) => ({
|
|
398
|
+
disabled: e.status === "1",
|
|
399
|
+
label: e.postName,
|
|
400
|
+
value: e.postId
|
|
401
|
+
}))
|
|
402
|
+
},
|
|
403
|
+
{
|
|
404
|
+
...O.roleIds,
|
|
405
|
+
options: i.map((e) => ({
|
|
406
|
+
disabled: e.status === "1",
|
|
407
|
+
label: e.roleName,
|
|
408
|
+
value: e.roleId
|
|
409
|
+
}))
|
|
410
|
+
},
|
|
411
|
+
O.remark
|
|
412
|
+
],
|
|
413
|
+
ref: a
|
|
414
|
+
}),
|
|
415
|
+
header: "添加用户",
|
|
416
|
+
onConfirmCallback: async () => {
|
|
417
|
+
let e = await a.value.validate();
|
|
418
|
+
await t.Post("system/user", {
|
|
419
|
+
...e,
|
|
420
|
+
...VITE_APP_ID === "1" ? { userDeptIds: e.userDeptIds.join(",") } : {}
|
|
421
|
+
}), s.success("用户添加成功"), D.value.query();
|
|
422
|
+
},
|
|
423
|
+
width: 730
|
|
424
|
+
});
|
|
425
|
+
},
|
|
426
|
+
permission: "system:user:add"
|
|
439
427
|
},
|
|
440
|
-
|
|
441
|
-
|
|
428
|
+
...T.operations ?? [],
|
|
429
|
+
{
|
|
430
|
+
default: "导入",
|
|
431
|
+
onClick: async () => {
|
|
432
|
+
let e = y(null);
|
|
433
|
+
n({
|
|
434
|
+
body: () => m(r, {
|
|
435
|
+
items: [{
|
|
436
|
+
_required: !0,
|
|
437
|
+
component: "TUpload",
|
|
438
|
+
downloadTemplate: t.Post("system/user/importTemplate", {}, { meta: {
|
|
439
|
+
useDownload: "用户管理导入模板.xlsx",
|
|
440
|
+
useResponseBlob: !0
|
|
441
|
+
} }),
|
|
442
|
+
model: "file",
|
|
443
|
+
tips: "请下载模板,并按照模板格式导入"
|
|
444
|
+
}, {
|
|
445
|
+
component: "TCheckbox",
|
|
446
|
+
label: "是否更新已经存在的用户数据",
|
|
447
|
+
model: "updateSupport"
|
|
448
|
+
}],
|
|
449
|
+
ref: e
|
|
450
|
+
}),
|
|
451
|
+
header: "导入用户",
|
|
452
|
+
onConfirmCallback: async () => {
|
|
453
|
+
let n = await e.value.validate();
|
|
454
|
+
await t.Post("system/user/importData", { file: n.file[0].raw }, {
|
|
455
|
+
meta: { useFormData: !0 },
|
|
456
|
+
params: { updateSupport: n.updateSupport }
|
|
457
|
+
}), D.value.query();
|
|
458
|
+
},
|
|
459
|
+
width: 480
|
|
460
|
+
});
|
|
461
|
+
},
|
|
462
|
+
permission: "system:user:import",
|
|
463
|
+
show: VITE_APP_ID !== "2"
|
|
464
|
+
}
|
|
465
|
+
],
|
|
442
466
|
tableOtherProps: { rowKey: "userId" }
|
|
443
467
|
};
|
|
444
|
-
return (
|
|
468
|
+
return w({ query: () => {
|
|
469
|
+
D.value.query();
|
|
470
|
+
} }), (e, t) => (_(), f(b(l), h({
|
|
445
471
|
ref_key: "pageListRef",
|
|
446
|
-
ref:
|
|
447
|
-
},
|
|
472
|
+
ref: D
|
|
473
|
+
}, k), null, 16));
|
|
448
474
|
}
|
|
449
475
|
});
|
|
450
476
|
//#endregion
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
import { FormItem } from '../../../components/form';
|
|
2
|
+
import { PageListProps } from '../../../components/page-list';
|
|
2
3
|
import { TableCol } from '../../../components/table';
|
|
3
4
|
type __VLS_Props = {
|
|
4
5
|
formItemMap?: Record<string, FormItem>;
|
|
6
|
+
operations?: PageListProps['operations'];
|
|
5
7
|
tableColumns?: TableCol[];
|
|
6
8
|
};
|
|
7
|
-
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {
|
|
9
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {
|
|
10
|
+
query: () => void;
|
|
11
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
8
12
|
declare const _default: typeof __VLS_export;
|
|
9
13
|
export default _default;
|