<template>
  <div>
    <list v-show="activeName=='list'" ref="list" />
    <addfrom v-if="activeName=='addfrom'"/>
  </div>
</template>
<script>
import list from './components/list.vue'
import addfrom from './components/addfrom.vue'
export default {
  components: { list, addfrom },
  data() {
    return {
      activeName: 'list',
      CASE_ID: ''
    }
  },
  methods: {

    huidiao() {
      this.$refs.list.getList()
    }

  }
}
</script>
