diff --git a/src/api/oa_examine_temp_item.ts b/src/api/oa_examine_temp_item.ts index 0c8dbad..c664dac 100644 --- a/src/api/oa_examine_temp_item.ts +++ b/src/api/oa_examine_temp_item.ts @@ -1,26 +1,34 @@ import request from "@/utils/request"; // 考核模板-考核项列表 -export function apiOaExamineTempItemLists(params: any) { - return request.get({ url: "/jxgl.oa_examine_temp_item/lists", params }); +export function apiOaExamineTempLists(params: any) { + return request.get({ url: "/jxgl.oa_examine_temp/lists", params }); } // 添加考核模板-考核项 -export function apiOaExamineTempItemAdd(params: any) { - return request.post({ url: "/jxgl.oa_examine_temp_item/add", params }); +export function apiOaExamineTempAdd(params: any) { + return request.post({ url: "/jxgl.oa_examine_temp/add", params }); } // 编辑考核模板-考核项 -export function apiOaExamineTempItemEdit(params: any) { - return request.post({ url: "/jxgl.oa_examine_temp_item/edit", params }); +export function apiOaExamineTempEdit(params: any) { + return request.post({ url: "/jxgl.oa_examine_temp/edit", params }); } // 删除考核模板-考核项 -export function apiOaExamineTempItemDelete(params: any) { - return request.post({ url: "/jxgl.oa_examine_temp_item/delete", params }); +export function apiOaExamineTempDelete(params: any) { + return request.post({ url: "/jxgl.oa_examine_temp/delete", params }); +} + +// 考核模板-考核项详情 +export function apiOaExamineTempDetail(params: any) { + return request.get({ url: "/jxgl.oa_examine_temp/detail", params }); } // 考核模板-考核项详情 export function apiOaExamineTempItemDetail(params: any) { - return request.get({ url: "/jxgl.oa_examine_temp_item/detail", params }); + return request.post({ + url: "/jxgl.oa_examine_temp/delete_item", + params, + }); } diff --git a/src/views/jxgl_temp/edit.vue b/src/views/oa_examine_temp/edit.vue similarity index 77% rename from src/views/jxgl_temp/edit.vue rename to src/views/oa_examine_temp/edit.vue index eb2a5fd..a1faeb5 100644 --- a/src/views/jxgl_temp/edit.vue +++ b/src/views/oa_examine_temp/edit.vue @@ -1,12 +1,14 @@