巴林闲侠
2 years ago
3 changed files with 34 additions and 15 deletions
@ -1,34 +1,38 @@ |
|||||
// 登录
|
// 登录
|
||||
exports.loginUrl = () => { |
exports.loginUrl = () => { |
||||
return `/login` |
return `/login` |
||||
} |
} |
||||
|
|
||||
// 登出
|
// 登出
|
||||
exports.logoutUrl = () => { |
exports.logoutUrl = () => { |
||||
return `/logout` |
return `/logout` |
||||
} |
} |
||||
|
|
||||
// 获取巡检总览
|
// 获取巡检总览
|
||||
exports.getProjectList = () => { |
exports.getProjectList = () => { |
||||
return `/projectList` |
return `/projectList` |
||||
} |
} |
||||
|
|
||||
// 获取巡检计划
|
// 获取巡检计划
|
||||
exports.getPatrolPlan = () => { |
exports.getPatrolPlan = () => { |
||||
return `/patrolPlan` |
return `/patrolPlan` |
||||
} |
} |
||||
|
|
||||
// 开始巡检录入
|
// 开始巡检录入
|
||||
exports.addPatrolRecord = () => { |
exports.addPatrolRecord = () => { |
||||
return `/patrolRecord/add` |
return `/patrolRecord/add` |
||||
} |
} |
||||
|
|
||||
// 获取巡检记录
|
// 获取巡检记录
|
||||
exports.getPatrolRecord = (patrolPlanId, startTime, endTime, alarm, pointId) => { |
exports.getPatrolRecord = (patrolPlanId, startTime, endTime, alarm, pointId) => { |
||||
return `/patrolRecord/${patrolPlanId}/${startTime}/${endTime}/${alarm}/${pointId}` |
return `/patrolRecord/${patrolPlanId}/${startTime}/${endTime}/${alarm}/${pointId}` |
||||
} |
} |
||||
|
|
||||
// 获取巡检模板
|
// 获取巡检模板
|
||||
exports.getPatrolTemplate = (id) => { |
exports.getPatrolTemplate = (id) => { |
||||
return `/patrolTemplate?id=${id}` |
return `/patrolTemplate?id=${id}` |
||||
|
} |
||||
|
|
||||
|
exports.getPatrolRecordIssueHandle = (id) => { |
||||
|
return `/patrolRecord/issue/handle` |
||||
} |
} |
Loading…
Reference in new issue