<template>
  <commission-credit-information-manage-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 CommissionCreditInformationManageHome
  from "@/views/main/c-views/credit-information/commission-credit-information-manage/CommissionCreditInformationManageHome.vue";
import CommissionCreditInformationManageEdit
  from "@/views/main/c-views/credit-information/commission-credit-information-manage/CommissionCreditInformationManageEdit.vue";

import {useClickRouterToHome} from "@/units/use-method/usePagination";
export default {
  name: "CommissionCreditInformationManage",
  components: {CommissionCreditInformationManageEdit, CommissionCreditInformationManageHome},
  setup(){
    const {changeOperation,operationType,currentOpObj} =useClickRouterToHome();
    return {
      changeOperation,operationType,currentOpObj
    }
  }
}
</script>

<style scoped>

</style>