Browse Source

展示报警信息优化

oyq28 5 months ago
parent
commit
28f88554ae
1 changed files with 6 additions and 5 deletions
  1. 6 5
      imcs-ui/src/views/dashboard/index.vue

+ 6 - 5
imcs-ui/src/views/dashboard/index.vue

@@ -148,13 +148,14 @@
         </div>
       </div>
     </el-col>-->
+    <el-row>
     <el-col :xs="24" :sm="10" :lg="6">
       <div class="colCls">
         <div class="lastRow" >
           <!-- 登录监控 -->
           <h3>机床1-10.161.30.245-预警</h3>
           <template>
-            <el-table :data="toolTableData1" border height="150" size="mini" style="width: 100%;" v-loading="loading" :cell-style="cellStyle">
+            <el-table :data="toolTableData1" border height="250" size="mini" style="width: 100%;" v-loading="loading" :cell-style="cellStyle">
               <el-table-column prop="name" width="130" label='提示' align="center" ></el-table-column>
               <el-table-column prop="code" width="90" label="编码" align="center"></el-table-column>
               <el-table-column prop="createTime" :label='$t("index.table.createTime")' align="center"></el-table-column>
@@ -169,7 +170,7 @@
           <!-- 登录监控 -->
           <h3>机床2-10.161.30.246-预警</h3>
           <template>
-            <el-table :data="toolTableData2" border height="150" size="mini" style="width: 100%;" v-loading="loading" :cell-style="cellStyle">
+            <el-table :data="toolTableData2" border height="250" size="mini" style="width: 100%;" v-loading="loading" :cell-style="cellStyle">
               <el-table-column prop="name" width="130" label='提示' align="center" ></el-table-column>
               <el-table-column prop="code" width="90" label="编码" align="center"></el-table-column>
               <el-table-column prop="createTime" :label='$t("index.table.createTime")' align="center"></el-table-column>
@@ -184,7 +185,7 @@
           <!-- 登录监控 -->
           <h3>机床3-10.161.30.247-预警</h3>
           <template>
-            <el-table :data="toolTableData3" border height="150" size="mini" style="width: 100%;" v-loading="loading" :cell-style="cellStyle">
+            <el-table :data="toolTableData3" border height="250" size="mini" style="width: 100%;" v-loading="loading" :cell-style="cellStyle">
               <el-table-column prop="name" width="130" label='提示' align="center" ></el-table-column>
               <el-table-column prop="code" width="90" label="编码" align="center"></el-table-column>
               <el-table-column prop="createTime" :label='$t("index.table.createTime")' align="center"></el-table-column>
@@ -199,7 +200,7 @@
       			<!-- 登录监控 -->
 	      		<h3>自动化产线PLC-预警</h3>
 	      		<template>
-              <el-table :data="plcTableData" border height="150" size="mini" style="width: 100%;" v-loading="loading" :cell-style="cellStyle">
+              <el-table :data="plcTableData" border height="250" size="mini" style="width: 100%;" v-loading="loading" :cell-style="cellStyle">
                 <el-table-column prop="name" width="130" label='提示' align="center" ></el-table-column>
                 <el-table-column prop="code" width="90" label="编码" align="center"></el-table-column>
                 <el-table-column prop="createTime" :label='$t("index.table.createTime")' align="center"></el-table-column>
@@ -504,7 +505,7 @@
     }
     .rowCls{
     	width: 100%;
-    	padding: 20px;
+    	/*padding: 20px;*/
 			background: white;
 			margin-bottom: 20px;
 			box-sizing: border-box;