Parcourir la source

修改看板字体大小

callm il y a 8 mois
Parent
commit
e913b36332

+ 1 - 1
src/components/prodlinechart/bottom2Chart/index.vue

@@ -42,7 +42,7 @@ export default {
     },
     async getdata() {
       //20220211 -+formatDate(new Date()
-      var caller = 'KB!UpLineTopFiveBad';
+      var caller = 'KB!LongLineTopFiveBad';
       await this.$http.get("kanban/datalist.action?caller="+caller+"&_noc=1&page=1&pageSize=100",
               {
                 params: {

+ 4 - 4
src/components/prodlinechart/up2Chart/index.vue

@@ -40,7 +40,7 @@
                       legend: {
                         bottom: "90%",
                         textStyle: {
-                          fontSize: 15
+                          fontSize: 20
                         }
                       },
                       grid: {
@@ -58,7 +58,7 @@
                           type:'category',
                           data:newData.yAxis,
                           axisLabel: {
-                            fontSize: 16,
+                            fontSize: 25,
                            // fontWeight: "bold"
                           }
                       },
@@ -70,7 +70,7 @@
                               label: {
                                 show: true,
                                 position: 'right',
-                                fontSize:14,
+                                fontSize:18,
                                 fontWeight: "bold",
                                 color:  "inherit"
                               },
@@ -86,7 +86,7 @@
                             label: {
                               show: true,
                               position: 'right',
-                              fontSize:14,
+                              fontSize:18,
                               fontWeight: "bold",
                               color:  "inherit"
                             },

+ 4 - 4
src/components/prodlinechart/up3Chart/index.vue

@@ -40,7 +40,7 @@
                       legend: {
                         bottom: "90%",
                         textStyle: {
-                          fontSize: 15
+                          fontSize: 20
                         }
                       },
                       grid: {
@@ -58,7 +58,7 @@
                           type:'category',
                           data:newData.yAxis,
                           axisLabel: {
-                            fontSize: 16,
+                            fontSize: 25,
                            // fontWeight: "bold"
                           }
                       },
@@ -70,7 +70,7 @@
                               label: {
                                 show: true,
                                 position: 'right',
-                                fontSize:14,
+                                fontSize:18,
                                 fontWeight: "bold",
                                 color:  "inherit"
                               },
@@ -86,7 +86,7 @@
                             label: {
                               show: true,
                               position: 'right',
-                              fontSize:14,
+                              fontSize:18,
                               fontWeight: "bold",
                               color:  "inherit"
                             },

+ 12 - 11
src/views/prodline/bottom1.vue

@@ -43,7 +43,7 @@ export default {
         headerBGC: '#0f1325', //表头
         oddRowBGC: '#0f1325', //奇数行
         evenRowBGC: '#171c33', //偶数行
-        columnWidth: [130,190, 180, 100, 120, 150,  260],
+        columnWidth: [130,190, 180, 120, 140, 180,  260],
         align: ['center','left','left','left','left','center','center','center','center']
       },
       timing: null,
@@ -77,17 +77,17 @@ export default {
                 for (let index = 0; index < dataList.length; index++) {
                   const element = dataList[index];
                   let item = new Array();
-                  item.push("<span  class='colorGrass fs-lg'>" + element.v_licode + "</span>");
-                  item.push("<span  class='colorGrass fs-lg'>" + element.v_macode + "</span>");
-                  item.push("<span  class='colorGrass fs-lg'>" + element.v_jitype + "</span>");
-                  item.push("<span  class='colorGrass fs-lg'>" + element.v_qty + "</span>");
+                  item.push("<span  class='colorGrass fs-xxl'>" + element.v_licode + "</span>");
+                  item.push("<span  class='colorGrass fs-xxl'>" + element.v_macode + "</span>");
+                  item.push("<span  class='colorGrass fs-xxl'>" + element.v_jitype + "</span>");
+                  item.push("<span  class='colorGrass fs-xxl'>" + element.v_qty + "</span>");
                   if (element.v_blstatus == '未领料') {  //98%
-                    item.push("<span  class='colorRemind fs-lgmd'>" + element.v_blstatus + "</span>");
+                    item.push("<span  class='colorRemind fs-xxl'>" + element.v_blstatus + "</span>");
                   } else {
-                    item.push("<span  class='colorGrass fs-lg'>" + element.v_blstatus + "</span>");
+                    item.push("<span  class='colorGrass fs-xxl'>" + element.v_blstatus + "</span>");
                   }
-                  item.push("<span  class='colorGrass fs-lg'>" + element.v_planoutqty + "</span>");
-                  item.push("<span  class='colorRemind fs-lg'>" + element.v_remark + "</span>");
+                  item.push("<span  class='colorGrass fs-xxl'>" + element.v_planoutqty + "</span>");
+                  item.push("<span  class='colorRemind fs-xxl'>" + element.v_remark + "</span>");
                   resultList.push(item);
                 }
                 const scrollBoard = this.$refs['scroll-board'];
@@ -120,18 +120,19 @@ $box-width: 100%;
 
     .text {
       color: #c3cbde;
-      //font-size: 15px;
+      font-size: 25px;
     }
 
     .body-box {
       width: $box-width;
 
       .dv-scroll-board .header {
-        font-size: 20px;
+        font-size: 25px;
       }
 
       .dv-scroll-board {
         height: 470px;
+
       }
     }
   }

+ 10 - 6
src/views/prodline/bottom2.vue

@@ -46,7 +46,7 @@ export default {
         headerBGC: '#0f1325', //表头
         oddRowBGC: '#0f1325', //奇数行
         evenRowBGC: '#171c33', //偶数行
-        columnWidth: [110,100,100,100],
+        columnWidth: [110,100,120,150],
         align: ['center']
       },
       timing:null,
@@ -83,12 +83,12 @@ export default {
                   const element = dataList[index];
                   let item = new Array();
                   item.push("<span  class='fs-md'>"+ element.v_wccode +"</span>");
-                  item.push("<span  class='colorGrass fs-md'>"+element.value+"</span>");
-                  item.push("<span  class='colorGrass fs-md'>"+element.ngqty+"</span>");
+                  item.push("<span  class='colorGrass fs-xxl'>"+element.value+"</span>");
+                  item.push("<span  class='colorGrass fs-xxl'>"+element.ngqty+"</span>");
                   if(element.okrate<98) {  //98%
-                    item.push("<span  class='colorRed fs-md'>" + element.okrate + "</span>");
+                    item.push("<span  class='colorRed fs-xxl'>" + element.okrate + "</span>");
                   }else {
-                    item.push("<span  class='colorGrass fs-md'>" + element.okrate + "</span>");
+                    item.push("<span  class='colorGrass fs-xxl'>" + element.okrate + "</span>");
                   }
                   //item.push("<span  class='colorGrass fs-md'>"+element.ztrate+"</span>");
                   resultList.push(item);
@@ -131,10 +131,14 @@ $box-width: 100%;
       color: #FFE900;
     }
   }
+  .text {
+    color: #c3cbde;
+    font-size: 25px;
+  }
   .down{
     height: 200px;
     ::v-deep .dv-scroll-board .header{
-      font-size: 19px;
+      font-size: 23px;
     }
     .dv-scroll-board {
       height: 200px;

+ 5 - 3
src/views/prodline/up1.vue

@@ -57,8 +57,10 @@ export default {
         {
           id: 'centerRate1',
           tips: 60,
+
           colorData: {
             textStyle: '#31b4fb',
+
             series: {
               color: ['rgba(19,122,244,0.29)', 'transparent'],
               dataColor: {
@@ -174,7 +176,7 @@ export default {
                       textAlign: 'center',
                       content: '{nt}',
                       style: {
-                        fontSize: 26
+                        fontSize: 35
                       }
                     }
                   });
@@ -220,7 +222,7 @@ $box-width: 100%;
   }
   .text {
     color: #c3cbde;
-    //font-size: 15px;
+    font-size: 25px;
   }
   .body-box {
     border-radius: 10px;
@@ -274,7 +276,7 @@ $box-width: 100%;
         height: 120px;
         span {
           //margin-top: 8px;
-          font-size: 12px;
+          font-size: 20px;
           display: flex;
           justify-content: center;
         }

+ 2 - 1
src/views/prodline/up2.vue

@@ -96,7 +96,7 @@ $box-width: 100%;
 #up2 {
   padding: 13px;
   height: $box-height;
-  font-size: 32px;
+  font-size: 40px;
   width: $box-width;
   border-radius: 5px;
   .bg-color-black {
@@ -108,6 +108,7 @@ $box-width: 100%;
 
   .text {
     color: #c3cbde;
+    font-size: 25px;
   }
   .body-box {
     border-radius: 10px;

+ 2 - 1
src/views/prodline/up3.vue

@@ -96,7 +96,7 @@ $box-width: 100%;
 #up3 {
   padding: 13px;
   height: $box-height;
-  font-size: 32px;
+  font-size: 40px;
   width: $box-width;
   border-radius: 5px;
   .bg-color-black {
@@ -107,6 +107,7 @@ $box-width: 100%;
   }
   .text {
     color: #c3cbde;
+    font-size: 25px;
   }
   .body-box {
     border-radius: 10px;

+ 6 - 1
src/views/prodline/up4.vue

@@ -128,9 +128,10 @@ export default {
 $box-height: 430px;
 $box-width: 100%;
 #up4 {
+
   padding: 13px;
   height: $box-height;
- // font-size: 32px;
+  font-size: 32px;
   width: $box-width;
   border-radius: 5px;
   .bg-color-black {
@@ -138,6 +139,10 @@ $box-width: 100%;
     border-radius: 10px;
     padding: 5px;
   }
+  .text {
+    color: #c3cbde;
+    font-size: 25px;
+  }
   .body-box {
     display: flex;
     flex-wrap: wrap;

+ 1 - 1
vue.config.js

@@ -11,7 +11,7 @@ module.exports = {
   devServer: {
     proxy: {
       "/mes":{           // /proxy_url 这个用来和根路径 baseURL 进行匹配
-        target:'http://119.136.17.176:8099/mes',   // target: http://218.64.89.153:8099/mes/, 'http://localhost:8099/uas/' ,这个是填写跨域的请求域名+端口号,也就是要请求的URL(不包含URL路径)
+        target:'http://119.136.17.176:8099/mes',     // target: http://218.64.89.153:8099/mes/, 'http://localhost:8099/uas/' ,这个是填写跨域的请求域名+端口号,也就是要请求的URL(不包含URL路径)
         changeOrigin: true,  // 是否允许跨域请求,在本地会创建一个虚拟服务端,然后发送请求的数据,并同时接收请求的数据,这样服务端和服务端进行数据的交互就不会有跨域问题
         pathRewrite: {   // 路径重写
           '^/mes': '' // 替换target中的请求地址,原请求为 http://127.0.0.1:8000/kuayu 实际请求为 http://127.0.0.1:8000/proxy_url/kuayu