Jelajahi Sumber

日志滚动

Rmengdi 1 tahun lalu
induk
melakukan
445efda2d2

+ 4 - 3
pdaaphm-ui/src/views/algoManager/algorithm/algoRun.vue

@@ -16,13 +16,13 @@
     </div>
     <div class="log" v-if="show">
       <div class="header">算法运行日志</div>
-      <div class="content" v-html="message"></div>
+      <div class="content" v-html="message"  v-bind:style="{height: dynamicHeight}"></div>
     </div>
   </div>
 </template>
 
 <script>
-import { getAlgorithm, runAlgorithms, getLog } from '@/api/algoManager/algorithm'
+import { getAlgorithm, runAlgorithms, getLog,setLog } from '@/api/algoManager/algorithm'
 import { registerAction } from 'echarts/core'
 export default {
   name: 'AlgoRun',
@@ -37,6 +37,7 @@ export default {
       show: false,
       message: null,
       timer: null,
+      dynamicHeight: '500px'
     }
   },
   created() {
@@ -106,7 +107,6 @@ export default {
 .log {
   width: 80%;
   height: 500px;
-  // background-color: black;
   border: 1px solid #d1d1d1;
   box-shadow: 10px 12px 10px #ebebeb;
   margin-top: 27px;
@@ -121,6 +121,7 @@ export default {
     width: 100%;
     height: 475px;
     background-color: black;
+    overflow-y: scroll;
     border-right: 10px solid white;
     padding: 15px;
   }

+ 0 - 10
pdaaphm-ui/src/views/dataManage/contrast/index.vue

@@ -124,16 +124,6 @@ export default {
     this.chart = null
   },
   methods: {
-    /** 查询非理想数据列表 */
-    // getInputList() {
-    //   this.loading = true
-    //   listInputFile(this.queryParams).then(response => {
-    //     this.nonIdealData = response.rows
-    //     // console.log(response.rows)
-    //     this.total = response.total
-    //     this.loading = false
-    //   })
-    // },
     /** 查看非理想 */
     getList() {
       this.loading = true