Browse Source

电签监控table滚动问题

duy 3 days ago
parent
commit
7d003d7546
2 changed files with 11 additions and 7 deletions
  1. 2 2
      src/config/index.json
  2. 9 5
      src/views/monitor/certificate.vue

+ 2 - 2
src/config/index.json

@@ -1,7 +1,7 @@
 {
-  "target": "http://127.0.0.1:8090",
+  "target11": "http://127.0.0.1:8090",
 
-  "target11": "http://192.168.0.109:8090",
+  "target": "http://192.168.0.109:8090",
   "dev": {
     "port": 1888
   }

+ 9 - 5
src/views/monitor/certificate.vue

@@ -80,16 +80,20 @@
         </div>
       </div>
       <el-tabs v-model="query.taskType" @tab-click="listPage">
-        <el-tab-pane :label="`正在处理(${runTotal})`" :name="1"></el-tab-pane>
-        <el-tab-pane :label="`排队中(${orderTotal})`" :name="2"></el-tab-pane>
+        <el-tab-pane :label="`正在处理(${runTotal})`" :name="1">
+          111
+        </el-tab-pane>
+        <el-tab-pane :label="`排队中(${orderTotal})`" :name="2">
+          222
+        </el-tab-pane>
       </el-tabs>
     </div>
 
     <el-table
-      class="martop20 tableList"
+      class="martop10 tableList"
       :data="tableData"
-      style="width: 100%"
-      max-height="calc(100vh - 350px)"
+      style="width: 100%;overflow-y: scroll;"
+      height="calc(100vh - 350px)"
     >
       <el-table-column type="index" label="序号" width="80"> </el-table-column>
       <el-table-column prop="type" label="所属系统" width="100">