diff --git a/src/api/model/system.js b/src/api/model/system.js index 4f10f0dd..6e935bb9 100644 --- a/src/api/model/system.js +++ b/src/api/model/system.js @@ -101,5 +101,14 @@ export default { return await http.get(this.url, params); } } + }, + tasks: { + list: { + url: `${config.API_URL}/system/tasks/list`, + name: "系统任务管理", + get: async function(params){ + return await http.get(this.url, params); + } + } } } diff --git a/src/layout/components/tasks.vue b/src/layout/components/tasks.vue new file mode 100644 index 00000000..464d677e --- /dev/null +++ b/src/layout/components/tasks.vue @@ -0,0 +1,41 @@ + + + + + diff --git a/src/layout/components/userbar.vue b/src/layout/components/userbar.vue index fb6f501a..c2795c01 100644 --- a/src/layout/components/userbar.vue +++ b/src/layout/components/userbar.vue @@ -6,6 +6,9 @@
+
+ +
@@ -62,20 +65,27 @@ + + + +