diff --git a/.env.development b/.env.development index c2ba3cbf..034be662 100644 --- a/.env.development +++ b/.env.development @@ -24,13 +24,13 @@ VITE_APP_BASE_API_Url = 'https://aitstest.jlbank.com.cn:7001' # 线上 # VITE_APP_BASE_H5_API_Url = 'https://aitstest.jlbank.com.cn:7001' -VITE_APP_BASE_H5_API_Url = 'http://25.18.122.65:7001' +VITE_APP_BASE_H5_API_Url = 'https://aitstest.jlbank.com.cn:7001' #VITE_APP_BASE_H5_API_Url_TRAAPP = 'http://25.64.16.130:9601' -VITE_APP_BASE_H5_API_Url_TRASTUDY = 'http://25.64.16.130:9602' +#VITE_APP_BASE_H5_API_Url_TRASTUDY = 'http://25.64.16.130:9602' # 王洋洋 -VITE_APP_BASE_H5_API_Url_TRAEXAM = 'http://25.64.16.140:9604' +#VITE_APP_BASE_H5_API_Url_TRAEXAM = 'http://25.64.16.140:9604' # 于嘉文 #VITE_APP_BASE_H5_API_Url_TRAEXAM = 'http://25.64.16.143:9604' diff --git a/src/api/examination.js b/src/api/examination.js index e788a707..a137006c 100644 --- a/src/api/examination.js +++ b/src/api/examination.js @@ -32,7 +32,7 @@ export const queryPaperExamScore = (data) => { }); }; - +// ↑↑↑↑↑↑↑↑↑考试中心考试↑↑↑↑↑↑↑ // ↓↓↓↓↓↓↓↓↓课程考试↓↓↓↓↓↓↓↓ export const startExamByCrs = (data) => { @@ -42,4 +42,26 @@ export const startExamByCrs = (data) => { toastErrors: true, data }); -}; \ No newline at end of file +}; +// 提交课程考试 +export const commitCrsExam = (data) => { + return request({ + url: base_url + '/traCrsPapers/commitCrsExam', + method: 'post', + toastErrors: true, + data + }); +}; +// 试卷考试查分 +export const queryCrsExamScore = (data) => { + return request({ + url: base_url + '/traCrsPapers/queryCrsExamScore', + method: 'post', + toastErrors: true, + data + }); +}; + + + + \ No newline at end of file diff --git a/src/api/practice.js b/src/api/practice.js index 562ce205..685afc9d 100644 --- a/src/api/practice.js +++ b/src/api/practice.js @@ -40,3 +40,13 @@ export const queryPracticeRecordByExrId = (data) => { data }); }; + +// 5.联系时候查询问答题结果 +export const queryCrsPracticeAnswerResult = (data) => { + return request({ + url: base_url + '/traCrsPractice/queryCrsPracticeAnswerResult', + method: 'post', + toastErrors: true, + data + }); +}; \ No newline at end of file diff --git a/src/components/examination/question.vue b/src/components/examination/question.vue index 775d2c4d..f77f9da1 100644 --- a/src/components/examination/question.vue +++ b/src/components/examination/question.vue @@ -1,6 +1,6 @@