view.html 9.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210
  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. </table>
  21. <div class="MWFMaplist" name="styles" title="样式"></div>
  22. <div class="MWFMaplist" name="properties" title="属性"></div>
  23. <div class="MWFMaplist" name="titleStyles" title="标题样式"></div>
  24. <div class="MWFMaplist" name="itemStyles" title="数据样式"></div>
  25. </div>
  26. <div title="视图" class="MWFTab">
  27. <!--<div>-->
  28. <!--<table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">-->
  29. <!--<tr>-->
  30. <!--<td class="editTableTitle"></td>-->
  31. <!--<td class="editTableValue">-->
  32. <!--<input type="radio" onclick="if (this.checked) {$('text{$.id}processViewArea').setStyle('display', 'block'); $('text{$.id}cmsViewArea').setStyle('display', 'none');}" name="selectViewType" value="process" text{($.selectViewType!='cms')?'checked':''}/>流程视图-->
  33. <!--<input type="radio" onclick="if (this.checked) {$('text{$.id}processViewArea').setStyle('display', 'none'); $('text{$.id}cmsViewArea').setStyle('display', 'block');}" name="selectViewType" value="cms" text{($.selectViewType=='cms')?'checked':''}/>内容管理视图-->
  34. <!--</td>-->
  35. <!--</tr>-->
  36. <!--</table>-->
  37. <!--</div>-->
  38. <!--<div id="text{$.id}processViewArea" style="display: text{($.selectViewType!='cms')?'block':'none'};">-->
  39. <!--<table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">-->
  40. <!--<tr>-->
  41. <!--<td class="editTableTitle">视图:</td>-->
  42. <!--<td class="editTableValue"><div class="MWFViewSelect" name="processView"></div></td>-->
  43. <!--</tr>-->
  44. <!--</table>-->
  45. <!--</div>-->
  46. <!--<div id="text{$.id}cmsViewArea" style="display: text{($.selectViewType=='cms')?'block':'none'};">-->
  47. <!--<table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">-->
  48. <!--<tr>-->
  49. <!--<td class="editTableTitle">视图:</td>-->
  50. <!--<td class="editTableValue"><div class="MWFCMSViewSelect" name="cmsView"></div></td>-->
  51. <!--</tr>-->
  52. <!--</table>-->
  53. <!--</div>-->
  54. <div>
  55. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  56. <tr>
  57. <td class="editTableTitle">视图:</td>
  58. <td class="editTableValue"><div class="MWFQueryViewSelect" name="queryView"></div></td>
  59. </tr>
  60. </table>
  61. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  62. <tr>
  63. <td class="editTableTitle">立即载入:</td>
  64. <td class="editTableValue">
  65. <input type="radio" name="loadView" value="yes" text{($.loadView!='no')?'checked':''}/>是
  66. <input type="radio" name="loadView" value="no" text{($.loadView=='no')?'checked':''}/>否
  67. </td>
  68. </tr>
  69. </table>
  70. </div>
  71. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  72. <!--<tr>-->
  73. <!--<td class="editTableTitle">视图:</td>-->
  74. <!--<td class="editTableValue">-->
  75. <!--<div class="MWFViewSelect" name="view"></div>-->
  76. <!--</td>-->
  77. <!--</tr>-->
  78. <tr>
  79. <td class="editTableTitle">显示标题</td>
  80. <td class="editTableValue">
  81. <input class="editTableRadio" name="isTitle" text{($.isTitle!='no')?'checked':''} type="radio" value="yes"/>显示
  82. <input class="editTableRadio" name="isTitle" text{($.isTitle=='no')?'checked':''} type="radio" value="no"/>不显示
  83. </td>
  84. </tr>
  85. <tr>
  86. <td class="editTableTitle">默认展开</td>
  87. <td class="editTableValue">
  88. <input class="editTableRadio" name="isExpand" text{($.isExpand=='yes')?'checked':''} type="radio" value="yes"/>展开
  89. <input class="editTableRadio" name="isExpand" text{($.isExpand!='yes')?'checked':''} type="radio" value="no"/>不展开
  90. </td>
  91. </tr>
  92. <tr>
  93. <td class="editTableTitle">选择文件</td>
  94. <td class="editTableValue">
  95. <select name="select">
  96. <option text{($.select!='single' && $.select!='multi')?'selected':''} value="no">不允许</option>
  97. <option text{($.select=='single')?'selected':''} value="single">单选</option>
  98. <option text{($.select=='multi')?'selected':''} value="multi">多选</option>
  99. </select>
  100. </td>
  101. </tr>
  102. <tr>
  103. <td class="editTableTitle">操作条</td>
  104. <td class="editTableValue">
  105. <input class="editTableRadio" name="actionbar" text{($.actionbar=='show')?'checked':''} type="radio" value="show"/>显示
  106. <input class="editTableRadio" name="actionbar" text{($.actionbar!='show')?'checked':''} type="radio" value="hidden"/>不显示
  107. </td>
  108. </tr>
  109. <!--<tr>-->
  110. <!--<td class="editTableTitle">打开文件</td>-->
  111. <!--<td class="editTableValue">-->
  112. <!--<input class="editTableRadio" name="isOpen" text{($.isOpen!='no')?'checked':''} type="radio" value="yes"/>允许-->
  113. <!--<input class="editTableRadio" name="isOpen" text{($.isOpen=='no')?'checked':''} type="radio" value="no"/>不允许-->
  114. <!--</td>-->
  115. <!--</tr>-->
  116. </table>
  117. <div style="background-color: #eeeeee; border-top:1px solid #999999; height: 24px; line-height: 24px; text-align: center; cursor:pointer">过滤</div>
  118. <div class="MWFViewFilter">
  119. <div class="inputAreaNode_vf">
  120. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable restrictViewFilterTable_vf">
  121. <tr style="display:none">
  122. <td class="editTableTitle">标题:</td>
  123. <td class="editTableValue"><input type="text" class="editTableInput titleInput_vf"/></td>
  124. </tr>
  125. <tr>
  126. <td class="editTableTitle">路径:</td>
  127. <td class="editTableValue"><input type="text" class="editTableInput pathInput_vf"/></td>
  128. </tr>
  129. <tr>
  130. <td class="editTableTitle">数据类型:</td>
  131. <td class="editTableValue"><select class="datatypeInput_vf">
  132. <option value="textValue" selected>文本</option>
  133. <option value="numberValue">数字</option>
  134. <option value="dateTimeValue">日期</option>
  135. <option value="booleanValue">布尔</option>
  136. </select></td>
  137. </tr>
  138. <tr style="display:none">
  139. <td class="editTableTitle"></td>
  140. <td class="editTableValue">
  141. <input type="radio" class="restrictFilterInput_vf" value="restrict" name="text{$.pid}viewFilterType" checked/>作为默认过滤条件<br>
  142. <input type="radio" class="customFilterInput_vf" value="custom" name="text{$.pid}viewFilterType"/>作为自定义过滤数据
  143. </td>
  144. </tr>
  145. </table>
  146. <table id="text{$.pid}viewFilterRestrict" width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  147. <tr>
  148. <td class="editTableTitle">逻辑:</td>
  149. <td class="editTableValue"><select class="logicInput_vf">
  150. <option selected value="and">并且(and)</option>
  151. <option value="or">或者(or)</option>
  152. </select></td>
  153. </tr>
  154. <tr>
  155. <td class="editTableTitle">比较:</td>
  156. <td class="editTableValue"><select class="comparisonInput_vf">
  157. <option value="equals" selected>等于(==)</option>
  158. <option value="notEquals">不等于(!=)</option>
  159. <option value="greaterThan">大于(>)</option>
  160. <option value="greaterThanOrEqualTo">大于等于(>=)</option>
  161. <option value="lessThan">小于(<)</option>
  162. <option value="lessThanOrEqualTo">小于等于(<=)</option>
  163. <option value="like">匹配(like)</option>
  164. <option value="notLike">不匹配(not-like)</option>
  165. <option value="range">范围(range)</option>
  166. </select></td>
  167. </tr>
  168. <tr style="display:none">
  169. <td class="editTableTitle">值:</td>
  170. <td class="editTableValue">
  171. <input type="text" class="editTableInput valueTextInput_vf" style="display: block"/>
  172. <input type="number" class="editTableInput valueNumberInput_vf" style="display: none"/>
  173. <input type="text" class="editTableInput valueDatetimeInput_vf" style="display: none" readonly/>
  174. <input type="text" class="editTableInput valueDateInput_vf" style="display: none" readonly/>
  175. <input type="text" class="editTableInput valueTimeInput_vf" style="display: none" readonly/>
  176. <select class="valueBooleanInput_vf" style="display: none">
  177. <option value="true" selected>是(True)</option>
  178. <option value="false">否(False)</option>
  179. </select>
  180. </td>
  181. </tr>
  182. </table>
  183. <div title="值" class="MWFFilterFormulaArea"></div>
  184. </div>
  185. <div class="actionAreaNode_vf"></div>
  186. <div style="height: 20px; line-height: 20px; text-align:center; background-color: #eeeeee">默认过滤条件</div>
  187. <div class="listAreaNode_vf" style="min-height: 56px; border-bottom:1px solid #CCCCCC; overflow: hidden;"></div>
  188. <div style="display:none; height: 20px; line-height: 20px; text-align:center; background-color: #eeeeee">自定义过滤数据</div>
  189. <div class="fieldListAreaNode_vf" style="display:none; min-height: 56px; border-bottom:1px solid #CCCCCC; overflow: hidden;"></div>
  190. </div>
  191. </div>
  192. <div title="事件" class="MWFTab">
  193. <div class="MWFEventsArea" name="events"></div>
  194. </div>
  195. <div title="HTML" class="MWFTab">
  196. <div class="MWFHTMLArea" style="font-family: Verdana, Geneva, sans-serif; font-size:14px"></div>
  197. </div>
  198. <div title="JSON" class="MWFTab">
  199. <div class="MWFJSONArea" style="font-family: Verdana, Geneva, sans-serif; font-size:14px"></div>
  200. </div>
  201. </div>