wangxy преди 2 месеца
родител
ревизия
f774b21a36
променени са 3 файла, в които са добавени 32 реда и са изтрити 0 реда
  1. 11 0
      pages/admin/Chengji/ksScoreShijuan.vue
  2. 10 0
      pages/client/Chengji/ksScoreShijuan.vue
  3. 11 0
      pages/client/Chengji/lxScoreShijuan.vue

+ 11 - 0
pages/admin/Chengji/ksScoreShijuan.vue

@@ -290,6 +290,17 @@
 		}
 	}
 
+	function skipQuestion(dlIndex, dtIndex) {
+		progress.dlIndex = dlIndex;
+		progress.dtIndex = dtIndex;
+		handlePopupBack()
+	}
+
+	function answerCardItemClick(qa) {
+		const actQa = data.StListForSearch.find(item => item.stId == qa.stId);
+		skipQuestion(actQa.dlIndex, actQa.dtIndex)
+	}
+	
 
 	function handleBack() {
 		uni.redirectTo({

+ 10 - 0
pages/client/Chengji/ksScoreShijuan.vue

@@ -269,6 +269,16 @@
 		}
 	}
 	
+	function skipQuestion(dlIndex, dtIndex) {
+		progress.dlIndex = dlIndex;
+		progress.dtIndex = dtIndex;
+		handlePopupBack()
+	}
+	
+	function answerCardItemClick(qa) {
+		const actQa = data.StListForSearch.find(item => item.stId == qa.stId);
+		skipQuestion(actQa.dlIndex, actQa.dtIndex)
+	}
 	
 	function handleBack() {
 		

+ 11 - 0
pages/client/Chengji/lxScoreShijuan.vue

@@ -290,6 +290,17 @@
 		}
 	}
 
+	function skipQuestion(dlIndex, dtIndex) {
+		progress.dlIndex = dlIndex;
+		progress.dtIndex = dtIndex;
+		handlePopupBack()
+	}
+
+	function answerCardItemClick(qa) {
+		const actQa = data.StListForSearch.find(item => item.stId == qa.stId);
+		skipQuestion(actQa.dlIndex, actQa.dtIndex)
+	}
+
 
 	function handleBack() {
 		const pages = getCurrentPages();