Browse Source

公里小数位限制

dev
wenlele 1 year ago
parent
commit
98c2f0f4ce
  1. 1
      api/.vscode/launch.json
  2. 5
      web/client/src/sections/fillion/containers/maintenanceSpotCheck-new.js

1
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",

5
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: '操作',

Loading…
Cancel
Save