zhengyiming
8 天以前 eeb610e0d60949e35634be696dbd0f42c46cc9df
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
/* eslint-disable */
// @ts-ignore
import { request } from '@/utils/request';
 
/** 新增,编辑保险产品方案 POST /api/Dictionary/CreateOrUpdateInsureProductScheme */
export async function createOrUpdateInsureProductScheme(
  body: API.CreateOrUpdateInsureProductSchemeInput,
  options?: API.RequestConfig
) {
  return request<string>('/api/Dictionary/CreateOrUpdateInsureProductScheme', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}
 
/** 新增,编辑保险产品配置 POST /api/Dictionary/CreateOrUpdateInsureProductSetting */
export async function createOrUpdateInsureProductSetting(
  body: API.CreateOrUpdateInsureProductSettingInput,
  options?: API.RequestConfig
) {
  return request<string>('/api/Dictionary/CreateOrUpdateInsureProductSetting', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}
 
/** 删除保险产品方案 POST /api/Dictionary/DeleteInsureProductScheme */
export async function deleteInsureProductScheme(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.APIdeleteInsureProductSchemeParams,
  options?: API.RequestConfig
) {
  return request<number>('/api/Dictionary/DeleteInsureProductScheme', {
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}
 
/** 删除保险产品配置 GET /api/Dictionary/DeleteInsureProductSetting */
export async function deleteInsureProductSetting(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.APIdeleteInsureProductSettingParams,
  options?: API.RequestConfig
) {
  return request<number>('/api/Dictionary/DeleteInsureProductSetting', {
    method: 'GET',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}
 
/** 获取保险产品方案下拉列表 POST /api/Dictionary/GetInsureProductSchemeAllList */
export async function getInsureProductSchemeAllList(
  body: API.GetInsureProductSchemePageInput,
  options?: API.RequestConfig
) {
  return request<API.InsureProductSchemeDto[]>('/api/Dictionary/GetInsureProductSchemeAllList', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}
 
/** 获取保险产品方案列表 POST /api/Dictionary/GetInsureProductSchemePage */
export async function getInsureProductSchemePage(
  body: API.GetInsureProductSchemePageInput,
  options?: API.RequestConfig
) {
  return request<API.InsureProductSchemeDtoPageOutput>(
    '/api/Dictionary/GetInsureProductSchemePage',
    {
      method: 'POST',
      headers: {
        'Content-Type': 'application/json',
      },
      data: body,
      ...(options || {}),
    }
  );
}
 
/** 获取已启用的保险产品配置下拉列表 POST /api/Dictionary/GetInsureProductSettingAllList */
export async function getInsureProductSettingAllList(
  body: API.GetInsureProductSettingPageInput,
  options?: API.RequestConfig
) {
  return request<API.InsureProductSettingDto[]>('/api/Dictionary/GetInsureProductSettingAllList', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}
 
/** 获取保险产品配置列表 POST /api/Dictionary/GetInsureProductSettingPage */
export async function getInsureProductSettingPage(
  body: API.GetInsureProductSettingPageInput,
  options?: API.RequestConfig
) {
  return request<API.InsureProductSettingDtoPageOutput>(
    '/api/Dictionary/GetInsureProductSettingPage',
    {
      method: 'POST',
      headers: {
        'Content-Type': 'application/json',
      },
      data: body,
      ...(options || {}),
    }
  );
}
 
/** 用户下所配置的所有保险产品 GET /api/Dictionary/GetUserInsureProductSetting */
export async function getUserInsureProductSetting(options?: API.RequestConfig) {
  return request<API.InsureProductSettingDto[]>('/api/Dictionary/GetUserInsureProductSetting', {
    method: 'GET',
    ...(options || {}),
  });
}
 
/** 修改保险产品配置状态 POST /api/Dictionary/UpdateInsureProductSettingStatus */
export async function updateInsureProductSettingStatus(
  body: API.UpdateInsureProductSettingStatusInput,
  options?: API.RequestConfig
) {
  return request<number>('/api/Dictionary/UpdateInsureProductSettingStatus', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}