装备类型配置页面,特征值部分未完成

This commit is contained in:
itcast 2025-10-14 22:24:33 +08:00
parent 52cb62467d
commit 3cd86b8df2
2 changed files with 990 additions and 192 deletions

View File

@ -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