dlzn-ui 2.0.5 → 2.0.7
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/IndexItem-CfYDJ95Q.css +1 -0
- package/assets/LoginBg-XqWOv7dJ.css +1 -0
- package/assets/main-CxSb5Gqw.css +2 -0
- package/assets/{button-Be7wyDo4.css → provider-1BcdscQq.css} +1 -1
- package/chunks/AssignUser-BPrzGjCg.mjs +124 -0
- package/chunks/{Common-B5NscAh_.mjs → Common-Ds4A0g73.mjs} +7 -7
- package/chunks/{Day-Ci8nR_Ll.mjs → Day-CWWVjsXu.mjs} +13 -13
- package/chunks/{DictTypeDetail-B_aSmp0m.mjs → DictTypeDetail-ijxK2MDm.mjs} +7 -7
- package/chunks/{Hour-C1yYXl7B.mjs → Hour-D-2s4xgR.mjs} +1 -1
- package/chunks/{Index-BxpYRhO7.mjs → Index-7ubKF9v4.mjs} +1 -1
- package/chunks/{Index-DU8S7od8.mjs → Index-CZnP6jHo.mjs} +1 -1
- package/chunks/{Index-UHMQ6ORy.mjs → Index-D0dEcWw2.mjs} +1 -1
- package/chunks/{Index-CHfwy4gI.mjs → Index-DhkEiAro.mjs} +5 -5
- package/chunks/{Index-Bb9OwRGB.mjs → Index-DoPLbOv7.mjs} +1 -1
- package/chunks/{Index-Z81MxcDh.mjs → Index-az-w01U3.mjs} +1 -1
- package/chunks/{IndexItem-BWoJrz24.mjs → IndexItem-KlRJte7i.mjs} +8 -8
- package/chunks/Log-LYCmf0zI.mjs +213 -0
- package/chunks/{LoginBg-B1auGWuJ.mjs → LoginBg-BtuSDFUq.mjs} +11 -19
- package/chunks/{MenuNode-Dp1kCBvH.mjs → MenuNode-6Nca-v9i.mjs} +2 -2
- package/chunks/{Minute-CA5DlXsq.mjs → Minute-8BpPY8V6.mjs} +1 -1
- package/chunks/{Month-D-4ld14M.mjs → Month-C5iIZpY7.mjs} +1 -1
- package/chunks/{Second-RPGoCkey.mjs → Second-BKF09AKl.mjs} +1 -1
- package/chunks/SelectDept-C78pnJtp.mjs +68 -0
- package/chunks/SelectMenu-B2-QkHU2.mjs +68 -0
- package/chunks/SelectUser-BuE4Lgm0.mjs +57 -0
- package/chunks/{UserInfo-CrBlooGu.mjs → UserInfo-uDVj4WPH.mjs} +11 -11
- package/chunks/{Wrapper-LEchQmDn.mjs → Wrapper-C6BtJDSa.mjs} +5 -5
- package/chunks/{app-DiNoDaOD.mjs → app-BXskd1Ae.mjs} +4 -4
- package/chunks/{custom-page-list-DF3Qw4y7.mjs → custom-page-list-r5EUcg98.mjs} +4 -4
- package/chunks/{custom-page-table-CH09hGDM.mjs → custom-page-table-D1FmkEop.mjs} +2 -2
- package/chunks/{overview-BQQnpz4N.mjs → overview-BCXuALeB.mjs} +1 -1
- package/chunks/{page-list-BjjvOqb5.mjs → page-list-Zp_EiMZd.mjs} +36 -36
- package/chunks/{page-query-BCNFOYTD.mjs → page-query-CxZBtQht.mjs} +5 -5
- package/chunks/{page-table-VeEt8uuI.mjs → page-table-BpyyKTMq.mjs} +9 -9
- package/chunks/{pagination-BuhM6NW1.mjs → pagination-y5tkmGDM.mjs} +1 -1
- package/chunks/{button-BcpR95gj.mjs → provider-C6TTHGoz.mjs} +429 -433
- package/chunks/{table-B3z8z5O8.mjs → table-2Eqd8Kcx.mjs} +10 -10
- 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/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/image-viewer/src/image-viewer.vue.d.ts +1 -1
- package/components/index.mjs +11 -11
- 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 +3 -3
- package/components/page-list/src/page-list.mjs +1 -1
- package/components/page-query/index.mjs +1 -1
- package/components/page-query/src/page-query.mjs +1 -1
- package/components/page-table/index.mjs +1 -1
- package/components/page-table/src/page-table.mjs +1 -1
- package/components/page-table/src/page-table.vue.d.ts +1 -1
- package/components/pagination/index.mjs +1 -1
- package/components/pagination/src/pagination.mjs +1 -1
- package/components/provider/index.mjs +1 -1
- package/components/provider/src/Provider.mjs +1 -1
- package/components/radio-group/index.mjs +1 -1
- package/components/radio-group/src/radio-group.mjs +1 -1
- package/components/select/index.mjs +2 -2
- package/components/select/src/select.mjs +1 -1
- package/components/select-sys-user/index.mjs +1 -1
- package/components/select-sys-user/src/Picker.mjs +2 -2
- package/components/select-sys-user/src/select-sys-user.mjs +1 -1
- package/components/table/index.mjs +1 -1
- package/components/table/src/table.mjs +1 -1
- package/components/table/src/table.vue.d.ts +1 -1
- package/components/tree/index.mjs +2 -2
- package/components/tree/src/tree.mjs +1 -1
- package/components/tree-select/index.mjs +1 -1
- package/components/tree-select/src/tree-select.mjs +1 -1
- package/components/upload/index.mjs +2 -2
- package/components/upload/src/upload.mjs +1 -1
- package/hooks/useDicOptions/index.mjs +2 -2
- package/hooks/useSysUser/index.mjs +2 -2
- package/index.d.ts +3 -0
- package/layout/Entry.mjs +2 -0
- package/layout/Login.mjs +5 -5
- package/layout/NotFound.mjs +1 -1
- package/layout/{index2.mjs → index.mjs} +1 -1
- package/layout/modules/Aside.mjs +1 -1
- package/layout/modules/Breadcrumb.mjs +1 -1
- package/layout/modules/Header.mjs +1 -1
- package/layout/modules/LoginBg.mjs +1 -1
- package/layout/modules/MenuNode.mjs +1 -1
- package/layout/profile/Index.mjs +4 -4
- package/layout/profile/ResetPwd.mjs +1 -1
- package/layout/profile/UserInfo.mjs +1 -1
- package/main.d.ts +2 -0
- package/main.mjs +14 -0
- package/package.json +13 -1
- package/plugins/autoImport/$alova/index.mjs +2 -2
- package/plugins/autoImport/$confirm/index.mjs +1 -1
- package/plugins/autoImport/$dialog/index.mjs +1 -1
- package/plugins/autoImport/$drawer/index.mjs +1 -1
- package/plugins/captcha/captcha.mjs +12 -12
- package/plugins/captcha/index.mjs +1 -1
- package/plugins/initialize/webUpdateNotify.mjs +1 -1
- package/plugins/tableRenders/Wrapper.mjs +1 -1
- package/plugins/tableRenders/cell/Buttons/Index.mjs +1 -1
- package/plugins/tableRenders/cell/DicLabel/Index.mjs +1 -1
- package/plugins/tableRenders/cell/ImageViewer/Index.vue.d.ts +1 -1
- package/plugins/tableRenders/cell/Select/Index.mjs +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 +6 -6
- package/plugins/tableRenders/title/index.mjs +1 -1
- 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 +2 -2
- package/views/index.mjs +9 -1
- package/views/system/dept/index.mjs +256 -0
- package/views/system/dept/index.vue.d.ts +3 -0
- package/views/system/dept/utils.d.ts +2 -0
- package/views/system/dept/utils.mjs +15 -0
- package/views/system/dict/index.mjs +18 -18
- package/views/system/dict/modules/DictTypeDetail.mjs +1 -1
- package/views/system/menu/index.mjs +407 -0
- package/views/system/menu/index.vue.d.ts +3 -0
- package/views/system/post/index.mjs +182 -0
- package/views/system/post/index.vue.d.ts +3 -0
- package/views/system/role/index.mjs +319 -0
- package/views/system/role/index.vue.d.ts +3 -0
- package/views/system/role/modules/AssignUser.mjs +2 -0
- package/views/system/role/modules/AssignUser.vue.d.ts +6 -0
- package/views/system/role/modules/SelectDept.mjs +2 -0
- package/views/system/role/modules/SelectDept.vue.d.ts +6 -0
- package/views/system/role/modules/SelectMenu.mjs +2 -0
- package/views/system/role/modules/SelectMenu.vue.d.ts +6 -0
- package/views/system/role/modules/SelectUser.mjs +2 -0
- package/views/system/role/modules/SelectUser.vue.d.ts +11 -0
- package/views/system/user/index.mjs +451 -0
- package/views/system/user/index.vue.d.ts +9 -0
- package/views/tool/job/index.mjs +297 -0
- package/views/tool/job/index.vue.d.ts +3 -0
- package/views/tool/job/modules/Log.mjs +2 -0
- package/views/tool/job/modules/Log.vue.d.ts +6 -0
- package/assets/IndexItem-5VrD3wb-.css +0 -1
- package/assets/LoginBg-9HH4oQBJ.css +0 -1
- package/layout/Index.mjs +0 -2
- package/chunks/{date-picker-DtbDIFUH.mjs → date-picker-D15OhWnK.mjs} +1 -1
- /package/layout/{Index.vue.d.ts → Entry.vue.d.ts} +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import e from "virtual:dlzn-ui/app-params";
|
|
2
2
|
var t = {
|
|
3
3
|
.../* @__PURE__ */ Object.assign({
|
|
4
|
+
"./Entry.vue": () => import("./Entry.mjs"),
|
|
4
5
|
"./Home.vue": () => import("./Home.mjs"),
|
|
5
|
-
"./Index.vue": () => import("./Index.mjs"),
|
|
6
6
|
"./Login.vue": () => import("./Login.mjs"),
|
|
7
7
|
"./NotFound.vue": () => import("./NotFound.mjs"),
|
|
8
8
|
"./modules/LoginBg.vue": () => import("./modules/LoginBg.mjs"),
|
package/layout/modules/Aside.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { R as e } from "../../chunks/
|
|
1
|
+
import { R as e } from "../../chunks/provider-C6TTHGoz.mjs";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { L as e } from "../../chunks/
|
|
1
|
+
import { L as e } from "../../chunks/provider-C6TTHGoz.mjs";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { A as e } from "../../chunks/provider-C6TTHGoz.mjs";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../chunks/LoginBg-
|
|
1
|
+
import { t as e } from "../../chunks/LoginBg-BtuSDFUq.mjs";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../chunks/MenuNode-
|
|
1
|
+
import { t as e } from "../../chunks/MenuNode-6Nca-v9i.mjs";
|
|
2
2
|
export { e as default };
|
package/layout/profile/Index.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { S as e, a as t } from "../../chunks/provider-C6TTHGoz.mjs";
|
|
2
2
|
import { isFalsy as n } from "../../utils/boolean.mjs";
|
|
3
3
|
import "../../utils/index.mjs";
|
|
4
4
|
import { t as r } from "../../chunks/card-BfHb58zl.mjs";
|
|
5
5
|
import "../../components/card/index.mjs";
|
|
6
6
|
import { t as i } from "../../chunks/tab-panel-CtYeK29i.mjs";
|
|
7
7
|
import "../../components/tab-panel/index.mjs";
|
|
8
|
-
import { t as a } from "../../chunks/UserInfo-
|
|
8
|
+
import { t as a } from "../../chunks/UserInfo-uDVj4WPH.mjs";
|
|
9
9
|
import { Fragment as o, computed as s, createBlock as c, createElementBlock as l, createVNode as u, defineComponent as d, markRaw as f, openBlock as p, provide as m, ref as h, renderList as g, resolveDynamicComponent as _, unref as v, withCtx as y } from "vue";
|
|
10
10
|
import { List as b, ListItem as x, ListItemMeta as S, Tabs as C } from "tdesign-vue-next";
|
|
11
11
|
import { useRequest as w } from "alova/client";
|
|
@@ -13,7 +13,7 @@ import { useRequest as w } from "alova/client";
|
|
|
13
13
|
var T = { class: "flex gap-4" }, E = /* @__PURE__ */ d({
|
|
14
14
|
__name: "Index",
|
|
15
15
|
setup(d) {
|
|
16
|
-
let { data: E, send: D } = w(
|
|
16
|
+
let { data: E, send: D } = w(e.Get("system/user/profile", { meta: { useDataResult: !1 } }), { initialData: {} }), O = s(() => {
|
|
17
17
|
let e = E.value.data;
|
|
18
18
|
return e === void 0 ? [] : [
|
|
19
19
|
{
|
|
@@ -46,7 +46,7 @@ var T = { class: "flex gap-4" }, E = /* @__PURE__ */ d({
|
|
|
46
46
|
label: "基本资料",
|
|
47
47
|
value: "userInfo"
|
|
48
48
|
}, {
|
|
49
|
-
component: f(
|
|
49
|
+
component: f(t),
|
|
50
50
|
label: "修改密码",
|
|
51
51
|
value: "resetPwd"
|
|
52
52
|
}], A = h(k[0].value);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as e } from "../../chunks/provider-C6TTHGoz.mjs";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../chunks/UserInfo-
|
|
1
|
+
import { t as e } from "../../chunks/UserInfo-uDVj4WPH.mjs";
|
|
2
2
|
export { e as default };
|
package/main.d.ts
ADDED
package/main.mjs
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { D as e, H as t } from "./chunks/provider-C6TTHGoz.mjs";
|
|
2
|
+
import { t as n } from "./chunks/app-BXskd1Ae.mjs";
|
|
3
|
+
import "./components/app/index.mjs";
|
|
4
|
+
import r from "./plugins/directive/index.mjs";
|
|
5
|
+
import i from "./store/index.mjs";
|
|
6
|
+
import "./plugins/initialize/index.mjs";
|
|
7
|
+
import { autoAnimatePlugin as a } from "@formkit/auto-animate/vue";
|
|
8
|
+
import { createApp as o } from "vue";
|
|
9
|
+
import "tdesign-vue-next/es/style/index.css";
|
|
10
|
+
import './assets/main-CxSb5Gqw.css';//#region ../../packages/dlzn-ui/main.ts
|
|
11
|
+
var s = o(n);
|
|
12
|
+
s.config.throwUnhandledErrorInProduction = !0, s.use(i), s.use(e), s.use(r), s.use(a), t().getAppInfo();
|
|
13
|
+
//#endregion
|
|
14
|
+
export { s as default };
|
package/package.json
CHANGED
|
@@ -6,6 +6,10 @@
|
|
|
6
6
|
".": {
|
|
7
7
|
"types": "./index.d.ts"
|
|
8
8
|
},
|
|
9
|
+
"./main": {
|
|
10
|
+
"types": "./main.d.ts",
|
|
11
|
+
"import": "./main.mjs"
|
|
12
|
+
},
|
|
9
13
|
"./components/*": {
|
|
10
14
|
"types": "./components/*/index.d.ts",
|
|
11
15
|
"import": "./components/*/index.mjs"
|
|
@@ -40,6 +44,14 @@
|
|
|
40
44
|
},
|
|
41
45
|
"./index.css": {
|
|
42
46
|
"import": "./assets/css/index.css"
|
|
47
|
+
},
|
|
48
|
+
"./layout/*": {
|
|
49
|
+
"types": "./layout/*.vue.d.ts",
|
|
50
|
+
"import": "./layout/*.mjs"
|
|
51
|
+
},
|
|
52
|
+
"./views/*": {
|
|
53
|
+
"types": "./views/*.vue.d.ts",
|
|
54
|
+
"import": "./views/*.mjs"
|
|
43
55
|
}
|
|
44
56
|
},
|
|
45
57
|
"publishConfig": {
|
|
@@ -93,5 +105,5 @@
|
|
|
93
105
|
"> 1%",
|
|
94
106
|
"not dead"
|
|
95
107
|
],
|
|
96
|
-
"version": "2.0.
|
|
108
|
+
"version": "2.0.7"
|
|
97
109
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { C as e, S as t,
|
|
2
|
-
export {
|
|
1
|
+
import { C as e, S as t, w as n } from "../../../chunks/provider-C6TTHGoz.mjs";
|
|
2
|
+
export { t as default, e as getFilterEmptyParamsObj, n as getParamsString };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { F as e } from "../../../chunks/provider-C6TTHGoz.mjs";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { I as e } from "../../../chunks/provider-C6TTHGoz.mjs";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { O as e } from "../../../chunks/provider-C6TTHGoz.mjs";
|
|
2
2
|
export { e as default };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { S as e, n as t } from "../../chunks/provider-C6TTHGoz.mjs";
|
|
2
2
|
import { t as n } from "../../chunks/icon-COjp1yrx.mjs";
|
|
3
3
|
import "../../components/icon/index.mjs";
|
|
4
4
|
import { aesEncrypt as r } from "../../utils/tool.mjs";
|
|
5
5
|
import "../../utils/index.mjs";
|
|
6
6
|
import { computed as i, createBlock as a, createCommentVNode as o, createElementBlock as s, createElementVNode as c, createVNode as l, defineComponent as u, normalizeClass as d, normalizeStyle as f, onMounted as p, openBlock as m, ref as h, toDisplayString as g, unref as _, useTemplateRef as v, vShow as y, withCtx as b, withDirectives as x } from "vue";
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
7
|
+
import { LoadingDirective as S } from "tdesign-vue-next";
|
|
8
|
+
import { useDraggable as C, useElementSize as w } from "@vueuse/core";
|
|
9
9
|
import { useRequest as T } from "alova/client";
|
|
10
10
|
//#region ../../packages/dlzn-ui/plugins/captcha/captcha.vue?vue&type=script&setup=true&lang.ts
|
|
11
11
|
var E = ["src"], D = ["src"], O = 155, k = /* @__PURE__ */ u({
|
|
12
12
|
__name: "captcha",
|
|
13
13
|
emits: ["success"],
|
|
14
14
|
setup(u, { emit: k }) {
|
|
15
|
-
let A = k, j =
|
|
15
|
+
let A = k, j = S, M = {
|
|
16
16
|
barHeight: 40,
|
|
17
17
|
imgHeight: O,
|
|
18
18
|
imgWidth: 310
|
|
@@ -32,14 +32,14 @@ var E = ["src"], D = ["src"], O = 155, k = /* @__PURE__ */ u({
|
|
|
32
32
|
bgColor: "#d9534f",
|
|
33
33
|
color: "#fff",
|
|
34
34
|
icon: "icon-close"
|
|
35
|
-
}), B = h(0), V = h(""), H = h(""), U = v("dragBlock"), { width: W } =
|
|
35
|
+
}), B = h(0), V = h(""), H = h(""), U = v("dragBlock"), { width: W } = w(L, void 0, { box: "border-box" }), { x: G } = C(U, {
|
|
36
36
|
axis: "x",
|
|
37
37
|
containerElement: L,
|
|
38
|
-
onEnd: async ({ x:
|
|
38
|
+
onEnd: async ({ x: t }) => {
|
|
39
39
|
let n = Date.now();
|
|
40
|
-
(await
|
|
40
|
+
(await e.Post("captcha/check", {
|
|
41
41
|
pointJson: await r(JSON.stringify({
|
|
42
|
-
x:
|
|
42
|
+
x: t,
|
|
43
43
|
y: 5
|
|
44
44
|
}), H.value),
|
|
45
45
|
token: V.value
|
|
@@ -48,7 +48,7 @@ var E = ["src"], D = ["src"], O = 155, k = /* @__PURE__ */ u({
|
|
|
48
48
|
useToken: !1
|
|
49
49
|
} })).repCode === "0000" ? (R.value = "success", I.value = `${((n - B.value) / 1e3).toFixed(2)}s验证成功`, setTimeout(async () => {
|
|
50
50
|
A("success", await r(`${V.value}---${JSON.stringify({
|
|
51
|
-
x:
|
|
51
|
+
x: t,
|
|
52
52
|
y: 5
|
|
53
53
|
})}`, H.value));
|
|
54
54
|
}, 500)) : (R.value = "fail", I.value = "验证失败", setTimeout(() => {
|
|
@@ -61,7 +61,7 @@ var E = ["src"], D = ["src"], O = 155, k = /* @__PURE__ */ u({
|
|
|
61
61
|
},
|
|
62
62
|
preventDefault: !0,
|
|
63
63
|
stopPropagation: !0
|
|
64
|
-
}), K = i(() => Math.min(G.value, W.value - M.barHeight)), { loading: q, send: J } = T(
|
|
64
|
+
}), K = i(() => Math.min(G.value, W.value - M.barHeight)), { loading: q, send: J } = T(e.Post("captcha/get", {}, { meta: {
|
|
65
65
|
useLoading: !1,
|
|
66
66
|
useToken: !1
|
|
67
67
|
} }), { immediate: !1 });
|
|
@@ -75,7 +75,7 @@ var E = ["src"], D = ["src"], O = 155, k = /* @__PURE__ */ u({
|
|
|
75
75
|
function X() {
|
|
76
76
|
I.value = "", G.value = 0, R.value = "default", H.value = "", Y();
|
|
77
77
|
}
|
|
78
|
-
return (
|
|
78
|
+
return (e, r) => x((m(), s("div", {
|
|
79
79
|
class: "relative overflow-hidden",
|
|
80
80
|
style: f({ width: `${M.imgWidth}px` }),
|
|
81
81
|
onSelectstart: () => !1
|
|
@@ -87,7 +87,7 @@ var E = ["src"], D = ["src"], O = 155, k = /* @__PURE__ */ u({
|
|
|
87
87
|
class: "block h-full w-full",
|
|
88
88
|
src: P.value ? `data:image/png;base64,${P.value}` : _(N)
|
|
89
89
|
}, null, 8, E),
|
|
90
|
-
l(_(
|
|
90
|
+
l(_(t), {
|
|
91
91
|
class: "absolute! top-0 right-0",
|
|
92
92
|
shape: "square",
|
|
93
93
|
variant: "text",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { I as e } from "../../chunks/provider-C6TTHGoz.mjs";
|
|
2
2
|
import { defineAsyncComponent as t, h as n } from "vue";
|
|
3
3
|
//#region ../../packages/dlzn-ui/plugins/captcha/index.ts
|
|
4
4
|
var r = () => new Promise((r) => {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../chunks/Wrapper-
|
|
1
|
+
import { t as e } from "../../chunks/Wrapper-C6BtJDSa.mjs";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../../../chunks/Index-
|
|
1
|
+
import { t as e } from "../../../../chunks/Index-D0dEcWw2.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-DoPLbOv7.mjs";
|
|
2
2
|
export { e as default };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
declare const __VLS_export: import('vue').DefineComponent<import('../../../../components/image-viewer').ImageViewerProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('../../../../components/image-viewer').ImageViewerProps> & Readonly<{}>, {
|
|
2
2
|
visible: boolean;
|
|
3
3
|
closeBtn: boolean | import('tdesign-vue-next').TNode;
|
|
4
|
-
showOverlay: boolean;
|
|
5
4
|
closeOnEscKeydown: boolean;
|
|
6
5
|
draggable: boolean;
|
|
6
|
+
showOverlay: boolean;
|
|
7
7
|
closeOnOverlay: boolean;
|
|
8
8
|
navigationArrow: boolean | import('tdesign-vue-next').TNode;
|
|
9
9
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../../../chunks/Index-
|
|
1
|
+
import { t as e } from "../../../../chunks/Index-DhkEiAro.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-CZnP6jHo.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-7ubKF9v4.mjs";
|
|
2
2
|
export { e as default };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { n as e } from "../../../chunks/useAppContext-D47amIp5.mjs";
|
|
2
2
|
import { t } from "../../../chunks/Index-BChP9CTL.mjs";
|
|
3
|
-
import { t as n } from "../../../chunks/Index-
|
|
3
|
+
import { t as n } from "../../../chunks/Index-D0dEcWw2.mjs";
|
|
4
4
|
import { t as r } from "../../../chunks/Index-BuqrJDKe.mjs";
|
|
5
|
-
import { t as i } from "../../../chunks/Index-
|
|
5
|
+
import { t as i } from "../../../chunks/Index-DoPLbOv7.mjs";
|
|
6
6
|
import { t as a } from "../../../chunks/Index-Bye0GY_j.mjs";
|
|
7
7
|
import { t as o } from "../../../chunks/Index-BwWS0oPl.mjs";
|
|
8
8
|
import { t as s } from "../../../chunks/Index-bEWcnIHJ.mjs";
|
|
@@ -12,12 +12,12 @@ import { t as u } from "../../../chunks/Index-CwksT4hO.mjs";
|
|
|
12
12
|
import { t as d } from "../../../chunks/Index-CS1bfxu7.mjs";
|
|
13
13
|
import { t as f } from "../../../chunks/Index-DC0L_zaY.mjs";
|
|
14
14
|
import { t as p } from "../../../chunks/Index-Bi44jQm2.mjs";
|
|
15
|
-
import { t as m } from "../../../chunks/Index-
|
|
15
|
+
import { t as m } from "../../../chunks/Index-DhkEiAro.mjs";
|
|
16
16
|
import { t as h } from "../../../chunks/Index--rlVexBg.mjs";
|
|
17
17
|
import { t as g } from "../../../chunks/Index-De48YIRG.mjs";
|
|
18
|
-
import { t as _ } from "../../../chunks/Index-
|
|
19
|
-
import { t as v } from "../../../chunks/Index-
|
|
20
|
-
import { t as y } from "../../../chunks/Wrapper-
|
|
18
|
+
import { t as _ } from "../../../chunks/Index-CZnP6jHo.mjs";
|
|
19
|
+
import { t as v } from "../../../chunks/Index-7ubKF9v4.mjs";
|
|
20
|
+
import { t as y } from "../../../chunks/Wrapper-C6BtJDSa.mjs";
|
|
21
21
|
//#region ../../packages/dlzn-ui/plugins/tableRenders/cell/index.ts
|
|
22
22
|
var b = /* #__PURE__ */ Object.assign({
|
|
23
23
|
"./Avatar/Index.vue": t,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "../../../chunks/Wrapper-
|
|
1
|
+
import { t as e } from "../../../chunks/Wrapper-C6BtJDSa.mjs";
|
|
2
2
|
import { t } from "../../../chunks/Index-Cesv9ltS.mjs";
|
|
3
3
|
//#region ../../packages/dlzn-ui/plugins/tableRenders/title/index.ts
|
|
4
4
|
var n = /* #__PURE__ */ Object.assign({ "./Default/Index.vue": t });
|
package/router/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { D as e, E as t, T as n } from "../chunks/provider-C6TTHGoz.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/
|
|
1
|
+
import { H as e } from "../../chunks/provider-C6TTHGoz.mjs";
|
|
2
2
|
export { e as default };
|
package/store/modules/login.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { j as e } from "../../chunks/provider-C6TTHGoz.mjs";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { V as e } from "../../chunks/
|
|
1
|
+
import { V as e } from "../../chunks/provider-C6TTHGoz.mjs";
|
|
2
2
|
export { e as default };
|
package/store/modules/router.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { B as e, z as t } from "../../chunks/
|
|
1
|
+
import { B as e, z as t } from "../../chunks/provider-C6TTHGoz.mjs";
|
|
2
2
|
export { e as default, t as getRoutersMethod };
|
package/store/modules/user.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
1
|
+
import { i as e, r as t } from "../../chunks/provider-C6TTHGoz.mjs";
|
|
2
|
+
export { e as default, t as getUserInfoMethod };
|
package/views/index.mjs
CHANGED
|
@@ -1,6 +1,14 @@
|
|
|
1
1
|
import e from "virtual:dlzn-ui/app-params";
|
|
2
2
|
var t = {
|
|
3
|
-
.../* @__PURE__ */ Object.assign({
|
|
3
|
+
.../* @__PURE__ */ Object.assign({
|
|
4
|
+
"./system/dept/index.vue": () => import("./system/dept/index.mjs"),
|
|
5
|
+
"./system/dict/index.vue": () => import("./system/dict/index.mjs"),
|
|
6
|
+
"./system/menu/index.vue": () => import("./system/menu/index.mjs"),
|
|
7
|
+
"./system/post/index.vue": () => import("./system/post/index.mjs"),
|
|
8
|
+
"./system/role/index.vue": () => import("./system/role/index.mjs"),
|
|
9
|
+
"./system/user/index.vue": () => import("./system/user/index.mjs"),
|
|
10
|
+
"./tool/job/index.vue": () => import("./tool/job/index.mjs")
|
|
11
|
+
}),
|
|
4
12
|
...e.viewsEntryLazyImport
|
|
5
13
|
};
|
|
6
14
|
//#endregion
|
|
@@ -0,0 +1,256 @@
|
|
|
1
|
+
import { F as e, S as t, o as n } from "../../../chunks/provider-C6TTHGoz.mjs";
|
|
2
|
+
import r from "../../../plugins/autoImport/$msg/index.mjs";
|
|
3
|
+
import { flatArrToTree as i } from "../../../utils/tree.mjs";
|
|
4
|
+
import "../../../utils/index.mjs";
|
|
5
|
+
import { t as a } from "../../../chunks/page-list-Zp_EiMZd.mjs";
|
|
6
|
+
import "../../../components/page-list/index.mjs";
|
|
7
|
+
import { deptTreeList as o, deptTreeListSend as s } from "./utils.mjs";
|
|
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";
|
|
9
|
+
//#endregion
|
|
10
|
+
//#region ../../packages/dlzn-ui/views/system/dept/index.vue
|
|
11
|
+
var v = /* @__PURE__ */ l({
|
|
12
|
+
__name: "index",
|
|
13
|
+
setup(l) {
|
|
14
|
+
s();
|
|
15
|
+
let v = g("pageListRef"), y = m([]), b = {
|
|
16
|
+
deptName: {
|
|
17
|
+
_label: "部门名称",
|
|
18
|
+
_required: !0,
|
|
19
|
+
component: "TInput",
|
|
20
|
+
model: "deptName"
|
|
21
|
+
},
|
|
22
|
+
email: {
|
|
23
|
+
_label: "邮箱",
|
|
24
|
+
_rules: [{ email: !0 }],
|
|
25
|
+
component: "TInput",
|
|
26
|
+
model: "email"
|
|
27
|
+
},
|
|
28
|
+
leader: {
|
|
29
|
+
_label: "负责人",
|
|
30
|
+
component: "TInput",
|
|
31
|
+
maxlength: 20,
|
|
32
|
+
model: "leader"
|
|
33
|
+
},
|
|
34
|
+
orderNum: {
|
|
35
|
+
_label: "显示排序",
|
|
36
|
+
_required: !0,
|
|
37
|
+
component: "TInputNumber",
|
|
38
|
+
decimalPlaces: 0,
|
|
39
|
+
model: "orderNum",
|
|
40
|
+
theme: "row"
|
|
41
|
+
},
|
|
42
|
+
parentId: {
|
|
43
|
+
__others: ({ formData: e }) => ({
|
|
44
|
+
data: o.value,
|
|
45
|
+
show: e.parentId !== "0"
|
|
46
|
+
}),
|
|
47
|
+
_label: "上级部门",
|
|
48
|
+
_required: !0,
|
|
49
|
+
component: "TTreeSelect",
|
|
50
|
+
data: [],
|
|
51
|
+
model: "parentId",
|
|
52
|
+
treeProps: { expandAll: !0 }
|
|
53
|
+
},
|
|
54
|
+
phone: {
|
|
55
|
+
_label: "联系电话",
|
|
56
|
+
_rules: [{ telnumber: !0 }],
|
|
57
|
+
component: "TInput",
|
|
58
|
+
model: "phone"
|
|
59
|
+
},
|
|
60
|
+
status: {
|
|
61
|
+
_label: "状态",
|
|
62
|
+
component: "TRadioGroup",
|
|
63
|
+
dicCode: "sys_normal_disable",
|
|
64
|
+
model: "status"
|
|
65
|
+
}
|
|
66
|
+
}, x = {
|
|
67
|
+
apis: { list: { method: (e) => t.Get("system/dept/list", {
|
|
68
|
+
params: {
|
|
69
|
+
...e,
|
|
70
|
+
pageNum: void 0,
|
|
71
|
+
pageSize: void 0
|
|
72
|
+
},
|
|
73
|
+
transform: (e) => {
|
|
74
|
+
let t = i(e, { idKey: "deptId" }), n = (e) => {
|
|
75
|
+
e.forEach((e) => {
|
|
76
|
+
(e.children ?? []).length > 0 && (y.value.push(e.deptId), n(e.children));
|
|
77
|
+
});
|
|
78
|
+
};
|
|
79
|
+
return n(t), {
|
|
80
|
+
rows: t,
|
|
81
|
+
total: 0
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
}) } },
|
|
85
|
+
columns: [
|
|
86
|
+
{
|
|
87
|
+
colKey: "deptName",
|
|
88
|
+
fixed: "left",
|
|
89
|
+
title: "部门名称"
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
colKey: "orderNum",
|
|
93
|
+
title: "排序"
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
colKey: "deptId",
|
|
97
|
+
title: "部门ID"
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
cell: {
|
|
101
|
+
component: "DicLabel",
|
|
102
|
+
dicCode: "sys_normal_disable"
|
|
103
|
+
},
|
|
104
|
+
colKey: "status",
|
|
105
|
+
title: "状态"
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
colKey: "createTime",
|
|
109
|
+
title: "创建时间"
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
colKey: "createBy",
|
|
113
|
+
title: "创建人"
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
colKey: "updateTime",
|
|
117
|
+
title: "更新时间"
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
colKey: "updateBy",
|
|
121
|
+
title: "更新人"
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
cell: {
|
|
125
|
+
buttons: [
|
|
126
|
+
({ row: i }) => ({
|
|
127
|
+
default: "编辑",
|
|
128
|
+
onClick: () => {
|
|
129
|
+
let a = m(null);
|
|
130
|
+
_(a, () => {
|
|
131
|
+
a.value.setFormData(i);
|
|
132
|
+
}, { once: !0 }), e({
|
|
133
|
+
body: () => u(n, {
|
|
134
|
+
items: [
|
|
135
|
+
b.parentId,
|
|
136
|
+
b.deptName,
|
|
137
|
+
b.orderNum,
|
|
138
|
+
b.leader,
|
|
139
|
+
b.phone,
|
|
140
|
+
b.email,
|
|
141
|
+
b.status
|
|
142
|
+
],
|
|
143
|
+
ref: a
|
|
144
|
+
}),
|
|
145
|
+
header: "编辑部门",
|
|
146
|
+
onConfirmCallback: async () => {
|
|
147
|
+
let e = await a.value.validate();
|
|
148
|
+
await t.Put("system/dept", {
|
|
149
|
+
...e,
|
|
150
|
+
deptId: i.deptId
|
|
151
|
+
}), s(), r.success("部门修改成功"), v.value.query();
|
|
152
|
+
},
|
|
153
|
+
width: 730
|
|
154
|
+
});
|
|
155
|
+
},
|
|
156
|
+
permission: "system:dept:edit"
|
|
157
|
+
}),
|
|
158
|
+
({ row: i }) => ({
|
|
159
|
+
default: "新增",
|
|
160
|
+
onClick: () => {
|
|
161
|
+
let a = m(null);
|
|
162
|
+
e({
|
|
163
|
+
body: () => u(n, {
|
|
164
|
+
data: p({
|
|
165
|
+
parentId: i.deptId,
|
|
166
|
+
status: "0"
|
|
167
|
+
}),
|
|
168
|
+
items: [
|
|
169
|
+
{
|
|
170
|
+
...b.parentId,
|
|
171
|
+
disabled: !0
|
|
172
|
+
},
|
|
173
|
+
b.deptName,
|
|
174
|
+
b.orderNum,
|
|
175
|
+
b.leader,
|
|
176
|
+
b.phone,
|
|
177
|
+
b.email,
|
|
178
|
+
b.status
|
|
179
|
+
],
|
|
180
|
+
ref: a
|
|
181
|
+
}),
|
|
182
|
+
header: "新增部门",
|
|
183
|
+
onConfirmCallback: async () => {
|
|
184
|
+
await t.Post("system/dept", await a.value.validate()), s(), r.success("部门添加成功"), v.value.query();
|
|
185
|
+
},
|
|
186
|
+
width: 730
|
|
187
|
+
});
|
|
188
|
+
},
|
|
189
|
+
permission: "system:dept:add"
|
|
190
|
+
}),
|
|
191
|
+
({ row: e }) => ({
|
|
192
|
+
default: "删除",
|
|
193
|
+
permission: "system:dept:remove",
|
|
194
|
+
popconfirm: {
|
|
195
|
+
content: "确认删除吗",
|
|
196
|
+
onConfirm: async () => {
|
|
197
|
+
await t.Delete(`system/dept/${e.deptId}`), s(), r("删除成功"), v.value.query();
|
|
198
|
+
}
|
|
199
|
+
},
|
|
200
|
+
show: e.parentId !== "0"
|
|
201
|
+
})
|
|
202
|
+
],
|
|
203
|
+
component: "Buttons"
|
|
204
|
+
},
|
|
205
|
+
colKey: "_operation",
|
|
206
|
+
title: "操作"
|
|
207
|
+
}
|
|
208
|
+
],
|
|
209
|
+
formItems: [b.deptName, {
|
|
210
|
+
...b.status,
|
|
211
|
+
component: "TSelect"
|
|
212
|
+
}],
|
|
213
|
+
operations: [{
|
|
214
|
+
default: "新增",
|
|
215
|
+
onClick: () => {
|
|
216
|
+
let i = m(null);
|
|
217
|
+
e({
|
|
218
|
+
body: () => u(n, {
|
|
219
|
+
data: p({ status: "0" }),
|
|
220
|
+
items: [
|
|
221
|
+
b.parentId,
|
|
222
|
+
b.deptName,
|
|
223
|
+
b.orderNum,
|
|
224
|
+
b.leader,
|
|
225
|
+
b.phone,
|
|
226
|
+
b.email,
|
|
227
|
+
b.status
|
|
228
|
+
],
|
|
229
|
+
ref: i
|
|
230
|
+
}),
|
|
231
|
+
header: "添加部门",
|
|
232
|
+
onConfirmCallback: async () => {
|
|
233
|
+
await t.Post("system/dept", await i.value.validate()), s(), r.success("部门添加成功"), v.value.query();
|
|
234
|
+
},
|
|
235
|
+
width: 730
|
|
236
|
+
});
|
|
237
|
+
},
|
|
238
|
+
permission: "system:dept:add"
|
|
239
|
+
}],
|
|
240
|
+
tableOtherProps: p({
|
|
241
|
+
expandedTreeNodes: y,
|
|
242
|
+
onExpandedTreeNodesChange: (e) => {
|
|
243
|
+
y.value = e;
|
|
244
|
+
},
|
|
245
|
+
rowKey: "deptId",
|
|
246
|
+
showSerialNumber: !1
|
|
247
|
+
})
|
|
248
|
+
};
|
|
249
|
+
return (e, t) => (f(), c(h(a), d({
|
|
250
|
+
ref_key: "pageListRef",
|
|
251
|
+
ref: v
|
|
252
|
+
}, x), null, 16));
|
|
253
|
+
}
|
|
254
|
+
});
|
|
255
|
+
//#endregion
|
|
256
|
+
export { v as default };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
declare const __VLS_export: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
declare const _default: typeof __VLS_export;
|
|
3
|
+
export default _default;
|