<!-- 查看基本信息 -->
<template>
  <div class="bg-[#fff]">
    <S2 v-if="param.scjdbm == 'S2'" />
    <S3 v-if="param.scjdbm == 'S3'" />
    <S4 v-if="param.scjdbm == 'S4'" />
    <S5 v-if="param.scjdbm == 'S5'" />
    <S61 v-if="param.scjdbm == 'S6' && param.pgtype >= 1000 && param.pgtype < 2000" />
    <S62 v-if="param.scjdbm == 'S6' && param.pgtype >= 2000 && param.pgtype < 3000" />
    <S63 v-if="param.scjdbm == 'S6' && param.pgtype >= 3000 && param.pgtype < 4000" />
    <S10 v-if="param.scjdbm == 'S10'" />
  </div>
</template>
<script lang="ts" setup>
  import { ref } from 'vue';
  import S2 from '/@/views/dkgl/investigate/modal/ViewData.vue';
  import S3 from '/@/views/dkgl/fxpg/ViewDetail.vue';
  import S4 from '/@/views/dkgl/fxgk/ViewDetail.vue';
  import S5 from '/@/views/dkgl/repair/ViewDetail.vue';
  import S61 from '/@/views/dkgl/gkpg/ViewDetail.vue'; //pgtye:1000
  import S62 from '/@/views/dkgl/xfpg/ViewDetail.vue'; //pgtye:2000
  import S63 from '/@/views/dkgl/gkxfpg/ViewDetail.vue'; //pgtye:3000
  import S10 from '/@/views/dkgl/gkxf/ViewDetail.vue';
  import { useRouter } from 'vue-router';

  let router = useRouter(); // 注册路由
  const param = ref<any>(router.currentRoute.value.query);
</script>
