@vtx/modals2 5.0.36 → 5.0.38

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 (25) hide show
  1. package/lib/_components/vm-card-statistics/index.less +27 -27
  2. package/lib/_components/vm-factor-list/index.less +11 -11
  3. package/lib/_components/vm-popover/index.less +7 -7
  4. package/lib/_components/vm-table/index.js +4 -4
  5. package/lib/vtx-base-modal/Header/index.less +98 -98
  6. package/lib/vtx-base-modal/Tabs/index.less +54 -54
  7. package/lib/vtx-car-modal/components/Info/index.less +6 -6
  8. package/lib/vtx-car-modal/content/Common/OilConsumption/index.less +6 -6
  9. package/lib/vtx-car-modal/content/Common/WaterConsumption/index.less +6 -6
  10. package/lib/vtx-cc-unit-modal/components/BaseInfo/index.less +6 -6
  11. package/lib/vtx-device-modal/components/DataAnalysis/index.less +66 -66
  12. package/lib/vtx-restaurant-modal/components/Basic/index.less +16 -16
  13. package/lib/vtx-restaurant-modal/config.js +52 -52
  14. package/lib/vtx-road-modal/components/Statistical/index.less +32 -32
  15. package/lib/vtx-staff-modal/api.js +4 -3
  16. package/lib/vtx-staff-modal/components/AlarmInfo/Charts.js +6 -1
  17. package/lib/vtx-staff-modal/components/AlarmInfo/List.js +41 -3
  18. package/lib/vtx-staff-modal/components/AlarmInfo/index.less +12 -0
  19. package/lib/vtx-staff-modal/components/Attendance/Exeception.js +5 -2
  20. package/lib/vtx-staff-modal/components/Attendance/Record.js +55 -14
  21. package/lib/vtx-staff-modal/components/Attendance/WorkingHours.js +2 -2
  22. package/lib/vtx-staff-modal/components/Attendance/index.less +23 -1
  23. package/lib/vtx-staff-modal/components/BaseInfo/ListZymx.js +2 -2
  24. package/lib/vtx-staff-modal/components/BaseInfo/index.js +3 -3
  25. package/package.json +78 -78
@@ -60,108 +60,108 @@ export var QD_DETAIL_FIELDS = [{
60
60
  label: '二维码'
61
61
  }];
62
62
  export var RestaurantConfigureEnum = {
63
- /**
64
- * 编号
63
+ /**
64
+ * 编号
65
65
  */
66
66
  CODE: 'code',
67
- /**
68
- * 产生单位名称
67
+ /**
68
+ * 产生单位名称
69
69
  */
70
70
  NAME: 'name',
71
- /**
72
- * 店铺名称
71
+ /**
72
+ * 店铺名称
73
73
  */
74
74
  SHORT_NAME: 'shortName',
75
- /**
76
- * 行政区划名称
75
+ /**
76
+ * 行政区划名称
77
77
  */
78
78
  DIVISION_NAME: 'divisionId',
79
- /**
80
- * 联系人
79
+ /**
80
+ * 联系人
81
81
  */
82
82
  CONTACT_PERSON: 'contactPerson',
83
- /**
84
- * 联系方式
83
+ /**
84
+ * 联系方式
85
85
  */
86
86
  CONTACT_PHONE: 'contactPhone',
87
- /**
88
- * 身份证号
87
+ /**
88
+ * 身份证号
89
89
  */
90
90
  CARD_ID: 'cardId',
91
- /**
92
- * 商户地址
91
+ /**
92
+ * 商户地址
93
93
  */
94
94
  ADDRESS: 'address',
95
- /**
96
- * 经纬度
95
+ /**
96
+ * 经纬度
97
97
  */
98
98
  LOCATION: 'location',
99
- /**
100
- * 产生单位状态
99
+ /**
100
+ * 产生单位状态
101
101
  */
102
102
  SIGNED_STATUS: 'signedStatus',
103
- /**
104
- * 签约状态
103
+ /**
104
+ * 签约状态
105
105
  */
106
106
  IS_SIGN: 'isSign',
107
- /**
108
- * 收集类型
107
+ /**
108
+ * 收集类型
109
109
  */
110
110
  COLLECT_STATUS: 'collectStatus',
111
- /**
112
- * 收集点
111
+ /**
112
+ * 收集点
113
113
  */
114
114
  SY_POINT_NAME: 'syPointId',
115
- /**
116
- * 商户类型名称
115
+ /**
116
+ * 商户类型名称
117
117
  */
118
118
  CLASSES_NAME: 'classesId',
119
- /**
120
- * 规模名称
119
+ /**
120
+ * 规模名称
121
121
  */
122
122
  SCALE_NAME: 'scaleId',
123
- /**
124
- * 垃圾桶个数
123
+ /**
124
+ * 垃圾桶个数
125
125
  */
126
126
  TRASH_CAN_NUM: 'trashCanNum',
127
- /**
128
- * 统一社会信用代码
127
+ /**
128
+ * 统一社会信用代码
129
129
  */
130
130
  CREDIT_CODE: 'creditCode',
131
- /**
132
- * 行业名称
131
+ /**
132
+ * 行业名称
133
133
  */
134
134
  INDUSTRY_NAME: 'industryId',
135
- /**
136
- * 经营范围
135
+ /**
136
+ * 经营范围
137
137
  */
138
138
  BUSINESS_SCOPE: 'businessScope',
139
- /**
140
- * 注册资金
139
+ /**
140
+ * 注册资金
141
141
  */
142
142
  REGISTER_MONEY: 'registerMoney',
143
- /**
144
- * 企业成立时间
143
+ /**
144
+ * 企业成立时间
145
145
  */
146
146
  ESTABLISHED_TIME: 'establishedTime',
147
- /**
148
- * 建议收集时间
147
+ /**
148
+ * 建议收集时间
149
149
  */
150
150
  SUGGEST_COLLECT_TIME: 'suggestCollectTime',
151
- /**
152
- * 营业时间段
151
+ /**
152
+ * 营业时间段
153
153
  */
154
154
  BUSINESS_TIME: 'businessTime',
155
- /**
156
- * 垃圾桶摆放位置图片
155
+ /**
156
+ * 垃圾桶摆放位置图片
157
157
  */
158
158
  TRASH_BIN_LOCATION_PHOTO: 'trashBinLocationPhoto',
159
- /**
160
- * 商户图片
159
+ /**
160
+ * 商户图片
161
161
  */
162
162
  PHOTO_IDS: 'photoIds',
163
- /**
164
- * 证件图片
163
+ /**
164
+ * 证件图片
165
165
  */
166
166
  PAPER_FILE_IDS: 'paperFileIds'
167
167
  };
@@ -1,32 +1,32 @@
1
- .road-statistic-summary-main-rate {
2
- --bg-color: linear-gradient(180deg, #E4EFFF 0%, #F5FBFF 100%);
3
- &-dark {
4
- --bg-color: linear-gradient(180deg, #1C7CBF 0%, #0B588E 100%);
5
- }
6
- width: 100%;
7
- height: 130px;
8
- display: flex;
9
- align-items: center;
10
- justify-content: space-around;
11
- padding: 0 24px;
12
- background: var(--bg-color);
13
- border-radius: 8px;
14
- &--block {
15
- width: 8px;
16
- height: 8px;
17
- border-radius: 50%;
18
- }
19
- &--label {
20
- display: flex;
21
- gap: 4px;
22
- align-items: center;
23
- font-size: 16px;
24
- color: var(--img-text-color);
25
- }
26
- &--value {
27
- margin-left: 12px;
28
- font-weight: bold;
29
- font-size: 24px;
30
- color: #1F1F1F;
31
- }
32
- }
1
+ .road-statistic-summary-main-rate {
2
+ --bg-color: linear-gradient(180deg, #E4EFFF 0%, #F5FBFF 100%);
3
+ &-dark {
4
+ --bg-color: linear-gradient(180deg, #1C7CBF 0%, #0B588E 100%);
5
+ }
6
+ width: 100%;
7
+ height: 130px;
8
+ display: flex;
9
+ align-items: center;
10
+ justify-content: space-around;
11
+ padding: 0 24px;
12
+ background: var(--bg-color);
13
+ border-radius: 8px;
14
+ &--block {
15
+ width: 8px;
16
+ height: 8px;
17
+ border-radius: 50%;
18
+ }
19
+ &--label {
20
+ display: flex;
21
+ gap: 4px;
22
+ align-items: center;
23
+ font-size: 16px;
24
+ color: var(--img-text-color);
25
+ }
26
+ &--value {
27
+ margin-left: 12px;
28
+ font-weight: bold;
29
+ font-size: 24px;
30
+ color: #1F1F1F;
31
+ }
32
+ }
@@ -396,7 +396,7 @@ var AttendanceService = {
396
396
  }) : []
397
397
  };
398
398
  },
399
- useAttendRecord: function useAttendRecord(staffId, startTime, endTime, pageNo, service) {
399
+ useAttendRecord: function useAttendRecord(staffId, startTime, endTime, pageNo, service, shiftClockWay) {
400
400
  var _useRequest17 = useRequest(function () {
401
401
  return request.get("/cloud/".concat(service ? 'rygl' : 'zyry-reborn', "/api/v101/attendanceRecord"), {
402
402
  data: {
@@ -404,11 +404,12 @@ var AttendanceService = {
404
404
  startTime: startTime,
405
405
  endTime: endTime,
406
406
  pageNo: pageNo,
407
- pageSize: 10
407
+ pageSize: 10,
408
+ shiftClockWay: shiftClockWay
408
409
  }
409
410
  });
410
411
  }, {
411
- refreshDeps: [staffId, startTime, endTime, pageNo]
412
+ refreshDeps: [staffId, startTime, endTime, pageNo, shiftClockWay]
412
413
  }),
413
414
  attendRecordRes = _useRequest17.data;
414
415
  return {
@@ -16,6 +16,9 @@ var Charts = function Charts(_ref) {
16
16
  });
17
17
  });
18
18
  }
19
+ var total = chartData === null || chartData === void 0 ? void 0 : chartData.reduce(function (acc, cur) {
20
+ return acc + cur.value;
21
+ }, 0);
19
22
  return /*#__PURE__*/_jsxs("div", {
20
23
  className: "staff-alarm-charts",
21
24
  children: [/*#__PURE__*/_jsx("div", {
@@ -24,6 +27,8 @@ var Charts = function Charts(_ref) {
24
27
  height: 216,
25
28
  unit: "\u6B21",
26
29
  name: "\u62A5\u8B66\u6B21\u6570",
30
+ subTitle: "\u603B\u6570(\u6B21)",
31
+ total: total,
27
32
  innerRadius: ['50%', '65%'],
28
33
  outerRadius: ['65%', '70%'],
29
34
  dataList: (chartData === null || chartData === void 0 ? void 0 : chartData.filter(function (ele) {
@@ -36,7 +41,7 @@ var Charts = function Charts(_ref) {
36
41
  return item.name === name;
37
42
  });
38
43
  if (value) {
39
- return "\t\t".concat(name, "\t\t").concat(value.value, "\u6B21\t\t");
44
+ return "\t\t".concat(name, "\t\t").concat(value.value, "\u6B21\t\t").concat((value.value / total * 100).toFixed(2), "%");
40
45
  } else {
41
46
  return '';
42
47
  }
@@ -15,10 +15,11 @@ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
15
15
  */
16
16
 
17
17
  import { useSetState } from 'ahooks';
18
+ import { Tag } from 'antd';
18
19
  import { VmTable } from "../../../_components";
19
20
  import { secondToFormatTime } from "../../../_util";
20
21
  import { AlarmService } from "../../api";
21
- import { jsx as _jsx } from "react/jsx-runtime";
22
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
22
23
  var List = function List(props) {
23
24
  var id = props.id,
24
25
  startDate = props.startDate,
@@ -46,14 +47,50 @@ var List = function List(props) {
46
47
  total: (alarmRecordRes === null || alarmRecordRes === void 0 ? void 0 : alarmRecordRes.total) || 0,
47
48
  rows: (alarmRecordRes === null || alarmRecordRes === void 0 ? void 0 : alarmRecordRes.rows) || []
48
49
  };
50
+ var getColor = function getColor(code) {
51
+ if ((code === null || code === void 0 ? void 0 : code.indexOf('脱岗')) > -1) {
52
+ return '#f00707';
53
+ } else if ((code === null || code === void 0 ? void 0 : code.indexOf('违规')) > -1) {
54
+ return '#961414';
55
+ } else if ((code === null || code === void 0 ? void 0 : code.indexOf('异常')) > -1) {
56
+ return '#c7292b';
57
+ }
58
+ return '#c44a4a';
59
+ };
60
+ var getColor2 = function getColor2(code) {
61
+ if ((code === null || code === void 0 ? void 0 : code.indexOf('一')) > -1) {
62
+ return '#f00707';
63
+ } else if ((code === null || code === void 0 ? void 0 : code.indexOf('二')) > -1) {
64
+ return '#f7c500';
65
+ } else if ((code === null || code === void 0 ? void 0 : code.indexOf('三')) > -1) {
66
+ return '#d3ec43';
67
+ }
68
+ return '#87972b';
69
+ };
49
70
  var columns = [{
50
71
  title: '报警类型',
51
72
  dataIndex: 'alarmTypeName',
52
- key: 'alarmTypeName'
73
+ key: 'alarmTypeName',
74
+ render: function render(text) {
75
+ return text ? /*#__PURE__*/_jsx(Tag, {
76
+ color: getColor(text),
77
+ children: text
78
+ }) : '--';
79
+ }
53
80
  }, {
54
81
  title: '报警等级',
55
82
  dataIndex: 'alarmLevelName',
56
- key: 'alarmLevelName'
83
+ key: 'alarmLevelName',
84
+ render: function render(text) {
85
+ return text ? /*#__PURE__*/_jsxs("div", {
86
+ children: [/*#__PURE__*/_jsx("div", {
87
+ className: 'staff-alarm-status',
88
+ style: {
89
+ backgroundColor: getColor2(text)
90
+ }
91
+ }), text]
92
+ }) : '--';
93
+ }
57
94
  }, {
58
95
  title: '报警开始时间',
59
96
  dataIndex: 'startTime',
@@ -99,6 +136,7 @@ var List = function List(props) {
99
136
  defaultPageSize: 10,
100
137
  onChange: pageChange
101
138
  }),
139
+ height: 110,
102
140
  handleTableChange: handleTableChange,
103
141
  dataSource: records.rows
104
142
  };
@@ -6,4 +6,16 @@
6
6
  flex: 1 1;
7
7
  }
8
8
  }
9
+ &-type {
10
+ padding: 6px 12px;
11
+ border: 1px solid #f00707;
12
+ }
13
+ &-status {
14
+ display: inline-block;
15
+ width: 8px;
16
+ height: 8px;
17
+ border-radius: 50%;
18
+ margin-right: 6px;
19
+ background: #f00707;
20
+ }
9
21
  }
@@ -11,12 +11,13 @@ import { useSetState } from 'ahooks';
11
11
  import dayjs from 'dayjs';
12
12
  import { VmEmpty, VmPieCharts, VmWrapper } from "../../../_components";
13
13
  import { AttendanceService } from "../../api";
14
+ import { sumBy } from 'lodash';
14
15
  import { jsx as _jsx } from "react/jsx-runtime";
15
16
  export default function Exeception(props) {
16
17
  var id = props.id,
17
18
  service = props.service;
18
19
  var _useSetState = useSetState({
19
- startDate: dayjs(),
20
+ startDate: dayjs().startOf('M'),
20
21
  endDate: dayjs()
21
22
  }),
22
23
  _useSetState2 = _slicedToArray(_useSetState, 2),
@@ -24,7 +25,7 @@ export default function Exeception(props) {
24
25
  setState = _useSetState2[1];
25
26
  var startDate = state.startDate,
26
27
  endDate = state.endDate;
27
- var _AttendanceService$us = AttendanceService.useAnalysis(id, startDate.startOf('M').format('YYYY-MM-DD'), endDate.format('YYYY-MM-DD'), service),
28
+ var _AttendanceService$us = AttendanceService.useAnalysis(id, startDate.format('YYYY-MM-DD'), endDate.format('YYYY-MM-DD'), service),
28
29
  attendAnalysisRes = _AttendanceService$us.attendAnalysisRes;
29
30
  var handleDateChange = function handleDateChange(dates) {
30
31
  setState({
@@ -47,6 +48,8 @@ export default function Exeception(props) {
47
48
  innerRadius: ['50%', '65%'],
48
49
  outerRadius: ['65%', '70%'],
49
50
  dataList: attendAnalysisRes || [],
51
+ total: sumBy(attendAnalysisRes, 'value'),
52
+ title: "\u603B\u6570(\u6B21)",
50
53
  legendConfig: {
51
54
  right: 12
52
55
  }
@@ -15,15 +15,16 @@ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
15
15
  */
16
16
  import { useSetState } from 'ahooks';
17
17
  import dayjs from 'dayjs';
18
- import { VmTable, VmWrapper } from "../../../_components";
18
+ import { VmExtraTab, VmTable, VmWrapper } from "../../../_components";
19
19
  import { AttendanceService } from "../../api";
20
20
  import { jsx as _jsx } from "react/jsx-runtime";
21
21
  export default function Record(props) {
22
22
  var id = props.id,
23
23
  service = props.service;
24
24
  var _useSetState = useSetState({
25
- startDate: dayjs(),
25
+ startDate: dayjs().startOf('M'),
26
26
  endDate: dayjs(),
27
+ shiftClockWay: 'CLOCK_IN_OUT',
27
28
  pagination: {
28
29
  current: 1,
29
30
  pageSize: 10,
@@ -35,13 +36,26 @@ export default function Record(props) {
35
36
  setState = _useSetState2[1];
36
37
  var pagination = state.pagination,
37
38
  startDate = state.startDate,
38
- endDate = state.endDate;
39
- var _AttendanceService$us = AttendanceService.useAttendRecord(id, "".concat(startDate.startOf('M').format('YYYY-MM-DD'), " 00:00:00"), "".concat(endDate.format('YYYY-MM-DD'), " 23:59:59"), pagination.current - 1, service),
39
+ endDate = state.endDate,
40
+ shiftClockWay = state.shiftClockWay;
41
+ var _AttendanceService$us = AttendanceService.useAttendRecord(id, "".concat(startDate.format('YYYY-MM-DD'), " 00:00:00"), "".concat(endDate.format('YYYY-MM-DD'), " 23:59:59"), pagination.current - 1, service, shiftClockWay),
40
42
  attendRecordRes = _AttendanceService$us.attendRecordRes;
41
43
  var records = {
42
44
  total: (attendRecordRes === null || attendRecordRes === void 0 ? void 0 : attendRecordRes.total) || 0,
43
45
  rows: (attendRecordRes === null || attendRecordRes === void 0 ? void 0 : attendRecordRes.rows) || []
44
46
  };
47
+ var getColor = function getColor(code) {
48
+ var color = '';
49
+ switch (code) {
50
+ case '正常':
51
+ color = 'staff-attend-record-status1';
52
+ break;
53
+ default:
54
+ color = 'staff-attend-record-status2';
55
+ break;
56
+ }
57
+ return color;
58
+ };
45
59
  var columns = [{
46
60
  title: '所属机构',
47
61
  dataIndex: 'deptName',
@@ -86,10 +100,13 @@ export default function Record(props) {
86
100
  title: '上班状态',
87
101
  dataIndex: 'clockInStatusName',
88
102
  key: 'clockInStatusName',
89
- width: 80
90
- // render: (text: string) => {
91
- // return <div style={{ color: getColor(text) }}>{text || '-'}</div>;
92
- // },
103
+ width: 80,
104
+ render: function render(text) {
105
+ return text ? /*#__PURE__*/_jsx("div", {
106
+ className: getColor(text),
107
+ children: text
108
+ }) : '--';
109
+ }
93
110
  }, {
94
111
  title: '下班时间',
95
112
  dataIndex: 'clockOutTime',
@@ -102,15 +119,19 @@ export default function Record(props) {
102
119
  title: '下班状态',
103
120
  dataIndex: 'clockOutStatusName',
104
121
  key: 'clockOutStatusName',
105
- width: 80
106
- // render: (text: string) => {
107
- // return <div style={{ color: getColor(text) }}>{text}</div>;
108
- // },
122
+ width: 80,
123
+ render: function render(text) {
124
+ return text ? /*#__PURE__*/_jsx("div", {
125
+ className: getColor(text),
126
+ children: text
127
+ }) : '--';
128
+ }
109
129
  }, {
110
130
  title: '用工类型',
111
131
  dataIndex: 'workTypeName',
112
132
  key: 'workTypeName',
113
- width: 80
133
+ width: 80,
134
+ ellipsis: true
114
135
  }];
115
136
  var pageChange = function pageChange(page) {
116
137
  setState({
@@ -128,7 +149,7 @@ export default function Record(props) {
128
149
  style: {
129
150
  padding: '0 20px'
130
151
  },
131
- height: 250,
152
+ height: 132,
132
153
  dataSource: records.rows
133
154
  };
134
155
  var handleDateChange = function handleDateChange(dates) {
@@ -145,6 +166,26 @@ export default function Record(props) {
145
166
  filterChange: function filterChange(dates) {
146
167
  return dates && handleDateChange(dates);
147
168
  },
169
+ extra: service ? /*#__PURE__*/_jsx(VmExtraTab, {
170
+ data: [{
171
+ key: 'CLOCK_IN_OUT',
172
+ title: '上下班打卡'
173
+ }, {
174
+ key: 'SHIFT_CHECK_IN',
175
+ title: '班次内打卡'
176
+ }],
177
+ value: shiftClockWay,
178
+ onChange: function onChange(key) {
179
+ setState({
180
+ shiftClockWay: key,
181
+ pagination: {
182
+ current: 1,
183
+ pageSize: 10,
184
+ total: 0
185
+ }
186
+ });
187
+ }
188
+ }) : null,
148
189
  children: /*#__PURE__*/_jsx(VmTable, _objectSpread({
149
190
  columns: columns,
150
191
  rowKey: "id"
@@ -32,7 +32,7 @@ export default function WorkingHours(props) {
32
32
  var id = props.id,
33
33
  service = props.service;
34
34
  var _useSetState = useSetState({
35
- startDate: dayjs(),
35
+ startDate: dayjs().startOf('M'),
36
36
  endDate: dayjs()
37
37
  }),
38
38
  _useSetState2 = _slicedToArray(_useSetState, 2),
@@ -40,7 +40,7 @@ export default function WorkingHours(props) {
40
40
  setState = _useSetState2[1];
41
41
  var startDate = state.startDate,
42
42
  endDate = state.endDate;
43
- var _AttendanceService$us = AttendanceService.useTimeAnalysis(id, startDate.startOf('M').format('YYYY-MM-DD'), endDate.format('YYYY-MM-DD'), service),
43
+ var _AttendanceService$us = AttendanceService.useTimeAnalysis(id, startDate.format('YYYY-MM-DD'), endDate.format('YYYY-MM-DD'), service),
44
44
  attendTimeAnalysisRes = _AttendanceService$us.attendTimeAnalysisRes;
45
45
  var names = attendTimeAnalysisRes.names,
46
46
  values = attendTimeAnalysisRes.values;
@@ -29,10 +29,32 @@
29
29
  gap: 12px;
30
30
  }
31
31
  &-right {
32
- flex: 1;
32
+ flex: 1;
33
33
  }
34
34
  }
35
35
  &-record {
36
36
  width: 100%;
37
+ &-status1 {
38
+ &::before {
39
+ content: '';
40
+ display: inline-block;
41
+ width: 8px;
42
+ height: 8px;
43
+ border-radius: 50%;
44
+ margin-right: 6px;
45
+ background: #35eaff;
46
+ }
47
+ }
48
+ &-status2 {
49
+ &::before {
50
+ content: '';
51
+ display: inline-block;
52
+ width: 8px;
53
+ height: 8px;
54
+ border-radius: 50%;
55
+ margin-right: 6px;
56
+ background: #ffef41;
57
+ }
58
+ }
37
59
  }
38
60
  }
@@ -85,7 +85,7 @@ var ListZymx = function ListZymx(props) {
85
85
  render: function render(text, record) {
86
86
  return text ? /*#__PURE__*/_jsx("span", {
87
87
  title: "".concat(record.clockInTime || '', "-").concat(record.clockOutTime || ''),
88
- children: "".concat(record.clockInTime || '', "-").concat(record.clockOutTime || '')
88
+ children: "".concat(record.clockInTime || '').concat(record.clockOutTime ? '-' : '').concat(record.clockOutTime || '')
89
89
  }) : '--';
90
90
  }
91
91
  }, {
@@ -112,7 +112,7 @@ var ListZymx = function ListZymx(props) {
112
112
  });
113
113
  };
114
114
  var tableProps = {
115
- height: 170,
115
+ height: 160,
116
116
  isIndex: false,
117
117
  pagination: _objectSpread(_objectSpread({}, pagination), {}, {
118
118
  total: (todayWorkRes === null || todayWorkRes === void 0 ? void 0 : todayWorkRes.total) || 0,
@@ -40,7 +40,7 @@ var BaseInfo = function BaseInfo(props) {
40
40
  var mapPoints = realInfo.mapPoints,
41
41
  pointLngLat = realInfo.pointLngLat,
42
42
  mapPolygons = realInfo.mapPolygons,
43
- realtimeInfo = realInfo.realtimeInfo;
43
+ info = realInfo.info;
44
44
  var baseTabContent = /*#__PURE__*/_jsx(VmInfoCollection, {
45
45
  data: baseInfo,
46
46
  gap: 8,
@@ -57,7 +57,7 @@ var BaseInfo = function BaseInfo(props) {
57
57
  title: "\u57FA\u672C\u4FE1\u606F",
58
58
  children: [baseTabContent, /*#__PURE__*/_jsx(VmTitle, {
59
59
  title: "\u5B9E\u65F6\u4FE1\u606F",
60
- time: realtimeInfo === null || realtimeInfo === void 0 ? void 0 : realtimeInfo.gpsTime
60
+ time: info === null || info === void 0 ? void 0 : info.gpsTime
61
61
  }), /*#__PURE__*/_jsx("div", {
62
62
  className: "staff-base-map",
63
63
  children: (center === null || center === void 0 ? void 0 : center.length) > 0 && /*#__PURE__*/_jsx(VmMap, _objectSpread({
@@ -66,7 +66,7 @@ var BaseInfo = function BaseInfo(props) {
66
66
  mapPoints: mapPoints,
67
67
  mapPolygons: mapPolygons,
68
68
  geometryType: "polygon",
69
- address: realtimeInfo === null || realtimeInfo === void 0 ? void 0 : realtimeInfo.address
69
+ address: info === null || info === void 0 ? void 0 : info.address
70
70
  }, customMapInfo))
71
71
  })]
72
72
  })