Browse Source

健康首页风机详情文字缺失bug修改

darker 3 years ago
parent
commit
8f42b3e533

+ 13 - 10
src/views/HealthControl/Health0.vue

@@ -62,11 +62,11 @@
             </span>
             <div class="fan-code">
               <div class="fan-code-text font-md green">{{value2}}</div>
-              <div class="fan-code-label font-md gray-l">高频:</div>
+              <div class="fan-code-label font-md gray-l" style="margin-left:20px">高频:</div>
               <div class="fan-code-value font-md green">{{stoptypemap && stoptypemap.top1type}}</div>
-              <div class="fan-code-label font-md gray-l">中频:</div>
+              <div class="fan-code-label font-md gray-l" style="margin-left:100px">中频:</div>
               <div class="fan-code-value font-md green">{{stoptypemap && stoptypemap.top2type}}</div>
-              <div class="fan-code-label font-md gray-l">低频:</div>
+              <div class="fan-code-label font-md gray-l" style="margin-left:65px">低频:</div>
               <div class="fan-code-value font-md green">{{stoptypemap && stoptypemap.top3type}}</div>
             </div>
             <!-- <span class="svg-icon svg-icon-white svg-icon-md mg-l-16">
@@ -810,6 +810,7 @@ export default {
              wtId : this.value2
         },
         success(res) {
+          console.log('findWtHealthInfo:',res)
           that.yxtableData.data = res.data.bjyxls;
           that.tableData2.data =  res.data.djpgls;
         },
@@ -848,6 +849,7 @@ export default {
     align-items: center;
 
     .fan-code {
+      width:76%;
       display: flex;
       align-items: center;
       background: #53626833;
@@ -865,20 +867,21 @@ export default {
             .fan-code-text {
                 padding-right: 20px;
                 border-right: 1px solid #536268;
-                overflow: hidden;
-                text-overflow:ellipsis;
+                // overflow: hidden;
+                // text-overflow:ellipsis;
                 white-space: nowrap;
             }
 
             .fan-code-label {
-                margin-left: 20px;
-                min-width: 50px;
+                // margin-left: 20px;
+                // min-width: 50px;
+                min-width:41px;
             }
 
             .fan-code-value {
-                margin-left: 20px;
-                overflow: hidden;
-                text-overflow:ellipsis;
+                // margin-left: 20px;
+                // overflow: hidden;
+                // text-overflow:ellipsis;
                 white-space: nowrap;
                 max-width: 112px;
 

+ 2 - 0
src/views/NewPages/alarm-center-1.vue

@@ -264,6 +264,7 @@ export default {
       });
       ////////
       const resData = data.data;
+      console.log('resData:',resData)
       // const resData =this.resdata;
       const column = this.columnObj;
       let dataAll = []; // 总数据集合
@@ -345,6 +346,7 @@ export default {
           root[f].fobj = fobj;
         }
       }
+      console.log('cascaderOptions:',cascaderOptions)
       this.cascaderOptions = cascaderOptions;
     },
   },

+ 1 - 0
src/views/allLifeManage/tab3.vue

@@ -211,6 +211,7 @@ export default {
             pagesize: 50000
           },
           success (res) {
+            console.log('resTable:',res)
             that.tableData.data = res.data.records;
           }
         });