|
@@ -411,19 +411,19 @@
|
|
|
|
|
|
|
|
<div title="过滤" class="MWFTab">
|
|
<div title="过滤" class="MWFTab">
|
|
|
<div class="MWFViewFilter">
|
|
<div class="MWFViewFilter">
|
|
|
- <div>
|
|
|
|
|
- <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
|
|
|
|
|
|
|
+ <div class="inputAreaNode">
|
|
|
|
|
+ <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable restrictViewFilterTable">
|
|
|
<tr>
|
|
<tr>
|
|
|
<td class="editTableTitle">标题:</td>
|
|
<td class="editTableTitle">标题:</td>
|
|
|
- <td class="editTableValue"><input type="text" class="editTableInput"/></td>
|
|
|
|
|
|
|
+ <td class="editTableValue"><input type="text" class="editTableInput titleInput"/></td>
|
|
|
</tr>
|
|
</tr>
|
|
|
<tr>
|
|
<tr>
|
|
|
<td class="editTableTitle">路径:</td>
|
|
<td class="editTableTitle">路径:</td>
|
|
|
- <td class="editTableValue"><input type="text" class="editTableInput"/></td>
|
|
|
|
|
|
|
+ <td class="editTableValue"><input type="text" class="editTableInput pathInput"/></td>
|
|
|
</tr>
|
|
</tr>
|
|
|
<tr>
|
|
<tr>
|
|
|
<td class="editTableTitle">数据类型:</td>
|
|
<td class="editTableTitle">数据类型:</td>
|
|
|
- <td class="editTableValue"><select
|
|
|
|
|
|
|
+ <td class="editTableValue"><select class="datatypeInput"
|
|
|
onchange="if (this.selectedIndex==2){
|
|
onchange="if (this.selectedIndex==2){
|
|
|
$('text{$.id}viewFilterDateFormulaSelector').setStyle('display', 'block');
|
|
$('text{$.id}viewFilterDateFormulaSelector').setStyle('display', 'block');
|
|
|
$('text{$.id}viewFilterDateFormulaSelector2').setStyle('display', 'block');
|
|
$('text{$.id}viewFilterDateFormulaSelector2').setStyle('display', 'block');
|
|
@@ -472,11 +472,11 @@
|
|
|
<tr>
|
|
<tr>
|
|
|
<td class="editTableTitle"></td>
|
|
<td class="editTableTitle"></td>
|
|
|
<td class="editTableValue">
|
|
<td class="editTableValue">
|
|
|
- <input type="radio" value="restrict" name="text{$.id}viewFilterType" onclick="if (this.checked){
|
|
|
|
|
|
|
+ <input type="radio" class="restrictFilterInput" value="restrict" name="text{$.id}viewFilterType" onclick="if (this.checked){
|
|
|
$('text{$.id}viewFilterRestrict').setStyle('display', 'block');
|
|
$('text{$.id}viewFilterRestrict').setStyle('display', 'block');
|
|
|
$('text{$.id}viewCustomFilterRestrict').setStyle('display', 'none');
|
|
$('text{$.id}viewCustomFilterRestrict').setStyle('display', 'none');
|
|
|
}"/>作为默认过滤条件<br>
|
|
}"/>作为默认过滤条件<br>
|
|
|
- <input type="radio" value="custom" name="text{$.id}viewFilterType" onclick="if (this.checked){
|
|
|
|
|
|
|
+ <input type="radio" class="customFilterInput" value="custom" name="text{$.id}viewFilterType" onclick="if (this.checked){
|
|
|
$('text{$.id}viewFilterRestrict').setStyle('display', 'none');
|
|
$('text{$.id}viewFilterRestrict').setStyle('display', 'none');
|
|
|
$('text{$.id}viewCustomFilterRestrict').setStyle('display', 'block');
|
|
$('text{$.id}viewCustomFilterRestrict').setStyle('display', 'block');
|
|
|
}" checked/>作为自定义过滤数据
|
|
}" checked/>作为自定义过滤数据
|
|
@@ -487,12 +487,22 @@
|
|
|
<table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
|
|
<table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
|
|
|
<tr>
|
|
<tr>
|
|
|
<td class="editTableTitle">逻辑:</td>
|
|
<td class="editTableTitle">逻辑:</td>
|
|
|
- <td class="editTableValue"><select><option selected value="and">并且(and)</option><option value="or">或者(or)</option></select></td>
|
|
|
|
|
|
|
+ <td class="editTableValue"><select class="logicInput">
|
|
|
|
|
+ <option selected value="and">并且(and)</option>
|
|
|
|
|
+ <option value="or">或者(or)</option>
|
|
|
|
|
+ </select></td>
|
|
|
</tr>
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
<tr>
|
|
|
<td class="editTableTitle">比较:</td>
|
|
<td class="editTableTitle">比较:</td>
|
|
|
- <td class="editTableValue"><select onchange="if (this.selectedIndex==8){$('text{$.id}viewFilterValue2Area').setStyle('display', 'block'); $('text{$.id}viewFilterValueTitleArea').set('text', '从');}else{$('text{$.id}viewFilterValue2Area').setStyle('display', 'none'); $('text{$.id}viewFilterValueTitleArea').set('text', '值');}">
|
|
|
|
|
|
|
+ <td class="editTableValue"><select class="comparisonInput" onchange="
|
|
|
|
|
+ if (this.selectedIndex==8){
|
|
|
|
|
+ $('text{$.id}viewFilterValue2Area').setStyle('display', 'block');
|
|
|
|
|
+ $('text{$.id}viewFilterValueTitleArea').set('text', '从');
|
|
|
|
|
+ }else{
|
|
|
|
|
+ $('text{$.id}viewFilterValue2Area').setStyle('display', 'none');
|
|
|
|
|
+ $('text{$.id}viewFilterValueTitleArea').set('text', '值');
|
|
|
|
|
+ }">
|
|
|
<option value="equals" selected>等于(==)</option>
|
|
<option value="equals" selected>等于(==)</option>
|
|
|
<option value="notEquals">不等于(!=)</option>
|
|
<option value="notEquals">不等于(!=)</option>
|
|
|
<option value="greaterThan">大于(>)</option>
|
|
<option value="greaterThan">大于(>)</option>
|
|
@@ -507,12 +517,12 @@
|
|
|
<tr>
|
|
<tr>
|
|
|
<td class="editTableTitle" id="text{$.id}viewFilterValueTitleArea">值:</td>
|
|
<td class="editTableTitle" id="text{$.id}viewFilterValueTitleArea">值:</td>
|
|
|
<td class="editTableValue" id="text{$.id}viewFilterValueArea">
|
|
<td class="editTableValue" id="text{$.id}viewFilterValueArea">
|
|
|
- <input type="text" class="editTableInput" style="display: block" onkeypress="$('text{$.id}viewFilterTextFormulaSelector').getElements('input').set('checked', false)"/>
|
|
|
|
|
- <input type="number" class="editTableInput" style="display: none"/>
|
|
|
|
|
- <input type="text" class="editTableInput" style="display: none" readonly/>
|
|
|
|
|
|
|
+ <input type="text" class="editTableInput valueTextInput" style="display: block" onkeypress="$('text{$.id}viewFilterTextFormulaSelector').getElements('input').set('checked', false)"/>
|
|
|
|
|
+ <input type="number" class="editTableInput valueNumberInput" style="display: none"/>
|
|
|
|
|
+ <input type="text" class="editTableInput valueDatetimeInput" style="display: none" readonly/>
|
|
|
<input type="text" class="editTableInput" style="display: none" readonly/>
|
|
<input type="text" class="editTableInput" style="display: none" readonly/>
|
|
|
<input type="text" class="editTableInput" style="display: none" readonly/>
|
|
<input type="text" class="editTableInput" style="display: none" readonly/>
|
|
|
- <select style="display: none">
|
|
|
|
|
|
|
+ <select class="valueBooleanInput" style="display: none">
|
|
|
<option value="true" selected>是(True)</option>
|
|
<option value="true" selected>是(True)</option>
|
|
|
<option value="false">否(False)</option>
|
|
<option value="false">否(False)</option>
|
|
|
</select>
|
|
</select>
|
|
@@ -669,11 +679,11 @@
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
- <div></div>
|
|
|
|
|
|
|
+ <div class="actionAreaNode"></div>
|
|
|
<div style="height: 20px; line-height: 20px; text-align:center; background-color: #eeeeee">默认过滤条件</div>
|
|
<div style="height: 20px; line-height: 20px; text-align:center; background-color: #eeeeee">默认过滤条件</div>
|
|
|
- <div style="min-height: 56px; border-bottom:1px solid #CCCCCC; overflow: hidden;"></div>
|
|
|
|
|
|
|
+ <div class="listAreaNode" style="min-height: 56px; border-bottom:1px solid #CCCCCC; overflow: hidden;"></div>
|
|
|
<div style="height: 20px; line-height: 20px; text-align:center; background-color: #eeeeee">自定义过滤数据</div>
|
|
<div style="height: 20px; line-height: 20px; text-align:center; background-color: #eeeeee">自定义过滤数据</div>
|
|
|
- <div style="min-height: 56px; border-bottom:1px solid #CCCCCC; overflow: hidden;"></div>
|
|
|
|
|
|
|
+ <div class="fieldListAreaNode" style="min-height: 56px; border-bottom:1px solid #CCCCCC; overflow: hidden;"></div>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|