listItem.json 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. [
  2. {
  3. "title" : MWF.xApplication.Attendance.LP.configType,
  4. "headStyles" : "normalThNode",
  5. "contentStyles" : "normalTdNode",
  6. "item" : "function(d){ return d.configType == 'NOTREQUIRED' ? MWF.xApplication.Attendance.LP.configTypeSelectText[1] : MWF.xApplication.Attendance.LP.configTypeSelectText[0] }",
  7. "name" : "configType",
  8. "width" : "10%"
  9. },
  10. {
  11. "title" : MWF.xApplication.Attendance.LP.topUnitName,
  12. "headStyles" : "normalThNode",
  13. "contentStyles" : "normalTdNode",
  14. "item" : "function(d){ return (d.topUnitName || '').split('@')[0] }",
  15. "name" : "topUnitName",
  16. "width" : "20%"
  17. },
  18. {
  19. "title" : MWF.xApplication.Attendance.LP.unitName,
  20. "headStyles" : "normalThNode",
  21. "contentStyles" : "normalTdNode",
  22. "item" : "function(d){ return (d.unitName || '').split('@')[0] }",
  23. "name" : "unitName",
  24. "width" : "20%"
  25. },
  26. {
  27. "title" : MWF.xApplication.Attendance.LP.employeeName,
  28. "headStyles" : "normalThNode",
  29. "contentStyles" : "normalTdNode",
  30. "item" : "function(d){ return (d.employeeName || '').split('@')[0] }",
  31. "name" : "employeeName",
  32. "width" : "10%"
  33. },
  34. {
  35. "title" : MWF.xApplication.Attendance.LP.employeeNumber,
  36. "headStyles" : "normalThNode",
  37. "contentStyles" : "normalTdNode",
  38. "item" : "employeeNumber",
  39. "name" : "employeeNumber",
  40. "width" : "10%"
  41. },
  42. {
  43. "title" : MWF.xApplication.Attendance.LP.joininDate,
  44. "headStyles" : "normalThNode",
  45. "contentStyles" : "normalTdNode",
  46. "item" : "empInTopUnitTime",
  47. "name" : "empInTopUnitTime",
  48. "width" : "15%"
  49. },
  50. {
  51. "access" : "admin",
  52. "title" : MWF.xApplication.Attendance.LP.action,
  53. "headStyles" : "normalThNode",
  54. "contentStyles" : "normalTdNode",
  55. "item" : "actions",
  56. "name" : "actions",
  57. "width" : "5%",
  58. "sub" : [{
  59. "title" : MWF.xApplication.Attendance.LP.delete,
  60. "action" : "remove",
  61. "fonticon": "o2icon-icon_delete",
  62. // "icon": "delete.png",
  63. "styles" : "documentActionNode",
  64. "overStyles" : "documentActionNode_over",
  65. "downStyles" : "documentActionNode_down"
  66. }]
  67. }
  68. ]