ludc
2024-02-04 934e4fe65e724e38f62fca7e4f1ee66ec95d04ac
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
import request from '@/router/axios';
 
export const getList = (page, limit, params) => {
  return request({
    url: '/api/ubcs-code/dockingManagement/gridSystemConfig',
    method: 'get',
    params: {
      ...params,
      page,
      limit
    }
  })
}
 
// 新增
export const add = (data) => {
  return request({
    url: '/api/ubcs-code/dockingManagement/addSaveSystemConfig',
    method: 'post',
    data
  })
}
// 修改
export const edit = (data) => {
  return request({
    url: '/api/ubcs-code/dockingManagement/editSystemConfig',
    method: 'post',
    data
  })
}
 
// 删除
export const del = (params) => {
  let url = '/api/ubcs-code/dockingManagement/deleteSystemConfigsById'
  return request({
    url,
    method: 'delete',
    params:{
      ...params
    }
  })
}
 
 
// 同步
export const push = (data) => {
  return request({
    url: '/api/ubcs-code/dockingManagement/pushData',
    method: 'post',
    data
  })
}
 
// 停用启用
export const updateStatus = (data) => {
  return request({
    url: '/api/ubcs-code/dockingManagement/updateStatus',
    method: 'post',
    data
  })
}
 
// header参数
export const HeaderRequest =(params) => {
  return request({
    url: '/api/ubcs-code/dockingManagement/gridHeader',
    method: 'get',
    ...params
  })
}
 
// 参数请求
export const ParmRequest =(params) => {
  return request({
    url: '/api/ubcs-code/dockingManagement/gridParam',
    method: 'get',
    ...params
  })
}