From da60a2c7c8b2d0150f3dd6171c289ffc5ff10169 Mon Sep 17 00:00:00 2001 From: zhangyanli Date: Fri, 15 Mar 2024 10:01:08 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=99=E5=9F=B9=E6=A1=A3=E6=A1=88=E7=AE=A1?= =?UTF-8?q?=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/css/common.scss | 8 + src/request/api.js | 2 + src/request/training_archive_management.js | 98 ++ src/request/training_resource_management.js | 12 +- .../archives_management/download/index.vue | 176 +++ .../enterprise/archives.vue | 108 ++ .../enterprise/components/capital.vue | 125 ++ .../enterprise/components/edumanager.vue | 137 +++ .../enterprise/components/eduplan.vue | 154 +++ .../enterprise/components/pdf.vue | 165 +++ .../enterprise/components/postman.vue | 125 ++ .../enterprise/components/teacher.vue | 113 ++ .../archives_management/semester/archives.vue | 203 ++++ .../semester/components/handout.vue | 115 ++ .../semester/components/image.vue | 191 +++ .../semester/components/paper.vue | 180 +++ .../semester/components/report.vue | 181 +++ .../semester/components/results.vue | 265 +++++ .../semester/components/review.vue | 427 +++++++ .../semester/components/signature_form.vue | 195 ++++ .../semester/components/training_schedule.vue | 160 +++ .../semester/handout_list.vue | 111 ++ .../archives_management/semester/index.vue | 115 ++ .../semester/paper_list.vue | 151 +++ .../semester/review_list.vue | 111 ++ .../archives_management/student/index.vue | 106 ++ .../student/studentList.vue | 102 ++ .../archives_management/user/archives.vue | 1021 +++++++++++++++++ src/views/archives_management/user/class.vue | 216 ++++ .../personnel_registration_form.vue | 219 ++++ src/views/archives_management/user/index.vue | 94 ++ src/views/enterprise_management/user/add.vue | 14 + .../components/add_courseware.vue | 10 +- 33 files changed, 5395 insertions(+), 15 deletions(-) create mode 100644 src/request/training_archive_management.js create mode 100644 src/views/archives_management/download/index.vue create mode 100644 src/views/archives_management/enterprise/archives.vue create mode 100644 src/views/archives_management/enterprise/components/capital.vue create mode 100644 src/views/archives_management/enterprise/components/edumanager.vue create mode 100644 src/views/archives_management/enterprise/components/eduplan.vue create mode 100644 src/views/archives_management/enterprise/components/pdf.vue create mode 100644 src/views/archives_management/enterprise/components/postman.vue create mode 100644 src/views/archives_management/enterprise/components/teacher.vue create mode 100644 src/views/archives_management/semester/archives.vue create mode 100644 src/views/archives_management/semester/components/handout.vue create mode 100644 src/views/archives_management/semester/components/image.vue create mode 100644 src/views/archives_management/semester/components/paper.vue create mode 100644 src/views/archives_management/semester/components/report.vue create mode 100644 src/views/archives_management/semester/components/results.vue create mode 100644 src/views/archives_management/semester/components/review.vue create mode 100644 src/views/archives_management/semester/components/signature_form.vue create mode 100644 src/views/archives_management/semester/components/training_schedule.vue create mode 100644 src/views/archives_management/semester/handout_list.vue create mode 100644 src/views/archives_management/semester/index.vue create mode 100644 src/views/archives_management/semester/paper_list.vue create mode 100644 src/views/archives_management/semester/review_list.vue create mode 100644 src/views/archives_management/student/index.vue create mode 100644 src/views/archives_management/student/studentList.vue create mode 100644 src/views/archives_management/user/archives.vue create mode 100644 src/views/archives_management/user/class.vue create mode 100644 src/views/archives_management/user/components/personnel_registration_form.vue create mode 100644 src/views/archives_management/user/index.vue diff --git a/src/assets/css/common.scss b/src/assets/css/common.scss index cf485f8..423d0d6 100644 --- a/src/assets/css/common.scss +++ b/src/assets/css/common.scss @@ -160,6 +160,14 @@ a { display: none; } +.mb { + margin-bottom: 10px; +} + +.mt { + margin-top: 16px; +} + .text-blue { color: #3b3bff; } diff --git a/src/request/api.js b/src/request/api.js index f2e5518..0434b80 100644 --- a/src/request/api.js +++ b/src/request/api.js @@ -11,6 +11,8 @@ export const getVerifyDuplicateEmail = (params) => post("/user/hasEmail", params); // 验证邮箱重复 export const getVerifyDeduplicationUser = (params) => post("/user/hasUser", params); // 用户名去重 +export const getVerifyDeduplicationUserIdCard = (params) => + post("/user/hasUserIdCard", params); // 用户身份证去重 export const setAvatar = (params) => upload("/photo/saveNew", params); // 修改头像 export const getInfo = (params) => post("/head/getInfo", { loading: false, ...params }); // 获取用户信息 diff --git a/src/request/training_archive_management.js b/src/request/training_archive_management.js new file mode 100644 index 0000000..073eb29 --- /dev/null +++ b/src/request/training_archive_management.js @@ -0,0 +1,98 @@ +import { post } from "@/request/axios.js"; + +export const getStudentsList = (params) => + post("/archives/getStudentsList", params); // 一人一档用户列表 +export const getClassForHealthList = (params) => + post("/class/classForHealthList", params); // 学员档案列表 +export const getClassForHealthStudentList = (params) => + post("/student/classForHealthStudentList", params); // 学员档案的学员列表 +export const downLoadStudentArchive = (params) => + post("/archives/studentArchive", params); // 学员档案下载 + +export const getClassesList = (params) => + post("/archives/getClassesList", params); // 一期一档档案列表 +export const getUserClassesList = (params) => + post("/archives/getUserClassesList", params); // 一人一档班级详情 +export const getArchivesStudentEdit = (params) => + post("/archivesstudent/goEdit", params); // 一人一档-人员登记表 +export const downloadRegisterform = (params) => + post("/archivesstudent/registerform", params); // 一人一档:个人登记表导出 +export const getUserArchives = (params) => + post("/archives/getUserArchives", params); // 一人一档-档案详情 +export const getLearningRecord = (params) => + post("/archives/getLearningRecord", params); +export const getDict = (params) => post("/dictionaries/getLevels", params); // 获取人员类型 +export const downloadFilesdetailword = (params) => + post("/archives/filesdetailword", params); // 一人一档:档案详情导出 + +export const getClassPapers = (params) => + post("/archives/getClassPapers", params); // 一期一档:班级试卷列表 +export const getClassPaperList = (params) => + post("/archives/getClassPaperList", params); // 班级试卷列表 +export const getClassCurriculumList = (params) => + post("/archives/getClassCurriculumList", params); // 一期一档安全培训教材或课程讲义列表 +export const getClassGoEdit = (params) => post("/class/goEdit", params); +export const getReviewGoEdit = (params) => + post("/archivesReview/goEdit", params); // 一期一档安全培训教材会审表详情 +export const getReviewRecord = (params) => + post("/archives/reviewRecord", params); // 一期一档安全培训教材会审表情况 +export const getStudentSigns = (params) => + post("/archives/getStudentSigns", params); // 一期一档学员考核成绩统计表 +export const getClassPaper = (params) => post("/archives/getPaper", params); // 一期一档试卷详情 +export const getStudentFaces = (params) => + post("/archives/getStudentFaces", params); // 一期一档影像资料 +export const getCoursewares = (params) => + post("/archives/getCoursewares", params); // 一期一档安全培训教材或课程讲义 +export const getTrainingSchedule = (params) => + post("/archives/trainingscheduleGoEdit", params); // 一期一档培训日程安排通知/也可称为培训计划 + +export const downloadArchiveDirectory = (params) => + post("/archives/archiveDirectory", params); // 一期一档:档案目录批量导出 +export const downloadTeachingMaterialAll = (params) => + post("/archives/teachingMaterialAll", params); // 一期一档:安全培训教材或课程讲义批量导出 +export const downloadTrainingPlan = (params) => + post("/archives/trainingPlan", params); // 一期一档:安全培训教育记录及签字表批量导出 +export const downloadArchivePapers = (params) => + post("/archives/archivePapers", params); // 一期一档:考核试卷批量导出 +export const downloadHsAll = (params) => post("/archives/hsAll", params); // 一期一档:会审表批量导出 +export const downloadHs = (params) => post("/archives/hs", params); // 一期一档:会审表导出 +export const downloadStudentsumtable = (params) => + post("/archives/studentsumtable", params); // 一期一档:学员统计总表导出 +export const downloadEvaluationreport = (params) => + post("/archives/evaluationreport", params); // 一期一档:综合考评报告导出 +export const downloadExaminationpaper = (params) => + post("/archives/examinationpaper", params); // 一期一档:考核试卷导出 +export const downloadImagedata = (params) => + post("/archives/imagedata", params); // 一期一档:安全培训教育记录及签字表批量导出 +export const downloadTeachingMaterial = (params) => + post("/archives/teachingMaterial", params); // 一期一档:安全培训教材或课程讲义导出 +export const downloadSign = (params) => post("/archives/sign", params); // 一期一档:安全培训教育记录及签字表批量导出 + +export const downloadAllwordzip = (params) => + post("/archivesallcorpword/allwordzip", params); // 一企一档:档案目录 +export const getArchivesfilesList = (params) => + post("/archivesfiles/list", params); // 一企一档列表 +export const getArchivesPostmanList = (params) => + post("/archivespostman/list", params); // 一企一档:年度三岗人员管理台账列表 +export const downloadPersonmanage = (params) => + post("/archivespostman/personmanage", params); // 一企一档:三岗人员管理台账导出 +export const getArchivesTeacherList = (params) => + post("/archivesteacher/list", params); // 一企一档:年度本单位师资管理台账 +export const getArchivesPlanList = (params) => + post("/archiveseduplan/list", params); // 一企一档:年度安全培训教育计划 +export const getArchivesManagerList = (params) => + post("/archivesedumanager/list", params); // 一企一档:年度安全培训教育管理台账 +export const getArchivesCapitalList = (params) => + post("/archivescapital/list", params); // 一企一档:年度培训资金提取和使用情况管理台账 +export const downloadFundmanageword = (params) => + post("/archivescapital/fundmanageword", params); // 一企一档:年度培训资金提取和使用情况管理台账导出 +export const downloadTrainingplanword = (params) => + post("/archiveseduplan/trainingplanword", params); // 一企一档:年度安全培训教育计划导出 +export const downloadEdumanageword = (params) => + post("/archivesedumanager/edumanageword", params); // 一企一档:年度安全培训教育管理台账导出 +export const downloadTeacherword = (params) => + post("/archivesteacher/teacherword", params); // 一企一档:年度本单位师资管理台账 + +export const getPdffileList = (params) => post("/archivespdffile/list", params); // 档案下载重新下载 +export const redownLoad = (params) => + post("/archivespdffile/redownload", params); // 档案下载重新下载 diff --git a/src/request/training_resource_management.js b/src/request/training_resource_management.js index 40fd990..068833d 100644 --- a/src/request/training_resource_management.js +++ b/src/request/training_resource_management.js @@ -1,21 +1,19 @@ import { post, upload } from "@/request/axios.js"; export const getVideoCoursewareList = (params) => - post("/platform/videocourseware/list", params); // 视频课件列表 + post("/videocourseware/list", params); // 视频课件列表 export const getPreviewingVideo = (params) => - post("/platform/videocourseware/getPlayInfo", params); // 预览视频 + post("/videocourseware/getPlayInfo", params); // 预览视频 export const getVideoCoursewareView = (params) => - post("/platform/videocourseware/goEdit", params); // 视频课件查看 + post("/videocourseware/goEdit", params); // 视频课件查看 export const getVideoCoursewareExercisesList = (params) => - post("/platform/question/list", params); // 视频课件习题列表 + post("/question/list", params); // 视频课件习题列表 export const getCourseManagementList = (params) => - post("/platform/curriculum/list", params); // 课程管理列表 + post("/curriculum/list", params); // 课程管理列表 export const setCourseManagementDelete = (params) => post("/curriculum/delById", params); // 课程管理删除 export const getCourseManagementView = (params) => post("/curriculum/goEdit", params); // 课程管理查看 -export const getSelectCourseManagementList = (params) => - post("/videocourseware/list", params); // 选择视频课件列表 export const setCourseManagementAdd = (params) => upload("/curriculum/add", params); // 课程管理添加 export const setCourseManagementEdit = (params) => diff --git a/src/views/archives_management/download/index.vue b/src/views/archives_management/download/index.vue new file mode 100644 index 0000000..91b01b5 --- /dev/null +++ b/src/views/archives_management/download/index.vue @@ -0,0 +1,176 @@ + + + + + diff --git a/src/views/archives_management/enterprise/archives.vue b/src/views/archives_management/enterprise/archives.vue new file mode 100644 index 0000000..00c5888 --- /dev/null +++ b/src/views/archives_management/enterprise/archives.vue @@ -0,0 +1,108 @@ + + + + + diff --git a/src/views/archives_management/enterprise/components/capital.vue b/src/views/archives_management/enterprise/components/capital.vue new file mode 100644 index 0000000..6ed7c22 --- /dev/null +++ b/src/views/archives_management/enterprise/components/capital.vue @@ -0,0 +1,125 @@ + + + + + diff --git a/src/views/archives_management/enterprise/components/edumanager.vue b/src/views/archives_management/enterprise/components/edumanager.vue new file mode 100644 index 0000000..4f669cc --- /dev/null +++ b/src/views/archives_management/enterprise/components/edumanager.vue @@ -0,0 +1,137 @@ + + + + + diff --git a/src/views/archives_management/enterprise/components/eduplan.vue b/src/views/archives_management/enterprise/components/eduplan.vue new file mode 100644 index 0000000..db5332e --- /dev/null +++ b/src/views/archives_management/enterprise/components/eduplan.vue @@ -0,0 +1,154 @@ + + + + + diff --git a/src/views/archives_management/enterprise/components/pdf.vue b/src/views/archives_management/enterprise/components/pdf.vue new file mode 100644 index 0000000..92c5e93 --- /dev/null +++ b/src/views/archives_management/enterprise/components/pdf.vue @@ -0,0 +1,165 @@ + + + + + diff --git a/src/views/archives_management/enterprise/components/postman.vue b/src/views/archives_management/enterprise/components/postman.vue new file mode 100644 index 0000000..c7cfdd0 --- /dev/null +++ b/src/views/archives_management/enterprise/components/postman.vue @@ -0,0 +1,125 @@ + + + + + diff --git a/src/views/archives_management/enterprise/components/teacher.vue b/src/views/archives_management/enterprise/components/teacher.vue new file mode 100644 index 0000000..a0aaadc --- /dev/null +++ b/src/views/archives_management/enterprise/components/teacher.vue @@ -0,0 +1,113 @@ + + + + + diff --git a/src/views/archives_management/semester/archives.vue b/src/views/archives_management/semester/archives.vue new file mode 100644 index 0000000..a8be7a0 --- /dev/null +++ b/src/views/archives_management/semester/archives.vue @@ -0,0 +1,203 @@ + + + + + diff --git a/src/views/archives_management/semester/components/handout.vue b/src/views/archives_management/semester/components/handout.vue new file mode 100644 index 0000000..7bcf4fe --- /dev/null +++ b/src/views/archives_management/semester/components/handout.vue @@ -0,0 +1,115 @@ + + + + + diff --git a/src/views/archives_management/semester/components/image.vue b/src/views/archives_management/semester/components/image.vue new file mode 100644 index 0000000..88137a5 --- /dev/null +++ b/src/views/archives_management/semester/components/image.vue @@ -0,0 +1,191 @@ + + + + + diff --git a/src/views/archives_management/semester/components/paper.vue b/src/views/archives_management/semester/components/paper.vue new file mode 100644 index 0000000..2bf5faf --- /dev/null +++ b/src/views/archives_management/semester/components/paper.vue @@ -0,0 +1,180 @@ + + + + + diff --git a/src/views/archives_management/semester/components/report.vue b/src/views/archives_management/semester/components/report.vue new file mode 100644 index 0000000..1776bbc --- /dev/null +++ b/src/views/archives_management/semester/components/report.vue @@ -0,0 +1,181 @@ + + + + + diff --git a/src/views/archives_management/semester/components/results.vue b/src/views/archives_management/semester/components/results.vue new file mode 100644 index 0000000..7f380ae --- /dev/null +++ b/src/views/archives_management/semester/components/results.vue @@ -0,0 +1,265 @@ + + + + + diff --git a/src/views/archives_management/semester/components/review.vue b/src/views/archives_management/semester/components/review.vue new file mode 100644 index 0000000..849d1f1 --- /dev/null +++ b/src/views/archives_management/semester/components/review.vue @@ -0,0 +1,427 @@ + + + + + diff --git a/src/views/archives_management/semester/components/signature_form.vue b/src/views/archives_management/semester/components/signature_form.vue new file mode 100644 index 0000000..eaf5059 --- /dev/null +++ b/src/views/archives_management/semester/components/signature_form.vue @@ -0,0 +1,195 @@ + + + + + diff --git a/src/views/archives_management/semester/components/training_schedule.vue b/src/views/archives_management/semester/components/training_schedule.vue new file mode 100644 index 0000000..00bd24e --- /dev/null +++ b/src/views/archives_management/semester/components/training_schedule.vue @@ -0,0 +1,160 @@ + + + + + diff --git a/src/views/archives_management/semester/handout_list.vue b/src/views/archives_management/semester/handout_list.vue new file mode 100644 index 0000000..ad85e7d --- /dev/null +++ b/src/views/archives_management/semester/handout_list.vue @@ -0,0 +1,111 @@ + + + + + diff --git a/src/views/archives_management/semester/index.vue b/src/views/archives_management/semester/index.vue new file mode 100644 index 0000000..a42df11 --- /dev/null +++ b/src/views/archives_management/semester/index.vue @@ -0,0 +1,115 @@ + + + + + diff --git a/src/views/archives_management/semester/paper_list.vue b/src/views/archives_management/semester/paper_list.vue new file mode 100644 index 0000000..076888b --- /dev/null +++ b/src/views/archives_management/semester/paper_list.vue @@ -0,0 +1,151 @@ + + + + + diff --git a/src/views/archives_management/semester/review_list.vue b/src/views/archives_management/semester/review_list.vue new file mode 100644 index 0000000..09f20a8 --- /dev/null +++ b/src/views/archives_management/semester/review_list.vue @@ -0,0 +1,111 @@ + + + + + diff --git a/src/views/archives_management/student/index.vue b/src/views/archives_management/student/index.vue new file mode 100644 index 0000000..a9237b2 --- /dev/null +++ b/src/views/archives_management/student/index.vue @@ -0,0 +1,106 @@ + + + + + diff --git a/src/views/archives_management/student/studentList.vue b/src/views/archives_management/student/studentList.vue new file mode 100644 index 0000000..2db16cc --- /dev/null +++ b/src/views/archives_management/student/studentList.vue @@ -0,0 +1,102 @@ + + + + + diff --git a/src/views/archives_management/user/archives.vue b/src/views/archives_management/user/archives.vue new file mode 100644 index 0000000..d1850cf --- /dev/null +++ b/src/views/archives_management/user/archives.vue @@ -0,0 +1,1021 @@ +