12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- <template>
- <div class="tabsReportList-wrap">
- <div style="background-color: #fff;margin-bottom: 5px;">
- <a-tabs default-active-key="1" v-model="curTab">
- <a-tab-pane key="1" tab="VIN扫描记录"></a-tab-pane>
- <a-tab-pane key="2" tab="适配产品统计"></a-tab-pane>
- </a-tabs>
- </div>
- <a-card size="small" :bordered="false">
- <vinList v-show="curTab==1"></vinList>
- <spList v-show="curTab==2"></spList>
- </a-card>
- </div>
- </template>
- <script>
- import vinList from './vinList.vue'
- import spList from './spList.vue'
- export default {
- name: 'SalesReportIndex',
- components: {
- vinList,
- spList
- },
- data () {
- return {
- curTab: '1'
- }
- }
- }
- </script>
- <style lang="less">
- .tabsReportList-wrap{
- display: flex;
- flex-direction: column;
- height: 100%;
- .ant-tabs-bar{
- margin: 0;
- }
- .ant-card{
- flex-grow: 1;
- overflow: auto;
- }
- }
- </style>
|