Merge branch 'master' of http://119.91.43.128:3001/sheng/mes-ui-d2
Some checks failed
Release pipeline / publish (push) Has been cancelled
Release pipeline / Always run job (push) Has been cancelled

This commit is contained in:
2026-06-02 16:00:24 +08:00

View File

@@ -2,7 +2,7 @@ import { request } from '@/api/_service'
const BASE = 'production_configuration/product_model/battery_model/'
function apiParams(method, data = {}) {
function apiParams (method, data = {}) {
return {
method: `production_master_data_product_management_product_list_${method}`,
platform: 'background',
@@ -10,7 +10,7 @@ function apiParams(method, data = {}) {
}
}
export function getProductList(data) {
export function getProductList (data) {
return request({
url: BASE + 'list',
method: 'get',
@@ -18,7 +18,7 @@ export function getProductList(data) {
})
}
export function createProduct(data) {
export function createProduct (data) {
return request({
url: BASE + 'create',
method: 'post',
@@ -26,7 +26,7 @@ export function createProduct(data) {
})
}
export function editProduct(data) {
export function editProduct (data) {
return request({
url: BASE + 'edit',
method: 'put',
@@ -34,7 +34,7 @@ export function editProduct(data) {
})
}
export function deleteProduct(data) {
export function deleteProduct (data) {
return request({
url: BASE + 'delete',
method: 'delete',