integrated_traffic_vue/src/request/training_archive_management.js

129 lines
8.7 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

import { post, upload } 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 downloadAward = (params) =>
post("/archives/batchDownloadWord", 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 getArchivesPostmanList = (params) =>
post("/archivespostman/list", params); // 一企一档:年度三岗人员管理台账列表
export const downloadPersonmanage = (params) =>
post("/archivespostman/personmanage", params); // 一企一档:三岗人员管理台账导出
export const getPostmanView = (params) =>
post("/archivespostman/goEdit", params); // 一企一档:三岗人员管理台账查看
export const setPostmanDelete = (params) =>
post("/archivespostman/delete", params); // 一企一档:三岗人员管理台账删除
export const setPostmanAdd = (params) => upload("/archivespostman/add", params); // 一企一档:三岗人员管理台账添加
export const setPostmanEdit = (params) =>
upload("/archivespostman/edit", params); // 一企一档:三岗人员管理台账修改
export const setPostmanImport = (params) =>
upload("/archivespostman/readExcel", 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 setCapitalDelete = (params) =>
post("/archivescapital/delete", params); // 一企一档:年度培训资金提取和使用情况管理台账删除
export const getCapitalView = (params) =>
post("/archivescapital/goEdit", params); // 一企一档:年度培训资金提取和使用情况管理台账查看
export const setCapitalAdd = (params) => post("/archivescapital/add", params); // 一企一档:年度培训资金提取和使用情况管理台账添加
export const setCapitalEdit = (params) => post("/archivescapital/edit", params); // 一企一档:年度培训资金提取和使用情况管理台账修改
export const setArchivesFilesUpload = (params) =>
upload("/archivesfiles/add", params); // 一企一档上传pdf文件
export const getArchivesFilesList = (params) =>
post("/archivesfiles/listAll", params); // 一企一档:获取附件
export const setArchivesFilesDelete = (params) =>
post("/archivesfiles/delete", 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); // 档案下载重新下载
export const getClassStrengthenDetailsList = (params) =>
post("/class/strengthenlist", params); // 效果评估:班级列表
export const getStudentStrengthenDetailsList = (params) =>
post("/class/strengthenstudentlist", params); // 效果评估:学员列表
export const getClassEvaluation = (params) =>
post("/class/getEvaluation", params); // 获取班级效果评估表信息
export const getStudentEvaluation = (params) =>
post("/student/getEvaluation", params); // 获取个人效果评估表信息
export const downloadClassEvaluation = (params) => post("class/hs", params); // 导出班级效果评估表信息