listItem.json 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. [
  2. {
  3. "title" : MWF.xApplication.Attendance.LP.permission.role,
  4. "headStyles" : "normalThNode",
  5. "contentStyles" : "normalTdNode",
  6. "item" : "function(data){ return data.adminLevel == 'DEPT' ? MWF.xApplication.Attendance.LP.permission.roleSelectText[1] : MWF.xApplication.Attendance.LP.permission.roleSelectText[0] }",
  7. "name" : "adminLevel",
  8. "width" : "30%"
  9. },
  10. {
  11. "title" : MWF.xApplication.Attendance.LP.permission.personName,
  12. "headStyles" : "normalThNode",
  13. "contentStyles" : "normalTdNode",
  14. "item" : "function(d){ return (d.adminName || '').split('@')[0] }",
  15. "name" : "adminName",
  16. "width" : "30%"
  17. },
  18. {
  19. "title" : MWF.xApplication.Attendance.LP.permission.unit,
  20. "headStyles" : "normalThNode",
  21. "contentStyles" : "normalTdNode",
  22. "item" : "function(d){ return (d.unitName || '').split('@')[0] }",
  23. "name" : "unitName",
  24. "width" : "30%"
  25. },
  26. {
  27. "access" : "admin",
  28. "title" : MWF.xApplication.Attendance.LP.action,
  29. "headStyles" : "normalThNode",
  30. "contentStyles" : "normalTdNode",
  31. "item" : "actions",
  32. "name" : "actions",
  33. "width" : "10%",
  34. "sub" : [{
  35. "title" : MWF.xApplication.Attendance.LP.delete,
  36. "action" : "remove",
  37. "fonticon": "o2icon-icon_delete",
  38. // "icon": "delete.png",
  39. "styles" : "documentActionNode",
  40. "overStyles" : "documentActionNode_over",
  41. "downStyles" : "documentActionNode_down"
  42. }]
  43. }
  44. ]