Просмотр исходного кода

对应值-获取时间列调整

LXXXY 5 лет назад
Родитель
Сommit
fb8c1f8079
1 измененных файлов с 7 добавлено и 5 удалено
  1. 7 5
      src/components/point/report/tabFunNumOverview.vue

+ 7 - 5
src/components/point/report/tabFunNumOverview.vue

@@ -19,17 +19,19 @@
             </el-tooltip>
           </template>
         </el-table-column>
-        <el-table-column prop='MeterFunc' label='表号-功能号' show-overflow-tooltip min-width="100" header-align='center'></el-table-column>
+        <el-table-column prop='MeterFunc' label='表号-功能号' show-overflow-tooltip min-width="100" header-align='left'></el-table-column>
         <el-table-column prop='Data.Data' label='查看分精度' show-overflow-tooltip min-width="90" header-align='center' align='center'>
           <template slot-scope="scope">
             <el-button style="padding:7px 15px;" @click="handleDrawer(scope.row, 0)"><i class="el-icon-s-data" style="font-size:15px;"></i></el-button>
           </template>
         </el-table-column>
-        <el-table-column prop='Data.Time' label='对应值 - 获取时间' show-overflow-tooltip min-width="230" header-align='center'>
+        <el-table-column prop='Data.Time' label='对应值 - 获取时间' show-overflow-tooltip min-width="270" header-align='center' align='center' style="position:relative;">
           <template slot-scope="scope">
-            <span style="line-height:29px;">{{ scope.row.Data? scope.row.Data.Data : '' }}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>
-            <span style="line-height:29px;">{{ scope.row.Data? scope.row.Data.Time: '' }}</span>
-            <el-button class="dialog-btn" style="float:right;" @click="refreshThisRow(scope.row)"><i class="el-icon-refresh"></i></el-button>
+            <div style="width:175px;display:inline-block;margin-right:10px;">
+              <span style="line-height:29px;">{{ scope.row.Data? (scope.row.Data.Data  || '--'): '--' }}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>
+              <span style="line-height:29px;">{{ scope.row.Data? scope.row.Data.Time : '' }}</span>
+            </div>
+            <el-button class="dialog-btn" style="display:inline-block;" @click="refreshThisRow(scope.row)"><i class="el-icon-refresh"></i></el-button>
           </template>
         </el-table-column>
         <el-table-column prop='RelatedPoint' label='涉及子系统点位(数据来源)' show-overflow-tooltip min-width="150" align='center'>