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 @@