From dab2eba2bc815e9ba4e78683711380c7302c7ac4 Mon Sep 17 00:00:00 2001 From: xiangxy Date: Wed, 31 May 2023 09:45:28 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=A7=E5=B1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/js/getData0.js | 681 ++++++++++++ src/pages/modules/homepage/one2.vue | 1347 +++++++++++++++++++++++ src/pages/modules/homepage/two2.vue | 1533 +++++++++++++++++++++++++++ 3 files changed, 3561 insertions(+) create mode 100644 src/assets/js/getData0.js create mode 100644 src/pages/modules/homepage/one2.vue create mode 100644 src/pages/modules/homepage/two2.vue diff --git a/src/assets/js/getData0.js b/src/assets/js/getData0.js new file mode 100644 index 0000000..32e5e71 --- /dev/null +++ b/src/assets/js/getData0.js @@ -0,0 +1,681 @@ +import {post} from './http.js' + +// 工序生产 +// export const processProduction = () => post('/api/cockpit/processProduction', { +// }) +export const processProduction = () => { + let res = { + "code": 200, + "desc": "操作成功", + "result": { + "YZ": { + "yz_real_day": "1.59", + "YZDayList": [ + { + "plan_qty": 7694, + "real_qty": 7376, + "qualified_qty": 7359, + "unqualified_qty": 17, + "device_code": "YJ01", + "material_code": null, + "device_name": "压机1", + "region_code": "YZ" + }, + { + "plan_qty": 2500, + "real_qty": 2508, + "qualified_qty": 2500, + "unqualified_qty": 8, + "device_code": "YJ02", + "material_code": null, + "device_name": "压机2", + "region_code": "YZ" + }, + { + "plan_qty": 5500, + "real_qty": 5000, + "qualified_qty": 4888, + "unqualified_qty": 112, + "device_code": "YJ03", + "material_code": null, + "device_name": "压机3", + "region_code": "YZ" + }, + { + "plan_qty": 1440, + "real_qty": 1000, + "qualified_qty": 950, + "unqualified_qty": 50, + "device_code": "YJ04", + "material_code": null, + "device_name": "压机4", + "region_code": "YZ" + }, + { + "plan_qty": 0, + "real_qty": 0, + "qualified_qty": 0, + "unqualified_qty": 0, + "device_code": "YJ05", + "material_code": null, + "device_name": "压机5", + "region_code": "YZ" + }, + { + "plan_qty": 0, + "real_qty": 0, + "qualified_qty": 0, + "unqualified_qty": 0, + "device_code": "YJ06", + "material_code": null, + "device_name": "压机6", + "region_code": "YZ" + }, + { + "plan_qty": 0, + "real_qty": 0, + "qualified_qty": 0, + "unqualified_qty": 0, + "device_code": "YJ07", + "material_code": null, + "device_name": "压机7", + "region_code": "YZ" + }, + { + "plan_qty": 0, + "real_qty": 0, + "qualified_qty": 0, + "unqualified_qty": 0, + "device_code": "YJ08", + "material_code": null, + "device_name": "压机8", + "region_code": "YZ" + }, + { + "plan_qty": 0, + "real_qty": 0, + "qualified_qty": 0, + "unqualified_qty": 0, + "device_code": "YJ09", + "material_code": null, + "device_name": "压机9", + "region_code": "YZ" + }, + { + "plan_qty": 0, + "real_qty": 0, + "qualified_qty": 0, + "unqualified_qty": 0, + "device_code": "YJ10", + "material_code": null, + "device_name": "压机10", + "region_code": "YZ" + } + ], + "yz_plan_day": "1.71", + "YZWeekList": [ + { + "device_name": "压机1", + "plan_qty": 7694, + "real_qty": 7376, + "device_code": "YJ01", + "unqualified_qty": null, + "qualified_qty": null, + "material_code": null, + "region_code": "YZ" + }, + { + "device_name": "压机2", + "plan_qty": 2500, + "real_qty": 2508, + "device_code": "YJ02", + "unqualified_qty": null, + "qualified_qty": null, + "material_code": null, + "region_code": "YZ" + }, + { + "device_name": "压机3", + "plan_qty": 5500, + "real_qty": 5000, + "device_code": "YJ03", + "unqualified_qty": null, + "qualified_qty": null, + "material_code": null, + "region_code": "YZ" + }, + { + "device_name": "压机4", + "plan_qty": 1440, + "real_qty": 1000, + "device_code": "YJ04", + "unqualified_qty": null, + "qualified_qty": null, + "material_code": null, + "region_code": "YZ" + }, + { + "device_name": "压机5", + "plan_qty": 0, + "real_qty": 0, + "device_code": "YJ05", + "unqualified_qty": 0, + "qualified_qty": 0, + "material_code": null, + "region_code": "YZ" + }, + { + "device_name": "压机6", + "plan_qty": 0, + "real_qty": 0, + "device_code": "YJ06", + "unqualified_qty": 0, + "qualified_qty": 0, + "material_code": null, + "region_code": "YZ" + }, + { + "device_name": "压机7", + "plan_qty": 0, + "real_qty": 0, + "device_code": "YJ07", + "unqualified_qty": 0, + "qualified_qty": 0, + "material_code": null, + "region_code": "YZ" + }, + { + "device_name": "压机8", + "plan_qty": 0, + "real_qty": 0, + "device_code": "YJ08", + "unqualified_qty": 0, + "qualified_qty": 0, + "material_code": null, + "region_code": "YZ" + }, + { + "device_name": "压机9", + "plan_qty": 0, + "real_qty": 0, + "device_code": "YJ09", + "unqualified_qty": 0, + "qualified_qty": 0, + "material_code": null, + "region_code": "YZ" + }, + { + "device_name": "压机10", + "plan_qty": 0, + "real_qty": 0, + "device_code": "YJ10", + "unqualified_qty": 0, + "qualified_qty": 0, + "material_code": null, + "region_code": "YZ" + } + ], + "yz_productivity": 0 + }, + "HL": { + "HLWeekList": [ + { + "device_name": "混料机1", + "plan_qty": 42000, + "real_qty": 34500, + "device_code": "HLJ01", + "unqualified_qty": null, + "qualified_qty": null, + "material_code": null, + "region_code": "HL" + }, + { + "device_name": "混料机2", + "plan_qty": 42000, + "real_qty": 33000, + "device_code": "HLJ02", + "unqualified_qty": null, + "qualified_qty": null, + "material_code": null, + "region_code": "HL" + }, + { + "device_name": "混料机3", + "plan_qty": 25000, + "real_qty": 14000, + "device_code": "HLJ03", + "unqualified_qty": null, + "qualified_qty": null, + "material_code": null, + "region_code": "HL" + }, + { + "device_name": "混料机4", + "plan_qty": 34000, + "real_qty": 23000, + "device_code": "HLJ04", + "unqualified_qty": null, + "qualified_qty": null, + "material_code": null, + "region_code": "HL" + }, + { + "device_name": "混料机5", + "plan_qty": 5000, + "real_qty": 3000, + "device_code": "HLJ05", + "unqualified_qty": null, + "qualified_qty": null, + "material_code": null, + "region_code": "HL" + }, + { + "device_name": "混料机6", + "plan_qty": 0, + "real_qty": 0, + "device_code": "HLJ06", + "unqualified_qty": 0, + "qualified_qty": 0, + "material_code": null, + "region_code": "HL" + }, + { + "device_name": "混料机7", + "plan_qty": 0, + "real_qty": 0, + "device_code": "HLJ07", + "unqualified_qty": 0, + "qualified_qty": 0, + "material_code": null, + "region_code": "HL" + }, + { + "device_name": "混料机8", + "plan_qty": 0, + "real_qty": 0, + "device_code": "HLJ08", + "unqualified_qty": 0, + "qualified_qty": 0, + "material_code": null, + "region_code": "HL" + }, + { + "device_name": "混料机9", + "plan_qty": 0, + "real_qty": 0, + "device_code": "HLJ09", + "unqualified_qty": 0, + "qualified_qty": 0, + "material_code": null, + "region_code": "HL" + }, + { + "device_name": "混料机10", + "plan_qty": 0, + "real_qty": 0, + "device_code": "HLJ10", + "unqualified_qty": 0, + "qualified_qty": 0, + "material_code": null, + "region_code": "HL" + }, + { + "device_name": "混料机11", + "plan_qty": 0, + "real_qty": 0, + "device_code": "HLJ11", + "unqualified_qty": 0, + "qualified_qty": 0, + "material_code": null, + "region_code": "HL" + }, + { + "device_name": "混料机12", + "plan_qty": 0, + "real_qty": 0, + "device_code": "HLJ12", + "unqualified_qty": 0, + "qualified_qty": 0, + "material_code": null, + "region_code": "HL" + }, + { + "device_name": "混料机13", + "plan_qty": 0, + "real_qty": 0, + "device_code": "HLJ13", + "unqualified_qty": 0, + "qualified_qty": 0, + "material_code": null, + "region_code": "HL" + }, + { + "device_name": "混料机14", + "plan_qty": 0, + "real_qty": 0, + "device_code": "HLJ14", + "unqualified_qty": 0, + "qualified_qty": 0, + "material_code": null, + "region_code": "HL" + }, + { + "device_name": "混料机15", + "plan_qty": 0, + "real_qty": 0, + "device_code": "HLJ15", + "unqualified_qty": 0, + "qualified_qty": 0, + "material_code": null, + "region_code": "HL" + }, + { + "device_name": "混料机16", + "plan_qty": 0, + "real_qty": 0, + "device_code": "HLJ16", + "unqualified_qty": 0, + "qualified_qty": 0, + "material_code": null, + "region_code": "HL" + } + ], + "HLDayList": [ + { + "plan_qty": 42000, + "real_qty": 34500, + "qualified_qty": 10500, + "unqualified_qty": 0, + "device_code": "HLJ01", + "material_code": null, + "device_name": "混料机1", + "region_code": "HL" + }, + { + "plan_qty": 42000, + "real_qty": 33000, + "qualified_qty": 9000, + "unqualified_qty": 0, + "device_code": "HLJ02", + "material_code": null, + "device_name": "混料机2", + "region_code": "HL" + }, + { + "plan_qty": 25000, + "real_qty": 14000, + "qualified_qty": 9000, + "unqualified_qty": 0, + "device_code": "HLJ03", + "material_code": null, + "device_name": "混料机3", + "region_code": "HL" + }, + { + "plan_qty": 34000, + "real_qty": 23000, + "qualified_qty": 9000, + "unqualified_qty": 0, + "device_code": "HLJ04", + "material_code": null, + "device_name": "混料机4", + "region_code": "HL" + }, + { + "plan_qty": 5000, + "real_qty": 3000, + "qualified_qty": 0, + "unqualified_qty": 0, + "device_code": "HLJ05", + "material_code": null, + "device_name": "混料机5", + "region_code": "HL" + }, + { + "plan_qty": 0, + "real_qty": 0, + "qualified_qty": 0, + "unqualified_qty": 0, + "device_code": "HLJ06", + "material_code": null, + "device_name": "混料机6", + "region_code": "HL" + }, + { + "plan_qty": 0, + "real_qty": 0, + "qualified_qty": 0, + "unqualified_qty": 0, + "device_code": "HLJ07", + "material_code": null, + "device_name": "混料机7", + "region_code": "HL" + }, + { + "plan_qty": 0, + "real_qty": 0, + "qualified_qty": 0, + "unqualified_qty": 0, + "device_code": "HLJ08", + "material_code": null, + "device_name": "混料机8", + "region_code": "HL" + }, + { + "plan_qty": 0, + "real_qty": 0, + "qualified_qty": 0, + "unqualified_qty": 0, + "device_code": "HLJ09", + "material_code": null, + "device_name": "混料机9", + "region_code": "HL" + }, + { + "plan_qty": 0, + "real_qty": 0, + "qualified_qty": 0, + "unqualified_qty": 0, + "device_code": "HLJ10", + "material_code": null, + "device_name": "混料机10", + "region_code": "HL" + }, + { + "plan_qty": 0, + "real_qty": 0, + "qualified_qty": 0, + "unqualified_qty": 0, + "device_code": "HLJ11", + "material_code": null, + "device_name": "混料机11", + "region_code": "HL" + }, + { + "plan_qty": 0, + "real_qty": 0, + "qualified_qty": 0, + "unqualified_qty": 0, + "device_code": "HLJ12", + "material_code": null, + "device_name": "混料机12", + "region_code": "HL" + }, + { + "plan_qty": 0, + "real_qty": 0, + "qualified_qty": 0, + "unqualified_qty": 0, + "device_code": "HLJ13", + "material_code": null, + "device_name": "混料机13", + "region_code": "HL" + }, + { + "plan_qty": 0, + "real_qty": 0, + "qualified_qty": 0, + "unqualified_qty": 0, + "device_code": "HLJ14", + "material_code": null, + "device_name": "混料机14", + "region_code": "HL" + }, + { + "plan_qty": 0, + "real_qty": 0, + "qualified_qty": 0, + "unqualified_qty": 0, + "device_code": "HLJ15", + "material_code": null, + "device_name": "混料机15", + "region_code": "HL" + }, + { + "plan_qty": 0, + "real_qty": 0, + "qualified_qty": 0, + "unqualified_qty": 0, + "device_code": "HLJ16", + "material_code": null, + "device_name": "混料机16", + "region_code": "HL" + } + ], + "hl_productivity": 0, + "hl_plan_day": "148.00", + "hl_real_day": "107.50" + }, + "KC": { + "KCWeekList": [ + { + "region_in_qty": 9995000, + "region_out_qty": 5000, + "inventory_qty": 1000000, + "material_code": "成品1" + }, + { + "region_in_qty": 9995000, + "region_out_qty": 5000, + "inventory_qty": 1000000, + "material_code": "成品2" + }, + { + "region_in_qty": 9995000, + "region_out_qty": 5000, + "inventory_qty": 1000000, + "material_code": "成品3" + }, + { + "region_in_qty": 9995000, + "region_out_qty": 5000, + "inventory_qty": 1000000, + "material_code": "成品4" + }, + { + "region_in_qty": 9995000, + "region_out_qty": 5000, + "inventory_qty": 1000000, + "material_code": "成品5" + } + ], + "KCDayList": [ + { + "region_in_qty": 9995000, + "region_out_qty": 5000, + "inventory_qty": 1000000, + "material_code": "成品1" + }, + { + "region_in_qty": 9995000, + "region_out_qty": 5000, + "inventory_qty": 1000000, + "material_code": "成品2" + }, + { + "region_in_qty": 9995000, + "region_out_qty": 5000, + "inventory_qty": 1000000, + "material_code": "成品3" + }, + { + "region_in_qty": 9995000, + "region_out_qty": 5000, + "inventory_qty": 1000000, + "material_code": "成品4" + }, + { + "region_in_qty": 9995000, + "region_out_qty": 5000, + "inventory_qty": 1000000, + "material_code": "成品5" + } + ], + "in_qty": "100.00", + "inventory_qty": "90.00", + "inv_productivity": 80, + "in_productivity": 30, + "out_qty": "10.00", + "out_productivity": 60 + }, + "BZ": { + "bz_real_day": "220.96", + "bz_plan_day": "1222.00", + "BZDayList": [ + { + "plan_qty": 100000, + "real_qty": 100000, + "qualified_qty": 100000, + "unqualified_qty": 0, + "device_code": null, + "material_code": "GBMCZ3016M322210GM001ZJ22-8", + "device_name": null, + "region_code": null + }, + { + "plan_qty": 1000000, + "real_qty": 1000000, + "qualified_qty": 1000000, + "unqualified_qty": 0, + "device_code": null, + "material_code": "GBMAC3012C123117GM004BB22-30", + "device_name": null, + "region_code": null + }, + { + "plan_qty": 1100000, + "real_qty": 1099999, + "qualified_qty": 799999, + "unqualified_qty": 300001, + "device_code": null, + "material_code": "GBMCZ3004M123116GM002ZJ20-8", + "device_name": null, + "region_code": null + }, + { + "plan_qty": 20000, + "real_qty": 9012, + "qualified_qty": 9011, + "unqualified_qty": 1001, + "device_code": null, + "material_code": "ZLMCZ1001C122222GM001BD20-8", + "device_name": null, + "region_code": null + }, + { + "plan_qty": 10000000, + "real_qty": 555, + "qualified_qty": 555, + "unqualified_qty": 0, + "device_code": null, + "material_code": "GBMCZ3004M123093GM002ZJ20-30", + "device_name": null, + "region_code": null + } + ], + "bz_productivity": 0 + } + } + } + return res +} diff --git a/src/pages/modules/homepage/one2.vue b/src/pages/modules/homepage/one2.vue new file mode 100644 index 0000000..083c114 --- /dev/null +++ b/src/pages/modules/homepage/one2.vue @@ -0,0 +1,1347 @@ + + + + + diff --git a/src/pages/modules/homepage/two2.vue b/src/pages/modules/homepage/two2.vue new file mode 100644 index 0000000..74b1b9d --- /dev/null +++ b/src/pages/modules/homepage/two2.vue @@ -0,0 +1,1533 @@ + + + + +