From d16434fc56a0f6d9e8a7d976f90f9f067cbcd841 Mon Sep 17 00:00:00 2001 From: loujf Date: Thu, 1 Dec 2022 16:39:16 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../produceshiftorder/produceshiftorder.js | 35 ++++ .../src/views/acs/instruction/index.vue | 10 +- .../src/views/acs/produceshiftorder/index.vue | 157 ++++++++++++++++++ .../src/views/acs/route/routeLine/index.vue | 1 + acs/nladmin-ui/src/views/acs/task/index.vue | 18 +- 5 files changed, 204 insertions(+), 17 deletions(-) create mode 100644 acs/nladmin-ui/src/api/acs/produceshiftorder/produceshiftorder.js create mode 100644 acs/nladmin-ui/src/views/acs/produceshiftorder/index.vue 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 @@ 失败 - - - + + + +