类 SysDeptItemListDirective

所有已实现的接口:
Directive, HttpDirective, freemarker.template.TemplateDirectiveModel, freemarker.template.TemplateModel

@Component public class SysDeptItemListDirective extends AbstractTemplateDirective
sysDeptItemList 部门数据授权列表查询指令

参数列表

  • deptId:部门id
  • itemType:项目类型
  • itemId:项目id
  • pageIndex:页码
  • pageSize:每页条数

返回结果

使用示例

<@sys.deptCategoryList deptId=1 pageSize=10><#list page.list as a>${a.id.deptId}<#sep>,</#list></@sys.deptCategoryList>

 <script>
  fetch('${site.dynamicPath}api/directive/sys/deptCategoryList?deptId=1&pageSize=10',{"headers":{"appToken":"接口访问授权Token"}}).then(res => res.json()).then(data=>{
    console.log(data.page.totalCount);
  });
  </script>
 
  • 字段详细资料

  • 构造器详细资料

    • SysDeptItemListDirective

      public SysDeptItemListDirective()
  • 方法详细资料