87 lines
1.8 KiB
JavaScript
87 lines
1.8 KiB
JavaScript
import request from '@/utils/request'
|
|
|
|
// 获取目录
|
|
export function productList(query) {
|
|
return request({
|
|
url: '/redBook/redBook/productList',
|
|
method: 'get',
|
|
params: query
|
|
})
|
|
}
|
|
// 获取备注信息
|
|
export function productRemarkList(query) {
|
|
return request({
|
|
url: '/redBook/redBook/productRemarkList',
|
|
method: 'get',
|
|
params: query
|
|
})
|
|
}
|
|
// 获取型号
|
|
export function productXinghList(query) {
|
|
return request({
|
|
url: '/redBook/redBook/productXinghList',
|
|
method: 'get',
|
|
params: query
|
|
})
|
|
}
|
|
// 判断是否为父节点,如果有说明下面还有子类显示,如果没有则直接显示衍生型号
|
|
export function judgeparent(query) {
|
|
return request({
|
|
url: '/redBook/redBook/judgeparent',
|
|
method: 'get',
|
|
params: query
|
|
})
|
|
}
|
|
// 获取子类
|
|
export function productZlList(query) {
|
|
return request({
|
|
url: '/redBook/redBook/productZlList',
|
|
method: 'get',
|
|
params: query
|
|
})
|
|
}
|
|
|
|
// 判断是否存在衍生型号
|
|
export function productYsxhListCheck(query) {
|
|
return request({
|
|
url: '/redBook/redBook/productYsxhListCheck',
|
|
method: 'get',
|
|
params: query
|
|
})
|
|
}
|
|
|
|
// 获取衍生型号
|
|
export function productYsxhList(query) {
|
|
return request({
|
|
url: '/redBook/redBook/productYsxhList',
|
|
method: 'get',
|
|
params: query
|
|
})
|
|
}
|
|
// 判断是否存在截面
|
|
export function productJmListCheck(query) {
|
|
return request({
|
|
url: '/redBook/redBook/productJmListCheck',
|
|
method: 'get',
|
|
params: query
|
|
})
|
|
}
|
|
// 获取截面
|
|
export function productJmList(query) {
|
|
return request({
|
|
url: '/redBook/redBook/productJmList',
|
|
method: 'get',
|
|
params: query
|
|
})
|
|
}
|
|
//查询数据
|
|
export function searchData(query) {
|
|
return request({
|
|
url: '/redBook/redBook/searchData',
|
|
method: 'get',
|
|
params: query
|
|
})
|
|
}
|
|
|
|
|