From 7b110927c4e7efccbe39fdf102784c0b09754f39 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=B2=81=E6=B4=AA=E9=9C=9E?= Date: Fri, 22 Mar 2024 15:02:41 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E9=B2=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env | 2 +- package-lock.json | 2 +- src/request/training_process_management.js | 27 ++ src/request/training_resource_management.js | 6 + .../components/add_test_questions.vue | 248 ++++++++++++ .../examdraft_management/edit.vue | 297 ++++++++++++++ .../examdraft_management/index.vue | 153 ++++++++ .../training_progress/index.vue | 362 ++++++++++++++++++ 8 files changed, 1095 insertions(+), 2 deletions(-) create mode 100644 src/views/training_process_management/examdraft_management/components/add_test_questions.vue create mode 100644 src/views/training_process_management/examdraft_management/edit.vue create mode 100644 src/views/training_process_management/examdraft_management/index.vue create mode 100644 src/views/training_process_management/training_progress/index.vue diff --git a/.env b/.env index 6862a98..2403b03 100644 --- a/.env +++ b/.env @@ -1,4 +1,4 @@ -VITE_BASE_URL=http://192.168.0.49:8093/ +VITE_BASE_URL=http://192.168.0.55:8093/ VITE_PROXY=/api/ VITE_FILE_URL=https://file.zcloudchina.com/YTHFile VITE_TEMPLATE_URL=https://qaaq.qhdsafety.com/file/ diff --git a/package-lock.json b/package-lock.json index d1bdf91..7cc317a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -19,7 +19,7 @@ "axios": "^1.6.3", "dayjs": "^1.11.10", "echarts": "^5.4.3", - "element-plus": "^2.4.4", + "element-plus": "^2.6.1", "html2canvas": "^1.4.1", "jspdf": "^2.5.1", "lodash-es": "^4.17.21", diff --git a/src/request/training_process_management.js b/src/request/training_process_management.js index c13c92e..00bb569 100644 --- a/src/request/training_process_management.js +++ b/src/request/training_process_management.js @@ -46,6 +46,33 @@ export const getClassManagementStudentExamRecordsList = (params) => post("/stageexam/list", params); // 班级管理学员考试记录列表 export const getClassManagementStudentExamRecordsView = (params) => post("/stageexam/findExam", params); // 班级管理学员考试记录查看 + +export const getTrainingProgressList = (params) => + post("/student/studentList", params); // 查询进度列表 + +export const getTrainingProgressListExportStudentRecords = (params) => + post("/student/derivedRecord", params); // 导出学员信息 + +export const getExamdraftList = (params) => + post("/stageexampaperCache/list", params); // 试卷草稿管理列表 + +export const setpaperQuestionCacheQuestionsAdd = (params) => + post("/paperQuestionCache/add", params); // 草稿试卷管理试题新增 + +export const setpaperQuestionCacheQuestionsEdit = (params) => + post("/paperQuestionCache/edit", params); // 草稿试卷管理试题修改 + +export const setpaperQuestionCacheDelete = (params) => + post("/paperQuestionCache/delete", params); // 草稿试卷管理试题删除 + +export const setstageexampaperCacheEdit = (params) => + post("/stageexampaperCache/edit", params); // 草稿试卷管理保存修改 + +export const setstageexampaperCacheDelete = (params) => + post("/stageexampaperCache/delete", params); // 草稿试卷管理保存修改 + +export const setstageexampaperCacheformal = (params) => + post("/stageexampaperCache/convertStageexam", params); // 草稿试卷管理保存修改 export const getClassManagementCurriculumList = (params) => post("/classCurriculum/list", params); // 班级管理课程列表 export const setClassManagementCurriculumDelete = (params) => diff --git a/src/request/training_resource_management.js b/src/request/training_resource_management.js index 068833d..98fea90 100644 --- a/src/request/training_resource_management.js +++ b/src/request/training_resource_management.js @@ -24,3 +24,9 @@ export const getExamPaperManagementView = (params) => post("/stageexampaperinput/goEdit", params); // 试卷管理查看 export const getExamPaperManagementTestQuestions = (params) => post("/paperQuestion/listForInherit", params); // 试卷管理试题 + +export const getpaperQuestionCacheQuestions = (params) => + post("/paperQuestionCache/list", params); // 试卷草稿管理试题 + +export const getStagexampaperCacheView = (params) => + post("/stageexampaperCache/goEdit", params); // 试卷管理查看 diff --git a/src/views/training_process_management/examdraft_management/components/add_test_questions.vue b/src/views/training_process_management/examdraft_management/components/add_test_questions.vue new file mode 100644 index 0000000..4c59911 --- /dev/null +++ b/src/views/training_process_management/examdraft_management/components/add_test_questions.vue @@ -0,0 +1,248 @@ + + + + + diff --git a/src/views/training_process_management/examdraft_management/edit.vue b/src/views/training_process_management/examdraft_management/edit.vue new file mode 100644 index 0000000..ee43605 --- /dev/null +++ b/src/views/training_process_management/examdraft_management/edit.vue @@ -0,0 +1,297 @@ + + + + + diff --git a/src/views/training_process_management/examdraft_management/index.vue b/src/views/training_process_management/examdraft_management/index.vue new file mode 100644 index 0000000..fa37083 --- /dev/null +++ b/src/views/training_process_management/examdraft_management/index.vue @@ -0,0 +1,153 @@ + + + + diff --git a/src/views/training_process_management/training_progress/index.vue b/src/views/training_process_management/training_progress/index.vue new file mode 100644 index 0000000..03e854b --- /dev/null +++ b/src/views/training_process_management/training_progress/index.vue @@ -0,0 +1,362 @@ + + + + + From cd5110f5c5af998dbb20f8c3d6ddb95175b8e444 Mon Sep 17 00:00:00 2001 From: WenShiJun Date: Fri, 22 Mar 2024 17:18:08 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E5=B9=B4=E6=A3=80=E7=AE=A1=E7=90=86?= =?UTF-8?q?=EF=BC=8C=E4=BF=9D=E9=99=A9=E7=AE=A1=E7=90=86=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../basics_info_management/freight_trailer/index.vue | 6 +++--- src/views/mechanical_files/insure/add.vue | 1 + src/views/mechanical_files/insure/index.vue | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/views/enterprise_management/basics_info_management/freight_trailer/index.vue b/src/views/enterprise_management/basics_info_management/freight_trailer/index.vue index 3711e13..91649ff 100644 --- a/src/views/enterprise_management/basics_info_management/freight_trailer/index.vue +++ b/src/views/enterprise_management/basics_info_management/freight_trailer/index.vue @@ -65,10 +65,10 @@ - - + +