/*
 *    Copyright (c) 2018-2025, cyweb All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the pig4cloud.com developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 *
 */

export const tableOption = {
  border: true,
  index: true,
  indexLabel: '序号',
  stripe: true,
  menuAlign: 'center',
  align: 'center',
  menu:false,
  searchText:'统计',
  addBtn:false,
  column: [
	  {
      label: '企业名称',
      prop: 'companyName'
    },
	  {
      label: '报名人数',
      prop: 'success'
    },
	  {
      label: '取消人数',
      prop: 'fail'
    },
    {
      label: '毕业人数',
      prop: 'gradu'
    },
  ]
}

//培训班级
export const tablePxBjOption={
  border: true,
  index: true,
  indexLabel: '序号',
  stripe: true,
  menuAlign: 'center',
  align: 'center',
  menu:false,
  searchText:'统计',
  addBtn:false,
  column: [
    {
      label: '类型',
      prop: 'typeName'
    },
    {
      label: '班级数量',
      prop: 'typeNums'
    }
    ]
}

//培训能力
export const tablePxNlTjOption={
  border: true,
  index: true,
  indexLabel: '序号',
  stripe: true,
  menuAlign: 'center',
  align: 'center',
  menu:false,
  searchText:'统计',
  addBtn:false,
  column: [
    {
      label: '类型',
      prop: 'typeName'
    },
    {
      label: '数量',
      prop: 'typeNums'
    }
  ]
}



//报名统计
export const tableBmTjOption={
  border: true,
  index: true,
  indexLabel: '序号',
  stripe: true,
  menuAlign: 'center',
  align: 'center',
  menu:false,
  searchText:'统计',
  addBtn:false,
  maxHeight:600,
  column: [
    {
      label: '班级名称',
      prop: 'className',
      width:300,
    },
    {
      label: '报名人数',
      prop: 'signNums'
    },
    {
      label: '培训人数',
      prop: 'trainNums'
    },
    {
      label: '一次合格',
      prop: 'firPass'
    },
    {
      label: '补考合格',
      prop: 'secPass'
    },
  ]
}


//开班统计
export const tableKbTjOption={
  border: true,
  index: true,
  indexLabel: '序号',
  stripe: true,
  menuAlign: 'center',
  align: 'center',
  menu:false,
  searchText:'统计',
  addBtn:false,
  maxHeight:600,
  column: [
    {
      label: '班级名称',
      prop: 'className'
    },
    {
      label: '类型',
      prop: 'companyType'
    },
    {
      label: '培训开始日期',
      prop: 'trainStart'
    },
    {
      label: '报名截止日期',
      prop: 'signEndDate'
    },
    {
      label: '人员类型',
      prop: 'personType'
    },
    {
      label: '培训类型',
      prop: 'trainType'
    },
    {
      label: '报名人数',
      prop: 'signNums'
    },
    {
      label: '签到人数',
      prop: 'qdNums'
    },
    {
      label: '课时',
      prop: 'courseTime'
    },
  ]
}


//考核统计
export const tableKhResultOption={
  border: true,
  index: true,
  indexLabel: '序号',
  stripe: true,
  menuAlign: 'center',
  align: 'center',
  menu:false,
  searchText:'统计',
  addBtn:false,
  maxHeight:600,
  column: [
    {
      label: '班级名称',
      prop: 'className'
    },
    {
      label: '开考日期',
      prop: 'examDate',
      type:'date',
      format:"yyyy-MM-dd HH:mm"
    },
    {
      label: '报名人数',
      prop: 'signNums'
    },
    {
      label: '未开考',
      prop: 'noExam'
    },
    {
      label: '一次合格',
      prop: 'firPass'
    },
    {
      label: '补考合格',
      prop: 'secPass'
    },
    {
      label: '待补考',
      prop: 'waitExam'
    },
    {
      label: '不合格',
      prop: 'noPass'
    },
  ]
}
