|
@@ -121,6 +121,25 @@ public class HandlerCaseCenterController extends BaseController {
|
|
return resultPage(viewMap);
|
|
return resultPage(viewMap);
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ /**
|
|
|
|
+ * 办件中心首页-模块列表
|
|
|
|
+ * @return
|
|
|
|
+ */
|
|
|
|
+ @ResponseBody
|
|
|
|
+ @RequestMapping
|
|
|
|
+ public String indexModuleList() {
|
|
|
|
+ Map viewMap = Maps.newHashMap();
|
|
|
|
+ String modules = keyValueService.getRedisValueByKey(GlobalConstant.OFFICE_CENTER_MODULE);
|
|
|
|
+ List<OfficeCenterModuleDto> moduleList = new ArrayList<>();
|
|
|
|
+ if (!StringUtils.isBlank(modules)) {
|
|
|
|
+ moduleList = JSON.parseArray(modules, OfficeCenterModuleDto.class);
|
|
|
|
+ moduleList = moduleList.stream().filter(t -> t.getiEnable() == 1).collect(Collectors.toList());
|
|
|
|
+ }
|
|
|
|
+ //endregion
|
|
|
|
+ viewMap.put("moduleList", moduleList);
|
|
|
|
+ return ok(viewMap);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
|
|
/**
|
|
/**
|
|
* 移动端办件中心
|
|
* 移动端办件中心
|