statement.html 8.2 KB
Newer Older
U
unknown 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
<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">Class:</td>
		    <td class="editTableValue"><input type="text" name="description" value="text{$.description}" class="editTableInput"/></td>
		  </tr>
		</table>
		
		<div class="MWFMaplist" name="styles" title="样式"></div>
		<div class="MWFMaplist" name="properties" title="属性"></div>

        <div class="MWFMaplist" name="titleStyles" title="标题样式"></div>
        <div class="MWFMaplist" name="itemStyles" title="数据样式"></div>

U
unknown 已提交
28 29
	</div>

U
unknown 已提交
30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83
	<div title="查询"  class="MWFTab">
		<div>
			<table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
				<tr>
					<td class="editTableTitle">查询:</td>
					<td class="editTableValue"><div class="MWFQueryStatementSelect" name="queryStatement"></div></td>
				</tr>
			</table>
			<table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
				<tr>
					<td class="editTableTitle">立即载入:</td>
					<td class="editTableValue">
						<input type="radio" name="loadView" value="yes" text{($.loadView!='no')?'checked':''}/>
						<input type="radio" name="loadView" value="no" text{($.loadView=='no')?'checked':''}/>
					</td>
				</tr>
			</table>
		</div>


		<table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
			<!--<tr>-->
			<!--<td class="editTableTitle">视图:</td>-->
			<!--<td class="editTableValue">-->
			<!--<div class="MWFViewSelect" name="view"></div>-->
			<!--</td>-->
			<!--</tr>-->
			<tr>
				<td class="editTableTitle">显示标题</td>
				<td class="editTableValue">
					<input class="editTableRadio" name="isTitle" text{($.isTitle!='no')?'checked':''} type="radio" value="yes"/>显示
					<input class="editTableRadio" name="isTitle" text{($.isTitle=='no')?'checked':''} type="radio" value="no"/>不显示
				</td>
			</tr>
			<tr>
				<td class="editTableTitle">选择文件</td>
				<td class="editTableValue">
					<select name="select">
						<option text{($.select!='single' && $.select!='multi')?'selected':''} value="no">不允许</option>
						<option text{($.select=='single')?'selected':''} value="single">单选</option>
						<option text{($.select=='multi')?'selected':''} value="multi">多选</option>
					</select>
				</td>
			</tr>
			<tr>
				<td class="editTableTitle">操作条</td>
				<td class="editTableValue">
					<input class="editTableRadio" name="actionbar" text{($.actionbar=='show')?'checked':''} type="radio" value="show"/>显示
					<input class="editTableRadio" name="actionbar" text{($.actionbar!='show')?'checked':''} type="radio" value="hidden"/>不显示
				</td>
			</tr>
		</table>

		<div style="background-color: #eeeeee; border-top:1px solid #999999; height: 24px; line-height: 24px; text-align: center; cursor:pointer">过滤</div>
U
unknown 已提交
84
		<div class="MWFStatementFilter">
U
unknown 已提交
85
			<div class="inputAreaNode_vf">
U
unknown 已提交
86
				<table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable restrictViewFilterTable_vf" style="table-layout: fixed;">
U
unknown 已提交
87 88 89 90 91 92 93
					<tr id="text{$.id}pathInputSelectTr">
						<td class="editTableTitle">选择:</td>
						<td class="editTableValue">
							<select class="pathInputSelect_vf"></select>
							<!--                            <div style="line-height: 20px;color:#999;">注:选择路径后,需在选择的值前面加上"表别名.",如:o.</div>-->
						</td>
					</tr>
U
unknown 已提交
94 95 96 97 98 99
					<tr style="display:none">
						<td class="editTableTitle">标题:</td>
						<td class="editTableValue"><input type="text" class="editTableInput titleInput_vf"/></td>
					</tr>
					<tr>
						<td class="editTableTitle">路径:</td>
U
unknown 已提交
100 101 102 103
						<td class="editTableValue">
							<input type="text" class="editTableInput pathInput_vf"/>
							<div style="color: #999">注:路径的写法是"表别名.字段名",如:o.title</div>
						</td>
U
unknown 已提交
104 105 106 107 108 109
					</tr>
					<tr>
						<td class="editTableTitle">数据类型:</td>
						<td class="editTableValue"><select class="datatypeInput_vf">
							<option value="textValue" selected>文本</option>
							<option value="numberValue">数字</option>
U
unknown 已提交
110
							<option value="dateTimeValue">日期时间</option>
U
unknown 已提交
111 112 113
							<option value="booleanValue">布尔</option>
						</select></td>
					</tr>
U
unknown 已提交
114 115 116 117 118 119 120
					<tr style="display:none">
						<td class="editTableTitle"></td>
						<td class="editTableValue">
							<input type="radio" class="restrictFilterInput_vf" value="restrict" name="text{$.id}viewFilterType" checked/>作为默认过滤条件<br>
							<input type="radio" class="customFilterInput_vf" value="custom" name="text{$.id}viewFilterType"/>作为自定义过滤数据
						</td>
					</tr>
U
unknown 已提交
121 122
				</table>
				<table id="text{$.pid}viewFilterRestrict" width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
U
unknown 已提交
123 124 125 126 127 128 129
					<tr style="display:none;">
						<td class="editTableTitle">逻辑:</td>
						<td class="editTableValue"><select class="logicInput_vf">
							<option selected value="and">并且(and)</option>
							<option value="or">或者(or)</option>
						</select></td>
					</tr>
U
unknown 已提交
130 131 132 133 134 135 136 137 138 139 140 141 142 143 144

					<tr>
						<td class="editTableTitle">比较:</td>
						<td class="editTableValue"><select class="comparisonInput_vf">
							<option value="equals" selected>等于(==)</option>
							<option value="notEquals">不等于(!=)</option>
							<option value="greaterThan">大于(>)</option>
							<option value="greaterThanOrEqualTo">大于等于(>=)</option>
							<option value="lessThan">小于(<)</option>
							<option value="lessThanOrEqualTo">小于等于(<=)</option>
							<option value="like">匹配(like)</option>
							<option value="notLike">不匹配(not-like)</option>
							<option value="range">范围(range)</option>
						</select></td>
					</tr>
U
unknown 已提交
145 146 147 148 149 150 151 152 153 154 155 156 157 158
					<tr style="display:none">
						<td class="editTableTitle">值:</td>
						<td class="editTableValue">
							<input type="text" class="editTableInput valueTextInput_vf" style="display: block"/>
							<input type="number" class="editTableInput valueNumberInput_vf" style="display: none"/>
							<input type="text" class="editTableInput valueDatetimeInput_vf" style="display: none" readonly/>
							<input type="text" class="editTableInput valueDateInput_vf" style="display: none" readonly/>
							<input type="text" class="editTableInput valueTimeInput_vf" style="display: none" readonly/>
							<select class="valueBooleanInput_vf" style="display: none">
								<option value="true" selected>是(True)</option>
								<option value="false">否(False)</option>
							</select>
						</td>
					</tr>
U
unknown 已提交
159 160 161 162 163 164
				</table>
				<div title="值" class="MWFFilterFormulaArea"></div>
			</div>
			<div class="actionAreaNode_vf"></div>
			<div style="height: 20px; line-height: 20px; text-align:center; background-color: #eeeeee">默认过滤条件</div>
			<div class="listAreaNode_vf" style="min-height: 56px; border-bottom:1px solid #CCCCCC; overflow: hidden;"></div>
U
unknown 已提交
165 166
			<div style="display:none; height: 20px; line-height: 20px; text-align:center; background-color: #eeeeee">自定义过滤数据</div>
			<div class="fieldListAreaNode_vf" style="display:none; min-height: 56px; border-bottom:1px solid #CCCCCC; overflow: hidden;"></div>
U
unknown 已提交
167 168 169 170 171 172 173 174 175 176 177 178 179 180
		</div>
		<div class="MWFScriptArea" name="defaultSelectedScript" title="默认选中行脚本"></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>