diff --git a/hw-ui/package.json b/hw-ui/package.json index 02684c3c..2c390794 100644 --- a/hw-ui/package.json +++ b/hw-ui/package.json @@ -61,6 +61,7 @@ "vue-cropper": "0.5.5", "vue-meta": "2.4.0", "vue-router": "3.4.9", + "vue-seamless-scroll": "^1.1.23", "vuedraggable": "2.24.3", "vuex": "3.6.0", "xlsx": "^0.18.5" diff --git a/hw-ui/src/api/board/fifthFloor.js b/hw-ui/src/api/board/fifthFloor.js new file mode 100644 index 00000000..32938244 --- /dev/null +++ b/hw-ui/src/api/board/fifthFloor.js @@ -0,0 +1,39 @@ +import request from '@/utils/request' + + + +// 获取计划 +export function getProductPlans(query) { + return request({ + url: '/mes/api/getProductPlans', + method: 'get', + params: query + }) +} + +// 开始/继续 +export function startNextProductPlanDetail(query) { + return request({ + url: '/mes/api/startNextProductPlanDetail', + method: 'post', + data: query + }) +} + +// 获取信息 +export function getNewestProductPlanDetail(query) { + return request({ + url: '/mes/api/getNewestProductPlanDetail/', + method: 'get', + params: query + }) +} + +// 完成 +export function completeProductPlanDetail(query) { + return request({ + url: '/mes/api/completeProductPlanDetail', + method: 'post', + data: query + }) +} diff --git a/hw-ui/src/assets/board/productionBg1.jpg b/hw-ui/src/assets/board/productionBg1.jpg new file mode 100644 index 00000000..098557c4 Binary files /dev/null and b/hw-ui/src/assets/board/productionBg1.jpg differ diff --git a/hw-ui/src/assets/board/warehouseBg1.jpg b/hw-ui/src/assets/board/warehouseBg1.jpg new file mode 100644 index 00000000..611238dd Binary files /dev/null and b/hw-ui/src/assets/board/warehouseBg1.jpg differ diff --git a/hw-ui/src/components/board/Chart.vue b/hw-ui/src/components/board/Chart.vue index c27ccfd8..f3452981 100644 --- a/hw-ui/src/components/board/Chart.vue +++ b/hw-ui/src/components/board/Chart.vue @@ -10,9 +10,11 @@ export default { data() { return { chart: null, + chartOption: {} } }, mounted() { + }, beforeDestroy() { if (!this.chart) { @@ -23,6 +25,7 @@ export default { }, methods: { setData(option) { + this.chartOption = option this.initChart(option) }, initChart(option) { diff --git a/hw-ui/src/views/board/fifthFloor/index.vue b/hw-ui/src/views/board/fifthFloor/index.vue index 15b72a78..25648325 100644 --- a/hw-ui/src/views/board/fifthFloor/index.vue +++ b/hw-ui/src/views/board/fifthFloor/index.vue @@ -5,26 +5,33 @@
工单信息
-
- +
+ + + + - + - + - - - - + - - + + + + + + + +
- 图纸下发 + 图纸下发 + 完成
@@ -55,11 +62,14 @@
+ + + @@ -102,24 +121,42 @@ width="120" > @@ -128,6 +165,15 @@
+
+
+ +
+
+ +
+
+
当日产量
@@ -138,19 +184,50 @@
首页 - 板材领料 + 条码打印 SOP预览 退出
+ + + + + + + + + + +
diff --git a/hw-ui/src/views/board/fourthFloor/assemble.vue b/hw-ui/src/views/board/fourthFloor/assemble.vue index a03925d6..491f5e2d 100644 --- a/hw-ui/src/views/board/fourthFloor/assemble.vue +++ b/hw-ui/src/views/board/fourthFloor/assemble.vue @@ -192,7 +192,7 @@ - + diff --git a/hw-ui/src/views/board/production/firstFloor.vue b/hw-ui/src/views/board/production/firstFloor.vue new file mode 100644 index 00000000..2ca3f779 --- /dev/null +++ b/hw-ui/src/views/board/production/firstFloor.vue @@ -0,0 +1,648 @@ + + + + diff --git a/hw-ui/src/views/board/warehouse/firstFloor.vue b/hw-ui/src/views/board/warehouse/firstFloor.vue new file mode 100644 index 00000000..e5794728 --- /dev/null +++ b/hw-ui/src/views/board/warehouse/firstFloor.vue @@ -0,0 +1,198 @@ + + + +