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
import request from '@/utils/request'
// 查询列表
export function queryList(params) {
return request({
url: '/wbchemistrybaseinfo/queryWbChemistryBaseinfoByPagination',
method: 'get',
params
})
}
// 添加基础信息接口
export function add(data) {
return request({
url: '/wbchemistrybaseinfo/add',
method: 'post',
data,
headers: {
'Content-Type': 'application/json;charset=UTF-8'
}
})
}
// 根据id查询基础信息接口
export function getDetailById(id) {
return request({
url: '/wbchemistrybaseinfo/detail/' + id,
method: 'get'
})
}
// 编辑基础信息接口
export function updataInfo(data) {
return request({
url: '/wbchemistrybaseinfo/update',
method: 'put',
data,
headers: {
'Content-Type': 'application/json;charset=UTF-8'
}
})
}
// 逻辑删除基础信息接口
export function deleteLogical(id) {
return request({
url: '/wbchemistrybaseinfo/deleteLogical/' + id,
method: 'delete'
})
}
// 导出信息接口
export function exporTable(params) {
return request({
url: '/wbchemistrybaseinfo/export',
method: 'get',
params,
responseType: 'blob'
})
}