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.
307 lines
8.3 KiB
307 lines
8.3 KiB
window.Timer = { |
|
|
|
alarm: (60 + 1) * 1000, // 警情总数及比较 伤亡人数 大队统计 警情来源分析 警情分类统计 警情列表 稽查布控统计 61 |
|
equipInfo: (60 + 9) * 1000, // 设备完好率 69 |
|
ddm: (60 + 17) * 1000, // 在岗警员数 大队勤务统计 异常警员列表 异常人员统计 77 |
|
|
|
security: (3 * 60) * 1000, // 特勤任务 180 |
|
|
|
publicity: (5 * 60 + 1) * 1000, //宣传服务 301 |
|
early_warning: (5 * 60 + 7) * 1000, //重点提示 307 |
|
|
|
// monitor: 60 * 10 * 1000, // 态势监控 600 |
|
monitor: 60 * 1000, // 态势监控 60 |
|
alarm1: 900 * 1000, // 违法总数 警情高发24小时统计 违法饼图 900 |
|
|
|
equipInfo1: 60 * 60 * 12 * 1000, // 设备在线率 12小时 |
|
ddm1: 60 * 60 * 4 * 1000, // 计划警员数,岗位类型统计, 岗位等级统计 4小时 |
|
} |
|
|
|
// 警力图层刷新间隔 |
|
window.Police_Times = { |
|
maplayer: 60 * 1000, // 实时警力图层刷新间隔 |
|
alarm: 60 * 1000, // 警情警力刷新间隔 |
|
ddm: 60 * 1000, //勤务警力刷新间隔 |
|
} |
|
|
|
// 全局动画刷新间隔 |
|
window.AnimationTimer = { |
|
number: 30 * 1000, // 数字类型 |
|
echarts: 15 * 1000, // 图表 |
|
} |
|
|
|
|
|
// 全局模拟数据 |
|
// 配置为 null 为使用真实数据 |
|
window.Mock = { |
|
onlinePolices: null, // 在岗执勤 |
|
planPolices: null, // 计划投放 |
|
postLevel1: 13, // 一级岗位数据 |
|
postLevel2: 32, // 二级岗位数据 |
|
postLevel3: 103, // 三级岗位数据 |
|
ligang: 0, // 离岗数量 |
|
zaotui: 0, // 早退数量 |
|
chidao: 0, // 迟到数量 |
|
ligangList: null, // 离岗明细 |
|
zaotuiList: [], // 早退明细 |
|
chidaoList: [], // 迟到明细 |
|
inCityNum: { // 进城数 |
|
cheng: 14, |
|
shi: 117, |
|
sheng: 17, |
|
jing: 13 |
|
}, |
|
outCityNum: { |
|
cheng: 14, |
|
shi: 117, |
|
sheng: 17, |
|
jing: 13 |
|
}, |
|
vms_picture: { |
|
deviceid: '130600000000101017', |
|
path: "http://20.120.23.3:4422/vmstemp/vmsmock.jpg", |
|
}, |
|
securityNum1: 0, // 特勤任务待执行 |
|
securityNum2: 0, // 特勤任务总数量 |
|
securityNum3: 0, // 特勤任务警力投放 |
|
} |
|
|
|
// 特勤任务回放基础路径 %5C === \ |
|
|
|
window.SecurityVideo = { |
|
basePath: "D:\\hrvvideo\\", //基础路径 |
|
mediaType: '.mp4', //视频类型 |
|
netWorkUrl: 'http://20.120.23.3:4422/hrvvideo/' |
|
} |
|
|
|
window.PoliceMonthDDM = { |
|
onLineTimeLimit: 5 * 60 * 60, // 在线阈值 单位 秒 |
|
gpsInterval: 5, // gps上传间隔周期 单位 秒 |
|
} |
|
|
|
window.Color = { |
|
brigadeAreaLine: '#ff5722' // 大队辖区描边颜色 |
|
} |
|
|
|
window.PoliceImgUrl = 'http://20.120.23.3:4422/policeimg/' //警员图片根路径 |
|
|
|
window.TQDPCODE = '130601000000' // 铁骑大队部门编号 |
|
window.TQDPCODE1 = '130601005101' // 铁骑一大队部门编号 |
|
window.TQDPCODE2 = '130601005102' // 铁骑二大队部门编号 |
|
|
|
window.areaLevel = 15 // 地图层级 >= 该值时隐藏县区信息 |
|
|
|
window.caseOverTime = 0 // 已接警超时未处理阈值 单位 分钟 |
|
|
|
//组件权限配置项 2:支队账户组件 3: 支队账户、大队账户组件 |
|
|
|
window.componentsForUser = { |
|
'baodingmaplayer': '3',//图层 |
|
'earlywarning': '2', //预警提醒 |
|
'security': '2', // 特勤任务 |
|
'bd-ddm': '3', // 勤务态势 |
|
'areaSwitch': '2', // 区域切换 |
|
'bd-monitor': '2', //态势运行 |
|
"alarmsituation": '3', //警情动态 |
|
'equipInfo': '2', // 设备运维 |
|
'publicity': '2', // 宣传服务 |
|
'common-map': '3', // 地图 |
|
'mapTool': '3', // 地图工具 |
|
'bd-monitor1': '2', // 态势运行只显示拥堵 |
|
'bd-monitor2': '2', // 态势运行不显示拥堵,只显示综合态势和进出城 |
|
} |
|
|
|
window.orderPoliceTimer = 1 // 已派警警员刷新间隔 单位 秒 |
|
|
|
window.brigadeTheme = 'theme_for_brigade' // 大队主题名称 非特殊情况不要修改 |
|
|
|
//图层权限配置项 2:支队账户图层 3: 支队账户、大队账户图层 |
|
|
|
window.layerForUser = { |
|
'sectionstatus_layer': '3', // 实时路况 |
|
'policeonline_layer': '3', // 实时警力 |
|
'policecase_layer': '3', // 实时警情 |
|
'utc_layer': '2', // 信号 |
|
'vms_layer': '2', // 诱导 |
|
'video_layer': '3', // 视频 |
|
"inoutcity_layer": '2', // 进出城点位 |
|
'focuspoint_layer': '2', // 易汇聚区 |
|
'waterpoint_layer': '2', // 积水点 |
|
'digroad_layer': '2', // 占路施工 |
|
'brigadearea_layer': '2', // 大队辖区 |
|
'focusarea_layer': '2', // 执法站点 |
|
} |
|
|
|
window.digroadUrl = 'http://10.18.221.138:1936/HiatmpPro/index.html#/digroad' //占路施工地址 |
|
|
|
window.illegalContent = '有效' + '\xa0\xa0\xa0' + '无效' // 违法审核描述 |
|
|
|
// 弹出视频大小 |
|
window.videoSize = { |
|
// 宣传服务 |
|
publicity: { |
|
width: 1200, |
|
height: 675 |
|
}, |
|
// 违法审核 |
|
illegal: { |
|
width: 1200, |
|
height: 675 |
|
}, |
|
// 安保任务回放 |
|
task: { |
|
width: 1600, |
|
height: 900 |
|
}, |
|
//采血车视频播放 |
|
local:{ |
|
width:1200, |
|
height:675 |
|
} |
|
} |
|
|
|
window.cityCarNumA = null // 主城区冀A数量 为null时展示真实数据 |
|
window.cityCarNumE = null // 主城区冀E数量 为null时展示真实数据 |
|
window.cityCarColor = '#ff0000' // 数字颜色 |
|
window.cityCarBlank = '15px' // A E 之间距离 |
|
|
|
|
|
window.localVideo = true |
|
window.poiURL = 'http://api.jiaotong.baidu.com/dugis/search' |
|
window.poiFlag = '1' // poi请求方式 1为java请求 0为js请求 |
|
|
|
window.cubeIcon = false // 拥堵图标 true为方形 false 圆形 |
|
|
|
|
|
window.temperature = 30 //默认温度,后台接口没有返回温度参数时显示默认温度 |
|
window.linkName = '工程运输车辆综合治理系统' //跳转系统名称 |
|
window.longitude = '120.38464' //采血车视频点位 经度 |
|
window.latitude = '36.18593' //采血车视频点位 纬度 |
|
window.filePath = 'D:\\hrvvideo\\illegal.mp4' //采血车视频点位 播放路径 路径中含有 \ 时,将 \ 替换为 \\ , 否则不解析!!! |
|
window.videoTitle = '自定义' //自定义弹出窗口标题 |
|
|
|
|
|
// by zhl 20211215 start |
|
// 百度拥堵一定时间后过滤,暂定5分钟 |
|
window.bdTimeRange=5 |
|
// 是否获取客户端时间(用于开发,现场需要获取服务器时间,需要改为false) |
|
window.isClientDate=true |
|
// by zhl 百度拥堵一定时间后过滤,暂定5分钟 20211215 end |
|
// 是否开启地图图层动画效果 |
|
window.isMapAnimate = true; |
|
|
|
//今日在途车辆数值 |
|
window.todayOnCarNum = 0; |
|
|
|
//有效警情类型 |
|
window.optionValue = [ |
|
{value:'1',name:'车流量大'}, |
|
{value:'2',name:'交通事故'}, |
|
{value:'3',name:'信号灯故障'}, |
|
{value:'4',name:'设施障碍'}, |
|
{value:'5',name:'商业活动'}, |
|
{value:'6',name:'学校医院'}, |
|
] |
|
/** |
|
* 2023年2月2日演示支持 |
|
* 配置为 null 时使用后台数据 |
|
*/ |
|
window.yanshiData = [ |
|
{ |
|
"rank": "1", |
|
"province": "京", |
|
"percent": "22%", |
|
"total": "5662" |
|
}, |
|
{ |
|
"rank": "2", |
|
"province": "石家庄", |
|
"percent": "0.38%", |
|
"total": "1948" |
|
}, |
|
{ |
|
"rank": "3", |
|
"province": "冀A", |
|
"percent": "6%", |
|
"total": "1508" |
|
}, |
|
{ |
|
"rank": "4", |
|
"province": "鲁", |
|
"percent": "0.85%", |
|
"total": "3087904" |
|
}, |
|
{ |
|
"rank": "5", |
|
"province": "豫", |
|
"percent": "4%", |
|
"total": "1048" |
|
}, |
|
{ |
|
"rank": "6", |
|
"province": "晋", |
|
"percent": "4%", |
|
"total": "904" |
|
}, |
|
{ |
|
"rank": "7", |
|
"province": "冀J", |
|
"percent": "3%", |
|
"total": "680" |
|
}, |
|
{ |
|
"rank": "8", |
|
"province": "辽", |
|
"percent": "2%", |
|
"total": "610" |
|
}, |
|
{ |
|
"rank": "9", |
|
"province": "蒙", |
|
"percent": "0.82%", |
|
"total": "590" |
|
}, |
|
{ |
|
"rank": "10", |
|
"province": "冀B", |
|
"percent": "0.82%", |
|
"total": "492" |
|
}, |
|
{ |
|
"rank": "11", |
|
"province": "冀R", |
|
"percent": "2%", |
|
"total": "478" |
|
}, |
|
{ |
|
"rank": "12", |
|
"province": "其他", |
|
"percent": "40%", |
|
"total": "10126" |
|
} |
|
] |
|
//今日外地在途车饼状图颜色 |
|
window.color=[ |
|
'#37ffe5', |
|
'#86c4f1', |
|
'#e8ab7c', |
|
'#0d84ff', |
|
'#f18972', |
|
'#38faa1', |
|
'#0746c1', |
|
'#fecf63', |
|
'#fa9604', |
|
'#188d8e', |
|
'#31a0cf', |
|
'#c2ec6e', |
|
] |
|
//今日外地在途车饼图不展示地区 |
|
window.delayArr = [ |
|
'京','津' |
|
] |
|
|
|
// redisServer的IP端口 |
|
window.redisServerUrl = 'http://10.18.221.138:9999'; |
|
|
|
// 需要切换时隐藏警情指挥和勤务态势、特勤任务这三个栏目的主题 主题为hdview_theme表中的themeid |
|
window.hideThemeArr = ['cf09d2df0b344963adf683b06a41de57']; |