| | |
| | | } |
| | | |
| | | // 查询全部保险方案 |
| | | export function all (data) { |
| | | export function all (data, type) { |
| | | if (!type) { |
| | | data.status = 0 |
| | | } |
| | | return request.post('/business/solutions/list', data) |
| | | } |
| | | |
| | |
| | | export function getNewVersion (id) { |
| | | return request.get(`/business/solutions/getNewVersion?solutionId=${id}`) |
| | | } |
| | | |
| | | // 查询企业可使用方案(已签署) |
| | | export function getUseList (companyId, dateType) { |
| | | return request.get(`/business/solutions/getUseList?companyId=${companyId}&dateType=${dateType}`) |
| | | } |
| | | |
| | | // 根据ID删除 |
| | | export function deleteById (id) { |
| | | return request.get(`/business/solutions/delete/${id}`) |
| | | } |