/*
 *    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',
  editBtn: false,
  delBtn: false,
  addBtn: false,
  menu:false,
  refreshBtn:false,
  columnBtn:false,
  dic: [],
  column: [
    {
      label:'年级',
      prop:'grade',
      type:'select',
      dicUrl:'admin/dict/item/type/basic_class_info_grade',
      props:{
        label:'label',
        value:'value'
      },
      search:true
    },
    {
      label: '系部',
      prop: 'deptName'
    },
    {
      label: '班级',
      prop: 'classCode'
    },
    {
      label: '学年',
      prop: 'schoolYear'
    },
    {
      label: '学期',
      prop: 'schoolTerm'
    },
    {
      label: '课程名称',
      prop: 'courseName'
    },
    {
      label: '课程性质',
      prop: 'coursePropertiesName'
    },
    {
      label: '考核方式',
      prop: 'courseEvaluationMode',
      type:'select',
      dicUrl: '/ems/courseevaluationmode/list',
      props: {
        label: 'courseEvaluationModeName',
        value: 'id'
      },
      search:true
    },
    {
      label: '任课教师',
      prop: 'teacherRealName'
    },
    {
      label: '100分',
      prop: 'tine'
    },
    {
      label: '比率',
      prop: 'tineRate'
    },
    {
      label: '99-90分',
      prop: 'nine'
    },
    {
      label: '比率',
      prop: 'nineRate'
    },
    {
      label: '89-80分',
      prop: 'eight'
    },
    {
      label: '比率',
      prop: 'eightRate'
    },
    {
      label: '79-70分',
      prop: 'seven'
    },
    {
      label: '比率',
      prop: 'sevenRate'
    },
    {
      label: '69-60分',
      prop: 'six'
    },
    {
      label: '比率',
      prop: 'sixRate'
    },
    {
      label: '合格',
      prop: 'sixUp'
    },
    {
      label: '合格率',
      prop: 'sixUpRate'
    },
    {
      label: '60分以下',
      prop: 'sixDown'
    },
    {
      label: '比率',
      prop: 'sixDownRate'
    },
    {
      label: '最高分',
      prop: 'maxScore'
    },
    {
      label: '最低分',
      prop: 'minScore'
    },
    {
      label: '考试人数',
      prop: 'totalCount'
    },
    {
      label: '平均分',
      prop: 'avgScore'
    },
    {
      label: '优秀率',
      prop: 'excellentRate'
    }
  ]
}
