diff --git a/src/views/bigScreen/index_10dept.vue b/src/views/bigScreen/index_10dept.vue index c98cd4c0..5da64550 100644 --- a/src/views/bigScreen/index_10dept.vue +++ b/src/views/bigScreen/index_10dept.vue @@ -2,7 +2,7 @@
10车间生产数据看板
-
{{currentDay}} {{ currentTime }}
+
{{ currentDay }} {{ currentTime }}
@@ -15,10 +15,12 @@
-
- {{item.material_out_.name}}|{{ item.material_out_.specification }}|{{ item.material_out_.model }} - - {{item.count}} +
+ {{ item.material_out_name }} + + {{ item.count }}
@@ -31,8 +33,10 @@
- {{yesterdayObjet.物料名}} - {{yesterdayObjet.合格数}} + {{ yesterdayObjet.物料名 }} + {{ + yesterdayObjet.合格数 }}
@@ -44,9 +48,10 @@
- {{item.物料名}} - - {{item.合格数}} + {{ item.物料名 }} + + {{ item.合格数 }}
@@ -56,17 +61,16 @@
-
-
人员到岗 -
-
-
-
- +
+
人员到岗
+
+
+ +
+
@@ -76,8 +80,8 @@
- +
@@ -119,12 +123,12 @@ \ No newline at end of file diff --git a/src/views/bigScreen/index_6dept.vue b/src/views/bigScreen/index_6dept.vue index f91df96a..490f9b1b 100644 --- a/src/views/bigScreen/index_6dept.vue +++ b/src/views/bigScreen/index_6dept.vue @@ -14,13 +14,17 @@
-
- {{ item.number }} - - {{ item.count }} - +
+
+ {{ item.material_out_name }} + + {{ item.count }} + +
+
@@ -282,7 +286,12 @@ export default { refValue2: 'moocBox2', liData1: ['序号', '日期', '名称', '型号', '规格', '发货数量'], liData2: ['序号', '工序', '产品名称', '型号', '计划数量', '合格数量', '完成进度', '合格率'], - todayUtask: [], + todayMtask: [ + { material_out_name: '光纤预制棒|33*470|ZJ2|棒料成型', count: 300 }, + { material_out_name: '光纤预制棒|33*470|ZJ2|棒料成型', count: 300 }, + { material_out_name: '光纤预制棒|33*470|ZJ2|棒料成型', count: 300 }, + { material_out_name: '光纤预制棒|33*470|ZJ2|棒料成型', count: 300 }, + ], saleOutData: [], processData: [], time: null, @@ -338,7 +347,7 @@ export default { this.weekLast = last.getFullYear() + '-' + (last.getMonth() + 1) + '-' + last.getDate(); this.getsaleOut(); this.getMioItem();//发货情况 - this.getTodayUtask();//今日任务 + // this.getTodayMtask();//今日任务 //昨日工序进度 this.getMtask(); //时间 @@ -368,17 +377,23 @@ export default { }, 500) }, //今日任务 - getTodayUtask() { + getTodayMtask() { let that = this; let obj = {}; - obj.start_date__lte = this.today; - obj.end_date__gte = this.today; - obj.belong_dept__name = '6车间'; + obj.start_date = this.today; + obj.end_date = this.today; + obj.is_count_utask = true; + obj.mgroup__belong_dept__name = '6车间'; obj.page = 0; - that.$API.pm.utask.list.req(obj).then((res) => { - that.todayUtask = res; + that.$API.pm.mtask.list.req(obj).then((res) => { + that.todayMtask = res; console.log('今日任务:', res); }); + + // that.$API.pm.utask.list.req(obj).then((res) => { + // that.todayMtask = res; + // console.log('今日任务:', res); + // }); }, //发货情况 getMioItem() { diff --git a/src/views/bigScreen/index_7dept.vue b/src/views/bigScreen/index_7dept.vue index f0e63a7e..3a1281e0 100644 --- a/src/views/bigScreen/index_7dept.vue +++ b/src/views/bigScreen/index_7dept.vue @@ -12,13 +12,17 @@
今日任务
-
+
- {{ item.material_out_name }} - - {{ item.count }} - + style="width:50%;display:inline-block;height: 40px;line-height:40px;padding:0 20px;"> +
+ {{ item.material_out_name }} + + {{ item.count }} + +
+
@@ -537,7 +541,7 @@ export default { let obj = {}; obj.start_date = this.today; obj.end_date = this.today; - obj.belong_dept__name = '7车间'; + obj.mgroup__belong_dept__name = '7车间'; obj.page = 0; that.$API.pm.mtask.list.req(obj).then((res) => { that.todayMtask = res; @@ -616,6 +620,7 @@ export default { .bigdata { font-size: 24px; + box-sizing: border-box; } .boxlabel {