@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.
- package/lib/_components/vm-extra-tab/style/index.less +1 -1
- package/lib/_components/vm-factor/index.js +1 -1
- package/lib/_components/vm-factor-list/index.js +4 -1
- package/lib/_components/vm-filter/style/index.less +4 -3
- package/lib/_components/vm-pie-charts/index.js +3 -0
- package/lib/_components/vm-wrapper/style/index.less +1 -1
- package/lib/_util/iconSvgHtml.js +653 -224
- package/lib/index.js +4 -1
- package/lib/style/index.less +1 -6
- package/lib/vtx-base-modal/Tabs/index.js +28 -3
- package/lib/vtx-base-modal/index.js +2 -2
- package/lib/vtx-base-modal/style/index.less +3 -1
- package/lib/vtx-car-modal/index.js +29 -29
- package/lib/vtx-cc-cp-modal/index.js +6 -6
- package/lib/vtx-cc-unit-modal/index.js +6 -6
- package/lib/vtx-cp-modal/index.js +10 -14
- package/lib/vtx-default-modal/components/BaseInfo/index.less +1 -0
- package/lib/vtx-default-modal/index.js +3 -3
- package/lib/vtx-device-modal/index.js +5 -5
- package/lib/vtx-df-modal/index.js +5 -6
- package/lib/vtx-housing-estate-modal/index.js +1 -1
- package/lib/vtx-jzlj-gcxm-modal/components/Base/index.js +20 -0
- package/lib/vtx-jzlj-gcxm-modal/components/index.js +2 -0
- package/lib/vtx-jzlj-gcxm-modal/index.js +77 -0
- package/lib/vtx-jzlj-gcxm-modal/style/index.js +1 -0
- package/lib/vtx-jzlj-gcxm-modal/style/index.less +1 -0
- package/lib/vtx-qyry-modal/index.js +6 -6
- package/lib/vtx-restaurant-modal/index.js +6 -6
- package/lib/vtx-road-modal/components/BaseInfo/index.less +34 -31
- package/lib/vtx-road-modal/index.js +3 -3
- package/lib/vtx-shxq-modal/components/BaseInfo/index.js +1 -1
- package/lib/vtx-shxq-modal/components/Tfd/index.js +1 -1
- package/lib/vtx-shxq-modal/components/Tfd/index.less +6 -0
- package/lib/vtx-shxq-modal/components/ThrowRecord/index.js +1 -1
- package/lib/vtx-shxq-modal/index.js +2 -2
- package/lib/vtx-staff-modal/index.js +5 -9
- package/lib/vtx-tfd-modal/index.js +2 -2
- package/lib/vtx-wr-modal/components/Base/Ptss.js +71 -31
- package/lib/vtx-wr-modal/components/Base/assets/alert.png +0 -0
- package/lib/vtx-wr-modal/components/Base/index.js +15 -3
- package/lib/vtx-wr-modal/components/Base/index.less +14 -1
- package/lib/vtx-wr-modal/index.js +3 -1
- package/lib/vtx-zf-modal/components/Base/index.js +64 -40
- package/lib/vtx-zf-modal/components/Base/index.less +0 -1
- package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/ckeditor.d.ts +109 -0
- package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/ckeditor.js +5 -0
- package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/ckeditor.js.map +1 -0
- package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/af.js +33 -0
- package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/ar.js +222 -0
- package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/ast.js +109 -0
- package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/az.js +221 -0
- package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/bg.js +222 -0
- package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/bn.js +222 -0
- package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/bs.js +80 -0
- package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/ca.js +222 -0
- package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/cs.js +222 -0
- package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/da.js +222 -0
- package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/de-ch.js +220 -0
- package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/de.js +222 -0
- package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/el.js +222 -0
- package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/en-au.js +222 -0
- package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/en-gb.js +215 -0
- package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/en.js +92 -0
- package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/eo.js +120 -0
- package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/es-co.js +36 -0
- package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/es.js +222 -0
- package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/et.js +222 -0
- package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/eu.js +121 -0
- package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/fa.js +222 -0
- package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/fi.js +222 -0
- package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/fr.js +222 -0
- package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/gl.js +222 -0
- package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/gu.js +22 -0
- package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/he.js +222 -0
- package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/hi.js +222 -0
- package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/hr.js +222 -0
- package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/hu.js +222 -0
- package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/id.js +222 -0
- package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/it.js +222 -0
- package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/ja.js +222 -0
- package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/jv.js +106 -0
- package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/kk.js +13 -0
- package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/km.js +127 -0
- package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/kn.js +121 -0
- package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/ko.js +222 -0
- package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/ku.js +219 -0
- package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/lt.js +222 -0
- package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/lv.js +222 -0
- package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/ms.js +222 -0
- package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/nb.js +199 -0
- package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/ne.js +215 -0
- package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/nl.js +222 -0
- package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/no.js +222 -0
- package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/oc.js +21 -0
- package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/pl.js +222 -0
- package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/pt-br.js +222 -0
- package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/pt.js +222 -0
- package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/ro.js +222 -0
- package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/ru.js +222 -0
- package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/si.js +76 -0
- package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/sk.js +222 -0
- package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/sl.js +78 -0
- package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/sq.js +208 -0
- package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/sr-latn.js +222 -0
- package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/sr.js +222 -0
- package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/sv.js +222 -0
- package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/th.js +222 -0
- package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/tk.js +220 -0
- package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/tr.js +222 -0
- package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/tt.js +170 -0
- package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/ug.js +205 -0
- package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/uk.js +222 -0
- package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/ur.js +222 -0
- package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/uz.js +220 -0
- package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/vi.js +222 -0
- package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/zh-cn.js +222 -0
- package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/zh.js +222 -0
- package/lib/vtx-zf-modal/components/CkEditorCustom/context/Event.js +42 -0
- package/lib/vtx-zf-modal/components/CkEditorCustom/context/context.js +98 -0
- package/lib/vtx-zf-modal/components/CkEditorCustom/context/index.js +3 -0
- package/lib/vtx-zf-modal/components/CkEditorCustom/context/useContextComponent.js +16 -0
- package/lib/vtx-zf-modal/components/CkEditorCustom/index.js +294 -0
- package/lib/vtx-zf-modal/components/CkEditorCustom/index.less +133 -0
- package/lib/vtx-zf-modal/components/CkEditorCustom/utils/util.js +67 -0
- package/lib/vtx-zf-modal/components/CkEditorCustom/view.js +216 -0
- package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/CKModal.js +77 -0
- package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/OpenPanelCommand.js +31 -0
- package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/config.js +146 -0
- package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/editableDiv/FormView.js +92 -0
- package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/editableDiv/index.js +341 -0
- package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/editableDiv/index.less +1 -0
- package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/input/FormView.js +94 -0
- package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/input/date.js +334 -0
- package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/input/index.js +330 -0
- package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/input/index.less +36 -0
- package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/radio/FormView.js +93 -0
- package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/radio/checkbox.js +335 -0
- package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/radio/index.js +335 -0
- package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/radio/index.less +35 -0
- package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/sign/FormView.js +94 -0
- package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/sign/index.js +338 -0
- package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/sign/index.less +1 -0
- package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/style.less +92 -0
- package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/textarea/FormView.js +94 -0
- package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/textarea/index.js +328 -0
- package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/textarea/index.less +1 -0
- package/lib/vtx-zf-modal/components/Document/index.js +84 -0
- package/lib/vtx-zf-modal/components/Document/index.less +47 -0
- package/lib/vtx-zf-modal/components/File/index.js +192 -0
- package/lib/vtx-zf-modal/components/File/index.less +43 -0
- package/lib/vtx-zf-modal/components/Process/index.js +189 -5
- package/lib/vtx-zf-modal/components/Process/index.less +69 -15
- package/lib/vtx-zf-modal/components/Record/index.js +116 -0
- package/lib/vtx-zf-modal/components/Record/index.less +34 -0
- package/lib/vtx-zf-modal/components/Right/index.js +6 -7
- package/lib/vtx-zf-modal/components/index.js +4 -1
- package/lib/vtx-zf-modal/index.js +28 -10
- package/lib/vtx-zf-modal/style/index.js +4 -0
- package/lib/vtx-zzz-modal/style/index.js +1 -0
- package/package.json +2 -1
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
@import
|
|
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: #
|
|
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.
|
|
10
|
-
--time-color: #
|
|
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,
|
|
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: #
|
|
49
|
+
color: #b894f9;
|
|
49
50
|
&.dark {
|
|
50
|
-
.white_purple()
|
|
51
|
+
.white_purple();
|
|
51
52
|
}
|
|
52
53
|
}
|
|
53
54
|
&.orange {
|
|
54
|
-
color: #
|
|
55
|
+
color: #ff8746;
|
|
55
56
|
&.dark {
|
|
56
|
-
.white_green()
|
|
57
|
+
.white_green();
|
|
57
58
|
}
|
|
58
59
|
}
|
|
59
60
|
&.yellow {
|
|
60
|
-
color: #
|
|
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: #
|
|
90
|
-
border-color: #
|
|
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.
|
|
95
|
-
border-color: #
|
|
96
|
-
color: #
|
|
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: #
|
|
102
|
-
color: #
|
|
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
|
|
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
|
|
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,
|
|
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 = '
|
|
22
|
-
var TABS_STATIC = '
|
|
23
|
-
var TABS_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,
|
|
@@ -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 = '
|
|
14
|
+
var TABS_CALENDAR = 'calendar';
|
|
15
15
|
var TABS_THROW = 'throw';
|
|
16
|
-
var TABS_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 = '
|
|
14
|
-
var TABS_CALENDAR = '
|
|
15
|
-
var
|
|
16
|
-
var
|
|
17
|
-
var
|
|
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 = '
|
|
15
|
+
var TABS_CALENDAR = 'calendar';
|
|
16
16
|
var TABS_THROW = 'throw';
|
|
17
|
-
var TABS_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
|
-
}),
|
|
59
|
+
}), /*#__PURE__*/_jsxs("div", {
|
|
60
60
|
className: "wr-total-num",
|
|
61
|
-
children: [/*#__PURE__*/_jsxs(
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
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
|
-
|
|
82
|
+
display: 'flex',
|
|
83
|
+
alignItems: 'center'
|
|
74
84
|
},
|
|
75
|
-
children: (
|
|
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
|
-
}),
|
|
166
|
+
}), /*#__PURE__*/_jsxs("div", {
|
|
147
167
|
className: "wr-total-num",
|
|
148
|
-
children: [/*#__PURE__*/_jsxs(
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
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
|
-
|
|
189
|
+
display: 'flex',
|
|
190
|
+
alignItems: 'center'
|
|
161
191
|
},
|
|
162
|
-
children: (
|
|
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", {
|
|
Binary file
|
|
@@ -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__*/
|
|
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:
|
|
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({}, '
|
|
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) {
|