column.html 6.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  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)=='startTime'?'selected':''} value="startTime">创建时间(startTime)</option>
  31. <option text{($.attribute)=='startTimeMonth'?'selected':''} value="startTimeMonth">创建月份(startTimeMonth)</option>
  32. <option text{($.attribute)=='completedTime'?'selected':''} value="completedTime">完成时间(completedTime)</option>
  33. <option text{($.attribute)=='completedTimeMonth'?'selected':''} value="completedTimeMonth">完成月份(completedTimeMonth)</option>
  34. <option text{($.attribute)=='creatorPerson'?'selected':''} value="creatorPerson">拟稿人(creatorPerson)</option>
  35. <option text{($.attribute)=='creatorIdentity'?'selected':''} value="creatorIdentity">拟稿人身份(creatorIdentity)</option>
  36. <option text{($.attribute)=='creatorDepartment'?'selected':''} value="creatorDepartment">拟稿部门(creatorDepartment)</option>
  37. <option text{($.attribute)=='creatorCompany'?'selected':''} value="creatorCompany">拟稿公司(creatorCompany)</option>
  38. <option text{($.attribute)=='application'?'selected':''} value="application">应用ID(application)</option>
  39. <option text{($.attribute)=='applicationName'?'selected':''} value="applicationName">应用名称(applicationName)</option>
  40. <option text{($.attribute)=='applicationAlias'?'selected':''} value="applicationAlias">应用别名(applicationAlias)</option>
  41. <option text{($.attribute)=='process'?'selected':''} value="process">流程ID(process)</option>
  42. <option text{($.attribute)=='processName'?'selected':''} value="processName">流程名称(processName)</option>
  43. <option text{($.attribute)=='processAlias'?'selected':''} value="processAlias">流程别名(processAlias)</option>
  44. <option text{($.attribute)=='serial'?'selected':''} value="serial">编号(serial)</option>
  45. <option text{($.attribute)=='completed'?'selected':''} value="completed">是否已完成(completed)</option>
  46. </select></td>
  47. </tr>
  48. </table>
  49. </div>
  50. <div class="MWFDataData" id="text{$.id}dataDataEditor" style="display: text{($.path)?'block':'none'}">
  51. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  52. <tr>
  53. <td class="editTableTitle">数据路径:</td>
  54. <td class="editTableValue"><input type="text" name="path" value="text{$.path}" class="editTableInput"/></td>
  55. </tr>
  56. </table>
  57. </div>
  58. </div>
  59. <div style="border-top: 1px solid #999; margin-top:10px">
  60. <div class="MWFColumnExport" id="text{$.id}columnExportEditor">
  61. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  62. <tr>
  63. <td class="editTableTitle">排序:</td>
  64. <td class="editTableValue"><select>
  65. <option value="none" selected>无</option>
  66. <option value="asc">升序</option>
  67. <option value="desc">降序</option>
  68. </select></td>
  69. </tr>
  70. <tr>
  71. <td class="editTableTitle">分类:</td>
  72. <td class="editTableValue">
  73. <input class="MWFWorkDataCheck" name="groupEntry" type="radio" value="true"/>是
  74. <input class="MWFWorkDataCheck" name="groupEntry" type="radio" value="false" checked/>否
  75. </td>
  76. </tr>
  77. </table>
  78. </div>
  79. </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>