Commit abc222dd authored by 耿迪迪's avatar 耿迪迪

设备管理问题修改 gengdidi

parent 2fac5e5c
......@@ -5,8 +5,8 @@
<el-form :inline="true" :model="searchData">
<el-form-item label="">
<el-select v-model="searchData.dataType" placeholder="请选择设备类型">
<el-option label="监控设备" value="5"></el-option>
<el-option label="传感器" value="6"></el-option>
<el-option label="监控设备" value="1"></el-option>
<el-option label="传感器" value="2"></el-option>
</el-select>
</el-form-item>
<el-form-item label="">
......@@ -41,7 +41,7 @@
<el-table-column prop="deviceName" label="设备名称"></el-table-column>
<el-table-column prop="deviceName" label="设备类型">
<template slot-scope="scope">
<font>{{ scope.row.dataType == 5 ? '监控设备' : '传感器'}}</font>
<font>{{ scope.row.dataType == 1 ? '监控设备' : '传感器'}}</font>
</template>
</el-table-column>
<el-table-column prop="deviceIp" label="设备IP"></el-table-column>
......
......@@ -19,8 +19,8 @@
</el-form-item>
<el-form-item label="设备类型" prop="dataType">
<el-select v-model="editForm.dataType">
<el-option label="监控设备" value="5"></el-option>
<el-option label="传感器" value="6"></el-option>
<el-option label="监控设备" value="1"></el-option>
<el-option label="传感器" value="2"></el-option>
</el-select>
</el-form-item>
<el-form-item label="设备名称" prop="deviceName">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment