rpt_tpl_dtl_field_loc.html 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177
  1. <div class="tab-pane" id="rpttplfieldlocation" role="tabpanel">
  2. <div class="main-data">
  3. <div class="p-3">
  4. <div class="row">
  5. <div class="form-group col-md-5" style="max-height: 310px;">
  6. <div class="ztree-warp" style="height: 300px;">
  7. <ul id="tpl_data_info_reversed" class="ztree"></ul>
  8. </div>
  9. </div>
  10. <div class="form-group col-md-4" style="max-height: 410px;">
  11. <div class="ztree-warp" style="height: 300px;">
  12. <ul id="tpl_data_selected_field_map_reversed" class="ztree"></ul>
  13. </div>
  14. </div>
  15. <div class="form-group col-md-3" style="max-height: 310px;">
  16. <div class="ztree-warp" style="height: 300px;">
  17. <ul id="tpl_discrete_fields_params_reversed" class="ztree"></ul>
  18. </div>
  19. </div>
  20. </div>
  21. <div class="row" id="element_font">
  22. <div class="form-group col-md-3">
  23. <label>字体选择</label>
  24. <select class="form-control" id="elementFonts" onchange="rpt_tpl_cfg_helper.fontChange(this)" disabled></select>
  25. </div>
  26. <div class="form-group col-md-3">
  27. <label>字体名称</label>
  28. <input class="form-control" id="eleFontName" value="" onchange="rpt_tpl_cfg_helper.fontNameChange(this)" disabled>
  29. </div>
  30. <div class="form-group col-md-2">
  31. <label>字体大小</label>
  32. <input class="form-control input-sm" id="eleFontSize" type="number" value="12" step="1" min="6" max="56" onchange="rpt_tpl_cfg_helper.fontSizeChange(this)" disabled>
  33. </div>
  34. <div class="form-group col-md-4">
  35. <label>字体其他特性</label>
  36. <div class="form-check">
  37. <label class="form-check-label">
  38. <input type="checkbox" class="form-check-input" id="eleFontBold" onchange="rpt_tpl_cfg_helper.fontBoldChange(this)" disabled>
  39. 粗体
  40. </label>&nbsp&nbsp
  41. <label class="form-check-label">
  42. <input type="checkbox" class="form-check-input" id="eleFontItalic" onchange="rpt_tpl_cfg_helper.fontItalicChange(this)" disabled>
  43. 斜体
  44. </label>&nbsp&nbsp
  45. <label class="form-check-label">
  46. <input type="checkbox" class="form-check-input" id="eleFontUnderline" onchange="rpt_tpl_cfg_helper.fontUnderlineChange(this)" disabled>
  47. 下划线
  48. </label>
  49. </div>
  50. </div>
  51. </div>
  52. <div class="row" id="element_border">
  53. <div class="form-group col-md-3">
  54. <label>边框样式</label>
  55. <select class="form-control" id="elementBorders" onchange="rpt_tpl_cfg_helper.borderChange(this)"></select>
  56. </div>
  57. <div class="form-group col-md-2">
  58. <label>左边</label>
  59. <input class="form-control input-sm" id="eleBorderLeft" type="number" value="0" step="1" min="0" max="3" disabled>
  60. </div>
  61. <div class="form-group col-md-2">
  62. <label>右边</label>
  63. <input class="form-control input-sm" id="eleBorderRight" type="number" value="0" step="1" min="0" max="3" disabled>
  64. </div>
  65. <div class="form-group col-md-2">
  66. <label>上边</label>
  67. <input class="form-control input-sm" id="eleBorderTop" type="number" value="0" step="1" min="0" max="3" disabled>
  68. </div>
  69. <div class="form-group col-md-2">
  70. <label>下边</label>
  71. <input class="form-control input-sm" id="eleBorderBottom" type="number" value="0" step="1" min="0" max="3" disabled>
  72. </div>
  73. </div>
  74. <div class="row" id="element_control">
  75. <div class="form-group col-md-3">
  76. <label>控制选择</label>
  77. <select class="form-control" id="elementControls" onchange="rpt_tpl_cfg_helper.controlChange(this)"></select>
  78. </div>
  79. <div class="form-group col-md-2">
  80. <label>横向对齐</label>
  81. <select class="form-control" id="elementAlignmentHorizon" onchange="rpt_tpl_cfg_helper.changeAlignment(this, 'horizon')" disabled></select>
  82. </div>
  83. <div class="form-group col-md-2">
  84. <label>纵向对齐</label>
  85. <select class="form-control" id="elementAlignmentVertical" onchange="rpt_tpl_cfg_helper.changeAlignment(this, 'vertical')" disabled></select>
  86. </div>
  87. <div class="form-group col-md-5">
  88. <label>控制其他特性</label>
  89. <div class="form-check">
  90. <label class="form-check-label">
  91. <input type="checkbox" class="form-check-input" id="eleShrink" onchange="" disabled>
  92. 自动缩放
  93. </label>&nbsp&nbsp
  94. <label class="form-check-label">
  95. <input type="checkbox" class="form-check-input" id="eleShowZero" onchange="" disabled>
  96. 显示0
  97. </label>&nbsp&nbsp
  98. <label class="form-check-label">
  99. <input type="checkbox" class="form-check-input" id="eleAutoWrap" onchange="" disabled>
  100. 自动折行
  101. </label>
  102. </div>
  103. </div>
  104. </div>
  105. <div class="row" id="element_area_1">
  106. <div class="form-group col-md-2">
  107. <label>左</label><label>&nbsp&nbsp&nbsp</label>
  108. <label class="form-check-label">
  109. <input type="checkbox" class="form-check-input" id="isPercentage_Left" onchange="rpt_tpl_cfg_helper.changeAreaCalcType(this, 'Left')">
  110. 百分比
  111. </label>
  112. <input class="form-control input-sm" id="elementArea_Left" type="number" value="0" step="1" min="0" max="100" onchange="rpt_tpl_cfg_helper.changeArea(this, 'Left')" onkeyup="rpt_tpl_cfg_helper.changeArea(this, 'Left')">
  113. </div>
  114. <div class="form-group col-md-2">
  115. <label>右</label><label>&nbsp&nbsp&nbsp</label>
  116. <label class="form-check-label">
  117. <input type="checkbox" class="form-check-input" id="isPercentage_Right" onchange="rpt_tpl_cfg_helper.changeAreaCalcType(this, 'Right')">
  118. 百分比
  119. </label>
  120. <input class="form-control input-sm" id="elementArea_Right" type="number" value="0" step="1" min="0" max="100" onchange="rpt_tpl_cfg_helper.changeArea(this, 'Right')" onkeyup="rpt_tpl_cfg_helper.changeArea(this, 'Right')">
  121. </div>
  122. <div class="form-group col-md-2">
  123. <label>上</label><label>&nbsp&nbsp&nbsp</label>
  124. <label class="form-check-label">
  125. <input type="checkbox" class="form-check-input" id="isPercentage_Top" onchange="rpt_tpl_cfg_helper.changeAreaCalcType(this, 'Top')">
  126. 百分比
  127. </label>
  128. <input class="form-control input-sm" id="elementArea_Top" type="number" value="0" step="1" min="0" max="100" onchange="rpt_tpl_cfg_helper.changeArea(this, 'Top')" onkeyup="rpt_tpl_cfg_helper.changeArea(this, 'Top')">
  129. </div>
  130. <div class="form-group col-md-2">
  131. <label>下</label><label>&nbsp&nbsp&nbsp</label>
  132. <label class="form-check-label">
  133. <input type="checkbox" class="form-check-input" id="isPercentage_Bottom" onchange="rpt_tpl_cfg_helper.changeAreaCalcType(this, 'Bottom')">
  134. 百分比
  135. </label>
  136. <input class="form-control input-sm" id="elementArea_Bottom" type="number" value="0" step="1" min="0" max="100" onchange="rpt_tpl_cfg_helper.changeArea(this, 'Bottom')" onkeyup="rpt_tpl_cfg_helper.changeArea(this, 'Bottom')">
  137. </div>
  138. <div class="form-group col-md-2">
  139. <label>&nbsp&nbsp&nbsp</label>
  140. <div class="form-check">
  141. <label class="form-check-label">
  142. <input type="checkbox" class="form-check-input" id="eleAutoHeight" onchange="rpt_tpl_cfg_helper.changeAutoHeight(this)">
  143. 自动行高
  144. </label>&nbsp&nbsp
  145. </div>
  146. </div>
  147. </div>
  148. <div class="row" id="element_pre_suff">
  149. <div class="input-group col-3">
  150. <div class="input-group-addon">前缀</div>
  151. <input class="form-control" id="elePrefix" value="" onkeyup="rpt_tpl_cfg_helper.changePreSuff(this, 'Prefix')">
  152. </div>
  153. <div class="input-group col-3">
  154. <div class="input-group-addon">后缀</div>
  155. <input class="form-control" id="eleSuffix" value="" onkeyup="rpt_tpl_cfg_helper.changePreSuff(this, 'Suffix')">
  156. </div>
  157. <div class="input-group col-3">
  158. <div class="input-group-addon">格式</div>
  159. <input class="form-control" id="eleFormat" value="" onkeyup="rpt_tpl_cfg_helper.changeFormat(this)">
  160. </div>
  161. <div class="input-group col-3">
  162. <div class="input-group-addon">默认值</div>
  163. <input class="form-control" id="eleDftValue" value="" onkeyup="rpt_tpl_cfg_helper.changeDftValue(this)">
  164. </div>
  165. </div>
  166. <div class="row" id="element_visual_div1" style="display: none">
  167. <%include ./rpt_tpl_dtl_vis_column.html %>
  168. </div>
  169. <div class="row" id="element_visual_div2" style="display: none">
  170. <%include ./rpt_tpl_dtl_vis_sum.html %>
  171. </div>
  172. <div class="row" id="element_visual_div3" style="display: none">
  173. <%include ./rpt_tpl_dtl_vis_discrete.html %>
  174. </div>
  175. </div>
  176. </div>
  177. </div>