From aaf25460a48364a3c87a94ce95c6f790987f80dd Mon Sep 17 00:00:00 2001 From: Kane Date: Wed, 18 Jan 2023 23:47:38 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=9D=E5=AD=98=E8=BF=9B=E5=BA=A6=EF=BC=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../web/admin_system/src/layout/Index.vue | 5 +-- .../src/utils/api/info/account.js | 15 +++----- .../admin_system/src/views/account/Login.vue | 7 ++-- .../admin_system/src/views/info/StaffInfo.vue | 34 +++++++++++++------ 4 files changed, 36 insertions(+), 25 deletions(-) diff --git a/企业级管理系统/web/admin_system/src/layout/Index.vue b/企业级管理系统/web/admin_system/src/layout/Index.vue index 27277e9..62896e9 100644 --- a/企业级管理系统/web/admin_system/src/layout/Index.vue +++ b/企业级管理系统/web/admin_system/src/layout/Index.vue @@ -2,7 +2,7 @@ * @Author: Kane * @Date: 2023-01-04 11:05:44 * @LastEditors: Kane - * @LastEditTime: 2023-01-18 17:40:55 + * @LastEditTime: 2023-01-18 23:05:42 * @FilePath: \admin_system\src\layout\Index.vue * @Description: * @@ -66,9 +66,10 @@ export default { } #layout-main { - background-color: #eee; + background-color: #ecf2f9; /* height: 0; */ /* flex-grow: 1; */ + overflow: overlay; } #layout-container-down { diff --git a/企业级管理系统/web/admin_system/src/utils/api/info/account.js b/企业级管理系统/web/admin_system/src/utils/api/info/account.js index a3d5ddd..c03026f 100644 --- a/企业级管理系统/web/admin_system/src/utils/api/info/account.js +++ b/企业级管理系统/web/admin_system/src/utils/api/info/account.js @@ -2,7 +2,7 @@ * @Author: Kane * @Date: 2022-12-22 09:10:20 * @LastEditors: Kane - * @LastEditTime: 2023-01-12 17:47:36 + * @LastEditTime: 2023-01-18 21:45:12 * @FilePath: \admin_system\src\utils\api\info\account.js * @Description: * @@ -29,18 +29,11 @@ export function Login(userInfo) ); } - +/** + * 退出登录 + */ export function Logout() { - // if (this.$store && this.$store.state.app) - // { - // //this.$store.commit(); - // } - - //const store = useStore(); - - //console.log(store); - console.log(store); window.localStorage.removeItem("token"); diff --git a/企业级管理系统/web/admin_system/src/views/account/Login.vue b/企业级管理系统/web/admin_system/src/views/account/Login.vue index 968fecc..c8474c8 100644 --- a/企业级管理系统/web/admin_system/src/views/account/Login.vue +++ b/企业级管理系统/web/admin_system/src/views/account/Login.vue @@ -3,7 +3,7 @@ * @Author: Kane * @Date: 2022-12-14 15:23:54 * @LastEditors: Kane - * @LastEditTime: 2023-01-13 09:35:07 + * @LastEditTime: 2023-01-18 22:24:21 * @FilePath: \admin_system\src\views\account\Login.vue * @Description: * @@ -29,7 +29,7 @@ - + @@ -93,6 +93,9 @@ export default { type: "error", }); }, + /** + * 登录 + */ login() { if (this.loginForm.username.length === 0 || this.loginForm.password === 0) diff --git a/企业级管理系统/web/admin_system/src/views/info/StaffInfo.vue b/企业级管理系统/web/admin_system/src/views/info/StaffInfo.vue index 9bca771..e1b8f3b 100644 --- a/企业级管理系统/web/admin_system/src/views/info/StaffInfo.vue +++ b/企业级管理系统/web/admin_system/src/views/info/StaffInfo.vue @@ -3,7 +3,7 @@ * @Author: Kane * @Date: 2023-01-12 14:43:46 * @LastEditors: Kane - * @LastEditTime: 2023-01-18 17:38:03 + * @LastEditTime: 2023-01-18 23:24:41 * @FilePath: \admin_system\src\views\info\StaffInfo.vue * @Description: * @@ -11,7 +11,7 @@ -->