<template>
 <keep-alive include="DataImputationTaskHome">
   <data-imputation-task-home v-if="!operationType" @changeOperation="changeOperation"/>
   <data-imputation-task-detail  :current-op-obj="currentOpObj" :operation-type="operationType" v-else @changeOperation="changeOperation"/>
 </keep-alive>
</template>

<script>
import DataImputationTaskHome
  from "@/view/other/c-views/data-handle/data-imputation/data-imputation-task/DataImputationTaskHome.vue";
import DataImputationTaskDetail
  from "@/view/other/c-views/data-handle/data-imputation/data-imputation-task/DataImputationTaskDetail.vue";
import {useClickRouterToHome} from "@/unit/use-method/usePagination";

export default {
  name: "DataImputationTask",
  components: {DataImputationTaskDetail, DataImputationTaskHome},
  setup() {
    const {currentOpObj,operationType,changeOperation} = useClickRouterToHome()
    return {
      currentOpObj,operationType,changeOperation
    }
  }
}
</script>

<style scoped lang="scss">

</style>
