| | |
| | | method: 'post' |
| | | }) |
| | | } |
| | | |
| | | // 检查任务是否上传了知情同意书 |
| | | export function checkTaskConsentAttachment(taskId) { |
| | | return request({ |
| | | url: '/task/attachment/sync/task/check/' + taskId, |
| | | method: 'post' |
| | | }) |
| | | } |
| | | |
| | | // 检查任务是否重复(根据联系人电话和创建日期) |
| | | export function checkTaskDuplicate(phone, createDate) { |
| | | return request({ |
| | | url: '/task/checkDuplicate', |
| | | method: 'get', |
| | | params: { |
| | | phone: phone, |
| | | createDate: createDate |
| | | } |
| | | }) |
| | | } |
| | | |
| | | // 同步任务到旧系统(任务编号以T2开头时未同步,结算前自动触发) |
| | | export function syncTaskStatus(taskId) { |
| | | return request({ |
| | | url: '/task/syncServiceOrder/' + taskId, |
| | | method: 'post' |
| | | }) |
| | | } |