沈丘营商办后台前端项目
王恒
4 天以前 4ebc73199bcd4b23739a2e1d22c372e8081310c5
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
import request from "@/utils/request";
 
// 查询计划管理列表
export function listManage(query: any) {
  return request({
    url: "/system/manage/list",
    method: "get",
    params: query,
  });
}
 
// 查询计划管理详细
export function getManage(id: any) {
  return request({
    url: "/system/manage/" + id,
    method: "get",
  });
}
 
// 新增计划管理
export function addManage(data: any) {
  return request({
    url: "/system/manage/add",
    method: "post",
    data: data,
  });
}
 
// 修改计划管理
export function updateManage(data: any) {
  return request({
    url: "/system/manage/upd",
    method: "post",
    data: data,
  });
}
 
// 删除计划管理
export function delManage(id: any) {
  return request({
    url: "/system/manage/" + id,
    method: "delete",
  });
}
 
// 下载模板 /system/manage/exportTemplate
export function exportTemplate(data: any) {
  return request({
    url: `/system/manage/exportTemplate`,
    method: 'get',
    params: data
  })
}
 
// 导出计划管理 /system/manage/exportTemplate
export function exportManage(data: any) {
    return request({
      url: `/system/manage/export `,
      method: 'get',
      params: data
    })
  }