<template>
	<div class="content-padding-inline" style="margin-top: 30px;">
		<a-row :gutter="[10,10]" type="flex" justify="center">
			<a-col span="18">
				<a-row>
					<a-col span="4">
						<common-left-sider :menu_list="menu_list" :selected_key="[1]"
							@changeKey="changeKey"></common-left-sider>
					</a-col>
					<a-col span="20">
						<div style="width: 100%;background-color: #fff;padding: 10px;">
							<resume-interview v-if="curKey == 2"></resume-interview>
							<resume-read v-if="curKey == 3"></resume-read>
							<resume-read v-if="curKey == 4"></resume-read>
						</div>
					</a-col>
				</a-row>
			</a-col>
		</a-row>
	</div>
</template>

<script setup lang="ts">
	import { ref, computed, onMounted } from 'vue';
	import ResumeInterview from '@/components/resume/interview/index.vue'
	import ResumeRead from '@/components/resume/read/index.vue'
	let companyList = ref<object[]>([{}, {}, {}, {}, {}, {}])
	let menu_list = ref([{ name: '收到的应聘简历', key: 1 }, { name: '邀请面试简历', key: 2 }, { name: '已查看联系方式', key: 3 }, { name: '企业人才库', key: 4 }, { name: '简历回收站', key: 5 }])
	let curKey = ref<Number>(1)
	const changeKey = (data) => {
		curKey.value = data.key;
	}
</script>

<style>
</style>