Merge branch 'projects/mes-test' into projects/mes-zhp
This commit is contained in:
@@ -27,7 +27,7 @@ export function getWorkOrderList(query) {
|
||||
|
||||
export function getCoreProduct(id) {
|
||||
return request({
|
||||
url: '/base/core-product/get?id=' + id,
|
||||
url: '/base/core-product-material/get?id=' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
@@ -44,11 +44,7 @@ export function updateRole(data) {
|
||||
}
|
||||
|
||||
// 角色状态修改
|
||||
export function changeRoleStatus(id, status) {
|
||||
const data = {
|
||||
id,
|
||||
status
|
||||
}
|
||||
export function changeRoleStatus(data) {
|
||||
return request({
|
||||
url: '/system/role/update-status',
|
||||
method: 'put',
|
||||
|
||||
Reference in New Issue
Block a user