dbsd_kczx/src/views/zy/zyInfo/ZyInfoMainList.vue

28 lines
690 B
Vue

<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-if="checked1">
<ZyInfoList/>
</div>
<div v-if="!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){
}
</script>
<style lang="less" scoped>
</style>