<template>
  <task-detail :id="$route.query.id" :process-instance-id="$route.query.insId" @reload="reload" />
</template>

<script>
// import TaskDetail from '@/business-components/tabCom/task-detail'
import TaskDetail from '../../../../business-components/tabCom/task-detail'

export default {
  name: 'TaskDetails',
  components: { TaskDetail },
  props: {},
  data() {
    return {}
  },
  watch: {
  },
  created() {
  },
  mounted: function() {
    this.$nextTick(function() {
    })
  },
  methods: {
    reload() {
      this.$store.dispatch('tagsView/delView', this.$route)
      this.$router.push({
        path: '/task-center/index'
      })
    }
  }
}
</script>

<style lang="scss">

</style>