calendar.html 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  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="id" value="text{$.id}" class="editTableInput"/></td>
  7. </tr>
  8. <tr>
  9. <td class="editTableTitle">名称:</td>
  10. <td class="editTableValue"><input type="text" name="name" value="text{$.name}" class="editTableInput"/></td>
  11. </tr>
  12. <tr>
  13. <td class="editTableTitle">描述:</td>
  14. <td class="editTableValue"><input type="text" name="description" value="text{$.description}" class="editTableInput"/></td>
  15. </tr>
  16. <tr>
  17. <td class="editTableTitle">显示图标:</td>
  18. <td class="editTableValue">
  19. <input type="radio" name="showIcon" value="yes" text{($.showIcon!='no')?'checked':''}/>是
  20. <input type="radio" name="showIcon" value="no" text{($.showIcon=='no')?'checked':''}/>否
  21. </td>
  22. </tr>
  23. <tr>
  24. <td class="editTableTitle">是否只读:</td>
  25. <td class="editTableValue">
  26. <input type="radio" name="isReadonly" value="true" text{($.isReadonly)?'checked':''}/>是
  27. <input type="radio" name="isReadonly" value="false" text{(!$.isReadonly)?'checked':''}/>否
  28. </td>
  29. </tr>
  30. <tr>
  31. <td class="editTableTitle">选择类型:</td>
  32. <td class="editTableValue">
  33. <input type="radio" name="selectType" text{($.selectType=='datetime')?'checked':''} value="datetime"
  34. onclick="if (this.checked){ $('text{$.pid}isSelectSecondTr').setStyle('display', '')}"/>日期时间
  35. <input type="radio" name="selectType" text{($.selectType=='date')?'checked':''} value="date"
  36. onclick="if (this.checked){ $('text{$.pid}isSelectSecondTr').setStyle('display', 'none')}"/>仅日期
  37. <input type="radio" name="selectType" text{($.selectType=='time')?'checked':''} value="time"
  38. onclick="if (this.checked){ $('text{$.pid}isSelectSecondTr').setStyle('display', '')}"/>仅时间
  39. </td>
  40. </tr>
  41. <tr id="text{$.pid}isSelectSecondTr" style="display: text{($.selectType=='date')?'none':''};">
  42. <td class="editTableTitle">是否选择秒: </td>
  43. <td class="editTableValue">
  44. <input type="radio" name="isSelectSecond" value="true" text{($.isSelectSecond)?'checked':''}/>是
  45. <input type="radio" name="isSelectSecond" value="false" text{(!$.isSelectSecond)?'checked':''}/>否
  46. </td>
  47. </tr>
  48. <tr>
  49. <td class="editTableTitle">格式化:</td>
  50. <td class="editTableValue"><input type="text" name="format" value="text{$.format}" class="editTableInput"/></td>
  51. </tr>
  52. <!--<tr>-->
  53. <!--<td class="editTableTitle">选择范围:</td>-->
  54. <!--<td class="editTableValue">-->
  55. <!--<input type="radio" name="range" value="single" text{($.range=='single')?'checked':''}/>单个日期-->
  56. <!--<input type="radio" name="range" value="range" text{($.range=='range')?'checked':''}/>时间范围-->
  57. <!--</td>-->
  58. <!--</tr>-->
  59. </table>
  60. <div class="MWFMaplist" name="styles" title="样式"></div>
  61. <div class="MWFMaplist" name="inputStyles" title="Input样式"></div>
  62. <div class="MWFMaplist" name="properties" title="属性"></div>
  63. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  64. <tr>
  65. <td class="editTableTitle">计算:</td>
  66. <td class="editTableValue">
  67. <input type="radio" name="compute" value="create" text{($.compute.indexOf('create')!=-1)?'checked':''}/>创建
  68. <input type="radio" name="compute" value="save" text{($.compute.indexOf('save')!=-1)?'checked':''}/>保存
  69. <input type="radio" name="compute" value="show" text{($.compute.indexOf('show')!=-1)?'checked':''}/>显示
  70. </td>
  71. </tr>
  72. </table>
  73. <div class="MWFScriptArea" name="defaultValue" title="默认值 (S)"></div>
  74. <div class="MWFValidation" name="validationConfig"></div>
  75. <div class="MWFScriptArea" name="validation" title="校验脚本 (S)"></div>
  76. </div>
  77. <div title="区段" class="MWFTab">
  78. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  79. <tr>
  80. <td class="editTableTitle">启用区段:</td>
  81. <td class="editTableValue">
  82. <input onclick="if (this.checked){ $('text{$.pid}sectionByEditArea').setStyle('display', 'block')}" type="radio" name="section" value="yes" text{($.section=='yes')?'checked':''}/>是
  83. <input onclick="if (this.checked){ $('text{$.pid}sectionByEditArea').setStyle('display', 'none')}" type="radio" name="section" value="no" text{($.section!='yes')?'checked':''}/>否
  84. </td>
  85. </tr>
  86. </table>
  87. <div id="text{$.pid}sectionByEditArea" style="display: text{($.section=='yes')?'block':'none'};">
  88. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  89. <tr>
  90. <td class="editTableTitle">区段依据:</td>
  91. <td class="editTableValue">
  92. <input class="editTableRadio" onclick="if (this.checked){ $('text{$.pid}sectionByScriptEditArea').setStyle('display', 'none');}" name="sectionBy" text{(($.sectionBy=='person') || ($.sectionBy!='unit' && $.sectionBy!='activity' && $.sectionBy!='script'))?'checked':''} type="radio" value="person"/>处理人<br/>
  93. <input class="editTableRadio" onclick="if (this.checked){ $('text{$.pid}sectionByScriptEditArea').setStyle('display', 'none');}" name="sectionBy" text{($.sectionBy=='department')?'checked':''} type="radio" value="unit"/>处理人所在组织<br/>
  94. <input class="editTableRadio" onclick="if (this.checked){ $('text{$.pid}sectionByScriptEditArea').setStyle('display', 'none');}" name="sectionBy" text{($.sectionBy=='activity')?'checked':''} type="radio" value="activity"/>活动ID<br/>
  95. <input class="editTableRadio" onclick="if (this.checked){ $('text{$.pid}sectionByScriptEditArea').setStyle('display', 'none');}" name="sectionBy" text{($.sectionBy=='splitValue')?'checked':''} type="radio" value="splitValue"/>拆分值<br/>
  96. <input class="editTableRadio" onclick="if (this.checked){ $('text{$.pid}sectionByScriptEditArea').setStyle('display', 'block');}" name="sectionBy" text{($.sectionBy=='script')?'checked':''} type="radio" value="script"/>脚本<br/>
  97. </td>
  98. </tr>
  99. </table>
  100. <div id="text{$.pid}sectionByScriptEditArea" style="display: text{($.sectionBy=='script')?'block':'none'};">
  101. <div class="MWFScriptArea" name="sectionByScript" title="区段依据 (S)"></div>
  102. </div>
  103. </div>
  104. </div>
  105. <div title="事件" class="MWFTab">
  106. <div class="MWFEventsArea" name="events"></div>
  107. </div>
  108. <div title="HTML" class="MWFTab">
  109. <div class="MWFHTMLArea" style="font-family: Verdana, Geneva, sans-serif; font-size:14px"></div>
  110. </div>
  111. <div title="JSON" class="MWFTab">
  112. <div class="MWFJSONArea" style="font-family: Verdana, Geneva, sans-serif; font-size:14px"></div>
  113. </div>
  114. </div>