excel导入
This commit is contained in:
38
src/api/productManagement/workplan_v2.js
Normal file
38
src/api/productManagement/workplan_v2.js
Normal file
@@ -0,0 +1,38 @@
|
||||
import request from '@/utils/request'
|
||||
import { downFile } from '@/utils/request'
|
||||
|
||||
export function getWorkplanList(query) {
|
||||
return request({
|
||||
url: '/mes/pro/workplan_v2/list',
|
||||
method: 'get',
|
||||
params: query,
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
|
||||
export function addNewworkplan(data) {
|
||||
return request({
|
||||
url: '/mes/pro/workplan_v2/addworkplan',
|
||||
method: 'post',
|
||||
data: data,
|
||||
contextType: 'application/json',
|
||||
})
|
||||
}
|
||||
|
||||
export function deleteworkplan(id) {
|
||||
return request({
|
||||
url: '/mes/pro/workplan_v2/deleteitem/' + id,
|
||||
method: 'get',
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
export function updateworkplan(data) {
|
||||
return request({
|
||||
url: '/mes/pro/workplan_v2/updateworkplan',
|
||||
method: 'post',
|
||||
data: data,
|
||||
contextType: 'application/json',
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user