From 99e870b82c4a2ecf4a8f94b2a677de92c3c54ed1 Mon Sep 17 00:00:00 2001 From: yujialong <479214531@qq.com> Date: Thu, 4 Feb 2021 16:08:39 +0800 Subject: [PATCH] . --- src/api/index.js | 3 +- src/components/testPaperDetail/index.vue | 11 +++- src/pages/account/login/index.vue | 2 +- src/pages/achievement/list/examResults.vue | 21 ++++++-- .../achievement/list/practiceResults.vue | 6 ++- src/pages/achievement/list/wrongBook.vue | 16 ++---- src/pages/achievement/statistics/index.vue | 16 +++++- src/pages/assessment/detail/index.vue | 9 ++-- src/pages/assessment/doReview/index.vue | 5 +- src/pages/assessment/list/index.vue | 53 ++++++++++++++++--- src/pages/assessment/list/studentSide.vue | 23 ++++++-- src/pages/assessment/list/studentTree.vue | 20 ++++++- src/pages/assessment/review/index.vue | 5 +- src/pages/assessment/scoreQuery/index.vue | 12 ++++- src/pages/messageBoard/list/index.vue | 12 ++++- src/pages/practice/detail/index.vue | 4 +- src/pages/practice/list/index.vue | 2 +- src/pages/practice/list/studentSide.vue | 4 +- src/pages/quesBank/list/myQuesBank.vue | 27 ++++++---- src/pages/quesBank/list/quesBankType.vue | 4 +- src/pages/testPaper/list/allTestPaper.vue | 5 +- src/pages/testPaper/list/myTestPaper.vue | 4 +- src/setting.js | 2 +- src/store/modules/assessment.js | 2 + 24 files changed, 196 insertions(+), 72 deletions(-) diff --git a/src/api/index.js b/src/api/index.js index ac2f19d..a27a6a3 100644 --- a/src/api/index.js +++ b/src/api/index.js @@ -73,7 +73,7 @@ export default { updateStaff: `management/staff/updateStaff`, getWorkNumber: `management/staff/getWorkNumber`, exportFailureStaff: `${Setting.apiBaseURL}/management/staff/exportFailure`, - uploadFileStaff: `${Setting.apiBaseURL}/management/staff/uploadFile`, + uploadFileStaff: `${Setting.apiBaseURL}/management/staff/managementUpload`, downloadStaffTemp: `http://liuwanr.oss-cn-shenzhen.aliyuncs.com/xlsx/20201102/1604658763812.xlsx`, // 角色管理 @@ -114,6 +114,7 @@ export default { modifyState:`management/testPaper/modifyState`, schoolTestPaperByRelease:`management/testPaper/schoolTestPaperByRelease`, previewPaper:`/management/testPaper/previewPaper`, + getPaperCurriculum:`/management/testPaper/getPaperCurriculum`, // 试题信息相关 addQuestions:`management/questions/addQuestions`, diff --git a/src/components/testPaperDetail/index.vue b/src/components/testPaperDetail/index.vue index 96624ce..a745730 100644 --- a/src/components/testPaperDetail/index.vue +++ b/src/components/testPaperDetail/index.vue @@ -118,9 +118,18 @@ export default { initData(data){ let index = 0 for(let i in data){ - data[i].map(n => { + data[i].map((n,j) => { index++ n.mediaEleId = `player${index}` + if(i == 'list3'){ + let answer = [] + for(let j in n){ + if(j.includes('option') && n[j]){ + answer.push(n[j]) + } + } + n.answer = answer.join('|') + } }) } this.allData = data diff --git a/src/pages/account/login/index.vue b/src/pages/account/login/index.vue index 65be1d2..64864f2 100644 --- a/src/pages/account/login/index.vue +++ b/src/pages/account/login/index.vue @@ -58,7 +58,7 @@ export default { data: function() { return { loginForm: { - username: 'manager', + username: 'manage', password: '111aaa', }, loginRules: { diff --git a/src/pages/achievement/list/examResults.vue b/src/pages/achievement/list/examResults.vue index fbfa49d..ec3bae3 100644 --- a/src/pages/achievement/list/examResults.vue +++ b/src/pages/achievement/list/examResults.vue @@ -69,9 +69,21 @@ - - - + + + + + + + + + - + + +