@vtx/modals2 5.0.57 → 5.0.59

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.
Files changed (77) hide show
  1. package/lib/_components/vm-calendar/index.js +14 -4
  2. package/lib/_components/vm-calendar/style/index.less +4 -1
  3. package/lib/_components/vm-card-statistics/index.less +27 -27
  4. package/lib/_components/vm-custom/index.js +1 -1
  5. package/lib/_components/vm-factor-list/index.less +11 -11
  6. package/lib/_components/vm-filter/index.js +25 -0
  7. package/lib/_components/vm-pie-charts/index.js +14 -4
  8. package/lib/_components/vm-popover/index.less +7 -7
  9. package/lib/_components/vm-progress/index.js +6 -0
  10. package/lib/_components/vm-table/index.js +3 -3
  11. package/lib/_components/vm-table/style/index.less +12 -7
  12. package/lib/_components/vm-video/index.js +6 -1
  13. package/lib/style/index.less +5 -0
  14. package/lib/vtx-area-modal/api.js +2 -0
  15. package/lib/vtx-base-modal/Header/index.less +98 -98
  16. package/lib/vtx-base-modal/index.js +5 -0
  17. package/lib/vtx-car-modal/api.js +179 -74
  18. package/lib/vtx-car-modal/components/Info/index.less +6 -6
  19. package/lib/vtx-car-modal/content/Common/OilConsumption/index.less +6 -6
  20. package/lib/vtx-car-modal/content/Common/WaterConsumption/index.less +6 -6
  21. package/lib/vtx-car-modal/content/JXH/Hw2AlarmInfo/List.js +133 -0
  22. package/lib/vtx-car-modal/content/JXH/Hw2AlarmInfo/StaticInfo.js +84 -0
  23. package/lib/vtx-car-modal/content/JXH/Hw2AlarmInfo/index.js +71 -0
  24. package/lib/vtx-car-modal/content/JXH/Hw2BaseInfo/index.js +223 -0
  25. package/lib/vtx-car-modal/content/JXH/Hw2StaticInfo/index.js +549 -0
  26. package/lib/vtx-car-modal/content/JXH/Hw2StaticInfo/index.less +6 -0
  27. package/lib/vtx-car-modal/content/JXH/Hw2WorkRecord/index.js +291 -0
  28. package/lib/vtx-car-modal/content/JXH/WorkRecord/index.js +1 -1
  29. package/lib/vtx-car-modal/content/JXH/index.js +9 -1
  30. package/lib/vtx-car-modal/imgs/calendar/auto.png +0 -0
  31. package/lib/vtx-car-modal/imgs/calendar/dark_auto.png +0 -0
  32. package/lib/vtx-car-modal/imgs/calendar/dark_electricity.png +0 -0
  33. package/lib/vtx-car-modal/imgs/calendar/dark_oil.png +0 -0
  34. package/lib/vtx-car-modal/imgs/calendar/dark_transition.png +0 -0
  35. package/lib/vtx-car-modal/imgs/calendar/dark_water.png +0 -0
  36. package/lib/vtx-car-modal/imgs/calendar/dark_yy_mileage.png +0 -0
  37. package/lib/vtx-car-modal/imgs/calendar/electricity.png +0 -0
  38. package/lib/vtx-car-modal/imgs/calendar/oil.png +0 -0
  39. package/lib/vtx-car-modal/imgs/calendar/transition.png +0 -0
  40. package/lib/vtx-car-modal/imgs/calendar/water.png +0 -0
  41. package/lib/vtx-car-modal/imgs/calendar/yy_mileage.png +0 -0
  42. package/lib/vtx-car-modal/index.js +9 -1
  43. package/lib/vtx-cc-unit-modal/components/BaseInfo/index.less +6 -6
  44. package/lib/vtx-cp-modal/components/BaseInfo/TodayWork.js +1 -0
  45. package/lib/vtx-device-modal/components/DataAnalysis/index.less +66 -66
  46. package/lib/vtx-housing-estate-modal/components/Alarm/GDCLXL.js +2 -0
  47. package/lib/vtx-housing-estate-modal/components/Alarm/MYFX_GD.js +2 -0
  48. package/lib/vtx-housing-estate-modal/components/OverView/RightBottom.js +2 -0
  49. package/lib/vtx-restaurant-modal/components/Basic/index.less +16 -16
  50. package/lib/vtx-restaurant-modal/config.js +52 -52
  51. package/lib/vtx-road-modal/api.js +348 -11
  52. package/lib/vtx-road-modal/components/BaseInfo/Work.js +11 -5
  53. package/lib/vtx-road-modal/components/BaseInfo/index.js +6 -5
  54. package/lib/vtx-road-modal/components/LaneBaseInfo/Rules.js +63 -0
  55. package/lib/vtx-road-modal/components/LaneBaseInfo/Work.js +434 -0
  56. package/lib/vtx-road-modal/components/LaneBaseInfo/index.js +80 -0
  57. package/lib/vtx-road-modal/components/LaneBaseInfo/index.less +127 -0
  58. package/lib/vtx-road-modal/components/LaneCalendar/index.js +194 -0
  59. package/lib/vtx-road-modal/components/LaneStatistical/index.js +312 -0
  60. package/lib/vtx-road-modal/components/LaneStatistical/index.less +32 -0
  61. package/lib/vtx-road-modal/components/Statistical/index.less +32 -32
  62. package/lib/vtx-road-modal/components/index.js +4 -1
  63. package/lib/vtx-road-modal/imgs/car.png +0 -0
  64. package/lib/vtx-road-modal/imgs/dark_car.png +0 -0
  65. package/lib/vtx-road-modal/imgs/dark_person.png +0 -0
  66. package/lib/vtx-road-modal/imgs/person.png +0 -0
  67. package/lib/vtx-road-modal/imgs/schedule.png +0 -0
  68. package/lib/vtx-road-modal/imgs/work.png +0 -0
  69. package/lib/vtx-road-modal/imgs//344/274/230.png +0 -0
  70. package/lib/vtx-road-modal/imgs//345/267/256.png +0 -0
  71. package/lib/vtx-road-modal/imgs//350/211/257.png +0 -0
  72. package/lib/vtx-road-modal/index.js +18 -13
  73. package/lib/vtx-sdyd-tfd-modal/components/Alarm/GDCLXL.js +2 -0
  74. package/lib/vtx-sdyd-tfd-modal/components/Alarm/MYFX_GD.js +2 -0
  75. package/lib/vtx-sdyd-tfd-modal/components/OverView/RightBottom.js +2 -0
  76. package/lib/vtx-staff-modal/components/BaseInfo/WorkStatic.js +2 -2
  77. package/package.json +81 -81
@@ -1,5 +1,5 @@
1
1
  function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
- var _excluded = ["style", "className", "dateCellRender"];
2
+ var _excluded = ["style", "className", "dateCellRender", "height"];
3
3
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
4
4
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
5
5
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
@@ -25,16 +25,21 @@ function VmCalendar(props) {
25
25
  style = _props$style === void 0 ? {} : _props$style,
26
26
  className = props.className,
27
27
  dateCellRender = props.dateCellRender,
28
+ _props$height = props.height,
29
+ height = _props$height === void 0 ? 86 : _props$height,
28
30
  rest = _objectWithoutProperties(props, _excluded);
29
31
  return /*#__PURE__*/_jsx("div", {
30
32
  className: classnames("".concat(prefix), className),
31
- style: _objectSpread({}, style),
33
+ style: _objectSpread(_objectSpread({}, style), {}, {
34
+ '--height': height + 'px'
35
+ }),
32
36
  children: /*#__PURE__*/_jsx(Calendar, _objectSpread({
33
37
  locale: locale,
34
38
  headerRender: function headerRender() {
35
39
  return null;
36
40
  },
37
- dateCellRender: dateCellRender
41
+ dateCellRender: dateCellRender,
42
+ cellRender: dateCellRender
38
43
  }, rest))
39
44
  });
40
45
  }
@@ -67,8 +72,13 @@ export function VmCalendarPercent(_ref) {
67
72
  percent: percent,
68
73
  strokeColor: _color,
69
74
  trailColor: transformRgb(_color, 0.1),
75
+ railColor: transformRgb(_color, 0.1),
70
76
  showInfo: false,
71
- strokeWidth: 4
77
+ strokeWidth: 4,
78
+ size: {
79
+ width: 40,
80
+ height: 4
81
+ }
72
82
  })
73
83
  }), /*#__PURE__*/_jsxs("div", {
74
84
  style: {
@@ -3,6 +3,7 @@
3
3
  .vm-calendar {
4
4
  width: 100%;
5
5
  height: 100%;
6
+ --height: 86px;
6
7
  .ant-picker-date-panel,
7
8
  .ant-picker-content {
8
9
  width: 100% !important;
@@ -22,7 +23,9 @@
22
23
  .ant-picker-body {
23
24
  padding: 0 !important;
24
25
  }
25
-
26
+ .ant-picker-calendar-date-content {
27
+ height: var(--height) !important;
28
+ }
26
29
  .ant-picker-content th {
27
30
  color: var(--vm-calendar-cell-font-color);
28
31
  }
@@ -1,27 +1,27 @@
1
- .vm-car-statistics {
2
- width: 208px;
3
- height: 84px;
4
- display: flex;
5
- flex-direction: column;
6
- justify-content: space-between;
7
- padding: 20px;
8
- background-size: 100% 100%;
9
- &-label {
10
- color: var(--img-text-color);
11
- }
12
- &-value, &-unit {
13
- color: #1f1f1f;
14
- }
15
- &.vm-car-statistics-dark {
16
- .vm-car-statistics-value,.vm-car-statistics-unit {
17
- background: linear-gradient(180deg, #ffffff 0%, #119FFB 100%);
18
- background-clip: text;
19
- -webkit-text-fill-color: transparent;
20
- }
21
- }
22
- &-value {
23
- font-size: 20px;
24
- font-weight: bold;
25
- margin-right: 4px;
26
- }
27
- }
1
+ .vm-car-statistics {
2
+ width: 208px;
3
+ height: 84px;
4
+ display: flex;
5
+ flex-direction: column;
6
+ justify-content: space-between;
7
+ padding: 20px;
8
+ background-size: 100% 100%;
9
+ &-label {
10
+ color: var(--img-text-color);
11
+ }
12
+ &-value, &-unit {
13
+ color: #1f1f1f;
14
+ }
15
+ &.vm-car-statistics-dark {
16
+ .vm-car-statistics-value,.vm-car-statistics-unit {
17
+ background: linear-gradient(180deg, #ffffff 0%, #119FFB 100%);
18
+ background-clip: text;
19
+ -webkit-text-fill-color: transparent;
20
+ }
21
+ }
22
+ &-value {
23
+ font-size: 20px;
24
+ font-weight: bold;
25
+ margin-right: 4px;
26
+ }
27
+ }
@@ -22,6 +22,6 @@ var VmCustom = function VmCustom(_ref) {
22
22
  border: 'none',
23
23
  overflowY: 'auto'
24
24
  }
25
- });
25
+ }, url);
26
26
  };
27
27
  export default VmCustom;
@@ -1,11 +1,11 @@
1
- .vm-factor-list-wrap {
2
- display: flex;
3
- padding: 12px 16px;
4
- height: 68px;
5
- background: #F3F8FF;
6
- border-radius: 8px;
7
- gap: 26px;
8
- &.dark {
9
- background: rgba(0,136,240,0.15);
10
- }
11
- }
1
+ .vm-factor-list-wrap {
2
+ display: flex;
3
+ padding: 12px 16px;
4
+ height: 68px;
5
+ background: #F3F8FF;
6
+ border-radius: 8px;
7
+ gap: 26px;
8
+ &.dark {
9
+ background: rgba(0,136,240,0.15);
10
+ }
11
+ }
@@ -34,6 +34,11 @@ export var VMRangePicker = function VMRangePicker(props) {
34
34
  return /*#__PURE__*/_jsx(RangePicker, _objectSpread(_objectSpread({
35
35
  className: "vm-range-picker ".concat(isDark ? 'dark' : ''),
36
36
  dropdownClassName: "vm-range-picker-dropdown ".concat(isDark ? 'dark' : ''),
37
+ classNames: {
38
+ popup: {
39
+ root: "vm-range-picker-dropdown ".concat(isDark ? 'dark' : '')
40
+ }
41
+ },
37
42
  allowClear: false
38
43
  }, props), {}, {
39
44
  locale: locale
@@ -45,6 +50,11 @@ export var VMDatePicker = function VMDatePicker(props) {
45
50
  return /*#__PURE__*/_jsx(DatePicker, _objectSpread(_objectSpread({
46
51
  className: "vm-range-picker ".concat(isDark ? 'dark' : ''),
47
52
  dropdownClassName: "vm-range-picker-dropdown ".concat(isDark ? 'dark' : ''),
53
+ classNames: {
54
+ popup: {
55
+ root: "vm-range-picker-dropdown ".concat(isDark ? 'dark' : '')
56
+ }
57
+ },
48
58
  allowClear: false
49
59
  }, props), {}, {
50
60
  locale: locale
@@ -56,6 +66,11 @@ export var VMMonthPicker = function VMMonthPicker(props) {
56
66
  return /*#__PURE__*/_jsx(MonthPicker, _objectSpread(_objectSpread({
57
67
  className: "vm-range-picker ".concat(isDark ? 'dark' : ''),
58
68
  dropdownClassName: "vm-range-picker-dropdown ".concat(isDark ? 'dark' : ''),
69
+ classNames: {
70
+ popup: {
71
+ root: "vm-range-picker-dropdown ".concat(isDark ? 'dark' : '')
72
+ }
73
+ },
59
74
  allowClear: false
60
75
  }, props), {}, {
61
76
  locale: locale
@@ -67,6 +82,11 @@ export var VMYearPicker = function VMYearPicker(props) {
67
82
  return /*#__PURE__*/_jsx(YearPicker, _objectSpread(_objectSpread({
68
83
  className: "vm-range-picker ".concat(isDark ? 'dark' : ''),
69
84
  dropdownClassName: "vm-range-picker-dropdown ".concat(isDark ? 'dark' : ''),
85
+ classNames: {
86
+ popup: {
87
+ root: "vm-range-picker-dropdown ".concat(isDark ? 'dark' : '')
88
+ }
89
+ },
70
90
  allowClear: false
71
91
  }, props), {}, {
72
92
  locale: locale
@@ -78,6 +98,11 @@ export var VMSelect = function VMSelect(props) {
78
98
  return /*#__PURE__*/_jsx(Select, _objectSpread(_objectSpread({
79
99
  className: "vm-select ".concat(isDark ? 'dark' : '', " "),
80
100
  dropdownClassName: "vm-select-dropdown ".concat(isDark ? 'dark' : ''),
101
+ classNames: {
102
+ popup: {
103
+ root: "vm-select-dropdown ".concat(isDark ? 'dark' : '')
104
+ }
105
+ },
81
106
  notFoundContent: /*#__PURE__*/_jsx(VmEmpty, {})
82
107
  }, props), {}, {
83
108
  children: props.children
@@ -4,11 +4,12 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
4
4
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
5
5
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
6
6
  function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
7
- import { Spin } from 'antd';
7
+ import { Row, Spin } from 'antd';
8
8
  import ReactEcharts from 'echarts-for-react';
9
- import _ from 'lodash';
9
+ import _, { isEmpty } from 'lodash';
10
10
  import useSettings from "../../_hooks/useSettings";
11
11
  import { getPercentValue } from "../../_util";
12
+ import VmEmpty from "../vm-empty";
12
13
  import "./index.less";
13
14
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
14
15
  var PieCharts = function PieCharts(_ref) {
@@ -105,7 +106,7 @@ var PieCharts = function PieCharts(_ref) {
105
106
  var info = dataList[index] || {};
106
107
  var value = info.value;
107
108
  var percent = getPercentValue(_.map(dataList, 'value'), index, 2);
108
- return "{name|".concat(name.slice(0, nameLength)).concat(name.length > nameLength ? '...' : '', "}{number|").concat(value || 0).concat(unit || '', "}{space|}{percent|").concat(percent, "%}");
109
+ return "{name|".concat(name.slice(0, nameLength)).concat(name.length > nameLength ? '...' : '', "}{number|").concat(value || 0).concat(unit || '', "}{space|}{percent|").concat(percent || 0, "%}");
109
110
  },
110
111
  tooltip: {
111
112
  show: true
@@ -156,7 +157,16 @@ var PieCharts = function PieCharts(_ref) {
156
157
  style: {
157
158
  height: height
158
159
  },
159
- children: loading ? /*#__PURE__*/_jsx(Spin, {}) : /*#__PURE__*/_jsxs(_Fragment, {
160
+ children: loading ? /*#__PURE__*/_jsx(Spin, {}) : isEmpty(dataList) ? /*#__PURE__*/_jsx(Row, {
161
+ style: {
162
+ height: height
163
+ },
164
+ align: 'middle',
165
+ justify: 'center',
166
+ children: /*#__PURE__*/_jsx(VmEmpty, {
167
+ type: "NO_CHART"
168
+ })
169
+ }) : /*#__PURE__*/_jsxs(_Fragment, {
160
170
  children: [/*#__PURE__*/_jsxs("div", {
161
171
  className: 'vtx-car-pie-charts-title-wrap',
162
172
  style: {
@@ -1,7 +1,7 @@
1
- .vm-popover {
2
- &.dark {
3
- .ant-popover-inner-content, .ant-popover-arrow-content, .ant-popover-arrow-content::before {
4
- background: rgb(51 95 135);
5
- }
6
- }
7
- }
1
+ .vm-popover {
2
+ &.dark {
3
+ .ant-popover-inner-content, .ant-popover-arrow-content, .ant-popover-arrow-content::before {
4
+ background: rgb(51 95 135);
5
+ }
6
+ }
7
+ }
@@ -23,6 +23,9 @@ export function Line(props) {
23
23
  return /*#__PURE__*/_jsx(Progress, {
24
24
  percent: rate,
25
25
  width: width,
26
+ size: {
27
+ width: width
28
+ },
26
29
  strokeColor: strokeColor ? strokeColor : rate > 100 ? {
27
30
  from: '#FF5861',
28
31
  to: '#FF000E'
@@ -31,6 +34,7 @@ export function Line(props) {
31
34
  to: '#00FFF6'
32
35
  } : '#1677FF',
33
36
  trailColor: trailColor ? trailColor : isDark ? 'rgba(255,255,255,0.05)' : 'rgba(0,0,0,0.05)',
37
+ railColor: trailColor ? trailColor : isDark ? 'rgba(255,255,255,0.05)' : 'rgba(0,0,0,0.05)',
34
38
  showInfo: false
35
39
  });
36
40
  }
@@ -57,6 +61,7 @@ var Circle = function Circle(props) {
57
61
  percent: rate,
58
62
  type: type,
59
63
  width: width,
64
+ size: width,
60
65
  strokeWidth: strokeWidth,
61
66
  strokeLinecap: "round",
62
67
  strokeColor: strokeColor || (isDark ? {
@@ -64,6 +69,7 @@ var Circle = function Circle(props) {
64
69
  '100%': '#44FF98'
65
70
  } : '#1677FF'),
66
71
  trailColor: trailColor ? trailColor : isDark ? 'rgba(0, 157, 255, 0.68)' : '#e1ecfd',
72
+ railColor: trailColor ? trailColor : isDark ? 'rgba(0, 157, 255, 0.68)' : '#e1ecfd',
67
73
  format: function format(percent) {
68
74
  return /*#__PURE__*/_jsxs("div", {
69
75
  className: "vm-progress-text ".concat(isDark ? 'dark' : ''),
@@ -55,12 +55,12 @@ var VMTable = function VMTable(props) {
55
55
  var tableRef = useRef();
56
56
  var calculateHeight = useMemoizedFn(function () {
57
57
  if (tableRef.current) {
58
- var paginationEle = tableRef.current.querySelector('.ant-pagination');
58
+ var paginationEle = (tableRef.current.nativeElement || tableRef.current).querySelector('.ant-pagination');
59
59
  var paginationHeight = paginationEle ? paginationEle.offsetHeight + 16 * 2 : 0;
60
60
  var parentElement = tableRef.current.parentElement;
61
61
  var rect = parentElement.getBoundingClientRect();
62
62
  var paddding = getComputedStyle(parentElement).padding.replace('px', '');
63
- var _height = rect.height - paddding * 2 - tableRef.current.querySelector('thead').offsetHeight - paginationHeight;
63
+ var _height = rect.height - paddding * 2 - (tableRef.current.nativeElement || tableRef.current).querySelector('thead').offsetHeight - paginationHeight;
64
64
  setScrollY(_height);
65
65
  }
66
66
  });
@@ -74,7 +74,7 @@ var VMTable = function VMTable(props) {
74
74
  resizeObserver.observe(tableRef.current.parentElement, {
75
75
  box: 'border-box'
76
76
  });
77
- resizeObserver.observe(tableRef.current, {
77
+ resizeObserver.observe(tableRef.current.nativeElement || tableRef.current, {
78
78
  box: 'border-box'
79
79
  });
80
80
  }
@@ -97,8 +97,8 @@
97
97
  .ant-table-body {
98
98
  // ScrollBar
99
99
  &::-webkit-scrollbar {
100
- width: 0px;
101
- height: 4px;
100
+ width: 0px !important;
101
+ height: 4px !important;
102
102
  }
103
103
 
104
104
  // &::-webkit-scrollbar-track {
@@ -107,8 +107,8 @@
107
107
  // }
108
108
 
109
109
  &::-webkit-scrollbar-thumb {
110
- background: var(--scroll-bar-hover-bg);
111
- border-radius: 5px;
110
+ background: var(--scroll-bar-hover-bg) !important;
111
+ border-radius: 5px !important;
112
112
  }
113
113
 
114
114
  // &::-webkit-scrollbar-corner {
@@ -122,12 +122,14 @@
122
122
 
123
123
  .ant-table {
124
124
  background: var(--table-bg);
125
+ scrollbar-color: inherit;
125
126
  .vm-table-row {
126
127
  background: #2d575a;
127
128
  }
128
129
  .ant-table-thead {
129
130
  .ant-table-cell-fix-left,
130
- .ant-table-cell-fix-right {
131
+ .ant-table-cell-fix-right,
132
+ th.ant-table-cell-fix {
131
133
  background: var(--table-header-fixed-bg-color) !important;
132
134
  }
133
135
  }
@@ -163,7 +165,8 @@
163
165
 
164
166
  tbody {
165
167
  .ant-table-cell-fix-left,
166
- .ant-table-cell-fix-right {
168
+ .ant-table-cell-fix-right,
169
+ .ant-table-cell-fix {
167
170
  background: var(--table-bd-fixed-bg-color) !important;
168
171
  }
169
172
  tr {
@@ -185,7 +188,8 @@
185
188
 
186
189
  &:nth-child(odd) {
187
190
  td,
188
- td.ant-table-cell-fix-left {
191
+ td.ant-table-cell-fix-left,
192
+ th.ant-table-cell-fix-start {
189
193
  // background-color: var(--table-row-bg-color) !important;
190
194
  background-color: var(--table-bd-fixed-bg-odd-color) !important;
191
195
  // border-top: var(--table-row-border);
@@ -203,6 +207,7 @@
203
207
  }
204
208
 
205
209
  .ant-table-placeholder {
210
+ background: var(--table-bg) !important;
206
211
  .ant-empty-description {
207
212
  color: var(--modal-title-color);
208
213
  }
@@ -247,7 +247,12 @@ var VmVideo = function VmVideo(_ref) {
247
247
  },
248
248
  showTime: true,
249
249
  disabled: datePickerDisabled,
250
- dropdownClassName: "date-dark"
250
+ dropdownClassName: "date-dark",
251
+ classNames: {
252
+ popup: {
253
+ root: "date-dark"
254
+ }
255
+ }
251
256
  })
252
257
  }), /*#__PURE__*/_jsx(Form.Item, {
253
258
  label: "\u7ED3\u675F\u65F6\u95F4",
@@ -1,4 +1,9 @@
1
1
  @import "~antd/dist/antd.css";
2
+
3
+ html {
4
+ line-height: 1.5715;
5
+ }
6
+
2
7
  .vm-modal-dark {
3
8
  --modal-mask-bg-color: rgba(0, 0, 0, 0.4);
4
9
  --modal-title-color: #fff;
@@ -5,6 +5,8 @@ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key i
5
5
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
6
6
  function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
7
7
  import { MapIcon } from '@vtx/map-icon';
8
+ import * as VtxMapIcon from '@vtx/map-icon';
9
+ console.log(VtxMapIcon, 'VtxMapIcon');
8
10
  import { getUrlParam, getVtxToken, request } from '@vtx/utils';
9
11
  import { useRequest } from 'ahooks';
10
12
  import dayjs from 'dayjs';
@@ -1,98 +1,98 @@
1
- .vm-modal-header-container {
2
- width: 100%;
3
- height: 116px;
4
- border-radius: 8px 8px 0 0;
5
- background: var(--modal-head-bg);
6
- padding: 0 16px;
7
- margin-top: 1px;
8
- }
9
-
10
- .vm-modal-header-wrap {
11
- width: 100%;
12
- height: 56px;
13
- display: flex;
14
- align-items: center;
15
- justify-content: space-between;
16
- position: relative;
17
- &::after {
18
- position: absolute;
19
- top: 54px;
20
- left: 0;
21
- content: '';
22
- width: 180px;
23
- height: 1px;
24
- background: var(--modal-head-line-bg);
25
- box-shadow: var(--modal-head-line-shadow);
26
- border-radius: 8px;
27
- animation: move 6s linear infinite;
28
-
29
- @keyframes move {
30
- 0% {
31
- left: 0;
32
- }
33
-
34
- 100% {
35
- left: calc(100% - 180px);
36
- }
37
- }
38
- }
39
-
40
- &-left {
41
- display: flex;
42
- align-items: center;
43
- gap: 8px;
44
-
45
- &-title {
46
- font-weight: bold;
47
- font-size: 20px;
48
- color: var(--modal-title-color);
49
- }
50
-
51
- &-tag {
52
- display: flex;
53
- align-items: center;
54
- justify-content: center;
55
- gap: 4px;
56
- height: 24px;
57
- border-radius: 16px;
58
- font-size: 12px;
59
- padding: 0 8px;
60
- border: 1px solid;
61
- }
62
- }
63
-
64
- &-right {
65
- display: flex;
66
- align-items: center;
67
- gap: 16px;
68
-
69
- &-close {
70
- display: flex;
71
- align-items: center;
72
- justify-content: center;
73
- color: var(--modal-close-color);
74
- width: 28px;
75
- height: 28px;
76
- cursor: pointer;
77
- font-size: 16px;
78
- }
79
-
80
- &-line {
81
- width: 1px;
82
- height: 14px;
83
- background-color: var(--modal-head-split-line-color);
84
- }
85
-
86
- &-collect {
87
- width: 28px;
88
- height: 28px;
89
- border-radius: 8px;
90
- text-align: center;
91
- cursor: pointer;
92
-
93
- &.active {
94
- background: var(--collect-bg);
95
- }
96
- }
97
- }
98
- }
1
+ .vm-modal-header-container {
2
+ width: 100%;
3
+ height: 116px;
4
+ border-radius: 8px 8px 0 0;
5
+ background: var(--modal-head-bg);
6
+ padding: 0 16px;
7
+ margin-top: 1px;
8
+ }
9
+
10
+ .vm-modal-header-wrap {
11
+ width: 100%;
12
+ height: 56px;
13
+ display: flex;
14
+ align-items: center;
15
+ justify-content: space-between;
16
+ position: relative;
17
+ &::after {
18
+ position: absolute;
19
+ top: 54px;
20
+ left: 0;
21
+ content: '';
22
+ width: 180px;
23
+ height: 1px;
24
+ background: var(--modal-head-line-bg);
25
+ box-shadow: var(--modal-head-line-shadow);
26
+ border-radius: 8px;
27
+ animation: move 6s linear infinite;
28
+
29
+ @keyframes move {
30
+ 0% {
31
+ left: 0;
32
+ }
33
+
34
+ 100% {
35
+ left: calc(100% - 180px);
36
+ }
37
+ }
38
+ }
39
+
40
+ &-left {
41
+ display: flex;
42
+ align-items: center;
43
+ gap: 8px;
44
+
45
+ &-title {
46
+ font-weight: bold;
47
+ font-size: 20px;
48
+ color: var(--modal-title-color);
49
+ }
50
+
51
+ &-tag {
52
+ display: flex;
53
+ align-items: center;
54
+ justify-content: center;
55
+ gap: 4px;
56
+ height: 24px;
57
+ border-radius: 16px;
58
+ font-size: 12px;
59
+ padding: 0 8px;
60
+ border: 1px solid;
61
+ }
62
+ }
63
+
64
+ &-right {
65
+ display: flex;
66
+ align-items: center;
67
+ gap: 16px;
68
+
69
+ &-close {
70
+ display: flex;
71
+ align-items: center;
72
+ justify-content: center;
73
+ color: var(--modal-close-color);
74
+ width: 28px;
75
+ height: 28px;
76
+ cursor: pointer;
77
+ font-size: 16px;
78
+ }
79
+
80
+ &-line {
81
+ width: 1px;
82
+ height: 14px;
83
+ background-color: var(--modal-head-split-line-color);
84
+ }
85
+
86
+ &-collect {
87
+ width: 28px;
88
+ height: 28px;
89
+ border-radius: 8px;
90
+ text-align: center;
91
+ cursor: pointer;
92
+
93
+ &.active {
94
+ background: var(--collect-bg);
95
+ }
96
+ }
97
+ }
98
+ }
@@ -129,6 +129,11 @@ var VmBaseModal = function VmBaseModal(props) {
129
129
  var _theme = theme === 'light' ? 'light' : 'dark';
130
130
  if (type === 'car') {
131
131
  var path = 'index';
132
+ if (tabs.find(function (item) {
133
+ return item.code === 'jxh-base-hw2';
134
+ })) {
135
+ path = 'zyqsLaneHistory';
136
+ }
132
137
  src = iframeUrl || "".concat(prefix, "/carHistory/#/").concat(path, "?carId=").concat(id, "&theme=").concat(_theme, "&startTime=").concat(startDate ? dayjs(startDate).format('YYYY-MM-DD 00:00:00') : '', "&endTime=").concat(endDate ? dayjs(endDate).format('YYYY-MM-DD 23:59:59') : '');
133
138
  }
134
139
  if (type === 'staff') {