other.js 1.3 KB

12345678910111213141516171819202122232425262728
  1. 'use strict';
  2. module.exports = app => {
  3. const { router, controller } = app;
  4. // 操作手册
  5. router.post('/operationManual/upload', controller.operationManualController.upload);
  6. router.get('/operationManual/one', controller.operationManualController.one);
  7. router.get('/operationManual/listForPage', controller.operationManualController.listForPage);
  8. // 图表
  9. router.get('/chart/statistics', controller.statisticsController.statistics);
  10. router.get('/chart/statistics/user', controller.statisticsController.user);
  11. router.get('/chart/statistics/info', controller.statisticsController.info);
  12. router.get('/chart/statistics/oldType', controller.statisticsController.oldType);
  13. router.get('/chart/deptValues', controller.statisticsController.deptValues);
  14. router.get('/chart/visitDeptStatistics', controller.statisticsController.visitDeptStatistics);
  15. router.get('/chart/visitDept3Statistics', controller.statisticsController.visitDept3Statistics);
  16. // 县区审核优化
  17. router.get('/chart/dept3Statistics', controller.statisticsController.dept3);
  18. // 个人积分优化
  19. router.get('/chart/userValues', controller.statisticsController.oneValues);
  20. router.get('/chart/urgency', controller.statisticsController.urgency);
  21. // 自主申报五级地区查询
  22. router.get('/info/ownerDept', controller.statisticsController.ownerDept);
  23. };