diff --git a/acs/nladmin-ui/src/api/acs/produceshiftorder/produceshiftorder.js b/acs/nladmin-ui/src/api/acs/produceshiftorder/produceshiftorder.js new file mode 100644 index 0000000..955d1ec --- /dev/null +++ b/acs/nladmin-ui/src/api/acs/produceshiftorder/produceshiftorder.js @@ -0,0 +1,35 @@ +import request from '@/utils/request' + +export function add(data) { + return request({ + url: 'api/produceshiftorder', + method: 'post', + data + }) +} + +export function del(ids) { + return request({ + url: 'api/produceshiftorder/', + method: 'delete', + data: ids + }) +} + +export function finish(order_id) { + return request({ + url: 'api/produceshiftorder/finish/' + order_id, + method: 'post', + data: order_id + }) +} + +export function edit(data) { + return request({ + url: 'api/produceshiftorder', + method: 'put', + data + }) +} + +export default { add, edit, del, finish } diff --git a/acs/nladmin-ui/src/views/acs/instruction/index.vue b/acs/nladmin-ui/src/views/acs/instruction/index.vue index 7e82e25..960b244 100644 --- a/acs/nladmin-ui/src/views/acs/instruction/index.vue +++ b/acs/nladmin-ui/src/views/acs/instruction/index.vue @@ -110,7 +110,6 @@ - @@ -127,9 +126,10 @@ 失败 - - - + + + +