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