Ver Fonte

fix:智慧考场才显示座位号

xuqiaoying há 3 anos atrás
pai
commit
177e61f004
1 ficheiros alterados com 3 adições e 3 exclusões
  1. 3 3
      pages2/exam/exam_appointment.vue

+ 3 - 3
pages2/exam/exam_appointment.vue

@@ -46,7 +46,8 @@
 								{{ item.examineeCode || '' }}
 							</view>
 						</view>
-						<view class="item">
+						<!-- fromPlat:1云学堂 2智慧考场 -->
+						<view v-if="item.fromPlat == 2" class="item">
 							<view class="left">座位号</view>
 							<view class="right">
 								{{ item.seatNumber || '' }}
@@ -98,7 +99,6 @@
 					</view>
 					<view class="item">
 						考试地点:
-						<!-- fromPlat:1云学堂 2智慧考场 -->
 						<!-- activeList.seatNumber 有座位号就显示roomAddress,否则显示applySiteAddress -->
 						<text class="val">{{ activeList.seatNumber ? (activeList.roomAddress || '') : (activeList.applySiteAddress || '') }}</text>
 					</view>
@@ -120,7 +120,7 @@
 							{{ activeList.examineeCode || '' }}
 						</text>
 					</view>
-					<view class="item">
+					<view v-if="activeList.fromPlat == 2" class="item">
 						座位号:
 						<text class="val">
 							{{ activeList.seatNumber || '' }}