import request from '@/utils/request'
|
|
// 查询配瓦规则列表
|
export function listTileMatchRules(query) {
|
return request({
|
url: '/da/tileMatchRules/list',
|
method: 'get',
|
params: query
|
})
|
}
|
|
export function listTileMatchRules2(query) {
|
return request({
|
url: '/da/tileMatchRules/list2',
|
method: 'get',
|
params: query
|
})
|
}
|
|
// 查询配瓦规则详细
|
export function getTileMatchRules(id) {
|
return request({
|
url: '/da/tileMatchRules/' + id,
|
method: 'get'
|
})
|
}
|
|
// 新增配瓦规则
|
export function addTileMatchRules(data) {
|
return request({
|
url: '/da/tileMatchRules',
|
method: 'post',
|
data: data
|
})
|
}
|
|
// 修改配瓦规则
|
export function updateTileMatchRules(data) {
|
return request({
|
url: '/da/tileMatchRules',
|
method: 'put',
|
data: data
|
})
|
}
|
|
// 删除配瓦规则
|
export function delTileMatchRules(id) {
|
return request({
|
url: '/da/tileMatchRules/' + id,
|
method: 'delete'
|
})
|
}
|
|
export function setBarcode(param) {
|
return request({
|
url: '/da/tileMatchRules/barcode',
|
method: 'get',
|
params: param
|
})
|
}
|
export function getCheckData(query) {
|
return request({
|
url: '/da/tileMatchRules/getCheckData',
|
method: 'get',
|
params: query
|
})
|
}
|