|
@@ -57,6 +57,7 @@
|
|
|
{name:'资产管理'}
|
|
|
],
|
|
|
nIndex:0,
|
|
|
+ key:'全部',
|
|
|
solutionList:[],
|
|
|
isOver:false
|
|
|
}
|
|
@@ -67,20 +68,21 @@
|
|
|
methods:{
|
|
|
changeType(index,key){
|
|
|
this.nIndex = index;
|
|
|
- this.getList(key);
|
|
|
+ this.key = key;
|
|
|
+ this.getList();
|
|
|
},
|
|
|
scrolltolower() {
|
|
|
- if (this.isOver) return;
|
|
|
- this.getList(this.nIndex);
|
|
|
+ // if (this.isOver) return;
|
|
|
+ // this.getList();
|
|
|
},
|
|
|
- getList(key){
|
|
|
- if(key=='全部'){
|
|
|
+ getList(){
|
|
|
+ if(this.key=='全部'){
|
|
|
this.solutionList = [];
|
|
|
for (let d in data) {
|
|
|
this.solutionList = [...this.solutionList,...data[d]];
|
|
|
};
|
|
|
}else{
|
|
|
- this.solutionList = data[key] || [];
|
|
|
+ this.solutionList = data[this.key] || [];
|
|
|
}
|
|
|
},
|
|
|
toDetails(item){
|