wangxy 2 månader sedan
förälder
incheckning
51e69dce3e

+ 1 - 2
pages/client/Chengji/ksScoreShijuan.vue

@@ -273,8 +273,7 @@
 			uni.redirectTo({
 				url: "/pages/client/Kaoshi/list"
 			})
-		}
-		
+		} 
 	}
 	
 	

+ 8 - 0
pages/client/Chengji/list.vue

@@ -85,6 +85,14 @@
 			uni.redirectTo({
 				url: '/pages/client/Kaoshi/list'
 			})
+		} else if (data.from == 'shouye'){
+			uni.redirectTo({
+				url: '/pages/client/ShouYe/shouye'
+			})
+		} else {
+			uni.redirectTo({
+				url: '/pages/client/ShouYe/shouye'
+			})
 		}
 	}
 

+ 4 - 2
pages/client/Kaoshi/exam.vue

@@ -395,7 +395,8 @@
 
 	function zpError() {
 		uni.showToast({
-			title: '摄像头唤起异常'
+			title: '摄像头唤起异常',
+			icon: 'none'
 		})
 		uni.redirectTo({
 			url: '/pages/client/Kaoshi/list'
@@ -410,7 +411,8 @@
 
 	function zpConfirmError() {
 		uni.showToast({
-			title: '摄像头唤起异常'
+			title: '摄像头唤起异常',
+			icon: 'none'
 		})
 		uni.redirectTo({
 			url: '/pages/client/Kaoshi/list'

+ 1 - 1
pages/client/Kaoshi/list.vue

@@ -97,7 +97,7 @@
 	// 修改身份
 	function handleChangeIdentification() {
 		uni.redirectTo({
-			url:'/pages/client/my/info'
+			url:'/pages/client/my/info?from=kaoshiList'
 		})
 	}
 	

+ 1 - 1
pages/client/Lianxi/exam.vue

@@ -216,7 +216,7 @@
 	// 考试得分相关 start
 	function handleScoreConfirm() {
 		uni.redirectTo({
-			url: '/pages/client/Chengji/lxScoreShijuan?from="kaoshi"'
+			url: '/pages/client/Chengji/lxScoreShijuan?from=lianxi'
 		})
 	}
 	

+ 12 - 12
pages/client/my/index.vue

@@ -50,9 +50,9 @@
 		<!-- 底部区域 -->
 		<customTabbarClient :currentTab="1"></customTabbarClient>
 		<common-dialog ref="commonDialogRef" :title="exitTitle" :content="exitContent"@confirm-btn="exitBtn"></common-dialog>
-	</view>
-</template>
-
+	</view>
+</template>
+
 <script setup>
 	import {toast} from "@/utils/common";
 	import {onLoad} from '@dcloudio/uni-app';
@@ -81,27 +81,27 @@
 		switch (data) {
 		    case 'ks':
 		        uni.redirectTo({
-		        	url:'/pages/client/Kaoshi/list'
+		        	url:'/pages/client/Kaoshi/list?from=my'
 		        })
 		        break;
 		    case 'lx':
 		        uni.redirectTo({
-		        	url:'/pages/client/Lianxi/list'
+		        	url:'/pages/client/Lianxi/list?from=my'
 		        })
 		        break;
 		    case 'kc':
 		        uni.redirectTo({
-		        	url:'/pages/client/Kecheng/list'
+		        	url:'/pages/client/Kecheng/list?from=my'
 		        })
 		        break;
 			case 'cj':
 			    uni.redirectTo({
-			    	url:'/pages/client/Chengji/list'
+			    	url:'/pages/client/Chengji/list?from=my'
 			    })
 			    break;
 			case 'grcj':
 			    uni.redirectTo({
-			    	url:'/pages/client/my/myInfo'
+			    	url:'/pages/client/my/myInfo?from=my'
 			    })
 			    break;
 		}
@@ -139,8 +139,8 @@
 	}
 	onLoad(() => {
 		getMyInit()
-	})
-</script>
-
-<style>
+	})
+</script>
+
+<style>
 </style>