@vtx/modals2 6.0.0-beta.25 → 6.0.0-beta.27
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.
package/lib/locales/zh-CN.json
CHANGED
|
@@ -366,8 +366,8 @@
|
|
|
366
366
|
"vtxjzljxncmodal.view": "查看",
|
|
367
367
|
"vtxwrmodal.analyze": "作业汇总分析",
|
|
368
368
|
"vtxwrmodal.times": "总评价次数",
|
|
369
|
-
"vtxwrmodal.nbspTimes": "
|
|
370
|
-
"vtxwrmodal.nbsp": "
|
|
369
|
+
"vtxwrmodal.nbspTimes": " 次",
|
|
370
|
+
"vtxwrmodal.nbsp": " 分",
|
|
371
371
|
"vtxwrmodal.startTime": "监测开始时间",
|
|
372
372
|
"vtxwrmodal.endTime": "监测结束时间",
|
|
373
373
|
"vtxwrmodal.list": "报警列表",
|
|
@@ -388,7 +388,7 @@
|
|
|
388
388
|
"vtxwrmodal.documentList": "文档列表",
|
|
389
389
|
"vtxwrmodal.downloadAll": "下载全部",
|
|
390
390
|
"vtxwrmodal.month": "统计月份",
|
|
391
|
-
"vtxwrmodal.nbsp2": "
|
|
391
|
+
"vtxwrmodal.nbsp2": " 人",
|
|
392
392
|
"vtxwrmodal.overviewInformation": "总览信息",
|
|
393
393
|
"vtxwrmodal.publicToiletScore": "公厕得分",
|
|
394
394
|
"vtxwrmodal.evaluationAnalysis": "评价分析",
|
|
@@ -5,13 +5,13 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
5
5
|
import useGetChannels from "../_hooks/useGetChannels";
|
|
6
6
|
import useGetConfig from "../_hooks/useGetConfig";
|
|
7
7
|
import { useMemo } from 'react';
|
|
8
|
-
import "../_util/setupDayjs";
|
|
9
8
|
import { VmCustom, VmVideo } from "../_components";
|
|
9
|
+
import "../_util/setupDayjs";
|
|
10
|
+
import "../style/index.less";
|
|
10
11
|
import VtxBaseModal from "../vtx-base-modal";
|
|
11
12
|
import { BaseService } from "./api";
|
|
12
13
|
import { BaseInfo } from "./components";
|
|
13
14
|
import DataAnalysis from "./components/DataAnalysis";
|
|
14
|
-
import "../style/index.less";
|
|
15
15
|
import "./style";
|
|
16
16
|
import { translateLocaleText } from "./../hooks/useTranslation.js";
|
|
17
17
|
import { jsx as _jsx, Fragment as _Fragment } from "react/jsx-runtime";
|
|
@@ -60,7 +60,7 @@ var VtxDeviceModal = function VtxDeviceModal(props) {
|
|
|
60
60
|
id: id,
|
|
61
61
|
info: info
|
|
62
62
|
})), TABS_VIDEO, /*#__PURE__*/_jsx(VmVideo, {
|
|
63
|
-
|
|
63
|
+
channels: channels
|
|
64
64
|
}));
|
|
65
65
|
// 自定义页签可配置多个,包含custom即可
|
|
66
66
|
if (tabsData !== null && tabsData !== void 0 && tabsData.length) {
|
|
@@ -131,8 +131,8 @@ var Work = function Work(props) {
|
|
|
131
131
|
var query = buildIframeQuery(location.href.split('?')[1], {
|
|
132
132
|
carId: record.carId,
|
|
133
133
|
theme: theme === 'blue' ? 'dark' : theme,
|
|
134
|
-
startTime: dayjs(
|
|
135
|
-
endTime: dayjs(
|
|
134
|
+
startTime: dayjs(day).format('YYYY-MM-DD 00:00:00'),
|
|
135
|
+
endTime: dayjs(day).format('YYYY-MM-DD 23:59:59'),
|
|
136
136
|
roadId: record.roadId
|
|
137
137
|
});
|
|
138
138
|
var src = "".concat(prefix, "/carHistory/#/zyqsHistory?").concat(query);
|
|
@@ -151,7 +151,7 @@ export default (function (props) {
|
|
|
151
151
|
fontSize: '20px'
|
|
152
152
|
},
|
|
153
153
|
children: (_baseInfo$total = baseInfo.total) !== null && _baseInfo$total !== void 0 ? _baseInfo$total : 0
|
|
154
|
-
}), translateLocaleText("t('vtxwrmodal.nbspTimes')")]
|
|
154
|
+
}), "\xA0", translateLocaleText("t('vtxwrmodal.nbspTimes')")]
|
|
155
155
|
})]
|
|
156
156
|
})]
|
|
157
157
|
}), /*#__PURE__*/_jsxs("div", {
|
|
@@ -168,7 +168,7 @@ export default (function (props) {
|
|
|
168
168
|
fontSize: '20px'
|
|
169
169
|
},
|
|
170
170
|
children: (_baseInfo$score = baseInfo.score) !== null && _baseInfo$score !== void 0 ? _baseInfo$score : 0
|
|
171
|
-
}), translateLocaleText("t('vtxwrmodal.nbsp')")]
|
|
171
|
+
}), "\xA0", translateLocaleText("t('vtxwrmodal.nbsp')")]
|
|
172
172
|
})]
|
|
173
173
|
})]
|
|
174
174
|
})]
|
|
@@ -136,7 +136,7 @@ export default (function (props) {
|
|
|
136
136
|
fontSize: '20px'
|
|
137
137
|
},
|
|
138
138
|
children: (_detail$score = detail === null || detail === void 0 ? void 0 : detail.score) !== null && _detail$score !== void 0 ? _detail$score : 0
|
|
139
|
-
}), translateLocaleText("t('vtxwrmodal.nbsp')")]
|
|
139
|
+
}), "\xA0", translateLocaleText("t('vtxwrmodal.nbsp')")]
|
|
140
140
|
})]
|
|
141
141
|
})]
|
|
142
142
|
}), /*#__PURE__*/_jsxs("div", {
|
|
@@ -153,7 +153,7 @@ export default (function (props) {
|
|
|
153
153
|
fontSize: '20px'
|
|
154
154
|
},
|
|
155
155
|
children: (_detail$evaluateCount = detail === null || detail === void 0 ? void 0 : detail.evaluateCount) !== null && _detail$evaluateCount !== void 0 ? _detail$evaluateCount : 0
|
|
156
|
-
}), translateLocaleText("t('vtxwrmodal.nbsp2')")]
|
|
156
|
+
}), "\xA0", translateLocaleText("t('vtxwrmodal.nbsp2')")]
|
|
157
157
|
})]
|
|
158
158
|
})]
|
|
159
159
|
})]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vtx/modals2",
|
|
3
|
-
"version": "6.0.0-beta.
|
|
3
|
+
"version": "6.0.0-beta.27",
|
|
4
4
|
"description": "弹窗组件",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"module": "lib/index.js",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"@vtx/components": "^4.0.0-beta.58",
|
|
54
54
|
"@vtx/map-icon": "^2.0.62",
|
|
55
55
|
"@vtx/ol-map": "^2.0.0-beta.16",
|
|
56
|
-
"@vtx/player": "^1.12.
|
|
56
|
+
"@vtx/player": "^1.12.13",
|
|
57
57
|
"@vtx/utils": "^1.0.20",
|
|
58
58
|
"antd": "6.0.0",
|
|
59
59
|
"antd-dayjs-webpack-plugin": "^1.0.6",
|