|
@@ -47,14 +47,14 @@ const totalWorkKeys: [string, string, string, string, number][] = [
|
|
|
['notReported', '个', '未填报', 'i-material-symbols:cancel-outline-rounded text-rose', 0],
|
|
['notReported', '个', '未填报', 'i-material-symbols:cancel-outline-rounded text-rose', 0],
|
|
|
[
|
|
[
|
|
|
'totalFuelConsumption',
|
|
'totalFuelConsumption',
|
|
|
- 'L',
|
|
|
|
|
|
|
+ '万升',
|
|
|
'累计油耗',
|
|
'累计油耗',
|
|
|
'i-material-symbols:directions-car-outline-rounded text-sky',
|
|
'i-material-symbols:directions-car-outline-rounded text-sky',
|
|
|
- 2
|
|
|
|
|
|
|
+ 4
|
|
|
],
|
|
],
|
|
|
[
|
|
[
|
|
|
'totalPowerConsumption',
|
|
'totalPowerConsumption',
|
|
|
- 'MWH',
|
|
|
|
|
|
|
+ 'MWh',
|
|
|
'累计用电量',
|
|
'累计用电量',
|
|
|
'i-material-symbols:electric-bolt-outline-rounded text-sky',
|
|
'i-material-symbols:electric-bolt-outline-rounded text-sky',
|
|
|
4
|
|
4
|
|
@@ -103,11 +103,11 @@ const getTotal = useDebounceFn(async () => {
|
|
|
|
|
|
|
|
totalWork.value = {
|
|
totalWork.value = {
|
|
|
...totalWork.value,
|
|
...totalWork.value,
|
|
|
- totalFuelConsumption: 0,
|
|
|
|
|
...res2,
|
|
...res2,
|
|
|
- totalPowerConsumption: (res2.totalPowerConsumption || 0) / 10000,
|
|
|
|
|
|
|
+ totalPowerConsumption: (res2.totalPowerConsumption || 0) / 1000,
|
|
|
totalWaterInjection: (res2.totalWaterInjection || 0) / 10000,
|
|
totalWaterInjection: (res2.totalWaterInjection || 0) / 10000,
|
|
|
- totalGasInjection: (res2.totalGasInjection || 0) / 10000
|
|
|
|
|
|
|
+ totalGasInjection: (res2.totalGasInjection || 0) / 10000,
|
|
|
|
|
+ totalFuelConsumption: (res2.totalFuelConsumption || 0) / 10000
|
|
|
}
|
|
}
|
|
|
} finally {
|
|
} finally {
|
|
|
totalLoading.value = false
|
|
totalLoading.value = false
|
|
@@ -153,15 +153,15 @@ const columns = (type: string) => {
|
|
|
prop: 'cumulativeGasInjection'
|
|
prop: 'cumulativeGasInjection'
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
- label: '累计注水量(方)',
|
|
|
|
|
|
|
+ label: '累计注水量(万方)',
|
|
|
prop: 'cumulativeWaterInjection'
|
|
prop: 'cumulativeWaterInjection'
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
- label: '累计用电量(KWH)',
|
|
|
|
|
|
|
+ label: '累计用电量(MWh)',
|
|
|
prop: 'cumulativePowerConsumption'
|
|
prop: 'cumulativePowerConsumption'
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
- label: '累计油耗(L)',
|
|
|
|
|
|
|
+ label: '累计油耗(万升)',
|
|
|
prop: 'cumulativeFuelConsumption'
|
|
prop: 'cumulativeFuelConsumption'
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
@@ -214,7 +214,10 @@ const getList = useDebounceFn(async () => {
|
|
|
id: type === '2' ? projectDeptId : teamId,
|
|
id: type === '2' ? projectDeptId : teamId,
|
|
|
name: type === '2' ? projectDeptName : teamName,
|
|
name: type === '2' ? projectDeptName : teamName,
|
|
|
...other,
|
|
...other,
|
|
|
- cumulativeGasInjection: (other.cumulativeGasInjection || 0) / 10000
|
|
|
|
|
|
|
+ cumulativeGasInjection: (other.cumulativeGasInjection || 0) / 10000,
|
|
|
|
|
+ cumulativeWaterInjection: (other.cumulativeWaterInjection || 0) / 10000,
|
|
|
|
|
+ cumulativePowerConsumption: (other.cumulativePowerConsumption || 0) / 1000,
|
|
|
|
|
+ cumulativeFuelConsumption: (other.cumulativeFuelConsumption || 0) / 10000
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
)
|
|
)
|
|
@@ -248,10 +251,10 @@ let chart: echarts.ECharts | null = null
|
|
|
const xAxisData = ref<string[]>([])
|
|
const xAxisData = ref<string[]>([])
|
|
|
|
|
|
|
|
const legend = ref<string[][]>([
|
|
const legend = ref<string[][]>([
|
|
|
- ['累计油耗 (吨)', 'cumulativeFuelConsumption'],
|
|
|
|
|
|
|
+ ['累计油耗 (万升)', 'cumulativeFuelConsumption'],
|
|
|
['累计注气量 (万方)', 'cumulativeGasInjection'],
|
|
['累计注气量 (万方)', 'cumulativeGasInjection'],
|
|
|
- ['累计用电量 (KWH)', 'cumulativePowerConsumption'],
|
|
|
|
|
- ['累计注水量 (方)', 'cumulativeWaterInjection'],
|
|
|
|
|
|
|
+ ['累计用电量 (MWh)', 'cumulativePowerConsumption'],
|
|
|
|
|
+ ['累计注水量 (万方)', 'cumulativeWaterInjection'],
|
|
|
['平均时效 (%)', 'transitTime']
|
|
['平均时效 (%)', 'transitTime']
|
|
|
])
|
|
])
|
|
|
|
|
|
|
@@ -272,10 +275,10 @@ const getChart = useDebounceFn(async () => {
|
|
|
const res = await IotRhDailyReportApi.getIotRhDailyReportSummaryPolyline(query.value)
|
|
const res = await IotRhDailyReportApi.getIotRhDailyReportSummaryPolyline(query.value)
|
|
|
|
|
|
|
|
chartData.value = {
|
|
chartData.value = {
|
|
|
- cumulativeFuelConsumption: res.map((item) => item.cumulativeFuelConsumption || 0),
|
|
|
|
|
|
|
+ cumulativeFuelConsumption: res.map((item) => (item.cumulativeFuelConsumption || 0) / 10000),
|
|
|
cumulativeGasInjection: res.map((item) => (item.cumulativeGasInjection || 0) / 10000),
|
|
cumulativeGasInjection: res.map((item) => (item.cumulativeGasInjection || 0) / 10000),
|
|
|
- cumulativePowerConsumption: res.map((item) => item.cumulativePowerConsumption || 0),
|
|
|
|
|
- cumulativeWaterInjection: res.map((item) => item.cumulativeWaterInjection || 0),
|
|
|
|
|
|
|
+ cumulativePowerConsumption: res.map((item) => (item.cumulativePowerConsumption || 0) / 1000),
|
|
|
|
|
+ cumulativeWaterInjection: res.map((item) => (item.cumulativeWaterInjection || 0) / 10000),
|
|
|
transitTime: res.map((item) => (item.transitTime || 0) * 100)
|
|
transitTime: res.map((item) => (item.transitTime || 0) * 100)
|
|
|
}
|
|
}
|
|
|
|
|
|