1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
| // @ts-ignore
| /* eslint-disable */
| import { request } from "umi";
|
| /** 新建培训评估 POST /oa/trainAssess/NewTrainAssess */
| export async function postOaTrainAssessNewTrainAssess(
| body: API.NewTrainAssessRequest,
| options?: { [key: string]: any }
| ) {
| return request<API.ResponseData>("/oa/trainAssess/NewTrainAssess", {
| method: "POST",
| headers: {
| "Content-Type": "application/json",
| },
| data: body,
| ...(options || {}),
| });
| }
|
| /** 更新培训评估 POST /oa/trainAssess/UpdateTrainAssess */
| export async function postOaTrainAssessUpdateTrainAssess(
| body: API.UpdateTrainAssessRequest,
| options?: { [key: string]: any }
| ) {
| return request<API.ResponseData>("/oa/trainAssess/UpdateTrainAssess", {
| method: "POST",
| headers: {
| "Content-Type": "application/json",
| },
| data: body,
| ...(options || {}),
| });
| }
|
|