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.
74 lines
1.3 KiB
74 lines
1.3 KiB
1 week ago
|
import axios from '@/utils/request'
|
||
|
// 查询分页数据:
|
||
|
export const iwarnlist = (arg) => {
|
||
|
return axios.request({
|
||
|
url: '/iwarn/list',
|
||
|
method: 'get',
|
||
|
params: arg,
|
||
|
dataType: 'json',
|
||
|
})
|
||
|
}
|
||
|
export const iengineerlogList = (arg) => {
|
||
|
return axios.request({
|
||
|
url: '/iproductionplan/querywarn',
|
||
|
method: 'get',
|
||
|
params: arg,
|
||
|
dataType: 'json',
|
||
|
|
||
|
})
|
||
|
}
|
||
|
// 查询详情数据:
|
||
|
export const iengineerlogGetById = (arg) => {
|
||
|
return axios.request({
|
||
|
url: `/iengineerlog/getById`,
|
||
|
method: 'get',
|
||
|
params: arg,
|
||
|
dataType: 'json',
|
||
|
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// 添加数据:
|
||
|
export const iengineerlogAdd = (arg) => {
|
||
|
return axios.request({
|
||
|
url: '/iengineerlog/add',
|
||
|
method: 'post',
|
||
|
data: arg,
|
||
|
dataType: 'json',
|
||
|
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// 修改数据:
|
||
|
export const iengineerlogUpdate = (arg) => {
|
||
|
return axios.request({
|
||
|
url: '/iengineerlog/update',
|
||
|
method: 'put',
|
||
|
data: arg,
|
||
|
dataType: 'json',
|
||
|
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// 删除数据:
|
||
|
export const iengineerlogDelete = (arg) => {
|
||
|
return axios.request({
|
||
|
url: '/iwarn/delete',
|
||
|
method: 'delete',
|
||
|
params: {
|
||
|
id:arg.id[0]
|
||
|
},
|
||
|
dataType: 'json',
|
||
|
|
||
|
})
|
||
|
}
|
||
|
// 查询分页数据:
|
||
|
export const iproductionplanList = (arg) => {
|
||
|
return axios.request({
|
||
|
url: '/iproductionplan/list',
|
||
|
method: 'get',
|
||
|
params: arg,
|
||
|
dataType: 'json',
|
||
|
|
||
|
})
|
||
|
}
|