export const column1 = [
    { type:'index', fixed:true,width:100 },
    { name: 'name', label: '姓名',fixed:true,width:160,emptyString:'--' },
    { name: 'yw', label: '语文',sorter:true},
    // { name: 'sex', label: '性别',filters:{0:'男',1:'女'}},
    { name: 'sx', label: '数学',sorter:true },
    { name: 'yy', label: '英语',sorter:true },
	{ name: 'operation', type:'operation',label: '操作',renders:[
		{
		    name:'编辑',
		    func:'edit' // func 代表子元素点击的事件 父元素接收的事件 父元素 @edit
		  },
		  {
		    name:'删除',
		    type:'warn',
		    func:"dele"
		  },
	]},

]
// 历史
export const column2 = [
    { name: 'updateTime', label: '更新日期',fixed:true,width:180,},
    { name: 'height', label: '身高(cm)'},
    { name: 'weight', label: '体重(kg)'},
    // { name: 'degreeMyopia', label: '视力'},
]
export const column3 = [
    { type:'selection', fixed:true,width:100 },
    { name: 'name', label: '姓名',fixed:true,width:160,emptyString:'--' },
    { name: 'age', label: '年纪',},
    { name: 'sex', label: '性别',filters:{0:'男',1:'女'}},
    { name: 'address', label: '地址' },
    { name: 'date', label: '日期', },
    { name: 'province', label: '省份' },
    { name: 'city', label: '城市' },
    { name: 'zip', label: '邮编' },
]

// 添加的时候
export const column4 = [
    // { type:'selection', fixed:true,width:50 },
    { type:'index', fixed:true,width:60,align:'center', },
    { name: 'scoreDataName', label: '姓名',fixed:true,width:140,emptyString:'--',align:'center' },
    { name: 'yuwen', label: '语文',sorter:true,align:'center',width:112},
    { name: 'shuxue', label: '数学',sorter:true,align:'center',width:112 },
    { name: 'yingyu', label: '英语',sorter:true,align:'center',width:112 },
    { name: 'wuli', label: '物理',sorter:true,align:'center',width:112 },
    { name: 'huaxue', label: '化学',sorter:true,align:'center',width:112 },
    { name: 'shengwu', label: '生物',sorter:true,align:'center',width:112 },
    { name: 'lishi', label: '历史',sorter:true,align:'center',width:112 },
    { name: 'dili', label: '地理',sorter:true,align:'center',width:112 },
    { name: 'zhengzhi', label: '政治',sorter:true,align:'center',width:112 },
    { name: 'tiyu', label: '体育',sorter:true,align:'center',width:112 },
    { name: 'kexue', label: '科学',sorter:true,align:'center',width:112 },
    { name: 'meishu', label: '美术',sorter:true,align:'center',width:112 },
    { name: 'yinyue', label: '音乐',sorter:true,align:'center',width:112 },
    { name: 'yishu', label: '艺术',sorter:true,align:'center',width:112 },
    { name: 'wenzong', label: '文综',sorter:true,align:'center',width:112 },
    { name: 'lizong', label: '理综',sorter:true,align:'center',width:112 },
    { name: 'zongfen', label: '总分',sorter:true,align:'center',width:112 },
    { name: 'scoreSort', label: '排名',sorter:true,align:'center',width:112 },
]


