Parcourir la source

修改申报后跳转返回问题

wangjiang988 il y a 5 ans
Parent
commit
7d475d2755

+ 2 - 0
src/main/java/platform/modules/home/HomeController.java

@@ -1285,6 +1285,8 @@ public class HomeController extends BaseController {
                     }
                 }
             }
+
+            // todo 创建多个用户可以通过这里去改进
             User user = new User();
             user.setUser_name(information.getUser_name());
             user.setNick_name(information.getNick_name().trim());

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

@@ -166,7 +166,7 @@ spring:
     password: ${password}
   #redis
   redis:
-    host: 192.168.1.116
+    host: 127.0.0.1
     password:
     port: 6379
     pool:

+ 1 - 1
src/main/resources/mapper/carrier/BuildingDao.xml

@@ -4,7 +4,7 @@
 
     <select id="getParkBuildings" resultType="platform.modules.carrier.entity.Building">
         select * from ic_building
-        where del_flag = 0 and is_use = 1
+        where del_flag = 0
         <if test="condition.parkId != null and condition.parkId !=''">
             and park_id = #{condition.parkId}
         </if>

+ 1 - 1
src/main/resources/static/js/company/project_provinces/apply_add.js

@@ -147,7 +147,7 @@ function submit() {
                             parent.location.reload();
                             parent.layer.close(index);
                         } else {
-                            window.location.href = pagePath + "/home/informList/69";
+                            window.location.href = pagePath+"/index/#/projectList";
                             //history.back(-2);
                         }
                         return true;

+ 1 - 1
src/main/resources/templates/admin/company/projectProvinces/apply_add.html

@@ -335,7 +335,7 @@
         	parent.layer.close(index);
         }else{
         	//返回门户申报页面
-        	window.location.href = pagePath+"/home/informList/69";
+        	window.location.href = pagePath+"/index/#/projectList";
         	//history.back(-2);
         }
     }