|
@@ -51,7 +51,7 @@ export default {
|
|
|
},
|
|
|
],
|
|
|
fields: [
|
|
|
- { label: '房间名称', prop: 'name' },
|
|
|
+ { label: '房间名称', prop: 'name', filter: 'index' },
|
|
|
{ label: '房间类型', prop: 'type', format: i => (i == '0' ? '直播' : i == '1' ? '会议' : '临时用户') },
|
|
|
{
|
|
|
label: '主播',
|
|
@@ -71,7 +71,9 @@ export default {
|
|
|
...room(['query', 'delete', 'update', 'fetch']),
|
|
|
...roomuser({ roomuserquery: 'query' }),
|
|
|
async search({ skip = 0, limit = 10, ...info } = {}) {
|
|
|
- let res = await this.query();
|
|
|
+ console.log();
|
|
|
+
|
|
|
+ let res = await this.query({ skip, limit, ...info });
|
|
|
console.log(res.data);
|
|
|
this.$set(this, `list`, res.data);
|
|
|
this.$set(this, `total`, res.total);
|