|
@@ -90,133 +90,157 @@
|
|
width="95">
|
|
width="95">
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<el-table-column
|
|
<el-table-column
|
|
|
|
+ :sortable="'custom'"
|
|
prop="ordernum"
|
|
prop="ordernum"
|
|
label="综合排名"
|
|
label="综合排名"
|
|
width="70">
|
|
width="70">
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<el-table-column
|
|
<el-table-column
|
|
|
|
+ :sortable="'custom'"
|
|
prop="scadafdlnum"
|
|
prop="scadafdlnum"
|
|
label="发电量排名"
|
|
label="发电量排名"
|
|
width="70">
|
|
width="70">
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<el-table-column
|
|
<el-table-column
|
|
|
|
+ :sortable="'custom'"
|
|
prop="scadafdl"
|
|
prop="scadafdl"
|
|
label="发电量"
|
|
label="发电量"
|
|
width="65">
|
|
width="65">
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<el-table-column
|
|
<el-table-column
|
|
|
|
+ :sortable="'custom'"
|
|
prop="gzssnum"
|
|
prop="gzssnum"
|
|
label="故障损失电量排名"
|
|
label="故障损失电量排名"
|
|
width="70">
|
|
width="70">
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<el-table-column
|
|
<el-table-column
|
|
|
|
+ :sortable="'custom'"
|
|
prop="gzss"
|
|
prop="gzss"
|
|
label="故障损失电量"
|
|
label="故障损失电量"
|
|
width="70">
|
|
width="70">
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<el-table-column
|
|
<el-table-column
|
|
|
|
+ :sortable="'custom'"
|
|
prop="jxsslnum"
|
|
prop="jxsslnum"
|
|
label="检修损失电量排名"
|
|
label="检修损失电量排名"
|
|
width="70">
|
|
width="70">
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<el-table-column
|
|
<el-table-column
|
|
|
|
+ :sortable="'custom'"
|
|
prop="jxssl"
|
|
prop="jxssl"
|
|
label="检修损失电量"
|
|
label="检修损失电量"
|
|
width="70">
|
|
width="70">
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<el-table-column
|
|
<el-table-column
|
|
|
|
+ :sortable="'custom'"
|
|
prop="xnsslnum"
|
|
prop="xnsslnum"
|
|
label="性能损失电量排名"
|
|
label="性能损失电量排名"
|
|
width="70">
|
|
width="70">
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<el-table-column
|
|
<el-table-column
|
|
|
|
+ :sortable="'custom'"
|
|
prop="xnssl"
|
|
prop="xnssl"
|
|
label="性能损失电量"
|
|
label="性能损失电量"
|
|
width="70">
|
|
width="70">
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<el-table-column
|
|
<el-table-column
|
|
|
|
+ :sortable="'custom'"
|
|
prop="xdssnum"
|
|
prop="xdssnum"
|
|
label="限电损失电量排名"
|
|
label="限电损失电量排名"
|
|
width="70">
|
|
width="70">
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<el-table-column
|
|
<el-table-column
|
|
|
|
+ :sortable="'custom'"
|
|
prop="xdss"
|
|
prop="xdss"
|
|
label="限电损失电量"
|
|
label="限电损失电量"
|
|
width="70">
|
|
width="70">
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<el-table-column
|
|
<el-table-column
|
|
|
|
+ :sortable="'custom'"
|
|
prop="slssnum"
|
|
prop="slssnum"
|
|
label="受累损失电量排名"
|
|
label="受累损失电量排名"
|
|
width="70">
|
|
width="70">
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<el-table-column
|
|
<el-table-column
|
|
|
|
+ :sortable="'custom'"
|
|
prop="slss"
|
|
prop="slss"
|
|
label="受累损失电量"
|
|
label="受累损失电量"
|
|
width="70">
|
|
width="70">
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<el-table-column
|
|
<el-table-column
|
|
|
|
+ :sortable="'custom'"
|
|
prop="fnlyl"
|
|
prop="fnlyl"
|
|
label="风能利用率(%)"
|
|
label="风能利用率(%)"
|
|
width="70">
|
|
width="70">
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<el-table-column
|
|
<el-table-column
|
|
|
|
+ :sortable="'custom'"
|
|
prop="gzsslnum"
|
|
prop="gzsslnum"
|
|
label="故障损失率排名"
|
|
label="故障损失率排名"
|
|
width="70">
|
|
width="70">
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<el-table-column
|
|
<el-table-column
|
|
|
|
+ :sortable="'custom'"
|
|
prop="gzssl"
|
|
prop="gzssl"
|
|
label="故障损失率(%)"
|
|
label="故障损失率(%)"
|
|
width="70">
|
|
width="70">
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<el-table-column
|
|
<el-table-column
|
|
|
|
+ :sortable="'custom'"
|
|
prop="jxsslnum"
|
|
prop="jxsslnum"
|
|
label="检修损失率排名"
|
|
label="检修损失率排名"
|
|
width="70">
|
|
width="70">
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<el-table-column
|
|
<el-table-column
|
|
|
|
+ :sortable="'custom'"
|
|
prop="jxssl"
|
|
prop="jxssl"
|
|
label="检修损失率(%)"
|
|
label="检修损失率(%)"
|
|
width="70">
|
|
width="70">
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<el-table-column
|
|
<el-table-column
|
|
|
|
+ :sortable="'custom'"
|
|
prop="qflnum"
|
|
prop="qflnum"
|
|
label="弃风率排名"
|
|
label="弃风率排名"
|
|
width="70">
|
|
width="70">
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<el-table-column
|
|
<el-table-column
|
|
|
|
+ :sortable="'custom'"
|
|
prop="qfl"
|
|
prop="qfl"
|
|
label="弃风率(%)"
|
|
label="弃风率(%)"
|
|
width="70">
|
|
width="70">
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<el-table-column
|
|
<el-table-column
|
|
|
|
+ :sortable="'custom'"
|
|
prop="xnsslnum"
|
|
prop="xnsslnum"
|
|
label="性能损失率排名"
|
|
label="性能损失率排名"
|
|
width="70">
|
|
width="70">
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<el-table-column
|
|
<el-table-column
|
|
|
|
+ :sortable="'custom'"
|
|
prop="xnssl"
|
|
prop="xnssl"
|
|
label="性能损失率(%)"
|
|
label="性能损失率(%)"
|
|
width="70">
|
|
width="70">
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<el-table-column
|
|
<el-table-column
|
|
|
|
+ :sortable="'custom'"
|
|
prop="slsslnum"
|
|
prop="slsslnum"
|
|
label="受累损失率排名"
|
|
label="受累损失率排名"
|
|
width="70">
|
|
width="70">
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<el-table-column
|
|
<el-table-column
|
|
|
|
+ :sortable="'custom'"
|
|
prop="slssl"
|
|
prop="slssl"
|
|
label="受累损失率(%)"
|
|
label="受累损失率(%)"
|
|
width="70">
|
|
width="70">
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <!-- <el-table-column
|
|
|
|
|
|
+ <el-table-column
|
|
prop="address"
|
|
prop="address"
|
|
label="操作"
|
|
label="操作"
|
|
width="70">
|
|
width="70">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<el-button size="mini" @click="handleEdit(scope.$index, scope.row)">详情</el-button>
|
|
<el-button size="mini" @click="handleEdit(scope.$index, scope.row)">详情</el-button>
|
|
</template>
|
|
</template>
|
|
- </el-table-column> -->
|
|
|
|
|
|
+ </el-table-column>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
</el-table>
|
|
</el-table>
|
|
<el-dialog class="el-dialog_body" width="60%" title="对标信息分析" :visible.sync="dialogTableVisible" append-to-body>
|
|
<el-dialog class="el-dialog_body" width="60%" title="对标信息分析" :visible.sync="dialogTableVisible" append-to-body>
|
|
@@ -430,16 +454,17 @@ export default {
|
|
this.$http.get('/powercompare/windfarmAjax').then((res) => {
|
|
this.$http.get('/powercompare/windfarmAjax').then((res) => {
|
|
that.options = res.data.data;
|
|
that.options = res.data.data;
|
|
})
|
|
})
|
|
|
|
+ this.doesExist = 'no';
|
|
var valueData1 = new URLSearchParams();
|
|
var valueData1 = new URLSearchParams();
|
|
valueData1.append('orderByColumn',this.orderByColumn);
|
|
valueData1.append('orderByColumn',this.orderByColumn);
|
|
valueData1.append('isAsc',this.isAsc);
|
|
valueData1.append('isAsc',this.isAsc);
|
|
this.$http.post('/contrast/benchmarkZjList',valueData1).then((res) => {
|
|
this.$http.post('/contrast/benchmarkZjList',valueData1).then((res) => {
|
|
// that.tableData = res.data.data
|
|
// that.tableData = res.data.data
|
|
- console.log(res)
|
|
|
|
|
|
+ console.log(res)
|
|
that.tableData = res.data.data;
|
|
that.tableData = res.data.data;
|
|
- for(let i=0;i<that.tableData.length;i++){
|
|
|
|
- that.getTableDataAll.push(that.tableData[i])
|
|
|
|
- }
|
|
|
|
|
|
+ // for(let i=0;i<that.tableData.length;i++){
|
|
|
|
+ // that.getTableDataAll.push(that.tableData[i])
|
|
|
|
+ // }
|
|
})
|
|
})
|
|
},
|
|
},
|
|
InterValueData(){
|
|
InterValueData(){
|
|
@@ -456,26 +481,27 @@ export default {
|
|
valueData.append('month',this.value3);
|
|
valueData.append('month',this.value3);
|
|
valueData.append('zjs',this.value4)
|
|
valueData.append('zjs',this.value4)
|
|
this.$http.post('/contrast/addBenchmarkZj',valueData).then((res) => {
|
|
this.$http.post('/contrast/addBenchmarkZj',valueData).then((res) => {
|
|
- console.log(res)
|
|
|
|
|
|
+ console.log(res.data.data)
|
|
that.tableData = res.data.data;
|
|
that.tableData = res.data.data;
|
|
// console.log(that.getTableDataAll)
|
|
// console.log(that.getTableDataAll)
|
|
- console.log(that.tableData)
|
|
|
|
- for(let i=0;i<that.getTableDataAll.length;i++){
|
|
|
|
- for(let j=0;j<that.tableData.length;j++){
|
|
|
|
- if(that.getTableDataAll[i].wpId == that.tableData[j].wpId && that.getTableDataAll[i].zjName == that.tableData[j].zjName){
|
|
|
|
- that.doesExist = 'yes';
|
|
|
|
- this.$message.error("此值在表中已存在");
|
|
|
|
- return;
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- if(that.doesExist == 'no'){
|
|
|
|
- for(let i=0;i<that.tableData.length;i++){
|
|
|
|
- that.getTableDataAll.push(that.tableData[i])
|
|
|
|
- }
|
|
|
|
- this.$message.error("添加成功");
|
|
|
|
- return;
|
|
|
|
- }
|
|
|
|
|
|
+ // console.log(that.tableData)
|
|
|
|
+ // for(let i=0;i<that.getTableDataAll.length;i++){
|
|
|
|
+ // for(let j=0;j<that.tableData.length;j++){
|
|
|
|
+ // if(that.getTableDataAll[i].wpId == that.tableData[j].wpId && that.getTableDataAll[i].zjName == that.tableData[j].zjName){
|
|
|
|
+ // that.doesExist = 'yes';
|
|
|
|
+ // this.$message.error("此值在表中已存在");
|
|
|
|
+ // return;
|
|
|
|
+ // }
|
|
|
|
+ // }
|
|
|
|
+ // }
|
|
|
|
+ // if(that.doesExist == 'no'){
|
|
|
|
+ // for(let i=0;i<that.tableData.length;i++){
|
|
|
|
+ // that.getTableDataAll.push(that.tableData[i])
|
|
|
|
+ // }
|
|
|
|
+ // console.log(that.getTableDataAll)
|
|
|
|
+ // this.$message.error("添加成功");
|
|
|
|
+ // return;
|
|
|
|
+ // }
|
|
})
|
|
})
|
|
// this.InterValueDatainitial();
|
|
// this.InterValueDatainitial();
|
|
},
|
|
},
|
|
@@ -614,7 +640,7 @@ export default {
|
|
|
|
|
|
},
|
|
},
|
|
clearAll(){
|
|
clearAll(){
|
|
- this.getTableDataAll = [];
|
|
|
|
|
|
+ this.tableData = [];
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|