<template>
  <city-credit-information-platform-search-home @changeOperation="changeOperation" v-if="!operationType"  />
  <city-credit-information-platform-search-edit  :current-op-obj="currentOpObj" :operation-type="operationType" @changeOperation="changeOperation" v-else  />
</template>

<script>
import CityCreditInformationPlatformSearchHome
  from "@/views/main/c-views/credit-information/city-credit-information-plaform-search/CityCreditInformationPlatformSearchHome.vue";
import CityCreditInformationPlatformSearchEdit
  from "@/views/main/c-views/credit-information/city-credit-information-plaform-search/CityCreditInformationPlatformSearchEdit.vue";
import {useClickRouterToHome} from "@/units/use-method/usePagination";
export default {
  name: "CityCreditInformationPlatformSearch",
  components: {CityCreditInformationPlatformSearchEdit, CityCreditInformationPlatformSearchHome},
  setup(){
    const {changeOperation,operationType,currentOpObj} =useClickRouterToHome();
    return {
      changeOperation,operationType,currentOpObj
    }
  }
}
</script>

<style scoped>

</style>