dedsudiyu 13 hours ago
parent
commit
1ab9392d04

+ 1 - 1
pages_safetyEducationExamination/views/exam/onlineExamInfo.vue

@@ -69,7 +69,7 @@
 					</scroll-view>
 				</view>
 				<view class="dialog-footer">
-					<view v-if="preButtonType" class="btn btn-border" @click="downloadCommitment">下载</view>
+					<!-- <view v-if="preButtonType" class="btn btn-border" @click="downloadCommitment">下载</view> -->
 					<view class="btn btn-primary" @click="confirmCommitment">确认</view>
 				</view>
 			</view>

+ 2 - 2
pages_safetyEducationExamination/views/exam/onlineExamPlay.vue

@@ -149,12 +149,12 @@
 					<!-- <view v-if="resultData.canRetake" class="result-btn result-btn-primary" @click="retakeExam">重新考试</view> -->
 					<view class="result-btn result-btn-primary" @click="closeResult">返回</view>
 				</view>
-				<view class="result-cert" v-if="resultData.certificatePath">
+				<view class="result-cert" v-if="resultData.certificateName">
 					<text class="result-cert-icon">🏆</text>
 					<view class="result-cert-info">
 						<view class="result-cert-title">您已获得证书!</view>
 						<view class="result-cert-name">{{ resultData.certificateName }}</view>
-						<view class="result-cert-btn" @click="goCertificate(resultData.certificatePath)">查看证书</view>
+						<!-- <view class="result-cert-btn" @click="goCertificate(resultData.certificatePath)">查看证书</view> -->
 					</view>
 				</view>
 			</view>

+ 2 - 2
pages_safetyEducationExamination/views/home/component/dataStatisticsReport.vue

@@ -92,10 +92,10 @@
       </view>
       </scroll-view>
       <!-- 底部操作栏 -->
-      <view class="action-bar">
+      <!-- <view class="action-bar">
         <view class="btn-close" @tap="handleClose">关闭</view>
         <view class="btn-save" @tap="saveAsImage">保存图片</view>
-      </view>
+      </view> -->
     </view>
     <!-- 用于截图的离屏 canvas,需要有实际尺寸才能绘制 -->
     <canvas canvas-id="reportCanvas" :style="{ width: canvasW + 'px', height: canvasH + 'px', position: 'fixed', left: '-9999px', top: '0' }"></canvas>

+ 1 - 1
pages_safetyEducationExamination/views/home/component/examTask.vue

@@ -34,7 +34,7 @@
 					</scroll-view>
 				</view>
 				<view class="dialog-footer">
-					<view v-if="preButtonType" class="btn btn-border" @click="downloadCommitment">下载</view>
+					<!-- <view v-if="preButtonType" class="btn btn-border" @click="downloadCommitment">下载</view> -->
 					<view class="btn btn-primary" @click="confirmCommitment">确认</view>
 				</view>
 			</view>

+ 1 - 1
pages_safetyEducationExamination/views/home/component/specialExam.vue

@@ -55,7 +55,7 @@
 					</scroll-view>
 				</view>
 				<view class="dialog-footer">
-					<view v-if="preButtonType" class="btn btn-border" @click="downloadCommitment">下载</view>
+					<!-- <view v-if="preButtonType" class="btn btn-border" @click="downloadCommitment">下载</view> -->
 					<view class="btn btn-primary" @click="confirmCommitment">确认</view>
 				</view>
 			</view>

+ 1 - 1
pages_safetyEducationExamination/views/home/component/userInfoCard.vue

@@ -35,7 +35,7 @@
 				<view class="lab-info-row">
 					<view class="dot dot-green" v-if="userInfo.bound"></view>
 					<view class="dot dot-green" style="background-color: #999;" v-if="!userInfo.bound"></view>
-					<text class="lab-name" v-if="userInfo.bound">{{ userInfo.labName }}</text>
+					<text class="lab-name" v-if="userInfo.bound&&userInfo.labName">{{ userInfo.labName }}</text>
 					<text class="lab-name" style="color:#999;" v-if="!userInfo.bound&&userInfo.educationType == 1">暂无绑定实验室</text>
 					<text class="lab-name" style="color:#999;" v-if="!userInfo.bound&&userInfo.educationType == 2">{{userInfo.isFinishExam?'暂无绑定实验室':'请先完成入学考试'}}</text>
 					<text class="tag" style="color:#1857d4;font-size:28rpx;font-weight:600;" v-if="(!userInfo.bound&&userInfo.educationType == 1)||(!userInfo.bound&&userInfo.educationType == 2&&userInfo.isFinishExam)" @click="shadeButton(4)">去绑定</text>