Web UI: Take off logic from generic table component
This commit is contained in:
parent
2d3fc613ec
commit
3f1484480e
13 changed files with 287 additions and 190 deletions
|
@ -10,11 +10,11 @@
|
|||
<div class="col-12">
|
||||
<main-table
|
||||
ref="mainTable"
|
||||
v-bind="getTableProps({ type: 'tcp-services' })"
|
||||
:data="allServices.items"
|
||||
:onLoadMore="handleLoadMore"
|
||||
:endReached="allServices.endReached"
|
||||
:loading="allServices.loading"
|
||||
type="tcp-services"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -26,12 +26,14 @@
|
|||
|
||||
<script>
|
||||
import { mapActions, mapGetters } from 'vuex'
|
||||
import GetTablePropsMixin from '../../_mixins/GetTableProps'
|
||||
import PageDefault from '../../components/_commons/PageDefault'
|
||||
import ToolBarTable from '../../components/_commons/ToolBarTable'
|
||||
import MainTable from '../../components/_commons/MainTable'
|
||||
|
||||
export default {
|
||||
name: 'PageTCPServices',
|
||||
mixins: [GetTablePropsMixin],
|
||||
components: {
|
||||
PageDefault,
|
||||
ToolBarTable,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue