Browse Source

球机控制弹窗,筛选设备条件修改,设备分析-机柜

develop
wangsixiang 4 months ago
parent
commit
c160258739
  1. 7
      ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/HomeDevice/Camera.vue
  2. 34
      ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/HomeDevice/device.vue
  3. 5
      ruoyi-ui/src/views/JiHeExpressway/pages/maintenanceOperations/smart/statisticalAnalysis/query/data.js

7
ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/HomeDevice/Camera.vue

@ -1,6 +1,6 @@
<template>
<Dialog v-model="visibleModel" :title="dialogData.deviceName" @update:close="visibleClose"
width="450px" style="z-index:3000">
width="450px" >
<div class="Camera">
<Video class="video-stream" :camId="dialogData.iotDeviceId" :img="AENUM[dialogData.childType]" />
<ElTabs v-model="activeName" class="tabs">
@ -11,10 +11,7 @@
<img
@click="controlDialogVisible = true"
v-if="check(['business:home:camera']) &&
[0, '0'].includes(
dialogData.parseOtherConfig &&
dialogData.parseOtherConfig.ptzCtrl
)
(dialogData.childType=='1-2'||dialogData.childType=='1-3')
"
src="@screen/images/camera-control-icon.svg"
width="18px"

34
ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/HomeDevice/device.vue

@ -10,7 +10,11 @@
placeholder="请选择设备类型"
>
<el-option
v-for="item in [{label:'摄像机',value:1},{label:'情报板',value:2},{label:'语音广播',value:5},
v-for="item in [{label:'高清网络枪型固定摄像机',value:20},{label:'高清网络球形摄像机',value:21},
{label:'桥下高清网络球形摄像机',value:22},{label:'360°全景相机',value:23},{label:'180°全景相机',value:24},
{label:'门架式可变信息标志',value:25},{label:'站前可变信息标志',value:26},{label:'雨棚可变信息标志',value:27},
{label:'站前悬臂式可变信息标志',value:28},
{label:'语音广播',value:5},
{label:'护栏碰撞',value:6},{label:'毫米波雷达',value:7},
{label:'合流区预警',value:8},{label:'激光疲劳唤醒',value:10},{label:'一类交调站',value:11},
{label:'行车诱导',value:12},
@ -375,6 +379,34 @@ import { log } from 'mathjs';
if (params.deviceName === '') {
delete params.deviceName
}
if(params.deviceType==20){
params.deviceType=1;
params.childType='1-1'
}else if(params.deviceType==21){
params.deviceType=1;
params.childType='1-2'
}else if(params.deviceType==22){
params.deviceType=1;
params.childType='1-3'
}else if(params.deviceType==23){
params.deviceType=1;
params.childType='1-4'
}else if(params.deviceType==24){
params.deviceType=1;
params.childType='1-5'
}else if(params.deviceType==25){
params.deviceType=2;
params.childType='2-1'
}else if(params.deviceType==26){
params.deviceType=2;
params.childType='2-2'
}else if(params.deviceType==27){
params.deviceType=2;
params.childType='2-3'
}else if(params.deviceType==28){
params.deviceType=2;
params.childType='2-4'
}
request({
url: 'business/device/list',

5
ruoyi-ui/src/views/JiHeExpressway/pages/maintenanceOperations/smart/statisticalAnalysis/query/data.js

@ -101,6 +101,11 @@ export const deviceType = [
label: "远端机",
color: "#0040a6",
},
{
value: "17",
label: "一体机柜",
color: "#f2f2f2",
},
]
export const tabMap = {
AlarmEvents: {

Loading…
Cancel
Save