修改菜单,增加质量管理
This commit is contained in:
@@ -1,15 +1,15 @@
|
||||
/*
|
||||
* @Author: zwq
|
||||
* @Date: 2020-12-29 16:00:14
|
||||
* @LastEditors: Please set LastEditors
|
||||
* @LastEditTime: 2021-07-20 10:30:39
|
||||
* @LastEditors: zwq
|
||||
* @LastEditTime: 2022-03-03 13:57:00
|
||||
* @Description:
|
||||
*/
|
||||
import request from '@/utils/request'
|
||||
|
||||
export function workOrderList(data) { // 获取工单列表
|
||||
return request({
|
||||
url: '/order/work-order/page',
|
||||
url: '/api/order/work-order/page',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
@@ -20,7 +20,7 @@ export function workOrderDetail(id) { // 获取工单单条数据
|
||||
'id': id
|
||||
}
|
||||
return request({
|
||||
url: '/order/work-order/get',
|
||||
url: '/api/order/work-order/get',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
@@ -28,7 +28,7 @@ export function workOrderDetail(id) { // 获取工单单条数据
|
||||
|
||||
export function workOrderUpdate(data) { // 更新工单单条数据
|
||||
return request({
|
||||
url: '/order/work-order/update',
|
||||
url: '/api/order/work-order/update',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
@@ -36,7 +36,7 @@ export function workOrderUpdate(data) { // 更新工单单条数据
|
||||
|
||||
export function workOrderAdd(data) { // 新增工单单条数据
|
||||
return request({
|
||||
url: '/order/work-order/add',
|
||||
url: '/api/order/work-order/add',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
@@ -44,14 +44,14 @@ export function workOrderAdd(data) { // 新增工单单条数据
|
||||
|
||||
export function workOrderCode() { // 获取工单code
|
||||
return request({
|
||||
url: '/order/work-order/get-code',
|
||||
url: '/api/order/work-order/get-code',
|
||||
method: 'post'
|
||||
})
|
||||
}
|
||||
|
||||
export function workOrderDelete(id) { // 删除工单单条数据
|
||||
return request({
|
||||
url: '/order/work-order/delete',
|
||||
url: '/api/order/work-order/delete',
|
||||
method: 'post',
|
||||
data: { id }
|
||||
})
|
||||
@@ -59,7 +59,7 @@ export function workOrderDelete(id) { // 删除工单单条数据
|
||||
|
||||
export function workOrderIssueList(data) { // 获取工单下发列表
|
||||
return request({
|
||||
url: '/order/wo-sync/page',
|
||||
url: '/api/order/wo-sync/page',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
@@ -67,7 +67,7 @@ export function workOrderIssueList(data) { // 获取工单下发列表
|
||||
|
||||
export function packagingBoxList(data) { // 获取包装基板列表
|
||||
return request({
|
||||
url: '/order/wo-packaging-box-substrate/page',
|
||||
url: '/api/order/wo-packaging-box-substrate/page',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
@@ -75,7 +75,7 @@ export function packagingBoxList(data) { // 获取包装基板列表
|
||||
|
||||
export function packagingList(data) { // 获取包装标签列表
|
||||
return request({
|
||||
url: '/order/wo-packaging-box/page',
|
||||
url: '/api/order/wo-packaging-box/page',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
@@ -86,7 +86,7 @@ export function packagingDetail(id) { // 获取包装标签详情
|
||||
'id': id
|
||||
}
|
||||
return request({
|
||||
url: '/order/wo-packaging-box/get',
|
||||
url: '/api/order/wo-packaging-box/get',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
@@ -94,7 +94,7 @@ export function packagingDetail(id) { // 获取包装标签详情
|
||||
|
||||
export function syncAdd(data) { // 新增下发工单单条数据
|
||||
return request({
|
||||
url: '/order/wo-sync/add',
|
||||
url: '/api/order/wo-sync/add',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
@@ -102,7 +102,7 @@ export function syncAdd(data) { // 新增下发工单单条数据
|
||||
|
||||
export function packagingInventoryList(data) { // 获取包装清单列表
|
||||
return request({
|
||||
url: '/order/wo-packaging-box/page-for-inventory',
|
||||
url: '/api/order/wo-packaging-box/page-for-inventory',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
@@ -110,7 +110,7 @@ export function packagingInventoryList(data) { // 获取包装清单列表
|
||||
|
||||
export function updateForStatus(data) { // 激活
|
||||
return request({
|
||||
url: '/order/work-order/updateForStatus',
|
||||
url: '/api/order/work-order/updateForStatus',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user