wupengfei
2025-03-27 12cce14bc30a85bbf96b5b30bb1aff1fc354091a
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
/* eslint-disable */
// @ts-ignore
import { request } from '@/utils/request';
 
/** 用户端-提交 新增,修改,删除 批单 POST /api/InsureBatchBill/AddOrUpdateInsureBatchBill */
export async function addOrUpdateInsureBatchBill(
  body: API.InsureBatchBillInput,
  options?: API.RequestConfig
) {
  return request<number>('/api/InsureBatchBill/AddOrUpdateInsureBatchBill', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}
 
/** 运营端-导出批单人员 GET /api/InsureBatchBill/ExportInsuranceBatchStaff */
export async function exportInsuranceBatchStaff(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.APIexportInsuranceBatchStaffParams,
  options?: API.RequestConfig
) {
  return request<any>('/api/InsureBatchBill/ExportInsuranceBatchStaff', {
    method: 'GET',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}
 
/** 获取运营端-审核批单-审核详情 GET /api/InsureBatchBill/GetBatchDetailForCheck */
export async function getBatchDetailForCheck(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.APIgetBatchDetailForCheckParams,
  options?: API.RequestConfig
) {
  return request<API.BatchDetailForCheckDto>('/api/InsureBatchBill/GetBatchDetailForCheck', {
    method: 'GET',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}
 
/** 获取客户端-批单的列表 POST /api/InsureBatchBill/GetInsureBatchBillList */
export async function getInsureBatchBillList(
  body: API.GetInsuranceBatchBillInput,
  options?: API.RequestConfig
) {
  return request<API.InsureBatchBillDtoPageOutput>('/api/InsureBatchBill/GetInsureBatchBillList', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}
 
/** 获取运营端-审核批单的列表 POST /api/InsureBatchBill/GetInsureBatchBillListForCheck */
export async function getInsureBatchBillListForCheck(
  body: API.GetInsuranceBatchBillForCheckInput,
  options?: API.RequestConfig
) {
  return request<API.InsureBatchBillDtoPageOutput>(
    '/api/InsureBatchBill/GetInsureBatchBillListForCheck',
    {
      method: 'POST',
      headers: {
        'Content-Type': 'application/json',
      },
      data: body,
      ...(options || {}),
    }
  );
}
 
/** 客户端-批单增员减员保单数据导入 POST /api/InsureBatchBill/ImportBatchAddOrSubOrderData */
export async function importBatchAddOrSubOrderData(
  body: API.ImportBatchAddOrSubOrderInput,
  options?: API.RequestConfig
) {
  return request<any>('/api/InsureBatchBill/ImportBatchAddOrSubOrderData', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}
 
/** 客户端-批单替换数据导入 POST /api/InsureBatchBill/ImportBatchUpdateOrderData */
export async function importBatchUpdateOrderData(
  body: API.ImportBatchAddOrSubOrderInput,
  options?: API.RequestConfig
) {
  return request<any>('/api/InsureBatchBill/ImportBatchUpdateOrderData', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}
 
/** 运营端-设置批量的状态 POST /api/InsureBatchBill/SetInsureBatchBillStatus */
export async function setInsureBatchBillStatus(
  body: API.SetInsureBatchBillStatusInput,
  options?: API.RequestConfig
) {
  return request<number>('/api/InsureBatchBill/SetInsureBatchBillStatus', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}