dbsd_kczx/src/views/kc/wjxCswj/WjxCswjMainList.vue

28 lines
687 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">
<WjxCswjList/>
</div>
<div v-if="!checked1">
<WjxCswjTableList/>
</div>
</div>
</template>
<script lang="ts" name="wjx-cswj" setup>
import { ref, reactive, onMounted,unref } from 'vue';
import WjxCswjTableList from '/@/views/kc/wjxCswj/WjxCswjTableList.vue'
import WjxCswjList from '/@/views/kc/wjxCswj/WjxCswjList.vue'
const checked1 = ref(true);
function onChange1(record){
}
</script>
<style lang="less" scoped>
</style>