From 98c2f0f4ce19e0c5de7d82e151797c68f5eb45da Mon Sep 17 00:00:00 2001 From: wenlele Date: Thu, 21 Dec 2023 22:03:56 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=AC=E9=87=8C=E5=B0=8F=E6=95=B0=E4=BD=8D?= =?UTF-8?q?=E9=99=90=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/.vscode/launch.json | 1 + .../sections/fillion/containers/maintenanceSpotCheck-new.js | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) 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: '操作',