智慧运维前端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

68 lines
1.2 KiB

import request from '@/router/axios';
export const getList = (current, size, params) => {
return request({
url: '/api/smart/operationitem/list',
method: 'get',
params: {
...params,
current,
size,
}
})
}
export const getDetail = (id) => {
return request({
url: '/api/smart/operationitem/detail',
method: 'get',
params: {
id
}
})
}
export const getItemDetail = (id) => {
return request({
url: '/api/smart/operationitem/detail',
method: 'get',
params: {
id,
}
})
}
export const item_remove = (ids) => {
return request({
url: '/api/smart/operationitem/remove',
method: 'post',
params: {
ids,
}
})
}
export const item_add = (row) => {
return request({
url: '/api/smart/operationitem/submit',
method: 'post',
data: row
})
}
export const item_update = (row) => {
return request({
url: '/api/smart/operationitem/submit',
method: 'post',
data: row
})
}
export const item_getListByItemId = (operationTicketNo) => {
return request({
url: '/api/smart/operationitem/getList',
method: 'get',
params: {
operationTicketNo: operationTicketNo
}
})
}