|
|
@ -3,7 +3,7 @@ import request from '@/utils/request' |
|
|
|
// 查询合同变更信息列表
|
|
|
|
export function listChange(query) { |
|
|
|
return request({ |
|
|
|
url: '/build/change/list', |
|
|
|
url: '/build/contractChange/list', |
|
|
|
method: 'post', |
|
|
|
data: query |
|
|
|
}) |
|
|
@ -12,7 +12,7 @@ export function listChange(query) { |
|
|
|
// 查询合同变更信息详细
|
|
|
|
export function getChange(id) { |
|
|
|
return request({ |
|
|
|
url: '/build/change/' + id, |
|
|
|
url: '/build/contractChange/' + id, |
|
|
|
method: 'get' |
|
|
|
}) |
|
|
|
} |
|
|
@ -20,7 +20,7 @@ export function getChange(id) { |
|
|
|
// 新增合同变更信息
|
|
|
|
export function addChange(data) { |
|
|
|
return request({ |
|
|
|
url: '/build/change', |
|
|
|
url: '/build/contractChange', |
|
|
|
method: 'post', |
|
|
|
data: data |
|
|
|
}) |
|
|
@ -29,7 +29,7 @@ export function addChange(data) { |
|
|
|
// 修改合同变更信息
|
|
|
|
export function updateChange(data) { |
|
|
|
return request({ |
|
|
|
url: '/build/change', |
|
|
|
url: '/build/contractChange', |
|
|
|
method: 'put', |
|
|
|
data: data |
|
|
|
}) |
|
|
@ -38,7 +38,7 @@ export function updateChange(data) { |
|
|
|
// 删除合同变更信息
|
|
|
|
export function delChange(id) { |
|
|
|
return request({ |
|
|
|
url: '/build/change/' + id, |
|
|
|
url: '/build/contractChange/' + id, |
|
|
|
method: 'delete' |
|
|
|
}) |
|
|
|
} |
|
|
@ -46,7 +46,7 @@ export function delChange(id) { |
|
|
|
// 导出合同变更信息
|
|
|
|
export function exportChange(query) { |
|
|
|
return request({ |
|
|
|
url: '/build/change/export', |
|
|
|
url: '/build/contractChange/export', |
|
|
|
method: 'get', |
|
|
|
params: query |
|
|
|
}) |
|
|
|