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.
16 lines
806 B
16 lines
806 B
2 years ago
|
'use strict';
|
||
1 year ago
|
const problemData = require('../../controllers/analysis/problemData');
|
||
2 years ago
|
|
||
|
module.exports = function (app, router, opts) {
|
||
|
app.fs.api.logAttr['GET/maintenceRecordRank'] = { content: '获取维修记录排名', visible: true };
|
||
|
router.get('/maintenceRecordRank', problemData.getMaintenceRecordRank)
|
||
|
|
||
|
app.fs.api.logAttr['GET/maintenceTotal'] = { content: '获取维修次数统计', visible: true };
|
||
|
router.get('/maintenceTotal', problemData.getMaintenceTotal)
|
||
|
|
||
|
app.fs.api.logAttr['GET/equipmentCategory'] = { content: '获取设备类型', visible: true };
|
||
|
router.get('/equipmentCategory', problemData.getEquipmentCategory)
|
||
|
|
||
|
app.fs.api.logAttr['GET/maintenanceStatus'] = { content: '获取状态', visible: true };
|
||
|
router.get('/maintenanceStatus', problemData.getStatus)
|
||
|
}
|