diff --git a/api/.vscode/launch.json b/api/.vscode/launch.json index 66bac10f..fce97ad6 100644 --- a/api/.vscode/launch.json +++ b/api/.vscode/launch.json @@ -17,6 +17,7 @@ "-f http://localhost:13400", // "-g postgres://FashionAdmin:123456@10.8.16.184:5432/sihaogonglu", "-g postgres://postgres:123@10.8.30.32:5432/highways4good", + // "-g postgres://postgres:123@10.8.30.32:5432/highwaytest", // "-g postgres://FashionAdmin:123456@10.8.30.156:5432/highway4goodn0728", "--qnak XuDgkao6cL0HidoMAPnA5OB10Mc_Ew08mpIfRJK5", "--qnsk yewcieZLzKZuDfig0wLZ9if9jKp2P_1jd3CMJPSa", diff --git a/web/client/src/sections/fillion/containers/maintenanceSpotCheck-new.js b/web/client/src/sections/fillion/containers/maintenanceSpotCheck-new.js index 4374ca62..07a2a9a0 100644 --- a/web/client/src/sections/fillion/containers/maintenanceSpotCheck-new.js +++ b/web/client/src/sections/fillion/containers/maintenanceSpotCheck-new.js @@ -57,7 +57,7 @@ const MaintenanceSpotCheck = (props) => { try { const res = await dispatch(getVillageList({})) let data = res.payload.data - console.log(data) + // console.log(data) data.map(s => { setVillage(s) }) @@ -86,16 +86,19 @@ const MaintenanceSpotCheck = (props) => { title: '抽查县道(公里)', key: 'countryMil', dataIndex: 'countryMil', + render: (txet, record) => txet && txet.toFixed(3) || 0 }, { title: '抽查乡道(公里)', key: 'townMil', dataIndex: 'townMil', + render: (txet, record) => txet && txet.toFixed(3) || 0 }, { title: '抽查村道(公里)', key: 'villageMil', dataIndex: 'villageMil', + render: (txet, record) => txet && txet.toFixed(3) || 0 }, { title: '操作',