Переглянути джерело

Merge branch 'v3' of http://git.jihengcc.cn/starfire/spark-sale into v3

zhangli 2 роки тому
батько
коміт
451c2278a4
1 змінених файлів з 7 додано та 6 видалено
  1. 7 6
      pagesMain/reportInfo.vue

+ 7 - 6
pagesMain/reportInfo.vue

@@ -13,7 +13,8 @@
 						<view class="student-info">
 							<view style="width: 100%;margin-bottom: 5px;">
 								<text class="info-name" style="margin-right: 10px;">{{site.studentName}}</text>
-								<text class="info-name">{{site.fatherName}}</text>
+								<text class="info-name" style="margin-right: 10px;">{{site.parentName}}</text>
+								<text class="info-name">{{site.saleName}}</text>
 							</view>
 							<view class="info-phone">{{site.studentPhone}}</view>
 							<view class="info-phone" v-if="getType == 3">生日: {{site.birthday}}</view>
@@ -112,19 +113,19 @@
 						break
 				}
 				NET.request(rUrl, {
-					page: 1,
-					size: 100,
+					page: this.tabList[0].pageIndex,
+					size: 10,
 				}, 'POST').then(res => {
 					this.triggered = false
-					this.tabList[0].tableList = res.data
+					this.tabList[0].tableList = res.data.row
 				})
 			},
 			// 查看追踪记录
 			handleRecordClick(id) {
 				NET.request(API.findResourceRecordList, {
 					id,
-					page:1,
-					size: 100}, 'POST').then(res=> {
+					page: this.tabList[0].pageIndex,
+					size: 10}, 'POST').then(res=> {
 						if(res.status == 10000) {
 							this.recordShow = true
 							this.recordList = res.data