| | |
| | | data: data |
| | | }) |
| | | } |
| | | // ------------------------------- |
| | | // 分享 |
| | | export function share(data) { |
| | | return request({ |
| | | url: '/ZfDoctorShare/share', |
| | | method: 'post', |
| | | data: data |
| | | }) |
| | | } |
| | | // 查看分享给谁了什么数据 |
| | | export function shareToWho(data) { |
| | | return request({ |
| | | url: '/ZfDoctorShare/getInfoByUserId', |
| | | method: 'post', |
| | | data: data |
| | | }) |
| | | } |
| | | // 查看谁分享了数据 |
| | | export function getWhoShare() { |
| | | return request({ |
| | | url: '/ZfDoctorShare/getInfoByShareId', |
| | | method: 'get', |
| | | }) |
| | | } |
| | | // 下载分享的数据 |
| | | export function downShareData(data) { |
| | | return request({ |
| | | url: '/ZfDoctorShare/downloadDate', |
| | | method: 'post', |
| | | data: data |
| | | }) |
| | | } |
| | | // 收回分享数据 |
| | | export function deleteShareData(data) { |
| | | return request({ |
| | | url: '/ZfDoctorShare/deleteInfoByUserId', |
| | | method: 'post', |
| | | data: data |
| | | }) |
| | | } |
| | | // 展示下载的数据 |
| | | export function showShareData() { |
| | | return request({ |
| | | url: '/ZfDoctorShare/all', |
| | | method: 'get' |
| | | }) |
| | | } |
| | | |