column.html 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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">ID:</td>
  6. <td class="editTableValue">text{$.id}</td>
  7. </tr>
  8. <tr>
  9. <td class="editTableTitle">名称:</td>
  10. <td class="editTableValue"><input type="text" name="displayName" value="text{$.displayName}" class="editTableInput"/></td>
  11. </tr>
  12. <tr>
  13. <td class="editTableTitle">视图列:</td>
  14. <td class="editTableValue"><select class="MWFViewColumnSelect" name="column">
  15. <option>请先为统计选择视图</option>
  16. </select></td>
  17. </tr>
  18. <tr>
  19. <td class="editTableTitle">计算类型:</td>
  20. <td class="editTableValue"><select name="calculateType">
  21. <option value="sum" text{($.calculateType)=='sum'?'selected':''}>总和(sum)</option>
  22. <option value="average" text{($.calculateType)=='average'?'selected':''}>平均(average)</option>
  23. <option value="count" text{($.calculateType)=='count'?'selected':''}>数量(count)</option>
  24. <option value="groupSum" text{($.calculateType)=='groupSum'?'selected':''}>分类总和(groupSum)</option>
  25. <option value="groupAverage" text{($.calculateType)=='groupAverage'?'selected':''}>分类平均(groupAverage)</option>
  26. <option value="groupCount" text{($.calculateType)=='groupCount'?'selected':''}>分类数量(groupCount)</option>
  27. </select></td>
  28. </tr>
  29. <tr>
  30. <td class="editTableTitle">排序:</td>
  31. <td class="editTableValue"><select name="orderType">
  32. <option value="original" text{($.orderType)=='original'?'selected':''}>无</option>
  33. <option value="desc" text{($.orderType)=='desc'?'selected':''}>降序</option>
  34. <option value="asc" text{($.orderType)=='asc'?'selected':''}>升序</option>
  35. </select></td>
  36. </tr>
  37. <tr>
  38. <td class="editTableTitle">排序依据:</td>
  39. <td class="editTableValue"><select name="orderEffectType">
  40. <option value="value" text{($.orderEffectType)=='value'?'selected':''}>统计值</option>
  41. <option value="key" text{($.orderEffectType)=='key'?'selected':''}>分类值</option>
  42. </select></td>
  43. </tr>
  44. </table>
  45. <div class="MWFFormulaArea" name="code" title="显示脚本 (S)"></div>
  46. </div>
  47. <div title="JSON" class="MWFTab">
  48. <div class="MWFJSONArea" style="font-family: Verdana, Geneva, sans-serif; font-size:14px"></div>
  49. </div>
  50. </div>