listItem.json 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. {
  2. "viewSetting": {
  3. "html": "<table width='100%' border='0' cellpadding='5' cellspacing='0' styles='editTable'></table>"
  4. },
  5. "headSetting": {
  6. "html": "<tr styles='viewHeadNode'></tr>"
  7. },
  8. "documentSetting": {
  9. "html": "<tr styles='documentNode'></tr>",
  10. "mouseoverStyles": "documentNode_over",
  11. "action": "open"
  12. },
  13. "items": [
  14. {
  15. "name": "title",
  16. "head": {
  17. "html": "<th styles='normalThNode' lable='title'></th>",
  18. "width": "40%"
  19. },
  20. "content": {
  21. "html": "<td styles='normalTdNode'>" +
  22. "<div item='identity' styles='documentSubject'></div>" +
  23. "</td>",
  24. "items": {
  25. "identity": {},
  26. "defaultWorkType": {},
  27. "defaultWorkLevel": {}
  28. }
  29. }
  30. },
  31. {
  32. "name": "createTime",
  33. "head": {
  34. "html": "<th styles='normalThNode' lable='createTime'></th>",
  35. "width": "15%"
  36. },
  37. "content": {
  38. "html": "<td styles='normalTdCenterNode' item='createTime'></td>",
  39. "items": {
  40. "createTime" : {}
  41. }
  42. }
  43. },
  44. {
  45. //"access": "admin",
  46. "head": {
  47. "html": "<th styles='normalThNode' lable='action'></th>",
  48. "width": "10%"
  49. },
  50. "content": {
  51. "html": "<td styles='normalTdCenterNode'>" +
  52. //" <span styles='documentActionNode' item='action_open'></span>" +
  53. " <span styles='documentActionNode' item='action_open'></span>" +
  54. "</td>",
  55. "items": {
  56. "action_open": {
  57. "title": "open",
  58. "text": "open",
  59. "action": "action_open",
  60. "condition": "function( d ){ return true }",
  61. "styles": "documentActionNode",
  62. "mouseoverStyles": "documentActionNode_over",
  63. "mousedownStyles": "documentActionNode_down"
  64. }
  65. }
  66. }
  67. }
  68. ]
  69. }