logic.js 4.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. 'use strict';
  2. module.exports = app => {
  3. const { router, controller } = app;
  4. // 户管理
  5. // router.post('/family/add', controller.familyController.add);
  6. // router.post('/family/update', controller.familyController.update);
  7. // router.get('/family/one', controller.familyController.one);
  8. // router.get('/family/delete', controller.familyController.delete);
  9. router.get('/family/list', controller.familyController.list);
  10. // router.get('/family/listForPage', controller.familyController.listForPage);
  11. router.get('/family/bindList', controller.familyController.bindList);
  12. // 采集信息管理
  13. router.get('/info/one', controller.infoController.one);
  14. router.get('/info/delete', controller.infoController.delete);
  15. router.get('/info/list', controller.infoController.list);
  16. router.get('/info/listForPage', controller.infoController.listForPage);
  17. router.get('/info/approval', controller.infoController.approval);
  18. router.get('/info/allImage', controller.infoController.allImage);
  19. router.get('/info/allImageCount', controller.infoController.allImageCount);
  20. router.get('/info/groupByNumber', controller.infoController.groupByNumber);
  21. router.get('/info/exportExcelByInfo', controller.infoController.exportExcelByInfo);
  22. router.get('/info/yestdayNum', controller.infoController.yestdayNum);
  23. router.get('/info/isDeath', controller.infoController.isDeath);
  24. router.get('/info/nowMonthVisitList', controller.infoController.nowMonthVisitList);
  25. router.post('/visit/pcVisitCommit', controller.infoController.pcVisitCommit);
  26. // 探访信息管理
  27. router.post('/visit/add', controller.visitController.add);
  28. router.post('/visit/face', controller.visitController.doFace);
  29. router.post('/visit/doFace2', controller.visitController.doFace2);
  30. router.post('/visit/doFace3', controller.visitController.doFace3);
  31. // router.post('/visit/update', controller.visitController.update);
  32. router.get('/visit/one', controller.visitController.one);
  33. router.get('/visit/delete', controller.visitController.delete);
  34. router.get('/visit/list', controller.visitController.list);
  35. router.get('/visit/listForPage', controller.visitController.listForPageWithDept);
  36. router.get('/visit/exportExcelByVisit', controller.visitController.exportExcelByVisit);
  37. router.get('/visit/sevendayNum', controller.visitController.sevendayNum);
  38. // 积分管理
  39. // router.post('/value/add', controller.valueController.add);
  40. // router.post('/value/update', controller.valueController.update);
  41. // router.get('/value/one', controller.valueController.one);
  42. // router.get('/value/delete', controller.valueController.delete);
  43. // router.get('/value/list', controller.valueController.list);
  44. // router.get('/value/listForPage', controller.valueController.listForPage);
  45. router.get('/value/userValueDetails', controller.valueController.userValueDetails);
  46. // 探访表修改表字段,添加老人类别
  47. // router.get('/visit/visitAdd', controller.visitController.visitAdd);
  48. // 超范围添加
  49. router.post('/overRange/add', controller.overRangeController.add);
  50. // 积分核销
  51. router.post('/scoreVerification/add', controller.scoreVerificationController.add);
  52. // router.post('/scoreVerification/update', controller.scoreVerificationController.update);
  53. router.get('/scoreVerification/one', controller.scoreVerificationController.one);
  54. // router.get('/scoreVerification/delete', controller.scoreVerificationController.delete);
  55. // router.get('/scoreVerification/list', controller.scoreVerificationController.list);
  56. router.get('/scoreVerification/listForPage', controller.scoreVerificationController.listForPage);
  57. // 紧急情况
  58. router.post('/urgency/update', controller.urgencyController.update);
  59. router.get('/urgency/listForPage', controller.urgencyController.listForPage);
  60. router.get('/urgency/urgencyFirst', controller.urgencyController.urgencyFirst);
  61. // 调用STS服务AssumeRole接口的权限
  62. router.get('/oss/getALiOssToken', controller.infoController.getALiOssToken);
  63. // router.get('/info/createOldInfoOwnerUser', controller.infoController.createOldInfoOwnerUser); // 将以前的第五级地区自主上报员 生成一次(且只可执行一次)
  64. // router.get('/info/createYlxtSelectUser', controller.infoController.createYlxtSelectUser); // 将以前的第五级地区自主上报员 生成一次(且只可执行一次)
  65. };