/*
 *    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.
 *
 */
const YES_OR_NO=[
{label:"是", value:"1"},
{label:"否", value:"0"}
]

const NUMS=[
  {label:"0次", value:0},
  {label:"1次", value:1},
  {label:"2次", value:2},
  {label:"3次", value:3}
]

const RESULTS=[
  {label:"阴性", value:"0"},
  {label:"阳性", value:"1"},
  {label:"无", value:"2"},
]

const INFECTED_CONDITION=[
  {label:"阳已转阴", value:"0"},
  {label:"阳未转阴", value:"1"},
  {label:"未阳过", value:"2"},
]

export const tableOption = {
  border: true,
  index: true,
  indexLabel: '序号',
  stripe: true,
  menuAlign: 'center',
  align: 'center',
  editBtn: false,
  delBtn: false,
  addBtn: false,
  dic: [],
  labelWidth:400,
  emptyBtn:false,
  submitBtn:false,
  dialogWidth:700,
  column: [
    // {
    //   label: '疫苗接种次数',
    //   prop: 'vaccinesNums',
    //   type:'radio',
    //   dicData:NUMS,
    //   span:24
    // },
    {
      label: '近7天内是否有发热、干咳、乏力、咽痛等症状?',
      prop: 'healthUnnormal',
      dicData:YES_OR_NO,
      type:'radio',
      span:24
    },
    // {
    //   label: '疫情感染情况',
    //   prop: 'infectedCondition',
    //   dicData:INFECTED_CONDITION,
    //   type:'radio',
    //   span:24
    // },
    // {
    //   label: '21天是否去过中高风险地区',
    //   prop: 'middleHigh',
    //   dicData:YES_OR_NO,
    //   type:'radio'
    // },
	  // {
    //   label: '接触备注说明',
    //   prop: 'middleHighAdress',
    //   span:24
    // },
	  // {
    //   label: '境外中高风险旅居史',
    //   prop: 'outMiddleHigh',
    //   dicData:YES_OR_NO,
    //   type:'radio'
    // },
	  // {
    //   label: '境外旅居历史',
    //   prop: 'outMiddleAddress',
    //   span:24
    // },
	  // {
    //   label: '假期去往城市',
    //   prop: 'holidayAddress',
    //   formslot:true,
    //   span:24,
    //
    // },
	  // {
    //   label: '核酸检测结果',
    //   prop: 'nucleicResult',
    //   type:'radio',
    //   dicData:RESULTS
    // },
	  // {
    //   label: '最近核酸检测日期',
    //   prop: 'nucleicResultDate'
    // },
	  // {
    //   label: '接触过病例或者疫情地的人',
    //   prop: 'touchAddressPeople',
    //   dicData:YES_OR_NO,
    //   type:'radio'
    // },
	  // {
    //   label: '接触过发热病人',
    //   prop: 'touchUnnormalPeople',
    //   dicData:YES_OR_NO,
    //   type:'radio'
    // },
	  // {
    //   label: '接触过境外人员',
    //   prop: 'touchOutPeople',
    //   dicData:YES_OR_NO,
    //   type:'radio'
    // },
  ]
}
