diff --git a/src/config/index.js b/src/config/index.js index f6acf70..17241d2 100644 --- a/src/config/index.js +++ b/src/config/index.js @@ -17,6 +17,10 @@ export default { * @description 默认密码 */ initialPassword: '111aaa', + /** + * 所属平台:1->职站 2->数据平台 + */ + platformId: 1, /** * @description 系统列表 */ diff --git a/src/utils/api.js b/src/utils/api.js index 717916a..db822ef 100644 --- a/src/utils/api.js +++ b/src/utils/api.js @@ -2,6 +2,7 @@ let host = 'http://39.108.250.202' let host1 = 'http://192.168.31.151:9000' let host2 = 'http://192.168.31.125:9000' +let host3 = 'http://192.168.31.140:9000' export default { logins: `${host}/liuwanr/userInfo/adminLogins`, //登录 @@ -9,7 +10,6 @@ export default { queryUser: `${host}/liuwanr/userInfo/queryUserInfo`, //查询用户新版 deleteUser: `${host}/liuwanr/userInfo/deleteUserInfo`, //删除用户新版 updateUser: `${host}/liuwanr/user/updateUser`, //编辑用户 - queryUserInfoDetails: `${host}/liuwanr/userInfo/queryUserInfoDetails`, //查询用户详情新版 queryAccountIsExist: `${host}/liuwanr/userInfo/queryServerAccountIsExist`, //查询账号是否存在 queryUserOR: `${host}/liuwanr/userInfo/queryUserOR`, //查询系统列表详情 queryWorkNumberIsExist:`${host}/liuwanr/userInfo/queryWorkNumberIsExist`,//查询学号、工号是否存在 @@ -25,7 +25,6 @@ export default { updateOR: `${host}/liuwanr/userInfo/updateOR`, //更新用户组织架构 deletePlatform: `${host}/liuwanr/userInfo/deletePlatform`, //更新用户组织架构 updateUserRoleId: `${host}/liuwanr/userInfo/updateUserRoleId`, //更新用户角色id接口 - resetPwd:`${host}/evaluation/tms/system/resetPwd`, deleteCustomer: `${host}/liuwanr/customer/deleteCustomer`, //删除客户 updateCustomer: `${host}/liuwanr/customer/updateCustomer`, //更新客户 @@ -39,6 +38,20 @@ export default { querySchoolData: `${host}/liuwanr/customer/querySchool`, //根据学校名称查询学校信息 queryPlatform: `${host}/liuwanr/userInfo/queryPlatform`, //查询系统列表 + // 用户管理 + delUserAccount: `${host3}/users/userAccount/delUserAccount`, + queryUserInfoDetails: `${host3}/users/userAccount/queryUserInfoDetails`, + queryUserInfoList: `${host3}/users/userAccount/queryUserInfoList`, + resetPwd: `${host3}/users/userAccount/resetPwd`, + selectAccountDetail: `${host3}/users/userAccount/selectAccountDetail`, + selectUserSysBind: `${host3}/users/userAccount/selectUserSysBind`, + updatePersonCenter: `${host3}/users/userAccount/updatePersonCenter`, + updateUserAvatars: `${host3}/users/userAccount/updateUserAvatars`, + userInfo: `${host3}/users/userAccount/userInfo`, + checkCode: `${host3}/users/userAccount/checkCode`, + findPasswordByEmail: `${host3}/users/userAccount/findPasswordByEmail`, + findPasswordByPhone: `${host3}/users/userAccount/findPasswordByPhone`, + queryOrder: `${host}/liuwanr/order/queryOrder`, //查询订单 queryOrderDetails: `${host}/liuwanr/order/queryOrderDetails`, //查询订单详情 queryOrderCustomer: `${host}/liuwanr/order/queryOrderCustomer`, //查询订单客户 diff --git a/src/views/customer/Dashboard.vue b/src/views/customer/Dashboard.vue index c59d7a8..66fad16 100644 --- a/src/views/customer/Dashboard.vue +++ b/src/views/customer/Dashboard.vue @@ -79,10 +79,10 @@ - +