123456789101112131415161718192021222324252627282930313233343536373839404142 |
- <template>
- <a-card :bordered="false">
- <a-tabs type="card" @change="callback">
- <a-tab-pane key="historyData" tab="历史数据">
- <interlock-history-index></interlock-history-index>
- </a-tab-pane>
- <a-tab-pane key="timedReport" tab="定时报表">
- Content of Tab Pane 2
- <interlock-timedReport></interlock-timedReport>
- </a-tab-pane>
- </a-tabs>
- </a-card>
- </template>
- <script>
- import InterlockHistoryIndex from './InterlockHistoryIndex.vue';
- import InterlockTimedReport from './InterlockTimedReport.vue';
- export default {
- name: '',
- components: {
- InterlockTimedReport,
- InterlockHistoryIndex,
- },
- data () {
- return {
- }
- },
- created () {
- },
- mounted () {
- },
- methods: {
- callback(key){
- console.log(key);
- },
- }
- }
- </script>
- <style lang="less" scoped>
- </style>
|