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