|
|
@@ -35,25 +35,88 @@
|
|
|
<el-table-column label="生产指标完成情况" align="center">
|
|
|
<!-- 主要指标列 -->
|
|
|
<el-table-column prop="indicator" label="主要指标" width="300" />
|
|
|
- <!-- 风电合计(惠安全场) -->
|
|
|
+ <!-- 风电合计(惠安全场) -->
|
|
|
<el-table-column label="风电合计" align="center">
|
|
|
<el-table-column label="惠安全场" align="center">
|
|
|
- <el-table-column prop="total_current" label="本期" />
|
|
|
- <el-table-column prop="total_month" label="月累/均" />
|
|
|
- <el-table-column prop="total_year" label="年累/均" />
|
|
|
+ <el-table-column prop="total_current" label="本期" >
|
|
|
+ <template #default="scope">
|
|
|
+ <span v-if="showInput(scope.row, arrColumn1)">
|
|
|
+ <el-input-number v-model="scope.row.total_current" :min="1" />
|
|
|
+ </span>
|
|
|
+ <span v-else>{{scope.row.total_current}}</span>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="total_month" label="月累/均">
|
|
|
+ <template #default="scope">
|
|
|
+ <span v-if="showInput(scope.row, arrColumn2)">
|
|
|
+ <el-input-number v-model="scope.row.total_month" :min="1" />
|
|
|
+ </span>
|
|
|
+ <span v-else>{{scope.row.total_month}}</span>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="total_year" label="年累/均">
|
|
|
+ <template #default="scope">
|
|
|
+ <span v-if="showInput(scope.row, arrColumn3)">
|
|
|
+ <el-input-number v-model="scope.row.total_year" :min="1" />
|
|
|
+ </span>
|
|
|
+ <span v-else>{{scope.row.total_year}}</span>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
</el-table-column>
|
|
|
<!-- 一期风机 -->
|
|
|
<el-table-column label="一期风机" align="center">
|
|
|
- <el-table-column prop="phase1_current" label="本期" />
|
|
|
- <el-table-column prop="phase1_month" label="月累/均" />
|
|
|
- <el-table-column prop="phase1_year" label="年累/均" />
|
|
|
+ <el-table-column prop="phase1_current" label="本期">
|
|
|
+ <template #default="scope">
|
|
|
+ <span v-if="showInput(scope.row, arrColumn4)">
|
|
|
+ <el-input-number v-model="scope.row.phase1_current" :min="1" />
|
|
|
+ </span>
|
|
|
+ <span v-else>{{scope.row.phase1_current}}</span>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="phase1_month" label="月累/均">
|
|
|
+ <template #default="scope">
|
|
|
+ <span v-if="showInput(scope.row, arrColumn5)">
|
|
|
+ <el-input-number v-model="scope.row.phase1_month" :min="1" />
|
|
|
+ </span>
|
|
|
+ <span v-else>{{scope.row.phase1_month}}</span>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="phase1_year" label="年累/均" >
|
|
|
+ <template #default="scope">
|
|
|
+ <span v-if="showInput(scope.row, arrColumn6)">
|
|
|
+ <el-input-number v-model="scope.row.phase1_year" :min="1" />
|
|
|
+ </span>
|
|
|
+ <span v-else>{{scope.row.phase1_year}}</span>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
</el-table-column>
|
|
|
|
|
|
<!-- 二期风机 -->
|
|
|
<el-table-column label="二期风机" align="center">
|
|
|
- <el-table-column prop="phase2_current" label="本期" />
|
|
|
- <el-table-column prop="phase2_month" label="月累/均" />
|
|
|
- <el-table-column prop="phase2_year" label="年累/均" />
|
|
|
+ <el-table-column prop="phase2_current" label="本期">
|
|
|
+ <template #default="scope">
|
|
|
+ <span v-if="showInput(scope.row, arrColumn7)">
|
|
|
+ <el-input-number v-model="scope.row.phase2_current" :min="1" />
|
|
|
+ </span>
|
|
|
+ <span v-else>{{scope.row.phase2_current}}</span>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="phase2_month" label="月累/均">
|
|
|
+ <template #default="scope">
|
|
|
+ <span v-if="showInput(scope.row, arrColumn8)">
|
|
|
+ <el-input-number v-model="scope.row.phase2_month" :min="1" />
|
|
|
+ </span>
|
|
|
+ <span v-else>{{scope.row.phase2_month}}</span>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="phase2_year" label="年累/均" >
|
|
|
+ <template #default="scope">
|
|
|
+ <span v-if="showInput(scope.row, arrColumn9)">
|
|
|
+ <el-input-number v-model="scope.row.phase2_year" :min="1" />
|
|
|
+ </span>
|
|
|
+ <span v-else>{{scope.row.phase2_year}}</span>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
</el-table-column>
|
|
|
</el-table-column>
|
|
|
</el-table-column>
|
|
|
@@ -73,8 +136,8 @@
|
|
|
</el-table>
|
|
|
<el-table :data="tableData2" border style="width: 100%;">
|
|
|
<el-table-column label="风功率预测" align="center">
|
|
|
- <el-table-column label="超短期功率预测准确率(%)" prop="name1" align="center" />
|
|
|
- <el-table-column label="短期功率预测准确率(%)" prop="name2" align="center" />
|
|
|
+ <el-table-column label="超短期功率预测准确率(%)" prop="name1" align="center" />
|
|
|
+ <el-table-column label="短期功率预测准确率(%)" prop="name2" align="center" />
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
|
<el-table :data="tableData3" border style="width: 100%;">
|
|
|
@@ -141,13 +204,22 @@ export default {
|
|
|
tableData4: [],
|
|
|
tableData5: [],
|
|
|
tableData6: [],
|
|
|
+ arrColumn1: ["上网电量", "网购电量", "限电量Y", "故障损失", "定检维护", "受累损失", "场用电量"],
|
|
|
+ arrColumn2: ["场用电量"],
|
|
|
+ arrColumn3: ["场用电量"],
|
|
|
+ arrColumn4: ["发电量(万kW·h)实发", "平均风速(m/s)", "限电量Y", "故障损失", "定检维护", "受累损失", "设备可利用率(%)"],
|
|
|
+ arrColumn5: ["设备可利用率(%)"],
|
|
|
+ arrColumn6: ["设备可利用率(%)"],
|
|
|
+ arrColumn7: ["发电量(万kW·h)实发", "平均风速(m/s)", "设备可利用率(%)"],
|
|
|
+ arrColumn8: ["设备可利用率(%)"],
|
|
|
+ arrColumn9: ["设备可利用率(%)"],
|
|
|
}
|
|
|
},
|
|
|
mounted() {
|
|
|
this.reportParamDate = dayjs(new Date()).format("YYYY-MM-DD")
|
|
|
this.tableData = [
|
|
|
{
|
|
|
- indicator: '风机发电数量(台)',
|
|
|
+ indicator: '风机发电数量(台)',
|
|
|
total_current: 50,
|
|
|
total_month: 50,
|
|
|
total_year: 50,
|
|
|
@@ -159,7 +231,7 @@ export default {
|
|
|
phase2_year: 25,
|
|
|
},
|
|
|
{
|
|
|
- indicator: '发电量(万kW·h)\n计划',
|
|
|
+ indicator: '发电量(万kW·h)计划',
|
|
|
total_current: '',
|
|
|
total_month: '',
|
|
|
total_year: '',
|
|
|
@@ -171,7 +243,7 @@ export default {
|
|
|
phase2_year: '',
|
|
|
},
|
|
|
{
|
|
|
- indicator: '发电量(万kW·h)\n实发',
|
|
|
+ indicator: '发电量(万kW·h)实发',
|
|
|
total_current: '',
|
|
|
total_month: '',
|
|
|
total_year: '',
|
|
|
@@ -183,7 +255,7 @@ export default {
|
|
|
phase2_year: '',
|
|
|
},
|
|
|
{
|
|
|
- indicator: '利用小时数(h)',
|
|
|
+ indicator: '利用小时数(h)',
|
|
|
total_current: '',
|
|
|
total_month: '',
|
|
|
total_year: '',
|
|
|
@@ -195,7 +267,7 @@ export default {
|
|
|
phase2_year: '',
|
|
|
},
|
|
|
{
|
|
|
- indicator: '平均风速(m/s)',
|
|
|
+ indicator: '平均风速(m/s)',
|
|
|
total_current: '',
|
|
|
total_month: '',
|
|
|
total_year: '',
|
|
|
@@ -207,7 +279,7 @@ export default {
|
|
|
phase2_year: '',
|
|
|
},
|
|
|
{
|
|
|
- indicator: '上网电量(万kWh)',
|
|
|
+ indicator: '上网电量(万kWh)',
|
|
|
total_current: '区域集控.惠安风场.全场本期上网电量',
|
|
|
total_month: '',
|
|
|
total_year: '',
|
|
|
@@ -219,7 +291,7 @@ export default {
|
|
|
phase2_year: '',
|
|
|
},
|
|
|
{
|
|
|
- indicator: '网购电量(万kWh)',
|
|
|
+ indicator: '网购电量(万kWh)',
|
|
|
total_current: '区域集控.惠安风场.全场本期购网电量',
|
|
|
total_month: '',
|
|
|
total_year: '',
|
|
|
@@ -231,7 +303,7 @@ export default {
|
|
|
phase2_year: '',
|
|
|
},
|
|
|
{
|
|
|
- indicator: '限电量Y(万kWh)',
|
|
|
+ indicator: '限电量Y(万kWh)',
|
|
|
total_current: '区域集控.惠安风场.全场本期限电量',
|
|
|
total_month: '',
|
|
|
total_year: '',
|
|
|
@@ -243,7 +315,7 @@ export default {
|
|
|
phase2_year: '',
|
|
|
},
|
|
|
{
|
|
|
- indicator: '限电率Y(%)',
|
|
|
+ indicator: '限电率Y(%)',
|
|
|
total_current: '',
|
|
|
total_month: '',
|
|
|
total_year: '',
|
|
|
@@ -255,7 +327,7 @@ export default {
|
|
|
phase2_year: '',
|
|
|
},
|
|
|
{
|
|
|
- indicator: '损失电量(万kWh)\n故障损失',
|
|
|
+ indicator: '损失电量(万kWh)\n故障损失',
|
|
|
total_current: '区域集控.惠安风场.全场本期故障损失电量',
|
|
|
total_month: '',
|
|
|
total_year: '',
|
|
|
@@ -267,7 +339,7 @@ export default {
|
|
|
phase2_year: '',
|
|
|
},
|
|
|
{
|
|
|
- indicator: '损失电量(万kWh)\n定检维护',
|
|
|
+ indicator: '损失电量(万kWh)\n定检维护',
|
|
|
total_current: '区域集控.惠安风场.全场本期定检维护电量',
|
|
|
total_month: '',
|
|
|
total_year: '',
|
|
|
@@ -279,7 +351,7 @@ export default {
|
|
|
phase2_year: '',
|
|
|
},
|
|
|
{
|
|
|
- indicator: '损失电量(万kWh)\n受累损失',
|
|
|
+ indicator: '损失电量(万kWh)\n受累损失',
|
|
|
total_current: '区域集控.惠安风场.全场本期受累损失电量',
|
|
|
total_month: '',
|
|
|
total_year: '',
|
|
|
@@ -291,7 +363,7 @@ export default {
|
|
|
phase2_year: '',
|
|
|
},
|
|
|
{
|
|
|
- indicator: '场用电量(万kWh)',
|
|
|
+ indicator: '场用电量(万kWh)',
|
|
|
total_current: '区域集控.惠安风场.全场本期场用电量',
|
|
|
total_month: '区域集控.惠安风场.全场月累场用电量',
|
|
|
total_year: '区域集控.惠安风场.全场年累场用电量',
|
|
|
@@ -303,7 +375,7 @@ export default {
|
|
|
phase2_year: '',
|
|
|
},
|
|
|
{
|
|
|
- indicator: '场用电率(%)',
|
|
|
+ indicator: '场用电率(%)',
|
|
|
total_current: '',
|
|
|
total_month: '',
|
|
|
total_year: '',
|
|
|
@@ -315,7 +387,7 @@ export default {
|
|
|
phase2_year: '',
|
|
|
},
|
|
|
{
|
|
|
- indicator: '综合场用电量(万kWh)',
|
|
|
+ indicator: '综合场用电量(万kWh)',
|
|
|
total_current: '',
|
|
|
total_month: '',
|
|
|
total_year: '',
|
|
|
@@ -327,7 +399,7 @@ export default {
|
|
|
phase2_year: '',
|
|
|
},
|
|
|
{
|
|
|
- indicator: '综合场用电率(%)',
|
|
|
+ indicator: '综合场用电率(%)',
|
|
|
total_current: '',
|
|
|
total_month: '',
|
|
|
total_year: '',
|
|
|
@@ -339,7 +411,7 @@ export default {
|
|
|
phase2_year: '',
|
|
|
},
|
|
|
{
|
|
|
- indicator: '设备可利用率(%)',
|
|
|
+ indicator: '设备可利用率(%)',
|
|
|
total_current: '',
|
|
|
total_month: '',
|
|
|
total_year: '',
|
|
|
@@ -405,6 +477,21 @@ export default {
|
|
|
phase1: "-"
|
|
|
}
|
|
|
]
|
|
|
+ },
|
|
|
+ methods: {
|
|
|
+ showInput(row, arr){
|
|
|
+ let show = false
|
|
|
+ arr.forEach(it => {
|
|
|
+ if (row.indicator.indexOf(it) > -1) {
|
|
|
+ show = true
|
|
|
+ }
|
|
|
+ if (row.indicator.indexOf("综合场用电量") > -1) {
|
|
|
+ show = false
|
|
|
+ }
|
|
|
+ })
|
|
|
+ return show
|
|
|
+ // return arr.some(item => row.indicator.indexOf(item) > 0)
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
</script>
|
|
|
@@ -489,6 +576,9 @@ export default {
|
|
|
display: none;
|
|
|
}
|
|
|
}
|
|
|
+ .el-input-number{
|
|
|
+ width: 100%;
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
|