statement.html 8.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176
  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 title="查询" class="MWFTab">
  26. <div>
  27. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  28. <tr>
  29. <td class="editTableTitle">查询:</td>
  30. <td class="editTableValue"><div class="MWFQueryStatementSelect" name="queryStatement"></div></td>
  31. </tr>
  32. </table>
  33. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  34. <tr>
  35. <td class="editTableTitle">立即载入:</td>
  36. <td class="editTableValue">
  37. <input type="radio" name="loadView" value="yes" text{($.loadView!='no')?'checked':''}/>是
  38. <input type="radio" name="loadView" value="no" text{($.loadView=='no')?'checked':''}/>否
  39. </td>
  40. </tr>
  41. </table>
  42. </div>
  43. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  44. <!--<tr>-->
  45. <!--<td class="editTableTitle">视图:</td>-->
  46. <!--<td class="editTableValue">-->
  47. <!--<div class="MWFViewSelect" name="view"></div>-->
  48. <!--</td>-->
  49. <!--</tr>-->
  50. <tr>
  51. <td class="editTableTitle">显示标题</td>
  52. <td class="editTableValue">
  53. <input class="editTableRadio" name="isTitle" text{($.isTitle!='no')?'checked':''} type="radio" value="yes"/>显示
  54. <input class="editTableRadio" name="isTitle" text{($.isTitle=='no')?'checked':''} type="radio" value="no"/>不显示
  55. </td>
  56. </tr>
  57. <tr>
  58. <td class="editTableTitle">选择文件</td>
  59. <td class="editTableValue">
  60. <select name="select">
  61. <option text{($.select!='single' && $.select!='multi')?'selected':''} value="no">不允许</option>
  62. <option text{($.select=='single')?'selected':''} value="single">单选</option>
  63. <option text{($.select=='multi')?'selected':''} value="multi">多选</option>
  64. </select>
  65. </td>
  66. </tr>
  67. <tr>
  68. <td class="editTableTitle">操作条</td>
  69. <td class="editTableValue">
  70. <input class="editTableRadio" name="actionbar" text{($.actionbar=='show')?'checked':''} type="radio" value="show"/>显示
  71. <input class="editTableRadio" name="actionbar" text{($.actionbar!='show')?'checked':''} type="radio" value="hidden"/>不显示
  72. </td>
  73. </tr>
  74. </table>
  75. <div style="background-color: #eeeeee; border-top:1px solid #999999; height: 24px; line-height: 24px; text-align: center; cursor:pointer">过滤</div>
  76. <div class="MWFStatementFilter">
  77. <div class="inputAreaNode_vf">
  78. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable restrictViewFilterTable_vf">
  79. <tr id="text{$.id}pathInputSelectTr">
  80. <td class="editTableTitle">选择:</td>
  81. <td class="editTableValue">
  82. <select class="pathInputSelect_vf"></select>
  83. <!-- <div style="line-height: 20px;color:#999;">注:选择路径后,需在选择的值前面加上"表别名.",如:o.</div>-->
  84. </td>
  85. </tr>
  86. <tr style="display:none">
  87. <td class="editTableTitle">标题:</td>
  88. <td class="editTableValue"><input type="text" class="editTableInput titleInput_vf"/></td>
  89. </tr>
  90. <tr>
  91. <td class="editTableTitle">路径:</td>
  92. <td class="editTableValue"><input type="text" class="editTableInput pathInput_vf"/></td>
  93. 注:路径的写法是"表别名.字段名",如:o.title
  94. </tr>
  95. <tr>
  96. <td class="editTableTitle">数据类型:</td>
  97. <td class="editTableValue"><select class="datatypeInput_vf">
  98. <option value="textValue" selected>文本</option>
  99. <option value="numberValue">数字</option>
  100. <option value="dateTimeValue">日期时间</option>
  101. <option value="booleanValue">布尔</option>
  102. </select></td>
  103. </tr>
  104. <!-- <tr style="display:none">-->
  105. <!-- <td class="editTableTitle"></td>-->
  106. <!-- <td class="editTableValue">-->
  107. <!-- <input type="radio" class="restrictFilterInput_vf" value="restrict" name="text{$.id}viewFilterType" checked/>作为默认过滤条件<br>-->
  108. <!-- <input type="radio" class="customFilterInput_vf" value="custom" name="text{$.id}viewFilterType"/>作为自定义过滤数据-->
  109. <!-- </td>-->
  110. <!-- </tr>-->
  111. </table>
  112. <table id="text{$.pid}viewFilterRestrict" width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  113. <!-- <tr>-->
  114. <!-- <td class="editTableTitle">逻辑:</td>-->
  115. <!-- <td class="editTableValue"><select class="logicInput_vf">-->
  116. <!-- <option selected value="and">并且(and)</option>-->
  117. <!-- <option value="or">或者(or)</option>-->
  118. <!-- </select></td>-->
  119. <!-- </tr>-->
  120. <tr>
  121. <td class="editTableTitle">比较:</td>
  122. <td class="editTableValue"><select class="comparisonInput_vf">
  123. <option value="equals" selected>等于(==)</option>
  124. <option value="notEquals">不等于(!=)</option>
  125. <option value="greaterThan">大于(>)</option>
  126. <option value="greaterThanOrEqualTo">大于等于(>=)</option>
  127. <option value="lessThan">小于(<)</option>
  128. <option value="lessThanOrEqualTo">小于等于(<=)</option>
  129. <option value="like">匹配(like)</option>
  130. <option value="notLike">不匹配(not-like)</option>
  131. <option value="range">范围(range)</option>
  132. </select></td>
  133. </tr>
  134. <!-- <tr style="display:none">-->
  135. <!-- <td class="editTableTitle">值:</td>-->
  136. <!-- <td class="editTableValue">-->
  137. <!-- <input type="text" class="editTableInput valueTextInput_vf" style="display: block"/>-->
  138. <!-- <input type="number" class="editTableInput valueNumberInput_vf" style="display: none"/>-->
  139. <!-- <input type="text" class="editTableInput valueDatetimeInput_vf" style="display: none" readonly/>-->
  140. <!-- <input type="text" class="editTableInput valueDateInput_vf" style="display: none" readonly/>-->
  141. <!-- <input type="text" class="editTableInput valueTimeInput_vf" style="display: none" readonly/>-->
  142. <!-- <select class="valueBooleanInput_vf" style="display: none">-->
  143. <!-- <option value="true" selected>是(True)</option>-->
  144. <!-- <option value="false">否(False)</option>-->
  145. <!-- </select>-->
  146. <!-- </td>-->
  147. <!-- </tr>-->
  148. </table>
  149. <div title="值" class="MWFFilterFormulaArea"></div>
  150. </div>
  151. <div class="actionAreaNode_vf"></div>
  152. <div style="height: 20px; line-height: 20px; text-align:center; background-color: #eeeeee">默认过滤条件</div>
  153. <div class="listAreaNode_vf" style="min-height: 56px; border-bottom:1px solid #CCCCCC; overflow: hidden;"></div>
  154. <!-- <div style="display:none; height: 20px; line-height: 20px; text-align:center; background-color: #eeeeee">自定义过滤数据</div>-->
  155. <!-- <div class="fieldListAreaNode_vf" style="display:none; min-height: 56px; border-bottom:1px solid #CCCCCC; overflow: hidden;"></div>-->
  156. </div>
  157. <div class="MWFScriptArea" name="defaultSelectedScript" title="默认选中行脚本"></div>
  158. </div>
  159. <div title="事件" class="MWFTab">
  160. <div class="MWFEventsArea" name="events"></div>
  161. </div>
  162. <div title="HTML" class="MWFTab">
  163. <div class="MWFHTMLArea" style="font-family: Verdana, Geneva, sans-serif; font-size:14px"></div>
  164. </div>
  165. <div title="JSON" class="MWFTab">
  166. <div class="MWFJSONArea" style="font-family: Verdana, Geneva, sans-serif; font-size:14px"></div>
  167. </div>
  168. </div>