Browse Source

Merge branch 'dev' of https://gitea.anxinyun.cn/gao.zhiyuan/Highways4Good into dev

release_0.0.1
xingyongchun 2 years ago
parent
commit
02851689ec
  1. 2
      api/app/lib/controllers/overview/building.js
  2. 10
      api/app/lib/controllers/overview/management.js
  3. 3
      api/log/development.log
  4. BIN
      scripts/0.0.1/data/3_init_report_pic_data/data/图片/10-1.jpg
  5. BIN
      scripts/0.0.1/data/3_init_report_pic_data/data/图片/11-1.jpg
  6. BIN
      scripts/0.0.1/data/3_init_report_pic_data/data/图片/12-1.jpg
  7. BIN
      scripts/0.0.1/data/3_init_report_pic_data/data/图片/13-1.jpg
  8. BIN
      scripts/0.0.1/data/3_init_report_pic_data/data/图片/14-1.jpg
  9. BIN
      scripts/0.0.1/data/3_init_report_pic_data/data/图片/15-1.jpg
  10. BIN
      scripts/0.0.1/data/3_init_report_pic_data/data/图片/16-1.jpg
  11. BIN
      scripts/0.0.1/data/3_init_report_pic_data/data/图片/17-1.jpg
  12. BIN
      scripts/0.0.1/data/3_init_report_pic_data/data/图片/18-1.jpg
  13. BIN
      scripts/0.0.1/data/3_init_report_pic_data/data/图片/19-1.jpg
  14. BIN
      scripts/0.0.1/data/3_init_report_pic_data/data/图片/20-1.jpg
  15. BIN
      scripts/0.0.1/data/3_init_report_pic_data/data/图片/21-1.jpg
  16. BIN
      scripts/0.0.1/data/3_init_report_pic_data/data/图片/22-1.jpg
  17. BIN
      scripts/0.0.1/data/3_init_report_pic_data/data/图片/23-1.jpg
  18. BIN
      scripts/0.0.1/data/3_init_report_pic_data/data/图片/24-1.jpg
  19. BIN
      scripts/0.0.1/data/3_init_report_pic_data/data/图片/25-1.jpg
  20. BIN
      scripts/0.0.1/data/3_init_report_pic_data/data/图片/26-1.jpg
  21. BIN
      scripts/0.0.1/data/3_init_report_pic_data/data/图片/27-1.jpg
  22. BIN
      scripts/0.0.1/data/3_init_report_pic_data/data/图片/28-1.jpg
  23. BIN
      scripts/0.0.1/data/3_init_report_pic_data/data/图片/29-1.jpg
  24. BIN
      scripts/0.0.1/data/3_init_report_pic_data/data/图片/30-1.jpg
  25. BIN
      scripts/0.0.1/data/3_init_report_pic_data/data/图片/31-1.jpg
  26. BIN
      scripts/0.0.1/data/3_init_report_pic_data/data/图片/32-1.jpg
  27. BIN
      scripts/0.0.1/data/3_init_report_pic_data/data/图片/33-1.jpg
  28. BIN
      scripts/0.0.1/data/3_init_report_pic_data/data/图片/34-1.jpg
  29. BIN
      scripts/0.0.1/data/3_init_report_pic_data/data/图片/35-1.jpg
  30. BIN
      scripts/0.0.1/data/3_init_report_pic_data/data/图片/36-1.jpg
  31. BIN
      scripts/0.0.1/data/3_init_report_pic_data/data/图片/37-1.jpg
  32. BIN
      scripts/0.0.1/data/3_init_report_pic_data/data/图片/38-1.jpg
  33. BIN
      scripts/0.0.1/data/3_init_report_pic_data/data/图片/39-1.jpg
  34. BIN
      scripts/0.0.1/data/3_init_report_pic_data/data/图片/40-1.jpg
  35. BIN
      scripts/0.0.1/data/3_init_report_pic_data/data/图片/41-1.jpg
  36. BIN
      scripts/0.0.1/data/3_init_report_pic_data/data/图片/42-1.jpg
  37. BIN
      scripts/0.0.1/data/3_init_report_pic_data/data/图片/43-1.jpg
  38. BIN
      scripts/0.0.1/data/3_init_report_pic_data/data/图片/5-1.jpg
  39. BIN
      scripts/0.0.1/data/3_init_report_pic_data/data/图片/6-1.jpg
  40. BIN
      scripts/0.0.1/data/3_init_report_pic_data/data/图片/7-1.jpg
  41. BIN
      scripts/0.0.1/data/3_init_report_pic_data/data/图片/8-1.jpg
  42. BIN
      scripts/0.0.1/data/3_init_report_pic_data/data/图片/9-1.jpg

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

@ -170,6 +170,7 @@ async function roadState (ctx) {
}
}
if (p.buildUnit) {
let townName = p.buildUnit.replace('人民政府', '').replace('南昌县', '').replace('管委会', '')
if (roadState.townProject[townName]) {
roadState.townProject[townName] += 1
@ -177,6 +178,7 @@ async function roadState (ctx) {
roadState.townProject[townName] = 1
}
}
}
roadState.buildedRoad += roadCode.size
for (let t of Object.keys(roadState.townRoad)) {

10
api/app/lib/controllers/overview/management.js

@ -4,15 +4,23 @@ async function overSpeedList (ctx) {
try {
const models = ctx.fs.dc.models;
const { userId } = ctx.fs.api;
const { limit } = ctx.query;
const overSpeedRes = await models.Overspeed.findAll({
attributes: ['id', 'licensePlate', 'overrunRate', 'deductPoints', 'fine', 'processingTime'],
order: [['testTime', 'DESC']],
limit: limit || 120,
})
const overSpeedProcessedCount = await models.Overspeed.count({
where: {
processingTime: { $ne: null }
}
})
ctx.status = 200
ctx.body = {
processed: overSpeedRes.filter(s => s.processingTime).length,
processed: overSpeedProcessedCount,
overSpeedList: overSpeedRes,
}
} catch (error) {

3
api/log/development.log

@ -8534,3 +8534,6 @@
original: { '$ref': '$["parent"]' },
__stackCleaned__: true
}
2022-07-26 09:52:19.623 - debug: [FS-LOGGER] Init.
2022-07-26 09:52:19.753 - info: [FS-ATTACHMENT] Inject attachment mw into router.
2022-07-26 09:52:19.753 - info: [FS-AUTH] Inject auth and api mv into router.

BIN
scripts/0.0.1/data/3_init_report_pic_data/data/图片/10-1.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 242 KiB

BIN
scripts/0.0.1/data/3_init_report_pic_data/data/图片/11-1.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 858 KiB

BIN
scripts/0.0.1/data/3_init_report_pic_data/data/图片/12-1.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 808 KiB

BIN
scripts/0.0.1/data/3_init_report_pic_data/data/图片/13-1.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 234 KiB

BIN
scripts/0.0.1/data/3_init_report_pic_data/data/图片/14-1.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 895 KiB

BIN
scripts/0.0.1/data/3_init_report_pic_data/data/图片/15-1.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 220 KiB

BIN
scripts/0.0.1/data/3_init_report_pic_data/data/图片/16-1.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 987 KiB

BIN
scripts/0.0.1/data/3_init_report_pic_data/data/图片/17-1.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 260 KiB

BIN
scripts/0.0.1/data/3_init_report_pic_data/data/图片/18-1.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 970 KiB

BIN
scripts/0.0.1/data/3_init_report_pic_data/data/图片/19-1.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 759 KiB

BIN
scripts/0.0.1/data/3_init_report_pic_data/data/图片/20-1.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 216 KiB

BIN
scripts/0.0.1/data/3_init_report_pic_data/data/图片/21-1.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 762 KiB

BIN
scripts/0.0.1/data/3_init_report_pic_data/data/图片/22-1.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 206 KiB

BIN
scripts/0.0.1/data/3_init_report_pic_data/data/图片/23-1.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 710 KiB

BIN
scripts/0.0.1/data/3_init_report_pic_data/data/图片/24-1.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 264 KiB

BIN
scripts/0.0.1/data/3_init_report_pic_data/data/图片/25-1.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 557 KiB

BIN
scripts/0.0.1/data/3_init_report_pic_data/data/图片/26-1.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 252 KiB

BIN
scripts/0.0.1/data/3_init_report_pic_data/data/图片/27-1.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 622 KiB

BIN
scripts/0.0.1/data/3_init_report_pic_data/data/图片/28-1.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 744 KiB

BIN
scripts/0.0.1/data/3_init_report_pic_data/data/图片/29-1.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 232 KiB

BIN
scripts/0.0.1/data/3_init_report_pic_data/data/图片/30-1.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 416 KiB

BIN
scripts/0.0.1/data/3_init_report_pic_data/data/图片/31-1.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 248 KiB

BIN
scripts/0.0.1/data/3_init_report_pic_data/data/图片/32-1.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 893 KiB

BIN
scripts/0.0.1/data/3_init_report_pic_data/data/图片/33-1.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 214 KiB

BIN
scripts/0.0.1/data/3_init_report_pic_data/data/图片/34-1.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 924 KiB

BIN
scripts/0.0.1/data/3_init_report_pic_data/data/图片/35-1.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 211 KiB

BIN
scripts/0.0.1/data/3_init_report_pic_data/data/图片/36-1.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 932 KiB

BIN
scripts/0.0.1/data/3_init_report_pic_data/data/图片/37-1.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 255 KiB

BIN
scripts/0.0.1/data/3_init_report_pic_data/data/图片/38-1.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 932 KiB

BIN
scripts/0.0.1/data/3_init_report_pic_data/data/图片/39-1.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 269 KiB

BIN
scripts/0.0.1/data/3_init_report_pic_data/data/图片/40-1.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 899 KiB

BIN
scripts/0.0.1/data/3_init_report_pic_data/data/图片/41-1.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 251 KiB

BIN
scripts/0.0.1/data/3_init_report_pic_data/data/图片/42-1.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 219 KiB

BIN
scripts/0.0.1/data/3_init_report_pic_data/data/图片/43-1.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 227 KiB

BIN
scripts/0.0.1/data/3_init_report_pic_data/data/图片/5-1.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 797 KiB

BIN
scripts/0.0.1/data/3_init_report_pic_data/data/图片/6-1.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 258 KiB

BIN
scripts/0.0.1/data/3_init_report_pic_data/data/图片/7-1.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 874 KiB

BIN
scripts/0.0.1/data/3_init_report_pic_data/data/图片/8-1.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 227 KiB

BIN
scripts/0.0.1/data/3_init_report_pic_data/data/图片/9-1.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 1008 KiB

Loading…
Cancel
Save