|
@@ -31,7 +31,7 @@
|
|
<view style='flex:2;' class="listitem-right">
|
|
<view style='flex:2;' class="listitem-right">
|
|
<view class="flex justify-between">
|
|
<view class="flex justify-between">
|
|
<view class="companyname Medium">{{item.compName}}</view>
|
|
<view class="companyname Medium">{{item.compName}}</view>
|
|
- <image style='width:25rpx;height:25rpx;position:relative;top:5px;' :src="status1?'../../static/img/liangmai/shoucang1.png':'../../static/img/liangmai/my_shoucang.png'" mode=""></image>
|
|
|
|
|
|
+ <image style='width:35rpx;height:25rpx;position:relative;top:5px;' :src="status1?'../../static/img/liangmai/shoucang1.png':'../../static/img/liangmai/my_shoucang.png'" mode=""></image>
|
|
</view>
|
|
</view>
|
|
<view class='Regular introduce'>{{item.companyProfile}}</view>
|
|
<view class='Regular introduce'>{{item.companyProfile}}</view>
|
|
</view>
|
|
</view>
|
|
@@ -124,6 +124,7 @@
|
|
}else{
|
|
}else{
|
|
this.$api.doRequest('get','/settledCompanyInfo/myCollection',{loginPhone:this.userInfo.phone,pageSize:this.pageSize,
|
|
this.$api.doRequest('get','/settledCompanyInfo/myCollection',{loginPhone:this.userInfo.phone,pageSize:this.pageSize,
|
|
currentPage: this.currentPage,pcFlag:2}).then(res => {
|
|
currentPage: this.currentPage,pcFlag:2}).then(res => {
|
|
|
|
+ console.log("myCollection",res)
|
|
if(res.data.code==200){
|
|
if(res.data.code==200){
|
|
this.datalist=this.datalist.concat(res.data.data.records)
|
|
this.datalist=this.datalist.concat(res.data.data.records)
|
|
let lat2 =this.position.location.split(',')[1];
|
|
let lat2 =this.position.location.split(',')[1];
|
|
@@ -147,16 +148,17 @@
|
|
}
|
|
}
|
|
})
|
|
})
|
|
}else{
|
|
}else{
|
|
- this.$api.doRequest('get','/settledCompanyInfo/myCollection',{phone:this.userInfo.phone,pageSize:this.pageSize,
|
|
|
|
|
|
+ this.$api.doRequest('get','/settledCompanyInfo/myCollection',{loginPhone:this.userInfo.phone,pageSize:this.pageSize,
|
|
currentPage: this.currentPage,pcFlag:2}).then(res => {
|
|
currentPage: this.currentPage,pcFlag:2}).then(res => {
|
|
- if(res.data.code==200){
|
|
|
|
- this.datalist=res.data.data.records
|
|
|
|
- let lat2 =this.position.location.split(',')[1];
|
|
|
|
- let lng2 = this.position.location.split(',')[0];
|
|
|
|
- for(var i=0;i<this.datalist.length;i++){
|
|
|
|
- this.datalist[i]._metre=this.utils.getDistance(this.datalist[i].latitude,this.datalist[i].longitude,lat2,lng2)
|
|
|
|
|
|
+ console.log("myCollection",res)
|
|
|
|
+ if(res.data.code==200){
|
|
|
|
+ this.datalist=res.data.data.records
|
|
|
|
+ let lat2 =this.position.location.split(',')[1];
|
|
|
|
+ let lng2 = this.position.location.split(',')[0];
|
|
|
|
+ for(var i=0;i<this.datalist.length;i++){
|
|
|
|
+ this.datalist[i]._metre=this.utils.getDistance(this.datalist[i].latitude,this.datalist[i].longitude,lat2,lng2)
|
|
|
|
+ }
|
|
}
|
|
}
|
|
- }
|
|
|
|
})
|
|
})
|
|
}
|
|
}
|
|
},
|
|
},
|