Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
ghsby
o2oa
提交
f17a8d06
o2oa
项目概览
ghsby
/
o2oa
落后 Fork 源项目 2880 个版本
Fork自
浙江兰德纵横网络技术股份有限公司 / o2oa
通知
1
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
o2oa
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
f17a8d06
编写于
11月 02, 2020
作者:
U
unknown
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
查询中增加视图功能
上级
fad253c0
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
56 addition
and
32 deletion
+56
-32
o2web/source/x_component_process_FormDesigner/Module/Statement/statement.html
...nent_process_FormDesigner/Module/Statement/statement.html
+40
-32
o2web/source/x_component_process_FormDesigner/Property.js
o2web/source/x_component_process_FormDesigner/Property.js
+16
-0
未找到文件。
o2web/source/x_component_process_FormDesigner/Module/Statement/statement.html
浏览文件 @
f17a8d06
...
...
@@ -79,9 +79,16 @@
</table>
<div
style=
"background-color: #eeeeee; border-top:1px solid #999999; height: 24px; line-height: 24px; text-align: center; cursor:pointer"
>
过滤
</div>
<div
class=
"MWF
View
Filter"
>
<div
class=
"MWF
Statement
Filter"
>
<div
class=
"inputAreaNode_vf"
>
<table
width=
"100%"
border=
"0"
cellpadding=
"5"
cellspacing=
"0"
class=
"editTable restrictViewFilterTable_vf"
>
<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>
<tr
style=
"display:none"
>
<td
class=
"editTableTitle"
>
标题:
</td>
<td
class=
"editTableValue"
><input
type=
"text"
class=
"editTableInput titleInput_vf"
/></td>
...
...
@@ -89,32 +96,33 @@
<tr>
<td
class=
"editTableTitle"
>
路径:
</td>
<td
class=
"editTableValue"
><input
type=
"text"
class=
"editTableInput pathInput_vf"
/></td>
注:路径的写法是"表别名.字段名",如:o.title
</tr>
<tr>
<td
class=
"editTableTitle"
>
数据类型:
</td>
<td
class=
"editTableValue"
><select
class=
"datatypeInput_vf"
>
<option
value=
"textValue"
selected
>
文本
</option>
<option
value=
"numberValue"
>
数字
</option>
<option
value=
"dateTimeValue"
>
日期
</option>
<option
value=
"dateTimeValue"
>
日期
时间
</option>
<option
value=
"booleanValue"
>
布尔
</option>
</select></td>
</tr>
<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
>
<!-- <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>--
>
</table>
<table
id=
"text{$.pid}viewFilterRestrict"
width=
"100%"
border=
"0"
cellpadding=
"5"
cellspacing=
"0"
class=
"editTable"
>
<tr
>
<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
>
<!-- <tr>--
>
<!-- <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>--
>
<tr>
<td
class=
"editTableTitle"
>
比较:
</td>
...
...
@@ -130,28 +138,28 @@
<option
value=
"range"
>
范围(range)
</option>
</select></td>
</tr>
<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
>
<!-- <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>--
>
</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>
<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
>
<!-- <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>--
>
</div>
<div
class=
"MWFScriptArea"
name=
"defaultSelectedScript"
title=
"默认选中行脚本"
></div>
</div>
...
...
o2web/source/x_component_process_FormDesigner/Property.js
浏览文件 @
f17a8d06
...
...
@@ -517,6 +517,22 @@ MWF.xApplication.process.FormDesigner.Property = MWF.FCProperty = new Class({
}.
bind
(
this
));
}
},
loadStatementFilter
:
function
(){
var
nodes
=
this
.
propertyContent
.
getElements
(
"
.MWFStatementFilter
"
);
var
filtrData
=
this
.
data
.
filterList
;
nodes
.
each
(
function
(
node
){
MWF
.
xDesktop
.
requireApp
(
"
query.StatementDesigner
"
,
"
widget.ViewFilter
"
,
function
(){
var
_slef
=
this
;
new
MWF
.
xApplication
.
query
.
StatementDesigner
.
widget
.
ViewFilter
(
node
,
this
.
form
.
designer
,
{
"
filtrData
"
:
filtrData
,
"
customData
"
:
null
},
{
"
onChange
"
:
function
(
ids
){
var
data
=
this
.
getData
();
_slef
.
changeJsonDate
([
"
filterList
"
],
data
.
data
);
//_slef.changeJsonDate(["data", "customFilterEntryList"], data.customData);
}
});
}.
bind
(
this
));
}.
bind
(
this
));
},
loadViewFilter
:
function
(){
var
nodes
=
this
.
propertyContent
.
getElements
(
"
.MWFViewFilter
"
);
var
filtrData
=
this
.
data
.
filterList
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录