import { BoardType } from "@/store/caseFile";

export const FileDrawType = 1;
export const DrawFormats = [".jpg", ".jpeg", ".png"];
export const OtherFormats = [".pdf", ".jpeg", ".doc", ".docx", ".jpg", ".png"];
export const BoardTypeDesc = {
  [BoardType.scene]: "平面图",
  [BoardType.map]: "方位图",
  [BoardType.aimap]: " AI 平面图 ",
};
export const DrawFormatDesc = "jpg、png等格式的文件";
export const OtherFormatDesc = "pdf、word、jpg、png等格式的文件";
export const photoFormatDesc = "jpg、jpeg、png等格式的文件";

export const maxFileSize = 100 * 1024 * 1024;
export const maxAppFileSize = 300 * 1024 * 1024;

export const fileOptions  = [
  {
    value: '中心现场照片',
    label: '中心现场照片',
    children: [
      {
        value: '方位',
        label: '方位'
      },{
        value: '概貌',
        label: '概貌'
      },{
        value: '重点部位',
        label: '重点部位'
      },{
        value: '细目',
        label: '细目'
      },{
        value: '其他',
        label: '其他'
      },
    ]
  },
  {
    value: '关联现场照片',
    label: '关联现场照片',
    children: [
      {
        value: '尸检照片',
        label: '尸检照片'
      },{
        value: '其他',
        label: '其他'
      },
    ]
  },
  {
    value: '痕迹物证照片',
    label: '痕迹物证照片',
    children: [
      {
        value: '尸体',
        label: '尸体'
      },{
        value: '手印',
        label: '手印'
      },{
        value: '足迹',
        label: '足迹'
      },{
        value: '血迹',
        label: '血迹'
      },{
        value: '其他',
        label: '其他'
      },
    ]
  },
  {
    value: '其他',
    label: '其他',
  },
]
