| | |
| | | } else if (comEvent.getEventProcessStatus().equals(5)){ |
| | | //调解中,可以查看,调解 |
| | | comEvent.setArchive(0); |
| | | comEvent.setSolve(0); |
| | | } else if (comEvent.getEventProcessStatus().equals(6)){ |
| | | //调解完成,可以归档,查看 |
| | | comEvent.setSolve(0); |
| | | comEvent.setConciliation(0); |
| | | } |
| | | }else if (userType.equals(4)){ |
| | | //社区后台权限 |
| | | //如果未上报到街道,当前事件权限和专家一样 |
| | | if (comEvent.getCurrentProcessType().equals(5) || comEvent.getCurrentProcessType().equals(2)){ |
| | | if (comEvent.getCurrentProcessType().equals(5)){ |
| | | //根据事件状态决定权限 |
| | | if (comEvent.getEventProcessStatus().equals(1) || comEvent.getEventProcessStatus().equals(2)){ |
| | | //待受理和待验证状态,可以受理,分配专家 |
| | |
| | | } else if (comEvent.getEventProcessStatus().equals(5)){ |
| | | //调解中,可以查看,调解,更换专家,删除 |
| | | comEvent.setDistribution(0); |
| | | comEvent.setSolve(0); |
| | | comEvent.setArchive(0); |
| | | } else if (comEvent.getEventProcessStatus().equals(6) && comEvent.getEventSucceed().equals(2)){ |
| | | //调解完成,可以归档,查看 |
| | |
| | | comEvent.setDistribution(0); |
| | | comEvent.setChangeExpert(0); |
| | | } |
| | | }else{ |
| | | }else if (comEvent.getCurrentProcessType().equals(2)){ |
| | | //上报到街道后,增加分配专家权限 |
| | | if (comEvent.getEventProcessStatus().equals(1) || comEvent.getEventProcessStatus().equals(2)){ |
| | | //待受理和待验证状态,可以受理,分配专家 |
| | | //关闭调解和归档 |
| | | comEvent.setArchive(0); |
| | | comEvent.setConciliation(0); |
| | | } else if (comEvent.getEventProcessStatus().equals(5)){ |
| | | //调解中,可以查看,调解,更换专家,删除 |
| | | comEvent.setSolve(0); |
| | | comEvent.setArchive(0); |
| | | } else if (comEvent.getEventProcessStatus().equals(6) && comEvent.getEventSucceed().equals(2)){ |
| | | //调解完成,可以归档,查看 |
| | | } |
| | | } |
| | | else{ |
| | | //已上报到街道或三说会堂,社区没有分配和受理权限权限 |
| | | comEvent.setDistribution(0); |
| | | comEvent.setChangeExpert(0); |
| | |
| | | comEvent.setSolve(0); |
| | | comEvent.setDistribution(0); |
| | | comEvent.setChangeExpert(0); |
| | | comEvent.setConciliation(0); |
| | | } |
| | | }else{ |
| | | //未上报到街道,仅查看 |