log.html 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234
  1. <div style="background-color: #FFF; overflow: hidden">
  2. <div title="基本" class="MWFTab">
  3. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  4. <tr>
  5. <td class="editTableTitle">标识:</td>
  6. <td class="editTableValue"><input type="text" name="id" value="text{$.id}" class="editTableInput"/></td>
  7. </tr>
  8. <tr>
  9. <td class="editTableTitle">名称:</td>
  10. <td class="editTableValue"><input type="text" name="name" value="text{$.name}" class="editTableInput"/></td>
  11. </tr>
  12. <tr>
  13. <td class="editTableTitle">描述:</td>
  14. <td class="editTableValue"><input type="text" name="description" value="text{$.description}" class="editTableInput"/></td>
  15. </tr>
  16. <tr>
  17. <td class="editTableTitle">Class:</td>
  18. <td class="editTableValue"><input type="text" name="description" value="text{$.description}" class="editTableInput"/></td>
  19. </tr>
  20. <tr>
  21. <td class="editTableTitle">记录:</td>
  22. <td class="editTableValue">
  23. <input class="editTableRadio" name="logType" text{($.logType=='record')?'checked':''} type="radio" value="record"/>record
  24. <input class="editTableRadio" name="logType" text{($.logType!=='record')?'checked':''} type="radio" value="worklog"/>worklog
  25. </td>
  26. </tr>
  27. </table>
  28. <div class="MWFMaplist" name="styles" title="样式"></div>
  29. <div class="MWFMaplist" name="properties" title="属性"></div>
  30. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  31. <tr>
  32. <td class="editTableTitle">样式:</td>
  33. <td class="editTableValue">
  34. <input class="editTableRadio" onclick="if (this.checked){
  35. $('text{$.pid}labelTextStyleValue').setStyle('display', 'block');
  36. $('text{$.pid}handwritingSize').setStyle('display', '');
  37. }" name="mode" text{($.mode=='default')?'checked':''} type="radio" value="default"/>默认
  38. <input class="editTableRadio" onclick="if (this.checked){
  39. $('text{$.pid}labelTextStyleValue').setStyle('display', 'block');
  40. $('text{$.pid}handwritingSize').setStyle('display', 'none');
  41. }" name="mode" text{($.mode=='text')?'checked':''} type="radio" value="text"/>文本
  42. <input class="editTableRadio" onclick="if (this.checked){
  43. $('text{$.pid}labelTextStyleValue').setStyle('display', 'block');
  44. $('text{$.pid}handwritingSize').setStyle('display', '');
  45. }" name="mode" text{($.mode=='table')?'checked':''} type="radio" value="table"/>表格<br>
  46. <input class="editTableRadio" onclick="if (this.checked){
  47. $('text{$.pid}labelTextStyleValue').setStyle('display', 'block');
  48. $('text{$.pid}handwritingSize').setStyle('display', '');
  49. }" name="mode" text{($.mode=='media')?'checked':''} type="radio" value="media"/>多媒体(手写或语音)
  50. </td>
  51. </tr>
  52. </table>
  53. <table id="text{$.pid}handwritingSize" style=""
  54. width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  55. <tr>
  56. <td class="editTableValue"><b>展开手写意见:</b>
  57. <input class="editTableRadio" name="handwritingExpanded" text{($.handwritingExpanded)?'checked':''} type="radio" value="true"/>是
  58. <input class="editTableRadio" name="handwritingExpanded" text{(!$.handwritingExpanded)?'checked':''} type="radio" value="false"/>否
  59. </td>
  60. </tr>
  61. <tr>
  62. <td class="editTableValue"><b>手写意见宽度:</b>
  63. <input type="text" name="handwritingWidth" value="text{$.handwritingWidth}" class="editTableInputNoWidth" style="width: 50px;;margin-right:5px;" />px
  64. <span>&nbsp;&nbsp;&nbsp;&nbsp;(pc端有效)</span>
  65. </td>
  66. </tr>
  67. <tr>
  68. <td class="editTableValue"><b>手写意见高度:</b>
  69. <input type="text" name="handwritingHeight" value="text{$.handwritingHeight}" class="editTableInputNoWidth" style="width: 50px;;margin-right:5px;" />px
  70. <span>&nbsp;&nbsp;&nbsp;&nbsp;(pc端有效)</span>
  71. </td>
  72. </tr>
  73. </table>
  74. <div id="text{$.pid}labelTextStyleValue" title="格式" style="display: text{( !$.mode || ($.mode=='text') || ($.mode=='default')) ?'block':'none'}">
  75. <textarea name="textStyle" class="editTableTextarea">text{$.textStyle}</textarea>
  76. <div class="MWFScriptArea" name="textStyleScript" title="格式脚本(S)" collapse="true"></div>
  77. </div>
  78. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  79. <tr>
  80. <td class="editTableTitle">当前<br/>处理人:</td>
  81. <td class="editTableValue">
  82. <input class="editTableRadio" name="isTask" text{($.isTask)?'checked':''} type="radio" value="true"/>显示
  83. <input class="editTableRadio" name="isTask" text{(!$.isTask)?'checked':''} type="radio" value="false"/>不显示
  84. </td>
  85. </tr>
  86. </table>
  87. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  88. <tr>
  89. <td class="editTableTitle">待阅已阅:</td>
  90. <td class="editTableValue">
  91. <input class="editTableRadio" name="isShowRead" text{($.isShowRead!==false)?'checked':''} type="radio" value="true"/>显示
  92. <input class="editTableRadio" name="isShowRead" text{($.isShowRead===false)?'checked':''} type="radio" value="false"/>不显示
  93. </td>
  94. </tr>
  95. <tr>
  96. <td class="editTableTitle">待阅标题:</td>
  97. <td class="editTableValue"><input type="text" name="showReadTitle" value="text{$.showReadTitle}" class="editTableInput"/></td>
  98. </tr>
  99. <tr>
  100. <td class="editTableTitle">已阅标题:</td>
  101. <td class="editTableValue"><input type="text" name="showReadCompletedTitle" value="text{$.showReadCompletedTitle}" class="editTableInput"/></td>
  102. </tr>
  103. </table>
  104. </div>
  105. <div title="过滤" class="MWFTab">
  106. <div style="height:24px; line-height:24px; background-color:#EEE; padding-left:10px">活动过滤</div>
  107. <div><textarea style="height:40px; width:98%; border:1px solid #DDD;" name="filterActivity">text{$.filterActivity}</textarea></div>
  108. <div style="height:24px; line-height:24px; background-color:#EEE; padding-left:10px; border-top:1px solid #999;">活动别名过滤</div>
  109. <div><textarea style="height:40px; width:98%; border:1px solid #DDD;" name="filterActivityAlias">text{$.filterActivityAlias}</textarea></div>
  110. <div style="height:24px; line-height:24px; background-color:#EEE; padding-left:10px; border-top:1px solid #999;">处理人过滤</div>
  111. <div><textarea style="height: 40px; width:98%; border:1px solid #DDD;" name="filterPerson">text{$.filterPerson}</textarea></div>
  112. <div style="height:24px; line-height:24px; background-color:#EEE; padding-left:10px; border-top:1px solid #999;">路由过滤</div>
  113. <div><textarea style="height: 40px; width:98%; border:1px solid #DDD;" name="filterRoute">text{$.filterRoute}</textarea></div>
  114. <div><div id="labelEditScriptValue" class="MWFScriptArea" name="filterScript" title="通过脚本过滤(S)"></div></div>
  115. </div>
  116. <div title="分类" class="MWFTab">
  117. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  118. <tr>
  119. <td class="editTableTitle">分类:</td>
  120. <td class="editTableValue">
  121. <input class="editTableRadio" name="category" text{(!$.category || $.category=='none')?'checked':''} type="radio" value="none" onclick="if (this.checked){
  122. $('text{$.pid}tableStyleArea').setStyle('display', 'none');
  123. $('text{$.pid}expandArea').setStyle('display', 'none');
  124. $('text{$.pid}sortInCategory').setStyle('display', 'none');
  125. }" />无
  126. <input class="editTableRadio" name="category" text{( $.category=='activity')?'checked':''} type="radio" value="activity" onclick="if (this.checked){
  127. $('text{$.pid}tableStyleArea').setStyle('display', 'block');
  128. $('text{$.pid}expandArea').setStyle('display', 'block');
  129. $('text{$.pid}sortInCategory').setStyle('display', 'block');
  130. }"/>活动
  131. <input class="editTableRadio" name="category" text{( $.category=='activityGroup')?'checked':''} type="radio" value="activityGroup" onclick="if (this.checked){
  132. $('text{$.pid}tableStyleArea').setStyle('display', 'block');
  133. $('text{$.pid}expandArea').setStyle('display', 'block');
  134. $('text{$.pid}sortInCategory').setStyle('display', 'block');
  135. }"/>意见组
  136. <input class="editTableRadio" name="category" text{( $.category=='unit')?'checked':''} type="radio" value="unit" onclick="if (this.checked){
  137. $('text{$.pid}tableStyleArea').setStyle('display', 'block');
  138. $('text{$.pid}expandArea').setStyle('display', 'block');
  139. $('text{$.pid}sortInCategory').setStyle('display', 'block');
  140. }"/>组织
  141. </td>
  142. </tr>
  143. </table>
  144. <div id="text{$.pid}sortInCategory" title="分类内排序" style="display: text{($.category && $.category!='none') ?'block':'none'}">
  145. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  146. <tr>
  147. <td class="editTableTitle">分类内排序:</td>
  148. <td class="editTableValue">
  149. <input class="editTableRadio" name="sortTypeInCategory" text{(!$.sortTypeInCategory || $.sortTypeInCategory=='default')?'checked':''} type="radio" value="default" onclick="if (this.checked){
  150. //$('text{$.pid}sortInCategoryScript').setStyle('display', 'none');
  151. }" />按活动排序
  152. <input class="editTableRadio" name="sortTypeInCategory" text{( $.sortTypeInCategory && $.sortTypeInCategory=='completedTimeAsc') } type="radio" value="completedTimeAsc" onclick="if (this.checked){
  153. //$('text{$.pid}sortInCategoryScript').setStyle('display', 'none');
  154. }" />按时间顺序
  155. <input class="editTableRadio" name="sortTypeInCategory" text{( $.sortTypeInCategory && $.sortTypeInCategory=='completedTimeDesc')?'checked':''} type="radio" value="completedTimeDesc" onclick="if (this.checked){
  156. //$('text{$.pid}sortInCategoryScript').setStyle('display', 'none');
  157. }"/>按时间倒序
  158. <input class="editTableRadio" name="sortTypeInCategory" text{( $.sortTypeInCategory && $.sortTypeInCategory=='none')?'checked':''} type="radio" value="none" onclick="if (this.checked){
  159. //$('text{$.pid}sortInCategoryScript').setStyle('display', 'none');
  160. }"/>不排序
  161. <!--<input class="editTableRadio" name="sortTypeInCategory" text{( $.sortTypeInCategory=='script')?'checked':''} type="radio" value="script" onclick="if (this.checked){-->
  162. <!--$('text{$.pid}sortInCategoryScript').setStyle('display', 'block');-->
  163. <!--}"/>脚本-->
  164. </td>
  165. </tr>
  166. </table>
  167. <!--<div class="MWFScriptArea" name="sortInCategoryScript" title="分类内排序脚本(S)" collapse="true" style="display: text{($.sortTypeInCategory && $.sortTypeInCategory=='script') ?'block':'none'}"></div>-->
  168. </div>
  169. <div title="分类表格" id="text{$.pid}tableStyleArea" style="display: text{($.category && $.category!=='none') ?'block':'none'}">
  170. <div class="MWFMaplist" name="tableProperties" collapse="true" title="分类表格属性"></div>
  171. <div class="MWFMaplist" name="tableStyles" collapse="true" title="分类表格样式"></div>
  172. <div class="MWFMaplist" name="titleTdStyles" collapse="true" title="分类标题单元格样式"></div>
  173. <div class="MWFMaplist" name="contentTdStyles" collapse="true" title="分类内容单元格样式"></div>
  174. <div class="MWFMaplist" name="contentDivStyles" collapse="true" title="分类内容单元格内部样式"></div>
  175. </div>
  176. <div title="展开折叠区域" id="text{$.pid}expandArea" style="display: text{($.category && $.category!=='none') ?'block':'none'}">
  177. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  178. <tr>
  179. <td class="editTableTitle">展开折叠:</td>
  180. <td class="editTableValue">
  181. <input class="editTableRadio" name="expand" text{(!$.expand || $.expand=='disable')?'checked':''} type="radio" value="disable" onclick="if (this.checked){
  182. $('text{$.pid}expandStyleArea').setStyle('display', 'none');
  183. }" />禁用
  184. <input class="editTableRadio" name="expand" text{( $.expand=='enable')?'checked':''} type="radio" value="enable" onclick="if (this.checked){
  185. $('text{$.pid}expandStyleArea').setStyle('display', 'block');
  186. }"/>启用
  187. </td>
  188. </tr>
  189. </table>
  190. <div title="展开折叠设置" id="text{$.pid}expandStyleArea" style="display: text{($.expand && $.expand=='enable') ?'block':'none'}">
  191. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  192. <tr>
  193. <td class="editTableTitle">默认展开条数:</td>
  194. <td class="editTableValue"><input type="text" name="expandCount" value="text{$.expandCount}" class="editTableInput"/></td>
  195. </td>
  196. </tr>
  197. <tr>
  198. <td class="editTableTitle">展开节点HTML:</td>
  199. <td class="editTableValue"><textarea name="expandHTML" class="editTableTextarea">text{$.expandHTML}</textarea></td>
  200. </tr>
  201. <tr>
  202. <td class="editTableTitle">折叠节点HTML:</td>
  203. <td class="editTableValue"><textarea name="collapseHTML" class="editTableTextarea">text{$.collapseHTML}</textarea></td>
  204. </tr>
  205. </table>
  206. </div>
  207. </div>
  208. </div>
  209. <div title="事件" class="MWFTab">
  210. <div class="MWFEventsArea" name="events"></div>
  211. </div>
  212. <div title="HTML" class="MWFTab">
  213. <div class="MWFHTMLArea" style="font-family: Verdana, Geneva, sans-serif; font-size:14px"></div>
  214. </div>
  215. <div title="JSON" class="MWFTab">
  216. <div class="MWFJSONArea" style="font-family: Verdana, Geneva, sans-serif; font-size:14px"></div>
  217. </div>
  218. </div>