|
@@ -273,7 +273,7 @@
|
|
|
<div style="text-align: center;">
|
|
|
<el-pagination @size-change="handleSizeChange" @current-change="handleCurrentChange" :current-page.sync="currentPage2"
|
|
|
:page-sizes="[10, 50, 100, 1000]"
|
|
|
- :page-size="pagesize" layout="sizes, prev, pager, next" :total="1000">
|
|
|
+ :page-size="pagesize" layout="total,sizes, prev, pager, next" :total="total">
|
|
|
</el-pagination>
|
|
|
</div>
|
|
|
</el-main>
|
|
@@ -329,7 +329,7 @@
|
|
|
<div style="text-align: center;">
|
|
|
<el-pagination @size-change="handleSizeChange" @current-change="handleCurrentChange" :current-page.sync="currentPage2"
|
|
|
:page-sizes="[10, 50, 100, 1000]"
|
|
|
- :page-size="pagesize" layout="sizes, prev, pager, next" :total="1000">
|
|
|
+ :page-size="pagesize" layout="total,sizes, prev, pager, next" :total="totalMonth">
|
|
|
</el-pagination>
|
|
|
</div>
|
|
|
</el-main>
|
|
@@ -385,7 +385,7 @@
|
|
|
<div style="text-align: center;">
|
|
|
<el-pagination @size-change="handleSizeChange" @current-change="handleCurrentChange" :current-page.sync="currentPage2"
|
|
|
:page-sizes="[10, 50, 100, 1000]"
|
|
|
- :page-size="pagesize" layout="sizes, prev, pager, next" :total="1000">
|
|
|
+ :page-size="pagesize" layout="total,sizes, prev, pager, next" :total="totalYear">
|
|
|
</el-pagination>
|
|
|
</div>
|
|
|
</el-main>
|
|
@@ -443,6 +443,9 @@ import excelHelper from "@/utils/excelHelper";
|
|
|
score2:'',
|
|
|
orderByColumn:'windturbineid',
|
|
|
isAsc:'asc',
|
|
|
+ total:'',
|
|
|
+ totalMonth:'',
|
|
|
+ totalYear:'',
|
|
|
|
|
|
}
|
|
|
},
|
|
@@ -605,6 +608,7 @@ import excelHelper from "@/utils/excelHelper";
|
|
|
page.append('recorddate', this.value1);
|
|
|
this.$http.post("/benchmarking/gadaylistByPage", page).then((res) => {
|
|
|
that.gridData = res.data.data.list;
|
|
|
+ that.total = res.data.data.total;
|
|
|
})
|
|
|
|
|
|
},
|
|
@@ -620,6 +624,7 @@ import excelHelper from "@/utils/excelHelper";
|
|
|
pagemonth.append('month',this.monthvalue);
|
|
|
this.$http.post("/benchmarking/gamonthlistByPage",pagemonth).then((res) => {
|
|
|
that.gridDataMonth = res.data.data.list;
|
|
|
+ that.totalMonth = res.data.data.total;
|
|
|
|
|
|
})
|
|
|
},
|
|
@@ -633,7 +638,8 @@ import excelHelper from "@/utils/excelHelper";
|
|
|
pageyear.append('year',this.yearvalue);
|
|
|
this.$http.post("/benchmarking/gayearlistByPage",pageyear).then((res) =>{
|
|
|
that.gridDataYear = res.data.data.list;
|
|
|
- console.log(that.gridDataYear)
|
|
|
+ that.totalYear = res.data.data.total;
|
|
|
+ // console.log(that.gridDataYear)
|
|
|
})
|
|
|
|
|
|
},
|