/*
 *    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 YES_OR_NO=[
  {
    label:'待审核',
    value:'0'
  },
  {
    label:'审核通过',
    value:'1'
  }
]
export const tableOption = {
  border: true,
  index: true,
  indexLabel: '序号',
  stripe: true,
  menuAlign: 'center',
  align: 'center',
  editBtn: false,
  delBtn: false,
  addBtn: false,
  selection: true,
  menu:false,
  height:650,
  dic: [],
  column: [
    {
      label: '学院',
      prop: 'deptCode',
      type:"select",
      dicUrl: '/basic/basicdept/getDeptList?secondFlag=1',
      props: {
        label: 'deptName',
        value: 'deptCode'
      },
    },

    {
      label: '班级',
      prop: 'classCode',
      search:true,
      searchFilterable:true,
      type:"select",
      dicUrl:'/basic/basicclass/queryUserClass',
      props:{
        label: 'classNo',
        value: 'classCode',
      },
    },
    {
      label: '专业',
      prop: 'majorCode',
      type:'select',
      dicUrl: '/basic/major/getMajorNameList',
      props: {
        label: 'majorName',
        value: 'majorCode'
      }
    },
    {
      label: '学号',
      prop: 'stuNo',
    },
    {
      label: '姓名',
      prop: 'realName',
    },
    {
      label: '性别',
      prop: 'gender',
      type:"select",
      dicUrl: '/admin/dict/item/type/sexy',
      props:{
        label:'label',
        value:'value'
      },
    },
    {
      label: '身份证号',
      prop: 'idCard',
    },
    {
      label: '中职卡号',
      prop: 'bankCard',
      slot:true,
    },
    {
      label: '联系电话',
      prop: 'phone',
      slot:true,
    },
    {
      label: '生源',
      prop: 'education',
      type: 'select',
      dicUrl: '/admin/dict/item/type/pre_school_education',
      props:{
        label:'label',
        value:'value'
      },
    },
    {
      label: '层次',
      prop: 'majorLevel',
      type:"select",
      dicUrl: '/admin/dict/item/type/basic_major_level',
      props:{
        label:'label',
        value:'value'
      },
    },
    {
      label: '入学年份',
      prop: 'grade',
    },
    {
      label: '当前年级',
      prop: 'gradeCurr',
    },
    {
      label: '借读学年',
      prop: 'temporaryyeYear',
    },

  ]
}
