column.html 8.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  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{$.pid}workDataEditor').setStyle('display', 'block'); $('text{$.pid}dataDataEditor').setStyle('display', 'none')}" value="attribute" text{($.selectType)!='path'?'checked':''}/>流程实例数据
  28. <input class="MWFDataDataCheck" name="selectType" type="radio" onclick="if (this.checked){ $('text{$.pid}workDataEditor').setStyle('display', 'none'); $('text{$.pid}dataDataEditor').setStyle('display', 'block')}" value="path" text{($.selectType)=='path'?'checked':''}/>业务数据
  29. </div>
  30. <div class="MWFWorkData" id="text{$.pid}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)=='startTime'?'selected':''} value="startTime">创建时间(startTime)</option>
  38. <option text{($.attribute)=='startTimeMonth'?'selected':''} value="startTimeMonth">创建月份(startTimeMonth)</option>
  39. <option text{($.attribute)=='completedTime'?'selected':''} value="completedTime">完成时间(completedTime)</option>
  40. <option text{($.attribute)=='completedTimeMonth'?'selected':''} value="completedTimeMonth">完成月份(completedTimeMonth)</option>
  41. <option text{($.attribute)=='creatorPerson'?'selected':''} value="creatorPerson">拟稿人(creatorPerson)</option>
  42. <option text{($.attribute)=='creatorIdentity'?'selected':''} value="creatorIdentity">拟稿人身份(creatorIdentity)</option>
  43. <option text{($.attribute)=='creatorUnit'?'selected':''} value="creatorUnit">拟稿组织(creatorUnit)</option>
  44. <option text{($.attribute)=='creatorCompany'?'selected':''} value="creatorCompany">拟稿公司(creatorCompany)</option>
  45. <option text{($.attribute)=='application'?'selected':''} value="application">应用ID(application)</option>
  46. <option text{($.attribute)=='applicationName'?'selected':''} value="applicationName">应用名称(applicationName)</option>
  47. <option text{($.attribute)=='applicationAlias'?'selected':''} value="applicationAlias">应用别名(applicationAlias)</option>
  48. <option text{($.attribute)=='process'?'selected':''} value="process">流程ID(process)</option>
  49. <option text{($.attribute)=='processName'?'selected':''} value="processName">流程名称(processName)</option>
  50. <option text{($.attribute)=='processAlias'?'selected':''} value="processAlias">流程别名(processAlias)</option>
  51. <option text{($.attribute)=='serial'?'selected':''} value="serial">编号(serial)</option>
  52. <option text{($.attribute)=='activityType'?'selected':''} value="activityType">活动类型(activityType)</option>
  53. <option text{($.attribute)=='activityName'?'selected':''} value="activityName">活动名称(activityName)</option>
  54. <option text{($.attribute)=='activityArrivedTime'?'selected':''} value="activityArrivedTime">活动到达时间(activityArrivedTime)</option>
  55. <option text{($.attribute)=='id'?'selected':''} value="id">工作ID(id)</option>
  56. <option text{($.attribute)=='workCompleted'?'selected':''} value="workCompleted">已完成工作ID(workCompleted)</option>
  57. <option text{($.attribute)=='job'?'selected':''} value="job">JOB的ID(job)</option>
  58. <option text{($.attribute)=='completed'?'selected':''} value="completed">是否已完成(completed)</option>
  59. </select></td>
  60. </tr>
  61. </table>
  62. </div>
  63. <div class="MWFDataData" id="text{$.pid}dataDataEditor" style="display: text{($.path)?'block':'none'}">
  64. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  65. <tr>
  66. <td class="editTableTitle">数据路径:</td>
  67. <td class="editTableValue"><input type="text" name="path" value="text{$.path}" class="editTableInput"/></td>
  68. </tr>
  69. </table>
  70. </div>
  71. </div>
  72. <div style="border-top: 1px solid #999; margin-top:10px">
  73. <div class="MWFColumnExport" id="text{$.pid}columnExportEditor">
  74. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  75. <tr>
  76. <td class="editTableTitle">排序:</td>
  77. <td class="editTableValue"><select name="orderType">
  78. <option value="none" text{(($.orderType)!='asc' && ($.orderType)!='desc') ?'selected':''}>无</option>
  79. <option value="asc" text{($.orderType)=='asc' ?'selected':''}>升序</option>
  80. <option value="desc" text{($.orderType)=='desc' ?'selected':''}>降序</option>
  81. </select></td>
  82. </tr>
  83. <tr class="MWFColumnExportGroup">
  84. <td class="editTableTitle">分类:</td>
  85. <td class="editTableValue">
  86. <input class="MWFWorkDataCheck" name="groupEntry" type="radio" value="true" text{($.groupEntry)===true?'checked':''}/>是
  87. <input class="MWFWorkDataCheck" name="groupEntry" type="radio" value="false" text{($.groupEntry)!==true?'checked':''}/>否
  88. </td>
  89. </tr>
  90. </table>
  91. </div>
  92. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  93. <tr class="MWFColumnExportHide">
  94. <td class="editTableTitle">隐藏:</td>
  95. <td class="editTableValue">
  96. <input class="MWFWorkDataCheck" name="hideColumn" type="radio" value="true" text{($.hideColumn)===true?'checked':''}/>是
  97. <input class="MWFWorkDataCheck" name="hideColumn" type="radio" value="false" text{($.hideColumn)!==true?'checked':''}/>否
  98. </td>
  99. </tr>
  100. </table>
  101. </div>
  102. <div class="MWFFormulaArea" name="code" title="显示脚本 (S)"></div>
  103. </div>
  104. <div title="JSON" class="MWFTab">
  105. <div class="MWFJSONArea" style="font-family: Verdana, Geneva, sans-serif; font-size:14px"></div>
  106. </div>
  107. </div>