|
@@ -12,7 +12,7 @@
|
|
|
/>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="设备类型:" prop="dwtype">
|
|
|
- <el-select v-model="queryParams.dwtype" size="small" style="width: 160px" placeholder="请选择传输方式">
|
|
|
+ <el-select v-model="queryParams.dwtype" size="small" style="width: 160px" placeholder="请选择设备类型">
|
|
|
<el-option
|
|
|
v-for="item in dwtypeList"
|
|
|
:key="item.id"
|
|
@@ -44,24 +44,44 @@
|
|
|
<el-table-column label="通道名称" align="left" prop="passagewayName" show-overflow-tooltip />
|
|
|
<el-table-column label="设备类型" align="left" prop="dwtype" show-overflow-tooltip >
|
|
|
<template slot-scope="scope">
|
|
|
- <span>{{ scope.row.dwtype=="1" ? "用户传输装置": scope.row.dwtype=="2"?"喷淋水压" : scope.row.dwtype=="3" ? "独立烟感" :
|
|
|
- scope.row.dwtype=="4" ? "消火栓压力": scope.row.dwtype=="7" ? "电器火灾监控": scope.row.dwtype=="5" ?
|
|
|
- "消防水箱液位" : scope.row.dwtype=="6" ? "RTU": scope.row.dwtype=="16" ? "消防视频监控": ""}}</span>
|
|
|
+ <span>{{ scope.row.dwtype=="1" ? "用户信息传输装置": scope.row.dwtype=="2"?"喷淋水压" :
|
|
|
+ scope.row.dwtype=="4" ? "消火栓压力监测设备": scope.row.dwtype=="5" ?
|
|
|
+ "消防水箱液位监测设备" : scope.row.dwtype=="6" ? "RTU设备": scope.row.dwtype=="16" ? "消防视频监控": ""}}</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column label="通道类型" align="left" prop="passagewayType" show-overflow-tooltip >
|
|
|
<template slot-scope="scope">
|
|
|
<span>
|
|
|
- {{scope.row.dwtype=="1" && scope.row.passagewayType=="1" ?"待定义" :
|
|
|
+ {{
|
|
|
+ scope.row.dwtype=="1" && scope.row.passagewayType=="1" ?"设备状态" :
|
|
|
|
|
|
- scope.row.dwtype=="2" && scope.row.passagewayType=="1" ?"设备状态" : scope.row.dwtype=="2" && scope.row.passagewayType=="2" ?"剩余电量"
|
|
|
- : scope.row.dwtype=="2" && scope.row.passagewayType=="3" ?"无线信号" : scope.row.dwtype=="2" && scope.row.passagewayType=="4" ?"压力值" :
|
|
|
+ scope.row.dwtype=="2" && scope.row.passagewayType=="1" ?"电量" :
|
|
|
+ scope.row.dwtype=="2" && scope.row.passagewayType=="2" ?"信号" :
|
|
|
+ scope.row.dwtype=="2" && scope.row.passagewayType=="3" ?"水位/水压" :
|
|
|
+ scope.row.dwtype=="2" && scope.row.passagewayType=="4" ?"状态" :
|
|
|
|
|
|
- scope.row.dwtype=="5" && scope.row.passagewayType=="1" ?"状态状态" : scope.row.dwtype=="5" && scope.row.passagewayType=="2" ?"剩余电量" :
|
|
|
- scope.row.dwtype=="5" && scope.row.passagewayType=="3" ?"无线信号" : scope.row.dwtype=="5" && scope.row.passagewayType=="4" ?"液位值" :
|
|
|
+ scope.row.dwtype=="4" && scope.row.passagewayType=="1" ?"电量" :
|
|
|
+ scope.row.dwtype=="4" && scope.row.passagewayType=="2" ?"信号" :
|
|
|
+ scope.row.dwtype=="4" && scope.row.passagewayType=="3" ?"状态" :
|
|
|
+ scope.row.dwtype=="4" && scope.row.passagewayType=="4" ?"水压" :
|
|
|
+
|
|
|
+ scope.row.dwtype=="5" && scope.row.passagewayType=="1" ?"电量" :
|
|
|
+ scope.row.dwtype=="5" && scope.row.passagewayType=="2" ?"信号" :
|
|
|
+ scope.row.dwtype=="5" && scope.row.passagewayType=="3" ?"状态" :
|
|
|
+ scope.row.dwtype=="5" && scope.row.passagewayType=="4" ?"水位" :
|
|
|
+
|
|
|
+
|
|
|
+ scope.row.dwtype=="6" && scope.row.passagewayType=="1" ?"电源状态" :
|
|
|
+ scope.row.dwtype=="6" && scope.row.passagewayType=="2" ?"运行状态" :
|
|
|
+ scope.row.dwtype=="6" && scope.row.passagewayType=="3" ?"手自动状态" :
|
|
|
+ scope.row.dwtype=="6" && scope.row.passagewayType=="4" ?"故障" :
|
|
|
+ scope.row.dwtype=="6" && scope.row.passagewayType=="5" ?"水浸" :
|
|
|
+ scope.row.dwtype=="6" && scope.row.passagewayType=="6" ?"消防联动" :
|
|
|
+ scope.row.dwtype=="6" && scope.row.passagewayType=="7" ?"水压" :
|
|
|
+ scope.row.dwtype=="6" && scope.row.passagewayType=="8" ?"温度" :
|
|
|
+ scope.row.dwtype=="6" && scope.row.passagewayType=="9" ?"湿度" :
|
|
|
+ scope.row.dwtype=="6" && scope.row.passagewayType=="10" ?"液位" : ""
|
|
|
|
|
|
- scope.row.dwtype=="6" && scope.row.passagewayType=="1" ?"1~16待定" : scope.row.dwtype=="6" && scope.row.passagewayType=="2" ?"65~72待定" :
|
|
|
- scope.row.dwtype=="16" && scope.row.passagewayType=="1" ?"占到检测告警" : scope.row.dwtype=="16" && scope.row.passagewayType=="2" ?"火点检测告警" : ""
|
|
|
|
|
|
}}</span>
|
|
|
</template>
|
|
@@ -113,23 +133,34 @@
|
|
|
<el-row :gutter="20">
|
|
|
<el-col :span="12">
|
|
|
<el-form-item label="通道类型" prop="passagewayType">
|
|
|
- <el-select v-model="form.passagewayType" placeholder="请选择系统类型" @change="selectPassagewayType">
|
|
|
- <el-option v-if="form.dwtype == 1" value="1" label="待定" />
|
|
|
- <el-option v-if="form.dwtype == 2" value="1" label="设备状态" />
|
|
|
- <el-option v-if="form.dwtype == 2" value="2" label="剩余电量" />
|
|
|
- <el-option v-if="form.dwtype == 2" value="3" label="无线信号" />
|
|
|
- <el-option v-if="form.dwtype == 2" value="4" label="压力值" />
|
|
|
+ <el-select v-model="form.passagewayType" placeholder="请选择通道类型" @change="selectPassagewayType">
|
|
|
+ <el-option v-if="form.dwtype == 1" value="1" label="设备状态" />
|
|
|
+
|
|
|
+ <el-option v-if="form.dwtype == 2" value="1" label="电量" />
|
|
|
+ <el-option v-if="form.dwtype == 2" value="2" label="信号" />
|
|
|
+ <el-option v-if="form.dwtype == 2" value="3" label="水位/水压" />
|
|
|
+ <el-option v-if="form.dwtype == 2" value="4" label="状态" />
|
|
|
|
|
|
- <el-option v-if="form.dwtype == 5" value="1" label="设备状态" />
|
|
|
- <el-option v-if="form.dwtype == 5" value="2" label="剩余电量" />
|
|
|
- <el-option v-if="form.dwtype == 5" value="3" label="无线信号" />
|
|
|
- <el-option v-if="form.dwtype == 5" value="4" label="液位值" />
|
|
|
+ <el-option v-if="form.dwtype == 4" value="1" label="电量" />
|
|
|
+ <el-option v-if="form.dwtype == 4" value="2" label="信号" />
|
|
|
+ <el-option v-if="form.dwtype == 4" value="3" label="状态" />
|
|
|
+ <el-option v-if="form.dwtype == 4" value="4" label="水压" />
|
|
|
|
|
|
- <el-option v-if="form.dwtype == 6" value="1" label="1~16待定" />
|
|
|
- <el-option v-if="form.dwtype == 6" value="2" label="65~72待定" />
|
|
|
+ <el-option v-if="form.dwtype == 5" value="1" label="电量" />
|
|
|
+ <el-option v-if="form.dwtype == 5" value="2" label="信号" />
|
|
|
+ <el-option v-if="form.dwtype == 5" value="3" label="状态" />
|
|
|
+ <el-option v-if="form.dwtype == 5" value="4" label="水位" />
|
|
|
|
|
|
- <el-option v-if="form.dwtype == 16" value="1" label="占到检测告警" />
|
|
|
- <el-option v-if="form.dwtype == 16" value="2" label="火点检测告警" />
|
|
|
+ <el-option v-if="form.dwtype == 6" value="1" label="电源状态" />
|
|
|
+ <el-option v-if="form.dwtype == 6" value="2" label="运行状态" />
|
|
|
+ <el-option v-if="form.dwtype == 6" value="3" label="手自动状态" />
|
|
|
+ <el-option v-if="form.dwtype == 6" value="4" label="故障" />
|
|
|
+ <el-option v-if="form.dwtype == 6" value="5" label="水浸" />
|
|
|
+ <el-option v-if="form.dwtype == 6" value="6" label="消防联动" />
|
|
|
+ <el-option v-if="form.dwtype == 6" value="7" label="水压" />
|
|
|
+ <el-option v-if="form.dwtype == 6" value="8" label="温度" />
|
|
|
+ <el-option v-if="form.dwtype == 6" value="9" label="湿度" />
|
|
|
+ <el-option v-if="form.dwtype == 6" value="10" label="液位" />
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
@@ -224,25 +255,6 @@ export default {
|
|
|
selectProvince: {},
|
|
|
selectCity: {},
|
|
|
selectArea: {},
|
|
|
- transferTypeList:[
|
|
|
- {id:1,name:"NB-IOT",},
|
|
|
- {id:2,name:"Lord-IOT",},
|
|
|
- {id:3,name:"2G/4G/5G",},
|
|
|
- ],
|
|
|
- // dwtypeList:[
|
|
|
- // {id:1,name:"火系统",},
|
|
|
- // {id:2,name:"水系统",},
|
|
|
- // {id:3,name:"烟感系统",},
|
|
|
- // {id:4,name:"消防栓",},
|
|
|
- // {id:5,name:"液位",},
|
|
|
- // {id:6,name:"rtu",},
|
|
|
- // {id:7,name:"电气火灾",},
|
|
|
- // {id:8,name:"防火门",},
|
|
|
- // {id:9,name:"气体灭火",},
|
|
|
- // {id:10,name:"人脸识别",},
|
|
|
- // {id:16,name:"视频监控",},
|
|
|
- // {id:128,name:"井盖",},
|
|
|
- // ],
|
|
|
dwtypeList:[],
|
|
|
companyList:[],
|
|
|
passagewayTypeList:undefined,
|