| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120 |
- <div style="background-color: #FFF; overflow: hidden">
- <div title="基本" class="MWFTab">
- <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
- <tr>
- <td class="editTableTitle">标识:</td>
- <td class="editTableValue"><input type="text" name="id" value="text{$.id}" class="editTableInput"/></td>
- </tr>
- <tr>
- <td class="editTableTitle">名称:</td>
- <td class="editTableValue"><input type="text" name="name" value="text{$.name}" class="editTableInput"/></td>
- </tr>
- <tr>
- <td class="editTableTitle">描述:</td>
- <td class="editTableValue"><input type="text" name="description" value="text{$.description}" class="editTableInput"/></td>
- </tr>
- <tr>
- <td class="editTableTitle">显示图标:</td>
- <td class="editTableValue">
- <input type="radio" name="showIcon" value="yes" text{($.showIcon!='no')?'checked':''}/>是
- <input type="radio" name="showIcon" value="no" text{($.showIcon=='no')?'checked':''}/>否
- </td>
- </tr>
- <tr>
- <td class="editTableTitle">是否只读:</td>
- <td class="editTableValue">
- <input type="radio" name="isReadonly" value="true" text{($.isReadonly)?'checked':''}/>是
- <input type="radio" name="isReadonly" value="false" text{(!$.isReadonly)?'checked':''}/>否
- </td>
- </tr>
- <tr>
- <td class="editTableTitle">选择类型:</td>
- <td class="editTableValue">
- <input type="radio" name="selectType" text{($.selectType=='datetime')?'checked':''} value="datetime"
- onclick="if (this.checked){ $('text{$.pid}isSelectSecondTr').setStyle('display', '')}"/>日期时间
- <input type="radio" name="selectType" text{($.selectType=='date')?'checked':''} value="date"
- onclick="if (this.checked){ $('text{$.pid}isSelectSecondTr').setStyle('display', 'none')}"/>仅日期
- <input type="radio" name="selectType" text{($.selectType=='time')?'checked':''} value="time"
- onclick="if (this.checked){ $('text{$.pid}isSelectSecondTr').setStyle('display', '')}"/>仅时间
- </td>
- </tr>
- <tr id="text{$.pid}isSelectSecondTr" style="display: text{($.selectType=='date')?'none':''};">
- <td class="editTableTitle">是否选择秒: </td>
- <td class="editTableValue">
- <input type="radio" name="isSelectSecond" value="true" text{($.isSelectSecond)?'checked':''}/>是
- <input type="radio" name="isSelectSecond" value="false" text{(!$.isSelectSecond)?'checked':''}/>否
- </td>
- </tr>
- <tr>
- <td class="editTableTitle">格式化:</td>
- <td class="editTableValue"><input type="text" name="format" value="text{$.format}" class="editTableInput"/></td>
- </tr>
- <!--<tr>-->
- <!--<td class="editTableTitle">选择范围:</td>-->
- <!--<td class="editTableValue">-->
- <!--<input type="radio" name="range" value="single" text{($.range=='single')?'checked':''}/>单个日期-->
- <!--<input type="radio" name="range" value="range" text{($.range=='range')?'checked':''}/>时间范围-->
- <!--</td>-->
- <!--</tr>-->
-
- </table>
-
- <div class="MWFMaplist" name="styles" title="样式"></div>
- <div class="MWFMaplist" name="inputStyles" title="Input样式"></div>
- <div class="MWFMaplist" name="properties" title="属性"></div>
- <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
- <tr>
- <td class="editTableTitle">计算:</td>
- <td class="editTableValue">
- <input type="radio" name="compute" value="create" text{($.compute.indexOf('create')!=-1)?'checked':''}/>创建
- <input type="radio" name="compute" value="save" text{($.compute.indexOf('save')!=-1)?'checked':''}/>保存
- <input type="radio" name="compute" value="show" text{($.compute.indexOf('show')!=-1)?'checked':''}/>显示
- </td>
- </tr>
- </table>
- <div class="MWFScriptArea" name="defaultValue" title="默认值 (S)"></div>
- <div class="MWFValidation" name="validationConfig"></div>
- <div class="MWFScriptArea" name="validation" title="校验脚本 (S)"></div>
-
- </div>
- <div title="区段" class="MWFTab">
- <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
- <tr>
- <td class="editTableTitle">启用区段:</td>
- <td class="editTableValue">
- <input onclick="if (this.checked){ $('text{$.pid}sectionByEditArea').setStyle('display', 'block')}" type="radio" name="section" value="yes" text{($.section=='yes')?'checked':''}/>是
- <input onclick="if (this.checked){ $('text{$.pid}sectionByEditArea').setStyle('display', 'none')}" type="radio" name="section" value="no" text{($.section!='yes')?'checked':''}/>否
- </td>
- </tr>
- </table>
- <div id="text{$.pid}sectionByEditArea" style="display: text{($.section=='yes')?'block':'none'};">
- <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
- <tr>
- <td class="editTableTitle">区段依据:</td>
- <td class="editTableValue">
- <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/>
- <input class="editTableRadio" onclick="if (this.checked){ $('text{$.pid}sectionByScriptEditArea').setStyle('display', 'none');}" name="sectionBy" text{($.sectionBy=='department')?'checked':''} type="radio" value="unit"/>处理人所在组织<br/>
- <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/>
- <input class="editTableRadio" onclick="if (this.checked){ $('text{$.pid}sectionByScriptEditArea').setStyle('display', 'none');}" name="sectionBy" text{($.sectionBy=='splitValue')?'checked':''} type="radio" value="splitValue"/>拆分值<br/>
- <input class="editTableRadio" onclick="if (this.checked){ $('text{$.pid}sectionByScriptEditArea').setStyle('display', 'block');}" name="sectionBy" text{($.sectionBy=='script')?'checked':''} type="radio" value="script"/>脚本<br/>
- </td>
- </tr>
- </table>
- <div id="text{$.pid}sectionByScriptEditArea" style="display: text{($.sectionBy=='script')?'block':'none'};">
- <div class="MWFScriptArea" name="sectionByScript" title="区段依据 (S)"></div>
- </div>
- </div>
- </div>
- <div title="事件" class="MWFTab">
- <div class="MWFEventsArea" name="events"></div>
- </div>
- <div title="HTML" class="MWFTab">
- <div class="MWFHTMLArea" style="font-family: Verdana, Geneva, sans-serif; font-size:14px"></div>
- </div>
- <div title="JSON" class="MWFTab">
- <div class="MWFJSONArea" style="font-family: Verdana, Geneva, sans-serif; font-size:14px"></div>
- </div>
- </div>
|