/*
 *    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,
  dic: [],
  column: [
	  {
      label: '',
      prop: 'id',
      hide:true
    },
    {
      label: '学号/工号',
      prop: 'stuNo'
    },
    {
      label: '用户类型',
      prop: 'userType',
      dicUrl:'/admin/dict/item/type/sys_user_type',
      type:'select',
    },
    {
      label: '姓名',
      prop: 'realName',
    },
	  {
      label: '就诊时间',
      prop: 'createTime'
    },

	  {
      label: '班号',
      prop: 'classNo'
    },
	  {
      label: '手机号码',
      prop: 'phone'
    },
	  {
      label: '主要症状',
      prop: 'mainSymptoms'
    },
	  {
      label: '主要症状(其他)',
      prop: 'mainSymptomsOther'
    },
	  {
      label: '既往过敏药物',
      prop: 'iallergicDrugs'
    },
	  {
      label: '其他过敏药物(其他)',
      prop: 'allergicDrugsOther'
    },
	  {
      label: '初步诊断',
      prop: 'diagnosis'
    },
	  {
      label: '初步诊断(其他)',
      prop: 'diagnosisOther'
    },
	  {
      label: '处置意见',
      prop: 'idea'
    },
	  {
      label: '处置医生',
      prop: 'dockerName'
    }
  ]
}
