diff --git a/src/request/training_archive_management.js b/src/request/training_archive_management.js index 073eb29..d1f8490 100644 --- a/src/request/training_archive_management.js +++ b/src/request/training_archive_management.js @@ -1,4 +1,4 @@ -import { post } from "@/request/axios.js"; +import { post, upload } from "@/request/axios.js"; export const getStudentsList = (params) => post("/archives/getStudentsList", params); // 一人一档用户列表 @@ -24,6 +24,8 @@ export const 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); // 一期一档:班级试卷列表 @@ -70,12 +72,19 @@ 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 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) => @@ -84,6 +93,18 @@ 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) => @@ -96,3 +117,12 @@ export const downloadTeacherword = (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); // 导出班级效果评估表信息 diff --git a/src/views/archives_management/enterprise/archives.vue b/src/views/archives_management/enterprise/archives.vue index 00c5888..4d2377f 100644 --- a/src/views/archives_management/enterprise/archives.vue +++ b/src/views/archives_management/enterprise/archives.vue @@ -34,6 +34,7 @@ v-if="data.component" v-model:type="data.type" :title="data.title" + :corp-name="data.corp_name" :year="data.YEAR" /> @@ -53,6 +54,7 @@ import Eduplan from "./components/eduplan"; import Edumanager from "./components/edumanager"; import Capital from "./components/capital"; import { downloadAllwordzip } from "@/request/training_archive_management.js"; +import { getEnterpriseInfo } from "@/request/enterprise_management.js"; const data = reactive({ list: [ @@ -81,8 +83,14 @@ const data = reactive({ YEAR: dayjs().format("YYYY"), component: "", type: "", + corp_name: "", title: "", }); +const fnGetData = async () => { + const resData = await getEnterpriseInfo(); + data.corp_name = resData.pd.CORP_NAME; +}; +fnGetData(); const fnExport = debounce( 1000, async () => { diff --git a/src/views/archives_management/enterprise/components/capital.vue b/src/views/archives_management/enterprise/components/capital.vue index 6ed7c22..13bb0c8 100644 --- a/src/views/archives_management/enterprise/components/capital.vue +++ b/src/views/archives_management/enterprise/components/capital.vue @@ -6,13 +6,22 @@ @close="fnClose" >
+ 新增 + 删除 导出

{{ year }}年度培训资金提取和使用情况管理台账

-

单位名称:{{ name }}

- +

单位名称:{{ corpName }}

+ @@ -32,6 +41,43 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
制表人:
编制日期:
@@ -45,17 +91,28 @@ 关闭 + + + diff --git a/src/views/archives_management/enterprise/components/edumanager.vue b/src/views/archives_management/enterprise/components/edumanager.vue index 4f669cc..282438f 100644 --- a/src/views/archives_management/enterprise/components/edumanager.vue +++ b/src/views/archives_management/enterprise/components/edumanager.vue @@ -11,8 +11,8 @@

{{ year }}年度安全培训教育管理台账

-

单位名称:{{ name }}

- +

单位名称:{{ corpName }}

+ @@ -27,9 +27,7 @@ - - {{ name }} - + 线上考核 @@ -60,13 +58,14 @@ diff --git a/src/views/archives_management/enterprise/components/postman.vue b/src/views/archives_management/enterprise/components/postman.vue index c7cfdd0..68759c1 100644 --- a/src/views/archives_management/enterprise/components/postman.vue +++ b/src/views/archives_management/enterprise/components/postman.vue @@ -6,13 +6,23 @@ @close="fnClose" >
+ 新增 + 删除 + 导入 导出

{{ year }}年度三岗人员管理台账

-

单位名称:{{ name }}

- +

单位名称:{{ corpName }}

+ @@ -30,12 +40,31 @@ - - - + + + + + + + + + + + + + + + + + + + + + + + +
档案管理人员:
更新日期:
@@ -43,18 +72,36 @@ + + + + diff --git a/src/views/archives_management/enterprise/components/teacher.vue b/src/views/archives_management/enterprise/components/teacher.vue index a0aaadc..af4a586 100644 --- a/src/views/archives_management/enterprise/components/teacher.vue +++ b/src/views/archives_management/enterprise/components/teacher.vue @@ -11,8 +11,8 @@

{{ year }}年度本单位师资管理台账

-

单位名称:{{ name }}

- +

单位名称:{{ corpName }}

+ @@ -37,13 +37,14 @@ +const fnBatchDownload = debounce( + 1000, + async () => { + const selectionData = tableRef.value.getSelectionRows(); + if (selectionData.length === 0) { + ElMessage.warning("请选中要下载的学员补充档案..."); + return; + } + const ids = selectionData + .map((item) => { + return item.USER_ID; + }) + .join(","); + await downloadAward({ + ids, + }); + await ElMessageBox.confirm( + "导出后请前往档案下载中下载该档案!", + "温馨提示", + { type: "info" } + ); + tableRef.value.clearSelection(); + }, + { atBegin: true } +); + diff --git a/src/views/effect_appraisal/enterprise_effect/components/classStrengthen.vue b/src/views/effect_appraisal/enterprise_effect/components/classStrengthen.vue new file mode 100644 index 0000000..168fa95 --- /dev/null +++ b/src/views/effect_appraisal/enterprise_effect/components/classStrengthen.vue @@ -0,0 +1,211 @@ + + + + + diff --git a/src/views/effect_appraisal/enterprise_effect/components/studentStrengthen.vue b/src/views/effect_appraisal/enterprise_effect/components/studentStrengthen.vue new file mode 100644 index 0000000..29e10e2 --- /dev/null +++ b/src/views/effect_appraisal/enterprise_effect/components/studentStrengthen.vue @@ -0,0 +1,283 @@ + + + + + diff --git a/src/views/effect_appraisal/enterprise_effect/index.vue b/src/views/effect_appraisal/enterprise_effect/index.vue new file mode 100644 index 0000000..f83314e --- /dev/null +++ b/src/views/effect_appraisal/enterprise_effect/index.vue @@ -0,0 +1,126 @@ + + + + diff --git a/src/views/effect_appraisal/enterprise_effect/studentStrengthenDetailsList.vue b/src/views/effect_appraisal/enterprise_effect/studentStrengthenDetailsList.vue new file mode 100644 index 0000000..e4c0fed --- /dev/null +++ b/src/views/effect_appraisal/enterprise_effect/studentStrengthenDetailsList.vue @@ -0,0 +1,128 @@ + + + +