listItem_qywx.json 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. [
  2. {
  3. "title": MWF.xApplication.Attendance.LP.name,
  4. "headStyles": "normalThNode",
  5. "contentStyles": "normalTdNode",
  6. "item": "function( d ){ return d.o2User.split('@')[0] }",
  7. "name": "o2User",
  8. "width": "20%"
  9. },
  10. {
  11. "title": MWF.xApplication.Attendance.LP.date,
  12. "headStyles": "normalThNode",
  13. "contentStyles": "normalTdNode",
  14. "item": "function(d){ var date = new Date(d.checkin_time * 1000); return date.getFullYear()+'-'+(date.getMonth()+1)+'-'+date.getDate();}",
  15. "name": "checkin_time",
  16. "width": "20%"
  17. },
  18. {
  19. "title": MWF.xApplication.Attendance.LP.signinType,
  20. "headStyles": "normalThNode",
  21. "contentStyles": "normalTdNode",
  22. "item": "function( data ){ return data.checkin_type; }",
  23. "name": "checkin_type",
  24. "width": "20%"
  25. },
  26. {
  27. "title": MWF.xApplication.Attendance.LP.signinResult,
  28. "headStyles": "normalThNode",
  29. "contentStyles": "normalTdNode",
  30. "item": "function( data ){ return data.exception_type; }",
  31. "name": "exception_type",
  32. "width": "20%"
  33. },
  34. {
  35. "title": MWF.xApplication.Attendance.LP.signTime,
  36. "headStyles": "normalThNode",
  37. "contentStyles": "normalTdNode",
  38. "item": "function(d){ var date = new Date(d.checkin_time * 1000); return date.getHours()+':'+date.getMinutes()+':'+date.getSeconds();}",
  39. "name": "checkin_time",
  40. "width": "20%"
  41. }
  42. ]