|
|
@@ -0,0 +1,163 @@
|
|
|
+<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>
|
|
|
+ </table>
|
|
|
+ <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
|
|
|
+ <tr>
|
|
|
+ <td class="editTableTitle">边框:</td>
|
|
|
+ <td class="editTableValue"><input type="text" name="border" value="text{$.border}" class="editTableInput"/></td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td class="editTableTitle">背景颜色:</td>
|
|
|
+ <td class="editTableValue"><input type="color" name="backgroundColor" value="text{$.backgroundColor}" class="editTableInput"/></td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td class="editTableTitle">交替行:</td>
|
|
|
+ <td class="editTableValue"><input type="color" name="zebraColor" value="text{$.zebraColor}" class="editTableInput"/></td>
|
|
|
+ </tr>
|
|
|
+ <!--<tr>-->
|
|
|
+ <!--<td class="editTableTitle">序号:</td>-->
|
|
|
+ <!--<td class="editTableValue">-->
|
|
|
+ <!--<input type="radio" name="sequence" value="yes" text{($.sequence=='yes')?'checked':''}/>显示-->
|
|
|
+ <!--<input type="radio" name="sequence" value="no" text{($.sequence=='no')?'checked':''}/>不显示-->
|
|
|
+ <!--</td>-->
|
|
|
+ <!--</tr>-->
|
|
|
+ </table>
|
|
|
+
|
|
|
+ <div class="MWFMaplist" name="styles" collapse="true" title="样式"></div>
|
|
|
+ <div class="MWFMaplist" name="tableStyles" collapse="true" title="表格样式"></div>
|
|
|
+
|
|
|
+ <div class="MWFMaplist" name="properties" collapse="true" title="属性"></div>
|
|
|
+ <div class="MWFScriptArea" name="defaultData" title="默认数据(S)"></div>
|
|
|
+
|
|
|
+ <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
|
|
|
+ <tr>
|
|
|
+ <td class="editTableTitle">允许删除:</td>
|
|
|
+ <td class="editTableValue">
|
|
|
+ <input type="radio" name="deleteable" value="yes" text{($.deleteable!=='no')?'checked':''}/>是
|
|
|
+ <input type="radio" name="deleteable" value="no" text{($.deleteable==='no')?'checked':''}/>否
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td class="editTableTitle">允许添加:</td>
|
|
|
+ <td class="editTableValue">
|
|
|
+ <input type="radio" name="addable" value="yes" text{($.addable!=='no')?'checked':''}/>是
|
|
|
+ <input type="radio" name="addable" value="no" text{($.addable==='no')?'checked':''}/>否
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ </table>
|
|
|
+ <div class="MWFScriptArea" name="editableScript" title="是否可编辑(S)"></div>
|
|
|
+
|
|
|
+ <div style="height:24px; text-align: center; line-height: 24px; background-color: #EEE; border-top: 1px solid #999;">导出导入</div>
|
|
|
+ <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
|
|
|
+ <tr>
|
|
|
+ <td class="editTableTitle">启用:</td>
|
|
|
+ <td class="editTableValue">
|
|
|
+ <input type="radio" name="impexpType" value="none" text{(!$.impexpType || $.impexpType==='none')?'checked':''}
|
|
|
+ onclick="if (this.checked){ $('text{$.pid}impexpArea').setStyle('display', 'none')}" />禁用
|
|
|
+ <input type="radio" name="impexpType" value="impexp" text{($.impexpType==='impexp')?'checked':''}
|
|
|
+ onclick="if (this.checked){ $('text{$.pid}impexpArea').setStyle('display', 'block')}" />导出导入
|
|
|
+ <input type="radio" name="impexpType" value="exp" text{($.impexpType==='exp')?'checked':''}
|
|
|
+ onclick="if (this.checked){ $('text{$.pid}impexpArea').setStyle('display', 'block')}" />仅导出
|
|
|
+ <input type="radio" name="impexpType" value="imp" text{($.impexpType==='imp')?'checked':''}
|
|
|
+ onclick="if (this.checked){ $('text{$.pid}impexpArea').setStyle('display', 'block')}" />仅导入
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ </table>
|
|
|
+ <div id="text{$.pid}impexpArea" style="display: text{($.impexpType && $.impexpType!=='none')?'block':'none'};">
|
|
|
+ <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
|
|
|
+ <tr>
|
|
|
+ <td class="editTableTitle"></td>
|
|
|
+ <td class="editTableValue">
|
|
|
+ 注:序号、图片、附件和隐藏列不能导入导出。
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td class="editTableTitle">按钮位置:</td>
|
|
|
+ <td class="editTableValue">
|
|
|
+ <input type="radio" name="impexpPosition" value="leftTop" text{(!$.impexpPosition || $.impexpPosition==='leftTop')?'checked':''}/>左上
|
|
|
+ <input type="radio" name="impexpPosition" value="centerTop" text{($.impexpPosition==='centerTop')?'checked':''}/>中上
|
|
|
+ <input type="radio" name="impexpPosition" value="rightTop" text{($.impexpPosition==='rightTop')?'checked':''}/>右上
|
|
|
+ <input type="radio" name="impexpPosition" value="leftBottom" text{($.impexpPosition==='leftBottom')?'checked':''}/>左下
|
|
|
+ <input type="radio" name="impexpPosition" value="centerBottom" text{($.impexpPosition==='centerBottom')?'checked':''}/>中下
|
|
|
+ <input type="radio" name="impexpPosition" value="rightBottom" text{($.impexpPosition==='rightBottom')?'checked':''}/>右下
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td class="editTableTitle">导入按钮文本:</td>
|
|
|
+ <td class="editTableValue"><input type="text" name="importActionText" value="text{$.importActionText || '导入Excel'}" class="editTableInput"/></td>
|
|
|
+ </tr>
|
|
|
+ </table>
|
|
|
+ <div class="MWFMaplist" name="importActionStyles" collapse="true" title="导入按钮样式"></div>
|
|
|
+ <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
|
|
|
+ <tr>
|
|
|
+ <td class="editTableTitle">导出按钮文本:</td>
|
|
|
+ <td class="editTableValue"><input type="text" name="exportActionText" value="text{$.exportActionText || '导出Excel'}" class="editTableInput"/></td>
|
|
|
+ </tr>
|
|
|
+ </table>
|
|
|
+ <div class="MWFMaplist" name="exportActionStyles" collapse="true" title="导出按钮样式"></div>
|
|
|
+ <div class="MWFFormulaArea" name="excelName" title="导出文件名称"></div>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div class="MWFValidation" name="validationConfig"></div>
|
|
|
+ <div class="MWFScriptArea" name="validation" title="校验脚本 (S)"></div>
|
|
|
+ </div>
|
|
|
+ <div title="样式" class="MWFTab">
|
|
|
+ <div class="MWFMaplist" name="titleStyles" collapse="true" title="标题单元格样式"></div>
|
|
|
+ <div class="MWFMaplist" name="contentStyles" collapse="true" title="内容单元格样式"></div>
|
|
|
+ <div class="MWFMaplist" name="actionStyles" collapse="true" title="操作单元格样式"></div>
|
|
|
+ <div class="MWFMaplist" name="editStyles" collapse="true" title="编辑单元格样式"></div>
|
|
|
+ <div class="MWFMaplist" name="amountStyles" collapse="true" title="总计单元格样式"></div>
|
|
|
+ <div class="MWFMaplist" name="itemTitleStyles" collapse="true" title="条目标题样式(仅移动端)"></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>
|