| import request from '../../utils/request' | 
|   | 
| // 查询 | 
| export function fetchList (data) { | 
|     return request.post('/business/company/page', data, { | 
|         trim: true | 
|     }) | 
| } | 
|   | 
| // 创建 | 
| export function create (data) { | 
|     return request.post('/business/company/create', data) | 
| } | 
| export function createShop (data) { | 
|     return request.post('/business/company/createShop', data) | 
| } | 
|   | 
| // 修改 | 
| export function updateById (data) { | 
|     return request.post('/business/company/updateById', data) | 
| } | 
|   | 
|   | 
| export function pageAll (data) { | 
|     return request.post('/business/company/list', data) | 
| } | 
| // 查询全部数据(账号分配企业使用) | 
| export function allForFp (data) { | 
|     return request.post('/business/company/pageAll', data) | 
| } | 
|   | 
| // 根据ID禁用启用 | 
| export function updateStatus (data) { | 
|     return request.post('/business/company/updateStatus', data) | 
| } | 
|   | 
| export function exportComFiles (data) { | 
|     return request.post('/business/company/exportFiles', data, { | 
|         trim: true, | 
|         download: true | 
|     }) | 
| } | 
|   | 
| // 根据ID查询 | 
| export function getById (id) { | 
|     return request.get(`/business/company/${id}`) | 
| } | 
|   | 
| // 企业更换手机号 | 
| export function updatePhone (data) { | 
|     return request.post('/business/company/updatePhone', data) | 
| } | 
|   | 
| // 修改保险方案 | 
| export function updateSolutions (data) { | 
|     return request.post('/business/company/updateSolutions', data) | 
| } |