更新接口
This commit is contained in:
@@ -330,7 +330,9 @@ export const submitAddItemBillSign = (
|
|||||||
formData.append('sign_file', data.sign_file);
|
formData.append('sign_file', data.sign_file);
|
||||||
|
|
||||||
return request.post<AddItemBillSignSubmitResponse>(
|
return request.post<AddItemBillSignSubmitResponse>(
|
||||||
`${MEDICAL_EXAM_BASE_PATH}/add-item-bill-sign-submit?exam_id=${data.exam_id}`,
|
`${MEDICAL_EXAM_BASE_PATH}/add-item-bill-sign-submit?exam_id=${data.exam_id}&pdf_sort=${data.pdf_sort}&combinationCode=${encodeURIComponent(
|
||||||
|
data.combinationCode
|
||||||
|
)}`,
|
||||||
formData,
|
formData,
|
||||||
{
|
{
|
||||||
headers: {
|
headers: {
|
||||||
|
|||||||
@@ -406,12 +406,20 @@ export type DaojiandanSignSubmitResponse = CommonActionResult<OutputDaojiandanSi
|
|||||||
export interface InputAddItemBillInfo {
|
export interface InputAddItemBillInfo {
|
||||||
/** 体检ID */
|
/** 体检ID */
|
||||||
exam_id: number;
|
exam_id: number;
|
||||||
|
/** 加项组合代码(多个加项项目,用逗号拼接,例如:123,456) */
|
||||||
|
CombinationCode: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 获取体检加项单PDF出参
|
* 获取体检加项单PDF出参
|
||||||
*/
|
*/
|
||||||
export interface OutputAddItemBillInfo {
|
export interface OutputAddItemBillInfo {
|
||||||
|
/** 加项单编号 */
|
||||||
|
pdf_sort?: number | null;
|
||||||
|
/** 支付状态 (1-未支付 2-已支付) */
|
||||||
|
payment_status?: string | null;
|
||||||
|
/** 支付状态名称 (1-未支付 2-已支付) */
|
||||||
|
payment_status_name?: string | null;
|
||||||
/** 加项单文件名称 */
|
/** 加项单文件名称 */
|
||||||
pdf_name?: string | null;
|
pdf_name?: string | null;
|
||||||
/** PDF文件地址 */
|
/** PDF文件地址 */
|
||||||
@@ -431,6 +439,10 @@ export type AddItemBillGetResponse = CommonActionResult<OutputAddItemBillInfo>;
|
|||||||
export interface InputAddItemBillSignSubmit {
|
export interface InputAddItemBillSignSubmit {
|
||||||
/** 体检ID */
|
/** 体检ID */
|
||||||
exam_id: number;
|
exam_id: number;
|
||||||
|
/** PDF加项单序号 */
|
||||||
|
pdf_sort: number;
|
||||||
|
/** 加项组合代码(多个加项项目,用逗号拼接,例如:123,456) */
|
||||||
|
combinationCode: string;
|
||||||
/** 签名图片文件 */
|
/** 签名图片文件 */
|
||||||
sign_file: File | Blob;
|
sign_file: File | Blob;
|
||||||
}
|
}
|
||||||
@@ -439,6 +451,10 @@ export interface InputAddItemBillSignSubmit {
|
|||||||
* 提交体检加项单签名出参
|
* 提交体检加项单签名出参
|
||||||
*/
|
*/
|
||||||
export interface OutputAddItemBillSignInfo {
|
export interface OutputAddItemBillSignInfo {
|
||||||
|
/** 支付状态 (1-未支付 2-已支付) */
|
||||||
|
payment_status?: string | null;
|
||||||
|
/** 支付状态名称 (1-未支付 2-已支付) */
|
||||||
|
payment_status_name?: string | null;
|
||||||
/** 加项单文件名称 */
|
/** 加项单文件名称 */
|
||||||
pdf_name?: string | null;
|
pdf_name?: string | null;
|
||||||
/** PDF文件地址 */
|
/** PDF文件地址 */
|
||||||
|
|||||||
Reference in New Issue
Block a user