<template>
    <basic-container>
        <el-tabs v-model="activeName" @tab-click="handleClick">
            <el-tab-pane label="报警点配置" name="1"></el-tab-pane>
            <el-tab-pane label="报警记录" name="2"></el-tab-pane>
        </el-tabs>
        <!-- 报警点位 -->
        <alarmPoint v-if="activeName=='1'"></alarmPoint>
        <!-- 报警记录 -->
        <alarmRecord v-if="activeName=='2'"></alarmRecord>
    </basic-container>
</template>
<script>
import alarmRecord from './components/alarmRecord.vue'
import alarmPoint from './components/alarmPoint.vue'
export default {
    components:{
        alarmRecord,
        alarmPoint
    },
    data() {
        return {
            activeName: '1'
        }
    },
    methods:{

    }
}
</script>