50 lines
815 B
JavaScript
50 lines
815 B
JavaScript
/*
|
|
* @Author: gtz
|
|
* @Date: 2021-04-06 20:20:10
|
|
* @LastEditors: gtz
|
|
* @LastEditTime: 2021-04-07 16:14:47
|
|
* @Description: 工序管理 api
|
|
*/
|
|
|
|
import request from '@/utils/request'
|
|
|
|
export function list(data) {
|
|
return request({
|
|
url: '/process/work-sequence/page',
|
|
method: 'post',
|
|
data
|
|
})
|
|
}
|
|
|
|
export function getInfo(data) {
|
|
return request({
|
|
url: '/process/work-sequence/get',
|
|
method: 'post',
|
|
data
|
|
})
|
|
}
|
|
|
|
export function del(data) {
|
|
return request({
|
|
url: '/process/work-sequence/delete',
|
|
method: 'post',
|
|
data
|
|
})
|
|
}
|
|
|
|
export function update(data) {
|
|
return request({
|
|
url: '/process/work-sequence/update',
|
|
method: 'post',
|
|
data
|
|
})
|
|
}
|
|
|
|
export function add(data) {
|
|
return request({
|
|
url: '/process/work-sequence/add',
|
|
method: 'post',
|
|
data
|
|
})
|
|
}
|