wupengfei
2025-03-28 acaec313ab0e3c9381060e36bf3ce4abc606dc9a
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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
/* 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 || {}),
    }
  );
}
 
/** 客户端-批改详情 GET /api/InsureBatchBill/GetInsureBatchDetail */
export async function getInsureBatchDetail(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.APIgetInsureBatchDetailParams,
  options?: API.RequestConfig
) {
  return request<API.InsureBatchDetailDto>('/api/InsureBatchBill/GetInsureBatchDetail', {
    method: 'GET',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}
 
/** 客户端-批单增员减员保单数据导入 POST /api/InsureBatchBill/ImportBatchAddOrSubOrderData */
export async function importBatchAddOrSubOrderData(
  body: API.ImportBatchAddOrSubOrderInput,
  options?: API.RequestConfig
) {
  return request<API.CheckImportBatchAddOrSubOrderDataOutput>(
    '/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<API.CheckImportBatchUpdateOrderDataOutput>(
    '/api/InsureBatchBill/ImportBatchUpdateOrderData',
    {
      method: 'POST',
      headers: {
        'Content-Type': 'application/json',
      },
      data: body,
      ...(options || {}),
    }
  );
}
 
/** 客户端-检查批单增员减员保单数据导入 POST /api/InsureBatchBill/ImportCheckBatchAddOrSubOrderData */
export async function importCheckBatchAddOrSubOrderData(
  body: API.ImportBatchAddOrSubOrderInput,
  options?: API.RequestConfig
) {
  return request<any>('/api/InsureBatchBill/ImportCheckBatchAddOrSubOrderData', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}
 
/** 客户端-检查批单替换数据导入 POST /api/InsureBatchBill/ImportCheckBatchUpdateOrderData */
export async function importCheckBatchUpdateOrderData(
  body: API.ImportBatchAddOrSubOrderInput,
  options?: API.RequestConfig
) {
  return request<any>('/api/InsureBatchBill/ImportCheckBatchUpdateOrderData', {
    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 || {}),
  });
}