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 @@ + + + + +