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

28 lines
784 B
Vue
Raw Normal View History

2024-07-23 15:24:38 +08:00
<template>
<div style="background: #fff;height: 97%;margin: 10px 0;">
<div style="text-align:right;width:100%;">
<a-switch v-model:checked="checked1" checkedChildren="卡片" unCheckedChildren="列表" @change="onChange1"/>
</div>
<div v-if="checked1">
<StudentZyInfoList/>
</div>
<div v-if="!checked1">
<StudentZyInfoLiebiaoList/>
</div>
</div>
</template>
<script lang="ts" name="zyInfo-zyInfo" setup>
import { ref, reactive, onMounted,unref } from 'vue';
import StudentZyInfoLiebiaoList from '/@/views/zy/zyInfo/StudentZyInfoLiebiaoList.vue'
import StudentZyInfoList from '/@/views/zy/zyInfo/StudentZyInfoList.vue'
const checked1 = ref(true);
function onChange1(record){
}
</script>
<style lang="less" scoped>
</style>