Commit c4613614 by YG8999

网关状态查询条件

parent 7574f58d
......@@ -31,7 +31,7 @@
<el-form-item label="设备状态" prop="status">
<el-select v-model="queryParams.status" placeholder="请选择">
<el-option
v-for="dict in dict.type.device_status"
v-for="dict in statusOption"
:key="dict.value"
:label="dict.label"
:value="dict.value"
......@@ -364,7 +364,10 @@ export default {
group: [
{required: true, message: "分组不能为空", trigger: "blur"}
]
}
},
statusOption: [
{label: '在线', value: '1'}, {label: '离线', value: '0'}
]
};
},
created() {
......
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