| | |
| | | } |
| | | export const getUserInfo = () => { |
| | | return http({ |
| | | url: 'getUserInfo', |
| | | url: 'getUserInfo?timer='+Math.random(), |
| | | method: 'get' |
| | | }) |
| | | } |
| | |
| | | data |
| | | }) |
| | | } |
| | | |
| | | //加急 |
| | | export const jobUrge = (data) => { |
| | | return http({ |
| | | url: 'visitsAdmin/cloudService/web/pdaPlatform/jobUrge', |
| | | method: 'post', |
| | | data |
| | | }) |
| | | } |
| | | //退回签到 |
| | | export const backToWatiSign = (data) => { |
| | | return http({ |
| | | url: 'visitsAdmin/cloudService/web/pdaPlatform/backToWatiSign', |
| | | method: 'post', |
| | | data |
| | | }) |
| | | } |
| | | |
| | | // 完成作业 |
| | | export const finishWork = (data) => { |
| | | return http({ |
| | |
| | | method: 'get', |
| | | data |
| | | }) |
| | | } |
| | | // 恢复作业 |
| | | export const restoreWork = (data) => { |
| | | return http({ |
| | | url: 'visitsAdmin/cloudService/web/platformJob/restoreWork', |
| | | method: 'post', |
| | | data |
| | | }) |
| | | } |