listItemMute.json 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  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": "person",
  16. "head": {
  17. "html": "<th styles='normalThNode' lable='mutePerson'></th>",
  18. "width": "15%"
  19. },
  20. "content": {
  21. "html": "<td styles='normalTdCenterNode' item='person'></td>",
  22. "items": {
  23. "person" : {
  24. "value": "function(d){ return d.person.split('@')[0] }"
  25. }
  26. }
  27. }
  28. },
  29. {
  30. "name": "unmuteDate",
  31. "head": {
  32. "html": "<th styles='normalThNode' lable='unmuteDate'></th>",
  33. "width": "15%"
  34. },
  35. "content": {
  36. "html": "<td styles='normalTdCenterNode' item='unmuteDate'></td>",
  37. "items": {
  38. "unmuteDate" : {}
  39. }
  40. }
  41. },
  42. {
  43. "name": "reason",
  44. "head": {
  45. "html": "<th styles='normalThNode' lable='multReason'></th>",
  46. "width": "40%"
  47. },
  48. "content": {
  49. "html": "<td styles='normalTdCenterNode' item='reason'></td>",
  50. "items": {
  51. "reason" : {}
  52. }
  53. }
  54. },
  55. {
  56. "name": "createTime",
  57. "head": {
  58. "html": "<th styles='normalThNode' lable='muteTime'></th>",
  59. "width": "15%"
  60. },
  61. "content": {
  62. "html": "<td styles='normalTdCenterNode' item='createTime'></td>",
  63. "items": {
  64. "createTime" : {}
  65. }
  66. }
  67. },
  68. {
  69. //"access": "admin",
  70. "head": {
  71. "html": "<th styles='normalThNode' lable='action'></th>",
  72. "width": "15%"
  73. },
  74. "content": {
  75. "html": "<td styles='normalTdCenterNode'>" +
  76. " <span styles='documentActionNode' item='action_co'></span>" +
  77. " <span styles='documentActionNode' item='remove'></span>" +
  78. "</td>",
  79. "items": {
  80. "action_edit": {
  81. //"access": "admin",
  82. "title": "edit",
  83. "text": "edit",
  84. "action": "action_edit",
  85. "condition": "function( d ){ return MWF.AC.isBBSManager() }",
  86. "styles": "documentActionNode",
  87. "mouseoverStyles": "documentActionNode_over",
  88. "mousedownStyles": "documentActionNode_down"
  89. },
  90. "remove": {
  91. "title": "unmute",
  92. "text": "unmute",
  93. "action": "unmute",
  94. "condition": "function( d ){ return MWF.AC.isBBSManager() }",
  95. "styles": "documentActionNode",
  96. "mouseoverStyles": "documentActionNode_over",
  97. "mousedownStyles": "documentActionNode_down"
  98. }
  99. }
  100. }
  101. }
  102. ]
  103. }