'use strict'; module.exports = app => { const { router, controller } = app; // 户管理 // router.post('/family/add', controller.familyController.add); // router.post('/family/update', controller.familyController.update); // router.get('/family/one', controller.familyController.one); // router.get('/family/delete', controller.familyController.delete); router.get('/family/list', controller.familyController.list); // router.get('/family/listForPage', controller.familyController.listForPage); router.get('/family/bindList', controller.familyController.bindList); // 采集信息管理 router.get('/info/one', controller.infoController.one); router.get('/info/delete', controller.infoController.delete); router.get('/info/list', controller.infoController.list); router.get('/info/listForPage', controller.infoController.listForPage); router.get('/info/approval', controller.infoController.approval); router.get('/info/allImage', controller.infoController.allImage); router.get('/info/allImageCount', controller.infoController.allImageCount); router.get('/info/groupByNumber', controller.infoController.groupByNumber); router.get('/info/exportExcelByInfo', controller.infoController.exportExcelByInfo); router.get('/info/yestdayNum', controller.infoController.yestdayNum); router.get('/info/isDeath', controller.infoController.isDeath); router.get('/info/nowMonthVisitList', controller.infoController.nowMonthVisitList); router.post('/visit/pcVisitCommit', controller.infoController.pcVisitCommit); // 探访信息管理 router.post('/visit/add', controller.visitController.add); router.post('/visit/face', controller.visitController.doFace); router.post('/visit/doFace2', controller.visitController.doFace2); router.post('/visit/doFace3', controller.visitController.doFace3); // router.post('/visit/update', controller.visitController.update); router.get('/visit/one', controller.visitController.one); router.get('/visit/delete', controller.visitController.delete); router.get('/visit/list', controller.visitController.list); router.get('/visit/listForPage', controller.visitController.listForPageWithDept); router.get('/visit/exportExcelByVisit', controller.visitController.exportExcelByVisit); router.get('/visit/sevendayNum', controller.visitController.sevendayNum); // 积分管理 // router.post('/value/add', controller.valueController.add); // router.post('/value/update', controller.valueController.update); // router.get('/value/one', controller.valueController.one); // router.get('/value/delete', controller.valueController.delete); // router.get('/value/list', controller.valueController.list); // router.get('/value/listForPage', controller.valueController.listForPage); router.get('/value/userValueDetails', controller.valueController.userValueDetails); // 探访表修改表字段,添加老人类别 // router.get('/visit/visitAdd', controller.visitController.visitAdd); // 超范围添加 router.post('/overRange/add', controller.overRangeController.add); // 积分核销 router.post('/scoreVerification/add', controller.scoreVerificationController.add); // router.post('/scoreVerification/update', controller.scoreVerificationController.update); router.get('/scoreVerification/one', controller.scoreVerificationController.one); // router.get('/scoreVerification/delete', controller.scoreVerificationController.delete); // router.get('/scoreVerification/list', controller.scoreVerificationController.list); router.get('/scoreVerification/listForPage', controller.scoreVerificationController.listForPage); // 紧急情况 router.post('/urgency/update', controller.urgencyController.update); router.get('/urgency/listForPage', controller.urgencyController.listForPage); router.get('/urgency/urgencyFirst', controller.urgencyController.urgencyFirst); // 调用STS服务AssumeRole接口的权限 router.get('/oss/getALiOssToken', controller.infoController.getALiOssToken); // router.get('/info/createOldInfoOwnerUser', controller.infoController.createOldInfoOwnerUser); // 将以前的第五级地区自主上报员 生成一次(且只可执行一次) // router.get('/info/createYlxtSelectUser', controller.infoController.createYlxtSelectUser); // 将以前的第五级地区自主上报员 生成一次(且只可执行一次) };