diff --git a/src/api/road.js b/src/api/road.js index b5324a3..8a092e1 100644 --- a/src/api/road.js +++ b/src/api/road.js @@ -12,59 +12,66 @@ import request from '@/utils/request' // method: 'get' // }) // } -export function getRoadData (params) { +export function getRoadData(params) { return request({ url: '/api/project/listRoadData', method: 'get', params }) } -export function getRoadDataByTimeRegion (params) { +export function getRoadDataByTimeRegion(params) { return request({ url: '/api/project/listRoadDataByTimeRegion', method: 'get', params }) } -//查询经纬度范围工地 -export function listBuildingSiteByPoints (params) { +// 查询经纬度范围工地 +export function listBuildingSiteByPoints(params) { return request({ url: '/api/project/listBuildingSiteByPoints', method: 'get', params }) } -export function listSedimentTrailByPoints (params) { +export function listSedimentTrailByPoints(params) { return request({ url: '/api/project/listSedimentTrailByPoints', method: 'get', params }) } -export function listTrailSanitationByPoints (params) { +export function listTrailSanitationByPoints(params) { return request({ url: '/api/project/listTrailSanitationByPoints', method: 'get', params }) } -export function selectAllByGps (params) { +export function selectAllByGps(params) { return request({ url: '/api/project/selectAllByGps', method: 'get', params }) } -//查询所有工地 -export function selectBuildSite (params) { +// 查询所有工地 +export function selectBuildSite(params) { return request({ url: '/api/project/selectBuildSite', method: 'get', params }) } - -export function selectAllTrailSanitation (params) { +// 查询所有渣土车 +export function selectAllSedimentTrail(params) { + return request({ + url: '/api/project/selectAllSedimentTrail', + method: 'get', + params + }) +} +export function selectAllTrailSanitation(params) { return request({ url: '/api/project/selectAllTrailSanitation', method: 'get', @@ -72,7 +79,7 @@ export function selectAllTrailSanitation (params) { }) } -export function selectRoadData (params) { +export function selectRoadData(params) { return request({ url: '/api/project/selectRoadData', method: 'get', diff --git a/src/views/pages/roadGovernance/components/CauseAnalysis.vue b/src/views/pages/roadGovernance/components/CauseAnalysis.vue index 356076f..af13362 100644 --- a/src/views/pages/roadGovernance/components/CauseAnalysis.vue +++ b/src/views/pages/roadGovernance/components/CauseAnalysis.vue @@ -1,16 +1,21 @@