From 4663e598b284343cfa5734b178a927ab05d55657 Mon Sep 17 00:00:00 2001 From: zhangyanli Date: Thu, 21 Mar 2024 16:22:25 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A1=A3=E6=A1=88=E7=AE=A1=E7=90=86=E5=92=8C?= =?UTF-8?q?=E6=95=88=E6=9E=9C=E8=AF=84=E4=BC=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/js/data_dictionary.js | 7 + src/request/training_archive_management.js | 18 +- .../archives_management/user/archives.vue | 15 +- .../review_user/components/review_add.vue | 188 ++++++++++++++++ .../education_user/review_user/index.vue | 144 ++++++++++++ .../sign_user/components/sign_add.vue | 207 ++++++++++++++++++ src/views/education_user/sign_user/index.vue | 111 ++++++++++ .../components/classStrengthen.vue | 65 +++++- 8 files changed, 738 insertions(+), 17 deletions(-) create mode 100644 src/views/education_user/review_user/components/review_add.vue create mode 100644 src/views/education_user/review_user/index.vue create mode 100644 src/views/education_user/sign_user/components/sign_add.vue create mode 100644 src/views/education_user/sign_user/index.vue diff --git a/src/assets/js/data_dictionary.js b/src/assets/js/data_dictionary.js index 72f3316..f0960b7 100644 --- a/src/assets/js/data_dictionary.js +++ b/src/assets/js/data_dictionary.js @@ -89,6 +89,13 @@ export const layoutFnGetPersonnelType = async () => { }); return ref(resData.list); }; +// 签字人员类型 +export const layoutFnGetSignUserType = async () => { + const resData = await getLevels({ + DICTIONARIES_ID: "e0309e3085f04aa9b0e6a56e88ee8c2f", + }); + return ref(resData.list); +}; // 清单类型 export const layoutFnGetInventoryType = async () => { const resData = await getLevels({ diff --git a/src/request/training_archive_management.js b/src/request/training_archive_management.js index d1f8490..35ae20a 100644 --- a/src/request/training_archive_management.js +++ b/src/request/training_archive_management.js @@ -21,7 +21,6 @@ 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) => @@ -125,4 +124,19 @@ export const getClassEvaluation = (params) => post("/class/getEvaluation", params); // 获取班级效果评估表信息 export const getStudentEvaluation = (params) => post("/student/getEvaluation", params); // 获取个人效果评估表信息 -export const downloadClassEvaluation = (params) => post("class/hs", params); // 导出班级效果评估表信息 +export const getReviewUserList = (params) => post("/reviewUser/list", params); // 获取审查人员列表 +export const setReviewUserDelete = (params) => + post("/reviewUser/delete", params); // 审查人员删除 +export const setReviewUserAdd = (params) => post("/reviewUser/save", params); // 审查人员添加 +export const setReviewUserEdit = (params) => post("/reviewUser/edit", params); // 审查人员编辑 +export const getReviewUserGoEdit = (params) => + post("/reviewUser/goEdit", params); // 获取审查人员编辑信息 +export const getSignUserList = (params) => + post("/trainedusersign/list", params); // 获取签字人员列表 +export const setSignUserDelete = (params) => + post("/trainedusersign/delete", params); // 签字人员删除 +export const setSignUserAdd = (params) => post("/trainedusersign/save", params); // 签字人员添加 +export const setSignUserEdit = (params) => + post("/trainedusersign/edit", params); // 签字人员编辑 +export const getSignUserGoEdit = (params) => + post("/trainedusersign/goEdit", params); // 获取签字人员编辑信息 diff --git a/src/views/archives_management/user/archives.vue b/src/views/archives_management/user/archives.vue index 97d7b78..9b6b46a 100644 --- a/src/views/archives_management/user/archives.vue +++ b/src/views/archives_management/user/archives.vue @@ -249,7 +249,7 @@ @@ -431,7 +431,7 @@ @@ -815,10 +815,10 @@ import { ElMessageBox } from "element-plus"; import { getLearningRecord, getUserArchives, - getDict, downloadFilesdetailword, } from "@/request/training_archive_management.js"; import { useRoute } from "vue-router"; +import { layoutFnGetPersonnelType } from "@/assets/js/data_dictionary.js"; const route = useRoute(); const { @@ -846,13 +846,13 @@ const checkboxList = [ { sort: 5, label: "培训考核记录" }, { sort: 6, label: "学习记录" }, ]; +const personnelTypeList = await layoutFnGetPersonnelType(); const data = reactive({ classInfo: {}, videoList: [], official_seal_path: "", SIGNATURE_PATH: "", PERSONNEL_TYPE: [PERSONNEL_TYPE], - personnelTypeList: [], paper: {}, learningRecord: {}, faceList: [], @@ -924,15 +924,8 @@ const fnGetLearningRecord = async () => { data.faceList = []; } }; -const fnGetDict = async () => { - const resData = await getDict({ - DICTIONARIES_ID: "0b62f92b0b624aab8e89a77304a64d5e", - }); - data.personnelTypeList = resData.list; -}; fnGetData(); fnGetLearningRecord(); -fnGetDict(); const fnExportDialogChangeShow = () => { data.exportDialog.visible = !data.exportDialog.visible; }; diff --git a/src/views/education_user/review_user/components/review_add.vue b/src/views/education_user/review_user/components/review_add.vue new file mode 100644 index 0000000..72aca57 --- /dev/null +++ b/src/views/education_user/review_user/components/review_add.vue @@ -0,0 +1,188 @@ + + + + + diff --git a/src/views/education_user/review_user/index.vue b/src/views/education_user/review_user/index.vue new file mode 100644 index 0000000..2107e6b --- /dev/null +++ b/src/views/education_user/review_user/index.vue @@ -0,0 +1,144 @@ + + + + diff --git a/src/views/education_user/sign_user/components/sign_add.vue b/src/views/education_user/sign_user/components/sign_add.vue new file mode 100644 index 0000000..b304e08 --- /dev/null +++ b/src/views/education_user/sign_user/components/sign_add.vue @@ -0,0 +1,207 @@ + + + + + diff --git a/src/views/education_user/sign_user/index.vue b/src/views/education_user/sign_user/index.vue new file mode 100644 index 0000000..86cfe6f --- /dev/null +++ b/src/views/education_user/sign_user/index.vue @@ -0,0 +1,111 @@ + + + + diff --git a/src/views/effect_appraisal/enterprise_effect/components/classStrengthen.vue b/src/views/effect_appraisal/enterprise_effect/components/classStrengthen.vue index 168fa95..d510afc 100644 --- a/src/views/effect_appraisal/enterprise_effect/components/classStrengthen.vue +++ b/src/views/effect_appraisal/enterprise_effect/components/classStrengthen.vue @@ -146,12 +146,13 @@