|
|
@ -55,16 +55,14 @@ const schema = { |
|
|
|
}; |
|
|
|
|
|
|
|
const baseUrl = "settleaccount/centralized-control"; |
|
|
|
const queryUrl = `${baseUrl}/get-list`; |
|
|
|
const detailsUrl = `${baseUrl}/get/%s`; |
|
|
|
const createUrl = `${baseUrl}/create`; |
|
|
|
const updateUrl = `${baseUrl}/update/%s`; |
|
|
|
const queryUrl = "settleaccount/Job/list"; |
|
|
|
const deleteUrl = `${baseUrl}/delete-list`; |
|
|
|
const exportUrl = "settleaccount/pub_sa_detail_service/export"; |
|
|
|
const compareUrl = "settleaccount/pub_sa_detail_service/pub-sa-se-compare"; |
|
|
|
const queryMethod = "POST"; |
|
|
|
const detailsMethod = "POST"; |
|
|
|
const createMethod = "POST"; |
|
|
|
const updateMethod = "POST"; |
|
|
|
const deleteMethod = "POST"; |
|
|
|
const exportMethod = "POST"; |
|
|
|
const compareMethod = "POST"; |
|
|
|
|
|
|
|
export default function () { |
|
|
|
return { |
|
|
@ -131,14 +129,12 @@ export default function () { |
|
|
|
schema: schema, |
|
|
|
}, |
|
|
|
edit: { |
|
|
|
detailsUrl, |
|
|
|
createUrl, |
|
|
|
updateUrl, |
|
|
|
deleteUrl, |
|
|
|
detailsMethod, |
|
|
|
createMethod, |
|
|
|
updateMethod, |
|
|
|
exportUrl, |
|
|
|
compareUrl, |
|
|
|
deleteMethod, |
|
|
|
exportMethod, |
|
|
|
compareMethod, |
|
|
|
schema: schema, |
|
|
|
}, |
|
|
|
}; |
|
|
|