diff --git a/src/api/his.ts b/src/api/his.ts index 8af7b90..b24677f 100644 --- a/src/api/his.ts +++ b/src/api/his.ts @@ -30,6 +30,8 @@ import type { TijianDiningLogResponse, InputOperatorRemarkInfo, OperatorRemarkInfoResponse, + InputOperatorRemarkInfoAdd, + OperatorRemarkInfoAddResponse, } from './types'; /** @@ -248,3 +250,15 @@ export const getOperatorRemarkInfo = ( ).then(res => res.data); }; +/** + * 保存操作员备注信息 + */ +export const saveOperatorRemarkInfo = ( + data: InputOperatorRemarkInfoAdd +): Promise => { + return request.post( + `${MEDICAL_EXAM_BASE_PATH}/remark-save`, + data + ).then(res => res.data); +}; + diff --git a/src/api/types.ts b/src/api/types.ts index 765f122..cded0c6 100644 --- a/src/api/types.ts +++ b/src/api/types.ts @@ -506,3 +506,27 @@ export interface OutputOperatorRemarkInfo { */ export type OperatorRemarkInfoResponse = CommonActionResult; +/** + * 保存操作员备注信息入参 + */ +export interface InputOperatorRemarkInfoAdd { + /** 操作员ID */ + operator_id: string; + /** 操作员姓名 */ + operator_name: string; + /** 备注内容 */ + remark_content: string; +} + +/** + * 保存操作员备注信息出参 + */ +export interface OutputOperatorRemarkInfoAdd { + // 空对象,无属性 +} + +/** + * 保存操作员备注信息响应 + */ +export type OperatorRemarkInfoAddResponse = CommonActionResult; +