'use strict'; const report = require('../../controllers/report'); const achieve = require('../../controllers/report/achievement'); module.exports = function (app, router, opts) { app.fs.api.logAttr['GET/reserveItem/report/:type'] = { content: '查询储备项目统计表', visible: false }; router.get('/reserveItem/report/:type', report.getReserveItemReport); app.fs.api.logAttr['GET/sales/member/list'] = { content: '查询销售人员分布明细表', visible: false }; router.get('/sales/member/list', report.getSalersReport); app.fs.api.logAttr['GET/detail/received/back'] = { content: '查询回款明细表', visible: false }; router.get('/detail/received/back', achieve.getReceivedDetail); app.fs.api.logAttr['GET/detail/achievement'] = { content: '查询业绩明细表', visible: false }; router.get('/detail/achievement', achieve.getAchievementDetail); app.fs.api.logAttr['GET/contract/detail'] = { content: '查询合同明细表', visible: false }; router.get('/contract/detail', achieve.getContractDetail); app.fs.api.logAttr['GET/invoicing/detail'] = { content: '查询开票明细表', visible: false }; router.get('/invoicing/detail', achieve.getInvoicingDetail); app.fs.api.logAttr['GET/export/contract/detail'] = { content: '导出合同明细表', visible: false }; router.get('/export/contract/detail', achieve.exportContractDetail); };