diff --git a/src/api/index.js b/src/api/index.js index 88b2630..17d4d23 100644 --- a/src/api/index.js +++ b/src/api/index.js @@ -3,12 +3,13 @@ const host = Setting.apiBaseURL export default { // 登录注册 - logins: `users/users/user/login`, - verification:`${host}users/users/user/captcha`, + logins: `users/users/user/login`, + verification: `${host}users/users/user/captcha`, sendPhoneVerificationCode: `users/users/user/sendPhoneVerificationCode`, getToken: `users/users/user/getToken`, getOtherAccountByPhone: `users/users/user/getOtherAccountByPhone`, unbindAccounts: `users/users/user/unbindAccounts`, + logout: `users/users/user/logout`, // 加密货币 market: `/topic/market`, @@ -29,70 +30,69 @@ export default { // 个人中心 uploadUserAvatars: `${host}users/users/userAccount/updateUserAvatars`, - userInfo:`users/users/userInfo/getUserInfo`, - updateUser:`users/users/userInfo/updateUser`, - findPasswordByEmail:`users/users/userAccount/findPasswordByEmail`, - findPasswordByPhone:`users/users/userAccount/findPasswordByPhone`, + userInfo: `users/users/userInfo/getUserInfo`, + updateUser: `users/users/userInfo/updateUser`, + findPasswordByEmail: `users/users/userAccount/findPasswordByEmail`, + findPasswordByPhone: `users/users/userAccount/findPasswordByPhone`, // 用户管理 saveUser: `users/users/data/user/save`, getDetailByAccount: `occupationlab/occupationlab/architecture/getDetailByAccount`, getUserList: `users/users/data/user/getUserList`, getUserTotalBySchoolId: `users/users/data/user/getUserTotalBySchoolId`, - checkAccount:`occupationlab/occupationlab/architecture/checkWorkNumOrAccount`, - getDetail:`users/users/data/user/getDetail`, - modifyUser:`users/users/data/user/modify`, - export_failure:`${host}users/users/data/user/export_failure`, - uploadFile:`${host}users/users/data/user/uploadFile`, - deleteUser:`users/users/data/user/delete`, + checkAccount: `occupationlab/occupationlab/architecture/checkWorkNumOrAccount`, + getDetail: `users/users/data/user/getDetail`, + modifyUser: `users/users/data/user/modify`, + export_failure: `${host}users/users/data/user/export_failure`, + uploadFile: `${host}users/users/data/user/uploadFile`, + deleteUser: `users/users/data/user/delete`, resetPwd: `users/users/userAccount/resetPwd`, sendPhoneOrEmailCode: `users/users/userAccount/sendPhoneOrEmailCode`, unbindMobilePhone: `users/users/userAccount/unbindMobilePhone`, bindPhoneOrEmail: `users/users/userAccount/bindPhoneOrEmail`, examinePassword: `users/users/userAccount/examinePassword`, - isClient: `${host}users/users/user/isClient`, deleteProfile: `users/users/userInfo/deleteProfile`, checkEmailOrPhone: `occupationlab/occupationlab/architecture/checkEmailOrPhone`, accountIsDisabled: `users/users/user/accountIsDisabled`, userTemplate: `http://121.37.12.51/template/%E6%95%B0%E6%8D%AE%E5%B9%B3%E5%8F%B0%E7%94%A8%E6%88%B7%E5%AF%BC%E5%85%A5%E6%A8%A1%E6%9D%BF.xlsx`, - + // 角色管理 - batchRemove:`users/users/role/batchRemove`, - getRole:`users/users/role/obtainDetails`, - getName:`data/data/role/getName`, - listRole:`users/users/role/list`, - removeRole:`data/data/role/remove`, - saveOrUpdate:`users/users/role/saveOrUpdate`, - getPermissions:`users/users/user-role/getUserRolesPermissionMenu`, + batchRemove: `users/users/role/batchRemove`, + getRole: `users/users/role/obtainDetails`, + getName: `data/data/role/getName`, + listRole: `users/users/role/list`, + removeRole: `data/data/role/remove`, + saveOrUpdate: `users/users/role/saveOrUpdate`, + getPermissions: `users/users/user-role/getUserRolesPermissionMenu`, // 权限菜单管理 - doAssign:`data/data/permission/doAssign`, - queryAllMenus:`users/users/permission/queryAllMenus`, - savePer:`users/users/user-role/rolePermissionService`, - toAssign:`data/data/permission/toAssign`, + doAssign: `data/data/permission/doAssign`, + queryAllMenus: `users/users/permission/queryAllMenus`, + savePer: `users/users/user-role/rolePermissionService`, + toAssign: `data/data/permission/toAssign`, // 表展示 - getIdQueryTable:`data/data/table/getIdQueryTable`, - getTableByClassification:`data/data/table/getTableByClassification`, - getTableByCondition:`data/data/table/getTableByCondition`, - downloadData:`${host}data/data/download`, - previewData:`data/data/preview`, - visualPreview:`data/data/visualPreview`, - downloadRecord:`data/data/myDownload/downloadRecord`, - getDownloadRecord:`data/data/myDownload/getDownloadRecord`, - downloadAgain:`data/data/downloadAgain`, - isDownload:`data/data/product/isDownload`, - getTableTime:`data/data/tableTime/getTableTime`, + getIdQueryTable: `data/data/table/getIdQueryTable`, + getTableByClassification: `data/data/table/getTableByClassification`, + getTableByCondition: `data/data/table/getTableByCondition`, + downloadData: `${host}data/data/download`, + previewData: `data/data/preview`, + visualPreview: `data/data/visualPreview`, + downloadRecord: `data/data/myDownload/downloadRecord`, + getDownloadRecord: `data/data/myDownload/getDownloadRecord`, + downloadAgain: `data/data/downloadAgain`, + isDownload: `data/data/product/isDownload`, + getTableTime: `data/data/tableTime/getTableTime`, getLevel: `data/data/category/getLevel`, multipleTablePreview: `data/data/multipleTablePreview`, // 数据操作记录 - queryAccumulate:`data/data/dataRecord/queryAccumulate`, - queryDatabaseInfo:`data/data/dataRecord/queryDatabaseInfo`, - queryDatabaseInfoByMonth:`data/data/dataRecord/queryDatabaseInfoByMonth`, - saveRecord:`data/data/dataRecord/saveRecord`, - databaseInfoExport:`${host}data/data/dataRecord/databaseInfoExport`, - databaseInfoByMonthExport:`${host}data/data/dataRecord/databaseInfoByMonthExport`, - onlineNumber:`data/data/dataRecord/onlineNumber`, - getProductInfoBySchoolId:`data/data/product/getProductInfoBySchoolId`, + queryAccumulate: `data/data/dataRecord/queryAccumulate`, + queryDatabaseInfo: `data/data/dataRecord/queryDatabaseInfo`, + queryDatabaseInfoByMonth: `data/data/dataRecord/queryDatabaseInfoByMonth`, + saveRecord: `data/data/dataRecord/saveRecord`, + databaseInfoExport: `${host}data/data/dataRecord/databaseInfoExport`, + databaseInfoByMonthExport: `${host}data/data/dataRecord/databaseInfoByMonthExport`, + onlineNumber: `data/data/dataRecord/onlineNumber`, + getProductInfoBySchoolId: `data/data/product/getProductInfoBySchoolId`, } \ No newline at end of file diff --git a/src/layouts/header/index.vue b/src/layouts/header/index.vue index 785218c..c5188db 100644 --- a/src/layouts/header/index.vue +++ b/src/layouts/header/index.vue @@ -1,52 +1,55 @@ \ No newline at end of file diff --git a/src/pages/account/login/index.vue b/src/pages/account/login/index.vue index d132cc4..f790d3d 100644 --- a/src/pages/account/login/index.vue +++ b/src/pages/account/login/index.vue @@ -9,17 +9,10 @@ -
- - - - - - +
-
@@ -28,7 +21,7 @@ -