添加保存操作员备注信息接口
This commit is contained in:
@@ -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<OperatorRemarkInfoAddResponse> => {
|
||||
return request.post<OperatorRemarkInfoAddResponse>(
|
||||
`${MEDICAL_EXAM_BASE_PATH}/remark-save`,
|
||||
data
|
||||
).then(res => res.data);
|
||||
};
|
||||
|
||||
|
||||
@@ -506,3 +506,27 @@ export interface OutputOperatorRemarkInfo {
|
||||
*/
|
||||
export type OperatorRemarkInfoResponse = CommonActionResult<OutputOperatorRemarkInfo>;
|
||||
|
||||
/**
|
||||
* 保存操作员备注信息入参
|
||||
*/
|
||||
export interface InputOperatorRemarkInfoAdd {
|
||||
/** 操作员ID */
|
||||
operator_id: string;
|
||||
/** 操作员姓名 */
|
||||
operator_name: string;
|
||||
/** 备注内容 */
|
||||
remark_content: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* 保存操作员备注信息出参
|
||||
*/
|
||||
export interface OutputOperatorRemarkInfoAdd {
|
||||
// 空对象,无属性
|
||||
}
|
||||
|
||||
/**
|
||||
* 保存操作员备注信息响应
|
||||
*/
|
||||
export type OperatorRemarkInfoAddResponse = CommonActionResult<OutputOperatorRemarkInfoAdd>;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user