dlzn-ui 2.0.6 → 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/LoginBg-XqWOv7dJ.css +1 -0
- package/assets/main-CxSb5Gqw.css +2 -0
- package/assets/{button-Bwn73ZEc.css → provider-1BcdscQq.css} +1 -1
- package/chunks/{AssignUser-DCju22tm.mjs → AssignUser-BPrzGjCg.mjs} +3 -3
- package/chunks/{Common-DQbblaTl.mjs → Common-Ds4A0g73.mjs} +7 -7
- package/chunks/{Day-9BKmHuZl.mjs → Day-CWWVjsXu.mjs} +13 -13
- package/chunks/{DictTypeDetail-e14bGyiZ.mjs → DictTypeDetail-ijxK2MDm.mjs} +7 -7
- package/chunks/{Hour-CrFFADzT.mjs → Hour-D-2s4xgR.mjs} +1 -1
- package/chunks/{Index-ChH8kYUs.mjs → Index-D0dEcWw2.mjs} +1 -1
- package/chunks/{Index-DloA1g7z.mjs → Index-DhkEiAro.mjs} +5 -5
- package/chunks/{Index-QUCWrT4d.mjs → Index-DoPLbOv7.mjs} +1 -1
- package/chunks/{Index-CZ0ICyCx.mjs → Index-az-w01U3.mjs} +1 -1
- package/chunks/{IndexItem-OIGXdAkP.mjs → IndexItem-KlRJte7i.mjs} +6 -6
- package/chunks/{Log-DdemNjDW.mjs → Log-LYCmf0zI.mjs} +8 -8
- package/chunks/{LoginBg-BD6ChYvu.mjs → LoginBg-BtuSDFUq.mjs} +10 -18
- package/chunks/{MenuNode-DXgE629W.mjs → MenuNode-6Nca-v9i.mjs} +2 -2
- package/chunks/{Minute-xZNOCy8Q.mjs → Minute-8BpPY8V6.mjs} +1 -1
- package/chunks/{Month-CvWOcD_9.mjs → Month-C5iIZpY7.mjs} +1 -1
- package/chunks/{Second-BvMnEOms.mjs → Second-BKF09AKl.mjs} +1 -1
- package/chunks/{SelectDept-DmtKBaW0.mjs → SelectDept-C78pnJtp.mjs} +1 -1
- package/chunks/{SelectMenu-tEpLm6Ij.mjs → SelectMenu-B2-QkHU2.mjs} +1 -1
- package/chunks/{SelectUser-CTvBarod.mjs → SelectUser-BuE4Lgm0.mjs} +2 -2
- package/chunks/{UserInfo-qrNR9tve.mjs → UserInfo-uDVj4WPH.mjs} +11 -11
- package/chunks/{Wrapper-LEchQmDn.mjs → Wrapper-C6BtJDSa.mjs} +5 -5
- package/chunks/{app-CggLqjRQ.mjs → app-BXskd1Ae.mjs} +4 -4
- package/chunks/{custom-page-list-CJWB72dw.mjs → custom-page-list-r5EUcg98.mjs} +4 -4
- package/chunks/{custom-page-table-5f8lI6CQ.mjs → custom-page-table-D1FmkEop.mjs} +2 -2
- package/chunks/{overview-BEtKbidZ.mjs → overview-BCXuALeB.mjs} +1 -1
- package/chunks/{page-list-C3nqGnnX.mjs → page-list-Zp_EiMZd.mjs} +36 -36
- package/chunks/{page-query-C6oSW1je.mjs → page-query-CxZBtQht.mjs} +5 -5
- package/chunks/{page-table-3DTiPP9H.mjs → page-table-BpyyKTMq.mjs} +9 -9
- package/chunks/{pagination-C6-VAj4W.mjs → pagination-y5tkmGDM.mjs} +1 -1
- package/chunks/{button-Dk3CiB69.mjs → provider-C6TTHGoz.mjs} +427 -431
- package/chunks/{table-Cp9NQHjQ.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 +1 -1
- package/layout/Login.mjs +5 -5
- package/layout/NotFound.mjs +1 -1
- package/layout/modules/Aside.mjs +1 -1
- package/layout/modules/Breadcrumb.mjs +1 -1
- package/layout/modules/Header.mjs +1 -1
- package/layout/modules/LoginBg.mjs +1 -1
- package/layout/modules/MenuNode.mjs +1 -1
- package/layout/profile/Index.mjs +4 -4
- package/layout/profile/ResetPwd.mjs +1 -1
- package/layout/profile/UserInfo.mjs +1 -1
- package/main.d.ts +2 -0
- package/main.mjs +14 -0
- package/package.json +7 -3
- 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/index.mjs +4 -4
- 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/system/dept/index.mjs +10 -10
- package/views/system/dept/utils.mjs +1 -1
- package/views/system/dict/index.mjs +18 -18
- package/views/system/dict/modules/DictTypeDetail.mjs +1 -1
- package/views/system/menu/index.mjs +10 -10
- package/views/system/post/index.mjs +6 -6
- package/views/system/role/index.mjs +42 -42
- package/views/system/role/modules/AssignUser.mjs +1 -1
- package/views/system/role/modules/SelectDept.mjs +1 -1
- package/views/system/role/modules/SelectMenu.mjs +1 -1
- package/views/system/role/modules/SelectUser.mjs +1 -1
- package/views/system/user/index.mjs +49 -49
- package/views/tool/job/index.mjs +31 -31
- package/views/tool/job/modules/Log.mjs +1 -1
- package/assets/LoginBg-BTrRjkK7.css +0 -1
- package/chunks/{date-picker-DtbDIFUH.mjs → date-picker-D15OhWnK.mjs} +1 -1
package/layout/NotFound.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { n as e } from "../chunks/provider-C6TTHGoz.mjs";
|
|
2
2
|
import { createBlock as t, createTextVNode as n, createVNode as r, defineComponent as i, openBlock as a, unref as o, withCtx as s } from "vue";
|
|
3
3
|
import { Empty as c } from "tdesign-vue-next";
|
|
4
4
|
import { useRouter as l } from "vue-router";
|
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"
|
|
@@ -41,11 +45,11 @@
|
|
|
41
45
|
"./index.css": {
|
|
42
46
|
"import": "./assets/css/index.css"
|
|
43
47
|
},
|
|
44
|
-
"./layout
|
|
48
|
+
"./layout/*": {
|
|
45
49
|
"types": "./layout/*.vue.d.ts",
|
|
46
50
|
"import": "./layout/*.mjs"
|
|
47
51
|
},
|
|
48
|
-
"./views
|
|
52
|
+
"./views/*": {
|
|
49
53
|
"types": "./views/*.vue.d.ts",
|
|
50
54
|
"import": "./views/*.mjs"
|
|
51
55
|
}
|
|
@@ -101,5 +105,5 @@
|
|
|
101
105
|
"> 1%",
|
|
102
106
|
"not dead"
|
|
103
107
|
],
|
|
104
|
-
"version": "2.0.
|
|
108
|
+
"version": "2.0.7"
|
|
105
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,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
18
|
import { t as _ } from "../../../chunks/Index-CZnP6jHo.mjs";
|
|
19
19
|
import { t as v } from "../../../chunks/Index-7ubKF9v4.mjs";
|
|
20
|
-
import { t as y } from "../../../chunks/Wrapper-
|
|
20
|
+
import { t as y } from "../../../chunks/Wrapper-C6BtJDSa.mjs";
|
|
21
21
|
//#region ../../packages/dlzn-ui/plugins/tableRenders/cell/index.ts
|
|
22
22
|
var b = /* #__PURE__ */ Object.assign({
|
|
23
23
|
"./Avatar/Index.vue": t,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "../../../chunks/Wrapper-
|
|
1
|
+
import { t as e } from "../../../chunks/Wrapper-C6BtJDSa.mjs";
|
|
2
2
|
import { t } from "../../../chunks/Index-Cesv9ltS.mjs";
|
|
3
3
|
//#region ../../packages/dlzn-ui/plugins/tableRenders/title/index.ts
|
|
4
4
|
var n = /* #__PURE__ */ Object.assign({ "./Default/Index.vue": t });
|
package/router/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { D as e, E as t, T as n } from "../chunks/provider-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 };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { F as e, S as t, o as n } from "../../../chunks/provider-C6TTHGoz.mjs";
|
|
2
2
|
import r from "../../../plugins/autoImport/$msg/index.mjs";
|
|
3
3
|
import { flatArrToTree as i } from "../../../utils/tree.mjs";
|
|
4
4
|
import "../../../utils/index.mjs";
|
|
5
|
-
import { t as a } from "../../../chunks/page-list-
|
|
5
|
+
import { t as a } from "../../../chunks/page-list-Zp_EiMZd.mjs";
|
|
6
6
|
import "../../../components/page-list/index.mjs";
|
|
7
7
|
import { deptTreeList as o, deptTreeListSend as s } from "./utils.mjs";
|
|
8
8
|
import { createBlock as c, defineComponent as l, h as u, mergeProps as d, openBlock as f, reactive as p, ref as m, unref as h, useTemplateRef as g, watch as _ } from "vue";
|
|
@@ -64,7 +64,7 @@ var v = /* @__PURE__ */ l({
|
|
|
64
64
|
model: "status"
|
|
65
65
|
}
|
|
66
66
|
}, x = {
|
|
67
|
-
apis: { list: { method: (e) =>
|
|
67
|
+
apis: { list: { method: (e) => t.Get("system/dept/list", {
|
|
68
68
|
params: {
|
|
69
69
|
...e,
|
|
70
70
|
pageNum: void 0,
|
|
@@ -130,7 +130,7 @@ var v = /* @__PURE__ */ l({
|
|
|
130
130
|
_(a, () => {
|
|
131
131
|
a.value.setFormData(i);
|
|
132
132
|
}, { once: !0 }), e({
|
|
133
|
-
body: () => u(
|
|
133
|
+
body: () => u(n, {
|
|
134
134
|
items: [
|
|
135
135
|
b.parentId,
|
|
136
136
|
b.deptName,
|
|
@@ -145,7 +145,7 @@ var v = /* @__PURE__ */ l({
|
|
|
145
145
|
header: "编辑部门",
|
|
146
146
|
onConfirmCallback: async () => {
|
|
147
147
|
let e = await a.value.validate();
|
|
148
|
-
await
|
|
148
|
+
await t.Put("system/dept", {
|
|
149
149
|
...e,
|
|
150
150
|
deptId: i.deptId
|
|
151
151
|
}), s(), r.success("部门修改成功"), v.value.query();
|
|
@@ -160,7 +160,7 @@ var v = /* @__PURE__ */ l({
|
|
|
160
160
|
onClick: () => {
|
|
161
161
|
let a = m(null);
|
|
162
162
|
e({
|
|
163
|
-
body: () => u(
|
|
163
|
+
body: () => u(n, {
|
|
164
164
|
data: p({
|
|
165
165
|
parentId: i.deptId,
|
|
166
166
|
status: "0"
|
|
@@ -181,7 +181,7 @@ var v = /* @__PURE__ */ l({
|
|
|
181
181
|
}),
|
|
182
182
|
header: "新增部门",
|
|
183
183
|
onConfirmCallback: async () => {
|
|
184
|
-
await
|
|
184
|
+
await t.Post("system/dept", await a.value.validate()), s(), r.success("部门添加成功"), v.value.query();
|
|
185
185
|
},
|
|
186
186
|
width: 730
|
|
187
187
|
});
|
|
@@ -194,7 +194,7 @@ var v = /* @__PURE__ */ l({
|
|
|
194
194
|
popconfirm: {
|
|
195
195
|
content: "确认删除吗",
|
|
196
196
|
onConfirm: async () => {
|
|
197
|
-
await
|
|
197
|
+
await t.Delete(`system/dept/${e.deptId}`), s(), r("删除成功"), v.value.query();
|
|
198
198
|
}
|
|
199
199
|
},
|
|
200
200
|
show: e.parentId !== "0"
|
|
@@ -215,7 +215,7 @@ var v = /* @__PURE__ */ l({
|
|
|
215
215
|
onClick: () => {
|
|
216
216
|
let i = m(null);
|
|
217
217
|
e({
|
|
218
|
-
body: () => u(
|
|
218
|
+
body: () => u(n, {
|
|
219
219
|
data: p({ status: "0" }),
|
|
220
220
|
items: [
|
|
221
221
|
b.parentId,
|
|
@@ -230,7 +230,7 @@ var v = /* @__PURE__ */ l({
|
|
|
230
230
|
}),
|
|
231
231
|
header: "添加部门",
|
|
232
232
|
onConfirmCallback: async () => {
|
|
233
|
-
await
|
|
233
|
+
await t.Post("system/dept", await i.value.validate()), s(), r.success("部门添加成功"), v.value.query();
|
|
234
234
|
},
|
|
235
235
|
width: 730
|
|
236
236
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { S as e } from "../../../chunks/provider-C6TTHGoz.mjs";
|
|
2
2
|
import { flatArrToTree as t } from "../../../utils/tree.mjs";
|
|
3
3
|
import "../../../utils/index.mjs";
|
|
4
4
|
import { useRequest as n } from "alova/client";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { F as e,
|
|
1
|
+
import { F as e, I as t, S as n, o as r } from "../../../chunks/provider-C6TTHGoz.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-Zp_EiMZd.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-ijxK2MDm.mjs";
|
|
6
6
|
import { createBlock as s, defineComponent as c, h as l, mergeProps as u, openBlock as d, reactive as f, ref as p, unref as m, useTemplateRef as h, watch as g } from "vue";
|
|
7
7
|
//#endregion
|
|
8
8
|
//#region ../../packages/dlzn-ui/views/system/dict/index.vue
|
|
@@ -50,7 +50,7 @@ var _ = /* @__PURE__ */ c({
|
|
|
50
50
|
method: "system/dict/type/export",
|
|
51
51
|
permission: "system:dict:export"
|
|
52
52
|
},
|
|
53
|
-
list: { method: (e) =>
|
|
53
|
+
list: { method: (e) => n.Get("system/dict/type/list", { params: {
|
|
54
54
|
...e,
|
|
55
55
|
dateRange: void 0,
|
|
56
56
|
"params[beginTime]": e.dateRange[0] ?? "",
|
|
@@ -67,10 +67,10 @@ var _ = /* @__PURE__ */ c({
|
|
|
67
67
|
title: "字典名称"
|
|
68
68
|
},
|
|
69
69
|
{
|
|
70
|
-
cell: (
|
|
70
|
+
cell: (e, { row: n }) => ({
|
|
71
71
|
component: "TypographyTextLink",
|
|
72
72
|
link: { onClick: () => {
|
|
73
|
-
|
|
73
|
+
t({
|
|
74
74
|
body: () => l(o, { dictType: n.dictType }),
|
|
75
75
|
footer: !1,
|
|
76
76
|
header: `字典类型: ${n.dictName}(${n.dictType})`,
|
|
@@ -103,14 +103,14 @@ var _ = /* @__PURE__ */ c({
|
|
|
103
103
|
},
|
|
104
104
|
{
|
|
105
105
|
cell: {
|
|
106
|
-
buttons: [({ row:
|
|
106
|
+
buttons: [({ row: t }) => ({
|
|
107
107
|
default: "编辑",
|
|
108
108
|
onClick: () => {
|
|
109
109
|
let a = p(null);
|
|
110
110
|
g(a, () => {
|
|
111
|
-
a.value.setFormData(
|
|
112
|
-
}, { once: !0 }),
|
|
113
|
-
body: () => l(
|
|
111
|
+
a.value.setFormData(t);
|
|
112
|
+
}, { once: !0 }), e({
|
|
113
|
+
body: () => l(r, {
|
|
114
114
|
items: [
|
|
115
115
|
v.dictName,
|
|
116
116
|
v.dictType,
|
|
@@ -126,9 +126,9 @@ var _ = /* @__PURE__ */ c({
|
|
|
126
126
|
}),
|
|
127
127
|
header: "修改字典类型",
|
|
128
128
|
onConfirmCallback: async () => {
|
|
129
|
-
await
|
|
129
|
+
await n.Put("system/dict/type", {
|
|
130
130
|
...await a.value.validate(),
|
|
131
|
-
dictId:
|
|
131
|
+
dictId: t.dictId
|
|
132
132
|
}), i.success("字典类型修改成功"), _.value.query();
|
|
133
133
|
},
|
|
134
134
|
width: 430
|
|
@@ -151,9 +151,9 @@ var _ = /* @__PURE__ */ c({
|
|
|
151
151
|
operations: [{
|
|
152
152
|
default: "新增",
|
|
153
153
|
onClick: () => {
|
|
154
|
-
let
|
|
155
|
-
|
|
156
|
-
body: () => l(
|
|
154
|
+
let t = p(null);
|
|
155
|
+
e({
|
|
156
|
+
body: () => l(r, {
|
|
157
157
|
data: f({ status: "0" }),
|
|
158
158
|
items: [
|
|
159
159
|
v.dictName,
|
|
@@ -166,11 +166,11 @@ var _ = /* @__PURE__ */ c({
|
|
|
166
166
|
],
|
|
167
167
|
labelAlign: "right",
|
|
168
168
|
layout: "vertical",
|
|
169
|
-
ref:
|
|
169
|
+
ref: t
|
|
170
170
|
}),
|
|
171
171
|
header: "添加字典类型",
|
|
172
172
|
onConfirmCallback: async () => {
|
|
173
|
-
await
|
|
173
|
+
await n.Post("system/dict/type", await t.value.validate()), i.success("字典添加成功"), _.value.query();
|
|
174
174
|
},
|
|
175
175
|
width: 430
|
|
176
176
|
});
|
|
@@ -179,7 +179,7 @@ var _ = /* @__PURE__ */ c({
|
|
|
179
179
|
}, {
|
|
180
180
|
default: "刷新缓存",
|
|
181
181
|
onClick: async () => {
|
|
182
|
-
await
|
|
182
|
+
await n.Delete("system/dict/type/refreshCache", void 0, { meta: { useSuccessMsg: !0 } }), _.value.query();
|
|
183
183
|
},
|
|
184
184
|
permission: "system:dict:remove"
|
|
185
185
|
}],
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../../../chunks/DictTypeDetail-
|
|
1
|
+
import { t as e } from "../../../../chunks/DictTypeDetail-ijxK2MDm.mjs";
|
|
2
2
|
export { e as default };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { F as e, S as t, n, o as r } from "../../../chunks/provider-C6TTHGoz.mjs";
|
|
2
2
|
import { t as i } from "../../../chunks/icon-COjp1yrx.mjs";
|
|
3
3
|
import "../../../components/icon/index.mjs";
|
|
4
4
|
import a from "../../../plugins/autoImport/$msg/index.mjs";
|
|
5
5
|
import { isFalsy as o } from "../../../utils/boolean.mjs";
|
|
6
6
|
import { flatArrToTree as s } from "../../../utils/tree.mjs";
|
|
7
7
|
import "../../../utils/index.mjs";
|
|
8
|
-
import { t as c } from "../../../chunks/page-list-
|
|
8
|
+
import { t as c } from "../../../chunks/page-list-Zp_EiMZd.mjs";
|
|
9
9
|
import "../../../components/page-list/index.mjs";
|
|
10
10
|
import { createBlock as l, defineComponent as u, h as d, mergeProps as f, openBlock as p, reactive as m, ref as h, unref as g, useTemplateRef as _, watch as v } from "vue";
|
|
11
11
|
import { useRequest as y } from "alova/client";
|
|
@@ -14,7 +14,7 @@ import { useRequest as y } from "alova/client";
|
|
|
14
14
|
var b = /* @__PURE__ */ u({
|
|
15
15
|
__name: "index",
|
|
16
16
|
setup(u) {
|
|
17
|
-
let { data: b, send: x } = y(
|
|
17
|
+
let { data: b, send: x } = y(t.Get("system/menu/list", { transform: (e) => s(e.map((e) => ({
|
|
18
18
|
...e,
|
|
19
19
|
label: e.menuName,
|
|
20
20
|
value: e.menuId
|
|
@@ -162,7 +162,7 @@ var b = /* @__PURE__ */ u({
|
|
|
162
162
|
method: "system/menu",
|
|
163
163
|
permission: "system:menu:remove"
|
|
164
164
|
},
|
|
165
|
-
list: { method: (e) =>
|
|
165
|
+
list: { method: (e) => t.Get("system/menu/list", {
|
|
166
166
|
params: {
|
|
167
167
|
...e,
|
|
168
168
|
pageNum: void 0,
|
|
@@ -248,7 +248,7 @@ var b = /* @__PURE__ */ u({
|
|
|
248
248
|
parentId: n.parentId === "0" ? "" : n.parentId
|
|
249
249
|
}, { numberToStringKeys: ["isFrame"] });
|
|
250
250
|
}, { once: !0 }), e({
|
|
251
|
-
body: () => d(
|
|
251
|
+
body: () => d(r, {
|
|
252
252
|
data: m({
|
|
253
253
|
isCache: "0",
|
|
254
254
|
isFrame: "1",
|
|
@@ -283,7 +283,7 @@ var b = /* @__PURE__ */ u({
|
|
|
283
283
|
"isFrame"
|
|
284
284
|
].forEach((t) => {
|
|
285
285
|
t in e || (e[t] = "");
|
|
286
|
-
}), T(e), await
|
|
286
|
+
}), T(e), await t.Put("system/menu", {
|
|
287
287
|
...e,
|
|
288
288
|
menuId: n.menuId,
|
|
289
289
|
parentId: o(e.parentId) ? "0" : e.parentId
|
|
@@ -298,7 +298,7 @@ var b = /* @__PURE__ */ u({
|
|
|
298
298
|
onClick: () => {
|
|
299
299
|
let i = h(null);
|
|
300
300
|
e({
|
|
301
|
-
body: () => d(
|
|
301
|
+
body: () => d(r, {
|
|
302
302
|
data: m({
|
|
303
303
|
isCache: "0",
|
|
304
304
|
isFrame: "1",
|
|
@@ -329,7 +329,7 @@ var b = /* @__PURE__ */ u({
|
|
|
329
329
|
header: "新增菜单",
|
|
330
330
|
onConfirmCallback: async () => {
|
|
331
331
|
let e = await i.value.validate();
|
|
332
|
-
T(e), await
|
|
332
|
+
T(e), await t.Post("system/menu", e), x(), a.success("菜单修改成功"), S.value.query();
|
|
333
333
|
},
|
|
334
334
|
width: 730
|
|
335
335
|
});
|
|
@@ -351,7 +351,7 @@ var b = /* @__PURE__ */ u({
|
|
|
351
351
|
onClick: () => {
|
|
352
352
|
let n = h(null);
|
|
353
353
|
e({
|
|
354
|
-
body: () => d(
|
|
354
|
+
body: () => d(r, {
|
|
355
355
|
data: m({
|
|
356
356
|
isCache: "0",
|
|
357
357
|
isFrame: "1",
|
|
@@ -378,7 +378,7 @@ var b = /* @__PURE__ */ u({
|
|
|
378
378
|
header: "添加菜单",
|
|
379
379
|
onConfirmCallback: async () => {
|
|
380
380
|
let e = await n.value.validate();
|
|
381
|
-
T(e), await
|
|
381
|
+
T(e), await t.Post("system/menu", {
|
|
382
382
|
...e,
|
|
383
383
|
parentId: o(e.parentId) ? "0" : e.parentId
|
|
384
384
|
}), x(), a.success("菜单添加成功"), S.value.query();
|