MrShi
2024-02-22 e622bd5e3b2638b9ab9a712ed1160a66018d6fd7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
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)
}
<<<<<<< HEAD
 
// 根据历史版本查询当前最新启用版本
export function getNewVersion (id) {
    return request.get(`/business/solutions/getNewVersion?solutionId=${id}`)
}
=======
>>>>>>> c421d2deeec5530d8060d8e06b5b86bb02e72dbf