Browse Source

联淦--SMT车间看板调整

xiaost 2 years ago
parent
commit
b2acd79100

+ 19 - 6
src/components/smtechart/up/up1Chart/chart.vue

@@ -60,7 +60,10 @@ export default {
             emphasis: {
               focus: 'series'
             },
-            data:[]
+            data:[],
+            itemStyle: {
+              color: '#31b4fb'
+            }
           },
           {
             name: '实际产量',
@@ -69,22 +72,30 @@ export default {
             emphasis: {
               focus: 'series'
             },
-            data: []
+            data: [],
+            itemStyle: {
+              color: '#afe6c2'
+            }
           },
           {
             name: '抛料PPM',
             type: 'line',
             data:[],
             yAxisIndex: 1,
+            symbolSize:14,
             itemStyle: {
-              normal: {
+              color: "rgba(156,107,211, 1)"
+            /*  normal: {
                 barBorderRadius: 5,
                 color: new this.$echarts.graphic.LinearGradient(0, 0, 0, 1, [
                   { offset: 0, color: "rgba(156,107,211,0.8)" },
                   { offset: 0.2, color: "rgba(156,107,211,0.5)" },
                   { offset: 1, color: "rgba(156,107,211,0.2)" }
                 ])
-              }
+              }*/
+            },
+            lineStyle: {
+              width: 5
             },
             emphasis: {
               focus: 'series'
@@ -129,7 +140,9 @@ export default {
                           xAxis0.push(element.v_hour);
                           //标准产量
                           series0.push(element.v_bbcl);
-                          //实际产量大于等于标准产量就是 产量达标 否则产量未达标,
+                          //实际产量
+                          series1.push(element.v_sjcl);
+                          /*实际产量大于等于标准产量就是 产量达标 否则产量未达标,
                           if(element.v_bbcl>element.v_sjcl) {
                             // series1.push(element.v_sjcl);
                             series1.push({
@@ -145,7 +158,7 @@ export default {
                                 color: '#37e66f'
                               }
                             });
-                          }
+                          }*/
                           //抛料PPM
                           series2.push(element.v_plppm);
                         }

+ 1 - 1
src/components/smtechart/up/up2Chart/chart.vue

@@ -83,7 +83,7 @@ export default {
             center: ['50%', '50%'],
             radius: '62%',
             min: 0,
-            max: 10000,
+            max: 1000,
             splitNumber: 10,
             axisLine: {
               lineStyle: {

+ 1 - 1
src/views/index.vue

@@ -29,7 +29,7 @@
           <div class="d-flex aside-width">
             <div class="react-left ml-4 react-l-s bg-color-blue">
               <span class="react-left"></span>
-              <span class="text">江西联淦电子科技有限公司</span>
+              <span class="text fw-b" style="font-size:24px;">江西联淦电子科技有限公司</span>
             </div>
             <div class="react-left ml-3">
               <span class="text">生产实况分析</span>

+ 12 - 1
src/views/smt/bottom1.vue

@@ -21,7 +21,17 @@ export default {
   data() {
     return {
       config: {
-        header: ['产线','产品编码','产品描述','当前工单','面别','当前进度','完工率','节拍时间','开始生产时间','预计完成时间','抛料PPM'],
+        header: [ '<span style="color:#dad052;font-weight:bold;font-size:17px;">产线',
+                  '<span style="color:#dad052;font-weight:bold;font-size:17px;">产品编码',
+                  '<span style="color:#dad052;font-weight:bold;font-size:17px;">产品描述',
+                  '<span style="color:#dad052;font-weight:bold;font-size:17px;">当前工单',
+                  '<span style="color:#dad052;font-weight:bold;font-size:17px;">面别',
+                  '<span style="color:#dad052;font-weight:bold;font-size:17px;">当前进度',
+                  '<span style="color:#dad052;font-weight:bold;font-size:17px;">完工率',
+                  '<span style="color:#dad052;font-weight:bold;font-size:17px;">节拍时间',
+                  '<span style="color:#dad052;font-weight:bold;font-size:17px;">开始生产时间',
+                  '<span style="color:#dad052;font-weight:bold;font-size:17px;">预计完成时间',
+                  '<span style="color:#dad052;font-weight:bold;font-size:17px;">抛料PPM'],
         data: [
         ],
         headerHeight: 35,
@@ -29,6 +39,7 @@ export default {
         oddRowBGC: '#0f1325', //奇数行
         evenRowBGC: '#171c33', //偶数行
         //index: true,
+        rowNum:7,
         columnWidth: [120,180,350,180,100,140,130,100,220,220,120],
         align: ['center']
       }

+ 1 - 1
src/views/smt/index.vue

@@ -29,7 +29,7 @@
           <div class="d-flex aside-width">
             <div class="react-left ml-4 react-l-s bg-color-blue">
               <span class="react-left"></span>
-              <span class="text">江西联淦电子科技有限公司</span>
+              <span class="text fw-b" style="font-size:24px;">江西联淦电子科技有限公司</span>
             </div>
             <div class="react-left ml-3">
               <span class="text">生产实况分析</span>

+ 9 - 6
src/views/smt/up2.vue

@@ -1,19 +1,19 @@
 <template>
     <div id="center">
         <div class="up">
-            <dv-border-box-10
-                    class="bg-color-black item"
+            <div
+                    class=" item"
                     v-for="item in titleItem"
                     :key="item.title"
             >
-                    <p class="ml-3 colorBlue fw-b fs-xxxl">{{ item.title }}</p>
+                    <p class="ml-3 colorText fw-b " style="font-size:23px;">{{ item.title }}</p>
                     <div>
                         <dv-digital-flop
                                 class="dv-dig-flop ml-1 mt-2 pl-3"
                                 :config="item.number"
                         />
                     </div>
-            </dv-border-box-10>
+            </div>
         </div>
         <div class="down">
             <div>
@@ -61,7 +61,10 @@
                                         textAlign: 'left',
                                         content: '{nt}',
                                         style: {
-                                            fontSize: 30
+                                            fontSize: 34,
+                                            fill: '#2e92e7',
+                                            fontWeight:'bold',
+                                           // fontFamily:'"Lucida Console", "Courier New", monospace'
                                         }
                                     }
                                 });
@@ -85,7 +88,7 @@
             display: flex;
             flex-wrap: wrap;
             justify-content: space-around;
-            margin: 70px 40px 0 40px;
+            margin: 70px 0px 0 0px;
             .bg-color-black {
                 background-color: rgba(19, 25, 47, 0.6) !important;
             }