@@ -7,6 +7,7 @@ import ModuleTestView from '@/views/system/ModuleTestView.vue'
77import MessageView from ' @/views/system/MessageView.vue'
88import WordsView from ' @/views/system/WordsView.vue'
99import CacheView from ' @/views/system/CacheView.vue'
10+ import AccountSettingService from ' @/views/system/ServiceView.vue'
1011import api from ' @/api'
1112import { useDisplay } from ' vuetify'
1213import { getQueryValue } from ' @/@core/utils'
@@ -49,6 +50,9 @@ const wordsDialog = ref(false)
4950// 缓存管理弹窗
5051const cacheDialog = ref (false )
5152
53+ // 定时服务弹窗
54+ const schedulerDialog = ref (false )
55+
5256// 输入消息
5357const user_message = ref (' ' )
5458
@@ -108,6 +112,13 @@ const shortcuts = [
108112 dialog: ' cache' ,
109113 dialogRef: cacheDialog ,
110114 },
115+ {
116+ title: t (' shortcut.scheduler.title' ),
117+ subtitle: t (' shortcut.scheduler.subtitle' ),
118+ icon: ' mdi-list-box' ,
119+ dialog: ' scheduler' ,
120+ dialogRef: schedulerDialog ,
121+ },
111122 {
112123 title: t (' shortcut.system.title' ),
113124 subtitle: t (' shortcut.system.subtitle' ),
@@ -275,10 +286,10 @@ onMounted(() => {
275286 item.dialog === 'message'
276287 ? openMessageDialog()
277288 : item.dialog === 'words'
278- ? openDialog(item.dialogRef)
279- : item.dialog === 'cache'
280- ? openDialog(item.dialogRef)
281- : openDialog(item.dialogRef)
289+ ? openDialog(item.dialogRef)
290+ : item.dialog === 'cache'
291+ ? openDialog(item.dialogRef)
292+ : openDialog(item.dialogRef)
282293 "
283294 >
284295 <VAvatar variant =" text" size =" 48" rounded =" lg" >
@@ -420,6 +431,29 @@ onMounted(() => {
420431 </VCardText >
421432 </VCard >
422433 </VDialog >
434+ <!-- 定时服务弹窗 -->
435+ <VDialog
436+ v-if =" schedulerDialog"
437+ v-model =" schedulerDialog"
438+ max-width =" 60rem"
439+ scrollable
440+ :fullscreen =" !display.mdAndUp.value"
441+ >
442+ <VCard >
443+ <VCardItem class =" py-2" >
444+ <VCardTitle >
445+ <VIcon icon =" mdi-list-box" class =" me-2" />
446+ {{ t('shortcut.scheduler.subtitle') }}
447+ </VCardTitle >
448+ <VCardSubtitle >{{ t('setting.scheduler.subtitle') }}</VCardSubtitle >
449+ <VDialogCloseBtn @click =" schedulerDialog = false" />
450+ </VCardItem >
451+ <VDivider />
452+ <VCardText class =" pa-0" >
453+ <AccountSettingService />
454+ </VCardText >
455+ </VCard >
456+ </VDialog >
423457 <!-- 系统健康检查弹窗 -->
424458 <VDialog
425459 v-if =" systemTestDialog"
0 commit comments