Browse Source

1.默认麻黄山;2.评分没值时为0;3.加滚动条

mw_666 3 years ago
parent
commit
c9a1dabd4f

+ 2 - 1
src/views/HealthControl/assess/assessindex.vue

@@ -111,7 +111,7 @@ export default {
       hisDialogVisible: false,
       hisDialogTitle:"",
       ChangZhan: [],
-      value1: "XS_FDC",
+      value1: "MHS_FDC",
       date: "",
       shows: "d",
       showTitle: "风机日信息量化评级管理",
@@ -474,6 +474,7 @@ export default {
           data: data,
           success(res) {
             that.dialogData1 = [res.data.gaid1, res.data.gaid2];
+			console.log(that.dialogData1)
           }
         });
         that.API.requestData({

+ 1 - 1
src/views/HealthControl/dayinfo.vue

@@ -33,7 +33,7 @@
             <td class="white">{{item.name}}</td>
             <td class="white" v-for="row of gridDatas" :key="row">{{row[item.field]}}</td>
             <td class="white" v-for="row of gridDatas" :key="row">{{row[item.rank]}}</td>
-            <td class="white" v-for="row of gridDatas" :key="row">{{row[item.score]}}</td>
+            <td class="white" v-for="row of gridDatas" :key="row">{{row[item.score]?row[item.score]:0}}</td>
           </tr>
         </table>
       </div>

+ 4 - 3
src/views/LightMatrix1/LightMatrix1.vue

@@ -1,4 +1,5 @@
-<template>
+<template >
+	<el-scrollbar>
   <div class="light-matrix">
     <Row class="panel-2" type="">
       <Col :span="12" class="left-50-16">
@@ -190,6 +191,7 @@
       </div>
     </div>
   </div>
+  </el-scrollbar>
 </template>
 
 <script>
@@ -508,7 +510,6 @@ export default {
 <style lang="less" scoped>
 @panelHeight: 6.481vh;
 @titleHeight: 2.7778vh;
-
 .light-matrix {
   // width: calc(100% - 1.111vh);
   height: calc(100vh - 7.222vh);
@@ -802,4 +803,4 @@ export default {
     text-align: center;
   }
 }
-</style>
+</style>