feat(monitor): 添加任务管理模块

- 在 README 中添加了 Celery 任务管理的说明
- 在系统菜单中添加了任务管理相关菜单项
- 添加了任务管理的路由和权限
- 引入了 croniter 库用于处理 cron 表达式
This commit is contained in:
zhangtao
2025-02-24 03:50:47 +08:00
parent 08545c852b
commit b05c9b035f
22 changed files with 998 additions and 107 deletions
+4
View File
@@ -9,10 +9,14 @@ import './style.css'
import { createPinia } from 'pinia';
import { useConfigStore } from "@/store/index";
import VueCron from 'vue-cron'; // 确保已经正确安装并定位到正确的路径
// import 'vue-cron/dist/vue-cron.css'; // 引入样式
const app = createApp(App);
const pinia = createPinia();
app.use(pinia);
app.use(VueCron);
const initConfig = async () => {
const configStore = useConfigStore();