From 62918cd6e0627a01fab8bfda2a08d7d07ce33cbe Mon Sep 17 00:00:00 2001 From: zmj <1493694146@qq.com> Date: Wed, 5 Jun 2024 18:06:32 +0800 Subject: [PATCH] add --- src/api/oa_examine.ts | 32 ++ .../dialogTable/dialogTableConfig.ts | 23 ++ src/views/acceptance_bill/edit.vue | 16 +- src/views/allAssessments/index.vue | 1 - src/views/oa_examine/edit.vue | 302 ++++++++++++++++++ src/views/oa_examine/index.vue | 119 +++++++ src/views/oa_self_examine/edit.vue | 7 + src/views/oa_self_examine/index.vue | 4 - 8 files changed, 490 insertions(+), 14 deletions(-) create mode 100644 src/api/oa_examine.ts create mode 100644 src/views/oa_examine/edit.vue create mode 100644 src/views/oa_examine/index.vue diff --git a/src/api/oa_examine.ts b/src/api/oa_examine.ts new file mode 100644 index 0000000..6d3f15b --- /dev/null +++ b/src/api/oa_examine.ts @@ -0,0 +1,32 @@ +import request from "@/utils/request"; + +// 我申请的 +export function apiExpenseList(params: any) { + return request.get({ url: "/jxgl.oa_examine/lists", params }); +} + +// 我申请的 +export function apiExpenseDetail(params: any) { + return request.get({ url: "/jxgl.oa_examine/detail", params }); +} + +// 审核 +export function apiExpenseAdd(params: any) { + return request.post({ url: "/jxgl.oa_examine/add", params }); +} + +// 审核 +export function apiExpenseDelete(params: any) { + return request.post({ url: "/jxgl.oa_examine/delete", params }); +} + +export function apiExpenseEdit(params: any) { + return request.post({ url: "/jxgl.oa_examine/edit", params }); +} + +export function apiExpensedelete_detail(params: any) { + return request.post({ + url: "/jxgl.oa_examine/delete_detail", + params, + }); +} diff --git a/src/components/dialogTable/dialogTableConfig.ts b/src/components/dialogTable/dialogTableConfig.ts index ae21919..7f0aefb 100644 --- a/src/components/dialogTable/dialogTableConfig.ts +++ b/src/components/dialogTable/dialogTableConfig.ts @@ -1102,3 +1102,26 @@ export const oa_examine_temp_item: Iconfig = { { create_time: "创建时间" }, ], }; + +import { apiOaSelfExamineLists } from "@/api/oaSelfExamine"; + +export const oa_self_examine: Iconfig = { + fetchFn: apiOaSelfExamineLists, + dictData: "jxgl_check_type", + serchList: [ + { + label: "考核类别", + value: "examine_type", + select: "jxgl_check_type", + }, + ], + tableList: [ + { user_name: "自评人" }, + { examine_type_text: "考核类别" }, + { temp_name: "考核模版" }, + { examine_month: "考核月份" }, + { total_score: "考核总分" }, + { total_self_score: "自评得分" }, + { create_time: "自评时间" }, + ], +}; diff --git a/src/views/acceptance_bill/edit.vue b/src/views/acceptance_bill/edit.vue index a8c421c..845faa3 100644 --- a/src/views/acceptance_bill/edit.vue +++ b/src/views/acceptance_bill/edit.vue @@ -1,8 +1,7 @@