Browse Source

填充没有数据的单元格

dev
wenlele 1 year ago
parent
commit
3b810990b4
  1. 9
      api/app/lib/controllers/report/index.js

9
api/app/lib/controllers/report/index.js

@ -820,8 +820,15 @@ async function roadSpotPrepare (ctx) {
let village = await getRoadTotalMileage('村', where, false) let village = await getRoadTotalMileage('村', where, false)
gather.push({ gather.push({
name: d.name, name: d.name,
code: d.code,
township: township, township: township,
village: village townshipParticipate: 0,
townshipPresent: 0,
townshipDifferenceValue: 0,
village: village,
villageParticipate: 0,
villagePresent: 0,
villageDifferenceValue: 0
}) })
} }

Loading…
Cancel
Save