mock_data.dart 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230
  1. class MockData {
  2. static const Map<String,dynamic> yearly_confirm = {
  3. "data":true,"statusCode":"1","message":"ok"
  4. };
  5. static const List maintenance_options =
  6. [
  7. {
  8. "id": "1209384825601978370",
  9. "mtCompanyId": "2",
  10. "item": "维保项2",
  11. "content": "维保项内容2",
  12. "type": 1,
  13. "liftType": 1,
  14. "sort": 1,
  15. "status": 2,
  16. "signage": null
  17. },
  18. {
  19. "id": "1209387860721987585",
  20. "mtCompanyId": "2",
  21. "item": "维保项3",
  22. "content": "维保项内容3",
  23. "type": 1,
  24. "liftType": 1,
  25. "sort": 1,
  26. "status": 2,
  27. "signage": null
  28. }
  29. ];
  30. static const Map<String,dynamic> maintenance_record_info = {
  31. "workDate": "2016-07-09",
  32. "type": "1",
  33. "projectName": "水晶郦都二期",
  34. "devicePosition": "xxxxx路",
  35. };
  36. static const Map<String,dynamic> maintenance_list = {
  37. "pageNum": 1,
  38. "pageCount": 2,
  39. "total": 13,
  40. "pageSize": 10,
  41. "hasNext": true,
  42. "hasPrev": false,
  43. "rows": [
  44. {
  45. "projectName": "黄陂农商行",
  46. "planId": "1001108145696",
  47. "recordId": "1001109100679",
  48. "liftId": "1001105100667",
  49. "coordinate": "114.375134,30.881101",
  50. "registrationCode": "30104201162001083062 ",
  51. "useCompanyCode": "lallalala",
  52. "liftType": 1,
  53. "workerName": "任佳辉",
  54. "planDate": "2016-07-26",
  55. "maintenanceType": "1",
  56. "status": "4"
  57. }
  58. ]
  59. };
  60. static const Map<String,dynamic> repair_stop = {
  61. "data":true,"statusCode":"1","message":"急修中的才能停梯"
  62. };
  63. static const Map<String,dynamic> repair_arrive = {
  64. "data":true,"statusCode":"1","message":"急修中的才能到达"
  65. };
  66. static const Map<String,dynamic> repair_taking = {
  67. "data":true,"statusCode":"1","message":"待急修的才能接单"
  68. };
  69. static const Map<String, dynamic> repair_list = {
  70. "pageNum": 1,
  71. "pageCount": 495,
  72. "total": 4950,
  73. "pageSize": 10,
  74. "hasNext": true,
  75. "hasPrev": false,
  76. "rows": [
  77. {
  78. "id": "1001111100001",
  79. "mtCompanyId": "1001102100000",
  80. "liftId": "1001105100002",
  81. "isTrapped": 1,
  82. "isCritical": 0,
  83. "callerFaultDescription": "门关不上",
  84. "source": 1,
  85. "callerId": null,
  86. "callerTel": null,
  87. "callerDate": "2016-06-28 23:42:16",
  88. "stopDate": "",
  89. "recoveryDate": "",
  90. "sparepart": "无",
  91. "charge": "无",
  92. "workerFaultDescription": "门关不上",
  93. "fieldDescription": "门关不上",
  94. "repairProcedure": "很顺利,有异物卡住了",
  95. "workerId": "1001101100005",
  96. "workerTel": "13545213172",
  97. "position": "邱志文人工急修测试",
  98. "status": 4,
  99. "creatorId": "1001101100005",
  100. "createDate": "2016-06-28 23:42:16",
  101. "repairReason": 0,
  102. "partsCost": null,
  103. "safetyConfirm": null,
  104. "readTime": null,
  105. "workerId1": "1001101100005",
  106. "wlFloor": null,
  107. "wlLiftdoor": null,
  108. "wlFault": null,
  109. "wlFaultReason": null,
  110. "wlFaultHandle": null,
  111. "wlRunDirection": null,
  112. "costTotal": null,
  113. "projectId": null,
  114. "areaName": null,
  115. "projectName": null,
  116. "registrationCode": null,
  117. "devicePosition": null,
  118. "callName": null,
  119. "workerName": "邱志文",
  120. "createName": null,
  121. "liftCompanyStatus": null,
  122. "repairDiff": 193,
  123. "repairDuration": "0秒"
  124. }
  125. ]
  126. };
  127. static const Map<String, dynamic> yearly_list = {
  128. "pageNum": 1,
  129. "pageCount": 2,
  130. "total": 15,
  131. "pageSize": 10,
  132. "hasNext": true,
  133. "hasPrev": false,
  134. "rows": [
  135. {
  136. "id": "1001112100640",
  137. "liftId": "1001105100717",
  138. "mtCompanyId": "1001102100000",
  139. "planDate": "2016-07-01 08:00:00",
  140. "isCheckGoverner": false,
  141. "loadInspectionSetting": false,
  142. "finishTime": "",
  143. "certificateImgUrl": "",
  144. "inspector": "",
  145. "telephone": "",
  146. "operator": "",
  147. "creatorId": "1001101100004",
  148. "createDate": "2016-07-04 23:53:39",
  149. "status": 0,
  150. "nextInspectionTime": "",
  151. "selfcheckReportImg": "",
  152. "selfcheckDate": "",
  153. "checkResultImg": "",
  154. "checkDate": "",
  155. "annualInspectionImg": "",
  156. "stepStatus": 0,
  157. "stepName": 0,
  158. "areaName": "区域2",
  159. "projectName": "水晶郦都二期",
  160. "registrationCode": "",
  161. "liftCode": "",
  162. "devicePosition": "",
  163. "workerName": "罗小东",
  164. "directorName": "邱志文"
  165. } ,
  166. {
  167. "id": "1001112100640",
  168. "liftId": "1001105100717",
  169. "mtCompanyId": "1001102100000",
  170. "planDate": "2016-07-01 08:00:00",
  171. "isCheckGoverner": false,
  172. "loadInspectionSetting": false,
  173. "finishTime": "",
  174. "certificateImgUrl": "",
  175. "inspector": "",
  176. "telephone": "",
  177. "operator": "",
  178. "creatorId": "1001101100004",
  179. "createDate": "2016-07-04 23:53:39",
  180. "status": 1,
  181. "nextInspectionTime": "",
  182. "selfcheckReportImg": "",
  183. "selfcheckDate": "",
  184. "checkResultImg": "",
  185. "checkDate": "",
  186. "annualInspectionImg": "",
  187. "stepStatus": 0,
  188. "stepName": 0,
  189. "areaName": "区域2",
  190. "projectName": "水晶郦都二期",
  191. "registrationCode": "",
  192. "liftCode": "",
  193. "devicePosition": "",
  194. "workerName": "罗小东",
  195. "directorName": "邱志文"
  196. },
  197. {
  198. "id": "1001112100640",
  199. "liftId": "1001105100717",
  200. "mtCompanyId": "1001102100000",
  201. "planDate": "2016-07-01 08:00:00",
  202. "isCheckGoverner": false,
  203. "loadInspectionSetting": false,
  204. "finishTime": "",
  205. "certificateImgUrl": "",
  206. "inspector": "",
  207. "telephone": "",
  208. "operator": "",
  209. "creatorId": "1001101100004",
  210. "createDate": "2016-07-04 23:53:39",
  211. "status": 2,
  212. "nextInspectionTime": "",
  213. "selfcheckReportImg": "",
  214. "selfcheckDate": "",
  215. "checkResultImg": "",
  216. "checkDate": "",
  217. "annualInspectionImg": "",
  218. "stepStatus": 0,
  219. "stepName": 0,
  220. "areaName": "区域2",
  221. "projectName": "水晶郦都二期",
  222. "registrationCode": "",
  223. "liftCode": "",
  224. "devicePosition": "",
  225. "workerName": "罗小东",
  226. "directorName": "邱志文"
  227. }
  228. ]
  229. };
  230. }