view.html 9.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189
  1. <div style="background-color: #FFF; overflow: hidden">
  2. <div title="{{$.lp.base}}" class="MWFTab">
  3. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  4. <tr>
  5. <td class="editTableTitle">{{$.lp.id}}:</td>
  6. <td class="editTableValue"><input type="text" name="id" value="text{$.id}" class="editTableInput"/></td>
  7. </tr>
  8. <tr>
  9. <td class="editTableTitle">{{$.lp.name}}:</td>
  10. <td class="editTableValue"><input type="text" name="name" value="text{$.name}" class="editTableInput"/></td>
  11. </tr>
  12. <tr>
  13. <td class="editTableTitle">{{$.lp.description}}:</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="{{$.lp.style}}"></div>
  22. <div class="MWFMaplist" name="properties" title="{{$.lp.attribute}}"></div>
  23. <div class="MWFMaplist" name="titleStyles" title="{{$.lp.titleStyle}}"></div>
  24. <div class="MWFMaplist" name="itemStyles" title="{{$.lp.dataStyle}}"></div>
  25. </div>
  26. <div title="{{$.lp.view}}" class="MWFTab">
  27. <div>
  28. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  29. <tr>
  30. <td class="editTableTitle">{{$.lp.view}}:</td>
  31. <td class="editTableValue"><div class="MWFQueryViewSelect" name="queryView"></div></td>
  32. </tr>
  33. </table>
  34. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  35. <tr>
  36. <td class="editTableTitle">{{$.lp.loadNow}}:</td>
  37. <td class="editTableValue">
  38. <input type="radio" name="loadView" value="yes" text{($.loadView!='no')?'checked':''}/>{{$.lp.yes}}
  39. <input type="radio" name="loadView" value="no" text{($.loadView=='no')?'checked':''}/>{{$.lp.no}}
  40. </td>
  41. </tr>
  42. </table>
  43. </div>
  44. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  45. <!--<tr>-->
  46. <!--<td class="editTableTitle">视图:</td>-->
  47. <!--<td class="editTableValue">-->
  48. <!--<div class="MWFViewSelect" name="view"></div>-->
  49. <!--</td>-->
  50. <!--</tr>-->
  51. <tr>
  52. <td class="editTableTitle">{{$.lp.showTitle}}</td>
  53. <td class="editTableValue">
  54. <input class="editTableRadio" name="isTitle" text{($.isTitle!='no')?'checked':''} type="radio" value="yes"/>{{$.lp.show}}
  55. <input class="editTableRadio" name="isTitle" text{($.isTitle=='no')?'checked':''} type="radio" value="no"/>{{$.lp.hide}}
  56. </td>
  57. </tr>
  58. <tr>
  59. <td class="editTableTitle">{{$.lp.expandDefault}}</td>
  60. <td class="editTableValue">
  61. <input class="editTableRadio" name="isExpand" text{($.isExpand=='yes')?'checked':''} type="radio" value="yes"/>{{$.lp.expand}}
  62. <input class="editTableRadio" name="isExpand" text{($.isExpand!='yes')?'checked':''} type="radio" value="no"/>{{$.lp.collapse}}
  63. </td>
  64. </tr>
  65. <tr>
  66. <td class="editTableTitle">{{$.lp.allowSelect}}</td>
  67. <td class="editTableValue">
  68. <select name="select" onchange="$('text{$.pid}selectedAbleScript').setStyle('display', this.options[this.selectedIndex].value === 'no' ? 'none' : 'block');">
  69. <option text{($.select!='single' && $.select!='multi')?'selected':''} value="no">{{$.lp.notAllow}}</option>
  70. <option text{($.select=='single')?'selected':''} value="single">{{$.lp.singleChoice}}</option>
  71. <option text{($.select=='multi')?'selected':''} value="multi">{{$.lp.multipleChoice}}</option>
  72. </select>
  73. </td>
  74. </tr>
  75. <tr>
  76. <td class="editTableTitle">{{$.lp.actionBar}}</td>
  77. <td class="editTableValue">
  78. <input class="editTableRadio" name="actionbar" text{($.actionbar=='show')?'checked':''} type="radio" value="show"/>{{$.lp.show}}
  79. <input class="editTableRadio" name="actionbar" text{($.actionbar!='show')?'checked':''} type="radio" value="hidden"/>{{$.lp.hide}}
  80. </td>
  81. </tr>
  82. <!--<tr>-->
  83. <!--<td class="editTableTitle">打开文件</td>-->
  84. <!--<td class="editTableValue">-->
  85. <!--<input class="editTableRadio" name="isOpen" text{($.isOpen!='no')?'checked':''} type="radio" value="yes"/>允许-->
  86. <!--<input class="editTableRadio" name="isOpen" text{($.isOpen=='no')?'checked':''} type="radio" value="no"/>不允许-->
  87. <!--</td>-->
  88. <!--</tr>-->
  89. </table>
  90. <div style="background-color: #eeeeee; border-top:1px solid #999999; height: 24px; line-height: 24px; text-align: center; cursor:pointer">{{$.lp.filter}}</div>
  91. <div class="MWFViewFilter">
  92. <div class="inputAreaNode_vf">
  93. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable restrictViewFilterTable_vf">
  94. <tr style="display:none">
  95. <td class="editTableTitle">{{$.lp.title}}:</td>
  96. <td class="editTableValue"><input type="text" class="editTableInput titleInput_vf"/></td>
  97. </tr>
  98. <tr>
  99. <td class="editTableTitle">{{$.lp.path}}:</td>
  100. <td class="editTableValue"><input type="text" class="editTableInput pathInput_vf"/></td>
  101. </tr>
  102. <tr>
  103. <td class="editTableTitle">{{$.lp.dataType}}:</td>
  104. <td class="editTableValue"><select class="datatypeInput_vf">
  105. <option value="textValue" selected>{{$.lp.text}}</option>
  106. <option value="numberValue">{{$.lp.number}}</option>
  107. <option value="dateValue">{{$.lp.date}}</option>
  108. <option value="dateTimeValue">{{$.lp.dateTime2}}</option>
  109. <option value="booleanValue">{{$.lp.boolean}}</option>
  110. </select></td>
  111. </tr>
  112. <tr style="display:none">
  113. <td class="editTableTitle"></td>
  114. <td class="editTableValue">
  115. <input type="radio" class="restrictFilterInput_vf" value="restrict" name="text{$.id}viewFilterType" checked/>{{$.lp.asDefaultFilter}}<br>
  116. <input type="radio" class="customFilterInput_vf" value="custom" name="text{$.id}viewFilterType"/>{{$.lp.asCustomFilter}}
  117. </td>
  118. </tr>
  119. </table>
  120. <table id="text{$.pid}viewFilterRestrict" width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  121. <tr>
  122. <td class="editTableTitle">{{$.lp.logic}}:</td>
  123. <td class="editTableValue"><select class="logicInput_vf">
  124. <option selected value="and">{{$.lp.and}}</option>
  125. <option value="or">{{$.lp.or}}</option>
  126. </select></td>
  127. </tr>
  128. <tr>
  129. <td class="editTableTitle">{{$.lp.compare}}:</td>
  130. <td class="editTableValue"><select class="comparisonInput_vf">
  131. <option value="equals" selected>{{$.lp.equals}}(==)</option>
  132. <option value="notEquals">{{$.lp.notEquals}}(!=)</option>
  133. <option value="greaterThan">{{$.lp.greaterThan}}(>)</option>
  134. <option value="greaterThanOrEqualTo">{{$.lp.greaterThanOrEqualTo}}(>=)</option>
  135. <option value="lessThan">{{$.lp.lessThan}}(<)</option>
  136. <option value="lessThanOrEqualTo">{{$.lp.lessThanOrEqualTo}}(<=)</option>
  137. <option value="like">{{$.lp.like}}(like)</option>
  138. <option value="notLike">{{$.lp.notLike}}(not-like)</option>
  139. <!-- <option value="range">{{$.lp.range}}(range)</option>-->
  140. <option value="in">{{$.lp.in}}(in)</option>
  141. </select></td>
  142. </tr>
  143. <tr style="display:none">
  144. <td class="editTableTitle">{{$.lp.value}}:</td>
  145. <td class="editTableValue">
  146. <input type="text" class="editTableInput valueTextInput_vf" style="display: block"/>
  147. <input type="number" class="editTableInput valueNumberInput_vf" style="display: none"/>
  148. <input type="text" class="editTableInput valueDatetimeInput_vf" style="display: none" readonly/>
  149. <input type="text" class="editTableInput valueDateInput_vf" style="display: none" readonly/>
  150. <input type="text" class="editTableInput valueTimeInput_vf" style="display: none" readonly/>
  151. <select class="valueBooleanInput_vf" style="display: none">
  152. <option value="true" selected>{{$.lp.true}}(True)</option>
  153. <option value="false">{{$.lp.false}}(False)</option>
  154. </select>
  155. <div class="multiValueNotice_vf" style="display: none;color: #999;line-height: 24px;">{{$.lp.filterValueInfo}}</div>
  156. </td>
  157. </tr>
  158. </table>
  159. <div title="值" class="MWFFilterFormulaArea"></div>
  160. </div>
  161. <div class="actionAreaNode_vf"></div>
  162. <div style="height: 20px; line-height: 20px; text-align:center; background-color: #eeeeee">{{$.lp.defaultFilter}}</div>
  163. <div class="listAreaNode_vf" style="min-height: 56px; border-bottom:1px solid #CCCCCC; overflow: hidden;"></div>
  164. <div style="display:none; height: 20px; line-height: 20px; text-align:center; background-color: #eeeeee">{{$.lp.customFilter}}</div>
  165. <div class="fieldListAreaNode_vf" style="display:none; min-height: 56px; border-bottom:1px solid #CCCCCC; overflow: hidden;"></div>
  166. </div>
  167. <div class="MWFScriptArea" name="defaultSelectedScript" title="{{$.lp.defaultSelectedLineScript}}"></div>
  168. <div class="MWFScriptArea" name="selectedAbleScript" title="{{$.lp.allowSelectiLineScript}}" id="text{$.pid}selectedAbleScript"
  169. style="display: text{($.select=='single' || $.select=='multi')?'':'none'}"></div>
  170. </div>
  171. <div title="{{$.lp.event}}" class="MWFTab">
  172. <div class="MWFEventsArea" name="events"></div>
  173. </div>
  174. <div title="HTML" class="MWFTab">
  175. <div class="MWFHTMLArea" style="font-family: Verdana, Geneva, sans-serif; font-size:14px"></div>
  176. </div>
  177. <div title="JSON" class="MWFTab">
  178. <div class="MWFJSONArea" style="font-family: Verdana, Geneva, sans-serif; font-size:14px"></div>
  179. </div>
  180. </div>