/*
 *    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,
  dic: [],
  column: [
	  // {
    //   label: '主键',
    //   prop: 'id'
    // },
	  // {
    //   label: '创建人',
    //   prop: 'createBy'
    // },
	  // {
    //   label: '创建时间',
    //   prop: 'createTime'
    // },
	  // {
    //   label: '更新人',
    //   prop: 'updateBy'
    // },
	  // {
    //   label: '更新时间',
    //   prop: 'updateTime'
    // },
	  // {
    //   label: '删除标记',
    //   prop: 'delFlag'
    // },
	  // {
    //   label: '备注',
    //   prop: 'remarks'
    // },
    {
      label: '所属招聘会',
      prop: 'jobFairId',
      labelWidth:120,
      type:'select',
      dicUrl:'/work/jobfair/getJobFairList',
      props:{
        label:'title',
        value:'id'
      },
      rules: [{
        required: true,
        trigger: 'blur',
        message:"请选择招聘会"
      }]
    },
    {
      label: '组织机构代码',
      prop: 'orgCode',
      labelWidth:120,
      rules: [{
        required: true,
        trigger: 'blur',
        message:"请输入组织机构代码"
      }]
    },
	  {
      label: '拟招人数',
      prop: 'needNum',
      labelWidth:120,
      type:'number',
      minRows:0,
    },
	  {
      label: '我校拟招人数',
      prop: 'schoolNeedNum',
      labelWidth:120,
      type:'number',
      minRows:0,
    },
	  {
      label: '津贴金额(日)',
      prop: 'allowanceDaily',
      labelWidth:120,
      type:'number',
      minRows:0,
    },
	  {
      label: '津贴金额(月)',
      prop: 'allowanceMonthly',
      labelWidth:120,
      type:'number',
      minRows:0,
    },
	  {
      label: '加班津贴',
      prop: 'allowanceOvertime',
      labelWidth:120,
      type:'number',
      minRows:0,
    },
	  {
      label: '休息(月)',
      prop: 'restMonthly',
      labelWidth:120,
      type:'number',
      minRows:0,
    },
	  {
      label: '休息(周)',
      prop: 'restDaily',
      labelWidth:120,
      type:'number',
      minRows:0,
    },
	  {
      label: '住宿类型',
      prop: 'dormType',
      labelWidth:120,
      type:"select",
      dicUrl:'/admin/dict/item/type/dorm_type',
      props:{
        label:'label',
        value:'value'
      },
    },
	  {
      label: '住宿补贴（月)',
      prop: 'dormAllowance',
      labelWidth:120,
      type:'number',
      minRows:0,
    },
	  {
      label: '工作餐类型',
      prop: 'launchType',
      labelWidth:120,
      type:"select",
      dicUrl:'/admin/dict/item/type/launch_type',
      props:{
        label:'label',
        value:'value'
      },
    },
	  {
      label: '工作餐补贴（月)',
      prop: 'launchAllowance',
      labelWidth:120,
      type:'number',
      minRows:0,
    },
	  {
      label: '正式工资（月)',
      prop: 'formalWages',
      labelWidth:120,
      type:'number',
      minRows:0,
    },
	  {
      label: '加班工资（时)',
      prop: 'overtimeWages',
      labelWidth:120,
      type:'number',
      minRows:0,
    },
	  {
      label: '填表人',
      prop: 'applier',
      labelWidth:120,
      rules: [{
        required: true,
        trigger: 'blur',
        message:"请输入填表人"
      }]
    },
	  {
      label: '填表人Email',
      prop: 'applierEmail',
      labelWidth:120,
      rules: [{
        required: true,
        trigger: 'blur',
        message:"请输入填表人Email"
      }]
    },
	  {
      label: '填表人手机',
      prop: 'applierMobile',
      labelWidth:120,
      rules: [{
        required: true,
        trigger: 'blur',
        message:"请输入填表人手机"
      }]
    },
	  {
      label: '填表人座机',
      prop: 'applierPhone',
      labelWidth:120,
      rules: [{
        required: true,
        trigger: 'blur',
        message:"请输入填表人座机"
      }]
    },
	  {
      label: '参会人数',
      prop: 'attendNum',
      labelWidth:120,
      type:'number',
      minRows:0,
    },
	  {
      label: '分配座位号',
      prop: 'seatNum',
      labelWidth:120,
      type:'number',
      minRows:0,
      rules: [{
        required: true,
        trigger: 'blur',
        message:"请输入分配座机号"
      }]
    },
	  {
      label: '是否为VIP座位',
      prop: 'isVip',
      labelWidth:120,
      type:'radio',
      dicUrl:'/admin/dict/item/type/yes_no',
      props:{
        label:'label',
        value:'value'
      },
    },
  ]
}
