<template>
	<view style="width: 100%;">
		<txl style="width: 100%;height: 100%;" @ev="evFunc" :datas="datas" :index="true" name="employeeName"></txl>
	</view>
</template>

<script>
	import txl from '@/components/yt-txl/establish.vue';  

	import {
		mapState,
		mapMutations
	} from 'vuex'
	export default {
		components: {
			txl
		},
		data() {
			return {
				datas: [{
				        "employeeId": "test1",
				                "employeeName": "黄",
				                "companyId": "1",
				                "companyName": "test company",
				                "departmentId": "testdeptid",
				                "departmentName": "test dept",
				                "postId": "testpostid",
				                "postName": "testpost",
				    },{
				        "employeeId": "test1",
				                "employeeName": "花",
				                "companyId": "1",
				                "companyName": "test company",
				                "departmentId": "testdeptid",
				                "departmentName": "test dept",
				                "postId": "testpostid",
				                "postName": "testpost",
				    },{
				        "employeeId": "test1",
				                "employeeName": "阿",
				                "companyId": "1",
				                "companyName": "test company",
				                "departmentId": "testdeptid",
				                "departmentName": "test dept",
				                "postId": "testpostid",
				                "postName": "testpost",
				    },{
				        "employeeId": "test1",
				                "employeeName": "阿",
				                "companyId": "1",
				                "companyName": "test company",
				                "departmentId": "testdeptid",
				                "departmentName": "test dept",
				                "postId": "testpostid",
				                "postName": "testpost",
				    },{
				        "employeeId": "test1",
				                "employeeName": "阿",
				                "companyId": "1",
				                "companyName": "test company",
				                "departmentId": "testdeptid",
				                "departmentName": "test dept",
				                "postId": "testpostid",
				                "postName": "testpost",
				    },{
				        "employeeId": "test1",
				                "employeeName": "阿",
				                "companyId": "1",
				                "companyName": "test company",
				                "departmentId": "testdeptid",
				                "departmentName": "test dept",
				                "postId": "testpostid",
				                "postName": "testpost",
				    },{
				        "employeeId": "test1",
				                "employeeName": "阿",
				                "companyId": "1",
				                "companyName": "test company",
				                "departmentId": "testdeptid",
				                "departmentName": "test dept",
				                "postId": "testpostid",
				                "postName": "testpost",
				    },{
				        "employeeId": "test1",
				                "employeeName": "阿",
				                "companyId": "1",
				                "companyName": "test company",
				                "departmentId": "testdeptid",
				                "departmentName": "test dept",
				                "postId": "testpostid",
				                "postName": "testpost",
				    },{
				        "employeeId": "test1",
				                "employeeName": "阿",
				                "companyId": "1",
				                "companyName": "test company",
				                "departmentId": "testdeptid",
				                "departmentName": "test dept",
				                "postId": "testpostid",
				                "postName": "testpost",
				    },{
				        "employeeId": "test1",
				                "employeeName": "阿",
				                "companyId": "1",
				                "companyName": "test company",
				                "departmentId": "testdeptid",
				                "departmentName": "test dept",
				                "postId": "testpostid",
				                "postName": "testpost",
				    },{
				        "employeeId": "test1",
				                "employeeName": "阿",
				                "companyId": "1",
				                "companyName": "test company",
				                "departmentId": "testdeptid",
				                "departmentName": "test dept",
				                "postId": "testpostid",
				                "postName": "testpost",
				    },{
				        "employeeId": "test1",
				                "employeeName": "阿",
				                "companyId": "1",
				                "companyName": "test company",
				                "departmentId": "testdeptid",
				                "departmentName": "test dept",
				                "postId": "testpostid",
				                "postName": "testpost",
				    },{
				        "employeeId": "test1",
				                "employeeName": "阿",
				                "companyId": "1",
				                "companyName": "test company",
				                "departmentId": "testdeptid",
				                "departmentName": "test dept",
				                "postId": "testpostid",
				                "postName": "testpost",
				    },{
				        "employeeId": "test1",
				                "employeeName": "阿",
				                "companyId": "1",
				                "companyName": "test company",
				                "departmentId": "testdeptid",
				                "departmentName": "test dept",
				                "postId": "testpostid",
				                "postName": "testpost",
				    },{
				        "employeeId": "test1",
				                "employeeName": "阿",
				                "companyId": "1",
				                "companyName": "test company",
				                "departmentId": "testdeptid",
				                "departmentName": "test dept",
				                "postId": "testpostid",
				                "postName": "testpost",
				    },{
				        "employeeId": "test1",
				                "employeeName": "覃",
				                "companyId": "1",
				                "companyName": "test company",
				                "departmentId": "testdeptid",
				                "departmentName": "test dept",
				                "postId": "testpostid",
				                "postName": "testpost",
				    },{
				        "employeeId": "test1",
				                "employeeName": "伍",
				                "companyId": "1",
				                "companyName": "test company",
				                "departmentId": "testdeptid",
				                "departmentName": "test dept",
				                "postId": "testpostid",
				                "postName": "testpost",
				    },{
				        "employeeId": "test1",
				                "employeeName": "鄂",
				                "companyId": "1",
				                "companyName": "test company",
				                "departmentId": "testdeptid",
				                "departmentName": "test dept",
				                "postId": "testpostid",
				                "postName": "testpost",
				    },{
				        "employeeId": "test1",
				                "employeeName": "阮",
				                "companyId": "1",
				                "companyName": "test company",
				                "departmentId": "testdeptid",
				                "departmentName": "test dept",
				                "postId": "testpostid",
				                "postName": "testpost",
				    },{
				        "employeeId": "test1",
				                "employeeName": "唐",
				                "companyId": "1",
				                "companyName": "test company",
				                "departmentId": "testdeptid",
				                "departmentName": "test dept",
				                "postId": "testpostid",
				                "postName": "testpost",
				    },{
				        "employeeId": "test1",
				                "employeeName": "云",
				                "companyId": "1",
				                "companyName": "test company",
				                "departmentId": "testdeptid",
				                "departmentName": "test dept",
				                "postId": "testpostid",
				                "postName": "testpost",
				    },{
				        "employeeId": "test1",
				                "employeeName": "彭",
				                "companyId": "1",
				                "companyName": "test company",
				                "departmentId": "testdeptid",
				                "departmentName": "test dept",
				                "postId": "testpostid",
				                "postName": "testpost",
				    }],
			}
		},
		methods: {
		evFunc(data){
		            console.log(data)
		        },
		}
	}
</script>
<style>
</style>
