serviceInOutUtil.js
5.8 KB
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
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
import * as fetch from './fetch';
import * as constants from '../redux/constants/Constants';
const FRONTPATH = `api/psiorder/front-process`;
const PSIORDER = `api/psiorder`;
//后道
//获取后道首页按账户统计的列表
export const loadBackProcessStatisticsList=(query,options={})=>{
const url = `api/psiorder/back-process-statistics${query}`;
return fetch.get(url,options);
}
//后道首页统计数字
export const loadBackProcessStatistics=(query,options={})=>{
const url = `api/psiorder/${query}`;
return fetch.get(url,options);
}
//参保人列表
export const loadBackProcessList=(query,options={})=>{
const url = `api/psiorder/back-process/account/${query}`;
return fetch.get(url,options);
}
//后道参保人详情
export const loadBackProcessDetail=(params,options={})=>{
const url = `api/psiorder/back-process-detail/${params}`;
return fetch.get(url,options);
}
//后道导入
export const insertBackProcessResult=(params,options={})=>{
const url = `api/psiorder/back-process-import`;
return fetch.post(url,params,options);
}
//后道核对列表
export const loadOutCheckList=(query,options={})=>{
const url = `api/psiorder/conflict-check${query}`;
return fetch.get(url,options);
}
//退回前道
export const backToFront=(params,options={})=>{
const url = `api/psiorder/conflict-check/${params.id}/op/return`;
return fetch.post(url,params,options);
}
//后道导出
export const exportBackProcess = (params,options={})=>{
const url = `api/psiorder/back-process/account/${params}`
return fetch.get(url,options);
}
//后道导出办理结果
export const exportBackProcessResult = (params,options={})=>{
const url = `api/psiorder/back-process/ext-export-result/account/${params}`
return fetch.get(url,options);
}
//后道批量下载资料
export const downloadBatchBackProcess = (params,options={})=>{
const url = `api/psiorder/back-process-batch-download`;
return fetch.post(url,params,options);
}
//后道下载资料
export const downloadBackProcess = (params,options={})=>{
const url = `api/psiorder/back-process-download`;
return fetch.post(url,params,options);
}
//后道详情编辑
export const editBackProcessDetail = (params,options={})=>{
const url = `api/psiorder/back-process/${params.id}`;
return fetch.put(url,params,options);
}
//后道办理反馈
export const dealBackProcess = (params,options={})=>{
const url = `api/psiorder/back-process/${params.id}/op/feedback`;
return fetch.post(url,params,options);
}
//按调基办理
export const serviceOutRemain=(values,options={})=>{
const url = `api/psiorder/conflict-check/${values.id}/op/continue`;
return fetch.post(url,options);
}
//待核对页面统计
export const loadOutCheckStatistics=(options={})=>{
const url = `api/psiorder/conflict-check-statistics`;
return fetch.get(url,options);
}
//前道列表
export const getFrontProcessList = (params,options={}) => {
const url = FRONTPATH+params;
return fetch.get(url,options);
}
//前道详情
export const getFrontProcessDetail = (params,options={}) => {
const url = FRONTPATH+'/'+params;
return fetch.get(url,options);
}
//前道申请实操
export const applyAct = (params,options={}) => {
const url = FRONTPATH+'/op/apply';
return fetch.post(url,params,options);
}
//前道下月新增且补缴
export const increaseAndPayback = (params,options={}) => {
const url = FRONTPATH+'/op/increase-and-payback';
return fetch.post(url,params,options);
}
//前道退款
export const frontProcessRefund = (params,options={}) => {
const url = FRONTPATH+'/op/refund';
return fetch.post(url,params,options);
}
//前道统计信息
export const frontProcessStatistics = (params,options={}) => {
const url = `api/psiorder/front-process-statistics`+(params?'?'+params:'');
return fetch.get(url,options);
}
//前道下月补缴
export const onlyPayback = (params,options={}) => {
const url = FRONTPATH+`/op/payback`
return fetch.post(url,params,options);
}
//前道取消
export const frontProcessCancel = (params,options={}) => {
const url = FRONTPATH+`/op/cancel`
return fetch.post(url,params,options);
}
//前道资料审核
export const checkDatum = (params,options={}) => {
const url = 'api/psiorder/datum-check';
return fetch.post(url,params,options);
}
//前道更新记录
export const updateInfo = (params,options={}) => {
const url = FRONTPATH+'/'+params.id;
return fetch.putJson(url,params,options);
}
//社保服务统计信息
export const serviceStatistics = (params,options={}) => {
const url = PSIORDER+'/si-service-statistics';
return fetch.get(url,options);
}
//订单统计信息
export const orderStatistics = (params,options={}) => {
const url = PSIORDER+'/si-order-statistics';
return fetch.get(url,options);
}
//接单统计信息
export const processStatistics = (params,options={}) => {
const url = PSIORDER+'/si-process-statistics';
return fetch.get(url,options);
}
//资料审核统计
export const datumStatistics = (params,options={}) => {
const url = PSIORDER+'/datum-statistics';
return fetch.get(url,options);
}
//资料审核列表
export const datumCheck = (params,options={}) => {
const url = PSIORDER+'/datum-check'+(params?params:'');
return fetch.get(url,options);
}
//更新前道资料
export const updateFiles = (params,options={}) => {
const url = 'api/psiorder/insured-person/'+params.insured_person_id;
return fetch.put(url,params,options);
}
//退回前道操作
export const backProcessReturn = (params,options={}) => {
const url = 'api/psiorder/back-process-return';
return fetch.post(url,params,options);
}
//添加协议
export const uploadAgreement=(params,options={})=>{
const url = `api/common/user-agreements`;
return fetch.post(url,params,options);
}
//获取协议
export const getAgreement = (params,options={}) => {
const url = `api/common/user-agreements?type=psiorder`;
return fetch.get(url,options);
}