Commit 4c5130ff authored by “yiyousong”'s avatar “yiyousong”

perf: 优化设备列表展示

parent e428863c
......@@ -105,6 +105,8 @@
label="联系电话"
>
</el-table-column>
<el-table-column align="center" prop="belong" label="所属机构">
</el-table-column>
<el-table-column align="center" label="状态">
<template slot-scope="scope">
<el-tag
......@@ -247,6 +249,8 @@ export default {
obj.deviceMac = `%${this.searchVal}%`;
} else if (this.type == 3) {
obj.ip = `%${this.searchVal}%`;
} else if (this.type == 4) {
obj.belong = `%${this.searchVal}%`;
}
let res = await getDeviceList(obj);
......
......@@ -141,9 +141,9 @@
></el-input-number> </el-form-item
></el-col>
<el-col :span="12"
><el-form-item label="所属机构" prop="institution">
><el-form-item label="所属机构" prop="belong">
<el-input
v-model="form.institution"
v-model="form.belong"
placeholder="请输入所属机构"
></el-input> </el-form-item
></el-col>
......@@ -220,7 +220,7 @@ export default {
// enabled: "", // 启用状态 (0.停止,1.启用)
deviceInBuilding: "", // 所在楼宇
deviceInFloor: "", // 所在楼层
institution: "",
belong: "", // 所属机构
resolution: "", // 分辨率
},
rules: {
......
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