dlzn-ui 2.0.51 → 2.0.53
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/chunks/{AssignUser-B11nIqo_.mjs → AssignUser-CJFt5Q1h.mjs} +14 -14
- package/chunks/{BasicInfo-9WqspD1Z.mjs → BasicInfo-CJNldTAG.mjs} +1 -1
- package/chunks/{ColumnInfo-B_lgPqVS.mjs → ColumnInfo-Be56uLyo.mjs} +2 -2
- package/chunks/{Common-BVD38hp6.mjs → Common-CFfc_3CV.mjs} +1 -1
- package/chunks/{Day-CHWBklI0.mjs → Day-goCJrrD_.mjs} +1 -1
- package/chunks/{DictTypeDetail-C8SPo0b_.mjs → DictTypeDetail-C-LVM-Mf.mjs} +8 -8
- package/chunks/{GenInfo-Dxoe_3RM.mjs → GenInfo-1KrHcY4D.mjs} +1 -1
- package/chunks/{Hour-NaDEj833.mjs → Hour-B0FYcjAM.mjs} +1 -1
- package/chunks/{Import-BZkJuPLC.mjs → Import-BTaQ_XRL.mjs} +2 -2
- package/chunks/{Index-ClKOg-Wu.mjs → Index-CIuzrUvW.mjs} +1 -1
- package/chunks/{Index-QeguMHYR.mjs → Index-DLWQRcwf.mjs} +1 -1
- package/chunks/{Index-CQSAs1h6.mjs → Index-DWMWEc1h.mjs} +1 -1
- package/chunks/{Index-LNJ_79uk.mjs → Index-NwyOfjbd.mjs} +1 -1
- package/chunks/{IndexItem-D7mOSNO6.mjs → IndexItem-BGiKCAsP.mjs} +1 -1
- package/chunks/{Log-DSKkWGbI.mjs → Log-3YYKqTZ2.mjs} +11 -11
- package/chunks/{LoginBg-BharyaPx.mjs → LoginBg-Bk4XiQcv.mjs} +1 -1
- package/chunks/{Minute-CM6f_BSX.mjs → Minute-DUu_mOOe.mjs} +1 -1
- package/chunks/{Month-DRWusngF.mjs → Month-Gvd1GX2j.mjs} +1 -1
- package/chunks/{Preview-hFTldEUR.mjs → Preview-BrOs3WhB.mjs} +1 -1
- package/chunks/{Second-BTRO-iOb.mjs → Second-D022qvS-.mjs} +1 -1
- package/chunks/{SelectDept-B_9npI--.mjs → SelectDept-B1D0kuQH.mjs} +1 -1
- package/chunks/{SelectMenu-CB0bsNEl.mjs → SelectMenu-DHUb3_VU.mjs} +1 -1
- package/chunks/{SelectUser-CZ4P-c67.mjs → SelectUser-CAFBcwTn.mjs} +2 -2
- package/chunks/{UserInfo-CT_ez2uW.mjs → UserInfo-CqWhc6yw.mjs} +7 -7
- package/chunks/{Wrapper-Boiyneqd.mjs → Wrapper-64pfjnP6.mjs} +1 -1
- package/chunks/{app-DNfYzQDT.mjs → app-CEhN8Ot6.mjs} +1 -1
- package/chunks/{custom-page-list-v88splrD.mjs → custom-page-list-BSixJAQP.mjs} +4 -4
- package/chunks/{custom-page-table-BheCVTlP.mjs → custom-page-table-BTWOfn8t.mjs} +2 -2
- package/chunks/{overview-MLIPTO-D.mjs → overview-D_sf7DL1.mjs} +1 -1
- package/chunks/{page-list-BLDYBbVJ.mjs → page-list-PgB5MGIt.mjs} +3 -3
- package/chunks/{page-query-JDsWn-xy.mjs → page-query-CkhudpAH.mjs} +1 -1
- package/chunks/{page-table-Be4aMLTf.mjs → page-table-C53YrGik.mjs} +3 -3
- package/chunks/{pagination-Cck2wqel.mjs → pagination-DjeMHIma.mjs} +1 -1
- package/chunks/{provider-CDqQoKIA.mjs → provider-CkV8UD3o.mjs} +471 -466
- package/chunks/{table-5y2fT5vf.mjs → table-Bu1WKJn0.mjs} +1 -1
- package/components/app/index.mjs +1 -1
- package/components/app/src/app.mjs +1 -1
- package/components/button/index.mjs +1 -1
- package/components/button/src/button.mjs +1 -1
- package/components/checkbox-group/index.mjs +1 -1
- package/components/checkbox-group/src/checkbox-group.mjs +1 -1
- package/components/cron/index.mjs +1 -1
- package/components/cron/src/Common.mjs +1 -1
- package/components/cron/src/Day.mjs +1 -1
- package/components/cron/src/Hour.mjs +1 -1
- package/components/cron/src/Minute.mjs +1 -1
- package/components/cron/src/Month.mjs +1 -1
- package/components/cron/src/Picker.mjs +6 -6
- package/components/cron/src/Second.mjs +1 -1
- package/components/cron/src/cron.mjs +1 -1
- package/components/custom-page-list/index.mjs +1 -1
- package/components/custom-page-list/src/custom-page-list.mjs +1 -1
- package/components/custom-page-table/index.mjs +1 -1
- package/components/custom-page-table/src/custom-page-table.mjs +1 -1
- package/components/form/index.mjs +1 -1
- package/components/form/src/form.mjs +1 -1
- package/components/index.mjs +9 -9
- package/components/overview/index.mjs +1 -1
- package/components/overview/src/DicLabel/Index.mjs +1 -1
- package/components/overview/src/IndexItem.mjs +1 -1
- package/components/overview/src/overview.mjs +1 -1
- package/components/page-list/index.mjs +1 -1
- package/components/page-list/src/page-list.d.ts +13 -13
- package/components/page-list/src/page-list.mjs +1 -1
- package/components/page-query/index.mjs +1 -1
- package/components/page-query/src/page-query.mjs +1 -1
- package/components/page-table/index.mjs +1 -1
- package/components/page-table/src/page-table.mjs +1 -1
- package/components/pagination/index.mjs +1 -1
- package/components/pagination/src/pagination.mjs +1 -1
- package/components/provider/index.mjs +1 -1
- package/components/provider/src/Provider.mjs +1 -1
- package/components/radio-group/index.mjs +1 -1
- package/components/radio-group/src/radio-group.mjs +1 -1
- package/components/select/index.mjs +1 -1
- package/components/select/src/select.mjs +1 -1
- package/components/select-sys-user/index.mjs +1 -1
- package/components/select-sys-user/src/Picker.mjs +2 -2
- package/components/select-sys-user/src/select-sys-user.mjs +1 -1
- package/components/table/index.mjs +1 -1
- package/components/table/src/table.mjs +1 -1
- package/components/tree/index.mjs +1 -1
- package/components/tree/src/tree.mjs +1 -1
- package/components/tree/src/tree.vue.d.ts +1 -1
- package/components/tree-select/index.mjs +1 -1
- package/components/tree-select/src/tree-select.mjs +1 -1
- package/components/upload/index.mjs +1 -1
- package/components/upload/src/upload.mjs +1 -1
- package/hooks/useDicOptions/index.mjs +1 -1
- package/hooks/useSysUser/index.mjs +1 -1
- package/layout/Entry.mjs +1 -1
- package/layout/Home.mjs +2 -2
- package/layout/Login.mjs +2 -2
- package/layout/NotFound.mjs +1 -1
- package/layout/modules/Aside.mjs +1 -1
- package/layout/modules/Breadcrumb.mjs +1 -1
- package/layout/modules/Header.mjs +1 -1
- package/layout/modules/LoginBg.mjs +1 -1
- package/layout/profile/Index.mjs +2 -2
- package/layout/profile/ResetPwd.mjs +1 -1
- package/layout/profile/UserInfo.mjs +1 -1
- package/main.mjs +3 -3
- package/package.json +2 -1
- package/plugins/autoImport/$alova/index.mjs +1 -1
- package/plugins/autoImport/$confirm/index.mjs +1 -1
- package/plugins/autoImport/$dialog/index.mjs +1 -1
- package/plugins/autoImport/$drawer/index.mjs +1 -1
- package/plugins/captcha/captcha.mjs +1 -1
- 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/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 +2 -2
- package/store/modules/user.mjs +1 -1
- package/utils/index.mjs +3 -3
- package/utils/tool.d.ts +2 -0
- package/utils/tool.mjs +6 -2
- package/views/monitor/cache/index.mjs +2 -2
- package/views/monitor/cacheList/index.mjs +2 -2
- package/views/monitor/logininfor/index.mjs +2 -2
- package/views/monitor/online/index.mjs +2 -2
- package/views/monitor/operlog/index.mjs +2 -2
- package/views/monitor/server/index.mjs +2 -2
- package/views/system/config/index.mjs +11 -11
- package/views/system/dept/index.mjs +15 -15
- package/views/system/dept/utils.mjs +1 -1
- package/views/system/dict/index.mjs +16 -16
- 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 +36 -36
- 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 +13 -13
- 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 +15 -15
- package/views/tool/gen/modules/Import.mjs +1 -1
- package/views/tool/gen/modules/Preview.mjs +1 -1
- package/views/tool/job/index.mjs +26 -26
- package/views/tool/job/modules/Log.mjs +1 -1
package/views/tool/gen/index.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { H as e, S as t, V as n } from "../../../chunks/provider-CkV8UD3o.mjs";
|
|
2
2
|
import { n as r } from "../../../chunks/useAppContext-D47amIp5.mjs";
|
|
3
|
-
import { t as i } from "../../../chunks/page-list-
|
|
3
|
+
import { t as i } from "../../../chunks/page-list-PgB5MGIt.mjs";
|
|
4
4
|
import "../../../components/page-list/index.mjs";
|
|
5
|
-
import { t as a } from "../../../chunks/Import-
|
|
6
|
-
import { t as o } from "../../../chunks/Preview-
|
|
5
|
+
import { t as a } from "../../../chunks/Import-BTaQ_XRL.mjs";
|
|
6
|
+
import { t as o } from "../../../chunks/Preview-BrOs3WhB.mjs";
|
|
7
7
|
import { computed as s, 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 } from "vue";
|
|
8
8
|
import { useRouter as _ } from "vue-router";
|
|
9
9
|
//#endregion
|
|
@@ -31,7 +31,7 @@ var v = /* @__PURE__ */ l({
|
|
|
31
31
|
}
|
|
32
32
|
};
|
|
33
33
|
async function S(e) {
|
|
34
|
-
await
|
|
34
|
+
await t.Get("tool/gen/batchGenCode", {
|
|
35
35
|
meta: {
|
|
36
36
|
useDownload: `生成的代码${e}.zip`,
|
|
37
37
|
useResponseBlob: !0
|
|
@@ -46,7 +46,7 @@ var v = /* @__PURE__ */ l({
|
|
|
46
46
|
permission: "tool:gen:remove",
|
|
47
47
|
showBatch: !0
|
|
48
48
|
},
|
|
49
|
-
list: { method: (e) =>
|
|
49
|
+
list: { method: (e) => t.Get("tool/gen/list", { params: {
|
|
50
50
|
...e,
|
|
51
51
|
dateRange: void 0,
|
|
52
52
|
"params[beginTime]": e.dateRange[0],
|
|
@@ -77,11 +77,11 @@ var v = /* @__PURE__ */ l({
|
|
|
77
77
|
{
|
|
78
78
|
cell: {
|
|
79
79
|
buttons: [
|
|
80
|
-
({ row:
|
|
80
|
+
({ row: t }) => ({
|
|
81
81
|
default: "预览",
|
|
82
82
|
onClick: () => {
|
|
83
|
-
|
|
84
|
-
body: () => u(o, { tableId:
|
|
83
|
+
e({
|
|
84
|
+
body: () => u(o, { tableId: t.tableId }),
|
|
85
85
|
cancelBtn: "关闭",
|
|
86
86
|
confirmBtn: null,
|
|
87
87
|
header: "代码预览",
|
|
@@ -106,14 +106,14 @@ var v = /* @__PURE__ */ l({
|
|
|
106
106
|
popconfirm: {
|
|
107
107
|
content: `确认要强制同步${e.tableName}表结构吗?`,
|
|
108
108
|
onConfirm: async () => {
|
|
109
|
-
await
|
|
109
|
+
await t.Get(`tool/gen/synchDb/${e.tableName}`, { meta: { useSuccessMsg: !0 } });
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
112
|
}),
|
|
113
113
|
({ row: e }) => ({
|
|
114
114
|
default: "生成代码",
|
|
115
115
|
onClick: async () => {
|
|
116
|
-
e.genType === "1" ? (await
|
|
116
|
+
e.genType === "1" ? (await t.Get(`tool/gen/genCode/${e.tableName}`), r(`成功生成到自定义路径:${e.genPath}`)) : await S(e.tableName);
|
|
117
117
|
},
|
|
118
118
|
permission: "tool:gen:code"
|
|
119
119
|
})
|
|
@@ -139,12 +139,12 @@ var v = /* @__PURE__ */ l({
|
|
|
139
139
|
}), {
|
|
140
140
|
default: "导入",
|
|
141
141
|
onClick: () => {
|
|
142
|
-
let
|
|
143
|
-
|
|
144
|
-
body: () => u(a, { ref:
|
|
142
|
+
let e = m(null);
|
|
143
|
+
n({
|
|
144
|
+
body: () => u(a, { ref: e }),
|
|
145
145
|
header: "导入表",
|
|
146
146
|
onConfirmCallback: async () => {
|
|
147
|
-
await
|
|
147
|
+
await e.value.handleSubmit(), y.value.query();
|
|
148
148
|
},
|
|
149
149
|
width: 800
|
|
150
150
|
});
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../../../chunks/Import-
|
|
1
|
+
import { t as e } from "../../../../chunks/Import-BTaQ_XRL.mjs";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../../../chunks/Preview-
|
|
1
|
+
import { t as e } from "../../../../chunks/Preview-BrOs3WhB.mjs";
|
|
2
2
|
export { e as default };
|
package/views/tool/job/index.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { H as e, S as t, V as n, o as r } from "../../../chunks/provider-CkV8UD3o.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-PgB5MGIt.mjs";
|
|
4
4
|
import "../../../components/page-list/index.mjs";
|
|
5
|
-
import { t as o } from "../../../chunks/Log-
|
|
5
|
+
import { t as o } from "../../../chunks/Log-3YYKqTZ2.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/tool/job/index.vue
|
|
@@ -126,10 +126,10 @@ var _ = /* @__PURE__ */ c({
|
|
|
126
126
|
title: "cron执行表达式"
|
|
127
127
|
},
|
|
128
128
|
{
|
|
129
|
-
cell: (
|
|
129
|
+
cell: (e, { row: r }) => ({
|
|
130
130
|
beforeChange: async () => {
|
|
131
|
-
let
|
|
132
|
-
return await
|
|
131
|
+
let e = r.status === "1" ? "启用" : "停用";
|
|
132
|
+
return await n(`确认${e}${r.jobName}任务吗?`), await t.Put("monitor/job/changeStatus", {
|
|
133
133
|
jobId: r.jobId,
|
|
134
134
|
status: r.status === "1" ? "0" : "1"
|
|
135
135
|
}, { meta: { useSuccessMsg: !0 } }), _.value.query(), !0;
|
|
@@ -143,13 +143,13 @@ var _ = /* @__PURE__ */ c({
|
|
|
143
143
|
{
|
|
144
144
|
cell: {
|
|
145
145
|
buttons: [
|
|
146
|
-
({ row:
|
|
146
|
+
({ row: e }) => ({
|
|
147
147
|
default: "编辑",
|
|
148
148
|
onClick: () => {
|
|
149
149
|
let a = p(null);
|
|
150
150
|
g(a, () => {
|
|
151
|
-
a.value.setFormData(
|
|
152
|
-
}, { once: !0 }),
|
|
151
|
+
a.value.setFormData(e);
|
|
152
|
+
}, { once: !0 }), n({
|
|
153
153
|
body: () => l(r, {
|
|
154
154
|
items: [
|
|
155
155
|
v.jobName,
|
|
@@ -164,9 +164,9 @@ var _ = /* @__PURE__ */ c({
|
|
|
164
164
|
}),
|
|
165
165
|
header: "修改任务",
|
|
166
166
|
onConfirmCallback: async () => {
|
|
167
|
-
await
|
|
167
|
+
await t.Put("monitor/job", {
|
|
168
168
|
...await a.value.validate(),
|
|
169
|
-
jobId:
|
|
169
|
+
jobId: e.jobId
|
|
170
170
|
}), i.success("任务修改成功"), _.value.query();
|
|
171
171
|
},
|
|
172
172
|
width: 730
|
|
@@ -180,20 +180,20 @@ var _ = /* @__PURE__ */ c({
|
|
|
180
180
|
popconfirm: {
|
|
181
181
|
content: `确认要立即执行一次${e.jobName}任务吗?`,
|
|
182
182
|
onConfirm: async () => {
|
|
183
|
-
await
|
|
183
|
+
await t.Put("monitor/job/run", {
|
|
184
184
|
jobGroup: e.jobGroup,
|
|
185
185
|
jobId: e.jobId
|
|
186
186
|
}, { meta: { useSuccessMsg: !0 } });
|
|
187
187
|
}
|
|
188
188
|
}
|
|
189
189
|
}),
|
|
190
|
-
({ row:
|
|
190
|
+
({ row: e }) => ({
|
|
191
191
|
default: "任务详细",
|
|
192
192
|
onClick: () => {
|
|
193
|
-
let
|
|
194
|
-
g(
|
|
195
|
-
|
|
196
|
-
}, { once: !0 }),
|
|
193
|
+
let t = p(null);
|
|
194
|
+
g(t, () => {
|
|
195
|
+
t.value.setFormData(e);
|
|
196
|
+
}, { once: !0 }), n({
|
|
197
197
|
body: () => l(r, {
|
|
198
198
|
items: [
|
|
199
199
|
v.jobId,
|
|
@@ -208,7 +208,7 @@ var _ = /* @__PURE__ */ c({
|
|
|
208
208
|
v.concurrent
|
|
209
209
|
],
|
|
210
210
|
readonly: !0,
|
|
211
|
-
ref:
|
|
211
|
+
ref: t
|
|
212
212
|
}),
|
|
213
213
|
footer: !1,
|
|
214
214
|
header: "任务详细",
|
|
@@ -217,11 +217,11 @@ var _ = /* @__PURE__ */ c({
|
|
|
217
217
|
},
|
|
218
218
|
permission: "monitor:job:query"
|
|
219
219
|
}),
|
|
220
|
-
({ row:
|
|
220
|
+
({ row: t }) => ({
|
|
221
221
|
default: "调度日志",
|
|
222
222
|
onClick: () => {
|
|
223
|
-
|
|
224
|
-
body: () => l(o, { id:
|
|
223
|
+
e({
|
|
224
|
+
body: () => l(o, { id: t.jobId }),
|
|
225
225
|
footer: !1,
|
|
226
226
|
header: "查看调度日志",
|
|
227
227
|
width: 1500
|
|
@@ -247,8 +247,8 @@ var _ = /* @__PURE__ */ c({
|
|
|
247
247
|
operations: [{
|
|
248
248
|
default: "新增",
|
|
249
249
|
onClick: () => {
|
|
250
|
-
let
|
|
251
|
-
|
|
250
|
+
let e = p(null);
|
|
251
|
+
n({
|
|
252
252
|
body: () => l(r, {
|
|
253
253
|
data: f({
|
|
254
254
|
concurrent: "1",
|
|
@@ -263,11 +263,11 @@ var _ = /* @__PURE__ */ c({
|
|
|
263
263
|
v.misfirePolicy,
|
|
264
264
|
v.concurrent
|
|
265
265
|
],
|
|
266
|
-
ref:
|
|
266
|
+
ref: e
|
|
267
267
|
}),
|
|
268
268
|
header: "新增任务",
|
|
269
269
|
onConfirmCallback: async () => {
|
|
270
|
-
await
|
|
270
|
+
await t.Post("monitor/job", await e.value.validate()), i.success("任务新增成功"), _.value.query();
|
|
271
271
|
},
|
|
272
272
|
width: 730
|
|
273
273
|
});
|
|
@@ -276,7 +276,7 @@ var _ = /* @__PURE__ */ c({
|
|
|
276
276
|
}, {
|
|
277
277
|
default: "日志",
|
|
278
278
|
onClick: () => {
|
|
279
|
-
|
|
279
|
+
e({
|
|
280
280
|
body: () => l(o),
|
|
281
281
|
footer: !1,
|
|
282
282
|
header: "查看调度日志",
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../../../chunks/Log-
|
|
1
|
+
import { t as e } from "../../../../chunks/Log-3YYKqTZ2.mjs";
|
|
2
2
|
export { e as default };
|