提交 | 用户 | 时间
|
c3134f
|
1 |
import request from '@/config/axios' |
D |
2 |
|
|
3 |
export interface ProcessLogVO { |
|
4 |
id: string |
|
5 |
lsh : string |
|
6 |
rq: string |
|
7 |
xsmz: string |
|
8 |
xsmzName: string, |
|
9 |
xsl: number, |
|
10 |
bz: string, |
|
11 |
|
|
12 |
} |
|
13 |
|
|
14 |
export interface ProcessLogPageReqVO extends PageParam { |
|
15 |
xsmz?: string, |
|
16 |
startDate?: Date, |
|
17 |
endDate?: Date, |
|
18 |
} |
|
19 |
|
|
20 |
// 查询ProcessLog列表 |
|
21 |
export const getProcessLogPage = (params: ProcessLogPageReqVO) => { |
373c50
|
22 |
return request.get({ url: '/xmcpms/process/log/page', params }) |
c3134f
|
23 |
} |
D |
24 |
|
|
25 |
// 查询ProcessLog列表 |
|
26 |
export const getPointList = (params: ProcessLogPageReqVO) => { |
373c50
|
27 |
return request.get({ url: '/xmcpms/process/log/list', params }) |
c3134f
|
28 |
} |
D |
29 |
|
|
30 |
// 查询ProcessLog详情 |
|
31 |
export const getProcessLog = (id: number) => { |
373c50
|
32 |
return request.get({ url: `/xmcpms/process/log/info/${id}`}) |
c3134f
|
33 |
} |
D |
34 |
|
|
35 |
// 新增ProcessLog |
|
36 |
export const createProcessLog = (data: ProcessLogVO) => { |
373c50
|
37 |
return request.post({ url: '/xmcpms/process/log/create', data }) |
c3134f
|
38 |
} |
D |
39 |
|
|
40 |
// 修改ProcessLog |
|
41 |
export const updateProcessLog = (data: ProcessLogVO) => { |
373c50
|
42 |
return request.put({ url: '/xmcpms/process/log/update', data }) |
c3134f
|
43 |
} |
D |
44 |
|
|
45 |
// 删除ProcessLog |
|
46 |
export const deleteProcessLog = (id: number) => { |
373c50
|
47 |
return request.delete({ url: '/xmcpms/process/log/delete?id=' + id }) |
c3134f
|
48 |
} |
D |
49 |
|
|
50 |
//导出ProcessLogList |
|
51 |
export const exportProcessLog = (params) => { |
373c50
|
52 |
return request.download({ url: '/xmcpms/process/log/export', params }) |
c3134f
|
53 |
} |
D |
54 |
|
|
55 |
// 下载用户导入模板 |
|
56 |
export const importPointTemplate = () => { |
373c50
|
57 |
return request.download({ url: '/xmcpms/process/log/get-import-template' }) |
c3134f
|
58 |
} |