7 changed files with 124 additions and 12 deletions
@ -0,0 +1,53 @@ |
|||||
|
import request from '@/utils/request' |
||||
|
|
||||
|
// 查询工作简报列表
|
||||
|
export function listGzjb(query) { |
||||
|
return request({ |
||||
|
url: '/build/gzjb/list', |
||||
|
method: 'post', |
||||
|
data: query |
||||
|
}) |
||||
|
} |
||||
|
|
||||
|
// 查询工作简报详细
|
||||
|
export function getGzjb(id) { |
||||
|
return request({ |
||||
|
url: '/build/gzjb/' + id, |
||||
|
method: 'get' |
||||
|
}) |
||||
|
} |
||||
|
|
||||
|
// 新增工作简报
|
||||
|
export function addGzjb(data) { |
||||
|
return request({ |
||||
|
url: '/build/gzjb', |
||||
|
method: 'post', |
||||
|
data: data |
||||
|
}) |
||||
|
} |
||||
|
|
||||
|
// 修改工作简报
|
||||
|
export function updateGzjb(data) { |
||||
|
return request({ |
||||
|
url: '/build/gzjb', |
||||
|
method: 'put', |
||||
|
data: data |
||||
|
}) |
||||
|
} |
||||
|
|
||||
|
// 删除工作简报
|
||||
|
export function delGzjb(id) { |
||||
|
return request({ |
||||
|
url: '/build/gzjb/' + id, |
||||
|
method: 'delete' |
||||
|
}) |
||||
|
} |
||||
|
|
||||
|
// 导出工作简报
|
||||
|
export function exportGzjb(query) { |
||||
|
return request({ |
||||
|
url: '/build/gzjb/export', |
||||
|
method: 'get', |
||||
|
params: query |
||||
|
}) |
||||
|
} |
Loading…
Reference in new issue