Bladeren bron

修改报表字段

zzp 2 jaren geleden
bovenliggende
commit
8c796ad2cb
2 gewijzigde bestanden met toevoegingen van 5 en 5 verwijderingen
  1. 2 2
      config/api.js
  2. 3 3
      pagesMain/reportInfo.vue

+ 2 - 2
config/api.js

@@ -2,10 +2,10 @@
 // const API_BASE = 'http://192.168.1.126:30000'
 //const API_BASE = 'http://192.168.1.117:8089'
 //const API_BASE = 'http://192.168.1.145/newApi'
-const API_BASE = 'http://192.168.1.109/newApi'
+// const API_BASE = 'http://192.168.1.109/newApi'
 // const API_BASE = 'http://192.168.1.117:8089'
 //const API_BASE = 'http://192.168.1.145/newApi'
-// const API_BASE = 'http://192.168.1.117:8089'
+const API_BASE = 'http://192.168.1.117:8089'
 // const API_BASE = 'http://192.168.1.145/newApi'
 
 module.exports = {

+ 3 - 3
pagesMain/reportInfo.vue

@@ -15,9 +15,9 @@
 								<text class="info-name" style="margin-right: 10px;">{{site.studentName}}</text>
 								<text class="info-name">{{site.fatherName}}</text>
 							</view>
-							<view class="info-phone">{{site.parentPhone}}</view>
-							<view class="info-phone" v-if="getType == 3">生日: {{site.parentPhone}}</view>
-							<view class="info-phone" v-if="getType == 4">预约时间: {{site.parentPhone}}</view>
+							<view class="info-phone">{{site.studentPhone}}</view>
+							<view class="info-phone" v-if="getType == 3">生日: {{site.birthday}}</view>
+							<view class="info-phone" v-if="getType == 4">预约时间: {{site.recordTime}}</view>
 						</view>
 					</view>
 					<view slot="foot" style="text-align: right;" v-if="getType == 1">