workConditionList.json 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. {
  2. "viewSetting": {
  3. "html": "<table width='100%' border='0' cellpadding='5' cellspacing='0' styles='todoTable' class='todoTable'></table>"
  4. },
  5. "documentSetting": {
  6. "html": "<tr class='documentTr' styles='documentTr'></tr>",
  7. "mouseoverStyles": "documentTr_over",
  8. "action": "open"
  9. },
  10. "items": [
  11. {
  12. "name": "dynamicObjectTitle",
  13. "content": {
  14. "html": "<td class='workConditionTd' styles='workConditionTd'>" +
  15. "<div styles='workConditionDiv'>"+
  16. " <div styles='workConditionTime' item='dateTimeStr'></div>"+
  17. " <div styles='workConditionContent' item='content'></div>"+
  18. " <div>"+
  19. " <span styles='workConditionPerson' item='targetName'></span><span styles='workConditionAction' item='description'></span>"+
  20. " </div>"+
  21. "</div>"+
  22. "</td>",
  23. "items": {
  24. "dynamicObjectTitle": {},
  25. "dateTimeStr":{},
  26. "content":{ "type" : "html" },
  27. "targetName":{
  28. "value":"function(d){if(d.targetName=='SYSTEM'){return '系统自动'}else{return d.targetName.split('@')[0]}}"
  29. },
  30. "description":{}
  31. }
  32. }
  33. }
  34. ]
  35. }