@vtx/modals2 5.0.47 → 5.0.49

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -172,17 +172,40 @@ export var BaseService = {
172
172
  todayRunRes: (todayRunRes === null || todayRunRes === void 0 ? void 0 : todayRunRes.data) || {},
173
173
  loading: loading
174
174
  };
175
+ },
176
+ useGetSetInfo: function useGetSetInfo() {
177
+ var _useRequest10 = useRequest( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
178
+ var res;
179
+ return _regeneratorRuntime().wrap(function _callee$(_context) {
180
+ while (1) switch (_context.prev = _context.next) {
181
+ case 0:
182
+ _context.next = 2;
183
+ return http.get("".concat(prefix, "/cloud/gps-reborn/gps/constant/set/getSetInfo"));
184
+ case 2:
185
+ res = _context.sent;
186
+ return _context.abrupt("return", (res === null || res === void 0 ? void 0 : res.data) || {});
187
+ case 4:
188
+ case "end":
189
+ return _context.stop();
190
+ }
191
+ }, _callee);
192
+ }))),
193
+ _useRequest10$data = _useRequest10.data,
194
+ setInfo = _useRequest10$data === void 0 ? {} : _useRequest10$data;
195
+ return {
196
+ setInfo: setInfo
197
+ };
175
198
  }
176
199
  };
177
200
  export var CcService = {
178
201
  useTaskInfo: function useTaskInfo(carCode, day) {
179
- var _useRequest10 = useRequest( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
202
+ var _useRequest11 = useRequest( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
180
203
  var _res$data;
181
204
  var res;
182
- return _regeneratorRuntime().wrap(function _callee$(_context) {
183
- while (1) switch (_context.prev = _context.next) {
205
+ return _regeneratorRuntime().wrap(function _callee2$(_context2) {
206
+ while (1) switch (_context2.prev = _context2.next) {
184
207
  case 0:
185
- _context.next = 2;
208
+ _context2.next = 2;
186
209
  return http.get("".concat(prefix, "/cloud/cc-reborn/api/v101/kanban/kanbanTaskDetailList"), {
187
210
  body: {
188
211
  carCode: carCode,
@@ -192,35 +215,35 @@ export var CcService = {
192
215
  }
193
216
  });
194
217
  case 2:
195
- res = _context.sent;
196
- return _context.abrupt("return", (res === null || res === void 0 || (_res$data = res.data) === null || _res$data === void 0 || (_res$data = _res$data.rows) === null || _res$data === void 0 ? void 0 : _res$data[0]) || {});
218
+ res = _context2.sent;
219
+ return _context2.abrupt("return", (res === null || res === void 0 || (_res$data = res.data) === null || _res$data === void 0 || (_res$data = _res$data.rows) === null || _res$data === void 0 ? void 0 : _res$data[0]) || {});
197
220
  case 4:
198
221
  case "end":
199
- return _context.stop();
222
+ return _context2.stop();
200
223
  }
201
- }, _callee);
224
+ }, _callee2);
202
225
  })), {
203
226
  refreshDeps: [carCode, day],
204
227
  ready: !!carCode
205
228
  }),
206
- _useRequest10$data = _useRequest10.data,
207
- data = _useRequest10$data === void 0 ? {} : _useRequest10$data,
208
- loading = _useRequest10.loading;
229
+ _useRequest11$data = _useRequest11.data,
230
+ data = _useRequest11$data === void 0 ? {} : _useRequest11$data,
231
+ loading = _useRequest11.loading;
209
232
  return {
210
233
  taskInfo: data,
211
234
  loading: loading
212
235
  };
213
236
  },
214
- useTaskDaySummary: function useTaskDaySummary(_ref2) {
215
- var carId = _ref2.carId,
216
- startDay = _ref2.startDay,
217
- endDay = _ref2.endDay;
218
- var _useRequest11 = useRequest( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
237
+ useTaskDaySummary: function useTaskDaySummary(_ref3) {
238
+ var carId = _ref3.carId,
239
+ startDay = _ref3.startDay,
240
+ endDay = _ref3.endDay;
241
+ var _useRequest12 = useRequest( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3() {
219
242
  var res;
220
- return _regeneratorRuntime().wrap(function _callee2$(_context2) {
221
- while (1) switch (_context2.prev = _context2.next) {
243
+ return _regeneratorRuntime().wrap(function _callee3$(_context3) {
244
+ while (1) switch (_context3.prev = _context3.next) {
222
245
  case 0:
223
- _context2.next = 2;
246
+ _context3.next = 2;
224
247
  return http.get("".concat(prefix, "/cloud/cc-reborn/api/v101/jsc/carTaskDaySummary"), {
225
248
  body: {
226
249
  carId: carId,
@@ -229,32 +252,32 @@ export var CcService = {
229
252
  }
230
253
  });
231
254
  case 2:
232
- res = _context2.sent;
233
- return _context2.abrupt("return", (res === null || res === void 0 ? void 0 : res.data) || []);
255
+ res = _context3.sent;
256
+ return _context3.abrupt("return", (res === null || res === void 0 ? void 0 : res.data) || []);
234
257
  case 4:
235
258
  case "end":
236
- return _context2.stop();
259
+ return _context3.stop();
237
260
  }
238
- }, _callee2);
261
+ }, _callee3);
239
262
  })), {
240
263
  refreshDeps: [carId, startDay, endDay],
241
264
  ready: !!carId
242
265
  }),
243
- _useRequest11$data = _useRequest11.data,
244
- data = _useRequest11$data === void 0 ? [] : _useRequest11$data,
245
- loading = _useRequest11.loading;
266
+ _useRequest12$data = _useRequest12.data,
267
+ data = _useRequest12$data === void 0 ? [] : _useRequest12$data,
268
+ loading = _useRequest12.loading;
246
269
  return {
247
270
  taskDaySummary: data,
248
271
  loading: loading
249
272
  };
250
273
  },
251
274
  useGetOrderPage: function useGetOrderPage(carCode, startDay, endDay, page) {
252
- var _useRequest12 = useRequest( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3() {
275
+ var _useRequest13 = useRequest( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee4() {
253
276
  var res;
254
- return _regeneratorRuntime().wrap(function _callee3$(_context3) {
255
- while (1) switch (_context3.prev = _context3.next) {
277
+ return _regeneratorRuntime().wrap(function _callee4$(_context4) {
278
+ while (1) switch (_context4.prev = _context4.next) {
256
279
  case 0:
257
- _context3.next = 2;
280
+ _context4.next = 2;
258
281
  return http.get("".concat(prefix, "/cloud/cc-reborn/api/v101/draftDisposeUnit/page"), {
259
282
  body: {
260
283
  carCode: carCode,
@@ -265,32 +288,32 @@ export var CcService = {
265
288
  }
266
289
  });
267
290
  case 2:
268
- res = _context3.sent;
269
- return _context3.abrupt("return", (res === null || res === void 0 ? void 0 : res.data) || {});
291
+ res = _context4.sent;
292
+ return _context4.abrupt("return", (res === null || res === void 0 ? void 0 : res.data) || {});
270
293
  case 4:
271
294
  case "end":
272
- return _context3.stop();
295
+ return _context4.stop();
273
296
  }
274
- }, _callee3);
297
+ }, _callee4);
275
298
  })), {
276
299
  refreshDeps: [carCode, startDay, endDay, page],
277
300
  ready: !!carCode
278
301
  }),
279
- _useRequest12$data = _useRequest12.data,
280
- data = _useRequest12$data === void 0 ? [] : _useRequest12$data,
281
- loading = _useRequest12.loading;
302
+ _useRequest13$data = _useRequest13.data,
303
+ data = _useRequest13$data === void 0 ? [] : _useRequest13$data,
304
+ loading = _useRequest13.loading;
282
305
  return {
283
306
  orderPage: data,
284
307
  loading: loading
285
308
  };
286
309
  },
287
310
  useWeightList: function useWeightList(carId, queryStartTime, queryEndTime) {
288
- var _useRequest13 = useRequest( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee4() {
311
+ var _useRequest14 = useRequest( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee5() {
289
312
  var res;
290
- return _regeneratorRuntime().wrap(function _callee4$(_context4) {
291
- while (1) switch (_context4.prev = _context4.next) {
313
+ return _regeneratorRuntime().wrap(function _callee5$(_context5) {
314
+ while (1) switch (_context5.prev = _context5.next) {
292
315
  case 0:
293
- _context4.next = 2;
316
+ _context5.next = 2;
294
317
  return http.get("".concat(prefix, "/cloud/cc-reborn/api/v101/rtCarDataDetail/list"), {
295
318
  body: {
296
319
  carId: carId,
@@ -299,34 +322,34 @@ export var CcService = {
299
322
  }
300
323
  });
301
324
  case 2:
302
- res = _context4.sent;
303
- return _context4.abrupt("return", (res === null || res === void 0 ? void 0 : res.data) || []);
325
+ res = _context5.sent;
326
+ return _context5.abrupt("return", (res === null || res === void 0 ? void 0 : res.data) || []);
304
327
  case 4:
305
328
  case "end":
306
- return _context4.stop();
329
+ return _context5.stop();
307
330
  }
308
- }, _callee4);
331
+ }, _callee5);
309
332
  })), {
310
333
  refreshDeps: [carId, queryStartTime, queryEndTime],
311
334
  ready: !!carId
312
335
  }),
313
- _useRequest13$data = _useRequest13.data,
314
- data = _useRequest13$data === void 0 ? [] : _useRequest13$data;
336
+ _useRequest14$data = _useRequest14.data,
337
+ data = _useRequest14$data === void 0 ? [] : _useRequest14$data;
315
338
  return {
316
339
  weightList: data
317
340
  };
318
341
  },
319
- useWeightPage: function useWeightPage(_ref6) {
320
- var carId = _ref6.carId,
321
- queryStartTime = _ref6.queryStartTime,
322
- queryEndTime = _ref6.queryEndTime,
323
- page = _ref6.page;
324
- var _useRequest14 = useRequest( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee5() {
342
+ useWeightPage: function useWeightPage(_ref7) {
343
+ var carId = _ref7.carId,
344
+ queryStartTime = _ref7.queryStartTime,
345
+ queryEndTime = _ref7.queryEndTime,
346
+ page = _ref7.page;
347
+ var _useRequest15 = useRequest( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee6() {
325
348
  var res;
326
- return _regeneratorRuntime().wrap(function _callee5$(_context5) {
327
- while (1) switch (_context5.prev = _context5.next) {
349
+ return _regeneratorRuntime().wrap(function _callee6$(_context6) {
350
+ while (1) switch (_context6.prev = _context6.next) {
328
351
  case 0:
329
- _context5.next = 2;
352
+ _context6.next = 2;
330
353
  return http.get("".concat(prefix, "/cloud/cc-reborn/api/v101/rtCarDataDetail/page"), {
331
354
  body: {
332
355
  carId: carId,
@@ -337,33 +360,33 @@ export var CcService = {
337
360
  }
338
361
  });
339
362
  case 2:
340
- res = _context5.sent;
341
- return _context5.abrupt("return", (res === null || res === void 0 ? void 0 : res.data) || {});
363
+ res = _context6.sent;
364
+ return _context6.abrupt("return", (res === null || res === void 0 ? void 0 : res.data) || {});
342
365
  case 4:
343
366
  case "end":
344
- return _context5.stop();
367
+ return _context6.stop();
345
368
  }
346
- }, _callee5);
369
+ }, _callee6);
347
370
  })), {
348
371
  refreshDeps: [carId, queryStartTime, queryEndTime, page],
349
372
  ready: !!carId
350
373
  }),
351
- _useRequest14$data = _useRequest14.data,
352
- data = _useRequest14$data === void 0 ? {} : _useRequest14$data;
374
+ _useRequest15$data = _useRequest15.data,
375
+ data = _useRequest15$data === void 0 ? {} : _useRequest15$data;
353
376
  return {
354
377
  weightData: data
355
378
  };
356
379
  },
357
- useGetAbnormalSummary: function useGetAbnormalSummary(_ref8) {
358
- var objectId = _ref8.objectId,
359
- startDay = _ref8.startDay,
360
- endDay = _ref8.endDay;
361
- var _useRequest15 = useRequest( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee6() {
380
+ useGetAbnormalSummary: function useGetAbnormalSummary(_ref9) {
381
+ var objectId = _ref9.objectId,
382
+ startDay = _ref9.startDay,
383
+ endDay = _ref9.endDay;
384
+ var _useRequest16 = useRequest( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee7() {
362
385
  var res;
363
- return _regeneratorRuntime().wrap(function _callee6$(_context6) {
364
- while (1) switch (_context6.prev = _context6.next) {
386
+ return _regeneratorRuntime().wrap(function _callee7$(_context7) {
387
+ while (1) switch (_context7.prev = _context7.next) {
365
388
  case 0:
366
- _context6.next = 2;
389
+ _context7.next = 2;
367
390
  return http.get("".concat(prefix, "/cloud/cc-reborn/api/v101/abnormalEventRecord/getAbnormalSummaryNums"), {
368
391
  body: {
369
392
  objectId: objectId,
@@ -373,32 +396,32 @@ export var CcService = {
373
396
  }
374
397
  });
375
398
  case 2:
376
- res = _context6.sent;
377
- return _context6.abrupt("return", (res === null || res === void 0 ? void 0 : res.data) || []);
399
+ res = _context7.sent;
400
+ return _context7.abrupt("return", (res === null || res === void 0 ? void 0 : res.data) || []);
378
401
  case 4:
379
402
  case "end":
380
- return _context6.stop();
403
+ return _context7.stop();
381
404
  }
382
- }, _callee6);
405
+ }, _callee7);
383
406
  })), {
384
407
  refreshDeps: [objectId, startDay, endDay],
385
408
  ready: !!objectId
386
409
  }),
387
- _useRequest15$data = _useRequest15.data,
388
- data = _useRequest15$data === void 0 ? [] : _useRequest15$data,
389
- loading = _useRequest15.loading;
410
+ _useRequest16$data = _useRequest16.data,
411
+ data = _useRequest16$data === void 0 ? [] : _useRequest16$data,
412
+ loading = _useRequest16.loading;
390
413
  return {
391
414
  summaryData: data,
392
415
  loading: loading
393
416
  };
394
417
  },
395
- useAlarmList: function useAlarmList(_ref10) {
396
- var alarmObjId = _ref10.alarmObjId,
397
- queryStartTime = _ref10.queryStartTime,
398
- queryEndTime = _ref10.queryEndTime,
399
- page = _ref10.page,
400
- sort = _ref10.sort;
401
- var _useRequest16 = useRequest(function () {
418
+ useAlarmList: function useAlarmList(_ref11) {
419
+ var alarmObjId = _ref11.alarmObjId,
420
+ queryStartTime = _ref11.queryStartTime,
421
+ queryEndTime = _ref11.queryEndTime,
422
+ page = _ref11.page,
423
+ sort = _ref11.sort;
424
+ var _useRequest17 = useRequest(function () {
402
425
  return http.get("".concat(prefix, "/cloud/cc-reborn/api/v101/abnormalEventRecord/page"), {
403
426
  body: {
404
427
  alarmObjId: alarmObjId,
@@ -413,8 +436,8 @@ export var CcService = {
413
436
  ready: !!alarmObjId,
414
437
  refreshDeps: [alarmObjId, queryStartTime, queryEndTime, page, sort]
415
438
  }),
416
- recordRes = _useRequest16.data,
417
- loading = _useRequest16.loading;
439
+ recordRes = _useRequest17.data,
440
+ loading = _useRequest17.loading;
418
441
  return {
419
442
  alarmRecord: (recordRes === null || recordRes === void 0 ? void 0 : recordRes.data) || {},
420
443
  loading: loading
@@ -424,7 +447,7 @@ export var CcService = {
424
447
  export var JxhService = {
425
448
  useWorkSummaryJxh: function useWorkSummaryJxh(carId, startDate, endDate) {
426
449
  //机械化作业统计
427
- var _useRequest17 = useRequest(function () {
450
+ var _useRequest18 = useRequest(function () {
428
451
  return http.get("".concat(prefix, "/cloud/zyqs-zqb/api/kanban/workInfoStatisticsByCarId"), {
429
452
  body: {
430
453
  carId: carId,
@@ -436,8 +459,8 @@ export var JxhService = {
436
459
  }, {
437
460
  refreshDeps: [carId, startDate, endDate]
438
461
  }),
439
- workSummaryJxhRes = _useRequest17.data,
440
- loading = _useRequest17.loading;
462
+ workSummaryJxhRes = _useRequest18.data,
463
+ loading = _useRequest18.loading;
441
464
  return {
442
465
  workSummaryJxhRes: (workSummaryJxhRes === null || workSummaryJxhRes === void 0 ? void 0 : workSummaryJxhRes.data) || {},
443
466
  loading: loading
@@ -445,7 +468,7 @@ export var JxhService = {
445
468
  },
446
469
  useWorkAnaJxh: function useWorkAnaJxh(carId, startDate, endDate) {
447
470
  //机械化作业分析
448
- var _useRequest18 = useRequest(function () {
471
+ var _useRequest19 = useRequest(function () {
449
472
  return http.get("".concat(prefix, "/cloud/zyqs-zqb/api/kanban/workInfoAnalysisByCarId"), {
450
473
  body: {
451
474
  carId: carId,
@@ -456,8 +479,8 @@ export var JxhService = {
456
479
  }, {
457
480
  refreshDeps: [carId, startDate, endDate]
458
481
  }),
459
- workAnaJxhRes = _useRequest18.data,
460
- loading = _useRequest18.loading;
482
+ workAnaJxhRes = _useRequest19.data,
483
+ loading = _useRequest19.loading;
461
484
  return {
462
485
  workAnaJxhRes: (workAnaJxhRes === null || workAnaJxhRes === void 0 ? void 0 : workAnaJxhRes.data) || [],
463
486
  loading: loading
@@ -465,7 +488,7 @@ export var JxhService = {
465
488
  },
466
489
  useCarWorkDailyReport: function useCarWorkDailyReport(carId, startDate, endDate) {
467
490
  //机械化作业类型
468
- var _useRequest19 = useRequest(function () {
491
+ var _useRequest20 = useRequest(function () {
469
492
  return http.get("".concat(prefix, "/cloud/zyqs-zqb/api/np/noshift/report/carWorkDailyReport"), {
470
493
  body: {
471
494
  carIds: carId,
@@ -477,8 +500,8 @@ export var JxhService = {
477
500
  ready: !!startDate && !!endDate && !!carId,
478
501
  refreshDeps: [startDate, endDate, carId]
479
502
  }),
480
- dailyDataRes = _useRequest19.data,
481
- loading = _useRequest19.loading;
503
+ dailyDataRes = _useRequest20.data,
504
+ loading = _useRequest20.loading;
482
505
  return {
483
506
  dailyData: ((dailyDataRes === null || dailyDataRes === void 0 ? void 0 : dailyDataRes.data) || []).map(function (item) {
484
507
  var percent = item.workMileage / item.driveMileage * 100;
@@ -491,7 +514,7 @@ export var JxhService = {
491
514
  },
492
515
  useRecordJxh: function useRecordJxh(carId, workTypeCodes, startDate, endDate, pageNo, order) {
493
516
  //机械化
494
- var _useRequest20 = useRequest(function () {
517
+ var _useRequest21 = useRequest(function () {
495
518
  return http.get("".concat(prefix, "/cloud/zyqs-zqb/api/v1.5/noshift/page"), {
496
519
  body: {
497
520
  carId: carId,
@@ -509,8 +532,8 @@ export var JxhService = {
509
532
  }, {
510
533
  refreshDeps: [carId, workTypeCodes, startDate, endDate, pageNo, order]
511
534
  }),
512
- recordJxhRes = _useRequest20.data,
513
- loading = _useRequest20.loading;
535
+ recordJxhRes = _useRequest21.data,
536
+ loading = _useRequest21.loading;
514
537
  return {
515
538
  recordJxhRes: (recordJxhRes === null || recordJxhRes === void 0 ? void 0 : recordJxhRes.data) || [],
516
539
  loading: loading
@@ -518,20 +541,20 @@ export var JxhService = {
518
541
  },
519
542
  useWorkTypeJxh: function useWorkTypeJxh() {
520
543
  //机械化作业类型
521
- var _useRequest21 = useRequest(function () {
544
+ var _useRequest22 = useRequest(function () {
522
545
  return http.get("".concat(prefix, "/cloud/zyqs-zqb/api/v101/common/listWorkType"), {
523
546
  body: {
524
547
  tenantId: getVtxToken('tenantId')
525
548
  }
526
549
  });
527
550
  }),
528
- workTypeRes = _useRequest21.data;
551
+ workTypeRes = _useRequest22.data;
529
552
  return {
530
553
  workTypeRes: (workTypeRes === null || workTypeRes === void 0 ? void 0 : workTypeRes.data) || []
531
554
  };
532
555
  },
533
556
  useJXHAlarmStatistics: function useJXHAlarmStatistics(carIds, startDate, endDate) {
534
- var _useRequest22 = useRequest(function () {
557
+ var _useRequest23 = useRequest(function () {
535
558
  return http.get("".concat(prefix, "/cloud/zyqs-zqb/api/noshift/event/statistics"), {
536
559
  body: {
537
560
  carIds: carIds,
@@ -544,15 +567,15 @@ export var JxhService = {
544
567
  }, {
545
568
  refreshDeps: [carIds, startDate, endDate]
546
569
  }),
547
- alarmTypesRes = _useRequest22.data,
548
- loading = _useRequest22.loading;
570
+ alarmTypesRes = _useRequest23.data,
571
+ loading = _useRequest23.loading;
549
572
  return {
550
573
  alarmTypes: (alarmTypesRes === null || alarmTypesRes === void 0 ? void 0 : alarmTypesRes.data) || {},
551
574
  loading: loading
552
575
  };
553
576
  },
554
577
  useSingleCarAlarmStatistics: function useSingleCarAlarmStatistics(carId, startTime, endTime) {
555
- var _useRequest23 = useRequest(function () {
578
+ var _useRequest24 = useRequest(function () {
556
579
  return http.get("".concat(prefix, "/cloud/zyqs-zqb/api/noshift/event/singleCarAlarmStatistic"), {
557
580
  body: {
558
581
  carId: carId,
@@ -563,15 +586,15 @@ export var JxhService = {
563
586
  }, {
564
587
  refreshDeps: [carId, startTime, endTime]
565
588
  }),
566
- alarmTypesRes = _useRequest23.data,
567
- loading = _useRequest23.loading;
589
+ alarmTypesRes = _useRequest24.data,
590
+ loading = _useRequest24.loading;
568
591
  return {
569
592
  alarmStatistic: (alarmTypesRes === null || alarmTypesRes === void 0 ? void 0 : alarmTypesRes.data) || {},
570
593
  loading: loading
571
594
  };
572
595
  },
573
596
  useJXHAlarmList: function useJXHAlarmList(carIds, startDate, endDate, page, sort) {
574
- var _useRequest24 = useRequest(function () {
597
+ var _useRequest25 = useRequest(function () {
575
598
  return http.get("".concat(prefix, "/cloud/zyqs-zqb/api/noshift/event/page"), {
576
599
  body: {
577
600
  carIds: carIds,
@@ -587,8 +610,8 @@ export var JxhService = {
587
610
  }, {
588
611
  refreshDeps: [carIds, startDate, endDate, sort, page]
589
612
  }),
590
- alarmRecordRes = _useRequest24.data,
591
- loading = _useRequest24.loading;
613
+ alarmRecordRes = _useRequest25.data,
614
+ loading = _useRequest25.loading;
592
615
  return {
593
616
  alarmRecord: (alarmRecordRes === null || alarmRecordRes === void 0 ? void 0 : alarmRecordRes.data) || {},
594
617
  loading: loading
@@ -597,10 +620,10 @@ export var JxhService = {
597
620
  };
598
621
  export var LjsyService = {
599
622
  useConfig: function useConfig() {
600
- var _useRequest25 = useRequest(function () {
623
+ var _useRequest26 = useRequest(function () {
601
624
  return http.get("".concat(prefix, "/cloud/ljsy-reborn/api/param/config/webList"));
602
625
  }),
603
- config = _useRequest25.data;
626
+ config = _useRequest26.data;
604
627
  var paramConfigsList = {};
605
628
  if (config !== null && config !== void 0 && config.data) {
606
629
  var _config$data;
@@ -611,7 +634,7 @@ export var LjsyService = {
611
634
  return paramConfigsList;
612
635
  },
613
636
  useSYCarInfo: function useSYCarInfo(id, date) {
614
- var _useRequest26 = useRequest(function () {
637
+ var _useRequest27 = useRequest(function () {
615
638
  return http.get("".concat(prefix, "/cloud/ljsy-reborn/api/gis/map/car/info"), {
616
639
  body: {
617
640
  carId: id,
@@ -621,18 +644,18 @@ export var LjsyService = {
621
644
  }, {
622
645
  refreshDeps: [id, date]
623
646
  }),
624
- syInfoRes = _useRequest26.data,
625
- loading = _useRequest26.loading;
647
+ syInfoRes = _useRequest27.data,
648
+ loading = _useRequest27.loading;
626
649
  return {
627
650
  syInfo: syInfoRes === null || syInfoRes === void 0 ? void 0 : syInfoRes.data,
628
651
  loading: loading
629
652
  };
630
653
  },
631
- useGetWorkInfo: function useGetWorkInfo(_ref11) {
632
- var carId = _ref11.carId,
633
- startDate = _ref11.startDate,
634
- endDate = _ref11.endDate;
635
- var _useRequest27 = useRequest(function () {
654
+ useGetWorkInfo: function useGetWorkInfo(_ref12) {
655
+ var carId = _ref12.carId,
656
+ startDate = _ref12.startDate,
657
+ endDate = _ref12.endDate;
658
+ var _useRequest28 = useRequest(function () {
636
659
  return http.get("".concat(prefix, "/cloud/ljsy-reborn/api/kanban/getWorkInfoByCarIdDate"), {
637
660
  body: {
638
661
  carId: carId,
@@ -643,20 +666,20 @@ export var LjsyService = {
643
666
  }, {
644
667
  refreshDeps: [carId, startDate, endDate]
645
668
  }),
646
- data = _useRequest27.data,
647
- loading = _useRequest27.loading;
669
+ data = _useRequest28.data,
670
+ loading = _useRequest28.loading;
648
671
  return {
649
672
  taskDaySummary: (data === null || data === void 0 ? void 0 : data.data) || [],
650
673
  loading: loading
651
674
  };
652
675
  },
653
- useAlarmList: function useAlarmList(_ref12) {
654
- var carId = _ref12.carId,
655
- startDate = _ref12.startDate,
656
- endDate = _ref12.endDate,
657
- page = _ref12.page,
658
- sort = _ref12.sort;
659
- var _useRequest28 = useRequest(function () {
676
+ useAlarmList: function useAlarmList(_ref13) {
677
+ var carId = _ref13.carId,
678
+ startDate = _ref13.startDate,
679
+ endDate = _ref13.endDate,
680
+ page = _ref13.page,
681
+ sort = _ref13.sort;
682
+ var _useRequest29 = useRequest(function () {
660
683
  return http.get("".concat(prefix, "/cloud/ljsy-reborn/api/kanban/getAlarmDetailByCarId"), {
661
684
  body: {
662
685
  carId: carId,
@@ -671,18 +694,18 @@ export var LjsyService = {
671
694
  ready: !!carId,
672
695
  refreshDeps: [carId, startDate, endDate, page, sort]
673
696
  }),
674
- recordRes = _useRequest28.data,
675
- loading = _useRequest28.loading;
697
+ recordRes = _useRequest29.data,
698
+ loading = _useRequest29.loading;
676
699
  return {
677
700
  alarmRecord: (recordRes === null || recordRes === void 0 ? void 0 : recordRes.data) || {},
678
701
  loading: loading
679
702
  };
680
703
  },
681
- useGetWorkInfoAnalysis: function useGetWorkInfoAnalysis(_ref13) {
682
- var carId = _ref13.carId,
683
- startDate = _ref13.startDate,
684
- endDate = _ref13.endDate;
685
- var _useRequest29 = useRequest(function () {
704
+ useGetWorkInfoAnalysis: function useGetWorkInfoAnalysis(_ref14) {
705
+ var carId = _ref14.carId,
706
+ startDate = _ref14.startDate,
707
+ endDate = _ref14.endDate;
708
+ var _useRequest30 = useRequest(function () {
686
709
  return http.get("".concat(prefix, "/cloud/ljsy-reborn/api/kanban/getWorkInfoAnalysisByCarId"), {
687
710
  body: {
688
711
  carId: carId,
@@ -693,18 +716,18 @@ export var LjsyService = {
693
716
  }, {
694
717
  refreshDeps: [carId, startDate, endDate]
695
718
  }),
696
- data = _useRequest29.data,
697
- loading = _useRequest29.loading;
719
+ data = _useRequest30.data,
720
+ loading = _useRequest30.loading;
698
721
  return {
699
722
  workInfoAnalysis: (data === null || data === void 0 ? void 0 : data.data) || {},
700
723
  loading: loading
701
724
  };
702
725
  },
703
- useGetAlarmInfo: function useGetAlarmInfo(_ref14) {
704
- var carId = _ref14.carId,
705
- startDate = _ref14.startDate,
706
- endDate = _ref14.endDate;
707
- var _useRequest30 = useRequest(function () {
726
+ useGetAlarmInfo: function useGetAlarmInfo(_ref15) {
727
+ var carId = _ref15.carId,
728
+ startDate = _ref15.startDate,
729
+ endDate = _ref15.endDate;
730
+ var _useRequest31 = useRequest(function () {
708
731
  return http.get("".concat(prefix, "/cloud/ljsy-reborn/api/kanban/getAlarmInfoByCarId"), {
709
732
  body: {
710
733
  carId: carId,
@@ -715,18 +738,18 @@ export var LjsyService = {
715
738
  }, {
716
739
  refreshDeps: [carId, startDate, endDate]
717
740
  }),
718
- data = _useRequest30.data,
719
- loading = _useRequest30.loading;
741
+ data = _useRequest31.data,
742
+ loading = _useRequest31.loading;
720
743
  return {
721
744
  alarmInfo: (data === null || data === void 0 ? void 0 : data.data) || [],
722
745
  loading: loading
723
746
  };
724
747
  },
725
- useGetAlarmInfoAnalysis: function useGetAlarmInfoAnalysis(_ref15) {
726
- var carId = _ref15.carId,
727
- startDate = _ref15.startDate,
728
- endDate = _ref15.endDate;
729
- var _useRequest31 = useRequest(function () {
748
+ useGetAlarmInfoAnalysis: function useGetAlarmInfoAnalysis(_ref16) {
749
+ var carId = _ref16.carId,
750
+ startDate = _ref16.startDate,
751
+ endDate = _ref16.endDate;
752
+ var _useRequest32 = useRequest(function () {
730
753
  return http.get("".concat(prefix, "/cloud/ljsy-reborn/api/kanban/getAlarmInfoAnalysisByCarId"), {
731
754
  body: {
732
755
  carId: carId,
@@ -737,25 +760,25 @@ export var LjsyService = {
737
760
  }, {
738
761
  refreshDeps: [carId, startDate, endDate]
739
762
  }),
740
- data = _useRequest31.data,
741
- loading = _useRequest31.loading;
763
+ data = _useRequest32.data,
764
+ loading = _useRequest32.loading;
742
765
  return {
743
766
  alarmInfoAnalysis: (data === null || data === void 0 ? void 0 : data.data) || {},
744
767
  loading: loading
745
768
  };
746
769
  },
747
- useGetWorkDetail: function useGetWorkDetail(_ref16) {
748
- var carId = _ref16.carId,
749
- startDate = _ref16.startDate,
750
- endDate = _ref16.endDate,
751
- page = _ref16.page,
752
- sort = _ref16.sort;
753
- var _useRequest32 = useRequest( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee7() {
770
+ useGetWorkDetail: function useGetWorkDetail(_ref17) {
771
+ var carId = _ref17.carId,
772
+ startDate = _ref17.startDate,
773
+ endDate = _ref17.endDate,
774
+ page = _ref17.page,
775
+ sort = _ref17.sort;
776
+ var _useRequest33 = useRequest( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee8() {
754
777
  var res;
755
- return _regeneratorRuntime().wrap(function _callee7$(_context7) {
756
- while (1) switch (_context7.prev = _context7.next) {
778
+ return _regeneratorRuntime().wrap(function _callee8$(_context8) {
779
+ while (1) switch (_context8.prev = _context8.next) {
757
780
  case 0:
758
- _context7.next = 2;
781
+ _context8.next = 2;
759
782
  return http.get("".concat(prefix, "/cloud/ljsy-reborn/api/kanban/getWorkDetailByCarId"), {
760
783
  body: {
761
784
  carId: carId,
@@ -767,30 +790,30 @@ export var LjsyService = {
767
790
  }
768
791
  });
769
792
  case 2:
770
- res = _context7.sent;
771
- return _context7.abrupt("return", (res === null || res === void 0 ? void 0 : res.data) || {});
793
+ res = _context8.sent;
794
+ return _context8.abrupt("return", (res === null || res === void 0 ? void 0 : res.data) || {});
772
795
  case 4:
773
796
  case "end":
774
- return _context7.stop();
797
+ return _context8.stop();
775
798
  }
776
- }, _callee7);
799
+ }, _callee8);
777
800
  })), {
778
801
  refreshDeps: [carId, startDate, endDate, page, sort],
779
802
  ready: !!carId
780
803
  }),
781
- _useRequest32$data = _useRequest32.data,
782
- data = _useRequest32$data === void 0 ? {} : _useRequest32$data;
804
+ _useRequest33$data = _useRequest33.data,
805
+ data = _useRequest33$data === void 0 ? {} : _useRequest33$data;
783
806
  return {
784
807
  workDetailData: data
785
808
  };
786
809
  }
787
810
  };
788
811
  export var LjzyService = {
789
- useGetCarSumByDate: function useGetCarSumByDate(_ref18) {
790
- var carCode = _ref18.carCode,
791
- startDate = _ref18.startDate,
792
- endDate = _ref18.endDate;
793
- var _useRequest33 = useRequest(function () {
812
+ useGetCarSumByDate: function useGetCarSumByDate(_ref19) {
813
+ var carCode = _ref19.carCode,
814
+ startDate = _ref19.startDate,
815
+ endDate = _ref19.endDate;
816
+ var _useRequest34 = useRequest(function () {
794
817
  return http.get("".concat(prefix, "/cloud/zd/lm/api/cp/dataBoard/getCarSumByDate.smvc"), {
795
818
  body: {
796
819
  carCode: carCode,
@@ -802,18 +825,18 @@ export var LjzyService = {
802
825
  refreshDeps: [carCode, startDate, endDate],
803
826
  ready: !!carCode
804
827
  }),
805
- data = _useRequest33.data,
806
- loading = _useRequest33.loading;
828
+ data = _useRequest34.data,
829
+ loading = _useRequest34.loading;
807
830
  return {
808
831
  taskDaySummary: (data === null || data === void 0 ? void 0 : data.data) || [],
809
832
  loading: loading
810
833
  };
811
834
  },
812
- useGetCarSumByDateAndDisposeUnit: function useGetCarSumByDateAndDisposeUnit(_ref19) {
813
- var carCode = _ref19.carCode,
814
- startDate = _ref19.startDate,
815
- endDate = _ref19.endDate;
816
- var _useRequest34 = useRequest(function () {
835
+ useGetCarSumByDateAndDisposeUnit: function useGetCarSumByDateAndDisposeUnit(_ref20) {
836
+ var carCode = _ref20.carCode,
837
+ startDate = _ref20.startDate,
838
+ endDate = _ref20.endDate;
839
+ var _useRequest35 = useRequest(function () {
817
840
  return http.get("".concat(prefix, "/cloud/zd/lm/api/cp/dataBoard/getCarSumByDateAndDisposeUnit.smvc"), {
818
841
  body: {
819
842
  carCode: carCode,
@@ -825,26 +848,26 @@ export var LjzyService = {
825
848
  refreshDeps: [carCode, startDate, endDate],
826
849
  ready: !!carCode
827
850
  }),
828
- data = _useRequest34.data,
829
- loading = _useRequest34.loading;
851
+ data = _useRequest35.data,
852
+ loading = _useRequest35.loading;
830
853
  return {
831
854
  taskDaySummary: (data === null || data === void 0 ? void 0 : data.data) || [],
832
855
  loading: loading
833
856
  };
834
857
  },
835
- useGetWorkDetail: function useGetWorkDetail(_ref20) {
836
- var carNo = _ref20.carNo,
837
- startTime = _ref20.startTime,
838
- endTime = _ref20.endTime,
839
- page = _ref20.page,
840
- sort = _ref20.sort,
841
- order = _ref20.order;
842
- var _useRequest35 = useRequest( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee8() {
858
+ useGetWorkDetail: function useGetWorkDetail(_ref21) {
859
+ var carNo = _ref21.carNo,
860
+ startTime = _ref21.startTime,
861
+ endTime = _ref21.endTime,
862
+ page = _ref21.page,
863
+ sort = _ref21.sort,
864
+ order = _ref21.order;
865
+ var _useRequest36 = useRequest( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee9() {
843
866
  var res;
844
- return _regeneratorRuntime().wrap(function _callee8$(_context8) {
845
- while (1) switch (_context8.prev = _context8.next) {
867
+ return _regeneratorRuntime().wrap(function _callee9$(_context9) {
868
+ while (1) switch (_context9.prev = _context9.next) {
846
869
  case 0:
847
- _context8.next = 2;
870
+ _context9.next = 2;
848
871
  return http.get("".concat(prefix, "/cloud/zd/lm/api/cp/zdjgLmWeighData/pageList.smvc"), {
849
872
  body: {
850
873
  carNo: carNo,
@@ -857,20 +880,20 @@ export var LjzyService = {
857
880
  }
858
881
  });
859
882
  case 2:
860
- res = _context8.sent;
861
- return _context8.abrupt("return", (res === null || res === void 0 ? void 0 : res.data) || {});
883
+ res = _context9.sent;
884
+ return _context9.abrupt("return", (res === null || res === void 0 ? void 0 : res.data) || {});
862
885
  case 4:
863
886
  case "end":
864
- return _context8.stop();
887
+ return _context9.stop();
865
888
  }
866
- }, _callee8);
889
+ }, _callee9);
867
890
  })), {
868
891
  refreshDeps: [carNo, startTime, endTime, page, sort, order],
869
892
  ready: !!carNo
870
893
  }),
871
- _useRequest35$data = _useRequest35.data,
872
- data = _useRequest35$data === void 0 ? {} : _useRequest35$data,
873
- loading = _useRequest35.loading;
894
+ _useRequest36$data = _useRequest36.data,
895
+ data = _useRequest36$data === void 0 ? {} : _useRequest36$data,
896
+ loading = _useRequest36.loading;
874
897
  return {
875
898
  workDetailData: data,
876
899
  loading: loading
@@ -882,7 +905,7 @@ export var LjzyService = {
882
905
  export var OilService = {
883
906
  useHasOil: function useHasOil(carId) {
884
907
  var _data$data2;
885
- var _useRequest36 = useRequest(function () {
908
+ var _useRequest37 = useRequest(function () {
886
909
  return http.get("".concat(prefix, "/cloud/gps-reborn/car/config/getById"), {
887
910
  body: {
888
911
  id: carId
@@ -891,13 +914,13 @@ export var OilService = {
891
914
  }, {
892
915
  refreshDeps: [carId]
893
916
  }),
894
- data = _useRequest36.data;
917
+ data = _useRequest37.data;
895
918
  return {
896
919
  beenOilStatus: data === null || data === void 0 || (_data$data2 = data.data) === null || _data$data2 === void 0 ? void 0 : _data$data2.beenOilStatus
897
920
  };
898
921
  },
899
922
  useOilLine: function useOilLine(carId, startTime, endTime) {
900
- var _useRequest37 = useRequest(function () {
923
+ var _useRequest38 = useRequest(function () {
901
924
  return http.get("".concat(prefix, "/cloud/oil-reborn/api/oilUse/oilLine.smvc"), {
902
925
  body: {
903
926
  carId: carId,
@@ -909,15 +932,15 @@ export var OilService = {
909
932
  }, {
910
933
  refreshDeps: [carId, startTime, endTime]
911
934
  }),
912
- oilLineRes = _useRequest37.data,
913
- loading = _useRequest37.loading;
935
+ oilLineRes = _useRequest38.data,
936
+ loading = _useRequest38.loading;
914
937
  return {
915
938
  oilLineRes: (oilLineRes === null || oilLineRes === void 0 ? void 0 : oilLineRes.data) || [],
916
939
  loading: loading
917
940
  };
918
941
  },
919
942
  useSummary: function useSummary(carId, startTime, endTime) {
920
- var _useRequest38 = useRequest(function () {
943
+ var _useRequest39 = useRequest(function () {
921
944
  return http.get("".concat(prefix, "/cloud/oil-reborn/api/oilUse/summary.smvc"), {
922
945
  body: {
923
946
  carId: carId,
@@ -929,13 +952,13 @@ export var OilService = {
929
952
  }, {
930
953
  refreshDeps: [carId, startTime, endTime]
931
954
  }),
932
- summaryRes = _useRequest38.data;
955
+ summaryRes = _useRequest39.data;
933
956
  return {
934
957
  summaryRes: (summaryRes === null || summaryRes === void 0 ? void 0 : summaryRes.data) || []
935
958
  };
936
959
  },
937
960
  useRecord: function useRecord(carId, startTime, endTime, page, sort) {
938
- var _useRequest39 = useRequest(function () {
961
+ var _useRequest40 = useRequest(function () {
939
962
  return http.get("".concat(prefix, "/cloud/oil-reborn/api/oilUse/simplePage.smvc"), {
940
963
  body: {
941
964
  carId: carId,
@@ -951,7 +974,7 @@ export var OilService = {
951
974
  }, {
952
975
  refreshDeps: [carId, startTime, endTime, page, sort]
953
976
  }),
954
- recordRes = _useRequest39.data;
977
+ recordRes = _useRequest40.data;
955
978
  return {
956
979
  recordRes: (recordRes === null || recordRes === void 0 ? void 0 : recordRes.data) || []
957
980
  };
@@ -961,7 +984,7 @@ export var OilService = {
961
984
  //水耗
962
985
  export var WaterService = {
963
986
  useSummary: function useSummary(carId, startTime, endTime) {
964
- var _useRequest40 = useRequest(function () {
987
+ var _useRequest41 = useRequest(function () {
965
988
  return http.get("".concat(prefix, "/cloud/water-reborn/api/v101/water/waterMeasure/summary"), {
966
989
  body: {
967
990
  hasWaterStatus: true,
@@ -973,13 +996,13 @@ export var WaterService = {
973
996
  }, {
974
997
  refreshDeps: [carId, startTime, endTime]
975
998
  }),
976
- summaryRes = _useRequest40.data;
999
+ summaryRes = _useRequest41.data;
977
1000
  return {
978
1001
  summaryRes: (summaryRes === null || summaryRes === void 0 ? void 0 : summaryRes.data) || []
979
1002
  };
980
1003
  },
981
1004
  useRecord: function useRecord(carId, startDate, endDate) {
982
- var _useRequest41 = useRequest(function () {
1005
+ var _useRequest42 = useRequest(function () {
983
1006
  return http.get("".concat(prefix, "/cloud/water-reborn/api/v101/water/waterMeasure/queryList"), {
984
1007
  body: {
985
1008
  hasWaterStatus: true,
@@ -991,8 +1014,8 @@ export var WaterService = {
991
1014
  }, {
992
1015
  refreshDeps: [carId, startDate, endDate]
993
1016
  }),
994
- recordRes = _useRequest41.data,
995
- loading = _useRequest41.loading;
1017
+ recordRes = _useRequest42.data,
1018
+ loading = _useRequest42.loading;
996
1019
  return {
997
1020
  recordRes: (recordRes === null || recordRes === void 0 ? void 0 : recordRes.data) || [],
998
1021
  loading: loading
@@ -1003,7 +1026,7 @@ export var WaterService = {
1003
1026
  // 维保
1004
1027
  export var MaintenanceService = {
1005
1028
  useMaintenance: function useMaintenance(carId) {
1006
- var _useRequest42 = useRequest(function () {
1029
+ var _useRequest43 = useRequest(function () {
1007
1030
  return http.get("".concat(prefix, "/cloud/clwb/api/v101/carComprehensiveBoard/carWbAnalyse"), {
1008
1031
  body: {
1009
1032
  carId: carId
@@ -1012,7 +1035,7 @@ export var MaintenanceService = {
1012
1035
  }, {
1013
1036
  refreshDeps: [carId]
1014
1037
  }),
1015
- maintenanceRes = _useRequest42.data;
1038
+ maintenanceRes = _useRequest43.data;
1016
1039
  return {
1017
1040
  maintenanceRes: (maintenanceRes === null || maintenanceRes === void 0 ? void 0 : maintenanceRes.data) || []
1018
1041
  };
@@ -1035,12 +1058,12 @@ export var carSYMap = new Map([['matchingMethodStr', '匹配方式'], ['productT
1035
1058
  // 建筑垃圾车辆
1036
1059
  export var JzljService = {
1037
1060
  // 总览其他信息:二维码、生效中处置证、联单、报警
1038
- useZlOtherInfo: function useZlOtherInfo(_ref22) {
1039
- var id = _ref22.id,
1040
- startDate = _ref22.startDate,
1041
- endDate = _ref22.endDate,
1042
- url = _ref22.url;
1043
- var _useRequest43 = useRequest(function () {
1061
+ useZlOtherInfo: function useZlOtherInfo(_ref23) {
1062
+ var id = _ref23.id,
1063
+ startDate = _ref23.startDate,
1064
+ endDate = _ref23.endDate,
1065
+ url = _ref23.url;
1066
+ var _useRequest44 = useRequest(function () {
1044
1067
  return http.get("".concat(prefix, "/cloud/jzlj/web/api/gis/real/time/carBaseInfo"), {
1045
1068
  body: {
1046
1069
  id: id,
@@ -1052,18 +1075,18 @@ export var JzljService = {
1052
1075
  }, {
1053
1076
  refreshDeps: [id, startDate, endDate, url]
1054
1077
  }),
1055
- zlOtherInfoRes = _useRequest43.data;
1078
+ zlOtherInfoRes = _useRequest44.data;
1056
1079
  return {
1057
1080
  zlOtherInfoData: (zlOtherInfoRes === null || zlOtherInfoRes === void 0 ? void 0 : zlOtherInfoRes.data) || {}
1058
1081
  };
1059
1082
  },
1060
1083
  // 运行信息
1061
- useDailyCarRun: function useDailyCarRun(_ref23) {
1084
+ useDailyCarRun: function useDailyCarRun(_ref24) {
1062
1085
  var _dailyCarRunRes$data, _dailyCarRunRes$data2;
1063
- var id = _ref23.id,
1064
- startDate = _ref23.startDate,
1065
- endDate = _ref23.endDate;
1066
- var _useRequest44 = useRequest(function () {
1086
+ var id = _ref24.id,
1087
+ startDate = _ref24.startDate,
1088
+ endDate = _ref24.endDate;
1089
+ var _useRequest45 = useRequest(function () {
1067
1090
  return http.get("".concat(prefix, "/cloud/gps-reborn/report/dailyCarRun/list"), {
1068
1091
  body: {
1069
1092
  carIds: id,
@@ -1074,17 +1097,17 @@ export var JzljService = {
1074
1097
  }, {
1075
1098
  refreshDeps: [id, startDate, endDate]
1076
1099
  }),
1077
- dailyCarRunRes = _useRequest44.data;
1100
+ dailyCarRunRes = _useRequest45.data;
1078
1101
  return {
1079
1102
  dailyCarRunData: dailyCarRunRes !== null && dailyCarRunRes !== void 0 && (_dailyCarRunRes$data = dailyCarRunRes.data) !== null && _dailyCarRunRes$data !== void 0 && _dailyCarRunRes$data.length ? (dailyCarRunRes === null || dailyCarRunRes === void 0 || (_dailyCarRunRes$data2 = dailyCarRunRes.data) === null || _dailyCarRunRes$data2 === void 0 ? void 0 : _dailyCarRunRes$data2[0]) || {} : {}
1080
1103
  };
1081
1104
  },
1082
1105
  // 近7天运行分析
1083
- useYxfx: function useYxfx(_ref24) {
1084
- var id = _ref24.id,
1085
- startDate = _ref24.startDate,
1086
- endDate = _ref24.endDate;
1087
- var _useRequest45 = useRequest(function () {
1106
+ useYxfx: function useYxfx(_ref25) {
1107
+ var id = _ref25.id,
1108
+ startDate = _ref25.startDate,
1109
+ endDate = _ref25.endDate;
1110
+ var _useRequest46 = useRequest(function () {
1088
1111
  return http.get("".concat(prefix, "/cloud/jzlj/web/dz/kanban/carWorkAnalyse"), {
1089
1112
  body: {
1090
1113
  id: id,
@@ -1095,19 +1118,19 @@ export var JzljService = {
1095
1118
  }, {
1096
1119
  refreshDeps: [id, startDate, endDate]
1097
1120
  }),
1098
- yxfxRes = _useRequest45.data,
1099
- loading = _useRequest45.loading;
1121
+ yxfxRes = _useRequest46.data,
1122
+ loading = _useRequest46.loading;
1100
1123
  return {
1101
1124
  yxfxData: (yxfxRes === null || yxfxRes === void 0 ? void 0 : yxfxRes.data) || [],
1102
1125
  loading: loading
1103
1126
  };
1104
1127
  },
1105
1128
  // 处置证信息-分页
1106
- czzPage: function czzPage(_ref25) {
1107
- var carCode = _ref25.carCode,
1108
- page = _ref25.page,
1109
- size = _ref25.size,
1110
- restParams = _objectWithoutProperties(_ref25, _excluded);
1129
+ czzPage: function czzPage(_ref26) {
1130
+ var carCode = _ref26.carCode,
1131
+ page = _ref26.page,
1132
+ size = _ref26.size,
1133
+ restParams = _objectWithoutProperties(_ref26, _excluded);
1111
1134
  return http.get("/cloud/jzlj/web/api/disposal/certificate/info/page", {
1112
1135
  body: _objectSpread({
1113
1136
  page: page,
@@ -1117,11 +1140,11 @@ export var JzljService = {
1117
1140
  });
1118
1141
  },
1119
1142
  // 处置证信息-饼图
1120
- czzPie: function czzPie(_ref26) {
1121
- var id = _ref26.id,
1122
- page = _ref26.page,
1123
- size = _ref26.size,
1124
- restParams = _objectWithoutProperties(_ref26, _excluded2);
1143
+ czzPie: function czzPie(_ref27) {
1144
+ var id = _ref27.id,
1145
+ page = _ref27.page,
1146
+ size = _ref27.size,
1147
+ restParams = _objectWithoutProperties(_ref27, _excluded2);
1125
1148
  return http.get("/cloud/jzlj//web/api/gis/real/time/carCzzPieChart", {
1126
1149
  body: _objectSpread({
1127
1150
  page: page,
@@ -1132,7 +1155,7 @@ export var JzljService = {
1132
1155
  },
1133
1156
  // 建筑垃圾枚举
1134
1157
  fetchJzljEnum: function fetchJzljEnum(enumName) {
1135
- var _useRequest46 = useRequest(function () {
1158
+ var _useRequest47 = useRequest(function () {
1136
1159
  return http.get("/cloud/jzlj/common/loadEnumValue", {
1137
1160
  body: {
1138
1161
  enumName: enumName
@@ -1141,31 +1164,31 @@ export var JzljService = {
1141
1164
  }, {
1142
1165
  refreshDeps: [enumName]
1143
1166
  }),
1144
- _useRequest46$data = _useRequest46.data,
1145
- data = _useRequest46$data === void 0 ? {} : _useRequest46$data;
1167
+ _useRequest47$data = _useRequest47.data,
1168
+ data = _useRequest47$data === void 0 ? {} : _useRequest47$data;
1146
1169
  return (data === null || data === void 0 ? void 0 : data.data) || [];
1147
1170
  },
1148
1171
  // 字段配置
1149
1172
  fieldConfig: function fieldConfig() {
1150
- var _useRequest47 = useRequest(function () {
1173
+ var _useRequest48 = useRequest(function () {
1151
1174
  return http.get("/cloud/jzlj/web/field/config/list?ledgerType=CZHZBA", {
1152
1175
  body: {}
1153
1176
  });
1154
1177
  }, {
1155
1178
  refreshDeps: []
1156
1179
  }),
1157
- _useRequest47$data = _useRequest47.data,
1158
- data = _useRequest47$data === void 0 ? {} : _useRequest47$data;
1180
+ _useRequest48$data = _useRequest48.data,
1181
+ data = _useRequest48$data === void 0 ? {} : _useRequest48$data;
1159
1182
  return (data === null || data === void 0 ? void 0 : data.data) || [];
1160
1183
  },
1161
1184
  // 联单-分页
1162
- ldPage: function ldPage(_ref27) {
1163
- var carId = _ref27.carId,
1164
- stepThreeOperateTimeLeft = _ref27.stepThreeOperateTimeLeft,
1165
- stepThreeOperateTimeRight = _ref27.stepThreeOperateTimeRight,
1166
- page = _ref27.page,
1167
- size = _ref27.size,
1168
- restParams = _objectWithoutProperties(_ref27, _excluded3);
1185
+ ldPage: function ldPage(_ref28) {
1186
+ var carId = _ref28.carId,
1187
+ stepThreeOperateTimeLeft = _ref28.stepThreeOperateTimeLeft,
1188
+ stepThreeOperateTimeRight = _ref28.stepThreeOperateTimeRight,
1189
+ page = _ref28.page,
1190
+ size = _ref28.size,
1191
+ restParams = _objectWithoutProperties(_ref28, _excluded3);
1169
1192
  return http.get("/cloud/jzlj/web/api/car/transport/joint/order/record/page", {
1170
1193
  body: _objectSpread({
1171
1194
  page: page,
@@ -1176,10 +1199,10 @@ export var JzljService = {
1176
1199
  }, restParams)
1177
1200
  });
1178
1201
  },
1179
- ldChart: function ldChart(_ref28) {
1180
- var id = _ref28.id,
1181
- startDate = _ref28.startDate,
1182
- endDate = _ref28.endDate;
1202
+ ldChart: function ldChart(_ref29) {
1203
+ var id = _ref29.id,
1204
+ startDate = _ref29.startDate,
1205
+ endDate = _ref29.endDate;
1183
1206
  return http.get("".concat(prefix, "/cloud/jzlj/web/dz/kanban/carWorkAnalyse"), {
1184
1207
  body: {
1185
1208
  id: id,
@@ -1189,11 +1212,11 @@ export var JzljService = {
1189
1212
  });
1190
1213
  },
1191
1214
  // 联单-统计
1192
- ldTotal: function ldTotal(_ref29) {
1193
- var carId = _ref29.carId,
1194
- startDate = _ref29.startDate,
1195
- endDate = _ref29.endDate,
1196
- restParams = _objectWithoutProperties(_ref29, _excluded4);
1215
+ ldTotal: function ldTotal(_ref30) {
1216
+ var carId = _ref30.carId,
1217
+ startDate = _ref30.startDate,
1218
+ endDate = _ref30.endDate,
1219
+ restParams = _objectWithoutProperties(_ref30, _excluded4);
1197
1220
  return http.get("/cloud/jzlj/web/api/gis/real/time/jcssJzJointOrderSummaryStatistics", {
1198
1221
  body: _objectSpread({
1199
1222
  carId: carId,
@@ -1202,12 +1225,12 @@ export var JzljService = {
1202
1225
  }, restParams)
1203
1226
  });
1204
1227
  },
1205
- page_tccs: function page_tccs(_ref30) {
1206
- var id = _ref30.id,
1207
- startTime = _ref30.startTime,
1208
- endTime = _ref30.endTime,
1209
- page = _ref30.page,
1210
- size = _ref30.size;
1228
+ page_tccs: function page_tccs(_ref31) {
1229
+ var id = _ref31.id,
1230
+ startTime = _ref31.startTime,
1231
+ endTime = _ref31.endTime,
1232
+ page = _ref31.page,
1233
+ size = _ref31.size;
1211
1234
  return http.get("/cloud/jzlj/web/api/car/parking/timeout/alarm/job/page", {
1212
1235
  body: {
1213
1236
  page: page,
@@ -1218,12 +1241,12 @@ export var JzljService = {
1218
1241
  }
1219
1242
  });
1220
1243
  },
1221
- page_lxpl: function page_lxpl(_ref31) {
1222
- var id = _ref31.id,
1223
- startTime = _ref31.startTime,
1224
- endTime = _ref31.endTime,
1225
- page = _ref31.page,
1226
- size = _ref31.size;
1244
+ page_lxpl: function page_lxpl(_ref32) {
1245
+ var id = _ref32.id,
1246
+ startTime = _ref32.startTime,
1247
+ endTime = _ref32.endTime,
1248
+ page = _ref32.page,
1249
+ size = _ref32.size;
1227
1250
  return http.get("/cloud/jzlj/web/api/car/route/deviation/alarm/job/page", {
1228
1251
  body: {
1229
1252
  page: page,
@@ -1235,11 +1258,11 @@ export var JzljService = {
1235
1258
  });
1236
1259
  },
1237
1260
  // 报警汇总-饼图
1238
- useAlarmSummary: function useAlarmSummary(_ref32) {
1239
- var carId = _ref32.carId,
1240
- startDate = _ref32.startDate,
1241
- endDate = _ref32.endDate;
1242
- var _useRequest48 = useRequest(function () {
1261
+ useAlarmSummary: function useAlarmSummary(_ref33) {
1262
+ var carId = _ref33.carId,
1263
+ startDate = _ref33.startDate,
1264
+ endDate = _ref33.endDate;
1265
+ var _useRequest49 = useRequest(function () {
1243
1266
  return http.get("/cloud/jzlj/web/dz/kanban/carAlarmTypeCountSummaryInfo", {
1244
1267
  body: {
1245
1268
  carId: carId,
@@ -1251,17 +1274,17 @@ export var JzljService = {
1251
1274
  }, {
1252
1275
  refreshDeps: [carId, startDate, endDate]
1253
1276
  }),
1254
- alarmSummaryRes = _useRequest48.data;
1277
+ alarmSummaryRes = _useRequest49.data;
1255
1278
  return {
1256
1279
  alarmSummaryData: (alarmSummaryRes === null || alarmSummaryRes === void 0 ? void 0 : alarmSummaryRes.data) || {}
1257
1280
  };
1258
1281
  },
1259
1282
  // 报警趋势-折线图
1260
- useAlarmTrend: function useAlarmTrend(_ref33) {
1261
- var id = _ref33.id,
1262
- startDate = _ref33.startDate,
1263
- endDate = _ref33.endDate;
1264
- var _useRequest49 = useRequest(function () {
1283
+ useAlarmTrend: function useAlarmTrend(_ref34) {
1284
+ var id = _ref34.id,
1285
+ startDate = _ref34.startDate,
1286
+ endDate = _ref34.endDate;
1287
+ var _useRequest50 = useRequest(function () {
1265
1288
  return http.get("/cloud/jzlj/web/api/gis/real/time/carOrderAlarmAnalyse", {
1266
1289
  body: {
1267
1290
  id: id,
@@ -1272,7 +1295,7 @@ export var JzljService = {
1272
1295
  }, {
1273
1296
  refreshDeps: [id, startDate, endDate]
1274
1297
  }),
1275
- alarmTrendRes = _useRequest49.data;
1298
+ alarmTrendRes = _useRequest50.data;
1276
1299
  return {
1277
1300
  alarmTrendData: (alarmTrendRes === null || alarmTrendRes === void 0 ? void 0 : alarmTrendRes.data) || []
1278
1301
  };
@@ -1281,14 +1304,14 @@ export var JzljService = {
1281
1304
  useUnit: function useUnit() {
1282
1305
  var _data$data3, _unitStr;
1283
1306
  var groupCode = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'XTPZ';
1284
- var _useRequest50 = useRequest(function () {
1307
+ var _useRequest51 = useRequest(function () {
1285
1308
  return http.get("/cloud/jzlj/web/api/tenant/system/config/getConfig", {
1286
1309
  body: {}
1287
1310
  });
1288
1311
  }, {
1289
1312
  refreshDeps: [groupCode]
1290
1313
  }),
1291
- data = _useRequest50.data;
1314
+ data = _useRequest51.data;
1292
1315
  var obj = {};
1293
1316
  var originalData = data === null || data === void 0 || (_data$data3 = data.data) === null || _data$data3 === void 0 ? void 0 : _data$data3[groupCode];
1294
1317
  for (var group in originalData) {
@@ -1309,7 +1332,7 @@ export var JzljService = {
1309
1332
  },
1310
1333
  // 处置证字段配置
1311
1334
  useCzzFields: function useCzzFields() {
1312
- var _useRequest51 = useRequest(function () {
1335
+ var _useRequest52 = useRequest(function () {
1313
1336
  return http.get("/cloud/jzlj/web/field/config/list", {
1314
1337
  body: {
1315
1338
  ledgerType: 'CZHZBA'
@@ -1318,7 +1341,7 @@ export var JzljService = {
1318
1341
  }, {
1319
1342
  refreshDeps: []
1320
1343
  }),
1321
- res = _useRequest51.data;
1344
+ res = _useRequest52.data;
1322
1345
  var dataList = (res === null || res === void 0 ? void 0 : res.data) || [];
1323
1346
  var visibleList = dataList.filter(function (item) {
1324
1347
  var _item$functionKeys;
@@ -1330,7 +1353,7 @@ export var JzljService = {
1330
1353
  },
1331
1354
  // 联单字段配置
1332
1355
  useLdFields: function useLdFields() {
1333
- var _useRequest52 = useRequest(function () {
1356
+ var _useRequest53 = useRequest(function () {
1334
1357
  return http.get("/cloud/jzlj/web/field/config/list", {
1335
1358
  body: {
1336
1359
  ledgerType: 'CLYSLD'
@@ -1339,7 +1362,7 @@ export var JzljService = {
1339
1362
  }, {
1340
1363
  refreshDeps: []
1341
1364
  }),
1342
- res = _useRequest52.data;
1365
+ res = _useRequest53.data;
1343
1366
  var dataList = (res === null || res === void 0 ? void 0 : res.data) || [];
1344
1367
  var visibleList = dataList.filter(function (item) {
1345
1368
  var _item$functionKeys2;
@@ -1355,14 +1378,14 @@ export var JzljService = {
1355
1378
  export var useUnit = function useUnit() {
1356
1379
  var _data$data4, _unitStr2;
1357
1380
  var groupCode = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'XTPZ';
1358
- var _useRequest53 = useRequest(function () {
1381
+ var _useRequest54 = useRequest(function () {
1359
1382
  return request.get("/cloud/jzlj/web/api/tenant/system/config/getConfig", {
1360
1383
  data: {}
1361
1384
  });
1362
1385
  }, {
1363
1386
  refreshDeps: [groupCode]
1364
1387
  }),
1365
- data = _useRequest53.data;
1388
+ data = _useRequest54.data;
1366
1389
  var obj = {};
1367
1390
  var originalData = data === null || data === void 0 || (_data$data4 = data.data) === null || _data$data4 === void 0 ? void 0 : _data$data4[groupCode];
1368
1391
  for (var group in originalData) {