|
|
@ -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', |
|
|
|