Commit 80a5695d by 14796

选择分组

parent f63b9396
...@@ -355,8 +355,8 @@ export default { ...@@ -355,8 +355,8 @@ export default {
this.queryParams.pageNum = 1; this.queryParams.pageNum = 1;
this.getList(); this.getList();
}, },
selectGroup(name){ selectGroup(deviceGroup){
this.form.group = name; this.form.group = deviceGroup;
}, },
/** 重置按钮操作 */ /** 重置按钮操作 */
resetQuery() { resetQuery() {
......
...@@ -35,6 +35,7 @@ ...@@ -35,6 +35,7 @@
<dict-tag :options="dict.type.store_type" :value="scope.row.storeType"/> <dict-tag :options="dict.type.store_type" :value="scope.row.storeType"/>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="设备分组" align="center" prop="deviceGroup"/>
<el-table-column label="联系人" align="center" prop="manager"/> <el-table-column label="联系人" align="center" prop="manager"/>
<el-table-column label="联系人电话" align="center" prop="phone"/> <el-table-column label="联系人电话" align="center" prop="phone"/>
<el-table-column label="状态" align="center" prop="status"> <el-table-column label="状态" align="center" prop="status">
...@@ -117,7 +118,8 @@ export default { ...@@ -117,7 +118,8 @@ export default {
this.handleQuery(); this.handleQuery();
}, },
handleCurrentChange(val){ handleCurrentChange(val){
this.$emit('select',val.name); console.log(val);
this.$emit('select',val.deviceGroup);
this.visible = false; this.visible = false;
}, },
......
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