登录配置
This commit is contained in:
@@ -12,13 +12,30 @@ export const parameterSetting = (num, word) => post('api/developer/parameterSett
|
||||
password: word
|
||||
})
|
||||
|
||||
export const queryVehicleStatus = () => post('api/vehicle/queryVehicleStatus', {})
|
||||
// new
|
||||
// 登录
|
||||
export const authlogin = (username, password) => post('auth/login', {
|
||||
username: username,
|
||||
password: password
|
||||
})
|
||||
// 车辆状态
|
||||
// 1.1查询车辆状态
|
||||
export const queryVehicleStatus = (username, password) => post('api/vehicle/queryVehicleStatus', {
|
||||
})
|
||||
// 1.2查询传感器状态
|
||||
export const querrySensor = () => post('api/vehicle/querrySensor', {})
|
||||
|
||||
// 1.3软启动
|
||||
export const softStart = () => post('api/vehicle/softStart', {})
|
||||
// 1.4跳过起点
|
||||
export const skipStartPoint = () => post('api/vehicle/skipStartPoint', {})
|
||||
export const ShutDown = () => post('api/vehicle/Shut_down', {})
|
||||
// 1.5关机,显示屏控制、TCS控制、RC控制、Joy控制
|
||||
export const ShutDown = (type, bool) => post('api/vehicle/Shut_down', {
|
||||
type: type,
|
||||
bool: bool
|
||||
})
|
||||
// 1.6查询初始化坐标
|
||||
export const queryRestPoint = () => post('api/vehicle/queryRestPoint', {})
|
||||
// 1.7初始化坐标确定
|
||||
export const restCoordinate = (code, name, x, y, t) => post('api/vehicle/restCoordinate', {
|
||||
point_code: code,
|
||||
point_name: name,
|
||||
@@ -26,5 +43,36 @@ export const restCoordinate = (code, name, x, y, t) => post('api/vehicle/restCoo
|
||||
y: y,
|
||||
t: t
|
||||
})
|
||||
// 1.8查询agv的状态
|
||||
export const queryAgvStatus = () => post('api/vehicle/queryAgv_Status', {})
|
||||
// 1.9退出
|
||||
export const quitNow = () => post('api/vehicle/quitNow', {})
|
||||
|
||||
// 系统管理
|
||||
// 1.1 用户列表
|
||||
export const usersQuery = (page, size) => post('api/users/query', {
|
||||
page: page,
|
||||
size: size
|
||||
})
|
||||
// 1.2 添加用户
|
||||
export const usersAdd = (username, personName, gender, phone, rolesIds, password) => post('api/users/add', {
|
||||
username: username,
|
||||
personName: personName,
|
||||
gender: gender,
|
||||
phone: phone,
|
||||
rolesIds: rolesIds,
|
||||
password: password
|
||||
})
|
||||
// 1.3 修改用户、重置密码
|
||||
export const usersEdit = (obj) => post('api/users/edit', obj)
|
||||
// 1.4 删除用户
|
||||
export const usersDelete = (userId) => post('api/users/delete', {
|
||||
usersIds: userId
|
||||
})
|
||||
|
||||
// 角色管理
|
||||
// 1.1 角色列表
|
||||
export const sysRoleQuery = (page, size) => post('api/sysRole/query', {
|
||||
page: page,
|
||||
size: size
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user