dlzn-ui 2.0.93 → 2.0.95
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/provider-Bh_VYGit.css +2 -0
- package/assets/{css-CZQicoxs.css → scrollbar-To1tAaeV.css} +1 -1
- package/chunks/{AssignUser-Bjm-tcxL.mjs → AssignUser-pMMpNO27.mjs} +14 -14
- package/chunks/{BasicInfo-BWfSZ_HQ.mjs → BasicInfo-dMwF0ziF.mjs} +1 -1
- package/chunks/{ColumnInfo-sxd5S5fj.mjs → ColumnInfo-0WJQWMbG.mjs} +2 -2
- package/chunks/{Common-DtHjLp8S.mjs → Common-DE7thNTn.mjs} +7 -8
- package/chunks/{Day-DXmvbaA-.mjs → Day-Dj8dheNY.mjs} +12 -13
- package/chunks/{DictTypeDetail-DExEs2pD.mjs → DictTypeDetail-BIVPm9kz.mjs} +10 -10
- package/chunks/{GenInfo-zHlSR8Xi.mjs → GenInfo-CVmGFfUf.mjs} +1 -1
- package/chunks/{Hour-og6bObii.mjs → Hour-fmUnJG03.mjs} +1 -1
- package/chunks/{Import-CB1QuML4.mjs → Import-DWlcNGih.mjs} +2 -2
- package/chunks/{Index-CJCfI-r7.mjs → Index--FTIsWxL.mjs} +5 -6
- package/chunks/{Index-Djtx-Hvr.mjs → Index-BU7G9MXR.mjs} +1 -1
- package/chunks/{Index-kmSafJeE.mjs → Index-BloAp662.mjs} +1 -1
- package/chunks/{Index-B71kfXN0.mjs → Index-C97pCXnX.mjs} +2 -2
- package/chunks/{Index-DPsmE1uN.mjs → Index-CFtIabpU.mjs} +1 -1
- package/chunks/{Index-DJa6TvxZ.mjs → Index-CPJZlyGD.mjs} +2 -2
- package/chunks/{Index-Cm8ZetsA.mjs → Index-CSiH5LGc.mjs} +2 -2
- package/chunks/{Index-CN4X_4BO.mjs → Index-CiiLzD8p.mjs} +2 -2
- package/chunks/Index-D3ymPHcw.mjs +46 -0
- package/chunks/Index-D447iwxd.mjs +128 -0
- package/chunks/{Index-iSZ25oa5.mjs → Index-D4ys8Z_X.mjs} +1 -1
- package/chunks/{Index-DNWEV6qX.mjs → Index-DGf3QrKq.mjs} +1 -1
- package/chunks/{Index-cb1Euao4.mjs → Index-Dp_dwqU5.mjs} +1 -1
- package/chunks/{Index-D0Rcw6_y.mjs → Index-GJJawnRZ.mjs} +1 -1
- package/chunks/{Index-DMar4Ak5.mjs → Index-nLSG5esH.mjs} +2 -2
- package/chunks/{Index-CiXTiCPv.mjs → Index-rcLOiKUG.mjs} +5 -5
- package/chunks/{Index-Cl3E8sdW.mjs → Index-vepbJg-2.mjs} +1 -1
- package/chunks/{IndexItem-DabXJCE1.mjs → IndexItem-D5Ngo4ux.mjs} +7 -7
- package/chunks/{Log-Bdl4dLs2.mjs → Log-DiPyKgVW.mjs} +12 -12
- package/chunks/{LoginBg-CMSDCnPF.mjs → LoginBg-DK-FxB2n.mjs} +1 -1
- package/chunks/{Minute-BNXg2byx.mjs → Minute-D_mesp23.mjs} +1 -1
- package/chunks/{Month-BJSN_RQi.mjs → Month-BEnKEFGO.mjs} +1 -1
- package/chunks/{Preview-B0gJ53SG.mjs → Preview-DwWeDzEq.mjs} +1 -1
- package/chunks/{Second-CwPCm_aA.mjs → Second-DmBfCWw4.mjs} +1 -1
- package/chunks/{SelectDept-sNeYNdzH.mjs → SelectDept-DqkpUrLX.mjs} +1 -2
- package/chunks/{SelectMenu-27KCnGVX.mjs → SelectMenu-BG2aO4dr.mjs} +1 -2
- package/chunks/{SelectUser-Cx0YM3ds.mjs → SelectUser-UL3WHxqY.mjs} +2 -2
- package/chunks/{UserInfo-Bb1tmRjV.mjs → UserInfo-CJ1LUaSs.mjs} +9 -9
- package/chunks/{Wrapper-D6hdJKG5.mjs → Wrapper-Dd5a1AeJ.mjs} +1 -1
- package/chunks/{app-BBa29b74.mjs → app-Q4BryaGi.mjs} +1 -1
- package/chunks/{custom-page-list-Cu3uysuq.mjs → custom-page-list-BfwM6BZj.mjs} +4 -4
- package/chunks/{custom-page-table-4RY6Lrxk.mjs → custom-page-table-DiSUr7km.mjs} +2 -2
- package/chunks/{job-BCL4Boa7.mjs → job-CF59695q.mjs} +33 -33
- package/chunks/{overview-CZjS_5ws.mjs → overview-C_YMhM9g.mjs} +1 -1
- package/chunks/{page-list-Dyusjn67.mjs → page-list-Da4eL_wk.mjs} +3 -3
- package/chunks/{page-query-10dZRPbn.mjs → page-query-jPlr6ld9.mjs} +1 -1
- package/chunks/{page-table-D33Gigz2.mjs → page-table-BX-Inp9P.mjs} +24 -25
- package/chunks/{pagination-voqexobJ.mjs → pagination-BAsYYvcR.mjs} +1 -1
- package/chunks/{provider-BipQBIc8.mjs → provider-ofhdEHHM.mjs} +1287 -565
- package/chunks/{scrollbar-DR0tchN3.mjs → scrollbar-CFNjWbWr.mjs} +1 -2
- package/chunks/{table-CR8g_CQd.mjs → table-CEHUFrgD.mjs} +7 -8
- package/components/app/index.mjs +1 -1
- package/components/app/src/app.mjs +1 -1
- package/components/audio-play/index.d.ts +2 -0
- package/components/audio-play/src/audio-play.d.ts +7 -0
- package/components/audio-play/src/audio-play.vue.d.ts +6 -0
- 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/cron/src/cron.vue.d.ts +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-list/src/custom-page-list.vue.d.ts +3 -3
- 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/date-picker/src/date-picker.vue.d.ts +1 -1
- package/components/dialog/index.mjs +1 -1
- package/components/dialog/src/dialog.mjs +1 -1
- package/components/dialog/src/dialog.vue.d.ts +10 -10
- package/components/form/index.mjs +1 -1
- package/components/form/src/form.mjs +1 -1
- package/components/form/src/form.vue.d.ts +1 -1
- package/components/image-viewer/src/image-viewer.vue.d.ts +2 -2
- package/components/index.mjs +26 -32
- package/components/input/src/input.vue.d.ts +1 -1
- package/components/input-number/index.mjs +1 -1
- package/components/input-number/src/input-number.mjs +1 -1
- package/components/input-number/src/input-number.vue.d.ts +2 -2
- package/components/link/src/link.vue.d.ts +1 -1
- 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/OptionLabel/Index.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 +77 -77
- package/components/page-list/src/page-list.mjs +1 -1
- package/components/page-list/src/page-list.vue.d.ts +15 -15
- 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 +4 -4
- 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 +16 -16
- package/components/pagination/index.mjs +1 -1
- package/components/pagination/src/pagination.mjs +1 -1
- package/components/popconfirm/src/popconfirm.vue.d.ts +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/range-input/index.mjs +1 -1
- package/components/range-input/src/range-input.mjs +1 -1
- package/components/range-input/src/range-input.vue.d.ts +1 -1
- package/components/scrollbar/index.mjs +1 -1
- package/components/scrollbar/src/scrollbar.mjs +1 -1
- package/components/select/index.mjs +1 -1
- package/components/select/src/select.mjs +1 -1
- package/components/select/src/select.vue.d.ts +2 -2
- 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/tab-panel/src/tab-panel.vue.d.ts +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 +3 -3
- package/components/textarea/src/textarea.vue.d.ts +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 +2 -2
- 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/useLabel/index.mjs +1 -16
- package/hooks/useList/index.mjs +1 -28
- package/hooks/useSysUser/index.mjs +1 -1
- package/layout/Entry.mjs +1 -1
- package/layout/Home.mjs +8 -9
- package/layout/Home1.mjs +15 -8
- package/layout/Login.mjs +8 -8
- 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 +9 -10
- package/layout/profile/ResetPwd.mjs +1 -1
- package/layout/profile/UserInfo.mjs +1 -1
- package/layout/vueBits/Plasma.vue.d.ts +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 +15 -17
- package/plugins/captcha/index.mjs +1 -1
- package/plugins/directive/index.mjs +7 -7
- package/plugins/initialize/webUpdateNotify.mjs +1 -1
- package/plugins/tableRenders/Wrapper.mjs +1 -1
- package/plugins/tableRenders/cell/AudioPlay/Index.mjs +1 -0
- package/plugins/tableRenders/cell/AudioPlay/Index.vue.d.ts +6 -0
- package/plugins/tableRenders/cell/AudioPlay/index.d.ts +2 -0
- package/plugins/tableRenders/cell/AudioPlay/index2.mjs +0 -0
- package/plugins/tableRenders/cell/Avatar/Index.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/FormatDate/Index.mjs +1 -1
- package/plugins/tableRenders/cell/FormatNumber/Index.mjs +1 -1
- package/plugins/tableRenders/cell/Icon/Index.mjs +1 -1
- package/plugins/tableRenders/cell/Image/Index.mjs +1 -1
- package/plugins/tableRenders/cell/ImageViewer/Index.mjs +1 -1
- package/plugins/tableRenders/cell/ImageViewer/Index.vue.d.ts +2 -2
- package/plugins/tableRenders/cell/Input/Index.vue.d.ts +1 -1
- package/plugins/tableRenders/cell/InputNumber/Index.mjs +1 -1
- package/plugins/tableRenders/cell/InputNumber/Index.vue.d.ts +2 -2
- package/plugins/tableRenders/cell/Link/Index.vue.d.ts +1 -1
- package/plugins/tableRenders/cell/OptionLabel/Index.mjs +1 -1
- package/plugins/tableRenders/cell/Select/Index.mjs +1 -1
- package/plugins/tableRenders/cell/Select/Index.vue.d.ts +2 -2
- package/plugins/tableRenders/cell/TypographyText/Index.mjs +1 -1
- package/plugins/tableRenders/cell/TypographyTextLink/Index.mjs +1 -1
- package/plugins/tableRenders/cell/TypographyTextLink/Index.vue.d.ts +1 -1
- package/plugins/tableRenders/cell/index.d.ts +2 -0
- package/plugins/tableRenders/cell/index.mjs +54 -52
- package/plugins/tableRenders/title/TypographyText/Index.mjs +1 -1
- package/plugins/tableRenders/title/index.mjs +2 -2
- 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/utils/audio/getAudioElement.d.ts +2 -0
- package/utils/audio/getAudioElement.mjs +9 -0
- package/utils/audio/playMediaStream.d.ts +6 -0
- package/utils/audio/playUrl.d.ts +6 -0
- package/utils/gather.mjs +1 -1
- package/utils/index.d.ts +2 -0
- package/utils/index.mjs +7 -8
- package/utils/tool.d.ts +4 -0
- package/utils/tool.mjs +1 -28
- 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 +2 -2
- package/views/monitor/server/index.mjs +2 -2
- package/views/system/config/index.mjs +13 -13
- package/views/system/dept/index.mjs +27 -28
- package/views/system/dept/utils.mjs +1 -2
- package/views/system/dict/index.mjs +23 -23
- package/views/system/dict/modules/DictTypeDetail.mjs +1 -1
- package/views/system/menu/index.mjs +36 -37
- package/views/system/menu/utils.mjs +1 -2
- package/views/system/notice/index.mjs +8 -8
- package/views/system/post/index.mjs +8 -8
- package/views/system/role/index.mjs +43 -43
- 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/gen/editTable/index.mjs +14 -14
- 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 +22 -22
- 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/date-picker-CKUanIvh.css +0 -1
- package/assets/input-number-DHmV6oBX.css +0 -2
- package/assets/provider-yh_xhvsD.css +0 -2
- package/assets/scrollbar-CWhno35V.css +0 -1
- package/chunks/Index-Cuc40XIY.mjs +0 -44
- package/chunks/date-picker-CoQEj1PX.mjs +0 -376
- package/chunks/input-number-DZeNW9Jv.mjs +0 -73
- package/chunks/range-input-CTpZmB-d.mjs +0 -109
- package/chunks/utils-TGX_Jb3e.mjs +0 -10
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { N as e, it as t, o as n, rt as r } from "./provider-ofhdEHHM.mjs";
|
|
2
2
|
import "../components/page-list/index.mjs";
|
|
3
|
-
import { t as i } from "./page-list-
|
|
3
|
+
import { t as i } from "./page-list-Da4eL_wk.mjs";
|
|
4
4
|
import a from "../plugins/autoImport/$msg/index.mjs";
|
|
5
|
-
import { t as o } from "./Log-
|
|
5
|
+
import { t as o } from "./Log-DiPyKgVW.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/tool/job/index.vue
|
|
8
8
|
var _ = /* @__PURE__ */ c({
|
|
@@ -125,12 +125,12 @@ var _ = /* @__PURE__ */ c({
|
|
|
125
125
|
title: "cron执行表达式"
|
|
126
126
|
},
|
|
127
127
|
{
|
|
128
|
-
cell: (
|
|
128
|
+
cell: (t, { row: n }) => ({
|
|
129
129
|
beforeChange: async () => {
|
|
130
|
-
let
|
|
131
|
-
return await
|
|
132
|
-
jobId:
|
|
133
|
-
status:
|
|
130
|
+
let t = n.status === "1" ? "启用" : "停用";
|
|
131
|
+
return await r(`确认${t}${n.jobName}任务吗?`), await e.Put("monitor/job/changeStatus", {
|
|
132
|
+
jobId: n.jobId,
|
|
133
|
+
status: n.status === "1" ? "0" : "1"
|
|
134
134
|
}, { meta: { useSuccessMsg: !0 } }), _.value.query(), !0;
|
|
135
135
|
},
|
|
136
136
|
component: "Switch",
|
|
@@ -142,14 +142,14 @@ var _ = /* @__PURE__ */ c({
|
|
|
142
142
|
{
|
|
143
143
|
cell: {
|
|
144
144
|
buttons: [
|
|
145
|
-
({ row:
|
|
145
|
+
({ row: t }) => ({
|
|
146
146
|
default: "编辑",
|
|
147
147
|
onClick: () => {
|
|
148
148
|
let i = p(null);
|
|
149
149
|
g(i, () => {
|
|
150
|
-
i.value.setFormData(
|
|
151
|
-
}, { once: !0 }),
|
|
152
|
-
body: () => l(
|
|
150
|
+
i.value.setFormData(t);
|
|
151
|
+
}, { once: !0 }), r({
|
|
152
|
+
body: () => l(n, {
|
|
153
153
|
items: [
|
|
154
154
|
v.jobName,
|
|
155
155
|
v.jobGroup,
|
|
@@ -163,9 +163,9 @@ var _ = /* @__PURE__ */ c({
|
|
|
163
163
|
}),
|
|
164
164
|
header: "修改任务",
|
|
165
165
|
onConfirmCallback: async () => {
|
|
166
|
-
await
|
|
166
|
+
await e.Put("monitor/job", {
|
|
167
167
|
...await i.value.validate(),
|
|
168
|
-
jobId:
|
|
168
|
+
jobId: t.jobId
|
|
169
169
|
}), a.success("任务修改成功"), _.value.query();
|
|
170
170
|
},
|
|
171
171
|
width: 730
|
|
@@ -173,27 +173,27 @@ var _ = /* @__PURE__ */ c({
|
|
|
173
173
|
},
|
|
174
174
|
permission: "monitor:job:edit"
|
|
175
175
|
}),
|
|
176
|
-
({ row:
|
|
176
|
+
({ row: t }) => ({
|
|
177
177
|
default: "执行一次",
|
|
178
178
|
permission: "monitor:job:changeStatus",
|
|
179
179
|
popconfirm: {
|
|
180
|
-
content: `确认要立即执行一次${
|
|
180
|
+
content: `确认要立即执行一次${t.jobName}任务吗?`,
|
|
181
181
|
onConfirm: async () => {
|
|
182
|
-
await
|
|
183
|
-
jobGroup:
|
|
184
|
-
jobId:
|
|
182
|
+
await e.Put("monitor/job/run", {
|
|
183
|
+
jobGroup: t.jobGroup,
|
|
184
|
+
jobId: t.jobId
|
|
185
185
|
}, { meta: { useSuccessMsg: !0 } });
|
|
186
186
|
}
|
|
187
187
|
}
|
|
188
188
|
}),
|
|
189
|
-
({ row:
|
|
189
|
+
({ row: e }) => ({
|
|
190
190
|
default: "任务详细",
|
|
191
191
|
onClick: () => {
|
|
192
|
-
let
|
|
193
|
-
g(
|
|
194
|
-
|
|
195
|
-
}, { once: !0 }),
|
|
196
|
-
body: () => l(
|
|
192
|
+
let t = p(null);
|
|
193
|
+
g(t, () => {
|
|
194
|
+
t.value.setFormData(e);
|
|
195
|
+
}, { once: !0 }), r({
|
|
196
|
+
body: () => l(n, {
|
|
197
197
|
items: [
|
|
198
198
|
v.jobId,
|
|
199
199
|
v.jobName,
|
|
@@ -207,7 +207,7 @@ var _ = /* @__PURE__ */ c({
|
|
|
207
207
|
v.concurrent
|
|
208
208
|
],
|
|
209
209
|
readonly: !0,
|
|
210
|
-
ref:
|
|
210
|
+
ref: t
|
|
211
211
|
}),
|
|
212
212
|
footer: !1,
|
|
213
213
|
header: "任务详细",
|
|
@@ -219,7 +219,7 @@ var _ = /* @__PURE__ */ c({
|
|
|
219
219
|
({ row: e }) => ({
|
|
220
220
|
default: "调度日志",
|
|
221
221
|
onClick: () => {
|
|
222
|
-
|
|
222
|
+
t({
|
|
223
223
|
body: () => l(o, { id: e.jobId }),
|
|
224
224
|
footer: !1,
|
|
225
225
|
header: "查看调度日志",
|
|
@@ -246,9 +246,9 @@ var _ = /* @__PURE__ */ c({
|
|
|
246
246
|
operations: [{
|
|
247
247
|
default: "新增",
|
|
248
248
|
onClick: () => {
|
|
249
|
-
let
|
|
250
|
-
|
|
251
|
-
body: () => l(
|
|
249
|
+
let t = p(null);
|
|
250
|
+
r({
|
|
251
|
+
body: () => l(n, {
|
|
252
252
|
data: f({
|
|
253
253
|
concurrent: "1",
|
|
254
254
|
misfirePolicy: "1",
|
|
@@ -262,11 +262,11 @@ var _ = /* @__PURE__ */ c({
|
|
|
262
262
|
v.misfirePolicy,
|
|
263
263
|
v.concurrent
|
|
264
264
|
],
|
|
265
|
-
ref:
|
|
265
|
+
ref: t
|
|
266
266
|
}),
|
|
267
267
|
header: "新增任务",
|
|
268
268
|
onConfirmCallback: async () => {
|
|
269
|
-
await
|
|
269
|
+
await e.Post("monitor/job", await t.value.validate()), a.success("任务新增成功"), _.value.query();
|
|
270
270
|
},
|
|
271
271
|
width: 730
|
|
272
272
|
});
|
|
@@ -275,7 +275,7 @@ var _ = /* @__PURE__ */ c({
|
|
|
275
275
|
}, {
|
|
276
276
|
default: "日志",
|
|
277
277
|
onClick: () => {
|
|
278
|
-
|
|
278
|
+
t({
|
|
279
279
|
body: () => l(o),
|
|
280
280
|
footer: !1,
|
|
281
281
|
header: "查看调度日志",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "./IndexItem-
|
|
1
|
+
import { t as e } from "./IndexItem-D5Ngo4ux.mjs";
|
|
2
2
|
import { Fragment as t, createBlock as n, createElementBlock as r, defineComponent as i, normalizeStyle as a, openBlock as o, renderList as s } from "vue";
|
|
3
3
|
// ../../packages/dlzn-ui/components/overview/src/overview.vue
|
|
4
4
|
var c = /* @__PURE__ */ i({
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { N as e, n as t } from "./provider-ofhdEHHM.mjs";
|
|
2
2
|
import "../components/card/index.mjs";
|
|
3
3
|
import "../components/page-query/index.mjs";
|
|
4
4
|
import "../components/page-table/index.mjs";
|
|
5
5
|
import { t as n } from "./card-fcGTPVWb.mjs";
|
|
6
6
|
import r from "../plugins/autoImport/$msg/index.mjs";
|
|
7
|
-
import { t as i } from "./page-table-
|
|
7
|
+
import { t as i } from "./page-table-BX-Inp9P.mjs";
|
|
8
8
|
import { n as a } from "./useAppContext-DAxNLHY9.mjs";
|
|
9
|
-
import { t as o } from "./page-query-
|
|
9
|
+
import { t as o } from "./page-query-jPlr6ld9.mjs";
|
|
10
10
|
import s from "../plugins/autoImport/dayjs/index.mjs";
|
|
11
11
|
import { Fragment as c, computed as l, createBlock as u, createCommentVNode as d, createElementBlock as f, createSlots as p, createVNode as m, defineComponent as h, guardReactiveProps as g, mergeDefaults as _, mergeProps as v, normalizeProps as y, onMounted as b, openBlock as x, ref as S, renderList as C, renderSlot as w, unref as T, useTemplateRef as E, withCtx as D } from "vue";
|
|
12
12
|
import { cloneDeep as O } from "lodash-es";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ft as e, n as t, o as n } from "./provider-ofhdEHHM.mjs";
|
|
2
2
|
import { computed as r, createBlock as i, createCommentVNode as a, createSlots as o, createTextVNode as s, createVNode as c, defineComponent as l, guardReactiveProps as u, mergeDefaults as d, mergeProps as f, normalizeProps as p, openBlock as m, ref as h, renderList as g, renderSlot as _, toDisplayString as v, unref as y, useTemplateRef as b, watch as x, withCtx as S } from "vue";
|
|
3
3
|
import { useResizeObserver as C } from "@vueuse/core";
|
|
4
4
|
import { cloneDeep as w, groupBy as T } from "lodash-es";
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import "../components/pagination/index.mjs";
|
|
2
|
-
import "../components/table/index.mjs";
|
|
3
2
|
import { queryStringToObject as e } from "../utils/string.mjs";
|
|
4
|
-
import { t } from "./pagination-
|
|
5
|
-
import
|
|
6
|
-
import { n
|
|
7
|
-
import "./
|
|
3
|
+
import { t } from "./pagination-BAsYYvcR.mjs";
|
|
4
|
+
import "../components/table/index.mjs";
|
|
5
|
+
import { n, t as r } from "./table-CEHUFrgD.mjs";
|
|
6
|
+
import { F as i, I as a, N as o, P as s } from "./provider-ofhdEHHM.mjs";
|
|
8
7
|
import { computed as c, createBlock as l, createCommentVNode as u, createSlots as d, defineComponent as f, guardReactiveProps as p, isRef as m, mergeDefaults as h, mergeProps as g, normalizeProps as _, openBlock as v, ref as y, renderList as b, renderSlot as x, unref as S, useTemplateRef as C, watch as w, withCtx as T } from "vue";
|
|
9
8
|
import { useWatcher as E } from "alova/client";
|
|
10
9
|
// ../../packages/dlzn-ui/components/page-table/src/page-table.ts
|
|
@@ -14,12 +13,12 @@ var D = {
|
|
|
14
13
|
watchQueryParams: !0
|
|
15
14
|
};
|
|
16
15
|
function O(t) {
|
|
17
|
-
let
|
|
18
|
-
pageNum:
|
|
16
|
+
let n = c(() => typeof t.method == "string" ? (e) => o.Get(t.method, { params: e }) : t.method), r = y(1), l = y(10), u = y(0), { data: d, loading: f, onSuccess: p } = E(() => n.value({
|
|
17
|
+
pageNum: r.value,
|
|
19
18
|
pageSize: l.value,
|
|
20
19
|
...t.queryParams
|
|
21
20
|
}), [
|
|
22
|
-
|
|
21
|
+
r,
|
|
23
22
|
l,
|
|
24
23
|
u
|
|
25
24
|
], {
|
|
@@ -30,22 +29,22 @@ function O(t) {
|
|
|
30
29
|
}
|
|
31
30
|
}), m = y(void 0), h = y(!0), g = y(!1);
|
|
32
31
|
p(({ method: t }) => {
|
|
33
|
-
let { meta:
|
|
34
|
-
t.type === "GET" ? (h.value =
|
|
32
|
+
let { meta: n, params: r } = t.config;
|
|
33
|
+
t.type === "GET" ? (h.value = n?.useEmptyParams ?? !0, m.value = typeof r == "string" ? e(r) : i(r, h.value)) : (g.value = n?.useEmptyData ?? !1, m.value = s(t.data, g.value));
|
|
35
34
|
}), t.initialQuery && u.value++, w(() => t.queryParams, (e, n) => {
|
|
36
|
-
t.watchQueryParams &&
|
|
35
|
+
t.watchQueryParams && a(e ?? {}) !== a(n ?? {}) && u.value++;
|
|
37
36
|
}, { deep: !0 });
|
|
38
37
|
function _(e = !1) {
|
|
39
|
-
e && (
|
|
38
|
+
e && (r.value = 1), u.value++;
|
|
40
39
|
}
|
|
41
40
|
function v() {
|
|
42
|
-
|
|
41
|
+
r.value = 1, l.value = 10, u.value++;
|
|
43
42
|
}
|
|
44
43
|
return {
|
|
45
44
|
data: d,
|
|
46
45
|
finallyQueryParams: m,
|
|
47
46
|
loading: f,
|
|
48
|
-
pageNum:
|
|
47
|
+
pageNum: r,
|
|
49
48
|
pageSize: l,
|
|
50
49
|
query: _,
|
|
51
50
|
reset: v
|
|
@@ -198,48 +197,48 @@ var k = /* @__PURE__ */ f({
|
|
|
198
197
|
onScrollX: { type: Function },
|
|
199
198
|
onScrollY: { type: Function }
|
|
200
199
|
}, {
|
|
201
|
-
...
|
|
200
|
+
...n,
|
|
202
201
|
...D
|
|
203
202
|
}),
|
|
204
203
|
setup(e, { expose: n }) {
|
|
205
|
-
let
|
|
206
|
-
let e = { ...
|
|
204
|
+
let i = e, { data: a, finallyQueryParams: o, loading: s, pageNum: f, pageSize: h, query: y, reset: w } = O(i), E = c(() => {
|
|
205
|
+
let e = { ...i };
|
|
207
206
|
return delete e.method, delete e.queryParams, delete e.watchQueryParams, delete e.initialQuery, e;
|
|
208
207
|
}), D = C("tableRef");
|
|
209
208
|
return n({
|
|
210
|
-
finallyQueryParams:
|
|
209
|
+
finallyQueryParams: o,
|
|
211
210
|
query: y,
|
|
212
211
|
reset: w,
|
|
213
212
|
rowKey: c(() => D.value?.rowKey ?? ""),
|
|
214
213
|
selectedRowKeys: c(() => D.value?.selectedRowKeys ?? []),
|
|
215
214
|
selectedRows: c(() => D.value?.selectedRows ?? [])
|
|
216
|
-
}), (e, n) => (v(), l(S(
|
|
215
|
+
}), (e, n) => (v(), l(S(r), g({
|
|
217
216
|
ref_key: "tableRef",
|
|
218
217
|
ref: D,
|
|
219
|
-
data: S(
|
|
220
|
-
loading: S(
|
|
218
|
+
data: S(a).rows,
|
|
219
|
+
loading: S(s)
|
|
221
220
|
}, E.value), d({
|
|
222
|
-
"table-bottom": T((r) => [S(
|
|
221
|
+
"table-bottom": T((r) => [S(a).total > 0 ? (v(), l(S(t), {
|
|
223
222
|
key: 0,
|
|
224
223
|
modelValue: S(f),
|
|
225
224
|
"onUpdate:modelValue": n[0] ||= (e) => m(f) ? f.value = e : null,
|
|
226
225
|
"page-size": S(h),
|
|
227
226
|
"onUpdate:pageSize": n[1] ||= (e) => m(h) ? h.value = e : null,
|
|
228
|
-
total: Number(S(
|
|
227
|
+
total: Number(S(a).total)
|
|
229
228
|
}, null, 8, [
|
|
230
229
|
"modelValue",
|
|
231
230
|
"page-size",
|
|
232
231
|
"total"
|
|
233
232
|
])) : u("v-if", !0), x(e.$slots, "table-bottom", _(p({
|
|
234
233
|
...r,
|
|
235
|
-
res: S(
|
|
234
|
+
res: S(a)
|
|
236
235
|
})))]),
|
|
237
236
|
_: 2
|
|
238
237
|
}, [b(Object.keys(e.$slots).filter((e) => e !== "table-bottom"), (t) => ({
|
|
239
238
|
name: t,
|
|
240
239
|
fn: T((n) => [x(e.$slots, t, _(p({
|
|
241
240
|
...n,
|
|
242
|
-
res: S(
|
|
241
|
+
res: S(a)
|
|
243
242
|
})))])
|
|
244
243
|
}))]), 1040, ["data", "loading"]));
|
|
245
244
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { rt as e } from "./provider-ofhdEHHM.mjs";
|
|
2
2
|
import { t } from "./plugin-vue_export-helper-Djzt4Yr7.mjs";
|
|
3
3
|
import { computed as n, createBlock as r, defineComponent as i, getCurrentInstance as a, h as o, mergeProps as s, openBlock as c, resolveDynamicComponent as l, unref as u } from "vue";
|
|
4
4
|
import { Pagination as d } from "tdesign-vue-next";
|