| ¶Ô±ÈÐÂÎļþ | 
|  |  |  | 
|---|
|  |  |  | import request from '../../utils/request' | 
|---|
|  |  |  |  | 
|---|
|  |  |  | // æ¥è¯¢ | 
|---|
|  |  |  | export function fetchList (data) { | 
|---|
|  |  |  | return request.post('/business/solutions/page', data, { | 
|---|
|  |  |  | trim: true | 
|---|
|  |  |  | }) | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | // å建 | 
|---|
|  |  |  | export function create (data) { | 
|---|
|  |  |  | return request.post('/business/solutions/create', data) | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | // æ¥è¯¢å
¨é¨ä¿é©æ¹æ¡ | 
|---|
|  |  |  | export function all (data) { | 
|---|
|  |  |  | return request.post('/business/solutions/list', data) | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | // ç¦ç¨å¯ç¨ | 
|---|
|  |  |  | export function updateStatus (data) { | 
|---|
|  |  |  | return request.post('/business/solutions/updateStatus', data) | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | // ä¿®æ¹ | 
|---|
|  |  |  | export function updateById (data) { | 
|---|
|  |  |  | return request.post('/business/solutions/updateById', data) | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | // æ ¹æ®IDæ¥è¯¢ | 
|---|
|  |  |  | export function solutionsId (id) { | 
|---|
|  |  |  | return request.get(`/business/solutions/${id}`) | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | // æ¥è¯¢ä¼ä¸å
¨é¨å
³èæ¹æ¡ | 
|---|
|  |  |  | export function listForCompany (data) { | 
|---|
|  |  |  | return request.post('/business/companySolution/listForCompany', data) | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | // æ ¹æ®åå²çæ¬æ¥è¯¢å½åææ°å¯ç¨çæ¬ | 
|---|
|  |  |  | export function getNewVersion (id) { | 
|---|
|  |  |  | return request.get(`/business/solutions/getNewVersion?solutionId=${id}`) | 
|---|
|  |  |  | } | 
|---|