<template>
 <keep-alive include="AppArrangeHome">
   <app-arrange-home @changeOperation="changeOperation" v-if="!operationType"/>
   <app-arrange-detail :operation-type="operationType" :current-op-obj="currentOpObj" @changeOperation="changeOperation" v-else/>
 </keep-alive>
</template>

<script>
import {useClickRouterToHome} from "@/unit/use-method/usePagination";
import AppArrangeHome from "@/view/other/c-views/process-watch/app-arramge/AppArrangeHome.vue";
import AppArrangeDetail from "@/view/other/c-views/process-watch/app-arramge/AppArrangeDetail.vue";

export default {
  name: "AppArrange",
  components: {AppArrangeDetail, AppArrangeHome},
  setup() {


    const {currentOpObj,changeOperation,operationType} = useClickRouterToHome()
    return {
      currentOpObj,changeOperation,operationType
    }
  }
}
</script>

<style scoped lang="scss">

</style>
