listItem_detailStatic.json 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. [
  2. {
  3. "title" : MWF.xApplication.Attendance.LP.person,
  4. "headStyles" : "normalThNode",
  5. "contentStyles" : "normalTdNode",
  6. "item" : "function( d ){ return (d.employeeName||'').split('@')[0] }",
  7. "name" : "employeeName",
  8. "width" : "9%"
  9. },
  10. {
  11. "title" : MWF.xApplication.Attendance.LP.months,
  12. "headStyles" : "normalThNode",
  13. "contentStyles" : "normalTdNode",
  14. "item" : "function( data ){ if( data.statisticDate ){ return data.statisticDate }else{ return data.statisticYear + '-' + data.statisticMonth } }",
  15. "name" : "statisticMonth",
  16. "width" : "9%"
  17. },
  18. {
  19. "title" : MWF.xApplication.Attendance.LP.onDutyTimes,
  20. "headStyles" : "normalThNode",
  21. "contentStyles" : "normalTdNode",
  22. "item" : "onDutyTimes",
  23. "name" : "onDutyTimes",
  24. "width" : "9%"
  25. },
  26. {
  27. "title" : MWF.xApplication.Attendance.LP.offDutyTimes,
  28. "headStyles" : "normalThNode",
  29. "contentStyles" : "normalTdNode",
  30. "item" : "offDutyTimes",
  31. "name" : "offDutyTimes",
  32. "width" : "9%"
  33. },
  34. {
  35. "title" : MWF.xApplication.Attendance.LP.onDutyDayCount,
  36. "headStyles" : "normalThNode",
  37. "contentStyles" : "normalTdNode",
  38. "item" : "onDutyDayCount",
  39. "name" : "onDutyDayCount",
  40. "width" : "9%"
  41. },
  42. {
  43. "title" : MWF.xApplication.Attendance.LP.onSelfHolidayCount,
  44. "headStyles" : "normalThNode",
  45. "contentStyles" : "normalTdNode",
  46. "item" : "function( data ){ if( typeOf( data.onSelfHolidayCount ) == 'number' ){ return data.onSelfHolidayCount }else{ return data.onSelfHolidayEmployeeCount } }",
  47. "name" : "onSelfHolidayEmployeeCount",
  48. "width" : "9%"
  49. },
  50. {
  51. "title" : MWF.xApplication.Attendance.LP.absenceDayCount,
  52. "headStyles" : "normalThNode",
  53. "contentStyles" : "normalTdNode",
  54. "item" : "absenceDayCount",
  55. "name" : "absenceDayCount",
  56. "width" : "9%"
  57. },
  58. {
  59. "title" : MWF.xApplication.Attendance.LP.lateTimes,
  60. "headStyles" : "normalThNode",
  61. "contentStyles" : "normalTdNode",
  62. "item" : "lateTimes",
  63. "name" : "lateTimes",
  64. "width" : "9%"
  65. },
  66. // {
  67. // "title" : "早退次数",
  68. // "headStyles" : "normalThNode",
  69. // "contentStyles" : "normalTdNode",
  70. // "item" : "leaveEarlyCount",
  71. // "name" : "leaveEarlyCount",
  72. // "width" : "9%"
  73. // },
  74. {
  75. "title" : MWF.xApplication.Attendance.LP.lackOfTimeCount,
  76. "headStyles" : "normalThNode",
  77. "contentStyles" : "normalTdNode",
  78. "item" : "lackOfTimeCount",
  79. "name" : "lackOfTimeCount",
  80. "width" : "9%"
  81. },
  82. {
  83. "title" : MWF.xApplication.Attendance.LP.abNormalDutyCount,
  84. "headStyles" : "normalThNode",
  85. "contentStyles" : "normalTdNode",
  86. "item" : "abNormalDutyCount",
  87. "name" : "abNormalDutyCount",
  88. "width" : "9%"
  89. }
  90. // {
  91. // "access" : "admin",
  92. // "title" : "操作",
  93. // "headStyles" : "normalThNode",
  94. // "contentStyles" : "normalTdNode",
  95. // "item" : "actions",
  96. // "name" : "actions",
  97. // "width" : "9%",
  98. // "sub" : [{
  99. // "title" : "删除文件",
  100. // "action" : "remove",
  101. // "styles" : "actionDeleteNode",
  102. // "overStyles" : "actionDeleteNode_over",
  103. // "downStyles" : "actionDeleteNode_down"
  104. // }]
  105. // }
  106. ]