From 952490f0d4037757909977e4df59494d7ef71ca9 Mon Sep 17 00:00:00 2001 From: helloDy <1615073571@qq.com> Date: Wed, 15 Nov 2023 14:30:28 +0800 Subject: [PATCH] =?UTF-8?q?24h,=E8=AE=BE=E5=A4=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.dev | 6 +- src/api/base/coreWorkOrder.js | 12 ++- src/api/equipment/base/inspection/record.js | 2 +- src/api/equipment/base/inspection/settings.js | 6 +- src/views/base/coreProduct/add-or-updata.vue | 14 +++- src/views/base/coreProductionLine/index.vue | 34 ++++++--- src/views/base/coreWorkOrder/detail.vue | 69 +++++++++++++---- src/views/base/coreWorkOrder/index.vue | 37 +++++++--- .../core/analysis/yieldAnalysis/index.vue | 65 +++++++--------- src/views/core/monitoring/data24/index.vue | 74 +++++++++++++------ .../base/inspection/Record/addRecord.vue | 14 +++- .../base/inspection/Record/index.vue | 17 +++-- 12 files changed, 230 insertions(+), 120 deletions(-) diff --git a/.env.dev b/.env.dev index d331d5a0..3e5a19da 100644 --- a/.env.dev +++ b/.env.dev @@ -1,7 +1,7 @@ ### # @Author: Do not edit # @Date: 2023-08-29 09:40:39 - # @LastEditTime: 2023-11-11 20:50:30 + # @LastEditTime: 2023-11-13 09:50:51 # @LastEditors: DY # @Description: ### @@ -18,8 +18,8 @@ VUE_APP_TITLE = MES系统 # VUE_APP_BASE_API = 'http://192.168.2.173:48080' # VUE_APP_BASE_API = 'http://192.168.1.49:48080' # VUE_APP_BASE_API = 'http://192.168.1.8:48080' -VUE_APP_BASE_API = 'http://192.168.0.33:48082' -# VUE_APP_BASE_API = 'http://192.168.1.56:48080' +# VUE_APP_BASE_API = 'http://192.168.0.33:48082' +VUE_APP_BASE_API = 'http://192.168.1.56:48080' # VUE_APP_BASE_API = 'http://192.168.4.159:48080' # 路由懒加载 VUE_CLI_BABEL_TRANSPILE_MODULES = true diff --git a/src/api/base/coreWorkOrder.js b/src/api/base/coreWorkOrder.js index 8f250b23..ce9cdf64 100644 --- a/src/api/base/coreWorkOrder.js +++ b/src/api/base/coreWorkOrder.js @@ -1,7 +1,7 @@ /* * @Author: Do not edit * @Date: 2023-10-21 11:50:46 - * @LastEditTime: 2023-11-06 17:49:42 + * @LastEditTime: 2023-11-15 10:44:41 * @LastEditors: DY * @Description: */ @@ -67,6 +67,14 @@ export function getCoreWOList(query) { }) } +// 根据工单id获得所有列表 +export function getCoreWOListById(ids) { + return request({ + url: '/base/core-work-order/list?ids='+ ids , + method: 'get' + }) +} + // 创建工单预使用原料 export function createCoreWOMa(data) { return request({ @@ -135,4 +143,4 @@ export function statusChange(data) { method: 'post', data: data }) -} \ No newline at end of file +} diff --git a/src/api/equipment/base/inspection/record.js b/src/api/equipment/base/inspection/record.js index 5c0e2cb2..7cf3941c 100644 --- a/src/api/equipment/base/inspection/record.js +++ b/src/api/equipment/base/inspection/record.js @@ -1,7 +1,7 @@ /* * @Author: Do not edit * @Date: 2023-11-08 15:56:52 - * @LastEditTime: 2023-11-11 19:52:54 + * @LastEditTime: 2023-11-13 09:15:17 * @LastEditors: DY * @Description: */ diff --git a/src/api/equipment/base/inspection/settings.js b/src/api/equipment/base/inspection/settings.js index 8d2ad8c9..4e1fd898 100644 --- a/src/api/equipment/base/inspection/settings.js +++ b/src/api/equipment/base/inspection/settings.js @@ -1,7 +1,7 @@ /* * @Author: Do not edit * @Date: 2023-11-08 15:56:52 - * @LastEditTime: 2023-11-10 09:04:50 + * @LastEditTime: 2023-11-13 08:52:12 * @LastEditors: DY * @Description: */ @@ -58,10 +58,10 @@ export function getCheckDetPage(query) { }) } -// 获得x巡检所有列表 +// 获得设备巡检所有列表 export function getcheckList(query) { return request({ - url: '/base/equipment-check/list', + url: '/base/equipment-check/listAll', method: 'get', params: query }) diff --git a/src/views/base/coreProduct/add-or-updata.vue b/src/views/base/coreProduct/add-or-updata.vue index d95df6d0..922ff0c2 100644 --- a/src/views/base/coreProduct/add-or-updata.vue +++ b/src/views/base/coreProduct/add-or-updata.vue @@ -2,7 +2,7 @@ * @Author: zwq * @Date: 2021-11-18 14:16:25 * @LastEditors: DY - * @LastEditTime: 2023-11-04 17:57:18 + * @LastEditTime: 2023-11-15 10:32:19 * @Description: -->