|
|
|
@ -149,20 +149,22 @@ |
|
|
|
|
pageSize:10, |
|
|
|
|
userId:aes.aesDecrypt(uni.getStorageSync("userid")) |
|
|
|
|
} |
|
|
|
|
this.$Request.post(this.$config.myReserve, data).then(res => { |
|
|
|
|
var flag = that.$util.isSuccess(res); |
|
|
|
|
if(!flag){ |
|
|
|
|
return; |
|
|
|
|
} |
|
|
|
|
var length = res.data.length; |
|
|
|
|
if(length < data.pageSize){ |
|
|
|
|
that.isDate = false; |
|
|
|
|
}else{ |
|
|
|
|
that.pageno+=1; |
|
|
|
|
that.isDate = true; |
|
|
|
|
} |
|
|
|
|
that.dataList = res.data; |
|
|
|
|
}) |
|
|
|
|
|
|
|
|
|
that.dataList =[{types:"WAIT",sname:'白洋淀',userCount:20,createtime:'2023-04-28',time:'20:25'},{types:"USE",sname:'白洋淀',userCount:20,createtime:'2023-04-28',time:'20:25'}] |
|
|
|
|
// this.$Request.post(this.$config.myReserve, data).then(res => { |
|
|
|
|
// var flag = that.$util.isSuccess(res); |
|
|
|
|
// if(!flag){ |
|
|
|
|
// return; |
|
|
|
|
// } |
|
|
|
|
// var length = res.data.length; |
|
|
|
|
// if(length < data.pageSize){ |
|
|
|
|
// that.isDate = false; |
|
|
|
|
// }else{ |
|
|
|
|
// that.pageno+=1; |
|
|
|
|
// that.isDate = true; |
|
|
|
|
// } |
|
|
|
|
// that.dataList = res.data; |
|
|
|
|
// }) |
|
|
|
|
}, |
|
|
|
|
go:function(reserveId){ |
|
|
|
|
uni.navigateTo({ |
|
|
|
|