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

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

export default {
  name: "DataImputationRecord",
  components: {DataImputationRecordDetail, DataImputationRecordHome},
  setup() {
    const {changeOperation,currentOpObj,operationType} = useClickRouterToHome()
    return {
      changeOperation,currentOpObj,operationType
    }
  }
}
</script>

<style scoped lang="scss">

</style>
