<!--
@ 作者: 鲁智强
@ 时间: 2023-09-19 15:01:23
@ 备注: 
-->
<script lang='ts' setup>
import cc from './cc.vue'
import bb from './bb.vue'
import {ref} from 'vue'
import type { TabsPaneContext } from 'element-plus'
const activeName = ref('first')
const handleClick =(tab, event)=>{
	console.log(tab,event)
	if(tab.index == 1)
}
</script>
<template>
	<el-tabs v-model="activeName" class="demo-tabs" @tab-click="handleClick">
		<el-tab-pane label="部门指标" name="bb"></el-tab-pane>
		<el-tab-pane label="岗位指标" name="cc"></el-tab-pane>
	</el-tabs>
</template>
<style  lang='scss' scoped>
*{
	background-color: #fff;
}
.asd{
	width:100px;
}
</style>
