work.js
1.9 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
import { http } from '@/uni_modules/uview-plus'
// 获取待办任务
export const queryMyList = (data) => http.get(`/registration/mylist`, {params: data, custom: {auth: true}})
// 查询待处理订单
export const queryPengdingList = (data) => http.get(`/registration/monitor/listPending`, {params: data, custom: {auth: true}})
// 查询已处理订单
export const queryProcessedList = (data) => http.get(`/registration/monitor/listProcessed`, {params: data, custom: {auth: true}})
// 查询进行中订单
export const queryOngoingList = (data) => http.get(`/registration/monitor/listOngoing`, {params: data, custom: {auth: true}})
// 查询已作废订单
export const queryDeprecatedList = (data) => http.get(`/registration/monitor/listDeprecated`, {params: data, custom: {auth: true}})
// 查询已承接保单
export const queryContinueList = (data) => http.get(`/registration/monitor/listReports`, {params: data, custom: {auth: true}})
// 查询已完结订单
export const queryEndedList = (data) => http.get(`/registration/monitor/listEnded`, {params: data, custom: {auth: true}})
// 办理一个用户任务
export const disposeUser = (data, taskId) => http.post(`/registration/completeTask/${taskId}`, data, {custom: {auth: true}})
// 转办
export const transfer = (data, taskId) => http.post(`/registratiom/transferTask/${taskId}`, data, {custom: {auth: true}})
// 获取人员列表
export const getUserList = (data) => http.get(`/system/user/otherEmployee`, {params: data,custom: {auth: true}})
// 获取公司列表
export const listDept = (data) => http.get(`/system/dept/list`, {params: data, custom: {auth: true}})
// 查询保单回馈
export const queryResult = (data) => http.get(`/registration/monitor/getResult`, {params: data, custom: {auth: true}})
// 查询作废备注
export const queryDefeatContent = (data) => http.get(`/registration/monitor/getComment`, {params: data, custom: {auth: true}})