@vtx/modals2 6.0.0-beta.24 → 6.0.0-beta.25

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.
@@ -448,7 +448,7 @@ export var JxhService = {
448
448
  useWorkSummaryJxh: function useWorkSummaryJxh(carId, startDate, endDate, matchHistory) {
449
449
  //机械化作业统计
450
450
  var _useRequest18 = useRequest(function () {
451
- return http.get("".concat(prefix, "/cloud/zyqs-zqb/api/kanban/workInfoStatisticsByCarId"), {
451
+ return http.get("".concat(prefix, "/cloud/zyqs-zqb/api/noshift/kanban/v2/workInfoStatisticsByCarId"), {
452
452
  body: {
453
453
  carId: carId,
454
454
  startDate: startDate,
@@ -258,7 +258,7 @@ function Calendar(_ref) {
258
258
  }), /*#__PURE__*/_jsx(VmCalendarInner, {
259
259
  type: "green",
260
260
  img: workMileageIcon,
261
- value: workMileage,
261
+ value: (workMileage / 1000).toFixed(2),
262
262
  style: {
263
263
  width: '139px',
264
264
  justifyContent: 'space-between'
@@ -57,7 +57,7 @@ export default function (_ref) {
57
57
  }), /*#__PURE__*/_jsx(VmCalendarInner, {
58
58
  type: "blue",
59
59
  img: isDark ? track_dark : track,
60
- value: "".concat((item === null || item === void 0 ? void 0 : item.workMileage) || 0, "/").concat((item === null || item === void 0 ? void 0 : item.driveMileage) || 0),
60
+ value: "".concat((((item === null || item === void 0 ? void 0 : item.workMileage) || 0) / 1000).toFixed(2), "/").concat((item === null || item === void 0 ? void 0 : item.driveMileage) || 0),
61
61
  style: {
62
62
  width: '139px',
63
63
  justifyContent: 'space-between',
@@ -62,7 +62,7 @@ var Calendar = function Calendar(_ref) {
62
62
  }), /*#__PURE__*/_jsx(VmCalendarInner, {
63
63
  type: "blue",
64
64
  img: mileageIcon,
65
- value: planMileage,
65
+ value: (planMileage / 1000).toFixed(2),
66
66
  style: {
67
67
  width: '139px',
68
68
  justifyContent: 'space-between',
@@ -71,7 +71,7 @@ var Calendar = function Calendar(_ref) {
71
71
  }), /*#__PURE__*/_jsx(VmCalendarInner, {
72
72
  type: "green",
73
73
  img: workMileageIcon,
74
- value: workMileage,
74
+ value: (workMileage / 1000).toFixed(2),
75
75
  style: {
76
76
  width: '139px',
77
77
  justifyContent: 'space-between'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vtx/modals2",
3
- "version": "6.0.0-beta.24",
3
+ "version": "6.0.0-beta.25",
4
4
  "description": "弹窗组件",
5
5
  "license": "MIT",
6
6
  "module": "lib/index.js",