|
|
@ -1,8 +1,7 @@ |
|
|
|
import Setting from '@/setting'; |
|
|
|
import Setting from '@/setting'; |
|
|
|
|
|
|
|
|
|
|
|
let host = Setting.apiBaseURL |
|
|
|
let host = Setting.apiBaseURL |
|
|
|
// let host = 'http://192.168.31.117'//宁本地
|
|
|
|
let uploadURL = 'http://112.74.110.92:8001' |
|
|
|
// let host = 'http://192.168.31.137:8001'//陈本地
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export default {
|
|
|
|
export default {
|
|
|
|
logins: `${host}/management/userInfo/login`, //登录
|
|
|
|
logins: `${host}/management/userInfo/login`, //登录
|
|
|
@ -12,7 +11,7 @@ export default { |
|
|
|
queryCity: `${host}/enterprise/city/queryCity`, |
|
|
|
queryCity: `${host}/enterprise/city/queryCity`, |
|
|
|
queryClient: `${host}/enterprise/client/list`, |
|
|
|
queryClient: `${host}/enterprise/client/list`, |
|
|
|
|
|
|
|
|
|
|
|
uploadUserAvatars: `http://www.liuwanr.cn/liuwanr/user/uploadUserAvatars`, |
|
|
|
uploadUserAvatars: `${uploadURL}/oss/manage/fileupload`, |
|
|
|
userinfoUpdate:`${host}/management/userInfo/update`,//个人中心信息修改
|
|
|
|
userinfoUpdate:`${host}/management/userInfo/update`,//个人中心信息修改
|
|
|
|
userinfo:`${host}/management/userInfo/getUserInfo`,//个人中心信息展示
|
|
|
|
userinfo:`${host}/management/userInfo/getUserInfo`,//个人中心信息展示
|
|
|
|
getAccount:`${host}/management/userInfo/getAccount`,//账号判重
|
|
|
|
getAccount:`${host}/management/userInfo/getAccount`,//账号判重
|
|
|
@ -26,7 +25,7 @@ export default { |
|
|
|
studentGetWorkNumber: `${host}/management/student/getWorkNumber`, |
|
|
|
studentGetWorkNumber: `${host}/management/student/getWorkNumber`, |
|
|
|
exportFailureStudent: `${host}/management/student/exportFailure`, |
|
|
|
exportFailureStudent: `${host}/management/student/exportFailure`, |
|
|
|
uploadFileStudent: `${host}/management/student/uploadFile`, |
|
|
|
uploadFileStudent: `${host}/management/student/uploadFile`, |
|
|
|
downloadStudentTemp: 'http://liuwanr.oss-cn-shenzhen.aliyuncs.com/xlsx/20201102/1604658660956.xlsx', |
|
|
|
downloadStudentTemp: 'http://szks.supergen-edu.com/template/1604658660956.xlsx', |
|
|
|
|
|
|
|
|
|
|
|
// 一级部门
|
|
|
|
// 一级部门
|
|
|
|
addStaffPro: `${host}/management/staffProfessionalArchitecture/addStaffProfessionalArchitecture`, |
|
|
|
addStaffPro: `${host}/management/staffProfessionalArchitecture/addStaffProfessionalArchitecture`, |
|
|
@ -51,7 +50,7 @@ export default { |
|
|
|
getWorkNumber: `${host}/management/staff/getWorkNumber`, |
|
|
|
getWorkNumber: `${host}/management/staff/getWorkNumber`, |
|
|
|
exportFailureStaff: `${host}/management/staff/managementExportFailure`, |
|
|
|
exportFailureStaff: `${host}/management/staff/managementExportFailure`, |
|
|
|
uploadFileStaff: `${host}/management/staff/managementUpload`, |
|
|
|
uploadFileStaff: `${host}/management/staff/managementUpload`, |
|
|
|
downloadStaffTemp: `https://cj-oss.oss-cn-guangzhou.aliyuncs.com/20210208/xlsx/1358714535309500416.xlsx`, |
|
|
|
downloadStaffTemp: `http://szks.supergen-edu.com/template/1358714535309500416.xlsx`, |
|
|
|
|
|
|
|
|
|
|
|
// 角色管理
|
|
|
|
// 角色管理
|
|
|
|
getRole: `${host}/management/role/get`, |
|
|
|
getRole: `${host}/management/role/get`, |
|
|
|