column.html 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  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. <input class="editTableRadio" name="allowOpen" text{($.allowOpen!==true)?'checked':''} type="radio" value="false"/>否
  21. </td>
  22. </tr>
  23. </table>
  24. <div style="border-top: 1px solid #999; margin-top:10px">
  25. <div style="background-color: #EEE; height:24px; line-height: 24px; text-align: center; font-weight: bold">数据</div>
  26. <div>
  27. <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':''}/>流程实例数据
  28. <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':''}/>业务数据
  29. </div>
  30. <div class="MWFWorkData" id="text{$.id}workDataEditor" style="display: text{($.selectType=='attribute')?'block':'none'}">
  31. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  32. <tr>
  33. <td class="editTableTitle">选择数据:</td>
  34. <td class="editTableValue"><select name="attribute">
  35. <option value="" selected>(请选择)</option>
  36. <option text{($.attribute)=='title'?'selected':''} value="title">标题(title)</option>
  37. <option text{($.attribute)=='createTime'?'selected':''} value="createTime">创建时间(createTime)</option>
  38. <option text{($.attribute)=='creatorPerson'?'selected':''} value="creatorPerson">拟稿人(creatorPerson)</option>
  39. <!--<option text{($.attribute)=='creatorPersonShort'?'selected':''} value="creatorPersonShort">拟稿人简称(creatorPersonShort)</option>-->
  40. <option text{($.attribute)=='creatorIdentity'?'selected':''} value="creatorIdentity">拟稿人身份(creatorIdentity)</option>
  41. <option text{($.attribute)=='creatorUnitName'?'selected':''} value="creatorUnitName">拟稿组织(creatorUnitName)</option>
  42. <!--<option text{($.attribute)=='creatorUnitNameShort'?'selected':''} value="creatorUnitNameShort">拟稿组织简称(creatorUnitNameShort)</option>-->
  43. <option text{($.attribute)=='creatorTopUnitName'?'selected':''} value="creatorTopUnitName">拟稿顶层组织(creatorTopUnitName)</option>
  44. <!--<option text{($.attribute)=='creatorTopUnitNameShort'?'selected':''} value="creatorTopUnitNameShort">拟稿顶层组织简称(creatorTopUnitNameShort)</option>-->
  45. <option text{($.attribute)=='appId'?'selected':''} value="appId">栏目ID(appId)</option>
  46. <option text{($.attribute)=='categoryId'?'selected':''} value="categoryId">分类ID(categoryId)</option>
  47. <option text{($.attribute)=='categoryName'?'selected':''} value="categoryName">分类名称(categoryName)</option>
  48. <option text{($.attribute)=='categoryAlias'?'selected':''} value="categoryAlias">分类别名(categoryAlias)</option>
  49. <option text{($.attribute)=='id'?'selected':''} value="id">文档ID(id)</option>
  50. </select></td>
  51. </tr>
  52. </table>
  53. </div>
  54. <div class="MWFDataData" id="text{$.id}dataDataEditor" style="display: text{($.path)?'block':'none'}">
  55. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  56. <tr>
  57. <td class="editTableTitle">数据路径:</td>
  58. <td class="editTableValue"><input type="text" name="path" value="text{$.path}" class="editTableInput"/></td>
  59. </tr>
  60. </table>
  61. </div>
  62. </div>
  63. <div style="border-top: 1px solid #999; margin-top:10px">
  64. <div class="MWFColumnExport" id="text{$.id}columnExportEditor">
  65. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  66. <tr>
  67. <td class="editTableTitle">排序:</td>
  68. <td class="editTableValue"><select>
  69. <option value="none" selected>无</option>
  70. <option value="asc">升序</option>
  71. <option value="desc">降序</option>
  72. </select></td>
  73. </tr>
  74. <tr class="MWFColumnExportGroup">
  75. <td class="editTableTitle">分类:</td>
  76. <td class="editTableValue">
  77. <input class="MWFWorkDataCheck" name="groupEntry" type="radio" value="true"/>是
  78. <input class="MWFWorkDataCheck" name="groupEntry" type="radio" value="false" checked/>否
  79. </td>
  80. </tr>
  81. </table>
  82. </div>
  83. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  84. <tr class="MWFColumnExportHide">
  85. <td class="editTableTitle">隐藏:</td>
  86. <td class="editTableValue">
  87. <input class="MWFWorkDataCheck" name="hideColumn" type="radio" value="true" text{($.hideColumn)===true?'checked':''}/>是
  88. <input class="MWFWorkDataCheck" name="hideColumn" type="radio" value="false" text{($.hideColumn)!==true?'checked':''}/>否
  89. </td>
  90. </tr>
  91. </table>
  92. </div>
  93. <div class="MWFFormulaArea" name="code" title="显示脚本 (S)"></div>
  94. </div>
  95. <div title="JSON" class="MWFTab">
  96. <div class="MWFJSONArea" style="font-family: Verdana, Geneva, sans-serif; font-size:14px"></div>
  97. </div>
  98. </div>