装备类型配置页面,特征值部分未完成
This commit is contained in:
parent
52cb62467d
commit
3cd86b8df2
|
|
@ -6,14 +6,14 @@ import request from '@/utils/request'
|
||||||
*/
|
*/
|
||||||
export function getPropertyList() {
|
export function getPropertyList() {
|
||||||
return request({
|
return request({
|
||||||
url: '/equipment/type/property/list',
|
url: '/material-mall/equipment/property/list',
|
||||||
method: 'get'
|
method: 'get'
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
export function getPropertyById(id) {
|
export function getPropertyById(id) {
|
||||||
return request({
|
return request({
|
||||||
url: `/equipment/type/property/${id}`,
|
url: `/material-mall/equipment/property/${id}`,
|
||||||
method: 'get'
|
method: 'get'
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
@ -24,7 +24,7 @@ export function getPropertyById(id) {
|
||||||
*/
|
*/
|
||||||
export function getPropertiesByTypeId(typeId) {
|
export function getPropertiesByTypeId(typeId) {
|
||||||
return request({
|
return request({
|
||||||
url: `/equipment/type/property/type/${typeId}`,
|
url: `/material-mall/equipment/property/type/${typeId}`,
|
||||||
method: 'get'
|
method: 'get'
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
@ -35,7 +35,7 @@ export function getPropertiesByTypeId(typeId) {
|
||||||
*/
|
*/
|
||||||
export function getTypeWithProperties(typeId) {
|
export function getTypeWithProperties(typeId) {
|
||||||
return request({
|
return request({
|
||||||
url: `/equipment/type/property/type-with-properties/${typeId}`,
|
url: `/material-mall/equipment/property/type-with-properties/${typeId}`,
|
||||||
method: 'get'
|
method: 'get'
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
@ -45,7 +45,7 @@ export function getTypeWithProperties(typeId) {
|
||||||
*/
|
*/
|
||||||
export function getAllTypesWithProperties() {
|
export function getAllTypesWithProperties() {
|
||||||
return request({
|
return request({
|
||||||
url: '/equipment/type/property/all-types-with-properties',
|
url: '/material-mall/equipment/property/all-types-with-properties',
|
||||||
method: 'get'
|
method: 'get'
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
@ -56,7 +56,7 @@ export function getAllTypesWithProperties() {
|
||||||
*/
|
*/
|
||||||
export function getTypeDetailWithProperties(typeId) {
|
export function getTypeDetailWithProperties(typeId) {
|
||||||
return request({
|
return request({
|
||||||
url: `/equipment/type/property/type-detail-with-properties/${typeId}`,
|
url: `/material-mall/equipment/property/type-detail-with-properties/${typeId}`,
|
||||||
method: 'get'
|
method: 'get'
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
@ -67,7 +67,7 @@ export function getTypeDetailWithProperties(typeId) {
|
||||||
*/
|
*/
|
||||||
export function addProperty(data) {
|
export function addProperty(data) {
|
||||||
return request({
|
return request({
|
||||||
url: '/equipment/type/property',
|
url: '/material-mall/equipment/property',
|
||||||
method: 'post',
|
method: 'post',
|
||||||
data
|
data
|
||||||
})
|
})
|
||||||
|
|
@ -79,7 +79,7 @@ export function addProperty(data) {
|
||||||
*/
|
*/
|
||||||
export function updateProperty(data) {
|
export function updateProperty(data) {
|
||||||
return request({
|
return request({
|
||||||
url: '/equipment/type/property',
|
url: '/material-mall/equipment/property',
|
||||||
method: 'put',
|
method: 'put',
|
||||||
data
|
data
|
||||||
})
|
})
|
||||||
|
|
@ -91,7 +91,7 @@ export function updateProperty(data) {
|
||||||
*/
|
*/
|
||||||
export function deleteProperty(id) {
|
export function deleteProperty(id) {
|
||||||
return request({
|
return request({
|
||||||
url: `/equipment/type/property/${id}`,
|
url: `/material-mall/equipment/property/${id}`,
|
||||||
method: 'delete'
|
method: 'delete'
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
|
||||||
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue