You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
// 登录
|
|
|
|
exports.loginUrl = () => {
|
|
|
|
return `/login`
|
|
|
|
}
|
|
|
|
|
|
|
|
// 登出
|
|
|
|
exports.logoutUrl = () => {
|
|
|
|
return `/logout`
|
|
|
|
}
|
|
|
|
|
|
|
|
// 获取巡检总览
|
|
|
|
exports.getProjectList = () => {
|
|
|
|
return `/projectList`
|
|
|
|
}
|
|
|
|
|
|
|
|
// 获取巡检计划
|
|
|
|
exports.getPatrolPlan = () => {
|
|
|
|
return `/patrolPlan`
|
|
|
|
}
|
|
|
|
|
|
|
|
// 开始巡检录入
|
|
|
|
exports.addPatrolRecord = () => {
|
|
|
|
return `/patrolRecord/add`
|
|
|
|
}
|
|
|
|
|
|
|
|
// 获取巡检记录
|
|
|
|
exports.getPatrolRecord = (patrolPlanId, startTime, endTime, alarm, pointId) => {
|
|
|
|
return `/patrolRecord/${patrolPlanId}/${startTime}/${endTime}/${alarm}/${pointId}`
|
|
|
|
}
|
|
|
|
|
|
|
|
// 获取巡检模板
|
|
|
|
exports.getPatrolTemplate = (id) => {
|
|
|
|
return `/patrolTemplate?id=${id}`
|
|
|
|
}
|