<template>
  <div>
    <template v-if="dialogType==1">
      <assessment v-if="sidebarId== 'assessment'" :contentDatas="contentDatas"></assessment>
      <basics v-if="sidebarId== 'basics'" :contentDatas="contentDatas"></basics>
      <license v-if="sidebarId== 'license'" :contentDatas="contentDatas"></license>
      <IDCard v-if="sidebarId== 'IDCard'" :contentDatas="contentDatas"></IDCard>
      <application v-if="sidebarId== 'application'" :contentDatas="contentDatas"></application>
      <assets v-if="sidebarId== 'assets'" :contentDatas="contentDatas"></assets>
      <certificate v-if="sidebarId== 'certificate'" :contentDatas="contentDatas"></certificate>
      <bankProve v-if="sidebarId== 'bankProve'" :contentDatas="contentDatas"></bankProve>
      <entrust v-if="sidebarId== 'entrust'" :contentDatas="contentDatas"></entrust>
      <promise v-if="sidebarId== 'promise'" :contentDatas="contentDatas"></promise>
      <operatorIDCard v-if="sidebarId== 'operatorIDCard'" :contentDatas="contentDatas"></operatorIDCard>
      <elseFile v-if="sidebarId== 'elseFile'" :contentDatas="contentDatas"></elseFile>
    </template>
    <template v-else-if="dialogType==2 ||dialogType==3">
      <businessInfo v-if="sidebarId== 'businessInfo'" :contentDatas="contentDatas"></businessInfo>
      <assetsInfo v-if="sidebarId== 'assetsInfo'" :contentDatas="contentDatas"></assetsInfo>
      <dataNumber v-if="sidebarId== 'dataNumber'" :contentDatas="contentDatas"></dataNumber>
    </template>
  </div>
</template>
<script>
import assets from '../dialog/DataReview/assets.vue'
import certificate from '../dialog/DataReview/certificate.vue'
import bankProve from '../dialog/DataReview/bankProve.vue'
import entrust from '../dialog/DataReview/entrust.vue'
import promise from '../dialog/DataReview/promise.vue'
import operatorIDCard from '../dialog/DataReview/operatorIDCard.vue'
import elseFile from '../dialog/DataReview/elseFile.vue'
import dataNumber from '../dialog/DataReview/dataNumber.vue'
import assetsInfo from '../dialog/DataReview/assetsInfo.vue'
import businessInfo from '../dialog/DataReview/businessInfo.vue'
import assessment from '../dialog/DataReview/assessment.vue'
import application from '../dialog/DataReview/application.vue'
import IDCard from '../dialog/DataReview/IDCard.vue'
import license from '../dialog/DataReview/license.vue'
import basics from '../dialog/DataReview/basics.vue'
export default ({
  props:{
    sidebarId:{
      require: true
    },
    dialogType:{
      require: true
    },
    contentDatas:{
      require: true
    }
  },
  data() {
    return{
    }
  },
  components:{
    assessment,basics,license,IDCard,application,assets,
    businessInfo,assetsInfo,dataNumber,elseFile,certificate,
    bankProve,entrust,promise,operatorIDCard
  },
})
</script>
