<template>
  <div style="background: #fff;height: 97%;margin: 10px 0;">
    <div style="text-align:right;width:100%;">
      <a-switch v-model:checked="checked1" @change="onChange1"/>
    </div>
    <div v-show="checked1">
      <ZyInfoList/>
    </div>
    <div v-show="!checked1">
      <ZyInfoLiebiaoList/>
    </div>
  </div>
</template>

<script lang="ts" name="zyInfo-zyInfo" setup>
  import { ref, reactive, onMounted,unref } from 'vue';
  import ZyInfoLiebiaoList from '/@/views/zy/zyInfo/ZyInfoLiebiaoList.vue'
  import ZyInfoList from '/@/views/zy/zyInfo/ZyInfoList.vue'

  const checked1 = ref(true); 

  function onChange1(record){
  console.log(`🚀 ~ onChange1 ~ record:`, record)

  }
</script>

<style lang="less" scoped>
</style>
