@vtx/modals2 2.15.17 → 2.15.19
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 +124 -124
- 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-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-tabs/style/index.less +179 -179
- package/lib/vm-sub-title/style/index.less +68 -68
- package/lib/vm-video/index.less +36 -36
- package/lib/vtx-base-info/style/index.less +66 -66
- package/lib/vtx-base-modal/index.js +9 -2
- package/lib/vtx-base-modal/index.js.map +1 -1
- package/lib/vtx-base-modal/style/index.less +1075 -1075
- 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/index.less +109 -109
- package/lib/vtx-cp-modal/components/BaseInfo/index.less +156 -156
- package/lib/vtx-cp-modal/components/ExeceptionInfo/index.less +109 -109
- package/lib/vtx-cp-modal/components/SyInfo/index.less +47 -47
- 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 +29 -29
- package/lib/vtx-restaurant-modal/style/index.less +1 -1
- package/lib/vtx-road-modal/components/BaseInfo/TodayWorkTable.js +9 -10
- package/lib/vtx-road-modal/components/BaseInfo/TodayWorkTable.js.map +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/index.less +22 -22
- package/lib/vtx-staff-modal/components/BaseInfo/index.less +158 -158
- package/lib/vtx-staff-modal/components/DetailInfo/index.less +38 -38
- package/lib/vtx-staff-modal/components/Equipment/index.less +28 -28
- package/lib/vtx-staff-modal/style/index.less +1 -1
- 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/components/Jbxx.js +2 -19
- package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Jbxx.js.map +1 -1
- package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Ptss.js +51 -13
- package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Ptss.js.map +1 -1
- package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Sjjg.js +3 -2
- package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Sjjg.js.map +1 -1
- package/lib/vtx-wr-modal/components/BaseInfoNew2/index.js +15 -0
- package/lib/vtx-wr-modal/components/BaseInfoNew2/index.js.map +1 -1
- package/lib/vtx-wr-modal/components/BaseInfoNew2/index.less +320 -320
- 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/imgs/2/wza.png +0 -0
- package/lib/vtx-wr-modal/style/index.less +1 -1
- package/lib/vtx-zg-modal/components/BaseInfo/index.less +101 -101
- package/lib/vtx-zg-modal/style/index.less +1 -1
- package/package.json +1 -1
|
@@ -1,161 +1,161 @@
|
|
|
1
|
-
@import '../../style/index';
|
|
2
|
-
|
|
3
|
-
.@{prefix-cls}-sxyx {
|
|
4
|
-
padding: 6px 10px;
|
|
5
|
-
|
|
6
|
-
&-card {
|
|
7
|
-
width: 100%;
|
|
8
|
-
height: 100%;
|
|
9
|
-
background: var(--bg-color2);
|
|
10
|
-
border-radius: 4px;
|
|
11
|
-
box-shadow: 0 2px 4px 1px rgba(0, 0, 0, 0.02);
|
|
12
|
-
border: 1px solid var(--bg-border-color2);
|
|
13
|
-
|
|
14
|
-
&-title {
|
|
15
|
-
display: flex;
|
|
16
|
-
height: 50px;
|
|
17
|
-
align-items: center;
|
|
18
|
-
justify-content: space-between;
|
|
19
|
-
border-bottom: 1px solid #e8e8e8;
|
|
20
|
-
padding: 0 25px;
|
|
21
|
-
|
|
22
|
-
&-text {
|
|
23
|
-
font-size: 16px;
|
|
24
|
-
font-family: PingFangSC-Medium-, PingFangSC-Medium;
|
|
25
|
-
font-weight: normal;
|
|
26
|
-
color: rgba(0, 0, 0, 0.85);
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
&-content {
|
|
31
|
-
height: calc(100% - 50px);
|
|
32
|
-
padding: 18px 25px;
|
|
33
|
-
display: flex;
|
|
34
|
-
|
|
35
|
-
&-label {
|
|
36
|
-
font-size: 14px;
|
|
37
|
-
font-family: PingFang SC-Regular, PingFang SC;
|
|
38
|
-
font-weight: 400;
|
|
39
|
-
color: rgba(0, 0, 0, 0.65);
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
&-value {
|
|
43
|
-
font-size: 14px;
|
|
44
|
-
font-family: PingFang SC-Regular, PingFang SC;
|
|
45
|
-
font-weight: 400;
|
|
46
|
-
color: rgba(0, 0, 0, 0.85);
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
&-sx-info {
|
|
52
|
-
position: relative;
|
|
53
|
-
width: 70%;
|
|
54
|
-
height: 100px;
|
|
55
|
-
margin: auto 0;
|
|
56
|
-
|
|
57
|
-
&-sxHeight {
|
|
58
|
-
position: absolute;
|
|
59
|
-
top: -13px;
|
|
60
|
-
display: flex;
|
|
61
|
-
align-items: center;
|
|
62
|
-
}
|
|
63
|
-
&-sxMaxHeight {
|
|
64
|
-
position: absolute;
|
|
65
|
-
top: 20px;
|
|
66
|
-
display: flex;
|
|
67
|
-
align-items: center;
|
|
68
|
-
}
|
|
69
|
-
&-sxMinHeight {
|
|
70
|
-
position: absolute;
|
|
71
|
-
bottom: -13px;
|
|
72
|
-
display: flex;
|
|
73
|
-
align-items: center;
|
|
74
|
-
}
|
|
75
|
-
&-sxNowHeight {
|
|
76
|
-
position: absolute;
|
|
77
|
-
right: -10px;
|
|
78
|
-
display: flex;
|
|
79
|
-
align-items: center;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
&-line {
|
|
83
|
-
display: inline-block;
|
|
84
|
-
width: 120px;
|
|
85
|
-
height: 0px;
|
|
86
|
-
border: 1px solid rgba(112, 112, 112, 0.24);
|
|
87
|
-
margin-left: 10px;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
.lui-column-bg {
|
|
91
|
-
position: absolute;
|
|
92
|
-
width: 70px;
|
|
93
|
-
height: 100%;
|
|
94
|
-
background-color: rgba(197, 227, 255, 1);
|
|
95
|
-
top: 50%;
|
|
96
|
-
left: 50%;
|
|
97
|
-
transform: translate(-50%, -50%);
|
|
98
|
-
|
|
99
|
-
&::before {
|
|
100
|
-
position: absolute;
|
|
101
|
-
content: '';
|
|
102
|
-
display: block;
|
|
103
|
-
height: 20px;
|
|
104
|
-
width: 100%;
|
|
105
|
-
border-radius: 50%;
|
|
106
|
-
top: -10.5px;
|
|
107
|
-
z-index: 1;
|
|
108
|
-
background: linear-gradient(0deg, #1890ff 0%, #c5e3ff 100%);
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
&::after {
|
|
112
|
-
position: absolute;
|
|
113
|
-
content: '';
|
|
114
|
-
display: block;
|
|
115
|
-
height: 15px;
|
|
116
|
-
width: 100%;
|
|
117
|
-
border-radius: 50%;
|
|
118
|
-
bottom: -9.5px;
|
|
119
|
-
background: rgba(24, 144, 255, 0.5);
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
.lui-inner {
|
|
123
|
-
position: absolute;
|
|
124
|
-
bottom: 0;
|
|
125
|
-
width: 100%;
|
|
126
|
-
height: 50%;
|
|
127
|
-
background: linear-gradient(
|
|
128
|
-
0deg,
|
|
129
|
-
rgba(24, 144, 255, 0.3) 0%,
|
|
130
|
-
rgba(24, 144, 255, 0.5) 100%
|
|
131
|
-
);
|
|
132
|
-
text-align: center;
|
|
133
|
-
|
|
134
|
-
&::before {
|
|
135
|
-
position: absolute;
|
|
136
|
-
content: '';
|
|
137
|
-
display: block;
|
|
138
|
-
height: 20px;
|
|
139
|
-
width: 100%;
|
|
140
|
-
background: linear-gradient(0deg, #1890ff 0%, #78beff 100%);
|
|
141
|
-
border-radius: 50%;
|
|
142
|
-
top: -10.5px;
|
|
143
|
-
z-index: 1;
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
&::after {
|
|
147
|
-
position: absolute;
|
|
148
|
-
content: '';
|
|
149
|
-
display: block;
|
|
150
|
-
height: 15px;
|
|
151
|
-
width: 100%;
|
|
152
|
-
border-radius: 50%;
|
|
153
|
-
background: var(--bg-color2);
|
|
154
|
-
border: 1px solid var(--bg-border-color2);
|
|
155
|
-
|
|
156
|
-
bottom: -10px;
|
|
157
|
-
}
|
|
158
|
-
}
|
|
159
|
-
}
|
|
160
|
-
}
|
|
161
|
-
}
|
|
1
|
+
@import '../../style/index';
|
|
2
|
+
|
|
3
|
+
.@{prefix-cls}-sxyx {
|
|
4
|
+
padding: 6px 10px;
|
|
5
|
+
|
|
6
|
+
&-card {
|
|
7
|
+
width: 100%;
|
|
8
|
+
height: 100%;
|
|
9
|
+
background: var(--bg-color2);
|
|
10
|
+
border-radius: 4px;
|
|
11
|
+
box-shadow: 0 2px 4px 1px rgba(0, 0, 0, 0.02);
|
|
12
|
+
border: 1px solid var(--bg-border-color2);
|
|
13
|
+
|
|
14
|
+
&-title {
|
|
15
|
+
display: flex;
|
|
16
|
+
height: 50px;
|
|
17
|
+
align-items: center;
|
|
18
|
+
justify-content: space-between;
|
|
19
|
+
border-bottom: 1px solid #e8e8e8;
|
|
20
|
+
padding: 0 25px;
|
|
21
|
+
|
|
22
|
+
&-text {
|
|
23
|
+
font-size: 16px;
|
|
24
|
+
font-family: PingFangSC-Medium-, PingFangSC-Medium;
|
|
25
|
+
font-weight: normal;
|
|
26
|
+
color: rgba(0, 0, 0, 0.85);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
&-content {
|
|
31
|
+
height: calc(100% - 50px);
|
|
32
|
+
padding: 18px 25px;
|
|
33
|
+
display: flex;
|
|
34
|
+
|
|
35
|
+
&-label {
|
|
36
|
+
font-size: 14px;
|
|
37
|
+
font-family: PingFang SC-Regular, PingFang SC;
|
|
38
|
+
font-weight: 400;
|
|
39
|
+
color: rgba(0, 0, 0, 0.65);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
&-value {
|
|
43
|
+
font-size: 14px;
|
|
44
|
+
font-family: PingFang SC-Regular, PingFang SC;
|
|
45
|
+
font-weight: 400;
|
|
46
|
+
color: rgba(0, 0, 0, 0.85);
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
&-sx-info {
|
|
52
|
+
position: relative;
|
|
53
|
+
width: 70%;
|
|
54
|
+
height: 100px;
|
|
55
|
+
margin: auto 0;
|
|
56
|
+
|
|
57
|
+
&-sxHeight {
|
|
58
|
+
position: absolute;
|
|
59
|
+
top: -13px;
|
|
60
|
+
display: flex;
|
|
61
|
+
align-items: center;
|
|
62
|
+
}
|
|
63
|
+
&-sxMaxHeight {
|
|
64
|
+
position: absolute;
|
|
65
|
+
top: 20px;
|
|
66
|
+
display: flex;
|
|
67
|
+
align-items: center;
|
|
68
|
+
}
|
|
69
|
+
&-sxMinHeight {
|
|
70
|
+
position: absolute;
|
|
71
|
+
bottom: -13px;
|
|
72
|
+
display: flex;
|
|
73
|
+
align-items: center;
|
|
74
|
+
}
|
|
75
|
+
&-sxNowHeight {
|
|
76
|
+
position: absolute;
|
|
77
|
+
right: -10px;
|
|
78
|
+
display: flex;
|
|
79
|
+
align-items: center;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
&-line {
|
|
83
|
+
display: inline-block;
|
|
84
|
+
width: 120px;
|
|
85
|
+
height: 0px;
|
|
86
|
+
border: 1px solid rgba(112, 112, 112, 0.24);
|
|
87
|
+
margin-left: 10px;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.lui-column-bg {
|
|
91
|
+
position: absolute;
|
|
92
|
+
width: 70px;
|
|
93
|
+
height: 100%;
|
|
94
|
+
background-color: rgba(197, 227, 255, 1);
|
|
95
|
+
top: 50%;
|
|
96
|
+
left: 50%;
|
|
97
|
+
transform: translate(-50%, -50%);
|
|
98
|
+
|
|
99
|
+
&::before {
|
|
100
|
+
position: absolute;
|
|
101
|
+
content: '';
|
|
102
|
+
display: block;
|
|
103
|
+
height: 20px;
|
|
104
|
+
width: 100%;
|
|
105
|
+
border-radius: 50%;
|
|
106
|
+
top: -10.5px;
|
|
107
|
+
z-index: 1;
|
|
108
|
+
background: linear-gradient(0deg, #1890ff 0%, #c5e3ff 100%);
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
&::after {
|
|
112
|
+
position: absolute;
|
|
113
|
+
content: '';
|
|
114
|
+
display: block;
|
|
115
|
+
height: 15px;
|
|
116
|
+
width: 100%;
|
|
117
|
+
border-radius: 50%;
|
|
118
|
+
bottom: -9.5px;
|
|
119
|
+
background: rgba(24, 144, 255, 0.5);
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.lui-inner {
|
|
123
|
+
position: absolute;
|
|
124
|
+
bottom: 0;
|
|
125
|
+
width: 100%;
|
|
126
|
+
height: 50%;
|
|
127
|
+
background: linear-gradient(
|
|
128
|
+
0deg,
|
|
129
|
+
rgba(24, 144, 255, 0.3) 0%,
|
|
130
|
+
rgba(24, 144, 255, 0.5) 100%
|
|
131
|
+
);
|
|
132
|
+
text-align: center;
|
|
133
|
+
|
|
134
|
+
&::before {
|
|
135
|
+
position: absolute;
|
|
136
|
+
content: '';
|
|
137
|
+
display: block;
|
|
138
|
+
height: 20px;
|
|
139
|
+
width: 100%;
|
|
140
|
+
background: linear-gradient(0deg, #1890ff 0%, #78beff 100%);
|
|
141
|
+
border-radius: 50%;
|
|
142
|
+
top: -10.5px;
|
|
143
|
+
z-index: 1;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
&::after {
|
|
147
|
+
position: absolute;
|
|
148
|
+
content: '';
|
|
149
|
+
display: block;
|
|
150
|
+
height: 15px;
|
|
151
|
+
width: 100%;
|
|
152
|
+
border-radius: 50%;
|
|
153
|
+
background: var(--bg-color2);
|
|
154
|
+
border: 1px solid var(--bg-border-color2);
|
|
155
|
+
|
|
156
|
+
bottom: -10px;
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@prefix-cls: pump;
|
|
1
|
+
@prefix-cls: pump;
|
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
@import '../../style/index';
|
|
2
|
-
|
|
3
|
-
.@{prefix-cls}-alarm {
|
|
4
|
-
display: flex;
|
|
5
|
-
flex-direction: column;
|
|
6
|
-
gap: 10px;
|
|
7
|
-
height: 600px;
|
|
8
|
-
padding: 6px 10px;
|
|
9
|
-
&-search {
|
|
10
|
-
padding: 10px 20px;
|
|
11
|
-
background: var(--bg-color2);
|
|
12
|
-
border: 1px solid var(--bg-border-color2);
|
|
13
|
-
}
|
|
14
|
-
&-charts {
|
|
15
|
-
height: 200px;
|
|
16
|
-
display: flex;
|
|
17
|
-
gap: 10px;
|
|
18
|
-
|
|
19
|
-
&--chart {
|
|
20
|
-
height: 100%;
|
|
21
|
-
padding: 20px;
|
|
22
|
-
flex: 1;
|
|
23
|
-
display: flex;
|
|
24
|
-
flex-direction: column;
|
|
25
|
-
background: var(--bg-color2);
|
|
26
|
-
border: 1px solid var(--bg-border-color2);
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
&-list {
|
|
30
|
-
padding: 20px;
|
|
31
|
-
flex: 1;
|
|
32
|
-
background: var(--bg-color2);
|
|
33
|
-
border: 1px solid var(--bg-border-color2);
|
|
34
|
-
}
|
|
35
|
-
}
|
|
1
|
+
@import '../../style/index';
|
|
2
|
+
|
|
3
|
+
.@{prefix-cls}-alarm {
|
|
4
|
+
display: flex;
|
|
5
|
+
flex-direction: column;
|
|
6
|
+
gap: 10px;
|
|
7
|
+
height: 600px;
|
|
8
|
+
padding: 6px 10px;
|
|
9
|
+
&-search {
|
|
10
|
+
padding: 10px 20px;
|
|
11
|
+
background: var(--bg-color2);
|
|
12
|
+
border: 1px solid var(--bg-border-color2);
|
|
13
|
+
}
|
|
14
|
+
&-charts {
|
|
15
|
+
height: 200px;
|
|
16
|
+
display: flex;
|
|
17
|
+
gap: 10px;
|
|
18
|
+
|
|
19
|
+
&--chart {
|
|
20
|
+
height: 100%;
|
|
21
|
+
padding: 20px;
|
|
22
|
+
flex: 1;
|
|
23
|
+
display: flex;
|
|
24
|
+
flex-direction: column;
|
|
25
|
+
background: var(--bg-color2);
|
|
26
|
+
border: 1px solid var(--bg-border-color2);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
&-list {
|
|
30
|
+
padding: 20px;
|
|
31
|
+
flex: 1;
|
|
32
|
+
background: var(--bg-color2);
|
|
33
|
+
border: 1px solid var(--bg-border-color2);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
@import '../../style/index';
|
|
2
|
-
|
|
3
|
-
.@{prefix-cls}-collection {
|
|
4
|
-
display: flex;
|
|
5
|
-
flex-direction: column;
|
|
6
|
-
gap: 10px;
|
|
7
|
-
height: 600px;
|
|
8
|
-
padding: 6px 10px;
|
|
9
|
-
&-search {
|
|
10
|
-
display: flex;
|
|
11
|
-
justify-content: space-between;
|
|
12
|
-
align-items: center;
|
|
13
|
-
padding: 10px 20px;
|
|
14
|
-
background: var(--bg-color2);
|
|
15
|
-
border: 1px solid var(--bg-border-color2);
|
|
16
|
-
}
|
|
17
|
-
&-summary {
|
|
18
|
-
padding: 20px;
|
|
19
|
-
height: 150px;
|
|
20
|
-
background: var(--bg-color2);
|
|
21
|
-
border: 1px solid var(--bg-border-color2);
|
|
22
|
-
}
|
|
23
|
-
&-list {
|
|
24
|
-
flex: 1;
|
|
25
|
-
padding: 20px;
|
|
26
|
-
background: var(--bg-color2);
|
|
27
|
-
border: 1px solid var(--bg-border-color2);
|
|
28
|
-
}
|
|
29
|
-
}
|
|
1
|
+
@import '../../style/index';
|
|
2
|
+
|
|
3
|
+
.@{prefix-cls}-collection {
|
|
4
|
+
display: flex;
|
|
5
|
+
flex-direction: column;
|
|
6
|
+
gap: 10px;
|
|
7
|
+
height: 600px;
|
|
8
|
+
padding: 6px 10px;
|
|
9
|
+
&-search {
|
|
10
|
+
display: flex;
|
|
11
|
+
justify-content: space-between;
|
|
12
|
+
align-items: center;
|
|
13
|
+
padding: 10px 20px;
|
|
14
|
+
background: var(--bg-color2);
|
|
15
|
+
border: 1px solid var(--bg-border-color2);
|
|
16
|
+
}
|
|
17
|
+
&-summary {
|
|
18
|
+
padding: 20px;
|
|
19
|
+
height: 150px;
|
|
20
|
+
background: var(--bg-color2);
|
|
21
|
+
border: 1px solid var(--bg-border-color2);
|
|
22
|
+
}
|
|
23
|
+
&-list {
|
|
24
|
+
flex: 1;
|
|
25
|
+
padding: 20px;
|
|
26
|
+
background: var(--bg-color2);
|
|
27
|
+
border: 1px solid var(--bg-border-color2);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@prefix-cls: restaurant;
|
|
1
|
+
@prefix-cls: restaurant;
|
|
@@ -60,14 +60,6 @@ function TodayWorkTable(props) {
|
|
|
60
60
|
dataIndex: 'workMileage',
|
|
61
61
|
key: 'workMileage',
|
|
62
62
|
width: 120
|
|
63
|
-
}, {
|
|
64
|
-
title: '完成率(%)',
|
|
65
|
-
dataIndex: 'completePercent',
|
|
66
|
-
key: 'completePercent',
|
|
67
|
-
width: 80,
|
|
68
|
-
sorter: function sorter(a, b) {
|
|
69
|
-
return a.completePercent - b.completePercent;
|
|
70
|
-
}
|
|
71
63
|
}, {
|
|
72
64
|
title: '轨迹',
|
|
73
65
|
dataIndex: 'track',
|
|
@@ -76,9 +68,16 @@ function TodayWorkTable(props) {
|
|
|
76
68
|
render: function render(_text, record) {
|
|
77
69
|
return /*#__PURE__*/_react["default"].createElement("a", {
|
|
78
70
|
onClick: function onClick() {
|
|
79
|
-
var
|
|
71
|
+
var prefix = '';
|
|
72
|
+
var prefixList = location.pathname.split('/').filter(function (item) {
|
|
73
|
+
return item;
|
|
74
|
+
});
|
|
75
|
+
if (prefixList.length === 2) {
|
|
76
|
+
prefix = "/".concat(prefixList[0]);
|
|
77
|
+
}
|
|
78
|
+
var src = "".concat(prefix, "/carHistory/#/index?carId=").concat(record.carId, "&").concat(location.href.split('?')[1]);
|
|
80
79
|
if (service === 'zyqs-zqb') {
|
|
81
|
-
src = "".concat(
|
|
80
|
+
src = "".concat(prefix, "/carHistory/#/zyqsHistory?carId=").concat(record.carId, "&theme=").concat(theme == 'blue' ? 'dark' : theme, "&startTime=").concat((0, _dayjs["default"])(date).format('YYYY-MM-DD 00:00:00'), "&endTime=").concat((0, _dayjs["default"])(date).format('YYYY-MM-DD 23:59:59'), "&").concat(location.href.split('?')[1]);
|
|
82
81
|
}
|
|
83
82
|
setIframeModalInfo({
|
|
84
83
|
title: '车辆轨迹',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TodayWorkTable.js","names":["_react","_interopRequireDefault","require","_moment","_vmTable","_api","_track","_useSettings3","_dayjs","_antd","_icons","e","__esModule","TodayWorkTable","props","id","service","setIframeModalInfo","_useSettings","useSettings","date","_useSettings2","theme","_BaseService$useRecor","BaseService","useRecordService","moment","format","dataSource","carWorkRecord","columns","title","dataIndex","key","ellipsis","width","React","createElement","Tooltip","QuestionCircleOutlined","style","marginLeft","
|
|
1
|
+
{"version":3,"file":"TodayWorkTable.js","names":["_react","_interopRequireDefault","require","_moment","_vmTable","_api","_track","_useSettings3","_dayjs","_antd","_icons","e","__esModule","TodayWorkTable","props","id","service","setIframeModalInfo","_useSettings","useSettings","date","_useSettings2","theme","_BaseService$useRecor","BaseService","useRecordService","moment","format","dataSource","carWorkRecord","columns","title","dataIndex","key","ellipsis","width","React","createElement","Tooltip","QuestionCircleOutlined","style","marginLeft","render","_text","record","onClick","prefix","prefixList","location","pathname","split","filter","item","length","concat","src","carId","href","dayjs","visible","track","tableProps","height","pagination","defaultCurrent","total","isIndex","rowKey","map","ele","index","Object","assign","VMTable"],"sources":["vtx-road-modal/components/BaseInfo/TodayWorkTable.js"],"sourcesContent":["/**\n * 路段-总览信息-今日作业\n */\nimport React from 'react';\nimport moment from 'moment';\nimport VMTable from '../../../vm-table';\nimport { BaseService } from '../../api';\nimport track from '../../imgs/track.png';\nimport useSettings from '../../../vm-hooks/useSettings';\nimport dayjs from 'dayjs';\nimport { Tooltip } from 'antd';\nimport { QuestionCircleOutlined } from '@ant-design/icons';\nexport default function TodayWorkTable(props) {\n const { id, service, setIframeModalInfo } = props;\n const { date } = useSettings();\n const { theme } = useSettings();\n const { carWorkRecord: dataSource } = BaseService.useRecordService(id, date || moment().format('YYYY-MM-DD'), service);\n const columns = [\n {\n title: '车牌号',\n dataIndex: 'carCode',\n key: 'carCode',\n ellipsis: true,\n },\n {\n title: '作业类型',\n dataIndex: 'workTypeName',\n key: 'workTypeName',\n width: 80,\n ellipsis: true,\n },\n {\n title: '作业趟数',\n dataIndex: 'workCount',\n key: 'workCount',\n width: 80,\n },\n {\n title: '作业里程(km)',\n dataIndex: 'realWorkMileage',\n key: 'realWorkMileage',\n width: 100,\n },\n {\n title: (React.createElement(\"span\", null,\n \"\\u6838\\u7B97\\u4F5C\\u4E1A\\u91CC\\u7A0B(km)\",\n React.createElement(Tooltip, { title: \"\\u6838\\u7B97\\u4F5C\\u4E1A\\u91CC\\u7A0B\\uFF1A\\u6839\\u636E\\u4F5C\\u4E1A\\u8DEF\\u6BB5\\u957F\\u5EA6\\u548C\\u4F5C\\u4E1A\\u89C4\\u5219\\uFF0C\\u540C\\u4E00\\u8DEF\\u6BB5\\u540C\\u4E00\\u65F6\\u6BB5\\u7684\\u4F5C\\u4E1A\\u7C7B\\u578B\\u4E0B\\uFF0C\\u4E0D\\u53EF\\u8D85\\u8FC7\\u8BA1\\u5212\\u4F5C\\u4E1A\\u91CC\\u7A0B\\u3002\" },\n React.createElement(QuestionCircleOutlined, { style: { marginLeft: 8 } })))),\n dataIndex: 'workMileage',\n key: 'workMileage',\n width: 120,\n },\n {\n title: '轨迹',\n dataIndex: 'track',\n key: 'track',\n width: 40,\n render: (_text, record) => {\n return (React.createElement(\"a\", { onClick: () => {\n let prefix = '';\n let prefixList = location.pathname.split('/').filter(item => item);\n if (prefixList.length === 2) {\n prefix = `/${prefixList[0]}`;\n }\n let src = `${prefix}/carHistory/#/index?carId=${record.carId}&${location.href.split('?')[1]}`;\n if (service === 'zyqs-zqb') {\n src = `${prefix}/carHistory/#/zyqsHistory?carId=${record.carId}&theme=${theme == 'blue' ? 'dark' : theme}&startTime=${dayjs(date).format('YYYY-MM-DD 00:00:00')}&endTime=${dayjs(date).format('YYYY-MM-DD 23:59:59')}&${location.href.split('?')[1]}`;\n }\n setIframeModalInfo({\n title: '车辆轨迹',\n visible: true,\n src,\n });\n } },\n React.createElement(\"img\", { src: track })));\n },\n },\n ];\n const tableProps = {\n height: 260,\n pagination: {\n defaultCurrent: 1,\n total: (dataSource === null || dataSource === void 0 ? void 0 : dataSource.length) || 0,\n },\n columns,\n isIndex: false,\n rowKey: 'index',\n dataSource: (dataSource === null || dataSource === void 0 ? void 0 : dataSource.length) > 0\n ? dataSource.map((ele, index) => (Object.assign(Object.assign({}, ele), { index })))\n : [],\n };\n return React.createElement(VMTable, Object.assign({}, tableProps));\n}\n"],"mappings":";;;;;;AAGA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,OAAA,GAAAF,sBAAA,CAAAC,OAAA;AACA,IAAAE,QAAA,GAAAH,sBAAA,CAAAC,OAAA;AACA,IAAAG,IAAA,GAAAH,OAAA;AACA,IAAAI,MAAA,GAAAL,sBAAA,CAAAC,OAAA;AACA,IAAAK,aAAA,GAAAN,sBAAA,CAAAC,OAAA;AACA,IAA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