From fc27855f674afe4d361f73055301951cb6e13677 Mon Sep 17 00:00:00 2001 From: FCD <2453864257@qq.com> Date: Thu, 5 Feb 2026 11:09:14 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=9F=E4=BA=A7=E4=BA=A7=E7=BA=BF=E7=9C=8B?= =?UTF-8?q?=E6=9D=BF=E3=80=81=E7=99=BD=E5=9D=AF=E7=9C=8B=E6=9D=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/kanban/Packagingline.js | 8 + src/api/kanban/quality.js | 9 + src/router/index.js | 5 + src/views/kanban/productLine/index.vue | 420 +++++++++++++++++++++++++ src/views/kanban/quality/kanban1.vue | 2 +- 5 files changed, 443 insertions(+), 1 deletion(-) create mode 100644 src/views/kanban/productLine/index.vue diff --git a/src/api/kanban/Packagingline.js b/src/api/kanban/Packagingline.js index cff605f..e0d0eed 100644 --- a/src/api/kanban/Packagingline.js +++ b/src/api/kanban/Packagingline.js @@ -47,3 +47,11 @@ export function getProductionNumberPLC(data){ data: data }); } + +export function getProductionLineData(data){ + return request({ + url: '/mes/mesborad/getProductionLineData', + method: 'get', + data: data + }); +} diff --git a/src/api/kanban/quality.js b/src/api/kanban/quality.js index 31f1038..af251f0 100644 --- a/src/api/kanban/quality.js +++ b/src/api/kanban/quality.js @@ -111,3 +111,12 @@ export function getKBTest() { method: 'post' }); } + +// 白坯每月不合格数量 +export function getBpMonthNoOk(data) { + return request({ + url: '/quality/qcInterface/getBpMonthNoOk', + method: 'get', + data: data + }); +} diff --git a/src/router/index.js b/src/router/index.js index b6d75de..6888b1c 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -156,6 +156,11 @@ export const constantRoutes = [ component: () => import("@/views/kanban/Dryingprocess/index"), hidden: true, }, + { + path: "/kanban/productLine", + component: () => import("@/views/kanban/productLine/index"), + hidden: true, + }, // { // path: "/report/board/LeadershipViewCheart", // component: () => import("@/views/energy/LeadershipView/LeadershipViewChearts"), diff --git a/src/views/kanban/productLine/index.vue b/src/views/kanban/productLine/index.vue new file mode 100644 index 0000000..0b81a26 --- /dev/null +++ b/src/views/kanban/productLine/index.vue @@ -0,0 +1,420 @@ + + + + + + + + 产线生产看板 + {{ currentTime }} + + + + + + 总产线数 + 18 + + + 生产产线 + {{ productionLines.length }} + + + 计划总产量 + {{ planTotal }} + + + 实际完成产量 + {{ completeTotal }} + + + 完成比例 + {{ completeRate }} % + + + + + + {{ line.equipmentName }} + + {{ line.productName }} + + + 计划产量: + {{ line.planTotal }} + + + 当前产量: + + {{ line.completTotal || 0 }} + + + + + 产量完成率: + + {{ line.completionRate }}% + + + + + + + + + + + + + + + + diff --git a/src/views/kanban/quality/kanban1.vue b/src/views/kanban/quality/kanban1.vue index 31150d8..8e48d58 100644 --- a/src/views/kanban/quality/kanban1.vue +++ b/src/views/kanban/quality/kanban1.vue @@ -601,7 +601,7 @@ export default { }; myChart3.setOption(option3); // console.log(_this.selectxt) - getProMonthNoOk({ + getBpMonthNoOk({ typeCode: "produce", factoryCode: "ds_" + _this.selectxt, }).then((response) => {