gcz %!s(int64=3) %!d(string=hai) anos
pai
achega
0768ce50b3

+ 3 - 0
README.md

@@ -1,4 +1,7 @@
 ## 城市智慧停车PDA
+#### 安装二维码生成插件
+`npm i @chenfengyuan/vue-qrcode`
+
 #### H5调试,因为没有app方法,有些数据是写死的
 
 #### 安卓打包

+ 4 - 3
pages/getout/getoutpage/getoutpage.vue

@@ -29,7 +29,7 @@
 				<u-icon name="arrow-right" color="#7B7B7B" size="28"></u-icon>
 			</view>
 		</view>
-		<view class="bottom-btn-wrap" v-if="leaveDetail.payStatus==0">
+		<view class="bottom-btn-wrap">
 			<view class="bottom-btn-box u-flex">
 				<view class="bottom-btn bg-blue" @click="handleOut">出场</view>
 				<view class="bottom-btn bg-gray" @click="openPage('pages/getout/getout')">取消</view>
@@ -123,7 +123,7 @@
 					code:''
 				},
 				showQrcode:false,
-				qrcontent:'',
+				qrcontent:'https://postest.bgzchina.com/mobilePay?sysId=ZDM20210510000088857402',
 				
 				
 			}
@@ -235,7 +235,8 @@
 					// 	title: res.msg,
 					// 	type: 'success',
 					// });
-					this.qrcontent = res.data;
+					this.qrcontent = res.data.qrCodeUrl;
+					console.log('this.qrcontent',this.qrcontent);
 					this.showPayway = false;
 					this.showQrcode = true;
 					console.log('gzbankPolypay',res)

+ 13 - 0
pages/ownersquery/ownersinfo/ownersinfo.vue

@@ -102,6 +102,19 @@
 					// 	title: res.msg,
 					// 	type: 'success',
 					// });
+					//设置列表数据
+					let curPageData = res.data.oweList; 
+					// 接口返回的当前页数据长度 (如列表有26个数据,当前页返回8个,则curPageLen=8)
+					let curPageLen = curPageData.length; 
+					let totalPage = res.data.totalPage; 
+					
+					if(page.num == 1) this.owelist = []; //如果是第一页需手动置空列表
+					this.owelist = this.owelist.concat(curPageData); //追加新数据
+					
+					// 请求成功,隐藏加载状态
+					//后台接口有返回列表的总页数 totalPage
+					this.mescroll.endByPage(curPageLen, totalPage);
+					
 					this.leaveDetail = res.data;
 					for (let item of res.data.oweList) {
 						this.owelist.push(item)