wangxy 2 miesięcy temu
rodzic
commit
6a67b00b12

+ 3 - 1
pages/admin/Chengji/ksScoreShijuan.vue

@@ -184,7 +184,9 @@
 		}
 		if (qa.stTypeId == 3) {
 			// 判断题
-			if (qa.reply == 0) {
+			if (qa.reply == '') {
+				reply = '未答'
+			} else  if (qa.reply == 0) {
 				reply = '错误'
 			}else if (qa.reply == 1) {
 				reply = '正确'

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

@@ -377,7 +377,7 @@
 	
 	function handleCheckJiexi() {
 		const qa = activeSt.value ;
-		let score = qa.score;
+		let score = qa.userScore;
 		let reply = '';
 		let result = '';
 		let answer = qa.answer;
@@ -419,7 +419,9 @@
 		}
 		if (qa.stTypeId == 3) {
 			// 判断题
-			if (qa.reply == 0) {
+			if (qa.reply == '') {
+				reply = '未答'
+			} else  if (qa.reply == 0) {
 				reply = '错误'
 			}else if (qa.reply == 1) {
 				reply = '正确'

+ 4 - 2
pages/admin/Lianxi/lianxi.vue

@@ -378,7 +378,7 @@
 	
 	function handleCheckJiexi() {
 		const qa = activeSt.value ;
-		let score = qa.score;
+		let score = qa.userScore;
 		let reply = '';
 		let result = '';
 		let answer = qa.answer;
@@ -420,7 +420,9 @@
 		}
 		if (qa.stTypeId == 3) {
 			// 判断题
-			if (qa.reply == 0) {
+			if (qa.reply == '') {
+				reply = '未答'
+			} else  if (qa.reply == 0) {
 				reply = '错误'
 			}else if (qa.reply == 1) {
 				reply = '正确'

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

@@ -188,7 +188,9 @@
 		}
 		if (qa.stTypeId == 3) {
 			// 判断题
-			if (qa.reply == 0) {
+			if (qa.reply == '') {
+				reply = '未答'
+			} else  if (qa.reply == 0) {
 				reply = '错误'
 			}else if (qa.reply == 1) {
 				reply = '正确'

+ 3 - 1
pages/client/Chengji/lxScoreShijuan.vue

@@ -201,7 +201,9 @@
 		}
 		if (qa.stTypeId == 3) {
 			// 判断题
-			if (qa.reply == 0) {
+			if (qa.reply == '') {
+				reply = '未答'
+			} else  if (qa.reply == 0) {
 				reply = '错误'
 			} else if (qa.reply == 1) {
 				reply = '正确'