|
@@ -162,12 +162,12 @@
|
|
|
{label:'年', value:'year'}];
|
|
|
},
|
|
|
getTypeOptions:function (){
|
|
|
- return [{label:'累产油量', value:'oil', unit:'(万吨)'},
|
|
|
- {label:'累产水量', value:'water', unit:'(万吨)'},
|
|
|
- {label:'累产液量', value:'fluid', unit:'(万吨)'},
|
|
|
- {label:'累产气量', value:'gas', unit:'(立方米)'},
|
|
|
- {label:'含水率', value:'watercut', unit:''},
|
|
|
- {label:'累注水量', value:'vol', unit:'(万吨)'}
|
|
|
+ return [{label:'产油量', leiLabel:'累产油量', value:'oil', unit:'(万吨)'},
|
|
|
+ {label:'产水量', leiLabel:'累产水量', value:'water', unit:'(万吨)'},
|
|
|
+ {label:'产液量', leiLabel:'累产液量', value:'fluid', unit:'(万吨)'},
|
|
|
+ {label:'产气量', leiLabel:'累产气量', value:'gas', unit:'(立方米)'},
|
|
|
+ {label:'含水率', leiLabel:'含水率', value:'watercut', unit:''},
|
|
|
+ {label:'注水量', leiLabel:'累注水量', value:'vol', unit:'(万吨)'}
|
|
|
];
|
|
|
},
|
|
|
getTypes:function (){
|
|
@@ -253,7 +253,7 @@
|
|
|
return series;
|
|
|
},
|
|
|
getyAxisTitle:function (i, label){
|
|
|
- return i<=1?"累产油量/水量":label;
|
|
|
+ return i<=1?"产油量/产水量":label;
|
|
|
},
|
|
|
getGridIndex:function (i){
|
|
|
return i<=1?0:i-1;
|
|
@@ -266,8 +266,8 @@
|
|
|
let total = 0;
|
|
|
yDatas[i].forEach(it=>{ total+=it*1; });
|
|
|
totals.push({
|
|
|
- name:showList[i].label,
|
|
|
- total : total?.toFixed(2),
|
|
|
+ name:showList[i].leiLabel,
|
|
|
+ total : total,
|
|
|
unit : this.getTypeUnit(showList[i].label)
|
|
|
});
|
|
|
}
|