diff --git a/src/assets/css/reset.css b/src/assets/css/reset.css index 2ac2125..77f582c 100644 --- a/src/assets/css/reset.css +++ b/src/assets/css/reset.css @@ -81,10 +81,10 @@ li { html, body { width: 100%; height: 100%; - min-width: 1440px; - min-height: 789px; - /* width: 2560px; - height: 1440px; */ + /* min-width: 1440px; + min-height: 789px; */ + width: 1920px; + height: 1080px; } body { @@ -95,7 +95,7 @@ body { -ms-user-select:none;/*IE10*/ -khtml-user-select:none;/*早期浏览器*/ user-select:none; - background: #05032a center center / 100% 100% url(../../assets/images/bg.jpg) no-repeat; + background-color: #050830; } div, p { diff --git a/src/assets/js/getData0.js b/src/assets/js/getData0.js index b98e12d..54b4c74 100644 --- a/src/assets/js/getData0.js +++ b/src/assets/js/getData0.js @@ -1,4 +1,4 @@ -import {post} from './http.js' +// import {post} from './http.js' // 工序生产 // export const processProduction = () => post('/api/cockpit/processProduction', { @@ -8,225 +8,44 @@ export const processProduction = () => { "code": 200, "desc": "操作成功", "result": { - "BZ": { - "BZWeekList": [ - { - "device_name": null, - "plan_qty": 100000, - "real_qty": 100000, - "device_code": null, - "unqualified_qty": 0, - "qualified_qty": 100000, - "material_code": "GBMCZ3016M322210GM001ZJ22-8", - "region_code": null - }, - { - "device_name": null, - "plan_qty": 1000000, - "real_qty": 1000000, - "device_code": null, - "unqualified_qty": 0, - "qualified_qty": 1000000, - "material_code": "GBMAC3012C123117GM004BB22-30", - "region_code": null - }, - { - "device_name": null, - "plan_qty": 1100000, - "real_qty": 1099999, - "device_code": null, - "unqualified_qty": 300001, - "qualified_qty": 799999, - "material_code": "GBMCZ3004M123116GM002ZJ20-8", - "region_code": null - }, - { - "device_name": null, - "plan_qty": 20000, - "real_qty": 9012, - "device_code": null, - "unqualified_qty": 1001, - "qualified_qty": 9011, - "material_code": "ZLMCZ1001C122222GM001BD20-8", - "region_code": null - }, - { - "device_name": null, - "plan_qty": 10000000, - "real_qty": 555, - "device_code": null, - "unqualified_qty": 0, - "qualified_qty": 555, - "material_code": "GBMCZ3004M123093GM002ZJ20-30", - "region_code": null - } - ], - "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 - }, - "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 - }, "YZ": { - "yz_real_day": "0.00", + "yz_real_day": "5.35", "YZDayList": [ { - "plan_qty": 5184, - "real_qty": 0, - "qualified_qty": 0, - "unqualified_qty": 0, + "plan_qty": 33572, + "real_qty": 30669, + "qualified_qty": 19764, + "unqualified_qty": 905, "device_code": "YJ01", "material_code": null, "device_name": "压机1", "region_code": "YZ" }, { - "plan_qty": 0, - "real_qty": 0, - "qualified_qty": 0, - "unqualified_qty": 0, + "plan_qty": 15500, + "real_qty": 15060, + "qualified_qty": 5044, + "unqualified_qty": 16, "device_code": "YJ02", "material_code": null, "device_name": "压机2", "region_code": "YZ" }, { - "plan_qty": 5500, - "real_qty": 0, - "qualified_qty": 0, - "unqualified_qty": 0, + "plan_qty": 12500, + "real_qty": 5898, + "qualified_qty": 5761, + "unqualified_qty": 137, "device_code": "YJ03", "material_code": null, "device_name": "压机3", "region_code": "YZ" }, { - "plan_qty": 1440, - "real_qty": 0, - "qualified_qty": 0, - "unqualified_qty": 0, + "plan_qty": 2340, + "real_qty": 1902, + "qualified_qty": 1850, + "unqualified_qty": 52, "device_code": "YJ04", "material_code": null, "device_name": "压机4", @@ -293,12 +112,12 @@ export const processProduction = () => { "region_code": "YZ" } ], - "yz_plan_day": "1.21", + "yz_plan_day": "6.39", "YZWeekList": [ { "device_name": "压机1", - "plan_qty": 5184, - "real_qty": 0, + "plan_qty": 33572, + "real_qty": 30669, "device_code": "YJ01", "unqualified_qty": null, "qualified_qty": null, @@ -307,18 +126,18 @@ export const processProduction = () => { }, { "device_name": "压机2", - "plan_qty": 0, - "real_qty": 0, + "plan_qty": 15500, + "real_qty": 15060, "device_code": "YJ02", - "unqualified_qty": 0, - "qualified_qty": 0, + "unqualified_qty": null, + "qualified_qty": null, "material_code": null, "region_code": "YZ" }, { "device_name": "压机3", - "plan_qty": 5500, - "real_qty": 0, + "plan_qty": 12500, + "real_qty": 5898, "device_code": "YJ03", "unqualified_qty": null, "qualified_qty": null, @@ -327,8 +146,8 @@ export const processProduction = () => { }, { "device_name": "压机4", - "plan_qty": 1440, - "real_qty": 0, + "plan_qty": 2340, + "real_qty": 1902, "device_code": "YJ04", "unqualified_qty": null, "qualified_qty": null, @@ -402,8 +221,8 @@ export const processProduction = () => { "HLWeekList": [ { "device_name": "混料机1", - "plan_qty": 27000, - "real_qty": 0, + "plan_qty": 67000, + "real_qty": 45000, "device_code": "HLJ01", "unqualified_qty": null, "qualified_qty": null, @@ -412,8 +231,8 @@ export const processProduction = () => { }, { "device_name": "混料机2", - "plan_qty": 27000, - "real_qty": 0, + "plan_qty": 67000, + "real_qty": 42000, "device_code": "HLJ02", "unqualified_qty": null, "qualified_qty": null, @@ -422,8 +241,8 @@ export const processProduction = () => { }, { "device_name": "混料机3", - "plan_qty": 10000, - "real_qty": 0, + "plan_qty": 40000, + "real_qty": 23000, "device_code": "HLJ03", "unqualified_qty": null, "qualified_qty": null, @@ -432,8 +251,8 @@ export const processProduction = () => { }, { "device_name": "混料机4", - "plan_qty": 19000, - "real_qty": 0, + "plan_qty": 49000, + "real_qty": 32000, "device_code": "HLJ04", "unqualified_qty": null, "qualified_qty": null, @@ -443,7 +262,7 @@ export const processProduction = () => { { "device_name": "混料机5", "plan_qty": 5000, - "real_qty": 0, + "real_qty": 3000, "device_code": "HLJ05", "unqualified_qty": null, "qualified_qty": null, @@ -563,9 +382,9 @@ export const processProduction = () => { ], "HLDayList": [ { - "plan_qty": 27000, - "real_qty": 0, - "qualified_qty": 0, + "plan_qty": 67000, + "real_qty": 45000, + "qualified_qty": 21000, "unqualified_qty": 0, "device_code": "HLJ01", "material_code": null, @@ -573,9 +392,9 @@ export const processProduction = () => { "region_code": "HL" }, { - "plan_qty": 27000, - "real_qty": 0, - "qualified_qty": 0, + "plan_qty": 67000, + "real_qty": 42000, + "qualified_qty": 18000, "unqualified_qty": 0, "device_code": "HLJ02", "material_code": null, @@ -583,9 +402,9 @@ export const processProduction = () => { "region_code": "HL" }, { - "plan_qty": 10000, - "real_qty": 0, - "qualified_qty": 0, + "plan_qty": 40000, + "real_qty": 23000, + "qualified_qty": 18000, "unqualified_qty": 0, "device_code": "HLJ03", "material_code": null, @@ -593,9 +412,9 @@ export const processProduction = () => { "region_code": "HL" }, { - "plan_qty": 19000, - "real_qty": 0, - "qualified_qty": 0, + "plan_qty": 49000, + "real_qty": 32000, + "qualified_qty": 18000, "unqualified_qty": 0, "device_code": "HLJ04", "material_code": null, @@ -604,7 +423,7 @@ export const processProduction = () => { }, { "plan_qty": 5000, - "real_qty": 0, + "real_qty": 3000, "qualified_qty": 0, "unqualified_qty": 0, "device_code": "HLJ05", @@ -724,8 +543,189 @@ export const processProduction = () => { } ], "hl_productivity": 0, - "hl_plan_day": "88.00", - "hl_real_day": "0.00" + "hl_plan_day": "228.00", + "hl_real_day": "145.00" + }, + "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": { + "BZWeekList": [ + { + "device_name": null, + "plan_qty": 100000, + "real_qty": 100000, + "device_code": null, + "unqualified_qty": 0, + "qualified_qty": 100000, + "material_code": "GBMCZ3016M322210GM001ZJ22-8", + "region_code": null + }, + { + "device_name": null, + "plan_qty": 1000000, + "real_qty": 1000000, + "device_code": null, + "unqualified_qty": 0, + "qualified_qty": 1000000, + "material_code": "GBMAC3012C123117GM004BB22-30", + "region_code": null + }, + { + "device_name": null, + "plan_qty": 1100000, + "real_qty": 1099999, + "device_code": null, + "unqualified_qty": 300001, + "qualified_qty": 799999, + "material_code": "GBMCZ3004M123116GM002ZJ20-8", + "region_code": null + }, + { + "device_name": null, + "plan_qty": 20000, + "real_qty": 17999, + "device_code": null, + "unqualified_qty": 1001, + "qualified_qty": 10000, + "material_code": "ZLMCZ1001C122222GM001BD20-8", + "region_code": null + }, + { + "device_name": null, + "plan_qty": 10000, + "real_qty": 5550, + "device_code": null, + "unqualified_qty": 0, + "qualified_qty": 555, + "material_code": "GBMCZ3004M123093GM002ZJ20-30", + "region_code": null + } + ], + "bz_real_day": "222.35", + "bz_plan_day": "223.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": 17999, + "qualified_qty": 10000, + "unqualified_qty": 1001, + "device_code": null, + "material_code": "ZLMCZ1001C122222GM001BD20-8", + "device_name": null, + "region_code": null + }, + { + "plan_qty": 10000, + "real_qty": 5550, + "qualified_qty": 555, + "unqualified_qty": 0, + "device_code": null, + "material_code": "GBMCZ3004M123093GM002ZJ20-30", + "device_name": null, + "region_code": null + } + ], + "bz_productivity": 0 } } } diff --git a/src/images/bg_content.jpg b/src/images/bg_content.jpg new file mode 100644 index 0000000..fdea1f9 Binary files /dev/null and b/src/images/bg_content.jpg differ diff --git a/src/images/bg_header.jpg b/src/images/bg_header.jpg new file mode 100644 index 0000000..ecf469d Binary files /dev/null and b/src/images/bg_header.jpg differ diff --git a/src/images/bg_title_l.png b/src/images/bg_title_l.png new file mode 100644 index 0000000..26c9d1d Binary files /dev/null and b/src/images/bg_title_l.png differ diff --git a/src/images/bg_title_s.png b/src/images/bg_title_s.png new file mode 100644 index 0000000..46320e1 Binary files /dev/null and b/src/images/bg_title_s.png differ diff --git a/src/images/bg_title_tip.png b/src/images/bg_title_tip.png new file mode 100644 index 0000000..23ed926 Binary files /dev/null and b/src/images/bg_title_tip.png differ diff --git a/src/images/workshop/hlj.png b/src/images/workshop/hlj.png new file mode 100644 index 0000000..d8cf772 Binary files /dev/null and b/src/images/workshop/hlj.png differ diff --git a/src/images/workshop/hlj_s.png b/src/images/workshop/hlj_s.png new file mode 100644 index 0000000..b251ae4 Binary files /dev/null and b/src/images/workshop/hlj_s.png differ diff --git a/src/images/workshop/jzjcss_yellow.png b/src/images/workshop/jzjcss_yellow.png new file mode 100644 index 0000000..84b948e Binary files /dev/null and b/src/images/workshop/jzjcss_yellow.png differ diff --git a/src/images/workshop/lz.png b/src/images/workshop/lz.png new file mode 100644 index 0000000..f78e41f Binary files /dev/null and b/src/images/workshop/lz.png differ diff --git a/src/images/workshop/workshop_l.png b/src/images/workshop/workshop_l.png new file mode 100644 index 0000000..c51f0bd Binary files /dev/null and b/src/images/workshop/workshop_l.png differ diff --git a/src/images/workshop/workshop_r.png b/src/images/workshop/workshop_r.png new file mode 100644 index 0000000..bcffa19 Binary files /dev/null and b/src/images/workshop/workshop_r.png differ diff --git a/src/images/workshop/yyj_gray.png b/src/images/workshop/yyj_gray.png new file mode 100644 index 0000000..0e5cd1b Binary files /dev/null and b/src/images/workshop/yyj_gray.png differ diff --git a/src/pages/modules/homepage/one.vue b/src/pages/modules/homepage/one.vue new file mode 100644 index 0000000..8f0d151 --- /dev/null +++ b/src/pages/modules/homepage/one.vue @@ -0,0 +1,691 @@ + + + + + diff --git a/src/pages/modules/homepage/two.vue b/src/pages/modules/homepage/two.vue new file mode 100644 index 0000000..0d434b4 --- /dev/null +++ b/src/pages/modules/homepage/two.vue @@ -0,0 +1,474 @@ + + + + + diff --git a/src/pages/modules/processproduction/three.vue b/src/pages/modules/processproduction/three.vue index f146e73..3ecef85 100644 --- a/src/pages/modules/processproduction/three.vue +++ b/src/pages/modules/processproduction/three.vue @@ -6,8 +6,10 @@