Browse Source

feat:统计数量

dev
zhaobing 2 years ago
parent
commit
2d6fb45dc2
  1. 2
      api/app/lib/controllers/overview/building.js

2
api/app/lib/controllers/overview/building.js

@ -196,7 +196,7 @@ async function roadState(ctx) {
} }
} }
if (p.buildUnit && p.done) { if (p.buildUnit && !p.done) {
let townName = p.buildUnit.replace('人民政府', '').replace('南昌县', '').replace('管委会', '') let townName = p.buildUnit.replace('人民政府', '').replace('南昌县', '').replace('管委会', '')
if (roadState.townProject[townName]) { if (roadState.townProject[townName]) {
roadState.townProject[townName] += 1 roadState.townProject[townName] += 1

Loading…
Cancel
Save