|
|
@ -10,7 +10,7 @@ export function getPersonnelInformation(id) { |
|
|
|
} |
|
|
|
|
|
|
|
// 巡查项目管理-巡视检查列表
|
|
|
|
export function postEmbankmentInspectionChecklist(data) { |
|
|
|
export function postDFInspectionProjectList(data) { |
|
|
|
return request({ |
|
|
|
url: '/run/df/checking/list', |
|
|
|
method: 'post', |
|
|
@ -19,7 +19,7 @@ export function postEmbankmentInspectionChecklist(data) { |
|
|
|
} |
|
|
|
|
|
|
|
// 巡查项目管理-巡视检查详情
|
|
|
|
export function getEmbankmentInspectionCheck(id) { |
|
|
|
export function getDFInspectionProject(id) { |
|
|
|
return request({ |
|
|
|
url: `/run/df/checking/${id}`, |
|
|
|
method: 'get', |
|
|
@ -27,7 +27,7 @@ export function getEmbankmentInspectionCheck(id) { |
|
|
|
} |
|
|
|
|
|
|
|
// 巡查项目管理-新增巡视检查
|
|
|
|
export function postEmbankmentInspection(data) { |
|
|
|
export function postDFInspectionProject(data) { |
|
|
|
return request({ |
|
|
|
url: '/run/df/checking', |
|
|
|
method: 'post', |
|
|
@ -36,7 +36,7 @@ export function postEmbankmentInspection(data) { |
|
|
|
} |
|
|
|
|
|
|
|
// 巡查项目管理-修改巡视检查
|
|
|
|
export function putEmbankmentInspection(data) { |
|
|
|
export function putDFInspectionProject(data) { |
|
|
|
return request({ |
|
|
|
url: '/run/df/checking', |
|
|
|
method: 'put', |
|
|
@ -44,16 +44,16 @@ export function putEmbankmentInspection(data) { |
|
|
|
}) |
|
|
|
} |
|
|
|
|
|
|
|
// 巡查项目管理-堤防巡视检查
|
|
|
|
export function deleteEmbankmentInspection(id) { |
|
|
|
// 巡查项目管理-删除巡视检查
|
|
|
|
export function deleteDFInspectionProject(id) { |
|
|
|
return request({ |
|
|
|
url: `/run/df/checking/${id}`, |
|
|
|
method: 'delete', |
|
|
|
method: 'delete' |
|
|
|
}) |
|
|
|
} |
|
|
|
|
|
|
|
// 巡查计划管理-查询巡视检查列表
|
|
|
|
export function postInspectionPlanlist(data) { |
|
|
|
// 巡查计划管理-巡查计划列表
|
|
|
|
export function postDFInspectionPlanlist(data) { |
|
|
|
return request({ |
|
|
|
url: '/run/df/plan/list', |
|
|
|
method: 'post', |
|
|
@ -61,16 +61,16 @@ export function postInspectionPlanlist(data) { |
|
|
|
}) |
|
|
|
} |
|
|
|
|
|
|
|
// 巡查计划管理-巡视检查详情
|
|
|
|
export function getInspectionPlan(id) { |
|
|
|
// 巡查计划管理-巡查计划详情
|
|
|
|
export function getDFInspectionPlan(id) { |
|
|
|
return request({ |
|
|
|
url: `/run/df/plan/${id}`, |
|
|
|
method: 'get', |
|
|
|
}) |
|
|
|
} |
|
|
|
|
|
|
|
// 巡查计划管理-新增巡视检查
|
|
|
|
export function postInspectionPlan(data) { |
|
|
|
// 巡查计划管理-新增巡查计划
|
|
|
|
export function postDFInspectionPlan(data) { |
|
|
|
return request({ |
|
|
|
url: '/run/df/plan', |
|
|
|
method: 'post', |
|
|
@ -78,7 +78,7 @@ export function postInspectionPlan(data) { |
|
|
|
}) |
|
|
|
} |
|
|
|
|
|
|
|
// 巡查计划管理-堤防巡视检查
|
|
|
|
// 巡查计划管理-更新巡查计划
|
|
|
|
export function putInspectionPlan(data) { |
|
|
|
return request({ |
|
|
|
url: '/run/df/plan', |
|
|
@ -87,8 +87,8 @@ export function putInspectionPlan(data) { |
|
|
|
}) |
|
|
|
} |
|
|
|
|
|
|
|
// 巡查计划管理-堤防巡视检查
|
|
|
|
export function deleteInspectionPlan(id) { |
|
|
|
// 巡查计划管理-删除巡查计划
|
|
|
|
export function deleteDFInspectionPlan(id) { |
|
|
|
return request({ |
|
|
|
url: `/run/df/plan/${id}`, |
|
|
|
method: 'delete', |
|
|
@ -96,7 +96,7 @@ export function deleteInspectionPlan(id) { |
|
|
|
} |
|
|
|
|
|
|
|
// 巡查计划管理-巡查点位设置
|
|
|
|
export function postInspectionRoute(id, data) { |
|
|
|
export function postDFInspectionRoute(id, data) { |
|
|
|
return request({ |
|
|
|
url: `/run/df/plan/points/${id}`, |
|
|
|
method: 'post', |
|
|
@ -105,7 +105,7 @@ export function postInspectionRoute(id, data) { |
|
|
|
} |
|
|
|
|
|
|
|
// 巡查计划管理-获取巡查点位
|
|
|
|
export function getInspectionRoute(id) { |
|
|
|
export function getDFInspectionRoute(id) { |
|
|
|
return request({ |
|
|
|
url: `/run/df/plan/points/${id}`, |
|
|
|
method: 'get', |
|
|
@ -113,7 +113,7 @@ export function getInspectionRoute(id) { |
|
|
|
} |
|
|
|
|
|
|
|
// 巡查记录-巡查记录列表
|
|
|
|
export function postInspectionRecordsList(data) { |
|
|
|
export function postDFInspectionRecordsList(data) { |
|
|
|
return request({ |
|
|
|
url: '/run/df/record/list', |
|
|
|
method: 'post', |
|
|
@ -122,7 +122,7 @@ export function postInspectionRecordsList(data) { |
|
|
|
} |
|
|
|
|
|
|
|
// 巡查记录-新增巡查记录
|
|
|
|
export function postNewInspectionRecords(data) { |
|
|
|
export function postDFInspectionRecords(data) { |
|
|
|
return request({ |
|
|
|
url: '/run/df/record', |
|
|
|
method: 'post', |
|
|
@ -131,7 +131,7 @@ export function postNewInspectionRecords(data) { |
|
|
|
} |
|
|
|
|
|
|
|
// 巡查记录-巡查记录轨迹列表
|
|
|
|
export function postInspectionRecordsTrajectoryList(data) { |
|
|
|
export function postDFInspectionRecordsTrajectoryList(data) { |
|
|
|
return request({ |
|
|
|
url: '/run/df/trace/list', |
|
|
|
method: 'post', |
|
|
@ -140,7 +140,7 @@ export function postInspectionRecordsTrajectoryList(data) { |
|
|
|
} |
|
|
|
|
|
|
|
// 维修计划管理-维修计划列表
|
|
|
|
export function postMaintenancePlanList(data) { |
|
|
|
export function postDFMaintenancePlanList(data) { |
|
|
|
return request({ |
|
|
|
url: '/run/df/yh/plan/list', |
|
|
|
method: 'post', |
|
|
@ -148,8 +148,16 @@ export function postMaintenancePlanList(data) { |
|
|
|
}) |
|
|
|
} |
|
|
|
|
|
|
|
// 维修计划管理-维修计划详情
|
|
|
|
export function getDFMaintenancePlan(id) { |
|
|
|
return request({ |
|
|
|
url: `/run/df/yh/plan/${id}`, |
|
|
|
method: 'get' |
|
|
|
}) |
|
|
|
} |
|
|
|
|
|
|
|
// 维修计划管理-新增维修计划
|
|
|
|
export function postNewMaintenancePlan(data) { |
|
|
|
export function postDFMaintenancePlan(data) { |
|
|
|
return request({ |
|
|
|
url: '/run/df/yh/plan', |
|
|
|
method: 'post', |
|
|
@ -158,7 +166,7 @@ export function postNewMaintenancePlan(data) { |
|
|
|
} |
|
|
|
|
|
|
|
// 维修计划管理-更新维修计划
|
|
|
|
export function putUpdateMaintenancePlan(data) { |
|
|
|
export function putDFMaintenancePlan(data) { |
|
|
|
return request({ |
|
|
|
url: '/run/df/yh/plan', |
|
|
|
method: 'put', |
|
|
@ -167,24 +175,15 @@ export function putUpdateMaintenancePlan(data) { |
|
|
|
} |
|
|
|
|
|
|
|
// 维修计划管理-删除维修计划
|
|
|
|
export function deleteMaintenancePlan(id) { |
|
|
|
export function deleteDFMaintenancePlan(id) { |
|
|
|
return request({ |
|
|
|
url: `/run/df/yh/plan/${id}`, |
|
|
|
method: 'delete' |
|
|
|
}) |
|
|
|
} |
|
|
|
|
|
|
|
// 维修计划管理-维修计划详情
|
|
|
|
export function getMaintenancePlan(id) { |
|
|
|
return request({ |
|
|
|
url: `/run/df/yh/plan/${id}`, |
|
|
|
method: 'get' |
|
|
|
}) |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
// 维修记录-维修记录列表
|
|
|
|
export function postMaintenanceRecordsList(data) { |
|
|
|
export function postDFMaintenanceRecordsList(data) { |
|
|
|
return request({ |
|
|
|
url: '/run/df/yh/record/list', |
|
|
|
method: 'post', |
|
|
@ -192,8 +191,16 @@ export function postMaintenanceRecordsList(data) { |
|
|
|
}) |
|
|
|
} |
|
|
|
|
|
|
|
// 维修记录-维修记录详情
|
|
|
|
export function getDFMaintenanceRecords(id) { |
|
|
|
return request({ |
|
|
|
url: `/run/df/yh/record/${id}`, |
|
|
|
method: 'get' |
|
|
|
}) |
|
|
|
} |
|
|
|
|
|
|
|
// 维修记录-新增维修记录
|
|
|
|
export function postNewMaintenanceRecords(data) { |
|
|
|
export function postDFMaintenanceRecords(data) { |
|
|
|
return request({ |
|
|
|
url: '/run/df/yh/record', |
|
|
|
method: 'post', |
|
|
@ -202,7 +209,7 @@ export function postNewMaintenanceRecords(data) { |
|
|
|
} |
|
|
|
|
|
|
|
// 维修记录-更新维修记录
|
|
|
|
export function putUpdateMaintenanceRecords(data) { |
|
|
|
export function putDFMaintenanceRecords(data) { |
|
|
|
return request({ |
|
|
|
url: '/run/df/yh/record', |
|
|
|
method: 'put', |
|
|
@ -211,17 +218,9 @@ export function putUpdateMaintenanceRecords(data) { |
|
|
|
} |
|
|
|
|
|
|
|
// 维修记录-删除维修记录
|
|
|
|
export function deleteMaintenanceRecords(id) { |
|
|
|
export function deleteDFMaintenanceRecords(id) { |
|
|
|
return request({ |
|
|
|
url: `/run/df/yh/record/${id}`, |
|
|
|
method: 'delete' |
|
|
|
}) |
|
|
|
} |
|
|
|
|
|
|
|
// 维修记录-维修记录详情
|
|
|
|
export function getMaintenanceRecords(id) { |
|
|
|
return request({ |
|
|
|
url: `/run/df/yh/record/${id}`, |
|
|
|
method: 'get' |
|
|
|
}) |
|
|
|
} |
|
|
|
} |