planningBz.js
1.1 KB
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
import request from '@/utils/request'
// import request from '@/api/map'
// 规划查询
export function contractGetAll(data) {
return request({
url: '/cereInvestmentPlanningManagement/queryByPage',
method: 'post',
data
})
}
// 规划删除
export function contractDel(data) {
return request({
url: '/cereInvestmentPlanningManagement/deleteById',
method: 'post',
data
})
}
//规划新增
export function addList(data) {
return request({
url: '/cereInvestmentPlanningManagement/add',
method: 'post',
data
})
}
//规划编辑
export function updateList(data) {
return request({
url: '/cereInvestmentPlanningManagement/edit',
method: 'post',
data
})
}
//规划编制单条查询
export function queryById(data) {
return request({
url: '/cereInvestmentPlanningManagement/queryById',
method: 'post',
data
})
}
// 导入规划模板
export const excelAdd = (data = {}) => {
return request({
url: '/cereInvestmentPlanningManagement/excelAdd',
method: 'post',
data,
headers: {
'Content-type': 'multipart/form-data'
}
})
}