1
0

caseFile.ts 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. import { BoardType } from "@/store/caseFile";
  2. export const FileDrawType = 1;
  3. export const DrawFormats = [".jpg", ".jpeg", ".png"];
  4. export const OtherFormats = [".pdf", ".jpeg", ".doc", ".docx", ".jpg", ".png"];
  5. export const BoardTypeDesc = {
  6. [BoardType.scene]: "平面图",
  7. [BoardType.map]: "方位图",
  8. [BoardType.aimap]: " AI 平面图 ",
  9. };
  10. export const DrawFormatDesc = "jpg、png等格式的文件";
  11. export const OtherFormatDesc = "pdf、word、jpg、png等格式的文件";
  12. export const photoFormatDesc = "jpg、jpeg、png等格式的文件";
  13. export const maxFileSize = 100 * 1024 * 1024;
  14. export const maxAppFileSize = 300 * 1024 * 1024;
  15. export const fileOptions = [
  16. {
  17. value: '中心现场照片',
  18. label: '中心现场照片',
  19. children: [
  20. {
  21. value: '方位',
  22. label: '方位'
  23. },{
  24. value: '概貌',
  25. label: '概貌'
  26. },{
  27. value: '重点部位',
  28. label: '重点部位'
  29. },{
  30. value: '细目',
  31. label: '细目'
  32. },{
  33. value: '其他',
  34. label: '其他'
  35. },
  36. ]
  37. },
  38. {
  39. value: '关联现场照片',
  40. label: '关联现场照片',
  41. children: [
  42. {
  43. value: '尸检照片',
  44. label: '尸检照片'
  45. },{
  46. value: '其他',
  47. label: '其他'
  48. },
  49. ]
  50. },
  51. {
  52. value: '痕迹物证照片',
  53. label: '痕迹物证照片',
  54. children: [
  55. {
  56. value: '尸体',
  57. label: '尸体'
  58. },{
  59. value: '手印',
  60. label: '手印'
  61. },{
  62. value: '足迹',
  63. label: '足迹'
  64. },{
  65. value: '血迹',
  66. label: '血迹'
  67. },{
  68. value: '其他',
  69. label: '其他'
  70. },
  71. ]
  72. },
  73. {
  74. value: '其他',
  75. label: '其他',
  76. },
  77. ]