mes-lqqt-ui/src/api/md/hetong.js
2025-03-11 11:05:17 +08:00

45 lines
743 B
JavaScript

import request from '@/utils/request'
// 查询合同管理列表
export function listHetong(query) {
return request({
url: '/md/hetong/list',
method: 'get',
params: query
})
}
// 查询合同管理详细
export function getHetong(id) {
return request({
url: '/md/hetong/' + id,
method: 'get'
})
}
// 新增合同管理
export function addHetong(data) {
return request({
url: '/md/hetong',
method: 'post',
data: data
})
}
// 修改合同管理
export function updateHetong(data) {
return request({
url: '/md/hetong',
method: 'put',
data: data
})
}
// 删除合同管理
export function delHetong(id) {
return request({
url: '/md/hetong/' + id,
method: 'delete'
})
}