|
|
@@ -2,7 +2,7 @@
|
|
2
|
2
|
* @Author: dayan_hjm
|
|
3
|
3
|
* @Date: 2023-10-25 10:32:44
|
|
4
|
4
|
* @Last Modified by: dayan_hjm
|
|
5
|
|
- * @Last Modified time: 2023-11-30 10:59:01
|
|
|
5
|
+ * @Last Modified time: 2023-12-06 14:00:52
|
|
6
|
6
|
*/
|
|
7
|
7
|
/*
|
|
8
|
8
|
* @Author: dayan_hjm
|
|
|
@@ -158,7 +158,8 @@ class Home extends Component {
|
|
158
|
158
|
} else {
|
|
159
|
159
|
manHourData.push({
|
|
160
|
160
|
name: x.factoryName,
|
|
161
|
|
- value: Number((x.indexValue * 100).toFixed(2)),
|
|
|
161
|
+ // value: Number((x.indexValue * 100).toFixed(2)),
|
|
|
162
|
+ value: Number(x.indexValue),
|
|
162
|
163
|
})
|
|
163
|
164
|
}
|
|
164
|
165
|
}
|
|
|
@@ -222,9 +223,9 @@ class Home extends Component {
|
|
222
|
223
|
const datas_2 = manHourData[manHourNum - 1];
|
|
223
|
224
|
var res2;
|
|
224
|
225
|
if (type) {
|
|
225
|
|
- res2 = '<div class="topMsg_box animate__animated animate__zoomIn"><span class="topMsg_number">' + getThousandNum(datas_2?.value.toFixed(2)) + '</span><span class="topMsg_number_2">%</span><p class="topMsg_number_p">' + datas_2.name + '</p></div>';
|
|
|
226
|
+ res2 = '<div class="topMsg_box animate__animated animate__zoomIn"><span class="topMsg_number">' + getThousandNum(datas_2?.value.toFixed(2)) + '</span><p class="topMsg_number_p">' + datas_2.name + '</p></div>';//<span class="topMsg_number_2">%</span>
|
|
226
|
227
|
} else {
|
|
227
|
|
- res2 = '<div class="topMsg_box animate__animated animate__zoomIn"><span class="topMsg_number shu1">' + datas_2?.value.toFixed(2) + '</span><span class="topMsg_number_2">%</span><p class="topMsg_number_p">' + datas_2.name + '</p></div>';
|
|
|
228
|
+ res2 = '<div class="topMsg_box animate__animated animate__zoomIn"><span class="topMsg_number shu1">' + datas_2?.value.toFixed(2) + '</span><p class="topMsg_number_p">' + datas_2.name + '</p></div>';
|
|
228
|
229
|
}
|
|
229
|
230
|
p2.innerHTML = res2;
|
|
230
|
231
|
|