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.
 
 
 
 
 

62 lines
1.1 KiB

import request from '@/utils/request'
// 查询合同基本信息列表
export function listInfo(query) {
return request({
url: '/build/contractInfo/list',
method: 'post',
data: query
})
}
export function listInfoByCode(query) {
return request({
url: '/build/contractInfo/listByNo',
method: 'post',
data: query
})
}
// 查询合同基本信息详细
export function getInfo(id) {
return request({
url: '/build/contractInfo/' + id,
method: 'get'
})
}
// 新增合同基本信息
export function addInfo(data) {
return request({
url: '/build/contractInfo',
method: 'post',
data: data
})
}
// 修改合同基本信息
export function updateInfo(data) {
return request({
url: '/build/contractInfo',
method: 'put',
data: data
})
}
// 删除合同基本信息
export function delInfo(id) {
return request({
url: '/build/contractInfo/' + id,
method: 'delete'
})
}
// 导出合同基本信息
export function exportInfo(query) {
return request({
url: '/build/contractInfo/export',
method: 'get',
params: query
})
}