From cef13a9d868c95992f97938c8a6b7508616832f3 Mon Sep 17 00:00:00 2001
From: yujialong <479214531@qq.com>
Date: Thu, 7 Jan 2021 17:53:22 +0800
Subject: [PATCH] .
---
src/api/index.js | 14 +-
src/components/doReview/index.vue | 286 ------------------
src/components/testPaperDetail/index.vue | 25 +-
src/libs/route/addRoutes.js | 9 +-
src/pages/account/login/index.vue | 4 +-
src/pages/achievement/detail/index.vue | 25 +-
src/pages/achievement/list/examResults.vue | 3 +-
.../achievement/statistics}/index.vue | 0
src/pages/assessment/detail/index.vue | 25 +-
src/pages/assessment/list/index.vue | 66 +---
src/pages/assessment/list/studentSide.vue | 21 +-
src/pages/assessment/list/studentTree.vue | 63 ++--
src/pages/assessment/monitor/index.vue | 6 +-
src/pages/assessment/review/index.vue | 17 +-
src/pages/assessment/scoreQuery/index.vue | 180 ++++++-----
src/pages/exception/error/403/index.vue | 33 +-
src/pages/exception/error/404/index.vue | 33 +-
src/pages/index/list/index.vue | 19 +-
src/pages/practice/detail/index.vue | 25 +-
src/pages/practice/list/index.vue | 38 ++-
src/pages/practice/list/studentSide.vue | 6 +-
src/pages/practice/list/studentTree.vue | 37 ++-
src/pages/practice/scoreQuery/index.vue | 168 +++++-----
src/pages/quesBank/list/globalQuesBank.vue | 2 +-
src/pages/quesBank/list/myQuesBank.vue | 220 +++++++-------
src/pages/quesBank/list/quesDialog.vue | 13 +-
src/pages/testPaper/add/index.vue | 68 ++++-
src/pages/testPaper/show/index.vue | 23 ++
src/router/modules/achievement.js | 2 +-
src/router/modules/assessment.js | 2 +-
src/router/modules/practice.js | 2 +-
src/router/modules/testPaper.js | 14 +-
src/router/permission.js | 12 +-
src/store/modules/practice.js | 9 +
34 files changed, 675 insertions(+), 795 deletions(-)
delete mode 100644 src/components/doReview/index.vue
rename src/{components/achiStatistics => pages/achievement/statistics}/index.vue (100%)
create mode 100644 src/pages/testPaper/show/index.vue
diff --git a/src/api/index.js b/src/api/index.js
index bd6c7ae..949b97f 100644
--- a/src/api/index.js
+++ b/src/api/index.js
@@ -47,8 +47,8 @@ export default {
queryStudent: `management/student/list`,
updateStudent: `management/student/updateStudent`,
studentGetWorkNumber: `management/student/getWorkNumber`,
- exportFailureStudent: `management/student/exportFailure`,
- uploadFileStudent: `management/student/uploadFile`,
+ exportFailureStudent: `${Setting.apiBaseURL}/management/student/exportFailure`,
+ uploadFileStudent: `${Setting.apiBaseURL}/management/student/uploadFile`,
downloadStudentTemp: 'http://liuwanr.oss-cn-shenzhen.aliyuncs.com/xlsx/20201102/1604658660956.xlsx',
// 一级部门
@@ -72,8 +72,8 @@ export default {
queryStaff: `management/staff/managementList`,
updateStaff: `management/staff/updateStaff`,
getWorkNumber: `management/staff/getWorkNumber`,
- exportFailureStaff: `management/staff/exportFailure`,
- uploadFileStaff: `management/staff/uploadFile`,
+ exportFailureStaff: `${Setting.apiBaseURL}/management/staff/exportFailure`,
+ uploadFileStaff: `${Setting.apiBaseURL}/management/staff/uploadFile`,
downloadStaffTemp: `http://liuwanr.oss-cn-shenzhen.aliyuncs.com/xlsx/20201102/1604658763812.xlsx`,
// 角色管理
@@ -88,6 +88,7 @@ export default {
toAssign: `management/permission/toAssign`,
getTypeByOneLever:`cjEnterprise/questionBank/getTypeByOneLever`,
+ getCourses:`management/testPaper/getCourses`,
typesList:`cjEnterprise/questionTypes/typesList`,
// 共享相关
deleteBySharing:`management/questionSharing/deleteBySharing`,
@@ -117,10 +118,12 @@ export default {
// 试题信息相关
addQuestions:`management/questions/addQuestions`,
fuzzyQuery:`management/questions/fuzzyQuery`,
+ queryKnowledgePoints:`management/questions/queryKnowledgePoints`,
getSelectInfo:`management/questions/getSelectInfo`,
pageByChoiceList:`management/questions/pageByChoiceList`,
statistical:`management/questions/statistical`,
getQuestionListBySelect:`management/questions/getQuestionListBySelect`,
+ listByPage:`cjEnterprise/questionBank/listByPage`,
// 考核管理
addAssessment:`/management/assessment/addAssessment`,
@@ -146,7 +149,7 @@ export default {
pageByCondition:`cjEnterprise/questions/pageByCondition`,
updateQuestions:`cjEnterprise/questions/update`,
getExcel:`cjEnterprise/questions/getExcel`,
- impExcel:`management/questions/impExcel`,
+ impExcel:`${Setting.apiBaseURL}/management/questions/impExcel`,
// 考核成绩管理
answerDetail:`management/paperRecord/answerDetail`,
@@ -156,6 +159,7 @@ export default {
savepaperRecord:`management/paperRecord/save`,
teacherByGetAchievement:`management/paperRecord/teacherByGetAchievement`,
achievementStatistics:`/management/paperRecord/achievementStatistics`,
+ exportAssessment:`/management/paperRecord/export`,
// 留言板
delComment:`/management/messageBoard/delComment`,
diff --git a/src/components/doReview/index.vue b/src/components/doReview/index.vue
deleted file mode 100644
index 0b2bce6..0000000
--- a/src/components/doReview/index.vue
+++ /dev/null
@@ -1,286 +0,0 @@
-
- 正确答案: {{item.answer}} 学生答案: {{item.user_answer}}{{paperName}}
-
-
-
考试状态
{{scope.row.timeSpent | transferToMinutes}}
{{item.className}}
班级:{{item.className}}
试题课程:
-