From 8ccbc469e5b7fe75c75ed0a52d7738f58a209992 Mon Sep 17 00:00:00 2001 From: yinq Date: Fri, 10 May 2024 14:03:21 +0800 Subject: [PATCH] =?UTF-8?q?change=20-=20add=E5=B7=A5=E4=BD=8D=E7=AE=A1?= =?UTF-8?q?=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/mes/base/baseProductLine.js | 53 +++ src/views/mes/base/baseStation/index.vue | 435 +++++++++++++++++++++++ 2 files changed, 488 insertions(+) create mode 100644 src/api/mes/base/baseProductLine.js create mode 100644 src/views/mes/base/baseStation/index.vue diff --git a/src/api/mes/base/baseProductLine.js b/src/api/mes/base/baseProductLine.js new file mode 100644 index 0000000..e4eda65 --- /dev/null +++ b/src/api/mes/base/baseProductLine.js @@ -0,0 +1,53 @@ +import request from '@/utils/request' + +// 查询产线/工位信息列表 +export function listBaseProductLine(query) { + return request({ + url: '/mes/base/baseProductLine/list', + method: 'get', + params: query + }) +} + +// 查询产线/工位信息详细 +export function getBaseProductLine(objId) { + return request({ + url: '/mes/base/baseProductLine/' + objId, + method: 'get' + }) +} + +// 新增产线/工位信息 +export function addBaseProductLine(data) { + return request({ + url: '/mes/base/baseProductLine', + method: 'post', + data: data + }) +} + +// 修改产线/工位信息 +export function updateBaseProductLine(data) { + return request({ + url: '/mes/base/baseProductLine', + method: 'put', + data: data + }) +} + +// 删除产线/工位信息 +export function delBaseProductLine(objId) { + return request({ + url: '/mes/base/baseProductLine/' + objId, + method: 'delete' + }) +} + +// 查询产线/工位信息下拉框列表 +export function getBaseProductLineList(query) { + return request({ + url: '/mes/base/baseProductLine/getBaseProductLineList', + method: 'get', + params: query + }) +} diff --git a/src/views/mes/base/baseStation/index.vue b/src/views/mes/base/baseStation/index.vue new file mode 100644 index 0000000..1ba6e58 --- /dev/null +++ b/src/views/mes/base/baseStation/index.vue @@ -0,0 +1,435 @@ + + +