You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
77 lines
1.4 KiB
77 lines
1.4 KiB
import request from '@/router/axios'; |
|
|
|
export const getList = (current, size, params) => { |
|
return request({ |
|
url: '/api/leger/dynamicledger/list', |
|
method: 'get', |
|
params: { |
|
...params, |
|
current, |
|
size, |
|
} |
|
}) |
|
} |
|
|
|
export const getDetail = (id) => { |
|
return request({ |
|
url: '/api/leger/dynamicledger/detail', |
|
method: 'get', |
|
params: { |
|
id |
|
} |
|
}) |
|
} |
|
|
|
export const remove = (ids) => { |
|
return request({ |
|
url: '/api/leger/dynamicledger/remove', |
|
method: 'post', |
|
params: { |
|
ids, |
|
} |
|
}) |
|
} |
|
|
|
export const add = (row) => { |
|
return request({ |
|
url: '/api/leger/dynamicledger/submit', |
|
method: 'post', |
|
data: row |
|
}) |
|
} |
|
|
|
export const update = (row) => { |
|
return request({ |
|
url: '/api/leger/dynamicledger/submit', |
|
method: 'post', |
|
data: row |
|
}) |
|
} |
|
|
|
export const getWorkOrderbyKksEncoding = (kksEncoding) => { |
|
return request({ |
|
url: '/api/leger/dynamicledger/workOrder', |
|
method: 'get', |
|
params: { |
|
kksEncoding |
|
} |
|
}) |
|
} |
|
export const getworkticketbyKksEncoding = (kksEncoding) => { |
|
return request({ |
|
url: '/api/leger/dynamicledger/workticket', |
|
method: 'get', |
|
params: { |
|
kksEncoding |
|
} |
|
}) |
|
} |
|
export const getoperationbyKksEncoding = (kksEncoding) => { |
|
return request({ |
|
url: '/api/leger/dynamicledger/operation', |
|
method: 'get', |
|
params: { |
|
kksEncoding |
|
} |
|
}) |
|
}
|
|
|