From 7dec4ca55309a9913e45b7352fdadcb8a24c529a Mon Sep 17 00:00:00 2001 From: caoqianming Date: Thu, 18 Mar 2021 13:14:10 +0800 Subject: [PATCH 1/5] =?UTF-8?q?=E9=A6=96=E9=A1=B5=E5=BE=85=E5=8A=9E?= =?UTF-8?q?=E6=8F=90=E9=86=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/src/api/todos.js | 8 +++++ client/src/layout/components/Navbar.vue | 4 +-- client/src/router/index.js | 10 +++--- client/src/views/dashboard/index.vue | 48 ++++++++++++++++++++++++- client/src/views/supervision/record.vue | 6 +++- 5 files changed, 67 insertions(+), 9 deletions(-) create mode 100644 client/src/api/todos.js diff --git a/client/src/api/todos.js b/client/src/api/todos.js new file mode 100644 index 0000000..02d945e --- /dev/null +++ b/client/src/api/todos.js @@ -0,0 +1,8 @@ +import request from '@/utils/request' + +export function getRecordtodos() { + return request({ + url: '/supervision/record/todos/', + method: 'get' + }) + } \ No newline at end of file diff --git a/client/src/layout/components/Navbar.vue b/client/src/layout/components/Navbar.vue index 62ac3ea..efc0ac3 100644 --- a/client/src/layout/components/Navbar.vue +++ b/client/src/layout/components/Navbar.vue @@ -19,9 +19,9 @@ 首页 - + - 修改密码 + 个人中心 +