以下是根据你提供的代码片段进行的完整补充:
<template>
<div class="home">
<a-tabs v-model="activeKey">
<a-tab-pane key="1" tab="关键信息">
<div class="KeyInformation">关键信息</div>
</a-tab-pane>
<a-tab-pane key="2" tab="影像资料">
<div class="ImageData">影像资料</div>
</a-tab-pane>
<a-tab-pane key="3" tab="线上催记">
<div class="OnlineReminder">线上催记</div>
</a-tab-pane>
<a-tab-pane key="4" tab="合作平台催记">
<div class="CollaborationReminder">合作平台催记</div>
</a-tab-pane>
<a-tab-pane key="5" tab="查询">
<div class="Query">查询</div>
</a-tab-pane>
<a-tab-pane key="6" tab="流转记录">
<div class="CirculationRecord">流转记录</div>
</a-tab-pane>
</a-tabs>
</div>
</template>
<script setup lang='ts'>
import { Tabs } from 'ant-design-vue'
import TableButton from '@/components/TableButton.vue'
import { ref } from 'vue'
import { confirm } from '../utils'
const activeKey = ref('1')
const params = { custId: 10103 }
console.log(params.custId)
confirm(params.custId).then((res) => {
console.log(res)
})
</script>
<style scoped lang='scss'>
.home {
width: 100%;
height: 100%;
.KeyInformation,
.ImageData,
.OnlineReminder,
.CollaborationReminder,
.Query,
.CirculationRecord {
width: 100%;
height: 100%;
}
}
</style>
请注意,我添加了一些修正并假设代码使用了 TypeScript。希望这可以帮助你完成代码。如果还有其他问题或需求,请随时告诉我。
内容由零声教学AI助手提供,问题来源于学员提问