From 1ba8a0c8438297ddfe6907854003ca32bb4a6e2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=94=B0=E5=B2=A9?= Date: Mon, 25 Aug 2025 16:47:35 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=81=E8=A3=85=E5=AD=A6=E4=B9=A0=E4=BB=BB?= =?UTF-8?q?=E5=8A=A1=E5=92=8C=E8=80=83=E8=AF=95=E4=B8=AD=E5=BF=83=E5=88=97?= =?UTF-8?q?=E8=A1=A8item=E7=BB=84=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 6 +- src/api/examination.js | 26 +- src/api/practice.js | 10 + src/components/examination/question.vue | 56 +++- .../examination/radio-subject-item.vue | 19 +- src/components/examination/subject.vue | 65 +++-- src/components/examination/touchBtn.vue | 2 + src/pages/courseDetail/index.vue | 2 +- src/pages/examination/index.vue | 56 ++-- .../learningTasks/components/content-item.vue | 171 +++++++++++ .../learningTasks/components/content.vue | 87 ++++++ .../learningTasks/components/list-item.vue | 249 ---------------- src/pages/learningTasks/index.vue | 8 +- src/pages/practice/index.vue | 197 ++++++++++--- .../testingHall/components/content-item.vue | 128 +++++++++ src/pages/testingHall/components/content.vue | 268 +++++------------- src/pages/testingHall/details.vue | 253 +++++++---------- src/pages/testingHall/index.vue | 16 +- 18 files changed, 899 insertions(+), 720 deletions(-) create mode 100644 src/pages/learningTasks/components/content-item.vue create mode 100644 src/pages/learningTasks/components/content.vue delete mode 100644 src/pages/learningTasks/components/list-item.vue create mode 100644 src/pages/testingHall/components/content-item.vue 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 @@