diff --git a/src/api/competition.js b/src/api/competition.js
index 3aefb65fe..d3ef12405 100644
--- a/src/api/competition.js
+++ b/src/api/competition.js
@@ -232,3 +232,11 @@ export function fromPauseToPlay(params) {
});
}
+/** 裁判查询理论考试结果 */
+export function getTheroyCompetitionResult(competitionId, raceUserId) {
+ return request({
+ url: `api/v1/competitionTheory/detail/competition/${competitionId}/raceUser/${raceUserId}`,
+ method: 'get'
+ });
+}
+
diff --git a/src/views/jsxt/refereeList/index.vue b/src/views/jsxt/refereeList/index.vue
index 6e1e26e99..8f7c52e78 100644
--- a/src/views/jsxt/refereeList/index.vue
+++ b/src/views/jsxt/refereeList/index.vue
@@ -3,6 +3,7 @@
{{ raceName }}竞赛
+
@@ -10,11 +11,13 @@
import { refereeEnterSimulation, loadingPaper, getRaceUserList, getRaceById, playBackReady } from '@/api/competition';
import { getPublishMapInfo } from '@/api/jmap/map';
import editScore from './editScore';
+import TheoryResult from './theoryResult';
export default {
name: 'RefereeList',
components:{
- editScore
+ editScore,
+ TheoryResult
},
data() {
return {
@@ -176,8 +179,9 @@ export default {
}, 2000);
});
},
- handleTheoryResult() {
- this.$router.replace({ path: `/jsxt/theory/result?raceId=${this.$route.query.raceId}&result=true` });
+ handleTheoryResult(index, row) {
+ this.$refs.theoryResult.doShow({row:row, raceId:this.$route.query.raceId});
+ // this.$router.replace({ path: `/jsxt/theory/result?raceId=${this.$route.query.raceId}&result=true` });
},
handleAdd() {
const loading = this.$loading({
diff --git a/src/views/jsxt/refereeList/theoryResult.vue b/src/views/jsxt/refereeList/theoryResult.vue
new file mode 100644
index 000000000..9f545408d
--- /dev/null
+++ b/src/views/jsxt/refereeList/theoryResult.vue
@@ -0,0 +1,69 @@
+
+
+
+
+ {{ index2UnicodeList[i] }}、{{ el.title }}
+
+
+
+
+ 考试总分:
+ {{ totalScore }}分
+
+
+
+