diff --git a/client/dist/index.html b/client/dist/index.html
index b61a847..e9087bd 100644
--- a/client/dist/index.html
+++ b/client/dist/index.html
@@ -1 +1 @@
-
vue Admin Template
\ No newline at end of file
+vue Admin Template
\ No newline at end of file
diff --git a/client/package.json b/client/package.json
index 37ee37a..e60eabc 100644
--- a/client/package.json
+++ b/client/package.json
@@ -27,10 +27,12 @@
"nprogress": "0.2.0",
"path-to-regexp": "2.4.0",
"pdfobject": "^2.3.0",
+ "sortablejs": "^1.15.2",
"vod-js-sdk-v6": "^1.4.12",
- "vue": "2.6.10",
+ "vue": "2.7",
"vue-pdf": "^4.2.0",
"vue-router": "3.0.6",
+ "vuedraggable": "^2.24.3",
"vuex": "3.1.0",
"xlsx": "^0.15.5"
},
diff --git a/client/src/api/exam.js b/client/src/api/exam.js
index 903ddb3..fbc3b24 100644
--- a/client/src/api/exam.js
+++ b/client/src/api/exam.js
@@ -27,10 +27,11 @@ export function updateQuestioncat(id, data) {
//删除题目类型
export function deleteQuestioncat(id) {
return request({
- url: `/exam/questioncat/${id}/`,
+ url: `/exam/question/${id}/`,
method: 'delete'
})
}
+
//题目列表
export function getQuestionList(query) {
return request({
@@ -69,6 +70,14 @@ export function deleteQuestion(id) {
method: 'delete'
})
}
+ //批量删除题目类型
+ export function deletesQuestion(data) {
+ return request({
+ url: `/exam/question/deletes/`,
+ method: 'post',
+ data
+ })
+ }
//导入题目
export function importQuestion(data) {
return request({
@@ -82,7 +91,7 @@ export function exportQuestion(data) {
return request({
url: `/exam/question/export/`,
method: 'get',
- params: query
+ params: data
})
}
//启用题目
@@ -213,6 +222,15 @@ export function updateExamRecord(id, data) {
data
})
}
+
+//导出考试记录
+export function exportRecord(data) {
+ return request({
+ url: `/exam/examrecord/export/`,
+ method: 'get',
+ params: data,
+ })
+}
//删除考试记录
export function deleteExamRecord(id) {
return request({
diff --git a/client/src/icons/svg/Exam.svg b/client/src/icons/svg/Exam.svg
new file mode 100644
index 0000000..7ae0c58
--- /dev/null
+++ b/client/src/icons/svg/Exam.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/client/src/views/exam/examRecord.vue b/client/src/views/exam/examRecord.vue
index 2f1f641..cabb414 100644
--- a/client/src/views/exam/examRecord.vue
+++ b/client/src/views/exam/examRecord.vue
@@ -55,8 +55,11 @@
@sort-change="changeSort"
>
-
+
+
+ {{ scope.row.exam_name }}
{{ scope.row.create_by_name}}
@@ -82,20 +85,32 @@
{{ scope.row.start_time }}
+
+
+
+
+
+
+ {{ scope.row.blong_dept_name }}
+
+
+ {{ scope.row.create_time }}
+
+
- 生成Word
- 生成Word -->
+