Commit f1034c2e by hayden

设备管理-设备网关信息:新增筛选条件门店

parent ad2534cd
<template>
<div class="app-container">
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="100px">
<el-form-item label="所属门店" prop="storeId">
<el-select v-model="queryParams.storeId" placeholder="请选择所属门店" @change="onGetRoomListByStoreId" clearable>
<el-option
v-for="item in stores"
:key="item.id"
:label="item.name"
:value="item.id"
>
</el-option>
</el-select>
</el-form-item>
<el-form-item label="设备名称" prop="devName">
<el-input
v-model="queryParams.devName"
......@@ -297,6 +308,7 @@ export default {
components: {selectStore},
data() {
return {
stores: [],
// 遮罩层
loading: true,
// 选中数组
......@@ -326,7 +338,8 @@ export default {
devVer: null,
devType: null,
group: null,
status: null
status: null,
storeId: null
},
// 表单参数
form: {},
......@@ -360,7 +373,7 @@ export default {
methods: {
onGetAllStoreList(){
allList().then(res => {
this.options = res.data
this.stores = res.data
})
},
/** 查询设备网关信息列表 */
......
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