<template>
  <data-log-home @changeOperation="changeOperation" v-if="!operationType"  />
  <commission-credit-information-manage-edit  :current-op-obj="currentOpObj" :operation-type="operationType" @changeOperation="changeOperation" v-else  />
</template>

<script>
import DataLogHome from "@/views/main/c-views/credit-data/data-log/DataLogHome.vue";
import {useClickRouterToHome} from "@/units/use-method/usePagination";
import CommissionCreditInformationManageEdit
  from "@/views/main/c-views/credit-information/commission-credit-information-manage/CommissionCreditInformationManageEdit.vue";
export default {
  name: "DataLog",
  components: {CommissionCreditInformationManageEdit, DataLogHome},
  setup(){
    const {changeOperation,operationType,currentOpObj} =useClickRouterToHome();
    return {
      changeOperation,operationType,currentOpObj
    }
  }
}
</script>

<style scoped>

</style>