123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431 |
- import request from '@/utils/request'
- /* 分类获取公共配置
- * category 1.系统参数 2.公共配置
- * configType 1.基础配置 2.管控一体机 3.化学品终端 4.小程序配置 5.开发配置 6.首页配置
- */
- export function getConfigByType(data) {
- return request({
- url: '/system/config/info/getConfigByType',
- method: 'post',
- data: data
- })
- }
- // 院校通知/工作通知列表
- // notifyType 3.工作通知 2.校院通知
- export function systemNotifyList(data) {
- return request({
- url: '/system/notify/list',
- method: 'post',
- data: data
- })
- }
- // 分级管控列表
- export function laboratoryGradeManageList(data) {
- return request({
- url: '/laboratory/gradeManage/list',
- method: 'post',
- data: data
- })
- }
- // 查询安全分级列表(不带分页)
- export function laboratoryLevelConfigGetLevelTitleList(data) {
- return request({
- url: '/laboratory/levelConfig/getLevelTitleList',
- method: 'post',
- data: data
- })
- }
- // 查询安全分类列表(不带分页)
- export function laboratoryClassTypeGetList(data) {
- return request({
- url: '/laboratory/classType/getList',
- method: 'post',
- data: data
- })
- }
- // 实验室人员-列表
- export function laboratoryBigViewSubUserCount(data) {
- return request({
- url: '/laboratory/bigView/subUserCount',
- method: 'post',
- data: data
- })
- }
- // 实验室人员-总数
- export function laboratoryBigViewSubTotalUserCount(data) {
- return request({
- url: '/laboratory/bigView/subTotalUserCount',
- method: 'post',
- data: data
- })
- }
- //实验室分类分级统计
- export function laboratoryBigViewsSubTypeLevelCount(data) {
- return request({
- url: '/laboratory/bigView/subTypeLevelCount',
- method: 'post',
- data: data
- })
- }
- //危险源统计
- export function laboratoryBigViewSubHazardCount(data) {
- return request({
- url: '/laboratory/bigView/subHazardCount',
- method: 'post',
- data: data
- })
- }
- //危险源统计
- export function laboratoryBigViewSubHazardBarChartCount(data) {
- return request({
- url: '/laboratory/bigView/subHazardBarChartCount',
- method: 'post',
- data: data
- })
- }
- //危险源统计
- export function laboratoryBigViewSubHazardList(data) {
- return request({
- url: '/laboratory/bigView/subHazardList',
- method: 'post',
- data: data
- })
- }
- // 根据字典类型查询字典数据信息
- export function getDicts(dictType) {
- return request({
- url: '/system/dict/item/option?dictCode=' + dictType,
- method: 'get'
- })
- }
- //本月隐患统计
- export function securityBigViewCheckOptionCharts(data) {
- return request({
- url: '/security/bigView/checkOptionCharts',
- method: 'post',
- data: data
- })
- }
- //隐患统计
- export function securityBigViewCheckOptionChartDetails(data) {
- return request({
- url: '/security/bigView/checkOptionChartDetails',
- method: 'post',
- data: data
- })
- }
- //隐患统计-隐患类型
- export function securityCheckOptionList(data) {
- return request({
- url: '/security/checkOption/list',
- method: 'post',
- data: data
- })
- }
- //实验室-传感器
- export function laboratoryBigViewFindSubSensor(data) {
- return request({
- url: '/laboratory/bigView/findSubSensor',
- method: 'post',
- data: data
- })
- }
- //查询当前正在发生的预案
- export function laboratoryBigViewSelectTriggerInfo(query) {
- return request({
- url: '/laboratory/bigView/selectTriggerInfo',
- method: 'get',
- params: query
- })
- }
- //首页-风险预警统计
- export function laboratoryBigViewCollegeEventStatistics(query) {
- return request({
- url: '/laboratory/bigView/collegeEventStatistics',
- method: 'get',
- params: query
- })
- }
- //首页-安全准入办理统计
- export function laboratoryBigViewListCollegeApplyColumn(query) {
- return request({
- url: '/laboratory/bigView/listCollegeApplyColumn',
- method: 'get',
- params: query
- })
- }
- //安全准入办理列表
- export function laboratoryBigViewListCollege(data) {
- return request({
- url: '/laboratory/bigView/listCollege',
- method: 'post',
- data: data
- })
- }
- //首页-人员违规统计
- export function examBigViewNewStatistics(data) {
- return request({
- url: '/exam/bigView/newStatistics',
- method: 'post',
- data: data
- })
- }
- //首页-人员违规统计-柱状图
- export function examBigViewDetailColumnar(data) {
- return request({
- url: '/exam/bigView/detail/columnar',
- method: 'post',
- data: data
- })
- }
- //首页-人员违规统计-列表
- export function examBigViewDetailSubList(data) {
- return request({
- url: '/exam/bigView/detail/subList',
- method: 'post',
- data: data
- })
- }
- //首页-安全检查-列表
- export function securityBigViewList(data) {
- return request({
- url: '/security/bigView/list',
- method: 'post',
- data: data
- })
- }
- //风险预警统计列表
- export function laboratoryBigViewCollegeEventStatisticsList(data) {
- return request({
- url: '/laboratory/bigView/collegeEventStatisticsList',
- method: 'post',
- data: data
- })
- }
- //风险预警统计列表
- export function laboratoryRiskDeviceTypeGetList(query) {
- return request({
- url: '/laboratory/riskDeviceType/getList',
- method: 'get',
- params: query
- })
- }
- //首页-安全检查-统计数量
- export function securityBigViewPlanStatistics(data) {
- return request({
- url: '/security/bigView/planStatistics',
- method: 'post',
- data: data
- })
- }
- //首页-人员违规统计-违规原因
- export function examViolationSiteGetListByType(query) {
- return request({
- url: '/exam/violationSite/getListByType',
- method: 'get',
- params: query
- })
- }
- //楼栋下楼层数据
- export function laboratoryBigViewGetFloorListByBigView(data) {
- return request({
- url: '/laboratory/bigView/getFloorListByBigView',
- method: 'post',
- data: data
- })
- }
- //校区-楼栋
- export function systemBuildingGetTreeList(data) {
- return request({
- url: '/system/building/getTreeList',
- method: 'post',
- data: data
- })
- }
- //应急处置-获取楼层-智能物联设备列表
- export function iotBigViewDeviceFindByType(data) {
- return request({
- url: '/iot/bigView/device/findByType',
- method: 'post',
- data: data
- })
- }
- //预警事件-列表
- export function systemWarningNoticeNoMenuList(data) {
- return request({
- url: '/system/warningNotice/noMenuList',
- method: 'post',
- data: data
- })
- }
- //预警事件-详情
- export function systemWarningNoticeDetail(query) {
- return request({
- url: '/system/warningNotice/detail',
- method: 'get',
- params: query
- })
- }
- //预警事件-视频回放地址查询
- export function iotCameraGetPlaybackURLs(query) {
- return request({
- url: '/iot/camera/getPlaybackURLs',
- method: 'get',
- params: query
- })
- }
- /*
- 应急处置-指定物联设备查询列表
- typeKey:'camera'//摄像头
- 楼层或实验室 floorId 楼层ID subjectId 实验室ID
- */
- export function iotBigViewDeviceList(data) {
- return request({
- url: '/iot/bigView/device/list',
- method: 'post',
- data: data
- })
- }
- //应急处置-查询实验室传感器列表
- export function iotBigViewDeviceFindBySubId(query) {
- return request({
- url: '/iot/bigView/device/findBySubId',
- method: 'get',
- params: query
- })
- }
- //执行记录-详情
- export function laboratoryEventFindByEventId(query) {
- return request({
- url: '/laboratory/event/findByEventId',
- method: 'get',
- params: query
- })
- }
- //实验室-详情
- export function laboratorySubRelInfoGetDetailInfo(query) {
- return request({
- url: '/laboratory/subRelInfo/getDetailInfo',
- method: 'get',
- params: query
- })
- }
- //应急处置-喇叭播放文本
- export function iotBigViewSpeakerPlayText(query) {
- return request({
- url: '/iot/bigView/speaker/playText',
- method: 'get',
- params: query
- })
- }
- //应急处置-结束预案
- export function laboratoryPlanCloseRiskPlan(query) {
- return request({
- url: '/laboratory/plan/closeRiskPlan',
- method: 'get',
- params: query
- })
- }
- /********************* 视频/应急 *********************/
- //校级-校区-楼栋-楼层-列表
- export function laboratoryLabDeptTreeGetTreeList (data) {
- return request({
- url: '/laboratory/labDeptTree/getTreeList',
- method: 'post',
- data: data
- })
- }
- export function laboratoryLabDeptTreeGetRoomList (data) {
- return request({
- url: '/laboratory/labDeptTree/getRoomList',
- method: 'post',
- data: data
- })
- }
- /*
- * 获取楼栋楼层实验室打卡在线记录
- * buildId-楼栋
- * floorId-楼层/楼道
- * subId-实验室
- */
- export function laboratorySubPassOutGetCountByBuildId (data) {
- return request({
- url: '/laboratory/subPassOut/getCountByBuildId',
- method: 'post',
- data: data
- })
- }
- //获取摄像头流地址
- export function iotCameraFindByCondition(data) {
- return request({
- url: '/iot/camera/findByCondition',
- method: 'post',
- data: data
- })
- }
- //根据设备ID获取摄像头流地址
- export function iotCameraGetPreviewURLs(query) {
- return request({
- url: '/iot/camera/getPreviewURLs',
- method: 'get',
- params: query
- })
- }
- //应急处置-获取楼层布局数据
- export function laboratoryBigViewGetFloorByBigView(query) {
- return request({
- url: '/laboratory/bigView/getFloorByBigView',
- method: 'get',
- params: query
- })
- }
- /*
- * 查询楼层-危险源数据
- * floorId-楼层
- */
- export function laboratoryBigViewHazardStatistics (query) {
- return request({
- url: '/laboratory/bigView/hazardStatistics',
- method: 'get',
- params: query
- })
- }
- //新楼栋-楼层树结构
- export function laboratoryLabDeptTreeLargeTree (data) {
- return request({
- url: '/laboratory/labDeptTree/large/tree',
- method: 'post',
- data: data
- })
- }
- //楼层下查询房间列表
- export function laboratoryLabDeptTreeLargeRooms (data) {
- return request({
- url: '/laboratory/labDeptTree/large/rooms',
- method: 'post',
- data: data
- })
- }
- //根据过滤条件获取摄像头流地址
- export function iotCameraLargeFindByCondition(data) {
- return request({
- url: '/iot/camera/large/findByCondition',
- method: 'post',
- data: data
- })
- }
|