<template>
  <div class="task-container">
    <el-tabs v-model="activeName" @tab-click="handleClick">
      <el-tab-pane label="手动巡检" name="ManualInspection">
        <manual-inspection></manual-inspection>
      </el-tab-pane>
      <el-tab-pane label="自动巡检" name="second">
        <AutoInspection></AutoInspection>
      </el-tab-pane>
    </el-tabs>
  </div>
</template>

<script>
import AutoInspection from '@/views/task/AutoInspection.vue';
import ManualInspection from '@/views/task/ManualInspection.vue';

export default {
  components: {
    ManualInspection,
    AutoInspection,
  },
  name: 'task',
  data() {
    return {
      activeName: 'ManualInspection',
    };
  },
  created() {
  },
  methods: {
    handleClick() {},
  },
};
</script>
<style src="./index.scss" lang="scss"></style>
