|
|
@@ -47,26 +47,26 @@ const totalWorkKeys: [string, string, string, string, number][] = [
|
|
|
['notReported', '个', '未填报', 'i-material-symbols:cancel-outline-rounded text-rose', 0],
|
|
|
[
|
|
|
'totalFuelConsumption',
|
|
|
- '万升',
|
|
|
+ '升',
|
|
|
'累计油耗',
|
|
|
'i-material-symbols:directions-car-outline-rounded text-sky',
|
|
|
- 4
|
|
|
+ 2
|
|
|
],
|
|
|
[
|
|
|
'totalPowerConsumption',
|
|
|
'MWh',
|
|
|
'累计用电量',
|
|
|
'i-material-symbols:electric-bolt-outline-rounded text-sky',
|
|
|
- 4
|
|
|
+ 2
|
|
|
],
|
|
|
[
|
|
|
'totalWaterInjection',
|
|
|
'万方',
|
|
|
'累计注水量',
|
|
|
'i-material-symbols:water-drop-outline-rounded text-sky',
|
|
|
- 4
|
|
|
+ 2
|
|
|
],
|
|
|
- ['totalGasInjection', '万方', '累计注气量', 'i-material-symbols:cloud-outline text-sky', 4]
|
|
|
+ ['totalGasInjection', '万方', '累计注气量', 'i-material-symbols:cloud-outline text-sky', 2]
|
|
|
]
|
|
|
|
|
|
const totalWork = ref({
|
|
|
@@ -107,7 +107,7 @@ const getTotal = useDebounceFn(async () => {
|
|
|
totalPowerConsumption: (res2.totalPowerConsumption || 0) / 1000,
|
|
|
totalWaterInjection: (res2.totalWaterInjection || 0) / 10000,
|
|
|
totalGasInjection: (res2.totalGasInjection || 0) / 10000,
|
|
|
- totalFuelConsumption: (res2.totalFuelConsumption || 0) / 10000
|
|
|
+ totalFuelConsumption: res2.totalFuelConsumption || 0
|
|
|
}
|
|
|
} finally {
|
|
|
totalLoading.value = false
|
|
|
@@ -162,7 +162,7 @@ const columns = (type: string) => {
|
|
|
prop: 'cumulativePowerConsumption'
|
|
|
},
|
|
|
{
|
|
|
- label: '累计油耗(万升)',
|
|
|
+ label: '累计油耗(升)',
|
|
|
prop: 'cumulativeFuelConsumption'
|
|
|
},
|
|
|
{
|
|
|
@@ -221,10 +221,10 @@ const getList = useDebounceFn(async () => {
|
|
|
id: type === '2' ? projectDeptId : teamId,
|
|
|
name: type === '2' ? projectDeptName : teamName,
|
|
|
...other,
|
|
|
- cumulativeGasInjection: ((other.cumulativeGasInjection || 0) / 10000).toFixed(4),
|
|
|
- cumulativeWaterInjection: ((other.cumulativeWaterInjection || 0) / 10000).toFixed(4),
|
|
|
- cumulativePowerConsumption: ((other.cumulativePowerConsumption || 0) / 1000).toFixed(4),
|
|
|
- cumulativeFuelConsumption: ((other.cumulativeFuelConsumption || 0) / 10000).toFixed(4)
|
|
|
+ cumulativeGasInjection: ((other.cumulativeGasInjection || 0) / 10000).toFixed(2),
|
|
|
+ cumulativeWaterInjection: ((other.cumulativeWaterInjection || 0) / 10000).toFixed(2),
|
|
|
+ cumulativePowerConsumption: ((other.cumulativePowerConsumption || 0) / 1000).toFixed(2),
|
|
|
+ cumulativeFuelConsumption: (other.cumulativeFuelConsumption || 0).toFixed(2)
|
|
|
}
|
|
|
}
|
|
|
)
|