|
|
@@ -7,113 +7,117 @@ import config from '../uni_modules/uview-ui/libs/config/config.js';
|
|
7
|
7
|
|
|
8
|
8
|
const install = (Vue, vm) => {
|
|
9
|
9
|
vm.$u.api = {
|
|
10
|
|
- login : (params = {})=> http.post('/auth/login', params), // 登录
|
|
11
|
|
- getInfo : (params = {})=> http.get('/system/user/getInfo',{params}), // 获取用户数据
|
|
12
|
|
- sysMessageReceive : (params = {})=>http.get('/message/sysMessageReceive/list?' + qs.stringify(params)), // 消息接受列表
|
|
13
|
|
- getAppMessageList : (params = {})=>http.get('/message/sysMessageReceive/getAppMessageList?' + qs.stringify(params)), // 消息列表接口
|
|
14
|
|
- getDicts : (dictType)=>http.get('/system/dict/data/type/' + dictType), // 获取字典
|
|
15
|
|
- getPhoneFileterResult : (data = {})=>http.post('/collect/all/casePhoneFilter/getPhoneFileterResult',data), // 滤号
|
|
16
|
|
- listDetpUser : (data = {})=>http.post('/system/user/getDeptCustomer',data), // 查询部门人员列表
|
|
17
|
|
- getDeptCustomerByOrg : (data = {})=>http.post('/system/user/getDeptCustomerByOrg',data,{ params : data }), // 查询部门人员列表
|
|
18
|
|
- getDeptOwner : (data = {})=>http.post('/system/user/getDeptOwner',data), // 查询部门人员列表
|
|
19
|
|
- listByOrgDataScope : (params = {})=>http.get('/system/user/listByOrgDataScope',{params}), // 查询部门人员列表
|
|
20
|
|
- logout : ()=>http.delete("/auth/logout?systemCode=system_debt"), // 退出登录
|
|
21
|
|
- getUserProfile : (params = {})=>http.get('/system/user/profile?' + qs.stringify(params)), // 查询用户个人信息
|
|
22
|
|
- uploadAvatar : (url)=> http.upload('/system/user/profile/avatar',{filePath: url,name : "avatarfile",timeout: 1000 * 60 * 10,custom : { loadingText : "上传中" }}),
|
|
23
|
|
- updateUserProfile : (data = {})=>http.put("/system/user/profile",data), // 更新个人信息
|
|
24
|
|
- getCofDeptBank : (params = {})=>http.get("/system/cofDeptBank/getCofDeptBank",params), // 查询机构配置
|
|
25
|
|
- getOutEquipmentByMacAddr : (mac,config)=>http.get("system/caseOutEquipment/" + mac,config), // 根据mac地址获取外访设备状态可能为空
|
|
26
|
|
- addCaseOutEquipment : (data = {})=>http.post("system/caseOutEquipment",data), // 申请mac地址授权
|
|
27
|
|
- checkOutEquipment : (params = {},config)=>http.get("/system/caseOutEquipment/checkOutEquipment",{params,...config}), // 检测外访设备是否有申请通过记录
|
|
28
|
|
- concatRecord : (files,params = {})=>http.upload('/fileVisit/concatRecord',{files, params , name: 'files', timeout: 1000 * 60 * 10, custom : { loadingText : "上传中" }}), // 合并录音并上传
|
|
29
|
|
- uploadFile : (url,params = {})=> http.upload('/file/aliossUpload',{filePath: url,params ,name : "file",timeout: 1000 * 60 * 10,custom : { loadingText : "上传中" }}), // 上传文件
|
|
30
|
|
- watermarkUpload : (url,params = {})=> http.upload('/fileVisit/watermarkUpload',{filePath: url, params, name : "file",timeout: 1000 * 60 * 10,custom : { loadingText : "上传中" }}), // 上传文件
|
|
31
|
|
- getOutPolyline : (params = {})=>http.get("/system/caseOutPolyline/getOutPolyline",{ params , custom : { loading: false } }), // 请求外访轨迹列表
|
|
32
|
|
- addOutPolyline : (data = {})=>http.post("/system/caseOutPolyline/addOutPolyline",data,{ custom : { loading: false } }), // 添加外访轨迹
|
|
33
|
|
- updateUserPwd : (params = {})=>http.put("/system/user/profile/updatePwd?" + qs.stringify(params)), // 更新用户密码
|
|
34
|
|
- getSysVersion : (params = {},config = {})=>http.get("/system/sysVersion/getSysVersion",{params,...config, timeout: 2000}), // 版本更新
|
|
35
|
|
- getBankDebtRule : (params = {},config = {})=>http.get('/system/bankInfo/getBankDebtRule',{params,...config}), // 获取委托方催收规则
|
|
36
|
|
- getBankContent : (params = {},config = {})=>http.get('/system/bankInfo/getBankContent',{params,...config}), // 催收状态
|
|
37
|
|
- getCofCallOutBindByUserId : (params = {},config = {})=>http.get('/system/cofCallOutBind/getCofCallOutBindByUserId',{params,...config}), // 获取分机号
|
|
38
|
|
- getCofShortcuts : (params = {},config = {})=>http.get('/system/cofShortcuts/list',{params,...config}), // 获取键盘速填
|
|
39
|
|
- getCofInfo : (params,config = {})=>http.get('/system/user/getCofInfo',{params,...config}), // 获取权限
|
|
40
|
|
- extensionNumberState : (params,config = {})=>http.get("http://8.134.50.217:10085/cc/extensionNumberState",{params , custom : { loading: false }}), // 获取来电关联案件
|
|
41
|
|
- getSm4En : (str,config = {})=>http.get(store.state.user.path + '/caseMainInfo/getSm4En',{ params : {str} , custom : { loading: false }}), // sm4加密
|
|
42
|
|
- setAPPLoginLimit : (params,config = {})=>http.get('/system/user/setAPPLoginLimit',{ params , custom : { loading: false }}), // 设置设备码访问失败次数
|
|
43
|
|
- getAPPLoginLimit : (params,config = {})=>http.get('/system/user/getAPPLoginLimit',{ params , custom : { loading: false } , timeout: 1000 }), // 获取设备码访问失败次数
|
|
44
|
|
- getExtensionStatus : (params,config = {})=>http.get('/sip/JcSip/getExtensionStatus',{ params , custom : { loading: false }}), // 获取分机的状态
|
|
45
|
|
- setEffectiveCallerIdNumber : (params,config = {})=>http.get('/sip/JcSip/setEffectiveCallerIdNumber',{ params , custom : { loading: false }}), // 固话设置号码
|
|
46
|
|
- getExtensionByUserId : (params,config = {})=>http.get('/sip/exten/getExtensionByUserId',{ params , custom : { loading: false }}), // 通过用户id获取分机
|
|
47
|
|
- getLineByIds : (params,config = {})=>http.get('/sip/line/getLineByIds',{ params , custom : { loading: false }}), // 根据线路获取线路
|
|
48
|
|
- getCodeImg : (params,config = {})=>http.get('/code',{ params , custom : { loading: false },timeout: 1500}), // 获取验证码(主要用于判断配置是否正确)
|
|
49
|
|
- getAppSystemList : (params = {},config = {})=>http.get('/system/sysVersion/getAppSystemList',{ params , custom : { loading: false },timeout: 1500}), // 获取app的系统列表
|
|
50
|
|
- changeOnlineStatus : (data,config = {})=>http.put('/system/user/changeStatus',data), // 用户状态修改
|
|
51
|
|
- statisticsCaseState : (data,config = {})=>http.post(store.state.user.path + '/clueFixedFields/statisticsCaseState',data), // 统计线索阶段
|
|
52
|
|
- statisticsAddClueCount : (data,config = {})=>http.post(store.state.user.path + '/clueMainInfo/statisticsAddClueCount',data), // 统计添加阶段
|
|
53
|
|
- getClueMainInfoList : (params = {},data = {})=> http.post(store.state.user.path + '/clueMainInfo/getClueMainInfoList?' + qs.stringify(params),data), // 线索列表
|
|
54
|
|
- getUserByUserIds : (params)=>http.get('/system/user/getUserByUserIds',{params}), //
|
|
55
|
|
- getClueTagGroupVoList : (params = {})=>http.get(store.state.user.path + "/clueTagGroup/getClueTagGroupVoList",{ params }), // 获取线索标签;
|
|
56
|
|
- getClueMainInfoVoById : (params = {},config = {})=>http.get(store.state.user.path + "/clueMainInfo/getClueMainInfoVoById",{ params , custom : { loading: false },timeout: 1500}), // 获取线索详情;
|
|
57
|
|
- updateClueFixedFieldsClueState:(data,config = {})=>http.post(store.state.user.path + '/clueFixedFields/updateClueFixedFieldsClueState',data),
|
|
58
|
|
- updateClueFixedFieldsAllTags:(data,config = {})=>http.post(store.state.user.path + '/clueFixedFields/updateClueFixedFieldsAllTags',data),
|
|
59
|
|
- getClueMainInfoById:(params = {},config = {})=>http.get(store.state.user.path + '/clueMainInfo/getClueMainInfoById',{params,...config}),
|
|
60
|
|
- getClueAdInfoByClueId:(params = {},config = {})=>http.get(store.state.user.path + '/clueAdInfo/getClueAdInfoByClueId',{params,...config}),
|
|
61
|
|
- getClueFollowList:(params = {},config = {})=>http.get(store.state.user.path + '/clueFollow/getClueFollowList',{params,...config}),
|
|
62
|
|
- deleteClueFollow:(data,config = {})=>http.post(store.state.user.path + '/clueFollow/deleteClueFollow',data),
|
|
63
|
|
- updateClueFixedFieldsClueOwner:(data,config={})=>http.post(store.state.user.path + '/clueFixedFields/updateClueFixedFieldsClueOwner',data),
|
|
64
|
|
- addClueFollow:(data,config={})=>http.post(store.state.user.path + '/clueFollow/addClueFollow',data),
|
|
65
|
|
- getDictCascadeData:(params,config={})=>http.get(store.state.user.path + '/dictCascadeData/list',{params,...config}),
|
|
66
|
|
- selectAllDeptList:(params,config={})=>http.get('/system/dept/selectAllDeptList',{ params,...config }),
|
|
67
|
|
- getIdByName:(params,config={})=>http.get(store.state.user.path + "/clueMainInfo/getIdByName",{ params,...config }),
|
|
68
|
|
- addClueMainInfo : (data,config = {})=>http.post(store.state.user.path + '/clueMainInfo/addClueMainInfo',data),
|
|
69
|
|
- saveLog:(data,config={})=>http.post("/system/access/saveLog",data,{ custom : { loading: false } }),
|
|
70
|
|
- saveClueFile:(data,config={})=>http.post(store.state.user.path + '/clueFile/saveClueFile',data),
|
|
71
|
|
- updateClueMainInfo:(data,config={})=>http.post(store.state.user.path + '/clueMainInfo/updateClueMainInfo',data),
|
|
72
|
|
- selectPromotionStats:(data,config={})=>http.post(store.state.user.path + '/promotionStats/selectPromotionStats',data),
|
|
73
|
|
- firstLogin : (data)=> http.post('/system/user/firstLogin',data),
|
|
74
|
|
- shiYuWxLoginGetInfo : (params)=> http.get('/auth/shiYuWxLoginGetInfo',{params, custom : { noAuth: true }}),
|
|
75
|
|
- deleteClueFile : (data)=> http.delete(store.state.user.path + '/clueFile/deleteClueFile',data),
|
|
76
|
|
- getCallClueFileByClueId : (params)=> http.get(store.state.user.path + '/clueFile/getCallClueFileByClueId',{params, custom : { noAuth: true }}),
|
|
77
|
|
- getClueSendFormCountByClueId : (params = {},config = {})=>http.get(store.state.user.path + '/clueSendForm/getClueSendFormCountByClueId',{ params }),
|
|
|
10
|
+ login: (params = {}) => http.post('/auth/login', params), // 登录
|
|
|
11
|
+ getInfo: (params = {}) => http.get('/system/user/getInfo', { params }), // 获取用户数据
|
|
|
12
|
+ sysMessageReceive: (params = {}) => http.get('/message/sysMessageReceive/list?' + qs.stringify(params)), // 消息接受列表
|
|
|
13
|
+ getAppMessageList: (params = {}) => http.get('/message/sysMessageReceive/getAppMessageList?' + qs.stringify(params)), // 消息列表接口
|
|
|
14
|
+ getDicts: (dictType) => http.get('/system/dict/data/type/' + dictType), // 获取字典
|
|
|
15
|
+ getPhoneFileterResult: (data = {}) => http.post('/collect/all/casePhoneFilter/getPhoneFileterResult', data), // 滤号
|
|
|
16
|
+ listDetpUser: (data = {}) => http.post('/system/user/getDeptCustomer', data), // 查询部门人员列表
|
|
|
17
|
+ getDeptCustomerByOrg: (data = {}) => http.post('/system/user/getDeptCustomerByOrg', data, { params: data }), // 查询部门人员列表
|
|
|
18
|
+ getDeptOwner: (data = {}) => http.post('/system/user/getDeptOwner', data), // 查询部门人员列表
|
|
|
19
|
+ listByOrgDataScope: (params = {}) => http.get('/system/user/listByOrgDataScope', { params }), // 查询部门人员列表
|
|
|
20
|
+ logout: () => http.delete("/auth/logout?systemCode=system_debt"), // 退出登录
|
|
|
21
|
+ getUserProfile: (params = {}) => http.get('/system/user/profile?' + qs.stringify(params)), // 查询用户个人信息
|
|
|
22
|
+ uploadAvatar: (url) => http.upload('/system/user/profile/avatar', { filePath: url, name: "avatarfile", timeout: 1000 * 60 * 10, custom: { loadingText: "上传中" } }),
|
|
|
23
|
+ updateUserProfile: (data = {}) => http.put("/system/user/profile", data), // 更新个人信息
|
|
|
24
|
+ getCofDeptBank: (params = {}) => http.get("/system/cofDeptBank/getCofDeptBank", params), // 查询机构配置
|
|
|
25
|
+ getOutEquipmentByMacAddr: (mac, config) => http.get("system/caseOutEquipment/" + mac, config), // 根据mac地址获取外访设备状态可能为空
|
|
|
26
|
+ addCaseOutEquipment: (data = {}) => http.post("system/caseOutEquipment", data), // 申请mac地址授权
|
|
|
27
|
+ checkOutEquipment: (params = {}, config) => http.get("/system/caseOutEquipment/checkOutEquipment", { params, ...config }), // 检测外访设备是否有申请通过记录
|
|
|
28
|
+ concatRecord: (files, params = {}) => http.upload('/fileVisit/concatRecord', { files, params, name: 'files', timeout: 1000 * 60 * 10, custom: { loadingText: "上传中" } }), // 合并录音并上传
|
|
|
29
|
+ uploadFile: (url, params = {}) => http.upload('/file/aliossUpload', { filePath: url, params, name: "file", timeout: 1000 * 60 * 10, custom: { loadingText: "上传中" } }), // 上传文件
|
|
|
30
|
+ watermarkUpload: (url, params = {}) => http.upload('/fileVisit/watermarkUpload', { filePath: url, params, name: "file", timeout: 1000 * 60 * 10, custom: { loadingText: "上传中" } }), // 上传文件
|
|
|
31
|
+ getOutPolyline: (params = {}) => http.get("/system/caseOutPolyline/getOutPolyline", { params, custom: { loading: false } }), // 请求外访轨迹列表
|
|
|
32
|
+ addOutPolyline: (data = {}) => http.post("/system/caseOutPolyline/addOutPolyline", data, { custom: { loading: false } }), // 添加外访轨迹
|
|
|
33
|
+ updateUserPwd: (params = {}) => http.put("/system/user/profile/updatePwd?" + qs.stringify(params)), // 更新用户密码
|
|
|
34
|
+ getSysVersion: (params = {}, config = {}) => http.get("/system/sysVersion/getSysVersion", { params, ...config, timeout: 2000 }), // 版本更新
|
|
|
35
|
+ getBankDebtRule: (params = {}, config = {}) => http.get('/system/bankInfo/getBankDebtRule', { params, ...config }), // 获取委托方催收规则
|
|
|
36
|
+ getBankContent: (params = {}, config = {}) => http.get('/system/bankInfo/getBankContent', { params, ...config }), // 催收状态
|
|
|
37
|
+ getCofCallOutBindByUserId: (params = {}, config = {}) => http.get('/system/cofCallOutBind/getCofCallOutBindByUserId', { params, ...config }), // 获取分机号
|
|
|
38
|
+ getCofShortcuts: (params = {}, config = {}) => http.get('/system/cofShortcuts/list', { params, ...config }), // 获取键盘速填
|
|
|
39
|
+ getCofInfo: (params, config = {}) => http.get('/system/user/getCofInfo', { params, ...config }), // 获取权限
|
|
|
40
|
+ extensionNumberState: (params, config = {}) => http.get("http://8.134.50.217:10085/cc/extensionNumberState", { params, custom: { loading: false } }), // 获取来电关联案件
|
|
|
41
|
+ getSm4En: (str, config = {}) => http.get(store.state.user.path + '/caseMainInfo/getSm4En', { params: { str }, custom: { loading: false } }), // sm4加密
|
|
|
42
|
+ setAPPLoginLimit: (params, config = {}) => http.get('/system/user/setAPPLoginLimit', { params, custom: { loading: false } }), // 设置设备码访问失败次数
|
|
|
43
|
+ getAPPLoginLimit: (params, config = {}) => http.get('/system/user/getAPPLoginLimit', { params, custom: { loading: false }, timeout: 1000 }), // 获取设备码访问失败次数
|
|
|
44
|
+ getExtensionStatus: (params, config = {}) => http.get('/sip/JcSip/getExtensionStatus', { params, custom: { loading: false } }), // 获取分机的状态
|
|
|
45
|
+ setEffectiveCallerIdNumber: (params, config = {}) => http.get('/sip/JcSip/setEffectiveCallerIdNumber', { params, custom: { loading: false } }), // 固话设置号码
|
|
|
46
|
+ getExtensionByUserId: (params, config = {}) => http.get('/sip/exten/getExtensionByUserId', { params, custom: { loading: false } }), // 通过用户id获取分机
|
|
|
47
|
+ getLineByIds: (params, config = {}) => http.get('/sip/line/getLineByIds', { params, custom: { loading: false } }), // 根据线路获取线路
|
|
|
48
|
+ getCodeImg: (params, config = {}) => http.get('/code', { params, custom: { loading: false }, timeout: 1500 }), // 获取验证码(主要用于判断配置是否正确)
|
|
|
49
|
+ getAppSystemList: (params = {}, config = {}) => http.get('/system/sysVersion/getAppSystemList', { params, custom: { loading: false }, timeout: 1500 }), // 获取app的系统列表
|
|
|
50
|
+ changeOnlineStatus: (data, config = {}) => http.put('/system/user/changeStatus', data), // 用户状态修改
|
|
|
51
|
+ statisticsCaseState: (data, config = {}) => http.post(store.state.user.path + '/clueFixedFields/statisticsCaseState', data), // 统计线索阶段
|
|
|
52
|
+ statisticsAddClueCount: (data, config = {}) => http.post(store.state.user.path + '/clueMainInfo/statisticsAddClueCount', data), // 统计添加阶段
|
|
|
53
|
+ getClueMainInfoList: (params = {}, data = {}) => http.post(store.state.user.path + '/clueMainInfo/getClueMainInfoList?' + qs.stringify(params), data), // 线索列表
|
|
|
54
|
+ getUserByUserIds: (params) => http.get('/system/user/getUserByUserIds', { params }), //
|
|
|
55
|
+ getClueTagGroupVoList: (params = {}) => http.get(store.state.user.path + "/clueTagGroup/getClueTagGroupVoList", { params }), // 获取线索标签;
|
|
|
56
|
+ getClueMainInfoVoById: (params = {}, config = {}) => http.get(store.state.user.path + "/clueMainInfo/getClueMainInfoVoById", { params, custom: { loading: false }, timeout: 1500 }), // 获取线索详情;
|
|
|
57
|
+ updateClueFixedFieldsClueState: (data, config = {}) => http.post(store.state.user.path + '/clueFixedFields/updateClueFixedFieldsClueState', data),
|
|
|
58
|
+ updateClueFixedFieldsAllTags: (data, config = {}) => http.post(store.state.user.path + '/clueFixedFields/updateClueFixedFieldsAllTags', data),
|
|
|
59
|
+ getClueMainInfoById: (params = {}, config = {}) => http.get(store.state.user.path + '/clueMainInfo/getClueMainInfoById', { params, ...config }),
|
|
|
60
|
+ getClueAdInfoByClueId: (params = {}, config = {}) => http.get(store.state.user.path + '/clueAdInfo/getClueAdInfoByClueId', { params, ...config }),
|
|
|
61
|
+ getClueFollowList: (params = {}, config = {}) => http.get(store.state.user.path + '/clueFollow/getClueFollowList', { params, ...config }),
|
|
|
62
|
+ deleteClueFollow: (data, config = {}) => http.post(store.state.user.path + '/clueFollow/deleteClueFollow', data),
|
|
|
63
|
+ updateClueFixedFieldsClueOwner: (data, config = {}) => http.post(store.state.user.path + '/clueFixedFields/updateClueFixedFieldsClueOwner', data),
|
|
|
64
|
+ addClueFollow: (data, config = {}) => http.post(store.state.user.path + '/clueFollow/addClueFollow', data),
|
|
|
65
|
+ getDictCascadeData: (params, config = {}) => http.get(store.state.user.path + '/dictCascadeData/list', { params, ...config }),
|
|
|
66
|
+ selectAllDeptList: (params, config = {}) => http.get('/system/dept/selectAllDeptList', { params, ...config }),
|
|
|
67
|
+ getIdByName: (params, config = {}) => http.get(store.state.user.path + "/clueMainInfo/getIdByName", { params, ...config }),
|
|
|
68
|
+ addClueMainInfo: (data, config = {}) => http.post(store.state.user.path + '/clueMainInfo/addClueMainInfo', data),
|
|
|
69
|
+ saveLog: (data, config = {}) => http.post("/system/access/saveLog", data, { custom: { loading: false } }),
|
|
|
70
|
+ saveClueFile: (data, config = {}) => http.post(store.state.user.path + '/clueFile/saveClueFile', data),
|
|
|
71
|
+ updateClueMainInfo: (data, config = {}) => http.post(store.state.user.path + '/clueMainInfo/updateClueMainInfo', data),
|
|
|
72
|
+ selectPromotionStats: (data, config = {}) => http.post(store.state.user.path + '/promotionStats/selectPromotionStats', data),
|
|
|
73
|
+ firstLogin: (data) => http.post('/system/user/firstLogin', data),
|
|
|
74
|
+ shiYuWxLoginGetInfo: (params) => http.get('/auth/shiYuWxLoginGetInfo', { params, custom: { noAuth: true } }),
|
|
|
75
|
+ deleteClueFile: (data) => http.delete(store.state.user.path + '/clueFile/deleteClueFile', data),
|
|
|
76
|
+ getCallClueFileByClueId: (params) => http.get(store.state.user.path + '/clueFile/getCallClueFileByClueId', { params, custom: { noAuth: true } }),
|
|
|
77
|
+ getClueSendFormCountByClueId: (params = {}, config = {}) => http.get(store.state.user.path + '/clueSendForm/getClueSendFormCountByClueId', { params }),
|
|
78
|
78
|
// 订单相关接口
|
|
79
|
|
- selectClueOrderFormList:(params={},data={})=>http.post(store.state.user.path + '/clueSendForm/list?' + qs.stringify(params),data),
|
|
80
|
|
- oderForm:(data={})=>http.post(store.state.user.path + '/clueSendForm/oderForm',data),
|
|
81
|
|
- updateTags:(data={})=>http.post(store.state.user.path + '/clueSendForm/updateTags',data),
|
|
82
|
|
- addOrderFollow:(data={})=>http.post(store.state.user.path + '/orderFollow/addOrderFollow',data),
|
|
83
|
|
- getOrderFollowListByOrderId:(params={})=>http.get(store.state.user.path + '/orderFollow/getOrderFollowListByOrderId',{params}),
|
|
84
|
|
- deleteOrder:(data={})=>http.post(store.state.user.path + '/clueSendForm/deleteOrder',data),
|
|
85
|
|
- updateOrderState:(data={})=>http.post(store.state.user.path + '/clueSendForm/updateOrderState',data),
|
|
86
|
|
- updateClueOrderForm:(data={})=>http.post(store.state.user.path + '/clueSendForm/updateClueOrderForm',data),
|
|
87
|
|
-
|
|
88
|
|
- getOrderFollowListByClueId:(params = {},config = {})=>http.get(store.state.user.path + '/orderFollow/getOrderFollowListByClueId',{ params }),
|
|
89
|
|
- getDuplicateOrderFollowListByClueId:(params = {},config = {})=>http.get(store.state.user.path + '/orderFollow/getDuplicateOrderFollowListByClueId',{ params }),
|
|
90
|
|
- deleteOrderFollow:(data,config={})=>http.post(store.state.user.path + '/orderFollow/deleteOrderFollow',data),
|
|
91
|
|
- getOrderFollowList:(params = {},config = {})=>http.get(store.state.user.path + '/orderFollow/getOrderFollowList',{ params }),
|
|
92
|
|
-
|
|
93
|
|
- selectCommissionList:(params={},data={})=>http.post(store.state.user.path + '/clueCommissionForm/list?' + qs.stringify(params),data),
|
|
94
|
|
- getClueSendFormVoByOrderId:(params = {},config = {})=>http.get(store.state.user.path + '/clueSendForm/getClueSendFormVoByOrderId',{ params }),
|
|
|
79
|
+ selectClueOrderFormList: (params = {}, data = {}) => http.post(store.state.user.path + '/clueSendForm/list?' + qs.stringify(params), data),
|
|
|
80
|
+ oderForm: (data = {}) => http.post(store.state.user.path + '/clueSendForm/oderForm', data),
|
|
|
81
|
+ updateTags: (data = {}) => http.post(store.state.user.path + '/clueSendForm/updateTags', data),
|
|
|
82
|
+ addOrderFollow: (data = {}) => http.post(store.state.user.path + '/orderFollow/addOrderFollow', data),
|
|
|
83
|
+ getOrderFollowListByOrderId: (params = {}) => http.get(store.state.user.path + '/orderFollow/getOrderFollowListByOrderId', { params }),
|
|
|
84
|
+ deleteOrder: (data = {}) => http.post(store.state.user.path + '/clueSendForm/deleteOrder', data),
|
|
|
85
|
+ updateOrderState: (data = {}) => http.post(store.state.user.path + '/clueSendForm/updateOrderState', data),
|
|
|
86
|
+ updateClueOrderForm: (data = {}) => http.post(store.state.user.path + '/clueSendForm/updateClueOrderForm', data),
|
|
|
87
|
+
|
|
|
88
|
+ getOrderFollowListByClueId: (params = {}, config = {}) => http.get(store.state.user.path + '/orderFollow/getOrderFollowListByClueId', { params }),
|
|
|
89
|
+ getDuplicateOrderFollowListByClueId: (params = {}, config = {}) => http.get(store.state.user.path + '/orderFollow/getDuplicateOrderFollowListByClueId', { params }),
|
|
|
90
|
+ deleteOrderFollow: (data, config = {}) => http.post(store.state.user.path + '/orderFollow/deleteOrderFollow', data),
|
|
|
91
|
+ getOrderFollowList: (params = {}, config = {}) => http.get(store.state.user.path + '/orderFollow/getOrderFollowList', { params }),
|
|
|
92
|
+
|
|
|
93
|
+ selectCommissionList: (params = {}, data = {}) => http.post(store.state.user.path + '/clueCommissionForm/list?' + qs.stringify(params), data),
|
|
|
94
|
+ getClueSendFormVoByOrderId: (params = {}, config = {}) => http.get(store.state.user.path + '/clueSendForm/getClueSendFormVoByOrderId', { params }),
|
|
95
|
95
|
// 跟进记录相关接口
|
|
96
|
|
- getDuplicateClueFollowByClueId:(params,config={})=>http.get(store.state.user.path + '/clueFollow/getDuplicateClueFollowByClueId',{params,...config}),
|
|
|
96
|
+ getDuplicateClueFollowByClueId: (params, config = {}) => http.get(store.state.user.path + '/clueFollow/getDuplicateClueFollowByClueId', { params, ...config }),
|
|
97
|
97
|
// 文件相关接口
|
|
98
|
|
- selectClueFileByDto:(data,config={})=>http.post(store.state.user.path + '/clueFile/selectClueFileByDto',data,config),
|
|
99
|
|
- updateClueFile:(data,config={})=>http.put(store.state.user.path + '/clueFile/updateClueFile',data),
|
|
100
|
|
- addReceiptForm:(data,config={})=>http.post(store.state.user.path + '/clueReceiptForm',data),
|
|
101
|
|
- updateReceiptForm:(data,config={})=>http.put(store.state.user.path + '/clueReceiptForm',data),
|
|
102
|
|
- listReceiptFormByOrderId:(orderFormId,config={})=>http.get(store.state.user.path + '/clueReceiptForm/listByOrderId/' + orderFormId),
|
|
103
|
|
- getReceiptForm:(id,config={})=>http.get(store.state.user.path + '/clueReceiptForm/' + id),
|
|
104
|
|
- delReceiptForm:(id,config={})=>http.delete(store.state.user.path + '/clueReceiptForm/' + id),
|
|
105
|
|
- saveClueOrderForm:(data={})=>http.post(store.state.user.path + '/clueSendForm/saveClueOrderForm',data),
|
|
106
|
|
- clueReceiptFormListByOrderId:(orderId,config={})=>http.get(store.state.user.path + '/clueReceiptForm/listByOrderId/' + orderId),
|
|
107
|
|
- clueCommissionAdd: (data={})=>http.post(store.state.user.path + '/clueCommissionForm',data),
|
|
108
|
|
- clueCommissionUpdate: (data={})=>http.put(store.state.user.path + '/clueCommissionForm',data),
|
|
109
|
|
- clueCommissionById: (id,config={})=>http.get(store.state.user.path + '/clueCommissionForm/' + id),
|
|
110
|
|
- clueCommissionRemove: (ids,config={})=>http.post(store.state.user.path + '/clueCommissionForm/remove',ids),
|
|
111
|
|
- getCustomerManagerAllList: ()=>http.post('/system/user/getCustomerManagerAllList'),
|
|
112
|
|
- getClueSendFormVoByOrderId: (params)=>http.get(store.state.user.path + '/clueSendForm/getClueSendFormVoByOrderId?' + qs.stringify(params)),
|
|
113
|
|
- statisticsSendStatus : (data,config = {})=>http.post(store.state.user.path + '/clueSendForm/statisticsSendStatus',data), // 统计线索阶段
|
|
|
98
|
+ selectClueFileByDto: (data, config = {}) => http.post(store.state.user.path + '/clueFile/selectClueFileByDto', data, config),
|
|
|
99
|
+ updateClueFile: (data, config = {}) => http.put(store.state.user.path + '/clueFile/updateClueFile', data),
|
|
|
100
|
+ addReceiptForm: (data, config = {}) => http.post(store.state.user.path + '/clueReceiptForm', data),
|
|
|
101
|
+ updateReceiptForm: (data, config = {}) => http.put(store.state.user.path + '/clueReceiptForm', data),
|
|
|
102
|
+ listReceiptFormByOrderId: (orderFormId, config = {}) => http.get(store.state.user.path + '/clueReceiptForm/listByOrderId/' + orderFormId),
|
|
|
103
|
+ getReceiptForm: (id, config = {}) => http.get(store.state.user.path + '/clueReceiptForm/' + id),
|
|
|
104
|
+ delReceiptForm: (id, config = {}) => http.delete(store.state.user.path + '/clueReceiptForm/' + id),
|
|
|
105
|
+ saveClueOrderForm: (data = {}) => http.post(store.state.user.path + '/clueSendForm/saveClueOrderForm', data),
|
|
|
106
|
+ clueReceiptFormListByOrderId: (orderId, config = {}) => http.get(store.state.user.path + '/clueReceiptForm/listByOrderId/' + orderId),
|
|
|
107
|
+ clueCommissionAdd: (data = {}) => http.post(store.state.user.path + '/clueCommissionForm', data),
|
|
|
108
|
+ clueCommissionUpdate: (data = {}) => http.put(store.state.user.path + '/clueCommissionForm', data),
|
|
|
109
|
+ clueCommissionById: (id, config = {}) => http.get(store.state.user.path + '/clueCommissionForm/' + id),
|
|
|
110
|
+ clueCommissionRemove: (ids, config = {}) => http.post(store.state.user.path + '/clueCommissionForm/remove', ids),
|
|
|
111
|
+ getCustomerManagerAllList: () => http.post('/system/user/getCustomerManagerAllList'),
|
|
|
112
|
+ getClueSendFormVoByOrderId: (params) => http.get(store.state.user.path + '/clueSendForm/getClueSendFormVoByOrderId?' + qs.stringify(params)),
|
|
|
113
|
+ statisticsSendStatus: (data, config = {}) => http.post(store.state.user.path + '/clueSendForm/statisticsSendStatus', data), // 统计线索阶段
|
|
114
|
114
|
|
|
115
|
115
|
// 支付相关接口
|
|
116
|
|
- saveOrderFileAndTransfer:(data={})=>http.post(store.state.user.path + '/storeInfo/saveOrderFileAndTransfer',data),
|
|
|
116
|
+ saveOrderFileAndTransfer: (data = {}) => http.post(store.state.user.path + '/storeInfo/saveOrderFileAndTransfer', data),
|
|
|
117
|
+
|
|
|
118
|
+ // 删除订单分成数据
|
|
|
119
|
+ deleteClueCommissionForm: (id, config = {}) => http.delete(store.state.user.path + '/clueCommissionForm/' + id),
|
|
|
120
|
+
|
|
117
|
121
|
}
|
|
118
|
122
|
}
|
|
119
|
123
|
|