Commit 80a5695d by 14796

选择分组

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