代码提交
This commit is contained in:
parent
fc9202ea14
commit
e944152cf6
|
|
@ -24,12 +24,11 @@ export function getPropertyById(id) {
|
||||||
*/
|
*/
|
||||||
export function getPropertiesByTypeId(typeId) {
|
export function getPropertiesByTypeId(typeId) {
|
||||||
return request({
|
return request({
|
||||||
url: `/material-mall/equipment/property/type/${typeId}`,
|
url: `/material-mall/equipment/property/getByType/${typeId}`,
|
||||||
method: 'get'
|
method: 'get'
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 根据装备类型ID查询特征值
|
* 根据装备类型ID查询特征值
|
||||||
* @param {Number} typeId - 装备类型ID
|
* @param {Number} typeId - 装备类型ID
|
||||||
|
|
@ -41,8 +40,6 @@ export function getPropertiesNameByTypeId(typeId) {
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 根据类型ID查询装备类型及其特征值(扁平化结果)
|
* 根据类型ID查询装备类型及其特征值(扁平化结果)
|
||||||
* @param {Number} typeId - 装备类型ID
|
* @param {Number} typeId - 装备类型ID
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue