tianwu.sun 1 month ago
parent
commit
438f4ec886

File diff suppressed because it is too large
+ 7967 - 0
log/cic-data-reportin.out


+ 1 - 1
src/main/java/com/bootdo/common/config/DruidDBConfig.java

@@ -122,7 +122,7 @@ public class DruidDBConfig {
         //reg.addInitParameter("loginPassword","123456");
         Map<String,String> initParams=new HashMap<>();
         initParams.put("loginUsername","admin");
-        initParams.put("loginPassword","123456");
+        initParams.put("loginPassword","As2df%^#*jjj");
         initParams.put("allow","");//默认允许所有访问
         //initParams.put("deny","192.168.1.7");//
         reg.setInitParameters(initParams);

+ 0 - 7
src/main/resources/application-prod.yml

@@ -46,13 +46,6 @@ spring:
     connectionProperties: druid.stat.mergeSql=true;druid.stat.slowSqlMillis=5000
     # 合并多个DruidDataSource的监控数据
     #useGlobalDataSourceStat: true
-    stat-view-servlet:
-      url-pattern: "/druid/*"
-      allow:
-      deny:
-      reset-enable: false
-      login-username: admin
-      login-password: admin
 
   redis:
     cluster:

+ 13 - 12
src/main/resources/static/js/contabs.js

@@ -122,18 +122,19 @@ $(function () {
         // 选项卡菜单已存在
         $('.J_menuTab').each(function () {
             if ($(this).data('id') == dataUrl) {
-                if (!$(this).hasClass('active')) {
-                    $(this).addClass('active').siblings('.J_menuTab').removeClass('active');
-                    scrollToTab(this);
-                    // 显示tab对应的内容区
-                    $('.J_mainContent .J_iframe').each(function () {
-                        if ($(this).data('id') == dataUrl) {
-                            $(this).show().siblings('.J_iframe').hide();
-                            return false;
-                        }
-                    });
-                }
-                flag = false;
+                // if (!$(this).hasClass('active')) {
+                //     $(this).addClass('active').siblings('.J_menuTab').removeClass('active');
+                //     scrollToTab(this);
+                //     // 显示tab对应的内容区
+                //     $('.J_mainContent .J_iframe').each(function () {
+                //         if ($(this).data('id') == dataUrl) {
+                //             $(this).show().siblings('.J_iframe').hide();
+                //             return false;
+                //         }
+                //     });
+                // }
+                // flag = false;
+                $(this).remove();
                 return false;
             }
         });