Example #1
0
 /** 系统菜单 */
 public String loadTreeMenus() throws Exception {
   List lst = indexComponent.loadTreeMenus(subSystemId);
   if (lst.size() > 0) {
     getRoot().setSimpleObj(TreeBuilder.createTree(lst, false).get(0));
   }
   return "json-children";
 }
Example #2
0
 /**
  * 查询营业厅树(分权限)
  *
  * @return
  * @throws Exception
  */
 @SuppressWarnings("unchecked")
 public String queryDeptTree() throws Exception {
   List list = indexComponent.queryDeptTree(optr);
   getRoot().setRecords(TreeBuilder.createTree(list));
   return JSON_RECORDS;
 }
Example #3
0
 public String queryLogs() throws Exception {
   getRoot().setPage(indexComponent.queryLogs(query, optr.getCounty_id(), start, limit));
   return JSON_PAGE;
 }
Example #4
0
 public String queryBillRule() throws Exception {
   getRoot().setRecords(indexComponent.findBillRule(optr.getCounty_id()));
   return JSON_RECORDS;
 }
Example #5
0
 public String getTruleByDataType() throws Exception {
   getRoot().setRecords(indexComponent.getTruleByDataType(doneId, optr.getCounty_id()));
   return JSON_RECORDS;
 }
Example #6
0
 public String queryMenus() throws Exception {
   List<SResource> lst = indexComponent.queryMenus(subSystemId, optr.getOptr_id());
   getRoot().setRecords(lst);
   return JSON_RECORDS;
 }
Example #7
0
 /**
  * 查询在线用户的操作记录
  *
  * @return
  * @throws Exception
  */
 public String queryOnelineUserBusi() throws Exception {
   getRoot().setRecords(indexComponent.queryOnelineUserBusi(query));
   return JSON_RECORDS;
 }