@vtx/modals2 5.0.3 → 5.0.4

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 (206) hide show
  1. package/lib/_components/index.js +4 -3
  2. package/lib/_components/vm-bar-charts/index.js +1 -1
  3. package/lib/_components/vm-calendar/style/index.less +4 -7
  4. package/lib/_components/vm-card-statistics/index.less +27 -27
  5. package/lib/_components/vm-factor/index.js +10 -5
  6. package/lib/_components/vm-factor/style/index.less +5 -1
  7. package/lib/_components/vm-factor-list/index.less +11 -11
  8. package/lib/_components/vm-filter/style/index.less +2 -1
  9. package/lib/_components/vm-info-collection/index.js +2 -2
  10. package/lib/_components/vm-line-charts/index.js +1 -1
  11. package/lib/_components/vm-map/index.js +5 -5
  12. package/lib/_components/vm-pie-charts/index.js +7 -5
  13. package/lib/_components/vm-repair-maintain/RmInfoSummary.js +46 -0
  14. package/lib/_components/vm-repair-maintain/RmMonthTrend.js +44 -0
  15. package/lib/_components/vm-repair-maintain/RmRecord.js +157 -0
  16. package/lib/_components/vm-repair-maintain/RmType.js +32 -0
  17. package/lib/_components/vm-repair-maintain/api.js +92 -0
  18. package/lib/_components/vm-repair-maintain/imgs/amount.png +0 -0
  19. package/lib/_components/vm-repair-maintain/imgs/amount_light.png +0 -0
  20. package/lib/_components/vm-repair-maintain/imgs/count.png +0 -0
  21. package/lib/_components/vm-repair-maintain/imgs/count_light.png +0 -0
  22. package/lib/_components/vm-repair-maintain/index.js +56 -0
  23. package/lib/_components/vm-repair-maintain/style/index.js +1 -0
  24. package/lib/_components/vm-repair-maintain/style/index.less +25 -0
  25. package/lib/_components/vm-table/index.js +7 -4
  26. package/lib/_components/vm-table/style/index.less +3 -2
  27. package/lib/_components/vm-tag/style/index.less +9 -0
  28. package/lib/_components/vm-title/index.js +3 -2
  29. package/lib/_components/vm-wrapper/index.js +32 -10
  30. package/lib/_components/vm-wrapper/style/index.less +28 -0
  31. package/lib/index.js +7 -2
  32. package/lib/style/index.less +2 -6
  33. package/lib/vtx-area-modal/components/BaseInfo/ListZymx.js +2 -1
  34. package/lib/vtx-base-modal/Header/index.less +98 -98
  35. package/lib/vtx-base-modal/Tabs/index.less +31 -31
  36. package/lib/vtx-base-modal/index.js +5 -2
  37. package/lib/vtx-car-modal/api.js +4 -3
  38. package/lib/vtx-car-modal/components/Info/index.less +6 -6
  39. package/lib/vtx-car-modal/content/Cc/BaseInfo/index.js +3 -0
  40. package/lib/vtx-car-modal/content/Cc/WorkRecord/Summary.js +1 -0
  41. package/lib/vtx-car-modal/content/Common/BaseInfo/index.js +5 -1
  42. package/lib/vtx-car-modal/content/Common/OilConsumption/index.less +6 -6
  43. package/lib/vtx-car-modal/content/Common/StaticInfo/index.js +1 -0
  44. package/lib/vtx-car-modal/content/Common/WaterConsumption/index.js +1 -0
  45. package/lib/vtx-car-modal/content/Common/WaterConsumption/index.less +6 -6
  46. package/lib/vtx-car-modal/content/JXH/AlarmInfo/List.js +9 -3
  47. package/lib/vtx-car-modal/content/JXH/BaseInfo/index.js +5 -1
  48. package/lib/vtx-car-modal/content/JXH/StaticInfo/index.js +7 -6
  49. package/lib/vtx-car-modal/content/JXH/WorkRecord/index.js +20 -12
  50. package/lib/vtx-car-modal/content/Ljsy/BaseInfo/index.js +3 -0
  51. package/lib/vtx-car-modal/content/Ljsy/WorkRecord/Summary.js +1 -0
  52. package/lib/vtx-car-modal/content/Ljzy/BaseInfo/index.js +3 -0
  53. package/lib/vtx-car-modal/content/Ljzy/WorkRecord/Summary.js +1 -0
  54. package/lib/vtx-car-modal/index.js +16 -2
  55. package/lib/vtx-cc-cp-modal/api.js +381 -0
  56. package/lib/vtx-cc-cp-modal/components/AlarmInfo/AlarmRecord.js +120 -0
  57. package/lib/vtx-cc-cp-modal/components/AlarmInfo/AlarmTrend.js +27 -0
  58. package/lib/vtx-cc-cp-modal/components/AlarmInfo/AlarmTypeAnalysis.js +32 -0
  59. package/lib/vtx-cc-cp-modal/components/AlarmInfo/StaticInfo.js +41 -0
  60. package/lib/vtx-cc-cp-modal/components/AlarmInfo/index.js +69 -0
  61. package/lib/vtx-cc-cp-modal/components/BaseInfo/AllWork.js +103 -0
  62. package/lib/vtx-cc-cp-modal/components/BaseInfo/Info.js +75 -0
  63. package/lib/vtx-cc-cp-modal/components/BaseInfo/Rules.js +58 -0
  64. package/lib/vtx-cc-cp-modal/components/BaseInfo/SyRecord.js +142 -0
  65. package/lib/vtx-cc-cp-modal/components/BaseInfo/index.js +63 -0
  66. package/lib/vtx-cc-cp-modal/components/BaseInfo/index.less +16 -0
  67. package/lib/vtx-cc-cp-modal/components/Calendar/index.js +168 -0
  68. package/lib/vtx-cc-cp-modal/components/Calendar/index.less +93 -0
  69. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/ExceptionTrend.js +27 -0
  70. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/ExceptionTypeAnalysis.js +32 -0
  71. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/ExeceptionRecord.js +118 -0
  72. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/StaticInfo.js +41 -0
  73. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/index.js +69 -0
  74. package/lib/vtx-cc-cp-modal/components/Restaurant/index.js +111 -0
  75. package/lib/vtx-cc-cp-modal/components/Restaurant/index.less +3 -0
  76. package/lib/vtx-cc-cp-modal/components/SyInfo/Ljcsl.js +46 -0
  77. package/lib/vtx-cc-cp-modal/components/SyInfo/SummaryInfo.js +81 -0
  78. package/lib/vtx-cc-cp-modal/components/SyInfo/index.js +78 -0
  79. package/lib/vtx-cc-cp-modal/components/index.js +7 -0
  80. package/lib/vtx-cc-cp-modal/imgs/rwnsjts.png +0 -0
  81. package/lib/vtx-cc-cp-modal/imgs/rwnsjts_dark.png +0 -0
  82. package/lib/vtx-cc-cp-modal/imgs/rwnsjzl.png +0 -0
  83. package/lib/vtx-cc-cp-modal/imgs/rwnsjzl_dark.png +0 -0
  84. package/lib/vtx-cc-cp-modal/imgs/rwnsscs.png +0 -0
  85. package/lib/vtx-cc-cp-modal/imgs/rwnsscs_dark.png +0 -0
  86. package/lib/vtx-cc-cp-modal/imgs/zsjts.png +0 -0
  87. package/lib/vtx-cc-cp-modal/imgs/zsjts_dark.png +0 -0
  88. package/lib/vtx-cc-cp-modal/imgs/zsjzl.png +0 -0
  89. package/lib/vtx-cc-cp-modal/imgs/zsjzl_dark.png +0 -0
  90. package/lib/vtx-cc-cp-modal/imgs/zsscs.png +0 -0
  91. package/lib/vtx-cc-cp-modal/imgs/zsscs_dark.png +0 -0
  92. package/lib/vtx-cc-cp-modal/index.js +119 -0
  93. package/lib/vtx-cc-cp-modal/style/index.js +1 -0
  94. package/lib/vtx-cc-cp-modal/style/index.less +13 -0
  95. package/lib/vtx-cc-unit-modal/api.js +361 -0
  96. package/lib/vtx-cc-unit-modal/components/BaseInfo/CollectRecord.js +69 -0
  97. package/lib/vtx-cc-unit-modal/components/BaseInfo/DetailList.js +66 -0
  98. package/lib/vtx-cc-unit-modal/components/BaseInfo/Factory.js +60 -0
  99. package/lib/vtx-cc-unit-modal/components/BaseInfo/Statistics.js +91 -0
  100. package/lib/vtx-cc-unit-modal/components/BaseInfo/index.js +118 -0
  101. package/lib/vtx-cc-unit-modal/components/BaseInfo/index.less +6 -0
  102. package/lib/vtx-cc-unit-modal/components/CarList/index.js +129 -0
  103. package/lib/vtx-cc-unit-modal/components/Collection/index.js +95 -0
  104. package/lib/vtx-cc-unit-modal/components/DetailInfo/index.js +126 -0
  105. package/lib/vtx-cc-unit-modal/components/Factory/index.js +149 -0
  106. package/lib/vtx-cc-unit-modal/components/RestaurantList/index.js +127 -0
  107. package/lib/vtx-cc-unit-modal/components/index.js +7 -0
  108. package/lib/vtx-cc-unit-modal/imgs/jccc.png +0 -0
  109. package/lib/vtx-cc-unit-modal/imgs/jccc_dark.png +0 -0
  110. package/lib/vtx-cc-unit-modal/imgs/jcl.png +0 -0
  111. package/lib/vtx-cc-unit-modal/imgs/jcl_dark.png +0 -0
  112. package/lib/vtx-cc-unit-modal/imgs/syts.png +0 -0
  113. package/lib/vtx-cc-unit-modal/imgs/syts_dark.png +0 -0
  114. package/lib/vtx-cc-unit-modal/imgs/syzl.png +0 -0
  115. package/lib/vtx-cc-unit-modal/imgs/syzl_dark.png +0 -0
  116. package/lib/vtx-cc-unit-modal/index.js +137 -0
  117. package/lib/vtx-cc-unit-modal/style/index.js +1 -0
  118. package/lib/vtx-cc-unit-modal/style/index.less +14 -0
  119. package/lib/vtx-cp-modal/api.js +3 -3
  120. package/lib/vtx-cp-modal/index.js +4 -1
  121. package/lib/vtx-default-modal/index.js +10 -7
  122. package/lib/vtx-device-modal/api.js +531 -0
  123. package/lib/vtx-device-modal/components/BaseInfo/index.js +140 -0
  124. package/lib/vtx-device-modal/components/DataAnalysis/AlarmAnalysis.js +279 -0
  125. package/lib/vtx-device-modal/components/DataAnalysis/MonitorAnalysis.js +611 -0
  126. package/lib/vtx-device-modal/components/DataAnalysis/TabsList.js +23 -0
  127. package/lib/vtx-device-modal/components/DataAnalysis/index.js +24 -0
  128. package/lib/vtx-device-modal/components/DataAnalysis/index.less +66 -0
  129. package/lib/vtx-device-modal/components/index.js +3 -0
  130. package/lib/vtx-device-modal/config.js +21 -0
  131. package/lib/vtx-device-modal/imgs/current.png +0 -0
  132. package/lib/vtx-device-modal/imgs/current_dark.png +0 -0
  133. package/lib/vtx-device-modal/imgs/history.png +0 -0
  134. package/lib/vtx-device-modal/imgs/history_dark.png +0 -0
  135. package/lib/vtx-device-modal/index.js +96 -0
  136. package/lib/vtx-device-modal/style/index.js +1 -0
  137. package/lib/vtx-device-modal/style/index.less +1 -0
  138. package/lib/vtx-df-modal/index.js +11 -9
  139. package/lib/vtx-kh-modal/api2.js +178 -0
  140. package/lib/vtx-kh-modal/components/BaseInfo/index.js +197 -0
  141. package/lib/vtx-kh-modal/components/BaseInfo/index.less +101 -0
  142. package/lib/vtx-kh-modal/components/Record/index.js +204 -0
  143. package/lib/vtx-kh-modal/components/Record/index.less +7 -0
  144. package/lib/vtx-kh-modal/components/index.js +3 -0
  145. package/lib/vtx-kh-modal/imgs/count.png +0 -0
  146. package/lib/vtx-kh-modal/imgs/count_light.png +0 -0
  147. package/lib/vtx-kh-modal/imgs/question_bg.png +0 -0
  148. package/lib/vtx-kh-modal/imgs/question_bg_light.png +0 -0
  149. package/lib/vtx-kh-modal/imgs/score.png +0 -0
  150. package/lib/vtx-kh-modal/imgs/score_light.png +0 -0
  151. package/lib/vtx-kh-modal/imgs/subtract.png +0 -0
  152. package/lib/vtx-kh-modal/imgs/subtract_light.png +0 -0
  153. package/lib/vtx-kh-modal/index.js +46 -0
  154. package/lib/vtx-kh-modal/style/index.js +4 -0
  155. package/lib/vtx-kh-modal/style/index.less +1 -0
  156. package/lib/vtx-restaurant-modal/api.js +297 -0
  157. package/lib/vtx-restaurant-modal/components/Alarm/AlarmRecord.js +47 -0
  158. package/lib/vtx-restaurant-modal/components/Alarm/AlarmTrend.js +31 -0
  159. package/lib/vtx-restaurant-modal/components/Alarm/AlarmTypeAnalysis.js +36 -0
  160. package/lib/vtx-restaurant-modal/components/Alarm/StaticInfo.js +41 -0
  161. package/lib/vtx-restaurant-modal/components/Alarm/index.js +69 -0
  162. package/lib/vtx-restaurant-modal/components/Basic/CollectRule.js +64 -0
  163. package/lib/vtx-restaurant-modal/components/Basic/DetailList.js +68 -0
  164. package/lib/vtx-restaurant-modal/components/Basic/Info.js +87 -0
  165. package/lib/vtx-restaurant-modal/components/Basic/Summary.js +61 -0
  166. package/lib/vtx-restaurant-modal/components/Basic/SummaryStatistics.js +60 -0
  167. package/lib/vtx-restaurant-modal/components/Basic/index.js +74 -0
  168. package/lib/vtx-restaurant-modal/components/Basic/index.less +16 -0
  169. package/lib/vtx-restaurant-modal/components/Calendar/index.js +171 -0
  170. package/lib/vtx-restaurant-modal/components/Calendar/index.less +93 -0
  171. package/lib/vtx-restaurant-modal/components/Collection/index.js +86 -0
  172. package/lib/vtx-restaurant-modal/components/DetailInfo/index.js +111 -0
  173. package/lib/vtx-restaurant-modal/components/SignAndContract/ContactDetail.js +299 -0
  174. package/lib/vtx-restaurant-modal/components/SignAndContract/index.js +198 -0
  175. package/lib/vtx-restaurant-modal/components/index.js +7 -0
  176. package/lib/vtx-restaurant-modal/config.js +283 -0
  177. package/lib/vtx-restaurant-modal/imgs/csl.png +0 -0
  178. package/lib/vtx-restaurant-modal/imgs/csl_dark.png +0 -0
  179. package/lib/vtx-restaurant-modal/imgs/sycs.png +0 -0
  180. package/lib/vtx-restaurant-modal/imgs/sycs_dark.png +0 -0
  181. package/lib/vtx-restaurant-modal/imgs/syts.png +0 -0
  182. package/lib/vtx-restaurant-modal/imgs/syts_dark.png +0 -0
  183. package/lib/vtx-restaurant-modal/index.js +168 -0
  184. package/lib/vtx-restaurant-modal/style/index.js +1 -0
  185. package/lib/vtx-restaurant-modal/style/index.less +13 -0
  186. package/lib/vtx-road-modal/components/BaseInfo/index.less +218 -218
  187. package/lib/vtx-road-modal/components/Statistical/index.less +32 -32
  188. package/lib/vtx-shxq-modal/components/AlarmRecord/index.js +4 -1
  189. package/lib/vtx-shxq-modal/components/Tfd/index.js +0 -1
  190. package/lib/vtx-shxq-modal/components/ThrowRecord/index.js +4 -1
  191. package/lib/vtx-staff-modal/components/BaseInfo/ListZymx.js +6 -2
  192. package/lib/vtx-tfd-modal/api.js +22 -27
  193. package/lib/vtx-tfd-modal/components/BaseInfo/index.js +107 -59
  194. package/lib/vtx-tfd-modal/components/BaseInfo/index.less +5 -0
  195. package/lib/vtx-zg-modal/api.js +107 -0
  196. package/lib/vtx-zg-modal/components/BaseInfo/index.js +287 -0
  197. package/lib/vtx-zg-modal/components/BaseInfo/index.less +124 -0
  198. package/lib/vtx-zg-modal/components/index.js +1 -0
  199. package/lib/vtx-zg-modal/imgs/dot.png +0 -0
  200. package/lib/vtx-zg-modal/imgs/dot_done.png +0 -0
  201. package/lib/vtx-zg-modal/index.js +42 -0
  202. package/lib/vtx-zg-modal/style/index.js +3 -0
  203. package/lib/vtx-zg-modal/style/index.less +1 -0
  204. package/lib/vtx-zzz-modal/index.js +10 -10
  205. package/package.json +1 -1
  206. package/lib/vtx-car-modal/imgs/calendar/fsdf/durationqq.png +0 -0
@@ -1,218 +1,218 @@
1
- @import "../../../style";
2
-
3
- .vtx-road-rule-wrap {
4
- --bg-color: rgba(236, 240, 245, 0.52);
5
- --time-color: #5E6169;
6
- --blue-bg-color: rgba(22, 119, 255, 0.15);
7
- --green-bg-color: rgba(15, 185, 100, 0.15);
8
- &.vtx-road-rule-wrap-dark {
9
- --bg-color: rgba(11, 88, 142, 0.30);
10
- --time-color: #6BA6DE;
11
- --blue-bg-color: rgba(0, 183, 255, 0.1);
12
- --green-bg-color: rgba(28, 239, 134, 0.15);
13
- }
14
-
15
- display: flex;
16
- flex-direction: column;
17
- gap: 16px;
18
-
19
- &-item-wrap {
20
- display: flex;
21
- align-items: center;
22
- justify-content: space-between;
23
- height: 24px;
24
- border-radius: 4px;
25
- background: var(--bg-color);
26
- padding-right: 12px;
27
- }
28
- &-time {
29
- color: var(--time-color);
30
- font-size: 12px;
31
- }
32
- &-number, &-unit {
33
- font-size: 20px;
34
- font-weight: bold;
35
- &.blue {
36
- color: var(--blue-color);
37
- &.dark {
38
- .white_blue()
39
- }
40
- }
41
- &.green {
42
- color: var(--green-color);
43
- &.dark {
44
- .white_green()
45
- }
46
- }
47
- &.purple {
48
- color: #B894F9;
49
- &.dark {
50
- .white_purple()
51
- }
52
- }
53
- &.orange {
54
- color: #FF8746;
55
- &.dark {
56
- .white_green()
57
- }
58
- }
59
- &.yellow {
60
- color: #FFAA00;
61
- &.dark {
62
- .white_yellow()
63
- }
64
- }
65
- }
66
- &-unit {
67
- margin-left: 4px;
68
- font-size: 14px !important;
69
- }
70
- &-work {
71
- display: flex;
72
- align-items: center;
73
- justify-content: center;
74
- border-radius: 4px 4px 4px 4px;
75
- padding: 0 8px;
76
- height: 24px;
77
- border: 1px solid;
78
- &.blue {
79
- color: var(--blue-color);
80
- border-color: var(--blue-color);
81
- background: var(--blue-bg-color);
82
- }
83
- &.green {
84
- color: var(--green-color);
85
- border-color: var(--green-color);
86
- background: var(--green-bg-color);
87
- }
88
- &.purple {
89
- color: #B894F9;
90
- border-color: #B894F9;
91
- background: rgba(184, 148, 249, 0.15);
92
- }
93
- &.orange {
94
- background: rgba(255, 135, 70, 0.10);
95
- border-color: #FF8746;
96
- color: #FF8746;
97
-
98
- }
99
- &.yellow {
100
- background: rgba(255, 170, 0, 0.1);
101
- border-color: #FFAA00;
102
- color: #FFAA00;
103
- }
104
- }
105
- }
106
-
107
- .vtx-road-work-wrap {
108
- display: flex;
109
- align-items: center;
110
- padding: 24px 28px 24px 45px;
111
- justify-content: space-between;
112
- .left-info {
113
- display: flex;
114
- gap: 8px;
115
- color: var(--vm-calendar-cell-font-color);
116
- margin-bottom: 10px;
117
- align-items: center;
118
- font-size: 14px;
119
- .left-info-dot {
120
- width: 6px;
121
- height: 6px;
122
- background: #b9c4d4;
123
- border-radius: 50%;
124
- }
125
- .left-info-label {
126
- color: var(--vm-calendar-cell-font-color);
127
- }
128
- .left-info-value,.left-info-unit {
129
- font-weight: bold;
130
- color: var(--vm-calendar-cell-font-color);
131
- font-size: 18px !important;
132
- &.dark {
133
- .white_blue()
134
- }
135
- }
136
- .left-info-unit {
137
- font-size: 14px !important;
138
- margin-left: 4px;
139
- }
140
- &:last-child {
141
- margin-bottom: 0;
142
- .left-info-value,.left-info-unit {
143
- &.dark {
144
- .white_cyan()
145
- }
146
- }
147
- }
148
- }
149
- .road-work-left {
150
- display: flex;
151
- flex-direction: column;
152
- align-items: center;
153
- .all-rate-wrap {
154
- margin-bottom: 20px;
155
- }
156
- }
157
- .road-work-right {
158
- display: flex;
159
- flex-direction: column;
160
- gap: 25px;
161
- .road-work-right-item {
162
- display: flex;
163
- align-items: center;
164
- gap: 10px;
165
- color: var(--vm-calendar-cell-font-color);
166
- font-size: 12px;
167
- .road-work-right-item-left {
168
- width: 220px;
169
- .road-work-right-item-left-info {
170
- display: flex;
171
- align-items: center;
172
- justify-content: space-between;
173
- }
174
- .work-type {
175
- font-size: 14px;
176
- }
177
- .work-rate {
178
- color: var(--vm-calendar-cell-font-color);
179
- font-size: 14px;
180
- font-weight: 600;
181
- .work-rate-value, .work-rate-unit {
182
- &.blue {
183
- &.dark {
184
- .white_blue()
185
- }
186
- }
187
- &.green {
188
- &.dark {
189
- .white_green()
190
- }
191
- }
192
- &.purple {
193
- &.dark {
194
- .white_purple()
195
- }
196
- }
197
- &.orange {
198
- &.dark {
199
- .white_green()
200
- }
201
- }
202
- &.yellow {
203
- &.dark {
204
- .white_yellow()
205
- }
206
- }
207
- }
208
- .work-rate-value {
209
- font-size: 20px;
210
- }
211
- .work-rate-unit {
212
- margin-left: 4px;
213
- }
214
- }
215
- }
216
- }
217
- }
218
- }
1
+ @import "../../../style";
2
+
3
+ .vtx-road-rule-wrap {
4
+ --bg-color: rgba(236, 240, 245, 0.52);
5
+ --time-color: #5E6169;
6
+ --blue-bg-color: rgba(22, 119, 255, 0.15);
7
+ --green-bg-color: rgba(15, 185, 100, 0.15);
8
+ &.vtx-road-rule-wrap-dark {
9
+ --bg-color: rgba(11, 88, 142, 0.30);
10
+ --time-color: #6BA6DE;
11
+ --blue-bg-color: rgba(0, 183, 255, 0.1);
12
+ --green-bg-color: rgba(28, 239, 134, 0.15);
13
+ }
14
+
15
+ display: flex;
16
+ flex-direction: column;
17
+ gap: 16px;
18
+
19
+ &-item-wrap {
20
+ display: flex;
21
+ align-items: center;
22
+ justify-content: space-between;
23
+ height: 24px;
24
+ border-radius: 4px;
25
+ background: var(--bg-color);
26
+ padding-right: 12px;
27
+ }
28
+ &-time {
29
+ color: var(--time-color);
30
+ font-size: 12px;
31
+ }
32
+ &-number, &-unit {
33
+ font-size: 20px;
34
+ font-weight: bold;
35
+ &.blue {
36
+ color: var(--blue-color);
37
+ &.dark {
38
+ .white_blue()
39
+ }
40
+ }
41
+ &.green {
42
+ color: var(--green-color);
43
+ &.dark {
44
+ .white_green()
45
+ }
46
+ }
47
+ &.purple {
48
+ color: #B894F9;
49
+ &.dark {
50
+ .white_purple()
51
+ }
52
+ }
53
+ &.orange {
54
+ color: #FF8746;
55
+ &.dark {
56
+ .white_green()
57
+ }
58
+ }
59
+ &.yellow {
60
+ color: #FFAA00;
61
+ &.dark {
62
+ .white_yellow()
63
+ }
64
+ }
65
+ }
66
+ &-unit {
67
+ margin-left: 4px;
68
+ font-size: 14px !important;
69
+ }
70
+ &-work {
71
+ display: flex;
72
+ align-items: center;
73
+ justify-content: center;
74
+ border-radius: 4px 4px 4px 4px;
75
+ padding: 0 8px;
76
+ height: 24px;
77
+ border: 1px solid;
78
+ &.blue {
79
+ color: var(--blue-color);
80
+ border-color: var(--blue-color);
81
+ background: var(--blue-bg-color);
82
+ }
83
+ &.green {
84
+ color: var(--green-color);
85
+ border-color: var(--green-color);
86
+ background: var(--green-bg-color);
87
+ }
88
+ &.purple {
89
+ color: #B894F9;
90
+ border-color: #B894F9;
91
+ background: rgba(184, 148, 249, 0.15);
92
+ }
93
+ &.orange {
94
+ background: rgba(255, 135, 70, 0.10);
95
+ border-color: #FF8746;
96
+ color: #FF8746;
97
+
98
+ }
99
+ &.yellow {
100
+ background: rgba(255, 170, 0, 0.1);
101
+ border-color: #FFAA00;
102
+ color: #FFAA00;
103
+ }
104
+ }
105
+ }
106
+
107
+ .vtx-road-work-wrap {
108
+ display: flex;
109
+ align-items: center;
110
+ padding: 24px 28px 24px 45px;
111
+ justify-content: space-between;
112
+ .left-info {
113
+ display: flex;
114
+ gap: 8px;
115
+ color: var(--vm-calendar-cell-font-color);
116
+ margin-bottom: 10px;
117
+ align-items: center;
118
+ font-size: 14px;
119
+ .left-info-dot {
120
+ width: 6px;
121
+ height: 6px;
122
+ background: #b9c4d4;
123
+ border-radius: 50%;
124
+ }
125
+ .left-info-label {
126
+ color: var(--vm-calendar-cell-font-color);
127
+ }
128
+ .left-info-value,.left-info-unit {
129
+ font-weight: bold;
130
+ color: var(--vm-calendar-cell-font-color);
131
+ font-size: 18px !important;
132
+ &.dark {
133
+ .white_blue()
134
+ }
135
+ }
136
+ .left-info-unit {
137
+ font-size: 14px !important;
138
+ margin-left: 4px;
139
+ }
140
+ &:last-child {
141
+ margin-bottom: 0;
142
+ .left-info-value,.left-info-unit {
143
+ &.dark {
144
+ .white_cyan()
145
+ }
146
+ }
147
+ }
148
+ }
149
+ .road-work-left {
150
+ display: flex;
151
+ flex-direction: column;
152
+ align-items: center;
153
+ .all-rate-wrap {
154
+ margin-bottom: 20px;
155
+ }
156
+ }
157
+ .road-work-right {
158
+ display: flex;
159
+ flex-direction: column;
160
+ gap: 25px;
161
+ .road-work-right-item {
162
+ display: flex;
163
+ align-items: center;
164
+ gap: 10px;
165
+ color: var(--vm-calendar-cell-font-color);
166
+ font-size: 12px;
167
+ .road-work-right-item-left {
168
+ width: 220px;
169
+ .road-work-right-item-left-info {
170
+ display: flex;
171
+ align-items: center;
172
+ justify-content: space-between;
173
+ }
174
+ .work-type {
175
+ font-size: 14px;
176
+ }
177
+ .work-rate {
178
+ color: var(--vm-calendar-cell-font-color);
179
+ font-size: 14px;
180
+ font-weight: 600;
181
+ .work-rate-value, .work-rate-unit {
182
+ &.blue {
183
+ &.dark {
184
+ .white_blue()
185
+ }
186
+ }
187
+ &.green {
188
+ &.dark {
189
+ .white_green()
190
+ }
191
+ }
192
+ &.purple {
193
+ &.dark {
194
+ .white_purple()
195
+ }
196
+ }
197
+ &.orange {
198
+ &.dark {
199
+ .white_green()
200
+ }
201
+ }
202
+ &.yellow {
203
+ &.dark {
204
+ .white_yellow()
205
+ }
206
+ }
207
+ }
208
+ .work-rate-value {
209
+ font-size: 20px;
210
+ }
211
+ .work-rate-unit {
212
+ margin-left: 4px;
213
+ }
214
+ }
215
+ }
216
+ }
217
+ }
218
+ }
@@ -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
+ }
@@ -122,7 +122,10 @@ var AlarmRecord = function AlarmRecord(props) {
122
122
  fontType: 'red'
123
123
  }].map(function (item, index) {
124
124
  return /*#__PURE__*/_jsx(VmFactor, _objectSpread(_objectSpread({}, item), {}, {
125
- unit: "\u6B21"
125
+ unit: "\u6B21",
126
+ unitStyle: {
127
+ fontSize: '14px'
128
+ }
126
129
  }), index);
127
130
  })
128
131
  })
@@ -34,7 +34,6 @@ var TfdRecord = function TfdRecord(props) {
34
34
  var _TfdService$useSummar = TfdService.useSummaryInfo(id, formatType[dateType], date.startOf(formatType[dateType]).format('YYYY-MM-DD 00:00:00'), date.endOf(formatType[dateType]).format('YYYY-MM-DD 23:59:59')),
35
35
  data = _TfdService$useSummar.data,
36
36
  loading = _TfdService$useSummar.loading;
37
- console.log(data);
38
37
  return /*#__PURE__*/_jsx("div", {
39
38
  className: "shxq-tfd ".concat(isDark ? 'dark' : ''),
40
39
  children: /*#__PURE__*/_jsxs(VmWrapper, {
@@ -111,7 +111,10 @@ var ThrowRecord = function ThrowRecord(props) {
111
111
  value: item.value,
112
112
  name: item.garbageTypeName,
113
113
  unit: unit,
114
- fontType: item.garbageCanColor
114
+ fontType: item.garbageCanColor,
115
+ unitStyle: {
116
+ fontSize: '14px'
117
+ }
115
118
  }, index);
116
119
  })
117
120
  })
@@ -44,7 +44,9 @@ var ListZymx = function ListZymx(props) {
44
44
  }, {
45
45
  title: '班次名称',
46
46
  dataIndex: 'shiftName',
47
- key: 'shiftName'
47
+ key: 'shiftName',
48
+ width: 110,
49
+ ellipsis: true
48
50
  }, {
49
51
  title: '班次时间',
50
52
  dataIndex: 'shiftStartTime',
@@ -59,7 +61,9 @@ var ListZymx = function ListZymx(props) {
59
61
  }, {
60
62
  title: '排班区域',
61
63
  dataIndex: 'shiftWorkElementNames',
62
- key: 'shiftWorkElementNames'
64
+ key: 'shiftWorkElementNames',
65
+ width: 110,
66
+ ellipsis: true
63
67
  }, {
64
68
  title: '排班时长',
65
69
  dataIndex: 'shiftDurationStr',
@@ -71,49 +71,44 @@ var BaseService = {
71
71
  return {
72
72
  devices: res === null || res === void 0 ? void 0 : res.data
73
73
  };
74
- }
75
- };
76
- var ThrowService = {
77
- useSummaryInfo: function useSummaryInfo(id, startTime, endTime) {
74
+ },
75
+ useThrowInfo: function useThrowInfo(throwPointId, dateType, startDate, endDate) {
78
76
  var _useRequest3 = useRequest(function () {
79
- return request.get('/cloud/ljfljc/api/v101/trow/record/detail/throwDetailSummary', {
77
+ return request.get('/cloud/ljfljc/api/v101/throwBoard/throwAnalysis', {
80
78
  data: {
81
- subjectId: id,
82
- startTime: startTime,
83
- endTime: endTime
79
+ throwPointId: throwPointId,
80
+ dateType: dateType,
81
+ startDate: startDate,
82
+ endDate: endDate
84
83
  }
85
84
  });
86
85
  }, {
87
- ready: !!id,
88
- refreshDeps: [id, startTime, endTime]
86
+ ready: !!throwPointId,
87
+ refreshDeps: [throwPointId, dateType, startDate, endDate]
89
88
  }),
90
- throwRes = _useRequest3.data;
89
+ res = _useRequest3.data;
91
90
  return {
92
- data: throwRes
91
+ throwAnalysis: res === null || res === void 0 ? void 0 : res.data
93
92
  };
94
93
  },
95
- usePage: function usePage(id, startTime, endTime, page, size) {
94
+ useAlarmInfo: function useAlarmInfo(throwPointId, dateType, startDate, endDate) {
96
95
  var _useRequest4 = useRequest(function () {
97
- return request.get('/cloud/ljfljc/api/v101/trow/record/detail/page', {
96
+ return request.get('/cloud/ljfljc/api/v101/throwBoard/violationAnalysis', {
98
97
  data: {
99
- subjectId: id,
100
- startTime: startTime,
101
- endTime: endTime,
102
- desensitization: true,
103
- page: page,
104
- size: size
98
+ throwPointId: throwPointId,
99
+ dateType: dateType,
100
+ startDate: startDate,
101
+ endDate: endDate
105
102
  }
106
103
  });
107
104
  }, {
108
- ready: !!id,
109
- refreshDeps: [id, startTime, endTime, page, size]
105
+ ready: !!throwPointId,
106
+ refreshDeps: [throwPointId, dateType, startDate, endDate]
110
107
  }),
111
- pageRes = _useRequest4.data,
112
- loading = _useRequest4.loading;
108
+ res = _useRequest4.data;
113
109
  return {
114
- data: pageRes === null || pageRes === void 0 ? void 0 : pageRes.data,
115
- loading: loading
110
+ alarmAnalysis: res === null || res === void 0 ? void 0 : res.data
116
111
  };
117
112
  }
118
113
  };
119
- export { BaseService, ThrowService };
114
+ export { BaseService };