jiangping
2025-06-30 2d15fa034660d03a84c1d51928ab28b9219f16f8
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
import request from '../../utils/request'
 
// 查询
export function fetchList (data) {
  return request.post('/business/companyDocuments/page', data, {
    trim: true
  })
}
 
// 创建
export function create (data) {
  return request.post('/business/companyDocuments/create', data)
}
 
// 修改
export function updateById (data) {
  return request.post('/business/companyDocuments/updateById', data)
}
 
// 删除
export function deleteById (id) {
  return request.get(`/business/companyDocuments/delete/${id}`)
}
 
// 批量删除
export function deleteByIdInBatch (ids) {
  return request.get('/business/companyDocuments/delete/batch', {
    params: {
      ids
    }
  })
}