|
@@ -102,7 +102,7 @@
|
|
|
<script>
|
|
|
import page from '@/components/pagination.vue';
|
|
|
import { mapState, createNamespacedHelpers } from 'vuex';
|
|
|
-const { mapActions: room } = createNamespacedHelpers('dock');
|
|
|
+const { mapActions: dock } = createNamespacedHelpers('dock');
|
|
|
export default {
|
|
|
name: 'liveList',
|
|
|
props: {},
|
|
@@ -115,9 +115,9 @@ export default {
|
|
|
this.search();
|
|
|
},
|
|
|
methods: {
|
|
|
- ...room(['query']),
|
|
|
+ ...dock(['query']),
|
|
|
async search({ skip = 0, limit = 10 } = { skip: 0, limit: 10 }) {
|
|
|
- let res = await this.query({ skip, limit, room_status: '1', live_status: '1' });
|
|
|
+ let res = await this.query({ skip, limit, status: '1' });
|
|
|
if (this.$checkRes(res)) {
|
|
|
this.$set(this, `liveList`, res.data);
|
|
|
this.$set(this, `total`, res.total);
|