MrShi
2024-11-11 0da56b9186b6c63a587c36c2f3a1b30329281d28
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
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)
}
 
// 查询当前企业进行集团申请可以申请的企业
export function findAllCompanyList (data) {
    return request.post('/business/company/findAllCompanyList', data)
}
 
// 发起签署
export function getSignLink (id) {
    return request.get(`/business/companySolution/getSignLink?id=${id}`)
}