|
@@ -0,0 +1,42 @@
|
|
|
+<template>
|
|
|
+ <a-card :bordered="false">
|
|
|
+ <a-tabs type="card" @change="callback">
|
|
|
+ <a-tab-pane key="historyData" tab="历史数据">
|
|
|
+ Content of Tab Pane 1
|
|
|
+ <interlock-historyList></interlock-historyList>
|
|
|
+ </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 InterlockHistoryList from './InterlockHistoryList.vue';
|
|
|
+import InterlockTimedReport from './InterlockTimedReport.vue';
|
|
|
+export default {
|
|
|
+ name: '',
|
|
|
+ components: {
|
|
|
+ InterlockHistoryList,
|
|
|
+ InterlockTimedReport,
|
|
|
+ },
|
|
|
+ data () {
|
|
|
+ return {
|
|
|
+ }
|
|
|
+ },
|
|
|
+ created () {
|
|
|
+ },
|
|
|
+ mounted () {
|
|
|
+ },
|
|
|
+ methods: {
|
|
|
+ callback(key){
|
|
|
+ console.log(key);
|
|
|
+ },
|
|
|
+ }
|
|
|
+}
|
|
|
+</script>
|
|
|
+
|
|
|
+<style lang="less" scoped>
|
|
|
+</style>
|