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.

54 lines
1.3 KiB

3 years ago
import request from '@/utils/request'
import qs from 'qs';
// 条件查询
export function pagerList(data) {
return request({
url: '/base/v1/basemodelconfig/pagerList',data,
method: 'post',
headers: {'Content-Type': 'application/json'},
})
}
//添加
export function SaveList(data) {
return request({
url: '/base/v1/basemodelconfig/save',data,
method: 'post',
data: data,
headers: {'Content-Type': 'application/json'},
})
}
//修改
export function Update(data) {
return request({
url: `/base/v1/basemodelconfig/update/${data.sid}`,
method: 'post',
data: data,
headers: {'Content-Type': 'application/json'},
})
}
// 删除
export function deleteBySids(data) {
return request({
url: '/base/v1/basemodelconfig/deleteBySids?sids='+data,
method: 'DELETE',
data: qs.stringify(data),
})
}
// 详情和修改回显
export function details(data) {
return request({
url: '/base/v1/basemodelconfig/details/' +data,
method: 'get',
params: data
})
}
// 根据车型sid查询车型配置的内部编码
export function getnamesDown(data) {
return request({
url: '/base/v1/basemodelconfig/namesDown/',data,
method: 'get',
params: data
})
}