|
|
|
@ -1,6 +1,6 @@ |
|
|
|
|
import request from '@/router/axios'; |
|
|
|
|
|
|
|
|
|
export const getList = (current, size, params) => { |
|
|
|
|
export const parameters_getList = (current, size, params) => { |
|
|
|
|
return request({ |
|
|
|
|
url: '/api/techparameters/list', |
|
|
|
|
method: 'get', |
|
|
|
@ -12,7 +12,7 @@ export const getList = (current, size, params) => { |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
export const getDetail = (id) => { |
|
|
|
|
export const parameters_getDetail = (id) => { |
|
|
|
|
return request({ |
|
|
|
|
url: '/api/techparameters/detail', |
|
|
|
|
method: 'get', |
|
|
|
@ -22,7 +22,7 @@ export const getDetail = (id) => { |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
export const remove = (ids) => { |
|
|
|
|
export const parameters_remove = (ids) => { |
|
|
|
|
return request({ |
|
|
|
|
url: '/api/techparameters/remove', |
|
|
|
|
method: 'post', |
|
|
|
@ -32,7 +32,7 @@ export const remove = (ids) => { |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
export const add = (row) => { |
|
|
|
|
export const parameters_add = (row) => { |
|
|
|
|
return request({ |
|
|
|
|
url: '/api/techparameters/submit', |
|
|
|
|
method: 'post', |
|
|
|
@ -40,11 +40,22 @@ export const add = (row) => { |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
export const update = (row) => { |
|
|
|
|
export const parameters_update = (row) => { |
|
|
|
|
return request({ |
|
|
|
|
url: '/api/techparameters/submit', |
|
|
|
|
url: '/api/techparameters/update', |
|
|
|
|
method: 'post', |
|
|
|
|
data: row |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
export const parameters_getListBylegerId = (eqLedgerId) => { |
|
|
|
|
return request({ |
|
|
|
|
url: '/api/techparameters/getList', |
|
|
|
|
method: 'get', |
|
|
|
|
params: { |
|
|
|
|
eqLedgerId: eqLedgerId |
|
|
|
|
} |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|