column.html 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  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. </table>
  17. <div style="border-top: 1px solid #999; margin-top:10px">
  18. <div style="background-color: #EEE; height:24px; line-height: 24px; text-align: center; font-weight: bold">数据</div>
  19. <div>
  20. <input class="MWFWorkDataCheck" name="selectType" type="radio" onclick="if (this.checked){ $('text{$.id}workDataEditor').setStyle('display', 'block'); $('text{$.id}dataDataEditor').setStyle('display', 'none')}" value="attribute" text{($.selectType)!='path'?'checked':''}/>系统保留字段
  21. <input class="MWFDataDataCheck" name="selectType" type="radio" onclick="if (this.checked){ $('text{$.id}workDataEditor').setStyle('display', 'none'); $('text{$.id}dataDataEditor').setStyle('display', 'block')}" value="path" text{($.selectType)=='path'?'checked':''}/>业务字段
  22. </div>
  23. <div class="MWFWorkData" id="text{$.id}workDataEditor" style="display: text{($.selectType=='attribute')?'block':'none'}">
  24. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  25. <tr>
  26. <td class="editTableTitle">选择字段:</td>
  27. <td class="editTableValue"><select name="attribute">
  28. <option value="" selected>(请选择)</option>
  29. <option text{($.attribute)=='title'?'selected':''} value="title">标题(title)</option>
  30. <option text{($.attribute)=='createTime'?'selected':''} value="createTime">创建时间(createTime)</option>
  31. <option text{($.attribute)=='creatorPerson'?'selected':''} value="creatorPerson">拟稿人(creatorPerson)</option>
  32. <option text{($.attribute)=='creatorIdentity'?'selected':''} value="creatorIdentity">拟稿人身份(creatorIdentity)</option>
  33. <option text{($.attribute)=='creatorDepartment'?'selected':''} value="creatorDepartment">拟稿部门(creatorDepartment)</option>
  34. <option text{($.attribute)=='creatorCompany'?'selected':''} value="creatorCompany">拟稿公司(creatorCompany)</option>
  35. <option text{($.attribute)=='appId'?'selected':''} value="appId">栏目ID(appId)</option>
  36. <option text{($.attribute)=='categoryId'?'selected':''} value="categoryId">分类ID(categoryId)</option>
  37. <option text{($.attribute)=='categoryName'?'selected':''} value="categoryName">分类名称(categoryName)</option>
  38. <option text{($.attribute)=='categoryAlias'?'selected':''} value="categoryAlias">分类别名(categoryAlias)</option>
  39. </select></td>
  40. </tr>
  41. </table>
  42. </div>
  43. <div class="MWFDataData" id="text{$.id}dataDataEditor" style="display: text{($.path)?'block':'none'}">
  44. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  45. <tr>
  46. <td class="editTableTitle">数据路径:</td>
  47. <td class="editTableValue"><input type="text" name="path" value="text{$.path}" class="editTableInput"/></td>
  48. </tr>
  49. </table>
  50. </div>
  51. </div>
  52. <div style="border-top: 1px solid #999; margin-top:10px">
  53. <div class="MWFColumnExport" id="text{$.id}columnExportEditor">
  54. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  55. <tr>
  56. <td class="editTableTitle">排序:</td>
  57. <td class="editTableValue"><select>
  58. <option value="none" selected>无</option>
  59. <option value="asc">升序</option>
  60. <option value="desc">降序</option>
  61. </select></td>
  62. </tr>
  63. <tr>
  64. <td class="editTableTitle">分类:</td>
  65. <td class="editTableValue">
  66. <input class="MWFWorkDataCheck" name="groupEntry" type="radio" value="true"/>是
  67. <input class="MWFWorkDataCheck" name="groupEntry" type="radio" value="false" checked/>否
  68. </td>
  69. </tr>
  70. </table>
  71. </div>
  72. </div>
  73. </div>
  74. <div title="JSON" class="MWFTab">
  75. <div class="MWFJSONArea" style="font-family: Verdana, Geneva, sans-serif; font-size:14px"></div>
  76. </div>
  77. </div>