|
@@ -150,34 +150,51 @@
|
|
|
this.drawData = res.data
|
|
|
this.abandonmentRates = res.data.abandonmentRates
|
|
|
this.drawLoading = false
|
|
|
- this.tableColumn = []
|
|
|
- if(this.drawData.displayKyLl == '1'){
|
|
|
- this.tableColumn = [
|
|
|
- { field: 'time', title: '接入时间',formatter:this.dateFormat,sortable:true,minWidth:"150",width:"180" },
|
|
|
- { field: 'realValue', title: '实际功率',minWidth:"60"},
|
|
|
- { field: 'ableValue', title: '可用功率',minWidth:"60"},
|
|
|
- { field: 'theoryValue', title: '理论功率',minWidth:"60"},
|
|
|
- { field: 'referencePowerByMeasuring', title: '参照理论功率(测风、测光法)',minWidth:"60"},
|
|
|
- { field: 'referencePowerBySample', title: '参照理论功率(样板机法)',minWidth:"60"},
|
|
|
- { field: 'ablePowerByMeasuring', title: '参照可用功率(测风、测光法)',minWidth:"60"},
|
|
|
- { field: 'ablePowerBySample', title: '参照可用功率(样板机法)',minWidth:"60"},
|
|
|
- // { field: 'openCapacity', title: '开机容量',minWidth:"60"},
|
|
|
- // { field: 'isRationingByManualControl', title: '人工判断是否限电',formatter:this.isRationingByManualControl,minWidth:"60"},
|
|
|
- // { field: 'isRationingByAutoControl', title: '系统判断是否限电',formatter:this.isRationingByAutoControl,minWidth:"60"},
|
|
|
- // { field: 'capacity', title: '装机容量',minWidth:"60"},
|
|
|
- // { field: 'onGridNum', title: '并网设备',minWidth:"60"}
|
|
|
- ]
|
|
|
- }else {
|
|
|
- this.tableColumn = [
|
|
|
- { field: 'time', title: '接入时间',formatter:this.dateFormat,sortable:true,minWidth:"150",width:"180" },
|
|
|
- { field: 'realValue', title: '实际功率',minWidth:"60"},
|
|
|
- // { field: 'openCapacity', title: '开机容量',minWidth:"60"},
|
|
|
- // { field: 'isRationingByManualControl', title: '人工判断是否限电',formatter:this.isRationingByManualControl,minWidth:"60"},
|
|
|
- // { field: 'isRationingByAutoControl', title: '系统判断是否限电',formatter:this.isRationingByAutoControl,minWidth:"60"},
|
|
|
- // { field: 'capacity', title: '装机容量',minWidth:"60"},
|
|
|
- // { field: 'onGridNum', title: '并网设备',minWidth:"60"}
|
|
|
- ]
|
|
|
- }
|
|
|
+
|
|
|
+ this.tableColumn = [
|
|
|
+ { field: 'time', title: '接入时间',formatter:this.dateFormat,sortable:true,minWidth:"150",width:"180" },
|
|
|
+ { field: 'realValue', title: '实际功率',minWidth:"60"},
|
|
|
+ { field: 'ableValue', title: '可用功率',minWidth:"60"},
|
|
|
+ { field: 'theoryValue', title: '理论功率',minWidth:"60"},
|
|
|
+ { field: 'referencePowerByMeasuring', title: '参照理论功率(测风、测光法)',minWidth:"60"},
|
|
|
+ { field: 'referencePowerBySample', title: '参照理论功率(样板机法)',minWidth:"60"},
|
|
|
+ { field: 'ablePowerByMeasuring', title: '参照可用功率(测风、测光法)',minWidth:"60"},
|
|
|
+ { field: 'ablePowerBySample', title: '参照可用功率(样板机法)',minWidth:"60"},
|
|
|
+ { field: 'openCapacity', title: '开机容量',minWidth:"60"},
|
|
|
+ // { field: 'isRationingByManualControl', title: '人工判断是否限电',formatter:this.isRationingByManualControl,minWidth:"60"},
|
|
|
+ // { field: 'isRationingByAutoControl', title: '系统判断是否限电',formatter:this.isRationingByAutoControl,minWidth:"60"},
|
|
|
+ { field: 'capacity', title: '装机容量',minWidth:"60"},
|
|
|
+ // { field: 'onGridNum', title: '并网设备',minWidth:"60"}
|
|
|
+ ]
|
|
|
+
|
|
|
+ // this.tableColumn = []
|
|
|
+ // if(this.drawData.displayKyLl == '1'){
|
|
|
+ // this.tableColumn = [
|
|
|
+ // { field: 'time', title: '接入时间',formatter:this.dateFormat,sortable:true,minWidth:"150",width:"180" },
|
|
|
+ // { field: 'realValue', title: '实际功率',minWidth:"60"},
|
|
|
+ // { field: 'ableValue', title: '可用功率',minWidth:"60"},
|
|
|
+ // { field: 'theoryValue', title: '理论功率',minWidth:"60"},
|
|
|
+ // { field: 'referencePowerByMeasuring', title: '参照理论功率(测风、测光法)',minWidth:"60"},
|
|
|
+ // { field: 'referencePowerBySample', title: '参照理论功率(样板机法)',minWidth:"60"},
|
|
|
+ // { field: 'ablePowerByMeasuring', title: '参照可用功率(测风、测光法)',minWidth:"60"},
|
|
|
+ // { field: 'ablePowerBySample', title: '参照可用功率(样板机法)',minWidth:"60"},
|
|
|
+ // // { field: 'openCapacity', title: '开机容量',minWidth:"60"},
|
|
|
+ // // { field: 'isRationingByManualControl', title: '人工判断是否限电',formatter:this.isRationingByManualControl,minWidth:"60"},
|
|
|
+ // // { field: 'isRationingByAutoControl', title: '系统判断是否限电',formatter:this.isRationingByAutoControl,minWidth:"60"},
|
|
|
+ // // { field: 'capacity', title: '装机容量',minWidth:"60"},
|
|
|
+ // // { field: 'onGridNum', title: '并网设备',minWidth:"60"}
|
|
|
+ // ]
|
|
|
+ // }else {
|
|
|
+ // this.tableColumn = [
|
|
|
+ // { field: 'time', title: '接入时间',formatter:this.dateFormat,sortable:true,minWidth:"150",width:"180" },
|
|
|
+ // { field: 'realValue', title: '实际功率',minWidth:"60"},
|
|
|
+ // // { field: 'openCapacity', title: '开机容量',minWidth:"60"},
|
|
|
+ // // { field: 'isRationingByManualControl', title: '人工判断是否限电',formatter:this.isRationingByManualControl,minWidth:"60"},
|
|
|
+ // // { field: 'isRationingByAutoControl', title: '系统判断是否限电',formatter:this.isRationingByAutoControl,minWidth:"60"},
|
|
|
+ // // { field: 'capacity', title: '装机容量',minWidth:"60"},
|
|
|
+ // // { field: 'onGridNum', title: '并网设备',minWidth:"60"}
|
|
|
+ // ]
|
|
|
+ // }
|
|
|
if(this.drawData.abnormalShow == '1'){
|
|
|
this.tableColumn .push({ field: 'abnormalOfMeasuring', title: '测风光法的异常值',minWidth:"60"})
|
|
|
this.tableColumn .push({ field: 'abnormalOfSample', title: '样板机法的异常值',minWidth:"60"})
|