#if parentId?has_content> <@sys.dept id=parentId!> <#assign parent=object/> @sys.dept> #if> <@sys.deptList parentId=parentId userId=userId name=name pageIndex=pageNum pageSize=numPerPage>
| <@t.page 'id'/> | <@t.page 'name'/> | <@t.page 'code'/> | <@t.page 'dept.parent'/> | <@t.page 'description'/> | <@t.page 'dept.master'/> | <@t.page 'dept.own_all_category'/> | <@t.page 'content.max_top_level'/> | <@t.page 'dept.own_all_page'/> | <@t.page 'operate'/> |
|---|---|---|---|---|---|---|---|---|---|
| ${a.id!} | ${(a.name)!} | ${(a.code)!} | ${(parentMap[a.parentId?string].name)!} | ${a.description!} | ${(userMap[a.userId?string].nickname)!} | ${a.ownsAllCategory?then(t.pageMessage('yes'),'')} | ${a.maxSort} | ${a.ownsAllPage?then(t.pageMessage('yes'),'')} | <@t.page 'dept.edit'/> <@t.page 'dept.child_management'/> <#if a.userId?has_content&&a.userId=admin.id> <@t.page 'dept.user_list'/> #if> <@t.page 'button.delete'/> |