MrShi
2024-01-26 d18f5f25d61df0edcb6d5fa1b79809ed7d41e1cc
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
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 updateById (data) {
    return request.post('/business/company/updateById', data)
}
 
// 查询全部数据(账号分配企业使用)
export function pageAll (data) {
    return request.post('/business/company/pageAll', data)
}
 
// 根据ID禁用启用
export function updateStatus (data) {
    return request.post('/business/company/updateStatus', data)
}
 
// 根据ID查询
export function getById (id) {
    return request.get(`/business/company/${id}`)
}