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.
 
 
 
 

28 lines
1.4 KiB

'use strict';
const leader = require('../../controllers/bigScreen/leader');
module.exports = function (app, router, opts) {
app.fs.api.logAttr['GET/bigScreen/patrolRecord'] = { content: '查询对应结构物下的结构物相关的', visible: false };
router.get('/bigScreen/patrolRecord', leader.findPatrolRecords)
app.fs.api.logAttr['GET/bigScreen/patrolRate'] = { content: '查询巡检率', visible: false };
router.get('/bigScreen/patrolRate', leader.findPatrolRate)
app.fs.api.logAttr['GET/bigScreen/patrolCount'] = { content: '根据结构物汇集巡检', visible: false };
router.get('/bigScreen/patrolCount', leader.countByProject)
app.fs.api.logAttr['GET/bigScreen/devices/guarantee'] = { content: '查询设备寿命相关', visible: false };
router.get('/bigScreen/devices/guarantee', leader.devicesGuarantee)
app.fs.api.logAttr['GET/bigScreen/historicalFaults'] = { content: '查询历史错误', visible: false };
router.get('/bigScreen/historicalFaults', leader.getHistoricalFaults)
app.fs.api.logAttr['GET/bigScreen/faultsRank'] = { content: '查询故障排名', visible: false };
router.get('/bigScreen/faultsRank', leader.getFaultsRank)
app.fs.api.logAttr['GET/bigScreen/centerData'] = { content: '领导驾驶仓中间数据', visible: false };
router.get('/bigScreen/centerData', leader.getCenterData)
}