Browse Source

修改单元页面

maoyunfeng 5 năm trước cách đây
mục cha
commit
f71257e6d8

+ 1 - 1
whepi-ui/templates/yeweihui/ribao.ftl

@@ -81,7 +81,7 @@
                     if(v.msStatus == 2 && v.reportStatus == 1){//异常
                         td = '<td style="background-color: green" align="center" value="'+v.houseId+'"><p style="height: 100%;width: 100%;background-color: yellow" onclick=\'ribao_ycxq('+JSON.stringify(v.houseId) +');\'>'+v.doorplate+'</p></td>';
                     }else if(v.msStatus != 2 && v.reportStatus == 1 && v.msStatus != null && v.reportStatus !=null){//已报
-                        td = '<td style="background-color: #0bb20c" align="center">'+v.doorplate+'</td>';
+                        td = '<td style="background-color: #0bb20c" align="center"><p style="height: 100%;width: 100%;background-color: #0bb20c" onclick=\'ribao_ycxq('+JSON.stringify(v.houseId) +');\'>'+v.doorplate+'</p></td>';
                     }else if(v.reportStatus == 1 || v.reportStatus == 0){//待报
                         td = '<td style="background-color: #75859f" align="center">'+v.doorplate+'</td>';
                     }

+ 1 - 1
whepi-web/src/main/java/com/bofeng/service/RbService.java

@@ -39,7 +39,7 @@ public class RbService {
         String dateStr = simpleDateFormat.format(date);
         List<MsSuspected> sysUptownHouses = rbMapper.selectYcXq(houseId, dateStr);
         String bingqingDesc = "";
-        if(sysUptownHouses.size() != 0){
+        if(sysUptownHouses.size() != 0 ){
             for (int i = 0; i < sysUptownHouses.size(); i++) {
 
                 Integer cough = sysUptownHouses.get(i).getCough();