@vtx/modals2 5.0.62 → 5.0.64

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 (44) 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-video/HistoryGrid.js +2 -0
  5. package/lib/_components/vm-video/RealtimeGrid.js +2 -0
  6. package/lib/_components/vm-video/index.js +22 -18
  7. package/lib/_hooks/useGetChannels.js +2 -12
  8. package/lib/_util/http.js +8 -8
  9. package/lib/vtx-area-modal/api.js +1 -1
  10. package/lib/vtx-base-modal/Header/index.less +98 -98
  11. package/lib/vtx-base-modal/index.js +3 -0
  12. package/lib/vtx-base-modal/service.js +2 -2
  13. package/lib/vtx-car-modal/components/Info/index.less +6 -6
  14. package/lib/vtx-car-modal/content/Cc/OrderInfo/Detail.js +2 -2
  15. package/lib/vtx-car-modal/content/Common/OilConsumption/index.less +6 -6
  16. package/lib/vtx-car-modal/content/Common/WaterConsumption/index.less +6 -6
  17. package/lib/vtx-cc-unit-modal/components/BaseInfo/index.js +1 -1
  18. package/lib/vtx-cc-unit-modal/components/BaseInfo/index.less +6 -6
  19. package/lib/vtx-cc-unit-modal/components/DetailInfo/index.js +1 -1
  20. package/lib/vtx-cp-modal/components/BaseInfo/TodayWork.js +1 -1
  21. package/lib/vtx-default-modal/components/BaseInfo/index.js +1 -1
  22. package/lib/vtx-default-modal/index.js +2 -1
  23. package/lib/vtx-device-modal/components/BaseInfo/PreviewAndDownload.js +2 -2
  24. package/lib/vtx-device-modal/components/BaseInfo/index.js +1 -1
  25. package/lib/vtx-device-modal/components/DataAnalysis/index.less +66 -66
  26. package/lib/vtx-df-modal/components/BaseInfo/index.js +1 -1
  27. package/lib/vtx-df-modal/components/BaseInfoZdReborn/index.js +1 -1
  28. package/lib/vtx-housing-estate-modal/components/OverView/Left.js +1 -1
  29. package/lib/vtx-qyry-modal/api.js +1 -1
  30. package/lib/vtx-restaurant-modal/components/Basic/Info.js +1 -1
  31. package/lib/vtx-restaurant-modal/components/Basic/index.less +16 -16
  32. package/lib/vtx-restaurant-modal/components/DetailInfo/index.js +1 -1
  33. package/lib/vtx-restaurant-modal/components/SignAndContract/ContactDetail.js +4 -4
  34. package/lib/vtx-restaurant-modal/config.js +52 -52
  35. package/lib/vtx-road-modal/components/Statistical/index.less +32 -32
  36. package/lib/vtx-road-modal/utils/url.js +1 -1
  37. package/lib/vtx-sdyd-tfd-modal/components/OverView/Left.js +1 -1
  38. package/lib/vtx-staff-modal/api.js +1 -1
  39. package/lib/vtx-staff-modal/components/BaseInfo/WorkStatic.js +2 -2
  40. package/lib/vtx-tfd-modal/components/BaseInfo/index.js +1 -1
  41. package/lib/vtx-wr-modal/components/Build/index.js +3 -3
  42. package/lib/vtx-zf-modal/components/CkEditorCustom/view.js +1 -1
  43. package/lib/vtx-zf-modal/components/File/index.js +2 -2
  44. package/package.json +81 -81
@@ -1,66 +1,66 @@
1
- .vtx-device-analysis-dot {
2
- width: 6px;
3
- height: 6px;
4
- background: var(--green-color);
5
- border-radius: 50%;
6
- &.error {
7
- background: var(--red-color);
8
- }
9
- }
10
-
11
- .vtx-device-analysis-tabs {
12
- display: flex;
13
- gap: 16px;
14
- color: var(--modal-title-color);
15
- font-size: 14px;
16
- &-item {
17
- cursor: pointer;
18
- &.active {
19
- color: var(--blue-color);
20
- }
21
- }
22
- }
23
-
24
- .vtx-device-alarm-summary {
25
- width: 368px;
26
- height: 104px;
27
- padding: 20px;
28
- margin-bottom: 20px;
29
- color: var(--modal-title-color);
30
- display: flex;
31
- justify-content: space-between;
32
- flex-direction: column;
33
- cursor: pointer;
34
- background-image: url("../../imgs/current.png");
35
- background-size: 100% 100%;
36
- border-radius: 8px;
37
- border: 1px solid transparent;
38
- &-lable {
39
- font-size: 16px;
40
- font-weight: 600;
41
- }
42
- &-value {
43
- font-weight: 600;
44
- font-size: 24px;
45
- color: var(--red-color);
46
- }
47
- &.dark {
48
- background-image: url("../../imgs/current_dark.png");
49
- &:last-child {
50
- background-image: url("../../imgs/history_dark.png");
51
- }
52
- }
53
- &.active {
54
- border:1px solid var(--red-color);
55
- }
56
- &:last-child {
57
- margin-bottom: 0;
58
- background-image: url("../../imgs/history.png");
59
- .vtx-device-alarm-summary-value {
60
- color: var(--yellow-color);
61
- }
62
- &.active {
63
- border:1px solid var(--yellow-color);
64
- }
65
- }
66
- }
1
+ .vtx-device-analysis-dot {
2
+ width: 6px;
3
+ height: 6px;
4
+ background: var(--green-color);
5
+ border-radius: 50%;
6
+ &.error {
7
+ background: var(--red-color);
8
+ }
9
+ }
10
+
11
+ .vtx-device-analysis-tabs {
12
+ display: flex;
13
+ gap: 16px;
14
+ color: var(--modal-title-color);
15
+ font-size: 14px;
16
+ &-item {
17
+ cursor: pointer;
18
+ &.active {
19
+ color: var(--blue-color);
20
+ }
21
+ }
22
+ }
23
+
24
+ .vtx-device-alarm-summary {
25
+ width: 368px;
26
+ height: 104px;
27
+ padding: 20px;
28
+ margin-bottom: 20px;
29
+ color: var(--modal-title-color);
30
+ display: flex;
31
+ justify-content: space-between;
32
+ flex-direction: column;
33
+ cursor: pointer;
34
+ background-image: url("../../imgs/current.png");
35
+ background-size: 100% 100%;
36
+ border-radius: 8px;
37
+ border: 1px solid transparent;
38
+ &-lable {
39
+ font-size: 16px;
40
+ font-weight: 600;
41
+ }
42
+ &-value {
43
+ font-weight: 600;
44
+ font-size: 24px;
45
+ color: var(--red-color);
46
+ }
47
+ &.dark {
48
+ background-image: url("../../imgs/current_dark.png");
49
+ &:last-child {
50
+ background-image: url("../../imgs/history_dark.png");
51
+ }
52
+ }
53
+ &.active {
54
+ border:1px solid var(--red-color);
55
+ }
56
+ &:last-child {
57
+ margin-bottom: 0;
58
+ background-image: url("../../imgs/history.png");
59
+ .vtx-device-alarm-summary-value {
60
+ color: var(--yellow-color);
61
+ }
62
+ &.active {
63
+ border:1px solid var(--yellow-color);
64
+ }
65
+ }
66
+ }
@@ -54,7 +54,7 @@ var BaseInfo = function BaseInfo(props) {
54
54
  padding: '0 12px 12px'
55
55
  },
56
56
  children: /*#__PURE__*/_jsx(VtxImage, {
57
- src: "/cloudFile/common/downloadFile?id=".concat(photos[0].id, "&token=").concat(getVtxToken('token')),
57
+ src: "".concat(process.env.PREFIX || '', "/cloudFile/common/downloadFile?id=").concat(photos[0].id, "&token=").concat(getVtxToken('token')),
58
58
  alt: photos[0].name,
59
59
  isDark: true,
60
60
  style: {
@@ -56,7 +56,7 @@ var BaseInfo = function BaseInfo(props) {
56
56
  padding: '0 12px 12px'
57
57
  },
58
58
  children: /*#__PURE__*/_jsx(VtxImage, {
59
- src: "/cloudFile/common/downloadFile?id=".concat(photos[0].id, "&token=").concat(getVtxToken('token')),
59
+ src: "".concat(process.env.PREFIX || '', "/cloudFile/common/downloadFile?id=").concat(photos[0].id, "&token=").concat(getVtxToken('token')),
60
60
  alt: photos[0].name,
61
61
  isDark: true,
62
62
  style: {
@@ -40,7 +40,7 @@ var Left = function Left(_ref) {
40
40
  children: photos.length ? /*#__PURE__*/_jsx(VtxImage.PreviewGroup, {
41
41
  children: photos.map(function (item) {
42
42
  return /*#__PURE__*/_jsx(VtxImage, {
43
- src: "/cloudFile/common/downloadFile?id=".concat(item.id, "&token=").concat(getVtxToken('token')),
43
+ src: "".concat(process.env.PREFIX || '', "/cloudFile/common/downloadFile?id=").concat(item.id, "&token=").concat(getVtxToken('token')),
44
44
  alt: item.name
45
45
  }, item.id);
46
46
  })
@@ -97,7 +97,7 @@ var BaseService = {
97
97
  },
98
98
  lng: mapInfoRes.data.lngDone,
99
99
  lat: mapInfoRes.data.latDone,
100
- url: mapInfoRes !== null && mapInfoRes !== void 0 && (_mapInfoRes$data2 = mapInfoRes.data) !== null && _mapInfoRes$data2 !== void 0 && _mapInfoRes$data2.icon ? "/cloudFile/common/downloadFile?id=".concat(mapInfoRes === null || mapInfoRes === void 0 || (_mapInfoRes$data3 = mapInfoRes.data) === null || _mapInfoRes$data3 === void 0 ? void 0 : _mapInfoRes$data3.icon, "&token=").concat(getVtxToken('token')) : isDark ? new MapIcon.CommonIcon({
100
+ url: mapInfoRes !== null && mapInfoRes !== void 0 && (_mapInfoRes$data2 = mapInfoRes.data) !== null && _mapInfoRes$data2 !== void 0 && _mapInfoRes$data2.icon ? "".concat(process.env.PREFIX || '', "/cloudFile/common/downloadFile?id=").concat(mapInfoRes === null || mapInfoRes === void 0 || (_mapInfoRes$data3 = mapInfoRes.data) === null || _mapInfoRes$data3 === void 0 ? void 0 : _mapInfoRes$data3.icon, "&token=").concat(getVtxToken('token')) : isDark ? new MapIcon.CommonIcon({
101
101
  canvasIcon: 'PERSONNEL',
102
102
  color: (mapInfoRes === null || mapInfoRes === void 0 || (_mapInfoRes$data4 = mapInfoRes.data) === null || _mapInfoRes$data4 === void 0 ? void 0 : _mapInfoRes$data4.statusCode) === 'Normal' ? '#119FFB' : '#999999'
103
103
  }).getImgUrl() : new MapIcon.CommonIcon({
@@ -57,7 +57,7 @@ var Info = function Info() {
57
57
  height: 80,
58
58
  src: "/vortex/rest/cloud/np/file/downloadFileThumbnail?outputQuality=0.5&scale=0.2&id=".concat(item.id, "&token=").concat(getVtxToken('token')),
59
59
  preview: {
60
- src: "/cloudFile/common/downloadFile?id=".concat(item.id, "&token=").concat(getVtxToken('token'))
60
+ src: "".concat(process.env.PREFIX || '', "/cloudFile/common/downloadFile?id=").concat(item.id, "&token=").concat(getVtxToken('token'))
61
61
  }
62
62
  }, item.id);
63
63
  })
@@ -1,16 +1,16 @@
1
- .vtx-restaurant-rule_item {
2
- border-radius: 8px 8px 8px 8px;
3
- border: 1px solid var(--gray-line-color);
4
- padding: 16px 16px 8px;
5
- margin-top: 12px;
6
- position: relative;
7
- .vtx-restaurant-border {
8
- width: 100%;
9
- position: absolute;
10
- left: 0;
11
- top: -2px;
12
- height: 44px;
13
- border-radius: 8px 8px 0px 0px;
14
- border-top: 2px solid var(--blue-color);
15
- }
16
- }
1
+ .vtx-restaurant-rule_item {
2
+ border-radius: 8px 8px 8px 8px;
3
+ border: 1px solid var(--gray-line-color);
4
+ padding: 16px 16px 8px;
5
+ margin-top: 12px;
6
+ position: relative;
7
+ .vtx-restaurant-border {
8
+ width: 100%;
9
+ position: absolute;
10
+ left: 0;
11
+ top: -2px;
12
+ height: 44px;
13
+ border-radius: 8px 8px 0px 0px;
14
+ border-top: 2px solid var(--blue-color);
15
+ }
16
+ }
@@ -51,7 +51,7 @@ var DetailInfo = function DetailInfo() {
51
51
  height: 80,
52
52
  src: "/vortex/rest/cloud/np/file/downloadFileThumbnail?outputQuality=0.5&scale=0.2&id=".concat(item.id, "&token=").concat(getVtxToken('token')),
53
53
  preview: {
54
- src: "/cloudFile/common/downloadFile?id=".concat(item.id, "&token=").concat(getVtxToken('token'))
54
+ src: "".concat(process.env.PREFIX || '', "/cloudFile/common/downloadFile?id=").concat(item.id, "&token=").concat(getVtxToken('token'))
55
55
  }
56
56
  }, item.id);
57
57
  })
@@ -96,7 +96,7 @@ var Content = function Content(_ref) {
96
96
  children: [/*#__PURE__*/_jsx(Button, {
97
97
  onClick: function onClick() {
98
98
  if (data.contractId) {
99
- downloadFile("/cloudFile/common/downloadFile?id=".concat(data.contractId, "&token=").concat(token), {}, 'form');
99
+ downloadFile("".concat(process.env.PREFIX || '', "/cloudFile/common/downloadFile?id=").concat(data.contractId, "&token=").concat(token), {}, 'form');
100
100
  } else {
101
101
  message.warning('还没有合同生成');
102
102
  }
@@ -109,7 +109,7 @@ var Content = function Content(_ref) {
109
109
  prefixCls: 'my-message'
110
110
  });
111
111
  if (data.contractPdfId) {
112
- downloadFile("/cloudFile/common/downloadFile?id=".concat(data.contractPdfId, "&token=").concat(token), {}, 'form');
112
+ downloadFile("".concat(process.env.PREFIX || '', "/cloudFile/common/downloadFile?id=").concat(data.contractPdfId, "&token=").concat(token), {}, 'form');
113
113
  } else {
114
114
  message.warning('还没有合同生成');
115
115
  }
@@ -161,7 +161,7 @@ var Content = function Content(_ref) {
161
161
  src: "/vortex/rest/cloud/np/file/downloadFileThumbnail?outputQuality=0.5&scale=0.2&id=".concat(data === null || data === void 0 ? void 0 : data.firstSign, "&token=").concat(token),
162
162
  preview: {
163
163
  destroyOnClose: true,
164
- src: "/cloudFile/common/downloadFile?id=".concat(data === null || data === void 0 ? void 0 : data.firstSign, "&token=").concat(token),
164
+ src: "".concat(process.env.PREFIX || '', "/cloudFile/common/downloadFile?id=").concat(data === null || data === void 0 ? void 0 : data.firstSign, "&token=").concat(token),
165
165
  maskClassName: 'maskClass'
166
166
  },
167
167
  alt: "\u7B7E\u5B57",
@@ -210,7 +210,7 @@ var Content = function Content(_ref) {
210
210
  src: "/vortex/rest/cloud/np/file/downloadFileThumbnail?outputQuality=0.5&scale=0.2&id=".concat(data === null || data === void 0 ? void 0 : data.secondSign, "&token=").concat(token),
211
211
  preview: {
212
212
  destroyOnClose: true,
213
- src: "/cloudFile/common/downloadFile?id=".concat(data === null || data === void 0 ? void 0 : data.secondSign, "&token=").concat(token),
213
+ src: "".concat(process.env.PREFIX || '', "/cloudFile/common/downloadFile?id=").concat(data === null || data === void 0 ? void 0 : data.secondSign, "&token=").concat(token),
214
214
  maskClassName: 'maskClass'
215
215
  },
216
216
  alt: "\u7B7E\u5B57",
@@ -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
+ }
@@ -8,5 +8,5 @@ export var buildIframeQuery = function buildIframeQuery() {
8
8
  searchParams.set(key, value);
9
9
  }
10
10
  });
11
- return searchParams.toString();
11
+ return searchParams.toString().replace(/\+/g, '%20');
12
12
  };
@@ -36,7 +36,7 @@ var Left = function Left(_ref) {
36
36
  children: photos.length ? /*#__PURE__*/_jsx(VtxImage.PreviewGroup, {
37
37
  children: photos.map(function (item) {
38
38
  return /*#__PURE__*/_jsx(VtxImage, {
39
- src: "/cloudFile/common/downloadFile?id=".concat(item.id, "&token=").concat(getVtxToken('token')),
39
+ src: "".concat(process.env.PREFIX || '', "/cloudFile/common/downloadFile?id=").concat(item.id, "&token=").concat(getVtxToken('token')),
40
40
  alt: item.name
41
41
  }, item.id);
42
42
  })
@@ -108,7 +108,7 @@ var BaseService = {
108
108
  lng: mapInfoRes.data.lngDone,
109
109
  lat: mapInfoRes.data.latDone,
110
110
  // labelClass: 'vtx-map-carCode',
111
- url: mapInfoRes !== null && mapInfoRes !== void 0 && (_mapInfoRes$data3 = mapInfoRes.data) !== null && _mapInfoRes$data3 !== void 0 && _mapInfoRes$data3.icon ? "/cloudFile/common/downloadFile?id=".concat(mapInfoRes === null || mapInfoRes === void 0 || (_mapInfoRes$data4 = mapInfoRes.data) === null || _mapInfoRes$data4 === void 0 ? void 0 : _mapInfoRes$data4.icon, "&token=").concat(getVtxToken('token')) : isDark ? new MapIcon.CommonIcon({
111
+ url: mapInfoRes !== null && mapInfoRes !== void 0 && (_mapInfoRes$data3 = mapInfoRes.data) !== null && _mapInfoRes$data3 !== void 0 && _mapInfoRes$data3.icon ? "".concat(process.env.PREFIX || '', "/cloudFile/common/downloadFile?id=").concat(mapInfoRes === null || mapInfoRes === void 0 || (_mapInfoRes$data4 = mapInfoRes.data) === null || _mapInfoRes$data4 === void 0 ? void 0 : _mapInfoRes$data4.icon, "&token=").concat(getVtxToken('token')) : isDark ? new MapIcon.CommonIcon({
112
112
  canvasIcon: 'PERSONNEL',
113
113
  color: (mapInfoRes === null || mapInfoRes === void 0 || (_mapInfoRes$data5 = mapInfoRes.data) === null || _mapInfoRes$data5 === void 0 ? void 0 : _mapInfoRes$data5.statusCode) === 'Normal' ? '#119FFB' : '#999999'
114
114
  }).getImgUrl() : new MapIcon.CommonIcon({
@@ -1,5 +1,5 @@
1
- /**
2
- * 区域进场量分析
1
+ /**
2
+ * 区域进场量分析
3
3
  */
4
4
 
5
5
  import { Col, Row } from 'antd';
@@ -67,7 +67,7 @@ var BaseInfo = function BaseInfo(props) {
67
67
  padding: '0 12px 12px'
68
68
  },
69
69
  children: /*#__PURE__*/_jsx(VtxImage, {
70
- src: "/cloudFile/common/downloadFile?id=".concat(photos[0].id, "&token=").concat(getVtxToken('token')),
70
+ src: "".concat(process.env.PREFIX || '', "/cloudFile/common/downloadFile?id=").concat(photos[0].id, "&token=").concat(getVtxToken('token')),
71
71
  alt: photos[0].name,
72
72
  isDark: true,
73
73
  style: {
@@ -16,7 +16,7 @@ var preview = function preview() {
16
16
  id: '',
17
17
  name: ''
18
18
  };
19
- window.open("/cloud/kkPreview/onlinePreview?url=".concat(Base64.encode("".concat(location.origin, "/cloudFile/common/downloadFile?token=").concat(getVtxToken('token'), "&id=").concat(item.id, "&fullfilename=").concat(encodeURIComponent(item.name))), "&token=").concat(getVtxToken('token')));
19
+ window.open("/cloud/kkPreview/onlinePreview?url=".concat(Base64.encode("".concat(location.origin).concat(process.env.PREFIX || '', "/cloudFile/common/downloadFile?token=").concat(getVtxToken('token'), "&id=").concat(item.id, "&fullfilename=").concat(encodeURIComponent(item.name))), "&token=").concat(getVtxToken('token')));
20
20
  };
21
21
  export var renderFile = function renderFile(list) {
22
22
  return list.map(function (item) {
@@ -32,7 +32,7 @@ export var renderFile = function renderFile(list) {
32
32
  children: "\u9884\u89C8"
33
33
  }), /*#__PURE__*/_jsx(Button, {
34
34
  onClick: function onClick() {
35
- return window.open("/cloudFile/common/downloadFile?token=".concat(getVtxToken('token'), "&id=").concat(item.id));
35
+ return window.open("".concat(process.env.PREFIX || '', "/cloudFile/common/downloadFile?token=").concat(getVtxToken('token'), "&id=").concat(item.id));
36
36
  },
37
37
  children: "\u4E0B\u8F7D"
38
38
  })]
@@ -147,7 +147,7 @@ export default (function (props) {
147
147
  }), ((_each$component2 = each.component) === null || _each$component2 === void 0 ? void 0 : _each$component2.type) === 'IMAGE' ? (_item$dataJson = item.dataJson) !== null && _item$dataJson !== void 0 && _item$dataJson[each.showKey] ? /*#__PURE__*/_jsx(VtxImage.PreviewGroup, {
148
148
  children: JSON.parse((_item$dataJson2 = item.dataJson) === null || _item$dataJson2 === void 0 ? void 0 : _item$dataJson2[each.showKey]).map(function (a) {
149
149
  return /*#__PURE__*/_jsx(VtxImage, {
150
- src: "/cloudFile/common/downloadFile?id=".concat(a.id, "&token=").concat(getVtxToken('token')),
150
+ src: "".concat(process.env.PREFIX || '', "/cloudFile/common/downloadFile?id=").concat(a.id, "&token=").concat(getVtxToken('token')),
151
151
  alt: a.name,
152
152
  style: {
153
153
  width: '56px',
@@ -156,7 +156,7 @@ export default function viewRichText(_ref) {
156
156
  },
157
157
  children: [/*#__PURE__*/_jsx("img", {
158
158
  className: classNames('sign_pic'),
159
- src: "/cloudFile/common/downloadFile?id=".concat(arr[0].id)
159
+ src: "".concat(process.env.PREFIX || '', "/cloudFile/common/downloadFile?id=").concat(arr[0].id)
160
160
  }), /*#__PURE__*/_jsxs("span", {
161
161
  className: classNames('sign_opera'),
162
162
  children: [/*#__PURE__*/_jsx(EyeOutlined, {
@@ -22,7 +22,7 @@ var preview = function preview() {
22
22
  id: '',
23
23
  name: ''
24
24
  };
25
- window.open("/cloud/kkPreview/onlinePreview?url=".concat(Base64.encode("".concat(location.origin, "/cloudFile/common/downloadFile?token=").concat(getVtxToken('token'), "&id=").concat(item.id, "&fullfilename=").concat(encodeURIComponent(item.name))), "&token=").concat(getVtxToken('token')));
25
+ window.open("/cloud/kkPreview/onlinePreview?url=".concat(Base64.encode("".concat(location.origin).concat(process.env.PREFIX || '', "/cloudFile/common/downloadFile?token=").concat(getVtxToken('token'), "&id=").concat(item.id, "&fullfilename=").concat(encodeURIComponent(item.name))), "&token=").concat(getVtxToken('token')));
26
26
  };
27
27
  var renderFile = function renderFile(list) {
28
28
  return list.map(function (item) {
@@ -38,7 +38,7 @@ var renderFile = function renderFile(list) {
38
38
  children: "\u9884\u89C8"
39
39
  }), /*#__PURE__*/_jsx(Button, {
40
40
  onClick: function onClick() {
41
- return window.open("/cloudFile/common/downloadFile?token=".concat(getVtxToken('token'), "&id=").concat(item.id));
41
+ return window.open("".concat(process.env.PREFIX || '', "/cloudFile/common/downloadFile?token=").concat(getVtxToken('token'), "&id=").concat(item.id));
42
42
  },
43
43
  children: "\u4E0B\u8F7D"
44
44
  })]