You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
825 B
17 lines
825 B
'use strict';
|
|
|
|
const attendance = require('../../controllers/attendance');
|
|
|
|
module.exports = function (app, router, opts) {
|
|
app.fs.api.logAttr['GET/attendance/overtime'] = { content: '加班统计', visible: true };
|
|
router.get('/attendance/overtime', attendance.overtimeStatistic);
|
|
|
|
app.fs.api.logAttr['GET/attendance/overtime/export'] = { content: '加班统计导出', visible: true };
|
|
router.get('/attendance/overtime/export', attendance.exportOvertimeStatistic);
|
|
|
|
app.fs.api.logAttr['GET/attendance/vacate'] = { content: '请假统计', visible: true };
|
|
router.get('/attendance/vacate', attendance.vacateStatistic);
|
|
|
|
app.fs.api.logAttr['GET/attendance/vacate/export'] = { content: '请假统计导出', visible: true };
|
|
router.get('/attendance/vacate/export', attendance.exportVacateStatistic);
|
|
};
|