@vtx/modals2 5.0.13 → 5.0.15

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 (160) hide show
  1. package/lib/_components/vm-extra-tab/style/index.less +1 -1
  2. package/lib/_components/vm-factor/index.js +1 -1
  3. package/lib/_components/vm-factor-list/index.js +4 -1
  4. package/lib/_components/vm-filter/style/index.less +4 -3
  5. package/lib/_components/vm-pie-charts/index.js +3 -0
  6. package/lib/_components/vm-wrapper/style/index.less +1 -1
  7. package/lib/_util/iconSvgHtml.js +653 -224
  8. package/lib/index.js +4 -1
  9. package/lib/style/index.less +1 -6
  10. package/lib/vtx-base-modal/Tabs/index.js +28 -3
  11. package/lib/vtx-base-modal/index.js +2 -2
  12. package/lib/vtx-base-modal/style/index.less +3 -1
  13. package/lib/vtx-car-modal/index.js +29 -29
  14. package/lib/vtx-cc-cp-modal/index.js +6 -6
  15. package/lib/vtx-cc-unit-modal/index.js +6 -6
  16. package/lib/vtx-cp-modal/index.js +10 -14
  17. package/lib/vtx-default-modal/components/BaseInfo/index.less +1 -0
  18. package/lib/vtx-default-modal/index.js +3 -3
  19. package/lib/vtx-device-modal/index.js +5 -5
  20. package/lib/vtx-df-modal/index.js +5 -6
  21. package/lib/vtx-housing-estate-modal/index.js +1 -1
  22. package/lib/vtx-jzlj-gcxm-modal/components/Base/index.js +20 -0
  23. package/lib/vtx-jzlj-gcxm-modal/components/index.js +2 -0
  24. package/lib/vtx-jzlj-gcxm-modal/index.js +77 -0
  25. package/lib/vtx-jzlj-gcxm-modal/style/index.js +1 -0
  26. package/lib/vtx-jzlj-gcxm-modal/style/index.less +1 -0
  27. package/lib/vtx-qyry-modal/index.js +6 -6
  28. package/lib/vtx-restaurant-modal/index.js +6 -6
  29. package/lib/vtx-road-modal/components/BaseInfo/index.less +34 -31
  30. package/lib/vtx-road-modal/index.js +3 -3
  31. package/lib/vtx-shxq-modal/components/BaseInfo/index.js +1 -1
  32. package/lib/vtx-shxq-modal/components/Tfd/index.js +1 -1
  33. package/lib/vtx-shxq-modal/components/Tfd/index.less +6 -0
  34. package/lib/vtx-shxq-modal/components/ThrowRecord/index.js +1 -1
  35. package/lib/vtx-shxq-modal/index.js +2 -2
  36. package/lib/vtx-staff-modal/index.js +5 -9
  37. package/lib/vtx-tfd-modal/index.js +2 -2
  38. package/lib/vtx-wr-modal/components/Base/Ptss.js +71 -31
  39. package/lib/vtx-wr-modal/components/Base/assets/alert.png +0 -0
  40. package/lib/vtx-wr-modal/components/Base/index.js +15 -3
  41. package/lib/vtx-wr-modal/components/Base/index.less +14 -1
  42. package/lib/vtx-wr-modal/index.js +3 -1
  43. package/lib/vtx-zf-modal/components/Base/index.js +64 -40
  44. package/lib/vtx-zf-modal/components/Base/index.less +0 -1
  45. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/ckeditor.d.ts +109 -0
  46. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/ckeditor.js +5 -0
  47. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/ckeditor.js.map +1 -0
  48. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/af.js +33 -0
  49. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/ar.js +222 -0
  50. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/ast.js +109 -0
  51. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/az.js +221 -0
  52. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/bg.js +222 -0
  53. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/bn.js +222 -0
  54. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/bs.js +80 -0
  55. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/ca.js +222 -0
  56. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/cs.js +222 -0
  57. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/da.js +222 -0
  58. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/de-ch.js +220 -0
  59. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/de.js +222 -0
  60. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/el.js +222 -0
  61. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/en-au.js +222 -0
  62. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/en-gb.js +215 -0
  63. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/en.js +92 -0
  64. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/eo.js +120 -0
  65. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/es-co.js +36 -0
  66. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/es.js +222 -0
  67. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/et.js +222 -0
  68. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/eu.js +121 -0
  69. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/fa.js +222 -0
  70. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/fi.js +222 -0
  71. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/fr.js +222 -0
  72. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/gl.js +222 -0
  73. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/gu.js +22 -0
  74. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/he.js +222 -0
  75. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/hi.js +222 -0
  76. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/hr.js +222 -0
  77. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/hu.js +222 -0
  78. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/id.js +222 -0
  79. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/it.js +222 -0
  80. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/ja.js +222 -0
  81. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/jv.js +106 -0
  82. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/kk.js +13 -0
  83. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/km.js +127 -0
  84. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/kn.js +121 -0
  85. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/ko.js +222 -0
  86. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/ku.js +219 -0
  87. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/lt.js +222 -0
  88. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/lv.js +222 -0
  89. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/ms.js +222 -0
  90. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/nb.js +199 -0
  91. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/ne.js +215 -0
  92. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/nl.js +222 -0
  93. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/no.js +222 -0
  94. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/oc.js +21 -0
  95. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/pl.js +222 -0
  96. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/pt-br.js +222 -0
  97. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/pt.js +222 -0
  98. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/ro.js +222 -0
  99. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/ru.js +222 -0
  100. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/si.js +76 -0
  101. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/sk.js +222 -0
  102. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/sl.js +78 -0
  103. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/sq.js +208 -0
  104. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/sr-latn.js +222 -0
  105. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/sr.js +222 -0
  106. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/sv.js +222 -0
  107. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/th.js +222 -0
  108. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/tk.js +220 -0
  109. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/tr.js +222 -0
  110. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/tt.js +170 -0
  111. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/ug.js +205 -0
  112. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/uk.js +222 -0
  113. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/ur.js +222 -0
  114. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/uz.js +220 -0
  115. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/vi.js +222 -0
  116. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/zh-cn.js +222 -0
  117. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/zh.js +222 -0
  118. package/lib/vtx-zf-modal/components/CkEditorCustom/context/Event.js +42 -0
  119. package/lib/vtx-zf-modal/components/CkEditorCustom/context/context.js +98 -0
  120. package/lib/vtx-zf-modal/components/CkEditorCustom/context/index.js +3 -0
  121. package/lib/vtx-zf-modal/components/CkEditorCustom/context/useContextComponent.js +16 -0
  122. package/lib/vtx-zf-modal/components/CkEditorCustom/index.js +294 -0
  123. package/lib/vtx-zf-modal/components/CkEditorCustom/index.less +133 -0
  124. package/lib/vtx-zf-modal/components/CkEditorCustom/utils/util.js +67 -0
  125. package/lib/vtx-zf-modal/components/CkEditorCustom/view.js +216 -0
  126. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/CKModal.js +77 -0
  127. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/OpenPanelCommand.js +31 -0
  128. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/config.js +146 -0
  129. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/editableDiv/FormView.js +92 -0
  130. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/editableDiv/index.js +341 -0
  131. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/editableDiv/index.less +1 -0
  132. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/input/FormView.js +94 -0
  133. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/input/date.js +334 -0
  134. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/input/index.js +330 -0
  135. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/input/index.less +36 -0
  136. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/radio/FormView.js +93 -0
  137. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/radio/checkbox.js +335 -0
  138. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/radio/index.js +335 -0
  139. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/radio/index.less +35 -0
  140. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/sign/FormView.js +94 -0
  141. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/sign/index.js +338 -0
  142. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/sign/index.less +1 -0
  143. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/style.less +92 -0
  144. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/textarea/FormView.js +94 -0
  145. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/textarea/index.js +328 -0
  146. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/textarea/index.less +1 -0
  147. package/lib/vtx-zf-modal/components/Document/index.js +84 -0
  148. package/lib/vtx-zf-modal/components/Document/index.less +47 -0
  149. package/lib/vtx-zf-modal/components/File/index.js +192 -0
  150. package/lib/vtx-zf-modal/components/File/index.less +43 -0
  151. package/lib/vtx-zf-modal/components/Process/index.js +189 -5
  152. package/lib/vtx-zf-modal/components/Process/index.less +69 -15
  153. package/lib/vtx-zf-modal/components/Record/index.js +116 -0
  154. package/lib/vtx-zf-modal/components/Record/index.less +34 -0
  155. package/lib/vtx-zf-modal/components/Right/index.js +6 -7
  156. package/lib/vtx-zf-modal/components/index.js +4 -1
  157. package/lib/vtx-zf-modal/index.js +28 -10
  158. package/lib/vtx-zf-modal/style/index.js +4 -0
  159. package/lib/vtx-zzz-modal/style/index.js +1 -0
  160. package/package.json +2 -1
@@ -1,13 +1,13 @@
1
- @import "../../../style";
1
+ @import '../../../style/index';
2
2
 
3
3
  .vtx-road-rule-wrap {
4
4
  --bg-color: rgba(236, 240, 245, 0.52);
5
- --time-color: #5E6169;
5
+ --time-color: #5e6169;
6
6
  --blue-bg-color: rgba(22, 119, 255, 0.15);
7
7
  --green-bg-color: rgba(15, 185, 100, 0.15);
8
8
  &.vtx-road-rule-wrap-dark {
9
- --bg-color: rgba(11, 88, 142, 0.30);
10
- --time-color: #6BA6DE;
9
+ --bg-color: rgba(11, 88, 142, 0.3);
10
+ --time-color: #6ba6de;
11
11
  --blue-bg-color: rgba(0, 183, 255, 0.1);
12
12
  --green-bg-color: rgba(28, 239, 134, 0.15);
13
13
  }
@@ -29,37 +29,38 @@
29
29
  color: var(--time-color);
30
30
  font-size: 12px;
31
31
  }
32
- &-number, &-unit {
32
+ &-number,
33
+ &-unit {
33
34
  font-size: 20px;
34
35
  font-weight: bold;
35
36
  &.blue {
36
37
  color: var(--blue-color);
37
38
  &.dark {
38
- .white_blue()
39
+ .white_blue();
39
40
  }
40
41
  }
41
42
  &.green {
42
43
  color: var(--green-color);
43
44
  &.dark {
44
- .white_green()
45
+ .white_green();
45
46
  }
46
47
  }
47
48
  &.purple {
48
- color: #B894F9;
49
+ color: #b894f9;
49
50
  &.dark {
50
- .white_purple()
51
+ .white_purple();
51
52
  }
52
53
  }
53
54
  &.orange {
54
- color: #FF8746;
55
+ color: #ff8746;
55
56
  &.dark {
56
- .white_green()
57
+ .white_green();
57
58
  }
58
59
  }
59
60
  &.yellow {
60
- color: #FFAA00;
61
+ color: #ffaa00;
61
62
  &.dark {
62
- .white_yellow()
63
+ .white_yellow();
63
64
  }
64
65
  }
65
66
  }
@@ -86,20 +87,19 @@
86
87
  background: var(--green-bg-color);
87
88
  }
88
89
  &.purple {
89
- color: #B894F9;
90
- border-color: #B894F9;
90
+ color: #b894f9;
91
+ border-color: #b894f9;
91
92
  background: rgba(184, 148, 249, 0.15);
92
93
  }
93
94
  &.orange {
94
- background: rgba(255, 135, 70, 0.10);
95
- border-color: #FF8746;
96
- color: #FF8746;
97
-
95
+ background: rgba(255, 135, 70, 0.1);
96
+ border-color: #ff8746;
97
+ color: #ff8746;
98
98
  }
99
99
  &.yellow {
100
100
  background: rgba(255, 170, 0, 0.1);
101
- border-color: #FFAA00;
102
- color: #FFAA00;
101
+ border-color: #ffaa00;
102
+ color: #ffaa00;
103
103
  }
104
104
  }
105
105
  }
@@ -125,12 +125,13 @@
125
125
  .left-info-label {
126
126
  color: var(--vm-calendar-cell-font-color);
127
127
  }
128
- .left-info-value,.left-info-unit {
128
+ .left-info-value,
129
+ .left-info-unit {
129
130
  font-weight: bold;
130
131
  color: var(--vm-calendar-cell-font-color);
131
132
  font-size: 18px !important;
132
133
  &.dark {
133
- .white_blue()
134
+ .white_blue();
134
135
  }
135
136
  }
136
137
  .left-info-unit {
@@ -139,9 +140,10 @@
139
140
  }
140
141
  &:last-child {
141
142
  margin-bottom: 0;
142
- .left-info-value,.left-info-unit {
143
+ .left-info-value,
144
+ .left-info-unit {
143
145
  &.dark {
144
- .white_cyan()
146
+ .white_cyan();
145
147
  }
146
148
  }
147
149
  }
@@ -178,30 +180,31 @@
178
180
  color: var(--vm-calendar-cell-font-color);
179
181
  font-size: 14px;
180
182
  font-weight: 600;
181
- .work-rate-value, .work-rate-unit {
183
+ .work-rate-value,
184
+ .work-rate-unit {
182
185
  &.blue {
183
186
  &.dark {
184
- .white_blue()
187
+ .white_blue();
185
188
  }
186
189
  }
187
190
  &.green {
188
191
  &.dark {
189
- .white_green()
192
+ .white_green();
190
193
  }
191
194
  }
192
195
  &.purple {
193
196
  &.dark {
194
- .white_purple()
197
+ .white_purple();
195
198
  }
196
199
  }
197
200
  &.orange {
198
201
  &.dark {
199
- .white_green()
202
+ .white_green();
200
203
  }
201
204
  }
202
205
  &.yellow {
203
206
  &.dark {
204
- .white_yellow()
207
+ .white_yellow();
205
208
  }
206
209
  }
207
210
  }
@@ -18,9 +18,9 @@ import { BaseService } from "./api";
18
18
  import { BaseInfo, Calendar, Statistical } from "./components";
19
19
  import "./style/index";
20
20
  import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
21
- var TABS_BASE = 'road-base';
22
- var TABS_STATIC = 'road-statistical';
23
- var TABS_CALENDAR = 'road-calendar';
21
+ var TABS_BASE = 'base';
22
+ var TABS_STATIC = 'statistical';
23
+ var TABS_CALENDAR = 'calendar';
24
24
  var VtxRoadModal = function VtxRoadModal(props) {
25
25
  var id = props.id,
26
26
  title = props.title,
@@ -116,7 +116,7 @@ var BaseInfo = function BaseInfo(props) {
116
116
  extra: /*#__PURE__*/_jsx("div", {
117
117
  style: {
118
118
  position: 'absolute',
119
- right: 200,
119
+ right: 188,
120
120
  top: 0,
121
121
  borderRadius: 10,
122
122
  background: 'rgba(12,154,255,0.99)'
@@ -48,7 +48,7 @@ var TfdRecord = function TfdRecord(props) {
48
48
  extra: /*#__PURE__*/_jsx("div", {
49
49
  style: {
50
50
  position: 'absolute',
51
- right: 200,
51
+ right: 188,
52
52
  top: 0,
53
53
  borderRadius: 10,
54
54
  background: 'rgba(12,154,255,0.99)'
@@ -25,6 +25,12 @@
25
25
  padding-bottom: 20px;
26
26
  margin-bottom: 24px;
27
27
 
28
+ &:last-child {
29
+ margin-bottom: 0;
30
+ padding-bottom: 0;
31
+ border-bottom: 0;
32
+ }
33
+
28
34
  &-title {
29
35
  font-family: PingFang SC, PingFang SC;
30
36
  font-weight: 600;
@@ -66,7 +66,7 @@ var ThrowRecord = function ThrowRecord(props) {
66
66
  extra: /*#__PURE__*/_jsx("div", {
67
67
  style: {
68
68
  position: 'absolute',
69
- right: 200,
69
+ right: 188,
70
70
  top: 0,
71
71
  borderRadius: 10,
72
72
  background: 'rgba(12,154,255,0.99)'
@@ -11,9 +11,9 @@ import { AlarmRecord, BaseInfo, Tfd, ThrowCalendar, ThrowRecord } from "./compon
11
11
  import "./style";
12
12
  import { jsx as _jsx } from "react/jsx-runtime";
13
13
  var TABS_BASE = 'base';
14
- var TABS_CALENDAR = 'calender';
14
+ var TABS_CALENDAR = 'calendar';
15
15
  var TABS_THROW = 'throw';
16
- var TABS_ALARM = 'shxq-alarm';
16
+ var TABS_ALARM = 'alarm';
17
17
  var TABS_TFD = 'tfd';
18
18
  var tabs = [{
19
19
  key: TABS_BASE,
@@ -10,21 +10,17 @@ import { BaseService } from "./api";
10
10
  import { AlarmInfo, Attendance, BaseInfo, Calendar, Equipment } from "./components";
11
11
  import "./style";
12
12
  import { jsx as _jsx } from "react/jsx-runtime";
13
- var TABS_BASE = 'staff-base';
14
- var TABS_CALENDAR = 'staff-calender';
15
- var TABS_DETAIL = 'staff-detail';
16
- var TABS_ALARM = 'staff-alarm';
17
- var TABS_ATTENDANCE = 'staff-attendance';
18
- var TABS_EUQIPMENT = 'staff-equipment';
13
+ var TABS_BASE = 'base';
14
+ var TABS_CALENDAR = 'calendar';
15
+ var TABS_ALARM = 'alarm';
16
+ var TABS_ATTENDANCE = 'attendance';
17
+ var TABS_EUQIPMENT = 'equipment';
19
18
  var tabs = [{
20
19
  key: TABS_BASE,
21
20
  title: '总览信息'
22
21
  }, {
23
22
  key: TABS_CALENDAR,
24
23
  title: '作业日历'
25
- }, {
26
- key: TABS_DETAIL,
27
- title: '详细信息'
28
24
  }, {
29
25
  key: TABS_ALARM,
30
26
  title: '报警信息'
@@ -12,9 +12,9 @@ import { BaseInfo } from "./components";
12
12
  import "./style";
13
13
  import { jsx as _jsx } from "react/jsx-runtime";
14
14
  var TABS_BASE = 'base';
15
- var TABS_CALENDAR = 'calender';
15
+ var TABS_CALENDAR = 'calendar';
16
16
  var TABS_THROW = 'throw';
17
- var TABS_ALARM = 'tfd-alarm';
17
+ var TABS_ALARM = 'alarm';
18
18
  var tabs = [{
19
19
  key: TABS_BASE,
20
20
  title: '总览信息'
@@ -1,6 +1,6 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
2
  export default (function (props) {
3
- var _gcDetail$pitTotalMal, _gcDetail$urinalNums, _gcDetail$squatNumMal, _gcDetail$seatNumMale, _gcDetail$manAccessib, _gcDetail$pitTotalFem, _gcDetail$squatNumFem, _gcDetail$seatNumFema, _gcDetail$womanAccess;
3
+ var _gcDetail$pitInuseMal, _gcDetail$pitTotalMal, _gcDetail$urinalNums, _gcDetail$squatNumMal, _gcDetail$seatNumMale, _gcDetail$manAccessib, _gcDetail$pitInuseFem, _gcDetail$pitTotalFem, _gcDetail$squatNumFem, _gcDetail$seatNumFema, _gcDetail$womanAccess;
4
4
  var theme = props.theme,
5
5
  gcDetail = props.gcDetail,
6
6
  fields = props.fields;
@@ -56,24 +56,44 @@ export default (function (props) {
56
56
  }), /*#__PURE__*/_jsx("div", {
57
57
  children: "\u7537\u5395"
58
58
  })]
59
- }), showKeys.includes('manPitNum') && /*#__PURE__*/_jsxs("div", {
59
+ }), /*#__PURE__*/_jsxs("div", {
60
60
  className: "wr-total-num",
61
- children: [/*#__PURE__*/_jsxs("div", {
62
- style: {
63
- display: 'flex',
64
- alignItems: 'center'
65
- },
66
- children: [/*#__PURE__*/_jsx("span", {
67
- className: "num-tip-blue"
68
- }), "\u5751\u4F4D\u603B\u6570"]
69
- }), /*#__PURE__*/_jsx("div", {
70
- className: "wr-num-total",
71
- children: /*#__PURE__*/_jsx("span", {
61
+ children: [gcDetail.hasDevice && /*#__PURE__*/_jsxs(_Fragment, {
62
+ children: [/*#__PURE__*/_jsxs("div", {
63
+ style: {
64
+ display: 'flex',
65
+ alignItems: 'center'
66
+ },
67
+ children: [/*#__PURE__*/_jsx("span", {
68
+ className: "num-tip-blue"
69
+ }), "\u5360\u7528"]
70
+ }), /*#__PURE__*/_jsx("div", {
71
+ className: "wr-num-total",
72
+ children: /*#__PURE__*/_jsx("span", {
73
+ style: {
74
+ fontSize: '24px'
75
+ },
76
+ children: (_gcDetail$pitInuseMal = gcDetail.pitInuseMale) !== null && _gcDetail$pitInuseMal !== void 0 ? _gcDetail$pitInuseMal : '--'
77
+ })
78
+ })]
79
+ }), showKeys.includes('manPitNum') && /*#__PURE__*/_jsxs(_Fragment, {
80
+ children: [/*#__PURE__*/_jsxs("div", {
72
81
  style: {
73
- fontSize: '24px'
82
+ display: 'flex',
83
+ alignItems: 'center'
74
84
  },
75
- children: (_gcDetail$pitTotalMal = gcDetail.pitTotalMale) !== null && _gcDetail$pitTotalMal !== void 0 ? _gcDetail$pitTotalMal : '--'
76
- })
85
+ children: [/*#__PURE__*/_jsx("span", {
86
+ className: "num-tip-blue"
87
+ }), "\u5751\u4F4D\u603B\u6570"]
88
+ }), /*#__PURE__*/_jsx("div", {
89
+ className: "wr-num-total",
90
+ children: /*#__PURE__*/_jsx("span", {
91
+ style: {
92
+ fontSize: '24px'
93
+ },
94
+ children: (_gcDetail$pitTotalMal = gcDetail.pitTotalMale) !== null && _gcDetail$pitTotalMal !== void 0 ? _gcDetail$pitTotalMal : '--'
95
+ })
96
+ })]
77
97
  })]
78
98
  })]
79
99
  }), /*#__PURE__*/_jsxs("div", {
@@ -143,24 +163,44 @@ export default (function (props) {
143
163
  }), /*#__PURE__*/_jsx("div", {
144
164
  children: "\u5973\u5395"
145
165
  })]
146
- }), showKeys.includes('womanPitNum') && /*#__PURE__*/_jsxs("div", {
166
+ }), /*#__PURE__*/_jsxs("div", {
147
167
  className: "wr-total-num",
148
- children: [/*#__PURE__*/_jsxs("div", {
149
- style: {
150
- display: 'flex',
151
- alignItems: 'center'
152
- },
153
- children: [/*#__PURE__*/_jsx("span", {
154
- className: "num-tip-red"
155
- }), "\u5751\u4F4D\u603B\u6570"]
156
- }), /*#__PURE__*/_jsx("div", {
157
- className: "wr-num-total",
158
- children: /*#__PURE__*/_jsx("span", {
168
+ children: [gcDetail.hasDevice && /*#__PURE__*/_jsxs(_Fragment, {
169
+ children: [/*#__PURE__*/_jsxs("div", {
170
+ style: {
171
+ display: 'flex',
172
+ alignItems: 'center'
173
+ },
174
+ children: [/*#__PURE__*/_jsx("span", {
175
+ className: "num-tip-red"
176
+ }), "\u5360\u7528"]
177
+ }), /*#__PURE__*/_jsx("div", {
178
+ className: "wr-num-total",
179
+ children: /*#__PURE__*/_jsx("span", {
180
+ style: {
181
+ fontSize: '24px'
182
+ },
183
+ children: (_gcDetail$pitInuseFem = gcDetail.pitInuseFemale) !== null && _gcDetail$pitInuseFem !== void 0 ? _gcDetail$pitInuseFem : '--'
184
+ })
185
+ })]
186
+ }), showKeys.includes('womanPitNum') && /*#__PURE__*/_jsxs(_Fragment, {
187
+ children: [/*#__PURE__*/_jsxs("div", {
159
188
  style: {
160
- fontSize: '24px'
189
+ display: 'flex',
190
+ alignItems: 'center'
161
191
  },
162
- children: (_gcDetail$pitTotalFem = gcDetail.pitTotalFemale) !== null && _gcDetail$pitTotalFem !== void 0 ? _gcDetail$pitTotalFem : '--'
163
- })
192
+ children: [/*#__PURE__*/_jsx("span", {
193
+ className: "num-tip-red"
194
+ }), "\u5751\u4F4D\u603B\u6570"]
195
+ }), /*#__PURE__*/_jsx("div", {
196
+ className: "wr-num-total",
197
+ children: /*#__PURE__*/_jsx("span", {
198
+ style: {
199
+ fontSize: '24px'
200
+ },
201
+ children: (_gcDetail$pitTotalFem = gcDetail.pitTotalFemale) !== null && _gcDetail$pitTotalFem !== void 0 ? _gcDetail$pitTotalFem : '--'
202
+ })
203
+ })]
164
204
  })]
165
205
  })]
166
206
  }), /*#__PURE__*/_jsxs("div", {
@@ -12,7 +12,7 @@ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" !=
12
12
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
13
13
  import { request } from '@vtx/utils';
14
14
  import { useSetState } from 'ahooks';
15
- import { Tabs } from 'antd';
15
+ import { Alert, Tabs } from 'antd';
16
16
  import dayjs from 'dayjs';
17
17
  import { useEffect, useState } from 'react';
18
18
  import { VmLineCharts, VmTable } from "../../../_components";
@@ -53,7 +53,8 @@ var getAlarmList = function getAlarmList(params) {
53
53
  export default (function (props) {
54
54
  var _monitorTypeList$filt;
55
55
  var theme = props.theme,
56
- id = props.id;
56
+ id = props.id,
57
+ detail = props.detail;
57
58
  var _useState = useState({}),
58
59
  _useState2 = _slicedToArray(_useState, 2),
59
60
  gcDetail = _useState2[0],
@@ -303,7 +304,18 @@ export default (function (props) {
303
304
  }, [date, activeKey]);
304
305
  return /*#__PURE__*/_jsxs("div", {
305
306
  className: "wr-base-content",
306
- children: [/*#__PURE__*/_jsxs("div", {
307
+ children: [detail.fallDownAlarm && /*#__PURE__*/_jsx("div", {
308
+ className: "wr-base-alart",
309
+ children: /*#__PURE__*/_jsx(Alert, {
310
+ message: /*#__PURE__*/_jsxs("div", {
311
+ children: [/*#__PURE__*/_jsx("img", {
312
+ src: require("./assets/alert.png")
313
+ }), "\u2002 ", detail.fallDownAlarm]
314
+ }),
315
+ type: "warning",
316
+ closable: true
317
+ })
318
+ }), /*#__PURE__*/_jsxs("div", {
307
319
  className: "wr-base-left",
308
320
  children: [/*#__PURE__*/_jsx("div", {
309
321
  className: "wr-base-title",
@@ -3,6 +3,19 @@
3
3
  height: 100%;
4
4
  display: flex;
5
5
  justify-content: space-between;
6
+ position: relative;
7
+ .wr-base-alart {
8
+ width: 100%;
9
+ height: 50px;
10
+ position: absolute;
11
+ top: 0;
12
+ left: 0;
13
+ border-radius: 8px;
14
+ overflow: hidden;
15
+ .ant-alert-message {
16
+ color: #ffa100;
17
+ }
18
+ }
6
19
  .wr-base-title {
7
20
  padding: 12px 16px;
8
21
  font-size: 16px;
@@ -214,7 +227,7 @@
214
227
  }
215
228
  .wr-total-num {
216
229
  display: flex;
217
- gap: 30px;
230
+ gap: 8px;
218
231
  align-items: center;
219
232
  .num-tip-blue {
220
233
  display: flex;
@@ -72,7 +72,9 @@ export default (function (props) {
72
72
  }
73
73
  });
74
74
  }, [id]);
75
- var contentList = _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, 'wr-base', /*#__PURE__*/_jsx(Base, _objectSpread({}, props))), 'wr-appraise', /*#__PURE__*/_jsx(Appraise, _objectSpread({}, props))), 'wr-score', /*#__PURE__*/_jsx(Score, _objectSpread({}, props))), 'wr-build', /*#__PURE__*/_jsx(Build, _objectSpread({}, props))), 'wr-file', /*#__PURE__*/_jsx(File, _objectSpread({}, props)));
75
+ var contentList = _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, 'base', /*#__PURE__*/_jsx(Base, _objectSpread(_objectSpread({}, props), {}, {
76
+ detail: detail
77
+ }))), 'appraise', /*#__PURE__*/_jsx(Appraise, _objectSpread({}, props))), 'score', /*#__PURE__*/_jsx(Score, _objectSpread({}, props))), 'build', /*#__PURE__*/_jsx(Build, _objectSpread({}, props))), 'file', /*#__PURE__*/_jsx(File, _objectSpread({}, props)));
76
78
 
77
79
  // 自定义页签可配置多个,
78
80
  if (config !== null && config !== void 0 && config.length) {