|
@@ -111,11 +111,10 @@
|
|
|
</div>
|
|
|
<div id="echarts2" style="width: 100%; height: 47vh">
|
|
|
</div>
|
|
|
- <div class="jl-page" style="width: 200px; overflow: auto; white-space: nowrap;">
|
|
|
+ <div class="jl-page">
|
|
|
<span><</span>
|
|
|
- <span v-for="(index) in (total)" :key="index" style="display: inline-block;">
|
|
|
- <b class="on" @click="selectPage(index)">{{index}}</b>
|
|
|
- </span>
|
|
|
+ <b class="on">1</b>
|
|
|
+
|
|
|
<span>></span>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -291,7 +290,7 @@ export default {
|
|
|
end:'',
|
|
|
trees: [],
|
|
|
currentPage1: 1,
|
|
|
- total: [],
|
|
|
+ total: 0,
|
|
|
timeX: [],
|
|
|
list:[],
|
|
|
// activeMode: "satellite", // 默认地图图层类型
|
|
@@ -849,14 +848,9 @@ export default {
|
|
|
})
|
|
|
|
|
|
},
|
|
|
- //分页查数据 echarts
|
|
|
- selectPage(page){
|
|
|
- console.log("页数",page)
|
|
|
- this.btnMethod(this.selectedButton,page)
|
|
|
- },
|
|
|
- btnMethod(num,page){
|
|
|
+ btnMethod(num){
|
|
|
this.selectedButton = num
|
|
|
- let param = {"areaBoxNum":this.areaBoxNum,pageSize:9,pageNum:page?page:1};
|
|
|
+ let param = {"areaBoxNum":this.areaBoxNum};
|
|
|
if (num == 0 || !num) {
|
|
|
this.$requestSDK(
|
|
|
"/jilin-devloper/jilin/getEvenAreaCompletion",
|
|
@@ -864,11 +858,7 @@ export default {
|
|
|
{},
|
|
|
"post"
|
|
|
).then(res => {
|
|
|
- this.total = []
|
|
|
let result = res.rows;
|
|
|
- for (let i = 0; i < res.total/9; i++) {
|
|
|
- this.total.push(i+1)
|
|
|
- }
|
|
|
let keys1 = result.map(item => item.regionName) ;
|
|
|
// let keys2 = result.map(item => item.realNum );
|
|
|
let keys2 = result.map(item => item.allNum);
|