/*
 *    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,
  showSummary:false,
  column: [
    {
      label: '主键',
      prop: 'id',
      hide: true,
      addDisplay:false,
      editDisabled:true,
      editDisplay:false,
      visdiplay:false
    },
	  {
      label: '学院',
      prop: 'deptName'
    },
	  {
      label: '专业名称',
      prop: 'majorName'
    },
	  {
      label: '班号',
      prop: 'classNo'
    },
    {
      label: '班级',
      prop: 'classCode',
      search:true,
      searchFilterable:true,
      type:'select',
      dicUrl:'/basic/basicclass/list',
      props:{
        label: 'classNo',
        value: 'classCode',
      },
      hide: true
    },
	  {
      label: '教室安排',
      prop: 'classArrangement'
    },
	  {
      label: '班主任',
      prop: 'headmaster'
    },
	  {
      label: '在校(注册|借读)',
      prop: 'inSchool'
    },
	  {
      label: '男(在校)',
      prop: 'boySchool'
    },
	  {
      label: '女(在校)',
      prop: 'girlSchool'
    },
	  {
      label: '借读',
      prop: 'borrowingSchool'
    },
	  {
      label: '住宿人数',
      prop: 'accommodation'
    },
	  {
      label: '男(住宿)',
      prop: 'manAccommodation'
    },
	  {
      label: '女(住宿)',
      prop: 'womanAccommodation'
    }
  ]
}
export const table2Option = {
  border: true,
  index: true,
  indexLabel: '序号',
  stripe: true,
  menuAlign: 'center',
  align: 'center',
  editBtn: false,
  delBtn: false,
  addBtn: false,
  showSummary:false,
  column: [
    {
      label: '主键',
      prop: 'id',
      hide: true,
      addDisplay:false,
      editDisabled:true,
      editDisplay:false,
      visdiplay:false
    },
    {
      label: '学院',
      prop: 'deptName'
    },
    {
      label: '专业名称',
      prop: 'majorName'
    },
    {
      label: '班号',
      prop: 'classNo'
    },
    {
      label: '班级',
      prop: 'classCode',
      search:true,
      searchFilterable:true,
      type:'select',
      dicUrl:'/basic/basicclass/list',
      props:{
        label: 'classNo',
        value: 'classCode',
      },
      hide: true
    },
    {
      label: '教室安排',
      prop: 'classArrangement'
    },
    {
      label: '班主任',
      prop: 'teacherRealName'
    },
    {
      label: '小计(顶岗)',
      prop: 'inSchool'
    },
    {
      label: '男(顶岗)',
      prop: 'boySchool'
    },
    {
      label: '女(顶岗)',
      prop: 'girlSchool'
    },
  ]
}

export const table3Option = {
  border: true,
  index: true,
  indexLabel: '序号',
  stripe: true,
  menuAlign: 'center',
  align: 'center',
  editBtn: false,
  delBtn: false,
  addBtn: false,
  showSummary:false,
  column: [
    {
      label: '主键',
      prop: 'id',
      hide: true,
      addDisplay:false,
      editDisabled:true,
      editDisplay:false,
      visdiplay:false
    },
    {
      label: '学院',
      prop: 'deptName'
    },
    {
      label: '专业名称',
      prop: 'majorName'
    },
    {
      label: '班号',
      prop: 'classNo'
    },
    {
      label: '班级',
      prop: 'classCode',
      search:true,
      searchFilterable:true,
      type:'select',
      dicUrl:'/basic/basicclass/list',
      props:{
        label: 'classNo',
        value: 'classCode',
      },
      hide: true
    },
    {
      label: '教室安排',
      prop: 'classArrangement'
    },
    {
      label: '班主任',
      prop: 'teacherRealName'
    },
    {
      label: '小计(更岗)',
      prop: 'inSchool'
    },
    {
      label: '男(更岗)',
      prop: 'boySchool'
    },
    {
      label: '女(更岗)',
      prop: 'girlSchool'
    },
  ]
}
