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

<script>
import QualityCheckRecordHome
  from "@/view/other/c-views/data-handle/data-quelity-check/quality-check-record/QualityCheckRecordHome.vue";
import QualityCheckRecordDetail
  from "@/view/other/c-views/data-handle/data-quelity-check/quality-check-record/QualityCheckRecordDetail.vue";
import {useClickRouterToHome} from "@/unit/use-method/usePagination";

export default {
  name: "QualityCheckRecord",
  components: {QualityCheckRecordDetail, QualityCheckRecordHome},
  setup(){
    const {currentOpObj,changeOperation,operationType} = useClickRouterToHome()
    return {
      currentOpObj,changeOperation,operationType
    }
  }
}
</script>

<style scoped lang="scss">

</style>
