<route lang="json5" type="page">
	{
	layout: 'default',
	style: {
	navigationStyle: 'custom',
	navigationBarTitleText: '人员信息',
	},
	}
</route>
<template>
	<PageLayout navTitle="人员信息">
		<wd-tabs v-model="tab" animated swipeable>
			<block v-for="item,key in tabs" :key="item">
				<wd-tab :title="`${item}`" :name="item">
					<standingbook v-if="key == 0"></standingbook>
					<ageStatistics v-if="key == 1"></ageStatistics>
					<generalFieldStatistics v-if="key == 2"></generalFieldStatistics>
				</wd-tab>
			</block>
		</wd-tabs>
	</PageLayout>
</template>

<script setup>
	import standingbook from './standingbook'
	import ageStatistics from './ageStatistics'
	import generalFieldStatistics from './generalFieldStatistics'
	const tab = ref(0)
	const tabs = ref(['人员台账', '年龄段统计', '通用字段统计'])
</script>