|
@ -833,10 +833,10 @@ async function roadSpotList (ctx) { |
|
|
countyPercentage: item.countyPercentage, |
|
|
countyPercentage: item.countyPercentage, |
|
|
spotCountyRoadCount: item.countyRoadId ? item.countyRoadId.length : 0, |
|
|
spotCountyRoadCount: item.countyRoadId ? item.countyRoadId.length : 0, |
|
|
spotTownRoadCount: item.townshipRoadId ? item.townshipRoadId.length : 0, |
|
|
spotTownRoadCount: item.townshipRoadId ? item.townshipRoadId.length : 0, |
|
|
spotVillageRoadCount: item.villageId ? item.villageId.length : 0, |
|
|
spotVillageRoadCount: item.villageRoadId ? item.villageRoadId.length : 0, |
|
|
countyRoadId: item.countyRoadId, |
|
|
countyRoadId: item.countyRoadId, |
|
|
townshipRoadId: item.townshipRoadId, |
|
|
townshipRoadId: item.townshipRoadId, |
|
|
villageId: item.villageId, |
|
|
villageRoadId: item.villageRoadId, |
|
|
} |
|
|
} |
|
|
}) |
|
|
}) |
|
|
} catch (error) { |
|
|
} catch (error) { |
|
|