dlzn-ui 2.0.89 → 2.0.91
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/pagination-BpKuirTF.css +1 -0
- package/assets/table-CVArV2Pt.css +1 -0
- package/chunks/{AssignUser-vDx4D82G.mjs → AssignUser-Cba5vAl1.mjs} +14 -14
- package/chunks/{BasicInfo-BvKBHQyo.mjs → BasicInfo-Bvq-HQJ_.mjs} +1 -1
- package/chunks/{ColumnInfo-BYddY4ID.mjs → ColumnInfo-CRLX-mvV.mjs} +2 -2
- package/chunks/{Common-DgFtn6uk.mjs → Common-Bq9qdi2i.mjs} +1 -1
- package/chunks/{Day-D57OuSr1.mjs → Day-BUVcUtFu.mjs} +1 -1
- package/chunks/{DictTypeDetail-Bgcoi5BX.mjs → DictTypeDetail-BcE2-B5V.mjs} +8 -8
- package/chunks/{GenInfo-Cpjb07t9.mjs → GenInfo-DJq_EewR.mjs} +1 -1
- package/chunks/{Hour-C2kHsnWx.mjs → Hour-CwQQPXaR.mjs} +1 -1
- package/chunks/{Import-CUwSBuu3.mjs → Import-rJdKqVqG.mjs} +2 -2
- package/chunks/{Index-BHTir2BG.mjs → Index-C_K9w486.mjs} +1 -1
- package/chunks/{Index-qbd9CTh4.mjs → Index-DVPHy-2h.mjs} +1 -1
- package/chunks/{Index-C_Gf0Jgf.mjs → Index-Wsuv1_GI.mjs} +1 -1
- package/chunks/{Index-BLw1K1xl.mjs → Index-xm96pJY-.mjs} +1 -1
- package/chunks/{IndexItem-COlhUIdm.mjs → IndexItem-mkv5naiz.mjs} +1 -1
- package/chunks/{Log-uPhl0QJF.mjs → Log-i0vc4tLi.mjs} +14 -16
- package/chunks/{LoginBg-DBc-wBJI.mjs → LoginBg-BtYLzpau.mjs} +1 -1
- package/chunks/{Minute-cq4gHso5.mjs → Minute-DVOyQfoM.mjs} +1 -1
- package/chunks/{Month-RO9Bk7PX.mjs → Month-C9EsJdGm.mjs} +1 -1
- package/chunks/{Preview-Gx0BbBT4.mjs → Preview-DT31fnBR.mjs} +1 -1
- package/chunks/{Second-CKdMmksB.mjs → Second-2dWCZLjn.mjs} +1 -1
- package/chunks/{SelectDept-BPAzWxOq.mjs → SelectDept-C_mJ04_S.mjs} +1 -1
- package/chunks/{SelectMenu-C8m9RvV3.mjs → SelectMenu-D_SA_EiZ.mjs} +1 -1
- package/chunks/{SelectUser-sanLPSrz.mjs → SelectUser-DLAbDQ8W.mjs} +2 -2
- package/chunks/{UserInfo-CDNoS8Vd.mjs → UserInfo-Dl2INqhu.mjs} +9 -9
- package/chunks/{app-Cd7qvZaM.mjs → app-MIQr7kNK.mjs} +1 -1
- package/chunks/{custom-page-list-BZCbj6h1.mjs → custom-page-list-DHK_NW0i.mjs} +4 -4
- package/chunks/{custom-page-table-Cm72ycKd.mjs → custom-page-table-1gOvwcJL.mjs} +2 -2
- package/chunks/{job-dsXPTFKb.mjs → job-D6_vm6Ii.mjs} +24 -24
- package/chunks/{overview-ub_GTqi8.mjs → overview-amJc1B-Y.mjs} +1 -1
- package/chunks/{page-list-CX7BUCM4.mjs → page-list-nd2K6s0p.mjs} +3 -3
- package/chunks/page-query-Bp2Wfk95.mjs +119 -0
- package/chunks/{page-table-B4zES_VU.mjs → page-table-Bgq2mekF.mjs} +57 -57
- package/chunks/{pagination-D9VeheYA.mjs → pagination-BlUizDPX.mjs} +3 -3
- package/chunks/{provider-BeVE1nWg.mjs → provider-6bwbdidw.mjs} +76 -76
- package/chunks/{table-DTNEiuNZ.mjs → table-C-19SNwB.mjs} +12 -12
- 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/dialog/index.mjs +1 -1
- package/components/dialog/src/dialog.mjs +1 -1
- package/components/form/index.mjs +1 -1
- package/components/form/src/form.mjs +1 -1
- package/components/index.mjs +10 -10
- 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.mjs +1 -1
- package/components/page-query/index.mjs +1 -1
- package/components/page-query/src/page-query.mjs +1 -1
- package/components/page-query/src/page-query.vue.d.ts +1 -2
- package/components/page-table/index.mjs +1 -1
- package/components/page-table/src/page-table.d.ts +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.mjs +1 -1
- package/hooks/useDicOptions/index.mjs +1 -1
- package/hooks/useMountedPromise/index.d.ts +2 -0
- package/hooks/useMountedPromise/index.mjs +14 -0
- package/hooks/useSysUser/index.mjs +1 -1
- package/layout/Entry.mjs +1 -1
- package/layout/Home.mjs +5 -5
- package/layout/Home1.mjs +2 -2
- package/layout/Login.mjs +3 -3
- 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 +3 -3
- package/package.json +1 -1
- package/plugins/autoImport/$alova/index.d.ts +1 -0
- 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/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/views/monitor/cache/index.mjs +2 -2
- package/views/monitor/cacheList/index.mjs +2 -2
- package/views/monitor/job/index.mjs +1 -1
- package/views/monitor/logininfor/index.mjs +2 -2
- package/views/monitor/online/index.mjs +2 -2
- package/views/monitor/operlog/index.mjs +10 -10
- package/views/monitor/server/index.mjs +2 -2
- package/views/system/config/index.mjs +11 -11
- package/views/system/dept/index.mjs +15 -15
- package/views/system/dept/utils.mjs +1 -1
- package/views/system/dict/index.mjs +15 -15
- package/views/system/dict/modules/DictTypeDetail.mjs +1 -1
- package/views/system/menu/index.mjs +19 -19
- package/views/system/menu/utils.mjs +1 -1
- package/views/system/notice/index.mjs +6 -6
- package/views/system/post/index.mjs +6 -6
- package/views/system/role/index.mjs +31 -31
- 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 +41 -41
- package/views/tool/gen/editTable/index.mjs +30 -30
- 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 +11 -11
- package/views/tool/gen/modules/Import.mjs +1 -1
- package/views/tool/gen/modules/Preview.mjs +1 -1
- package/views/tool/job/index.mjs +1 -1
- package/views/tool/job/modules/Log.mjs +1 -1
- package/assets/pagination-B9tRH6dt.css +0 -1
- package/assets/table-D9WewhPF.css +0 -1
- package/chunks/page-query-BmWKqp80.mjs +0 -121
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as r } from "../../../chunks/page-list-
|
|
1
|
+
import { S as e, U as t, o as n } from "../../../chunks/provider-6bwbdidw.mjs";
|
|
2
|
+
import { t as r } from "../../../chunks/page-list-nd2K6s0p.mjs";
|
|
3
3
|
import "../../../components/page-list/index.mjs";
|
|
4
4
|
import { createBlock as i, defineComponent as a, h as o, mergeProps as s, openBlock as c, reactive as l, ref as u, unref as d, useTemplateRef as f, watch as p } from "vue";
|
|
5
5
|
// ../../packages/dlzn-ui/views/monitor/operlog/index.vue
|
|
@@ -97,11 +97,11 @@ var m = /* @__PURE__ */ a({
|
|
|
97
97
|
method: "monitor/operlog/export",
|
|
98
98
|
permission: "monitor:operlog:export"
|
|
99
99
|
},
|
|
100
|
-
list: { method: (
|
|
101
|
-
...
|
|
100
|
+
list: { method: (t) => e.Get("monitor/operlog/list", { params: {
|
|
101
|
+
...t,
|
|
102
102
|
dateRange: void 0,
|
|
103
|
-
"params[beginTime]":
|
|
104
|
-
"params[endTime]":
|
|
103
|
+
"params[beginTime]": t.dateRange[0],
|
|
104
|
+
"params[endTime]": t.dateRange[1],
|
|
105
105
|
...h.value ? {
|
|
106
106
|
isAsc: h.value.descending ? "descending" : "ascending",
|
|
107
107
|
orderByColumn: h.value.sortBy
|
|
@@ -154,13 +154,13 @@ var m = /* @__PURE__ */ a({
|
|
|
154
154
|
},
|
|
155
155
|
{
|
|
156
156
|
cell: {
|
|
157
|
-
buttons: [({ row:
|
|
157
|
+
buttons: [({ row: e }) => ({
|
|
158
158
|
default: "详细",
|
|
159
159
|
onClick: () => {
|
|
160
160
|
let r = u(null);
|
|
161
161
|
p(r, () => {
|
|
162
|
-
r.value.setFormData(
|
|
163
|
-
}, { once: !0 }),
|
|
162
|
+
r.value.setFormData(e, { override: { loginInfo: `${e.operName}/${e.operIp}/${e.operLocation}` } });
|
|
163
|
+
}, { once: !0 }), t({
|
|
164
164
|
body: () => o(n, {
|
|
165
165
|
items: [
|
|
166
166
|
g.title,
|
|
@@ -208,7 +208,7 @@ var m = /* @__PURE__ */ a({
|
|
|
208
208
|
popconfirm: {
|
|
209
209
|
content: "是否确认清空所有操作日志数据项?",
|
|
210
210
|
onConfirm: async () => {
|
|
211
|
-
await
|
|
211
|
+
await e.Delete("monitor/operlog/clean", void 0, { meta: { useSuccessMsg: !0 } }), m.value.reset();
|
|
212
212
|
}
|
|
213
213
|
}
|
|
214
214
|
}],
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "../../../components/card/index.mjs";
|
|
2
2
|
import { t as e } from "../../../chunks/card-fcGTPVWb.mjs";
|
|
3
3
|
import "../../../components/table/index.mjs";
|
|
4
|
-
import { t } from "../../../chunks/table-
|
|
5
|
-
import { S as n } from "../../../chunks/provider-
|
|
4
|
+
import { t } from "../../../chunks/table-C-19SNwB.mjs";
|
|
5
|
+
import { S as n } from "../../../chunks/provider-6bwbdidw.mjs";
|
|
6
6
|
import { computed as r, createElementBlock as i, createVNode as a, defineComponent as o, openBlock as s, unref as c, withCtx as l } from "vue";
|
|
7
7
|
import { useRequest as u } from "alova/client";
|
|
8
8
|
// ../../packages/dlzn-ui/views/monitor/server/index.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { H as e, S as t, o as n } from "../../../chunks/provider-6bwbdidw.mjs";
|
|
2
2
|
import "../../../components/page-list/index.mjs";
|
|
3
|
-
import { t as r } from "../../../chunks/page-list-
|
|
3
|
+
import { t as r } from "../../../chunks/page-list-nd2K6s0p.mjs";
|
|
4
4
|
import i from "../../../plugins/autoImport/$msg/index.mjs";
|
|
5
5
|
import { createBlock as a, defineComponent as o, h as s, mergeProps as c, openBlock as l, reactive as u, ref as d, unref as f, useTemplateRef as p, watch as m } from "vue";
|
|
6
6
|
// ../../packages/dlzn-ui/views/system/config/index.vue
|
|
@@ -55,11 +55,11 @@ var h = /* @__PURE__ */ o({
|
|
|
55
55
|
method: "system/config/export",
|
|
56
56
|
permission: "system:config:export"
|
|
57
57
|
},
|
|
58
|
-
list: { method: (
|
|
59
|
-
...
|
|
58
|
+
list: { method: (e) => t.Get("system/config/list", { params: {
|
|
59
|
+
...e,
|
|
60
60
|
dateRange: void 0,
|
|
61
|
-
"params[beginTime]":
|
|
62
|
-
"params[endTime]":
|
|
61
|
+
"params[beginTime]": e.dateRange[0],
|
|
62
|
+
"params[endTime]": e.dateRange[1]
|
|
63
63
|
} }) }
|
|
64
64
|
},
|
|
65
65
|
columns: [
|
|
@@ -104,7 +104,7 @@ var h = /* @__PURE__ */ o({
|
|
|
104
104
|
let a = d(null);
|
|
105
105
|
m(a, () => {
|
|
106
106
|
a.value.setFormData(r);
|
|
107
|
-
}, { once: !0 }),
|
|
107
|
+
}, { once: !0 }), e({
|
|
108
108
|
body: () => s(n, {
|
|
109
109
|
items: [
|
|
110
110
|
g.configName,
|
|
@@ -119,7 +119,7 @@ var h = /* @__PURE__ */ o({
|
|
|
119
119
|
}),
|
|
120
120
|
header: "修改参数",
|
|
121
121
|
onConfirmCallback: async () => {
|
|
122
|
-
await
|
|
122
|
+
await t.Put("system/config", {
|
|
123
123
|
...await a.value.validate(),
|
|
124
124
|
configId: r.configId
|
|
125
125
|
}), i.success("参数修改成功"), h.value.query();
|
|
@@ -148,7 +148,7 @@ var h = /* @__PURE__ */ o({
|
|
|
148
148
|
default: "新增",
|
|
149
149
|
onClick: () => {
|
|
150
150
|
let r = d(null);
|
|
151
|
-
|
|
151
|
+
e({
|
|
152
152
|
body: () => s(n, {
|
|
153
153
|
data: u({ configType: "Y" }),
|
|
154
154
|
items: [
|
|
@@ -164,7 +164,7 @@ var h = /* @__PURE__ */ o({
|
|
|
164
164
|
}),
|
|
165
165
|
header: "添加参数",
|
|
166
166
|
onConfirmCallback: async () => {
|
|
167
|
-
await
|
|
167
|
+
await t.Post("system/config", await r.value.validate()), i.success("参数添加成功"), h.value.query();
|
|
168
168
|
},
|
|
169
169
|
width: 460
|
|
170
170
|
});
|
|
@@ -176,7 +176,7 @@ var h = /* @__PURE__ */ o({
|
|
|
176
176
|
popconfirm: {
|
|
177
177
|
content: "确定要刷新缓存吗?",
|
|
178
178
|
onConfirm: async () => {
|
|
179
|
-
await
|
|
179
|
+
await t.Delete("system/config/refreshCache", void 0, { meta: { useSuccessMsg: !0 } });
|
|
180
180
|
}
|
|
181
181
|
}
|
|
182
182
|
}],
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { H as e, S as t, o as n } from "../../../chunks/provider-6bwbdidw.mjs";
|
|
2
2
|
import "../../../components/page-list/index.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-nd2K6s0p.mjs";
|
|
6
6
|
import "../../../chunks/utils-SvnLuaWm.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";
|
|
@@ -63,9 +63,9 @@ var v = /* @__PURE__ */ l({
|
|
|
63
63
|
model: "status"
|
|
64
64
|
}
|
|
65
65
|
}, x = {
|
|
66
|
-
apis: { list: { method: (
|
|
66
|
+
apis: { list: { method: (e) => t.Get("system/dept/list", {
|
|
67
67
|
params: {
|
|
68
|
-
...
|
|
68
|
+
...e,
|
|
69
69
|
pageNum: void 0,
|
|
70
70
|
pageSize: void 0
|
|
71
71
|
},
|
|
@@ -128,7 +128,7 @@ var v = /* @__PURE__ */ l({
|
|
|
128
128
|
let a = m(null);
|
|
129
129
|
_(a, () => {
|
|
130
130
|
a.value.setFormData(r);
|
|
131
|
-
}, { once: !0 }),
|
|
131
|
+
}, { once: !0 }), e({
|
|
132
132
|
body: () => u(n, {
|
|
133
133
|
items: [
|
|
134
134
|
b.parentId,
|
|
@@ -143,9 +143,9 @@ var v = /* @__PURE__ */ l({
|
|
|
143
143
|
}),
|
|
144
144
|
header: "编辑部门",
|
|
145
145
|
onConfirmCallback: async () => {
|
|
146
|
-
let
|
|
147
|
-
await
|
|
148
|
-
...
|
|
146
|
+
let e = await a.value.validate();
|
|
147
|
+
await t.Put("system/dept", {
|
|
148
|
+
...e,
|
|
149
149
|
deptId: r.deptId
|
|
150
150
|
}), s(), i.success("部门修改成功"), v.value.query();
|
|
151
151
|
},
|
|
@@ -158,7 +158,7 @@ var v = /* @__PURE__ */ l({
|
|
|
158
158
|
default: "新增",
|
|
159
159
|
onClick: () => {
|
|
160
160
|
let a = m(null);
|
|
161
|
-
|
|
161
|
+
e({
|
|
162
162
|
body: () => u(n, {
|
|
163
163
|
data: p({
|
|
164
164
|
parentId: r.deptId,
|
|
@@ -180,23 +180,23 @@ var v = /* @__PURE__ */ l({
|
|
|
180
180
|
}),
|
|
181
181
|
header: "新增部门",
|
|
182
182
|
onConfirmCallback: async () => {
|
|
183
|
-
await
|
|
183
|
+
await t.Post("system/dept", await a.value.validate()), s(), i.success("部门添加成功"), v.value.query();
|
|
184
184
|
},
|
|
185
185
|
width: 730
|
|
186
186
|
});
|
|
187
187
|
},
|
|
188
188
|
permission: "system:dept:add"
|
|
189
189
|
}),
|
|
190
|
-
({ row:
|
|
190
|
+
({ row: e }) => ({
|
|
191
191
|
default: "删除",
|
|
192
192
|
permission: "system:dept:remove",
|
|
193
193
|
popconfirm: {
|
|
194
194
|
content: "确认删除吗",
|
|
195
195
|
onConfirm: async () => {
|
|
196
|
-
await
|
|
196
|
+
await t.Delete(`system/dept/${e.deptId}`), s(), i("删除成功"), v.value.query();
|
|
197
197
|
}
|
|
198
198
|
},
|
|
199
|
-
show:
|
|
199
|
+
show: e.parentId !== "0"
|
|
200
200
|
})
|
|
201
201
|
],
|
|
202
202
|
component: "Buttons"
|
|
@@ -213,7 +213,7 @@ var v = /* @__PURE__ */ l({
|
|
|
213
213
|
default: "新增",
|
|
214
214
|
onClick: () => {
|
|
215
215
|
let r = m(null);
|
|
216
|
-
|
|
216
|
+
e({
|
|
217
217
|
body: () => u(n, {
|
|
218
218
|
data: p({ status: "0" }),
|
|
219
219
|
items: [
|
|
@@ -229,7 +229,7 @@ var v = /* @__PURE__ */ l({
|
|
|
229
229
|
}),
|
|
230
230
|
header: "添加部门",
|
|
231
231
|
onConfirmCallback: async () => {
|
|
232
|
-
await
|
|
232
|
+
await t.Post("system/dept", await r.value.validate()), s(), i.success("部门添加成功"), v.value.query();
|
|
233
233
|
},
|
|
234
234
|
width: 730
|
|
235
235
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as e } from "../../../chunks/provider-
|
|
1
|
+
import { S as e } from "../../../chunks/provider-6bwbdidw.mjs";
|
|
2
2
|
import "../../../chunks/utils-SvnLuaWm.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,
|
|
1
|
+
import { H as e, S as t, U as n, o as r } from "../../../chunks/provider-6bwbdidw.mjs";
|
|
2
2
|
import "../../../components/page-list/index.mjs";
|
|
3
|
-
import { t as i } from "../../../chunks/page-list-
|
|
3
|
+
import { t as i } from "../../../chunks/page-list-nd2K6s0p.mjs";
|
|
4
4
|
import a from "../../../plugins/autoImport/$msg/index.mjs";
|
|
5
|
-
import { t as o } from "../../../chunks/DictTypeDetail-
|
|
5
|
+
import { t as o } from "../../../chunks/DictTypeDetail-BcE2-B5V.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
|
// ../../packages/dlzn-ui/views/system/dict/index.vue
|
|
8
8
|
var _ = /* @__PURE__ */ c({
|
|
@@ -66,13 +66,13 @@ var _ = /* @__PURE__ */ c({
|
|
|
66
66
|
title: "字典名称"
|
|
67
67
|
},
|
|
68
68
|
{
|
|
69
|
-
cell: (
|
|
69
|
+
cell: (e, { row: t }) => ({
|
|
70
70
|
component: "TypographyTextLink",
|
|
71
71
|
link: { onClick: () => {
|
|
72
|
-
|
|
73
|
-
body: () => l(o, { dictType:
|
|
72
|
+
n({
|
|
73
|
+
body: () => l(o, { dictType: t.dictType }),
|
|
74
74
|
footer: !1,
|
|
75
|
-
header: `字典类型: ${
|
|
75
|
+
header: `字典类型: ${t.dictName}(${t.dictType})`,
|
|
76
76
|
width: 1500
|
|
77
77
|
});
|
|
78
78
|
} }
|
|
@@ -102,13 +102,13 @@ var _ = /* @__PURE__ */ c({
|
|
|
102
102
|
},
|
|
103
103
|
{
|
|
104
104
|
cell: {
|
|
105
|
-
buttons: [({ row:
|
|
105
|
+
buttons: [({ row: n }) => ({
|
|
106
106
|
default: "编辑",
|
|
107
107
|
onClick: () => {
|
|
108
108
|
let i = p(null);
|
|
109
109
|
g(i, () => {
|
|
110
|
-
i.value.setFormData(
|
|
111
|
-
}, { once: !0 }),
|
|
110
|
+
i.value.setFormData(n);
|
|
111
|
+
}, { once: !0 }), e({
|
|
112
112
|
body: () => l(r, {
|
|
113
113
|
items: [
|
|
114
114
|
v.dictName,
|
|
@@ -127,7 +127,7 @@ var _ = /* @__PURE__ */ c({
|
|
|
127
127
|
onConfirmCallback: async () => {
|
|
128
128
|
await t.Put("system/dict/type", {
|
|
129
129
|
...await i.value.validate(),
|
|
130
|
-
dictId:
|
|
130
|
+
dictId: n.dictId
|
|
131
131
|
}), a.success("字典类型修改成功"), _.value.query();
|
|
132
132
|
},
|
|
133
133
|
width: 430
|
|
@@ -150,8 +150,8 @@ var _ = /* @__PURE__ */ c({
|
|
|
150
150
|
operations: [{
|
|
151
151
|
default: "新增",
|
|
152
152
|
onClick: () => {
|
|
153
|
-
let
|
|
154
|
-
|
|
153
|
+
let n = p(null);
|
|
154
|
+
e({
|
|
155
155
|
body: () => l(r, {
|
|
156
156
|
data: f({ status: "0" }),
|
|
157
157
|
items: [
|
|
@@ -165,11 +165,11 @@ var _ = /* @__PURE__ */ c({
|
|
|
165
165
|
],
|
|
166
166
|
labelAlign: "right",
|
|
167
167
|
layout: "vertical",
|
|
168
|
-
ref:
|
|
168
|
+
ref: n
|
|
169
169
|
}),
|
|
170
170
|
header: "添加字典类型",
|
|
171
171
|
onConfirmCallback: async () => {
|
|
172
|
-
await t.Post("system/dict/type", await
|
|
172
|
+
await t.Post("system/dict/type", await n.value.validate()), a.success("字典添加成功"), _.value.query();
|
|
173
173
|
},
|
|
174
174
|
width: 430
|
|
175
175
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as default } from "../../../../chunks/DictTypeDetail-
|
|
1
|
+
export { t as default } from "../../../../chunks/DictTypeDetail-BcE2-B5V.mjs";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { H as e, S as t, n, o as r } from "../../../chunks/provider-6bwbdidw.mjs";
|
|
2
2
|
import { t as i } from "../../../chunks/icon-DnBGEq-n.mjs";
|
|
3
3
|
import "../../../components/icon/index.mjs";
|
|
4
4
|
import { isFalsy as a } from "../../../utils/boolean.mjs";
|
|
5
5
|
import "../../../components/page-list/index.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-nd2K6s0p.mjs";
|
|
9
9
|
import "../../../chunks/utils-SvnLuaWm.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";
|
|
@@ -158,9 +158,9 @@ var b = /* @__PURE__ */ d({
|
|
|
158
158
|
method: "system/menu",
|
|
159
159
|
permission: "system:menu:remove"
|
|
160
160
|
},
|
|
161
|
-
list: { method: (
|
|
161
|
+
list: { method: (e) => t.Get("system/menu/list", {
|
|
162
162
|
params: {
|
|
163
|
-
...
|
|
163
|
+
...e,
|
|
164
164
|
pageNum: void 0,
|
|
165
165
|
pageSize: void 0
|
|
166
166
|
},
|
|
@@ -243,7 +243,7 @@ var b = /* @__PURE__ */ d({
|
|
|
243
243
|
...n,
|
|
244
244
|
parentId: n.parentId === "0" ? "" : n.parentId
|
|
245
245
|
}, { numberToStringKeys: ["isFrame"] });
|
|
246
|
-
}, { once: !0 }),
|
|
246
|
+
}, { once: !0 }), e({
|
|
247
247
|
body: () => f(r, {
|
|
248
248
|
data: h({
|
|
249
249
|
isCache: "0",
|
|
@@ -268,7 +268,7 @@ var b = /* @__PURE__ */ d({
|
|
|
268
268
|
}),
|
|
269
269
|
header: "编辑菜单",
|
|
270
270
|
onConfirmCallback: async () => {
|
|
271
|
-
let
|
|
271
|
+
let e = await i.value.validate();
|
|
272
272
|
[
|
|
273
273
|
"component",
|
|
274
274
|
"perms",
|
|
@@ -277,12 +277,12 @@ var b = /* @__PURE__ */ d({
|
|
|
277
277
|
"isCache",
|
|
278
278
|
"path",
|
|
279
279
|
"isFrame"
|
|
280
|
-
].forEach((
|
|
281
|
-
|
|
282
|
-
}), T(
|
|
283
|
-
...
|
|
280
|
+
].forEach((t) => {
|
|
281
|
+
t in e || (e[t] = "");
|
|
282
|
+
}), T(e), await t.Put("system/menu", {
|
|
283
|
+
...e,
|
|
284
284
|
menuId: n.menuId,
|
|
285
|
-
parentId: a(
|
|
285
|
+
parentId: a(e.parentId) ? "0" : e.parentId
|
|
286
286
|
}), x(), s.success("菜单修改成功"), S.value.query();
|
|
287
287
|
},
|
|
288
288
|
width: 730
|
|
@@ -293,7 +293,7 @@ var b = /* @__PURE__ */ d({
|
|
|
293
293
|
default: "新增",
|
|
294
294
|
onClick: () => {
|
|
295
295
|
let i = g(null);
|
|
296
|
-
|
|
296
|
+
e({
|
|
297
297
|
body: () => f(r, {
|
|
298
298
|
data: h({
|
|
299
299
|
isCache: "0",
|
|
@@ -324,8 +324,8 @@ var b = /* @__PURE__ */ d({
|
|
|
324
324
|
}),
|
|
325
325
|
header: "新增菜单",
|
|
326
326
|
onConfirmCallback: async () => {
|
|
327
|
-
let
|
|
328
|
-
T(
|
|
327
|
+
let e = await i.value.validate();
|
|
328
|
+
T(e), await t.Post("system/menu", e), x(), s.success("菜单修改成功"), S.value.query();
|
|
329
329
|
},
|
|
330
330
|
width: 730
|
|
331
331
|
});
|
|
@@ -346,7 +346,7 @@ var b = /* @__PURE__ */ d({
|
|
|
346
346
|
default: "新增",
|
|
347
347
|
onClick: () => {
|
|
348
348
|
let n = g(null);
|
|
349
|
-
|
|
349
|
+
e({
|
|
350
350
|
body: () => f(r, {
|
|
351
351
|
data: h({
|
|
352
352
|
isCache: "0",
|
|
@@ -373,10 +373,10 @@ var b = /* @__PURE__ */ d({
|
|
|
373
373
|
}),
|
|
374
374
|
header: "添加菜单",
|
|
375
375
|
onConfirmCallback: async () => {
|
|
376
|
-
let
|
|
377
|
-
T(
|
|
378
|
-
...
|
|
379
|
-
parentId: a(
|
|
376
|
+
let e = await n.value.validate();
|
|
377
|
+
T(e), await t.Post("system/menu", {
|
|
378
|
+
...e,
|
|
379
|
+
parentId: a(e.parentId) ? "0" : e.parentId
|
|
380
380
|
}), x(), s.success("菜单添加成功"), S.value.query();
|
|
381
381
|
},
|
|
382
382
|
width: 730
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as e } from "../../../chunks/provider-
|
|
1
|
+
import { S as e } from "../../../chunks/provider-6bwbdidw.mjs";
|
|
2
2
|
import "../../../chunks/utils-SvnLuaWm.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 {
|
|
1
|
+
import { H as e, S as t, o as n } from "../../../chunks/provider-6bwbdidw.mjs";
|
|
2
2
|
import "../../../components/page-list/index.mjs";
|
|
3
|
-
import { t as r } from "../../../chunks/page-list-
|
|
3
|
+
import { t as r } from "../../../chunks/page-list-nd2K6s0p.mjs";
|
|
4
4
|
import i from "../../../plugins/autoImport/$msg/index.mjs";
|
|
5
5
|
import { createBlock as a, defineComponent as o, h as s, mergeProps as c, openBlock as l, reactive as u, ref as d, unref as f, useTemplateRef as p, watch as m } from "vue";
|
|
6
6
|
// ../../packages/dlzn-ui/views/system/notice/index.vue
|
|
@@ -88,7 +88,7 @@ var h = /* @__PURE__ */ o({
|
|
|
88
88
|
let a = d(null);
|
|
89
89
|
m(a, () => {
|
|
90
90
|
a.value.setFormData(r);
|
|
91
|
-
}, { once: !0 }),
|
|
91
|
+
}, { once: !0 }), e({
|
|
92
92
|
body: () => s(n, {
|
|
93
93
|
items: _,
|
|
94
94
|
labelAlign: "right",
|
|
@@ -97,7 +97,7 @@ var h = /* @__PURE__ */ o({
|
|
|
97
97
|
}),
|
|
98
98
|
header: "修改公告",
|
|
99
99
|
onConfirmCallback: async () => {
|
|
100
|
-
await
|
|
100
|
+
await t.Put("system/notice", {
|
|
101
101
|
...await a.value.validate(),
|
|
102
102
|
noticeId: r.noticeId
|
|
103
103
|
}), i.success("公告修改成功"), h.value.query();
|
|
@@ -122,7 +122,7 @@ var h = /* @__PURE__ */ o({
|
|
|
122
122
|
default: "新增",
|
|
123
123
|
onClick: () => {
|
|
124
124
|
let r = d(null);
|
|
125
|
-
|
|
125
|
+
e({
|
|
126
126
|
body: () => s(n, {
|
|
127
127
|
data: u({ status: "0" }),
|
|
128
128
|
items: _,
|
|
@@ -132,7 +132,7 @@ var h = /* @__PURE__ */ o({
|
|
|
132
132
|
}),
|
|
133
133
|
header: "添加公告",
|
|
134
134
|
onConfirmCallback: async () => {
|
|
135
|
-
await
|
|
135
|
+
await t.Post("system/notice", await r.value.validate()), i.success("公告添加成功"), h.value.query();
|
|
136
136
|
},
|
|
137
137
|
width: 460
|
|
138
138
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { H as e, S as t, o as n } from "../../../chunks/provider-6bwbdidw.mjs";
|
|
2
2
|
import "../../../components/page-list/index.mjs";
|
|
3
|
-
import { t as r } from "../../../chunks/page-list-
|
|
3
|
+
import { t as r } from "../../../chunks/page-list-nd2K6s0p.mjs";
|
|
4
4
|
import i from "../../../plugins/autoImport/$msg/index.mjs";
|
|
5
5
|
import { createBlock as a, defineComponent as o, h as s, mergeProps as c, openBlock as l, reactive as u, ref as d, unref as f, useTemplateRef as p, watch as m } from "vue";
|
|
6
6
|
// ../../packages/dlzn-ui/views/system/post/index.vue
|
|
@@ -100,7 +100,7 @@ var h = /* @__PURE__ */ o({
|
|
|
100
100
|
let a = d(null);
|
|
101
101
|
m(a, () => {
|
|
102
102
|
a.value.setFormData(r);
|
|
103
|
-
}, { once: !0 }),
|
|
103
|
+
}, { once: !0 }), e({
|
|
104
104
|
body: () => s(n, {
|
|
105
105
|
items: [
|
|
106
106
|
g.postCode,
|
|
@@ -118,7 +118,7 @@ var h = /* @__PURE__ */ o({
|
|
|
118
118
|
}),
|
|
119
119
|
header: "修改岗位",
|
|
120
120
|
onConfirmCallback: async () => {
|
|
121
|
-
await
|
|
121
|
+
await t.Put("system/post", {
|
|
122
122
|
...await a.value.validate(),
|
|
123
123
|
postId: r.postId
|
|
124
124
|
}), i.success("岗位修改成功"), h.value.query();
|
|
@@ -143,7 +143,7 @@ var h = /* @__PURE__ */ o({
|
|
|
143
143
|
default: "新增",
|
|
144
144
|
onClick: () => {
|
|
145
145
|
let r = d(null);
|
|
146
|
-
|
|
146
|
+
e({
|
|
147
147
|
body: () => s(n, {
|
|
148
148
|
data: u({ status: "0" }),
|
|
149
149
|
items: [
|
|
@@ -162,7 +162,7 @@ var h = /* @__PURE__ */ o({
|
|
|
162
162
|
}),
|
|
163
163
|
header: "添加岗位",
|
|
164
164
|
onConfirmCallback: async () => {
|
|
165
|
-
await
|
|
165
|
+
await t.Post("system/post", await r.value.validate()), i.success("岗位添加成功"), h.value.query();
|
|
166
166
|
},
|
|
167
167
|
width: 430
|
|
168
168
|
});
|