column.html 5.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  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="displayName" value="text{$.displayName}" class="editTableInput"/></td>
  7. </tr>
  8. <tr>
  9. <td class="editTableTitle">列名:</td>
  10. <td class="editTableValue"><input type="text" name="column" value="text{$.column}" class="editTableInput"/></td>
  11. </tr>
  12. <tr>
  13. <td class="editTableTitle">默认值:</td>
  14. <td class="editTableValue"><input type="text" name="defaultValue" value="text{$.defaultValue}" class="editTableInput"/></td>
  15. </tr>
  16. <tr>
  17. <td class="editTableTitle">打开文档:</td>
  18. <td class="editTableValue">
  19. <input class="editTableRadio" name="allowOpen" text{($.allowOpen===true)?'checked':''} type="radio" value="true"
  20. onclick="if(this.checked){ $('text{$.pid}clickCodeTr').setStyle('display', '');}"/>是
  21. <input class="editTableRadio" name="allowOpen" text{($.allowOpen!==true)?'checked':''} type="radio" value="false"
  22. onclick="if(this.checked){ $('text{$.pid}clickCodeTr').setStyle('display', 'none');}"/>否
  23. </td>
  24. </tr>
  25. <tr id="text{$.pid}clickCodeTr" style="display:text{($.allowOpen===true)?'':'none'}">
  26. <td class="editTableValue" colspan="2">
  27. <div class="MWFFormulaArea" name="clickCode" title="打开文档脚本(S)"></div>
  28. </td>
  29. </tr>
  30. </table>
  31. <div style="border-top: 1px solid #999; margin-top:10px">
  32. <div style="background-color: #EEE; height:24px; line-height: 24px; text-align: center; font-weight: bold">数据</div>
  33. <div class="MWFDataData" id="text{$.pid}dataDataEditor">
  34. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  35. <tr>
  36. <td class="editTableTitle">数据路径:</td>
  37. <td class="editTableValue">
  38. <input onkeypress="$('text{$.pid}dataPathSelected').getElement('option').set('selected', true); $('text{$.pid}dataPathSelectedCMS').getElement('option').set('selected', true)" id="text{$.pid}viewColumnPathInput" type="text" name="path" value="text{$.path}" class="editTableInput"/>
  39. <div style="line-height: 20px;color:#999;">注:指该列相对单条数据的路径。比如 0,title,或 0.title</div>
  40. </td>
  41. </tr>
  42. </table>
  43. </div>
  44. </div>
  45. <div style="border-top: 1px solid #999; margin-top:10px">
  46. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  47. <tr class="MWFColumnExportHide">
  48. <td class="editTableTitle">隐藏:</td>
  49. <td class="editTableValue">
  50. <input class="MWFWorkDataCheck" name="hideColumn" type="radio" value="true" text{($.hideColumn)===true?'checked':''}/>是
  51. <input class="MWFWorkDataCheck" name="hideColumn" type="radio" value="false" text{($.hideColumn)!==true?'checked':''}/>否
  52. </td>
  53. </tr>
  54. <tr class="MWFColumnExportGroup">
  55. <td class="editTableTitle">组织对象:</td>
  56. <td class="editTableValue">
  57. <input class="MWFWorkDataCheck" name="isName" type="radio" value="true" text{($.isName)===true?'checked':''}/>是
  58. <input class="MWFWorkDataCheck" name="isName" type="radio" value="false" text{($.isName)!==true?'checked':''}/>否
  59. </td>
  60. </tr>
  61. <tr class="MWFColumnExportGroup">
  62. <td class="editTableTitle">HTML值:</td>
  63. <td class="editTableValue">
  64. <input class="MWFWorkDataCheck" name="isHtml" type="radio" value="true" text{($.isHtml)===true?'checked':''}/>是
  65. <input class="MWFWorkDataCheck" name="isHtml" type="radio" value="false" text{($.isHtml)!==true?'checked':''}/>否
  66. </td>
  67. </tr>
  68. </table>
  69. </div>
  70. <div class="MWFFormulaArea" name="code" title="显示脚本 (S)"></div>
  71. </div>
  72. <div title="样式" class="MWFTab">
  73. <div class="MWFMaplist" name="titleStyles" title="标题单元格样式"></div>
  74. <div class="MWFMaplist" name="titleProperties" title="标题单元格属性"></div>
  75. <div class="MWFMaplist" name="contentStyles" title="内容单元格样式"></div>
  76. <div class="MWFMaplist" name="contentProperties" title="内容单元格属性"></div>
  77. </div>
  78. <div title="事件" class="MWFTab">
  79. <div class="MWFEventsArea" name="events"></div>
  80. </div>
  81. <div title="JSON" class="MWFTab">
  82. <div class="MWFJSONArea" style="font-family: Verdana, Geneva, sans-serif; font-size:14px"></div>
  83. </div>
  84. </div>