瀏覽代碼

merge from rmd-dev

allen 1 年之前
父節點
當前提交
a217552e71

+ 4 - 4
pdaaphm-admin/src/main/resources/application-druid.yml

@@ -13,9 +13,9 @@ spring:
             slave:
                 # 从数据源开关/默认关闭
                 enabled: false
-                url: 
-                username: 
-                password: 
+                url:
+                username:
+                password:
             # 初始连接数
             initialSize: 5
             # 最小连接池数量
@@ -39,7 +39,7 @@ spring:
             testWhileIdle: true
             testOnBorrow: false
             testOnReturn: false
-            webStatFilter: 
+            webStatFilter:
                 enabled: true
             statViewServlet:
                 enabled: true

+ 1 - 1
pdaaphm-admin/src/main/resources/application.yml

@@ -1,7 +1,7 @@
 # 项目相关配置
 ruoyi:
   # 名称
-  name: RuoYi
+  name: Pdaaphm
   # 版本
   version: 3.8.6
   # 版权年份

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

@@ -75,7 +75,9 @@ export default {
           console.log("定时器销毁");
           clearInterval(this.timer)
         }
-        this.message = this.message + logData
+        if (logData) {
+          this.message = this.message + logData
+        }
       })
     },
   },
@@ -126,4 +128,4 @@ export default {
     padding: 15px;
   }
 }
-</style>
+</style>

+ 0 - 1
pdaaphm-ui/src/views/algoManager/algorithm/index.vue

@@ -441,7 +441,6 @@ export default {
         // this.fileContent = response.data;
       } catch (error) {
         console.error('Error fetching the file:', error)
-        alert('无法加载文件内容')
       }
     },
 

+ 2 - 3
pdaaphm-ui/src/views/algoManager/algorithm2/index.vue

@@ -155,7 +155,7 @@
         </template>
       </el-table-column>
     </el-table>
-    
+
     <pagination
       v-show="total>0"
       :total="total"
@@ -476,7 +476,7 @@ export default {
         },
       })
     },
-    
+
     createTypeMap() {
       this.typeMap = new Map();
       for (const algorithmSub of this.algorithmSubList) {
@@ -539,7 +539,6 @@ export default {
         // this.fileContent = response.data;
       } catch (error) {
         console.error("Error fetching the file:", error);
-        alert('无法加载文件内容');
       }
     },
 

+ 2 - 3
pdaaphm-ui/src/views/algoManager/algorithm3/index.vue

@@ -179,7 +179,7 @@
         </template>
       </el-table-column>
     </el-table>
-    
+
     <pagination
       v-show="total>0"
       :total="total"
@@ -501,7 +501,7 @@ export default {
         },
       })
     },
-    
+
     createTypeMap() {
       this.typeMap = new Map();
       for (const algorithmSub of this.algorithmSubList) {
@@ -564,7 +564,6 @@ export default {
         // this.fileContent = response.data;
       } catch (error) {
         console.error("Error fetching the file:", error);
-        alert('无法加载文件内容');
       }
     },
 

+ 1 - 2
pdaaphm-ui/src/views/algoManager/result.vue

@@ -131,7 +131,6 @@ export default {
         }
       } catch (error) {
         console.error('Error fetching the file:', error)
-        alert('无法加载文件内容')
       }
     },
 
@@ -172,4 +171,4 @@ export default {
 .img {
   width: 100%;
 }
-</style>
+</style>