experimentalData.mock.ts 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. import { defineMock } from "../base";
  2. export default defineMock([
  3. {
  4. url: "experimentalData/page",
  5. method: ["GET"],
  6. body: {
  7. code: "00000",
  8. data: {
  9. list: [
  10. {
  11. id: 1,
  12. fileName: "20240107135920",
  13. model: "UCPH205",
  14. time: "2024.01.07",
  15. source: "实验",
  16. samplingRate: "6000Hz",
  17. remark: "",
  18. },
  19. {
  20. id: 2,
  21. fileName: "20240107142012",
  22. model: "UCPH205",
  23. time: "2024.01.07",
  24. source: "实验",
  25. samplingRate: "6000Hz",
  26. remark: "",
  27. },
  28. {
  29. id: 3,
  30. fileName: "20240107143530",
  31. model: "UCPH205",
  32. time: "2024.01.07",
  33. source: "实验",
  34. samplingRate: "6000Hz",
  35. remark: "",
  36. },
  37. {
  38. id: 4,
  39. fileName: "20240107162418",
  40. model: "UCPH205",
  41. time: "2024.01.07",
  42. source: "实验",
  43. samplingRate: "6000Hz",
  44. remark: "",
  45. },
  46. {
  47. id: 5,
  48. fileName: "20240107163443",
  49. model: "UCPH205",
  50. time: "2024.01.07",
  51. source: "实验",
  52. samplingRate: "6000Hz",
  53. remark: "",
  54. },
  55. {
  56. id: 6,
  57. fileName: "20240107171418",
  58. model: "UCPH205",
  59. time: "2024.01.07",
  60. source: "实验",
  61. samplingRate: "6000Hz",
  62. remark: "",
  63. },
  64. {
  65. id: 7,
  66. fileName: "20240305105808",
  67. model: "UCPH205",
  68. time: "2024.03.05",
  69. source: "仿真",
  70. samplingRate: "6000Hz",
  71. remark: "",
  72. },
  73. {
  74. id: 8,
  75. fileName: "20240305105912",
  76. model: "UCPH205",
  77. time: "2024.03.05",
  78. source: "仿真",
  79. samplingRate: "6000Hz",
  80. remark: "",
  81. },
  82. {
  83. id: 9,
  84. fileName: "20240305105956",
  85. model: "UCPH205",
  86. time: "2024.03.05",
  87. source: "仿真",
  88. samplingRate: "6000Hz",
  89. remark: "",
  90. },
  91. {
  92. id: 10,
  93. fileName: "20240305105912",
  94. model: "UCPH205",
  95. time: "2024.03.05",
  96. source: "仿真",
  97. samplingRate: "6000Hz",
  98. remark: "",
  99. },
  100. ],
  101. total: 10,
  102. },
  103. msg: "一切ok",
  104. },
  105. },
  106. ]);