From 452251265479b7756a439557743322a3053e36d2 Mon Sep 17 00:00:00 2001
From: musteven <1009173794@qq.com>
Date: Sat, 19 Apr 2025 21:35:26 +0800
Subject: [PATCH] =?UTF-8?q?=E6=88=90=E5=8A=9F=E6=8E=A5=E5=85=A5=E4=BA=86?=
=?UTF-8?q?=E7=AE=97=E6=B3=95=EF=BC=8C=E5=AE=9E=E7=8E=B0=E4=BA=86=E7=82=B9?=
=?UTF-8?q?=E5=87=BB=E6=8F=90=E4=BA=A4=E6=8C=89=E9=92=AE=E5=90=8E=E5=90=8C?=
=?UTF-8?q?=E6=AD=A5=E6=9F=A5=E9=87=8D=E5=B9=B6=E8=BF=94=E5=9B=9E=E6=9F=A5?=
=?UTF-8?q?=E9=87=8D=E4=BF=A1=E6=81=AF=E7=9A=84=E5=8A=9F=E8=83=BD=EF=BC=8C?=
=?UTF-8?q?=E4=BD=86=E5=89=8D=E7=AB=AF=E9=80=BB=E8=BE=91=E5=B0=9A=E5=BE=85?=
=?UTF-8?q?=E4=BF=AE=E6=AD=A3=E3=80=82=20=E5=88=A0=E5=8E=BB=E4=BA=86?=
=?UTF-8?q?=E9=83=A8=E5=88=86=E4=B8=8D=E9=9C=80=E8=A6=81=E7=9A=84=E4=BE=9D?=
=?UTF-8?q?=E8=B5=96=E5=8C=85=E4=BB=A5=E8=A7=A3=E5=86=B3=E5=86=B2=E7=AA=81?=
=?UTF-8?q?=E9=97=AE=E9=A2=98=E3=80=82=20=E4=B9=8B=E5=90=8E=E5=A4=84?=
=?UTF-8?q?=E7=90=86=E5=BC=82=E6=AD=A5=E6=93=8D=E4=BD=9C=E3=80=82?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
AES-front/src/api/user.js | 8 +-
.../exam-list/components/exam-actions.vue | 1 -
AES-front/src/views/user/exam-list/index.vue | 23 +-
.../components/report-actions.vue | 28 +-
AES/pom.xml | 46 ++-
.../controller/PlagiarismController.java | 64 +++
.../problem/controller/ProblemController.java | 51 ++-
.../problem/dao/impl/SubmitReportDaoImpl.java | 4 +-
.../example/aes/problem/model/PMProblem.java | 1 -
.../aes/problem/model/PlagiarismResult.java | 15 +
.../service/Impl/PlagiarismServiceImpl.java | 372 ++++++++++++++++++
.../service/Impl/ProblemServiceImpl.java | 15 +-
.../problem/service/PlagiarismServiceI.java | 14 +
.../controller/DownLoadFileController.java | 5 +-
14 files changed, 601 insertions(+), 46 deletions(-)
create mode 100644 AES/src/main/java/com/example/aes/problem/controller/PlagiarismController.java
create mode 100644 AES/src/main/java/com/example/aes/problem/model/PlagiarismResult.java
create mode 100644 AES/src/main/java/com/example/aes/problem/service/Impl/PlagiarismServiceImpl.java
create mode 100644 AES/src/main/java/com/example/aes/problem/service/PlagiarismServiceI.java
diff --git a/AES-front/src/api/user.js b/AES-front/src/api/user.js
index 3ba73cf..ddfeea7 100644
--- a/AES-front/src/api/user.js
+++ b/AES-front/src/api/user.js
@@ -38,7 +38,9 @@ export default {
getSubmitReport:(config) => request.get('/problem/getSubmitReport', config),//»ñȡѧÉúÒÑÉϴ«±¨¸æÐÅϢ
- //Îļþ´¦Àí²¿·Ö
+ pickExam: (data) => request.post('/problem/pickExam', data),
+
+ //Îļþ´¦Àí²¿·Ö
uploadFiles: (data) =>
request({
url: '/importClassStudentsFile/uploadFiles',
@@ -52,6 +54,10 @@ export default {
method: 'get',
}), // ÎļþÏÂÔØ
+
+ runPlagiarism:(data) => request.post('/plagiarism/runPlagiarism', data),//ÔËÐвéÖØË㷨
+
+
//±£´æÎļþÃûµ½Êý¾ݿâ
saveInfoToProps: (data) => request.post('/problem/saveInfoToProps', data),
diff --git a/AES-front/src/views/user/exam-list/components/exam-actions.vue b/AES-front/src/views/user/exam-list/components/exam-actions.vue
index e32c949..ae2b5bd 100644
--- a/AES-front/src/views/user/exam-list/components/exam-actions.vue
+++ b/AES-front/src/views/user/exam-list/components/exam-actions.vue
@@ -7,7 +7,6 @@