@vtx/modals2 2.15.67 → 2.15.68
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/README.md +33 -33
- package/lib/style/index.less +8 -8
- package/lib/style/themes/dark.less +128 -128
- package/lib/style/themes/default.less +44 -44
- package/lib/style/themes/index.less +1 -1
- package/lib/vm-alarm-info/Components/index.less +43 -43
- package/lib/vm-alarm-info/style/index.less +16 -16
- package/lib/vm-alarm-situation/style/index.less +67 -67
- package/lib/vm-alarm-situation-pt/style/index.less +65 -65
- package/lib/vm-analysis-comparison/style/index.less +12 -12
- package/lib/vm-appraisal-info/style/index.less +136 -136
- package/lib/vm-base-list/style/index.less +39 -39
- package/lib/vm-button/style/index.less +20 -20
- package/lib/vm-charts/index.less +30 -30
- package/lib/vm-checkbox/style/index.less +25 -25
- package/lib/vm-container/style/index.less +30 -30
- package/lib/vm-correlation-comparison/style/index.less +13 -13
- package/lib/vm-custom/style/index.less +20 -20
- package/lib/vm-empty/style/index.less +23 -23
- package/lib/vm-iframe-modal/style/index.less +9 -9
- package/lib/vm-image-text/style/index.less +32 -32
- package/lib/vm-info-collection/style/index.less +48 -48
- package/lib/vm-map/style/index.less +3 -3
- package/lib/vm-modal-table/style/index.less +23 -23
- package/lib/vm-radio/style/index.less +26 -26
- package/lib/vm-real-time-monitor/style/index.less +12 -12
- package/lib/vm-repair-maintain/style/index.less +115 -115
- package/lib/vm-round-content/style/index.less +33 -33
- package/lib/vm-select-device/style/index.less +16 -16
- package/lib/vm-sub-title/style/index.less +69 -69
- package/lib/vm-video/index.less +36 -36
- package/lib/vtx-area-modal/components/BaseInfo/index.less +256 -256
- package/lib/vtx-base-info/style/index.less +69 -69
- package/lib/vtx-base-modal/style/index.less +1094 -1094
- package/lib/vtx-car-modal/components/AlarmInfo/index.less +40 -40
- package/lib/vtx-car-modal/components/BaseInfo/index.less +290 -290
- package/lib/vtx-car-modal/components/Collection/index.less +18 -18
- package/lib/vtx-car-modal/components/DetailInfo/index.less +21 -21
- package/lib/vtx-car-modal/components/Maintenance/index.less +35 -35
- package/lib/vtx-car-modal/components/OilConsumption/index.less +39 -39
- package/lib/vtx-car-modal/components/StaticInfo/index.less +82 -82
- package/lib/vtx-car-modal/components/WaterConsumption/index.less +25 -25
- package/lib/vtx-car-modal/components/WorkInfo/index.less +66 -66
- package/lib/vtx-car-modal/style/index.less +8 -8
- package/lib/vtx-cc-cp-modal/components/OrderInfo/index.less +108 -108
- package/lib/vtx-cc-cp-modal/components/SyInfo/index.less +46 -46
- package/lib/vtx-cc-cp-modal/style/index.less +1 -1
- package/lib/vtx-cc-unit-modal/style/index.less +1 -1
- package/lib/vtx-cp-modal/components/AlarmInfo/AlarmRecord.js +11 -10
- package/lib/vtx-cp-modal/components/AlarmInfo/AlarmRecord.js.map +1 -1
- package/lib/vtx-cp-modal/components/AlarmInfo/MonthTrend.js +1 -1
- package/lib/vtx-cp-modal/components/AlarmInfo/MonthTrend.js.map +1 -1
- package/lib/vtx-cp-modal/components/AlarmInfo/index.css +18 -6
- package/lib/vtx-cp-modal/components/AlarmInfo/index.less +120 -109
- package/lib/vtx-cp-modal/components/BaseInfo/CarWork.js +6 -2
- package/lib/vtx-cp-modal/components/BaseInfo/CarWork.js.map +1 -1
- package/lib/vtx-cp-modal/components/BaseInfo/Rules.js +3 -1
- package/lib/vtx-cp-modal/components/BaseInfo/Rules.js.map +1 -1
- package/lib/vtx-cp-modal/components/BaseInfo/index.css +26 -8
- package/lib/vtx-cp-modal/components/BaseInfo/index.js +79 -30
- package/lib/vtx-cp-modal/components/BaseInfo/index.js.map +1 -1
- package/lib/vtx-cp-modal/components/BaseInfo/index.less +171 -156
- package/lib/vtx-cp-modal/components/ExeceptionInfo/ExeceptionRecord.js +11 -10
- package/lib/vtx-cp-modal/components/ExeceptionInfo/ExeceptionRecord.js.map +1 -1
- package/lib/vtx-cp-modal/components/ExeceptionInfo/index.css +18 -5
- package/lib/vtx-cp-modal/components/ExeceptionInfo/index.less +121 -109
- package/lib/vtx-cp-modal/components/SyInfo/Ljcsl.js +1 -1
- package/lib/vtx-cp-modal/components/SyInfo/Ljcsl.js.map +1 -1
- package/lib/vtx-cp-modal/components/SyInfo/index.css +13 -5
- package/lib/vtx-cp-modal/components/SyInfo/index.js +6 -2
- package/lib/vtx-cp-modal/components/SyInfo/index.js.map +1 -1
- package/lib/vtx-cp-modal/components/SyInfo/index.less +54 -47
- package/lib/vtx-cp-modal/index.js +1 -0
- package/lib/vtx-cp-modal/index.js.map +1 -1
- package/lib/vtx-cp-modal/style/index.less +1 -1
- package/lib/vtx-default-modal/components/BaseInfo/index.less +38 -38
- package/lib/vtx-default-modal/style/index.less +1 -1
- package/lib/vtx-df-modal/components/BaseInfo/index.less +173 -173
- package/lib/vtx-df-modal/components/Metering/index.less +83 -83
- package/lib/vtx-df-modal/components/WorkCondition/index.less +136 -136
- package/lib/vtx-df-modal/style/index.less +1 -1
- package/lib/vtx-facility-modal/components/OverView/index.less +120 -120
- package/lib/vtx-facility-modal/style/index.less +1 -1
- package/lib/vtx-housing-estate-modal/components/Alarm/index.less +66 -66
- package/lib/vtx-housing-estate-modal/components/OverView/index.less +256 -256
- package/lib/vtx-housing-estate-modal/components/SPJK/index.less +6 -6
- package/lib/vtx-housing-estate-modal/components/TFRD/index.less +15 -15
- package/lib/vtx-housing-estate-modal/components/WGGS/index.less +38 -38
- package/lib/vtx-housing-estate-modal/components/WGXW/index.less +102 -102
- package/lib/vtx-housing-estate-modal/style/index.less +1 -1
- package/lib/vtx-kh-modal/components/BaseInfo/index.less +66 -66
- package/lib/vtx-kh-modal/style/index.less +1 -1
- package/lib/vtx-pump-modal/components/AlarmRecord/index.less +103 -103
- package/lib/vtx-pump-modal/components/Basic/index.less +74 -74
- package/lib/vtx-pump-modal/components/Sbxl/index.less +90 -90
- package/lib/vtx-pump-modal/components/Sjfx/index.less +60 -60
- package/lib/vtx-pump-modal/components/Sxyx/index.less +161 -161
- package/lib/vtx-pump-modal/style/index.less +1 -1
- package/lib/vtx-restaurant-modal/components/Alarm/index.less +35 -35
- package/lib/vtx-restaurant-modal/components/Collection/index.less +27 -27
- package/lib/vtx-restaurant-modal/components/QdBasic/index.less +10 -10
- package/lib/vtx-restaurant-modal/style/index.less +1 -1
- package/lib/vtx-road-modal/components/BaseInfo/index.less +146 -146
- package/lib/vtx-road-modal/components/Statistical/index.less +112 -112
- package/lib/vtx-road-modal/style/index.less +1 -1
- package/lib/vtx-staff-modal/components/AlarmInfo/index.less +23 -23
- package/lib/vtx-staff-modal/components/Attendance/WorkingHours.js +11 -1
- package/lib/vtx-staff-modal/components/Attendance/WorkingHours.js.map +1 -1
- package/lib/vtx-staff-modal/components/Attendance/index.less +44 -44
- package/lib/vtx-staff-modal/components/BaseInfo/index.less +225 -225
- package/lib/vtx-staff-modal/components/DetailInfo/index.less +38 -38
- package/lib/vtx-staff-modal/components/Equipment/index.less +52 -52
- package/lib/vtx-staff-modal/components/StaticInfo/index.less +270 -270
- package/lib/vtx-throw-point-modal/components/Alarm/index.less +69 -69
- package/lib/vtx-throw-point-modal/components/OverView/index.less +331 -331
- package/lib/vtx-throw-point-modal/components/SBZJ/index.less +92 -92
- package/lib/vtx-throw-point-modal/components/TFRD/index.less +15 -15
- package/lib/vtx-throw-point-modal/components/WGGS/index.less +38 -38
- package/lib/vtx-throw-point-modal/components/WGXW/index.less +102 -102
- package/lib/vtx-throw-point-modal/style/index.less +1 -1
- package/lib/vtx-wr-modal/components/AlarmInfo/index.less +106 -106
- package/lib/vtx-wr-modal/components/BaseInfo/index.less +142 -142
- package/lib/vtx-wr-modal/components/BaseInfoNew/index.less +570 -570
- package/lib/vtx-wr-modal/components/BaseInfoNew2/index.less +469 -469
- package/lib/vtx-wr-modal/components/Evaluate/index.less +124 -124
- package/lib/vtx-wr-modal/components/Monitor/index.less +82 -82
- package/lib/vtx-wr-modal/components/Score/index.less +134 -134
- package/lib/vtx-wr-modal/style/index.less +1 -1
- package/lib/vtx-zg-modal/components/BaseInfo/index.less +97 -97
- package/lib/vtx-zg-modal/style/index.less +1 -1
- package/package.json +124 -124
|
@@ -1,146 +1,146 @@
|
|
|
1
|
-
.flex-start {
|
|
2
|
-
display: flex;
|
|
3
|
-
justify-content: start;
|
|
4
|
-
align-items: start;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
.road-baseContent {
|
|
8
|
-
padding: 10px;
|
|
9
|
-
height: 100%;
|
|
10
|
-
.flex-start();
|
|
11
|
-
.base-left {
|
|
12
|
-
margin-right: 10px;
|
|
13
|
-
width: 441px;
|
|
14
|
-
&-top {
|
|
15
|
-
padding: 20px 22px 0 22px;
|
|
16
|
-
height: 280px;
|
|
17
|
-
overflow-y: auto;
|
|
18
|
-
margin-bottom: 10px;
|
|
19
|
-
background-color: var(--bg-color2);
|
|
20
|
-
border: 1px solid var(--bg-border-color2);
|
|
21
|
-
}
|
|
22
|
-
&-bottom {
|
|
23
|
-
height: 384px;
|
|
24
|
-
padding: 20px 22px;
|
|
25
|
-
background-color: var(--bg-color2);
|
|
26
|
-
border: 1px solid var(--bg-border-color2);
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
.workRules {
|
|
31
|
-
height: 100%;
|
|
32
|
-
overflow-y: auto;
|
|
33
|
-
|
|
34
|
-
&-item {
|
|
35
|
-
height: 29px;
|
|
36
|
-
display: flex;
|
|
37
|
-
justify-content: space-between;
|
|
38
|
-
align-items: center;
|
|
39
|
-
color: var(--info-color);
|
|
40
|
-
margin: 12px 0 32px 0;
|
|
41
|
-
&--name {
|
|
42
|
-
width: 100px;
|
|
43
|
-
height: 100%;
|
|
44
|
-
font-size: 14px;
|
|
45
|
-
font-family: PingFangSC-Medium, PingFang SC;
|
|
46
|
-
font-weight: 500;
|
|
47
|
-
text-align: center;
|
|
48
|
-
line-height: 30px;
|
|
49
|
-
background-repeat: no-repeat;
|
|
50
|
-
background-size: 100% 100%;
|
|
51
|
-
|
|
52
|
-
&.ss {
|
|
53
|
-
background-image: url('../../imgs/ss.png');
|
|
54
|
-
}
|
|
55
|
-
&.js {
|
|
56
|
-
background-image: url('../../imgs/js.png');
|
|
57
|
-
}
|
|
58
|
-
&.xs {
|
|
59
|
-
background-image: url('../../imgs/xs.png');
|
|
60
|
-
}
|
|
61
|
-
&.wp {
|
|
62
|
-
background-image: url('../../imgs/wp.png');
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
&--content {
|
|
66
|
-
color: var(--info-color);
|
|
67
|
-
span {
|
|
68
|
-
color: var(--label-color);
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
.base-right-twork {
|
|
74
|
-
width: calc(100% - 441px - 10px);
|
|
75
|
-
height: 100%;
|
|
76
|
-
.twork {
|
|
77
|
-
padding: 20px 22px;
|
|
78
|
-
background-color: var(--bg-color2);
|
|
79
|
-
border: 1px solid var(--bg-border-color2);
|
|
80
|
-
|
|
81
|
-
height: 280px;
|
|
82
|
-
&--head {
|
|
83
|
-
height: 40px;
|
|
84
|
-
line-height: 40px;
|
|
85
|
-
.flex-start();
|
|
86
|
-
font-size: 14px;
|
|
87
|
-
color: var(--info-color);
|
|
88
|
-
background: var(--table-head-bg);
|
|
89
|
-
margin-bottom: 11px;
|
|
90
|
-
&-img {
|
|
91
|
-
width: 40px;
|
|
92
|
-
margin-right: 14px;
|
|
93
|
-
}
|
|
94
|
-
&-carType {
|
|
95
|
-
width: 200px;
|
|
96
|
-
margin-right: 20px;
|
|
97
|
-
}
|
|
98
|
-
&-block {
|
|
99
|
-
width: 90px;
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
&--item-wrap {
|
|
103
|
-
height: 160px;
|
|
104
|
-
overflow-y: auto;
|
|
105
|
-
}
|
|
106
|
-
&--item {
|
|
107
|
-
.flex-start();
|
|
108
|
-
color: var(--info-color);
|
|
109
|
-
margin-bottom: 16px;
|
|
110
|
-
img {
|
|
111
|
-
width: 40px;
|
|
112
|
-
height: 40px;
|
|
113
|
-
margin-right: 14px;
|
|
114
|
-
}
|
|
115
|
-
&-progress {
|
|
116
|
-
width: 200px;
|
|
117
|
-
margin-right: 20px;
|
|
118
|
-
font-size: 14px;
|
|
119
|
-
line-height: 18px;
|
|
120
|
-
}
|
|
121
|
-
&-ellipsis {
|
|
122
|
-
border: 1px solid red;
|
|
123
|
-
text-overflow: ellipsis;
|
|
124
|
-
white-space: nowrap;
|
|
125
|
-
overflow: hidden;
|
|
126
|
-
}
|
|
127
|
-
&-block {
|
|
128
|
-
width: 90px;
|
|
129
|
-
font-size: 12px;
|
|
130
|
-
color: var(--info-active);
|
|
131
|
-
span {
|
|
132
|
-
font-size: 20px;
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
.twork-table {
|
|
138
|
-
padding: 20px 22px;
|
|
139
|
-
background-color: var(--bg-color2);
|
|
140
|
-
border: 1px solid var(--bg-border-color2);
|
|
141
|
-
|
|
142
|
-
margin-top: 10px;
|
|
143
|
-
height: 384px;
|
|
144
|
-
}
|
|
145
|
-
}
|
|
146
|
-
}
|
|
1
|
+
.flex-start {
|
|
2
|
+
display: flex;
|
|
3
|
+
justify-content: start;
|
|
4
|
+
align-items: start;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.road-baseContent {
|
|
8
|
+
padding: 10px;
|
|
9
|
+
height: 100%;
|
|
10
|
+
.flex-start();
|
|
11
|
+
.base-left {
|
|
12
|
+
margin-right: 10px;
|
|
13
|
+
width: 441px;
|
|
14
|
+
&-top {
|
|
15
|
+
padding: 20px 22px 0 22px;
|
|
16
|
+
height: 280px;
|
|
17
|
+
overflow-y: auto;
|
|
18
|
+
margin-bottom: 10px;
|
|
19
|
+
background-color: var(--bg-color2);
|
|
20
|
+
border: 1px solid var(--bg-border-color2);
|
|
21
|
+
}
|
|
22
|
+
&-bottom {
|
|
23
|
+
height: 384px;
|
|
24
|
+
padding: 20px 22px;
|
|
25
|
+
background-color: var(--bg-color2);
|
|
26
|
+
border: 1px solid var(--bg-border-color2);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.workRules {
|
|
31
|
+
height: 100%;
|
|
32
|
+
overflow-y: auto;
|
|
33
|
+
|
|
34
|
+
&-item {
|
|
35
|
+
height: 29px;
|
|
36
|
+
display: flex;
|
|
37
|
+
justify-content: space-between;
|
|
38
|
+
align-items: center;
|
|
39
|
+
color: var(--info-color);
|
|
40
|
+
margin: 12px 0 32px 0;
|
|
41
|
+
&--name {
|
|
42
|
+
width: 100px;
|
|
43
|
+
height: 100%;
|
|
44
|
+
font-size: 14px;
|
|
45
|
+
font-family: PingFangSC-Medium, PingFang SC;
|
|
46
|
+
font-weight: 500;
|
|
47
|
+
text-align: center;
|
|
48
|
+
line-height: 30px;
|
|
49
|
+
background-repeat: no-repeat;
|
|
50
|
+
background-size: 100% 100%;
|
|
51
|
+
|
|
52
|
+
&.ss {
|
|
53
|
+
background-image: url('../../imgs/ss.png');
|
|
54
|
+
}
|
|
55
|
+
&.js {
|
|
56
|
+
background-image: url('../../imgs/js.png');
|
|
57
|
+
}
|
|
58
|
+
&.xs {
|
|
59
|
+
background-image: url('../../imgs/xs.png');
|
|
60
|
+
}
|
|
61
|
+
&.wp {
|
|
62
|
+
background-image: url('../../imgs/wp.png');
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
&--content {
|
|
66
|
+
color: var(--info-color);
|
|
67
|
+
span {
|
|
68
|
+
color: var(--label-color);
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
.base-right-twork {
|
|
74
|
+
width: calc(100% - 441px - 10px);
|
|
75
|
+
height: 100%;
|
|
76
|
+
.twork {
|
|
77
|
+
padding: 20px 22px;
|
|
78
|
+
background-color: var(--bg-color2);
|
|
79
|
+
border: 1px solid var(--bg-border-color2);
|
|
80
|
+
|
|
81
|
+
height: 280px;
|
|
82
|
+
&--head {
|
|
83
|
+
height: 40px;
|
|
84
|
+
line-height: 40px;
|
|
85
|
+
.flex-start();
|
|
86
|
+
font-size: 14px;
|
|
87
|
+
color: var(--info-color);
|
|
88
|
+
background: var(--table-head-bg);
|
|
89
|
+
margin-bottom: 11px;
|
|
90
|
+
&-img {
|
|
91
|
+
width: 40px;
|
|
92
|
+
margin-right: 14px;
|
|
93
|
+
}
|
|
94
|
+
&-carType {
|
|
95
|
+
width: 200px;
|
|
96
|
+
margin-right: 20px;
|
|
97
|
+
}
|
|
98
|
+
&-block {
|
|
99
|
+
width: 90px;
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
&--item-wrap {
|
|
103
|
+
height: 160px;
|
|
104
|
+
overflow-y: auto;
|
|
105
|
+
}
|
|
106
|
+
&--item {
|
|
107
|
+
.flex-start();
|
|
108
|
+
color: var(--info-color);
|
|
109
|
+
margin-bottom: 16px;
|
|
110
|
+
img {
|
|
111
|
+
width: 40px;
|
|
112
|
+
height: 40px;
|
|
113
|
+
margin-right: 14px;
|
|
114
|
+
}
|
|
115
|
+
&-progress {
|
|
116
|
+
width: 200px;
|
|
117
|
+
margin-right: 20px;
|
|
118
|
+
font-size: 14px;
|
|
119
|
+
line-height: 18px;
|
|
120
|
+
}
|
|
121
|
+
&-ellipsis {
|
|
122
|
+
border: 1px solid red;
|
|
123
|
+
text-overflow: ellipsis;
|
|
124
|
+
white-space: nowrap;
|
|
125
|
+
overflow: hidden;
|
|
126
|
+
}
|
|
127
|
+
&-block {
|
|
128
|
+
width: 90px;
|
|
129
|
+
font-size: 12px;
|
|
130
|
+
color: var(--info-active);
|
|
131
|
+
span {
|
|
132
|
+
font-size: 20px;
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
.twork-table {
|
|
138
|
+
padding: 20px 22px;
|
|
139
|
+
background-color: var(--bg-color2);
|
|
140
|
+
border: 1px solid var(--bg-border-color2);
|
|
141
|
+
|
|
142
|
+
margin-top: 10px;
|
|
143
|
+
height: 384px;
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
}
|
|
@@ -1,112 +1,112 @@
|
|
|
1
|
-
.road-statistic {
|
|
2
|
-
padding: 10px;
|
|
3
|
-
|
|
4
|
-
&-summary {
|
|
5
|
-
padding: 20px;
|
|
6
|
-
margin-bottom: 10px;
|
|
7
|
-
background-color: var(--bg-color2);
|
|
8
|
-
border: 1px solid var(--bg-border-color2);
|
|
9
|
-
|
|
10
|
-
&-title {
|
|
11
|
-
display: flex;
|
|
12
|
-
justify-content: space-between;
|
|
13
|
-
align-items: center;
|
|
14
|
-
}
|
|
15
|
-
&-main {
|
|
16
|
-
margin-top: 32px;
|
|
17
|
-
color: var(--info-color);
|
|
18
|
-
&-item {
|
|
19
|
-
display: flex;
|
|
20
|
-
justify-content: start;
|
|
21
|
-
align-items: center;
|
|
22
|
-
img {
|
|
23
|
-
width: 46px;
|
|
24
|
-
height: 46px;
|
|
25
|
-
margin-right: 17px;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
&--name {
|
|
29
|
-
color: var(--label-color);
|
|
30
|
-
}
|
|
31
|
-
&--value {
|
|
32
|
-
font-size: 12px;
|
|
33
|
-
span {
|
|
34
|
-
font-size: 22px;
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
&-progress {
|
|
40
|
-
width: 160px;
|
|
41
|
-
display: flex;
|
|
42
|
-
justify-content: start;
|
|
43
|
-
align-items: center;
|
|
44
|
-
.ant-progress-inner {
|
|
45
|
-
width: 70px !important;
|
|
46
|
-
height: 70px !important;
|
|
47
|
-
margin-right: 17px;
|
|
48
|
-
}
|
|
49
|
-
&--name {
|
|
50
|
-
color: var(--label-color);
|
|
51
|
-
}
|
|
52
|
-
&--value {
|
|
53
|
-
color: var(--label-active);
|
|
54
|
-
font-size: 12px;
|
|
55
|
-
span {
|
|
56
|
-
font-size: 22px;
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
&-rate {
|
|
61
|
-
display: flex;
|
|
62
|
-
justify-items: start;
|
|
63
|
-
align-items: center;
|
|
64
|
-
&--item {
|
|
65
|
-
margin-left: 30px;
|
|
66
|
-
}
|
|
67
|
-
&--block {
|
|
68
|
-
width: 5px;
|
|
69
|
-
height: 5px;
|
|
70
|
-
display: inline-block;
|
|
71
|
-
margin-right: 6px;
|
|
72
|
-
background: #ffd736;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
&--value {
|
|
76
|
-
color: var(--info-color);
|
|
77
|
-
font-size: 12px;
|
|
78
|
-
margin-left: 11px;
|
|
79
|
-
span {
|
|
80
|
-
font-size: 22px;
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
&-charts {
|
|
88
|
-
.chart {
|
|
89
|
-
height: 507px;
|
|
90
|
-
padding: 20px;
|
|
91
|
-
background-color: var(--bg-color2);
|
|
92
|
-
border: 1px solid var(--bg-border-color2);
|
|
93
|
-
}
|
|
94
|
-
&-lcfx {
|
|
95
|
-
.chart();
|
|
96
|
-
|
|
97
|
-
&-contain {
|
|
98
|
-
height: 90%;
|
|
99
|
-
width: 100%;
|
|
100
|
-
overflow: hidden;
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
&-zywcl {
|
|
105
|
-
.chart();
|
|
106
|
-
&-contain {
|
|
107
|
-
height: 400px;
|
|
108
|
-
width: 100%;
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
}
|
|
1
|
+
.road-statistic {
|
|
2
|
+
padding: 10px;
|
|
3
|
+
|
|
4
|
+
&-summary {
|
|
5
|
+
padding: 20px;
|
|
6
|
+
margin-bottom: 10px;
|
|
7
|
+
background-color: var(--bg-color2);
|
|
8
|
+
border: 1px solid var(--bg-border-color2);
|
|
9
|
+
|
|
10
|
+
&-title {
|
|
11
|
+
display: flex;
|
|
12
|
+
justify-content: space-between;
|
|
13
|
+
align-items: center;
|
|
14
|
+
}
|
|
15
|
+
&-main {
|
|
16
|
+
margin-top: 32px;
|
|
17
|
+
color: var(--info-color);
|
|
18
|
+
&-item {
|
|
19
|
+
display: flex;
|
|
20
|
+
justify-content: start;
|
|
21
|
+
align-items: center;
|
|
22
|
+
img {
|
|
23
|
+
width: 46px;
|
|
24
|
+
height: 46px;
|
|
25
|
+
margin-right: 17px;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
&--name {
|
|
29
|
+
color: var(--label-color);
|
|
30
|
+
}
|
|
31
|
+
&--value {
|
|
32
|
+
font-size: 12px;
|
|
33
|
+
span {
|
|
34
|
+
font-size: 22px;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
&-progress {
|
|
40
|
+
width: 160px;
|
|
41
|
+
display: flex;
|
|
42
|
+
justify-content: start;
|
|
43
|
+
align-items: center;
|
|
44
|
+
.ant-progress-inner {
|
|
45
|
+
width: 70px !important;
|
|
46
|
+
height: 70px !important;
|
|
47
|
+
margin-right: 17px;
|
|
48
|
+
}
|
|
49
|
+
&--name {
|
|
50
|
+
color: var(--label-color);
|
|
51
|
+
}
|
|
52
|
+
&--value {
|
|
53
|
+
color: var(--label-active);
|
|
54
|
+
font-size: 12px;
|
|
55
|
+
span {
|
|
56
|
+
font-size: 22px;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
&-rate {
|
|
61
|
+
display: flex;
|
|
62
|
+
justify-items: start;
|
|
63
|
+
align-items: center;
|
|
64
|
+
&--item {
|
|
65
|
+
margin-left: 30px;
|
|
66
|
+
}
|
|
67
|
+
&--block {
|
|
68
|
+
width: 5px;
|
|
69
|
+
height: 5px;
|
|
70
|
+
display: inline-block;
|
|
71
|
+
margin-right: 6px;
|
|
72
|
+
background: #ffd736;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
&--value {
|
|
76
|
+
color: var(--info-color);
|
|
77
|
+
font-size: 12px;
|
|
78
|
+
margin-left: 11px;
|
|
79
|
+
span {
|
|
80
|
+
font-size: 22px;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
&-charts {
|
|
88
|
+
.chart {
|
|
89
|
+
height: 507px;
|
|
90
|
+
padding: 20px;
|
|
91
|
+
background-color: var(--bg-color2);
|
|
92
|
+
border: 1px solid var(--bg-border-color2);
|
|
93
|
+
}
|
|
94
|
+
&-lcfx {
|
|
95
|
+
.chart();
|
|
96
|
+
|
|
97
|
+
&-contain {
|
|
98
|
+
height: 90%;
|
|
99
|
+
width: 100%;
|
|
100
|
+
overflow: hidden;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
&-zywcl {
|
|
105
|
+
.chart();
|
|
106
|
+
&-contain {
|
|
107
|
+
height: 400px;
|
|
108
|
+
width: 100%;
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@import '../../style/index';
|
|
1
|
+
@import '../../style/index';
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
.staff-alarm {
|
|
2
|
-
padding: 10px;
|
|
3
|
-
|
|
4
|
-
.staff-main {
|
|
5
|
-
padding: 11px 16px;
|
|
6
|
-
background-color: var(--bg-color2);
|
|
7
|
-
border: 1px solid var(--bg-border-color2);
|
|
8
|
-
|
|
9
|
-
.staff-head {
|
|
10
|
-
display: flex;
|
|
11
|
-
justify-content: space-between;
|
|
12
|
-
align-items: center;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
&-charts {
|
|
16
|
-
margin: 24px auto;
|
|
17
|
-
text-align: center;
|
|
18
|
-
}
|
|
19
|
-
&-table {
|
|
20
|
-
min-height: 500px;
|
|
21
|
-
margin-top: 10px;
|
|
22
|
-
}
|
|
23
|
-
}
|
|
1
|
+
.staff-alarm {
|
|
2
|
+
padding: 10px;
|
|
3
|
+
|
|
4
|
+
.staff-main {
|
|
5
|
+
padding: 11px 16px;
|
|
6
|
+
background-color: var(--bg-color2);
|
|
7
|
+
border: 1px solid var(--bg-border-color2);
|
|
8
|
+
|
|
9
|
+
.staff-head {
|
|
10
|
+
display: flex;
|
|
11
|
+
justify-content: space-between;
|
|
12
|
+
align-items: center;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
&-charts {
|
|
16
|
+
margin: 24px auto;
|
|
17
|
+
text-align: center;
|
|
18
|
+
}
|
|
19
|
+
&-table {
|
|
20
|
+
min-height: 500px;
|
|
21
|
+
margin-top: 10px;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
@@ -30,7 +30,17 @@ function WorkingHours(props) {
|
|
|
30
30
|
var option = {
|
|
31
31
|
color: chartColor,
|
|
32
32
|
tooltip: {
|
|
33
|
-
trigger: 'axis'
|
|
33
|
+
trigger: 'axis',
|
|
34
|
+
formatter: function formatter(params) {
|
|
35
|
+
// params 是一个数组,包含了触发 tooltip 的所有数据点信息
|
|
36
|
+
var res = params[0].name + '<br/>'; // 添加数据点的名称
|
|
37
|
+
params.forEach(function (item) {
|
|
38
|
+
res += item.seriesName + ' : ';
|
|
39
|
+
res += item.value + ' 小时'; // 在这里添加单位
|
|
40
|
+
res += '<br/>';
|
|
41
|
+
});
|
|
42
|
+
return res;
|
|
43
|
+
}
|
|
34
44
|
},
|
|
35
45
|
legend: {
|
|
36
46
|
show: true,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WorkingHours.js","names":["_react","_interopRequireDefault","require","_echartsForReact","_vmSubTitle","_vmNodata","_useSettings2","_api","e","__esModule","WorkingHours","props","_useSettings","useSettings","chartColor","chartFontColor","theme","id","startDate","endDate","_AttendanceService$us","AttendanceService","useTimeAnalysis","attendTimeAnalysisRes","names","values","option","color","tooltip","trigger","legend","show","itemWith","itemHeight","top","textStyle","fontSize","grid","left","bottom","right","containLabel","xAxis","type","boundaryGap","axisTick","axisLabel","data","yAxis","
|
|
1
|
+
{"version":3,"file":"WorkingHours.js","names":["_react","_interopRequireDefault","require","_echartsForReact","_vmSubTitle","_vmNodata","_useSettings2","_api","e","__esModule","WorkingHours","props","_useSettings","useSettings","chartColor","chartFontColor","theme","id","startDate","endDate","_AttendanceService$us","AttendanceService","useTimeAnalysis","attendTimeAnalysisRes","names","values","option","color","tooltip","trigger","formatter","params","res","name","forEach","item","seriesName","value","legend","show","itemWith","itemHeight","top","textStyle","fontSize","grid","left","bottom","right","containLabel","xAxis","type","boundaryGap","axisTick","axisLabel","data","yAxis","nameTextStyle","axisLine","splitLine","lineStyle","series","length","markLine","label","position","fontWeight","React","createElement","key","className","SubTitle","title","ReactEcharts","notMerge","lazyUpdate","style","height","width","NoData"],"sources":["vtx-staff-modal/components/Attendance/WorkingHours.js"],"sourcesContent":["/**\n * 工时统计\n */\nimport React from 'react';\nimport ReactEcharts from 'echarts-for-react';\nimport SubTitle from '../../../vm-sub-title';\nimport NoData from '../../../vm-nodata';\nimport useSettings from '../../../vm-hooks/useSettings';\nimport { AttendanceService } from '../../api';\nexport default function WorkingHours(props) {\n const { chartColor, chartFontColor, theme } = useSettings();\n const { id, startDate, endDate } = props;\n const { attendTimeAnalysisRes } = AttendanceService.useTimeAnalysis(id, startDate, endDate);\n const { names, values } = attendTimeAnalysisRes;\n const option = {\n color: chartColor,\n tooltip: {\n trigger: 'axis',\n formatter: function (params) {\n // params 是一个数组,包含了触发 tooltip 的所有数据点信息\n var res = params[0].name + '<br/>'; // 添加数据点的名称\n params.forEach(function (item) {\n res += item.seriesName + ' : ';\n res += item.value + ' 小时'; // 在这里添加单位\n res += '<br/>';\n });\n return res;\n }\n },\n legend: {\n show: true,\n itemWith: 6,\n itemHeight: 6,\n top: 20,\n textStyle: {\n color: theme === 'blue' ? '#fff' : chartFontColor,\n fontSize: 12,\n },\n },\n grid: {\n left: 24,\n bottom: 12,\n right: 40,\n containLabel: true,\n },\n xAxis: {\n type: 'category',\n boundaryGap: false,\n axisTick: {\n show: false,\n },\n axisLabel: {\n color: theme === 'blue' ? '#fff' : chartFontColor,\n },\n data: names || [],\n },\n yAxis: [\n {\n name: '小时',\n type: 'value',\n nameTextStyle: {\n color: theme === 'blue' ? '#fff' : chartFontColor,\n },\n axisTick: {\n show: false,\n },\n axisLabel: {\n color: theme === 'blue' ? '#fff' : chartFontColor,\n },\n axisLine: {\n show: true,\n },\n splitLine: {\n lineStyle: {\n type: 'dashed',\n color: 'rgba(151,151,151,0.28)',\n },\n },\n },\n ],\n series: [\n {\n name: '每日工时',\n type: 'line',\n data: (values === null || values === void 0 ? void 0 : values.length) > 1 ? values[1] : [],\n markLine: {\n data: [{ type: 'average', name: '平均工时' }],\n label: {\n show: true,\n position: 'insideEndTop',\n formatter: '{b}: {c}',\n color: theme === 'blue' ? '#fff' : chartFontColor,\n fontWeight: 'normal',\n },\n lineStyle: {\n color: '#76F8FA',\n },\n },\n },\n {\n name: '请假时长',\n type: 'line',\n data: (values === null || values === void 0 ? void 0 : values.length) > 2 ? values[2] : [],\n },\n {\n name: '加班时长',\n type: 'line',\n data: (values === null || values === void 0 ? void 0 : values.length) > 3 ? values[3] : [],\n },\n ],\n };\n return (React.createElement(\"div\", { key: id, className: \"staff-attend-workhours\" },\n React.createElement(SubTitle, { title: \"\\u5DE5\\u65F6\\u7EDF\\u8BA1\" }),\n (names === null || names === void 0 ? void 0 : names.length) > 0 ? (React.createElement(ReactEcharts, { option: option, notMerge: true, lazyUpdate: true, style: { height: '220px', width: '100%' } })) : (React.createElement(NoData, null))));\n}\n"],"mappings":";;;;;;AAGA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,gBAAA,GAAAF,sBAAA,CAAAC,OAAA;AACA,IAAAE,WAAA,GAAAH,sBAAA,CAAAC,OAAA;AACA,IAAAG,SAAA,GAAAJ,sBAAA,CAAAC,OAAA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