testDatas.js 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758
  1. const oneDatas = {
  2. errorCode: 0,
  3. errorMessage: null,
  4. data: {
  5. todayStockIn: 0,
  6. todayStockOut: 0,
  7. stockInCategory: {
  8. clampQuantity: 10,
  9. instrumentQuantity: 20,
  10. productQuantity: 20,
  11. },
  12. stockOutCategory: {
  13. clampQuantity: 10,
  14. instrumentQuantity: 30,
  15. productQuantity: 20,
  16. },
  17. stockInPosition: {
  18. stereoscopicQuantity: 30,
  19. groundQuantity: 10,
  20. toolQuantity: 20,
  21. equipmentQuantity: 20,
  22. finishedQuantity: 10,
  23. },
  24. stockOutPosition: {
  25. stereoscopicQuantity: 10,
  26. groundQuantity: 10,
  27. toolQuantity: 10,
  28. equipmentQuantity: 20,
  29. finishedQuantity: 20,
  30. },
  31. weekStatisticList: [
  32. {
  33. day: "2026-01-17",
  34. inCount: 20,
  35. outCount: 10,
  36. },
  37. {
  38. day: "2026-01-18",
  39. inCount: 4,
  40. outCount: 10,
  41. },
  42. {
  43. day: "2026-01-19",
  44. inCount: 1,
  45. outCount: 1,
  46. },
  47. {
  48. day: "2026-01-20",
  49. inCount: 12,
  50. outCount: 12,
  51. },
  52. {
  53. day: "2026-01-21",
  54. inCount: 0,
  55. outCount: 0,
  56. },
  57. {
  58. day: "2026-01-22",
  59. inCount: 30,
  60. outCount: 60,
  61. },
  62. {
  63. day: "2026-01-23",
  64. inCount: 10,
  65. outCount: 30,
  66. },
  67. ],
  68. popularInvList: [
  69. {
  70. invName: "工装101",
  71. count: 81,
  72. },
  73. {
  74. invName: "测试设备01501",
  75. count: 60,
  76. },
  77. {
  78. invName: "工装-1",
  79. count: 47,
  80. },
  81. {
  82. invName: "测试设备101",
  83. count: 21,
  84. },
  85. {
  86. invName: "设备-3",
  87. count: 17,
  88. },
  89. {
  90. invName: "设备-2",
  91. count: 6,
  92. },
  93. {
  94. invName: "设备-4",
  95. count: 5,
  96. },
  97. {
  98. invName: "测试工装00015",
  99. count: 5,
  100. },
  101. {
  102. invName: "设备-1",
  103. count: 3,
  104. },
  105. {
  106. invName: "测试工装00005",
  107. count: 2,
  108. },
  109. ],
  110. popularUserList: [
  111. {
  112. userName: "admin",
  113. count: 138,
  114. },
  115. {
  116. userName: "测试用户甲",
  117. count: 100,
  118. },
  119. {
  120. userName: "操作员",
  121. count: 13,
  122. },
  123. {
  124. userName: "测试用户丁",
  125. count: 3,
  126. },
  127. {
  128. userName: "测试用户",
  129. count: 23,
  130. },
  131. ],
  132. inventoryQuantity: 2998,
  133. clampQuantity: 1498,
  134. instrumentQuantity: 1500,
  135. invUseTimeList: null,
  136. agvTaskList: null,
  137. cfInAndOutResponses: [
  138. {
  139. name: "123",
  140. drawNo: "123",
  141. type: "123",
  142. inventoryType: "123",
  143. time: "123",
  144. userName: "123",
  145. },
  146. {
  147. name: "123",
  148. drawNo: "123",
  149. type: "123",
  150. inventoryType: "123",
  151. time: "123",
  152. userName: "123",
  153. },
  154. {
  155. name: "123",
  156. drawNo: "123",
  157. type: "123",
  158. inventoryType: "123",
  159. time: "123",
  160. userName: "123",
  161. },
  162. {
  163. name: "123",
  164. drawNo: "123",
  165. type: "123",
  166. inventoryType: "123",
  167. time: "123",
  168. userName: "123",
  169. },
  170. {
  171. name: "123",
  172. drawNo: "123",
  173. type: "123",
  174. inventoryType: "123",
  175. time: "123",
  176. userName: "123",
  177. },
  178. {
  179. name: "123",
  180. drawNo: "123",
  181. type: "123",
  182. inventoryType: "123",
  183. time: "123",
  184. userName: "123",
  185. },
  186. {
  187. name: "123",
  188. drawNo: "123",
  189. type: "123",
  190. inventoryType: "123",
  191. time: "123",
  192. userName: "123",
  193. },
  194. {
  195. name: "123",
  196. drawNo: "123",
  197. type: "123",
  198. inventoryType: "123",
  199. time: "123",
  200. userName: "123",
  201. },
  202. {
  203. name: "123",
  204. drawNo: "123",
  205. type: "123",
  206. inventoryType: "123",
  207. time: "123",
  208. userName: "123",
  209. },
  210. {
  211. name: "123",
  212. drawNo: "123",
  213. type: "123",
  214. inventoryType: "123",
  215. time: "123",
  216. userName: "123",
  217. },
  218. ],
  219. monthPickList: [
  220. {
  221. month: "2025-02",
  222. pickCount: 120,
  223. clampCount: 130,
  224. instrumentCount: 140,
  225. },
  226. {
  227. month: "2025-03",
  228. pickCount: 140,
  229. clampCount: 120,
  230. instrumentCount: 110,
  231. },
  232. {
  233. month: "2025-04",
  234. pickCount: 140,
  235. clampCount: 120,
  236. instrumentCount: 140,
  237. },
  238. {
  239. month: "2025-05",
  240. pickCount: 110,
  241. clampCount: 130,
  242. instrumentCount: 140,
  243. },
  244. {
  245. month: "2025-06",
  246. pickCount: 150,
  247. clampCount: 140,
  248. instrumentCount: 130,
  249. },
  250. {
  251. month: "2025-07",
  252. pickCount: 120,
  253. clampCount: 10,
  254. instrumentCount: 120,
  255. },
  256. {
  257. month: "2025-08",
  258. pickCount: 110,
  259. clampCount: 140,
  260. instrumentCount: 150,
  261. },
  262. {
  263. month: "2025-09",
  264. pickCount: 150,
  265. clampCount: 110,
  266. instrumentCount: 130,
  267. },
  268. {
  269. month: "2025-10",
  270. pickCount: 130,
  271. clampCount: 40,
  272. instrumentCount: 50,
  273. },
  274. {
  275. month: "2025-11",
  276. pickCount: 120,
  277. clampCount: 110,
  278. instrumentCount: 0,
  279. },
  280. {
  281. month: "2025-12",
  282. pickCount: 110,
  283. clampCount: 120,
  284. instrumentCount: 110,
  285. },
  286. {
  287. month: "2026-01",
  288. pickCount: 190,
  289. clampCount: 112,
  290. instrumentCount: 78,
  291. },
  292. ],
  293. },
  294. }
  295. const twoDatas = {
  296. errorCode: 0,
  297. errorMessage: null,
  298. data: {
  299. cfCheckVouchBoardResponse: {
  300. checkVouchId: 643723837739072,
  301. name: "测试盘点单",
  302. documentNo: "20260100001",
  303. warehouseId: null,
  304. warehouseName: "CF",
  305. clampQuantity: 2220,
  306. clampInventoriedQuantity: 3330,
  307. clampNotInventoriedQuantity: 1120,
  308. instrumentQuantity: 202,
  309. instrumentInventoriedQuantity: 303,
  310. instrumentNotInventoriedQuantity: 240,
  311. },
  312. cfInventoryRepairBoardResponse: {
  313. repairQuantity: 8,
  314. repairCompletedQuantity: 6,
  315. repairUncompletedQuantity: 2,
  316. cfInventoryRepairLineBoardResponses: [
  317. {
  318. index: 1,
  319. name: "测试工装01489",
  320. no: "01489",
  321. type: "工装",
  322. repairReason: "ces234",
  323. repairTime: "2026-01-30 00:00:00",
  324. completeRepairTime: "2026-01-22 00:00:00",
  325. },
  326. {
  327. index: 2,
  328. name: "测试设备02991",
  329. no: "02991",
  330. type: "设备",
  331. repairReason: "ces3",
  332. repairTime: "2026-01-29 00:00:00",
  333. completeRepairTime: "2026-01-30 00:00:00",
  334. },
  335. {
  336. index: 3,
  337. name: "测试工装01492",
  338. no: "01492",
  339. type: "工装",
  340. repairReason: "坏了送去维修",
  341. repairTime: "2026-01-22 00:00:00",
  342. completeRepairTime: "2026-01-23 00:00:00",
  343. },
  344. {
  345. index: 4,
  346. name: "测试工装01485",
  347. no: "01485",
  348. type: "工装",
  349. repairReason: "测试123",
  350. repairTime: "2026-01-21 00:00:00",
  351. completeRepairTime: "2026-01-22 00:00:00",
  352. },
  353. {
  354. index: 5,
  355. name: "测试设备02996",
  356. no: "02996",
  357. type: "设备",
  358. repairReason: "1111111111111",
  359. repairTime: "2026-01-21 00:00:00",
  360. completeRepairTime: null,
  361. },
  362. {
  363. index: 6,
  364. name: "测试工装01393",
  365. no: "01393",
  366. type: "工装",
  367. repairReason: null,
  368. repairTime: "2026-01-20 00:00:00",
  369. completeRepairTime: "2026-01-21 00:00:00",
  370. },
  371. {
  372. index: 7,
  373. name: "测试工装01497",
  374. no: "01497",
  375. type: "工装",
  376. repairReason: "2222222",
  377. repairTime: "2026-01-19 00:00:00",
  378. completeRepairTime: null,
  379. },
  380. {
  381. index: 8,
  382. name: "测试设备03000",
  383. no: "03000",
  384. type: "设备",
  385. repairReason: "测试1",
  386. repairTime: "2026-01-11 00:00:00",
  387. completeRepairTime: "2026-01-13 00:00:00",
  388. },
  389. ],
  390. },
  391. cfInventoryInspectionBoardResponse: {
  392. inspectionQuantity: 6,
  393. inspectionCompletedQuantity: 4,
  394. inspectionUncompletedQuantity: 2,
  395. cfInventoryInspectionLineBoardResponses: [
  396. {
  397. index: 1,
  398. name: "测试设备02996",
  399. no: "02996",
  400. type: "设备",
  401. inspectionReason: "需要检验",
  402. inspectionTime: "2026-01-27 00:00:00",
  403. completeInspectionTime: null,
  404. },
  405. {
  406. index: 2,
  407. name: "测试设备02982",
  408. no: "02982",
  409. type: "设备",
  410. inspectionReason: "需要检验",
  411. inspectionTime: "2026-01-24 00:00:00",
  412. completeInspectionTime: "2026-01-25 00:00:00",
  413. },
  414. {
  415. index: 3,
  416. name: "测试工装01496",
  417. no: "01496",
  418. type: "工装",
  419. inspectionReason: "这是一个测试",
  420. inspectionTime: "2026-01-21 00:00:00",
  421. completeInspectionTime: null,
  422. },
  423. {
  424. index: 4,
  425. name: "测试设备02995",
  426. no: "02995",
  427. type: "设备",
  428. inspectionReason: "需要检验",
  429. inspectionTime: "2026-01-21 00:00:00",
  430. completeInspectionTime: "2026-01-22 00:00:00",
  431. },
  432. {
  433. index: 5,
  434. name: "测试工装01491",
  435. no: "01491",
  436. type: "工装",
  437. inspectionReason: "这是一个测试",
  438. inspectionTime: "2026-01-20 00:00:00",
  439. completeInspectionTime: "2026-01-21 00:00:00",
  440. },
  441. {
  442. index: 6,
  443. name: "测试工装01493",
  444. no: "01493",
  445. type: "工装",
  446. inspectionReason: "这是一个测试",
  447. inspectionTime: "2026-01-10 00:00:00",
  448. completeInspectionTime: "2026-01-29 00:00:00",
  449. },
  450. ],
  451. },
  452. cfInventoryChartBoardResponse: {
  453. cfInventoryChartClampLineBoardResponses: [
  454. {
  455. monthName: "2026-1",
  456. quantity: 223,
  457. },
  458. {
  459. monthName: "2025-12",
  460. quantity: 120,
  461. },
  462. {
  463. monthName: "2025-11",
  464. quantity: 230,
  465. },
  466. {
  467. monthName: "2025-10",
  468. quantity: 110,
  469. },
  470. {
  471. monthName: "2025-9",
  472. quantity: 110,
  473. },
  474. {
  475. monthName: "2025-8",
  476. quantity: 40,
  477. },
  478. {
  479. monthName: "2025-7",
  480. quantity: 50,
  481. },
  482. {
  483. monthName: "2025-6",
  484. quantity: 50,
  485. },
  486. {
  487. monthName: "2025-5",
  488. quantity: 50,
  489. },
  490. {
  491. monthName: "2025-4",
  492. quantity: 40,
  493. },
  494. {
  495. monthName: "2025-3",
  496. quantity: 240,
  497. },
  498. {
  499. monthName: "2025-2",
  500. quantity: 30,
  501. },
  502. ],
  503. cfInventoryChartInstrumentLineBoardResponses: [
  504. {
  505. monthName: "2026-1",
  506. quantity: 13,
  507. },
  508. {
  509. monthName: "2025-12",
  510. quantity: 30,
  511. },
  512. {
  513. monthName: "2025-11",
  514. quantity: 20,
  515. },
  516. {
  517. monthName: "2025-10",
  518. quantity: 10,
  519. },
  520. {
  521. monthName: "2025-9",
  522. quantity: 50,
  523. },
  524. {
  525. monthName: "2025-8",
  526. quantity: 40,
  527. },
  528. {
  529. monthName: "2025-7",
  530. quantity: 110,
  531. },
  532. {
  533. monthName: "2025-6",
  534. quantity: 120,
  535. },
  536. {
  537. monthName: "2025-5",
  538. quantity: 220,
  539. },
  540. {
  541. monthName: "2025-4",
  542. quantity: 110,
  543. },
  544. {
  545. monthName: "2025-3",
  546. quantity: 10,
  547. },
  548. {
  549. monthName: "2025-2",
  550. quantity: 50,
  551. },
  552. ],
  553. },
  554. cfInventoryAgvBoardResponse: {
  555. completeQuantity: 25,
  556. incompleteQuantity: 30,
  557. agvTaskList: [
  558. {
  559. type: "成品下架",
  560. createTime: "2026-01-20 18:32:19",
  561. executeTime: "2026-01-20 18:32:20",
  562. endTime: "2026-01-20 18:32:25",
  563. agvName: "LeanwoAGV",
  564. status: "已完成",
  565. positionNo: "LT-1-2",
  566. positionEndNo: "SD-1-1",
  567. },
  568. {
  569. type: "料箱上架",
  570. createTime: "2026-01-20 18:31:53",
  571. executeTime: "2026-01-20 18:32:00",
  572. endTime: "2026-01-20 18:32:05",
  573. agvName: "LeanwoAGV",
  574. status: "已完成",
  575. positionNo: "SL-1-1",
  576. positionEndNo: "LT-1-2",
  577. },
  578. {
  579. type: "成品下架",
  580. createTime: "2026-01-20 18:30:31",
  581. executeTime: "2026-01-20 18:30:40",
  582. endTime: "2026-01-20 18:30:45",
  583. agvName: "LeanwoAGV",
  584. status: "已完成",
  585. positionNo: "LT-1-2",
  586. positionEndNo: "SD-1-1",
  587. },
  588. {
  589. type: "料箱上架",
  590. createTime: "2026-01-20 18:29:34",
  591. executeTime: "2026-01-20 18:29:40",
  592. endTime: "2026-01-20 18:29:45",
  593. agvName: "LeanwoAGV",
  594. status: "已完成",
  595. positionNo: "SL-1-1",
  596. positionEndNo: "LT-1-2",
  597. },
  598. {
  599. type: "成品下架",
  600. createTime: "2026-01-20 18:18:48",
  601. executeTime: "2026-01-20 18:19:00",
  602. endTime: "2026-01-20 18:26:02",
  603. agvName: "LeanwoAGV",
  604. status: "已完成",
  605. positionNo: "LT-1-2",
  606. positionEndNo: "SD-1-1",
  607. },
  608. {
  609. type: "料箱上架",
  610. createTime: "2026-01-20 18:17:04",
  611. executeTime: "2026-01-20 18:17:10",
  612. endTime: "2026-01-20 18:17:16",
  613. agvName: "LeanwoAGV",
  614. status: "已完成",
  615. positionNo: "SL-1-1",
  616. positionEndNo: "LT-1-2",
  617. },
  618. {
  619. type: "成品下架",
  620. createTime: "2026-01-20 18:05:38",
  621. executeTime: "2026-01-20 18:06:23",
  622. endTime: "2026-01-20 18:08:29",
  623. agvName: "LeanwoAGV",
  624. status: "已完成",
  625. positionNo: "LT-1-2",
  626. positionEndNo: "SD-1-1",
  627. },
  628. {
  629. type: "料箱上架",
  630. createTime: "2026-01-20 18:03:20",
  631. executeTime: "2026-01-20 18:03:30",
  632. endTime: "2026-01-20 18:03:36",
  633. agvName: "LeanwoAGV",
  634. status: "已完成",
  635. positionNo: "SL-1-1",
  636. positionEndNo: "LT-1-2",
  637. },
  638. {
  639. type: "成品下架",
  640. createTime: "2026-01-20 17:59:52",
  641. executeTime: "2026-01-20 18:00:00",
  642. endTime: "2026-01-20 18:00:05",
  643. agvName: "LeanwoAGV",
  644. status: "已完成",
  645. positionNo: "LT-1-2",
  646. positionEndNo: "SD-1-1",
  647. },
  648. {
  649. type: "料箱上架",
  650. createTime: "2026-01-20 17:57:24",
  651. executeTime: "2026-01-20 17:57:30",
  652. endTime: "2026-01-20 17:57:35",
  653. agvName: "LeanwoAGV",
  654. status: "已完成",
  655. positionNo: "SL-1-1",
  656. positionEndNo: "LT-1-2",
  657. },
  658. ],
  659. agvMonthTaskList: [
  660. {
  661. monthName: "2026-1",
  662. groundCount: 2,
  663. stereoscopicCount: 23,
  664. },
  665. {
  666. monthName: "2025-12",
  667. groundCount: 40,
  668. stereoscopicCount: 20,
  669. },
  670. {
  671. monthName: "2025-11",
  672. groundCount: 10,
  673. stereoscopicCount: 20,
  674. },
  675. {
  676. monthName: "2025-10",
  677. groundCount: 0,
  678. stereoscopicCount: 0,
  679. },
  680. {
  681. monthName: "2025-9",
  682. groundCount: 10,
  683. stereoscopicCount: 30,
  684. },
  685. {
  686. monthName: "2025-8",
  687. groundCount: 40,
  688. stereoscopicCount: 20,
  689. },
  690. {
  691. monthName: "2025-7",
  692. groundCount: 10,
  693. stereoscopicCount: 30,
  694. },
  695. {
  696. monthName: "2025-6",
  697. groundCount: 20,
  698. stereoscopicCount: 40,
  699. },
  700. {
  701. monthName: "2025-5",
  702. groundCount: 50,
  703. stereoscopicCount: 60,
  704. },
  705. {
  706. monthName: "2025-4",
  707. groundCount: 10,
  708. stereoscopicCount: 30,
  709. },
  710. {
  711. monthName: "2025-3",
  712. groundCount: 20,
  713. stereoscopicCount: 40,
  714. },
  715. {
  716. monthName: "2025-2",
  717. groundCount: 10,
  718. stereoscopicCount: 30,
  719. },
  720. ],
  721. },
  722. cfInventoryUseTimeBoardResponse: [
  723. {
  724. invName: "测试工装00002",
  725. invNo: "00002",
  726. type: "工装",
  727. useTime: "19天5时49分",
  728. },
  729. {
  730. invName: "测试工装00001",
  731. invNo: "00001",
  732. type: "工装",
  733. useTime: "18天22时48分",
  734. },
  735. {
  736. invName: "测试工装00015",
  737. invNo: "00015",
  738. type: "工装",
  739. useTime: "17天6时46分",
  740. },
  741. {
  742. invName: "工装101",
  743. invNo: "62255351027308800009",
  744. type: "工装",
  745. useTime: "15天2时23分",
  746. },
  747. {
  748. invName: "工装-1",
  749. invNo: "62255351027308800002",
  750. type: "工装",
  751. useTime: "3天22时31分",
  752. },
  753. ],
  754. },
  755. };