Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
ghsby
o2oa
提交
6979217b
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,发现更多精彩内容 >>
提交
6979217b
编写于
11月 06, 2020
作者:
U
unknown
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
修改查询视图
上级
b9262338
变更
7
隐藏空白更改
内联
并排
Showing
7 changed file
with
88 addition
and
94 deletion
+88
-94
o2web/source/x_component_process_FormDesigner/Module/Statement/statement.html
...nent_process_FormDesigner/Module/Statement/statement.html
+1
-3
o2web/source/x_component_process_FormDesigner/Module/StatementSelector/StatementSelector.html
...mDesigner/Module/StatementSelector/StatementSelector.html
+3
-3
o2web/source/x_component_process_FormDesigner/Property.js
o2web/source/x_component_process_FormDesigner/Property.js
+2
-2
o2web/source/x_component_query_Query/Statement.js
o2web/source/x_component_query_Query/Statement.js
+6
-4
o2web/source/x_component_query_StatementDesigner/$Statement/view.html
.../x_component_query_StatementDesigner/$Statement/view.html
+2
-2
o2web/source/x_component_query_StatementDesigner/Property.js
o2web/source/x_component_query_StatementDesigner/Property.js
+3
-3
o2web/source/x_component_query_StatementDesigner/widget/ViewFilter.js
.../x_component_query_StatementDesigner/widget/ViewFilter.js
+71
-77
未找到文件。
o2web/source/x_component_process_FormDesigner/Module/Statement/statement.html
浏览文件 @
6979217b
...
...
@@ -161,9 +161,7 @@
</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
class=
"filterListAreaNode_vf"
style=
"min-height: 56px; border-bottom:1px solid #CCCCCC; overflow: hidden;"
></div>
</div>
<div
class=
"MWFScriptArea"
name=
"defaultSelectedScript"
title=
"默认选中行脚本"
></div>
<div
class=
"MWFScriptArea"
name=
"selectedAbleScript"
title=
"允许选择行脚本"
id=
"text{$.pid}selectedAbleScript"
...
...
o2web/source/x_component_process_FormDesigner/Module/StatementSelector/StatementSelector.html
浏览文件 @
6979217b
...
...
@@ -191,9 +191,9 @@
</div>
<div
class=
"actionAreaNode_vf"
></div>
<div
style=
"height: 20px; line-height: 20px; text-align:center; background-color: #eeeeee"
>
默认过滤条件
</div>
<div
class=
"
l
istAreaNode_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
class=
"
filterL
istAreaNode_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>
</div>
...
...
o2web/source/x_component_process_FormDesigner/Property.js
浏览文件 @
6979217b
...
...
@@ -525,12 +525,12 @@ MWF.xApplication.process.FormDesigner.Property = MWF.FCProperty = new Class({
nodes
.
each
(
function
(
node
){
MWF
.
xDesktop
.
requireApp
(
"
query.StatementDesigner
"
,
"
widget.ViewFilter
"
,
function
(){
var
_slef
=
this
;
this
.
viewFilter
=
new
MWF
.
xApplication
.
query
.
StatementDesigner
.
widget
.
ViewFilter
(
node
,
this
.
form
.
designer
,
{
"
filtrData
"
:
filtrData
,
"
customData
"
:
null
},
{
this
.
viewFilter
=
new
MWF
.
xApplication
.
query
.
StatementDesigner
.
widget
.
ViewFilter
(
node
,
this
.
form
.
designer
,
{
"
filtrData
"
:
filtrData
,
"
customData
"
:
null
,
"
parameterData
"
:
null
},
{
"
statementId
"
:
this
.
data
.
queryStatement
?
this
.
data
.
queryStatement
.
id
:
""
,
"
withForm
"
:
true
,
"
onChange
"
:
function
(
ids
){
var
data
=
this
.
getData
();
_slef
.
changeJsonDate
([
"
filterList
"
],
data
.
d
ata
);
_slef
.
changeJsonDate
([
"
filterList
"
],
data
.
filterD
ata
);
//_slef.changeJsonDate(["data", "customFilterEntryList"], data.customData);
}
});
...
...
o2web/source/x_component_query_Query/Statement.js
浏览文件 @
6979217b
...
...
@@ -157,11 +157,13 @@ MWF.xApplication.query.Query.Statement = MWF.QStatement = new Class({
(
data
.
filterList
||
[]
).
each
(
function
(
d
)
{
var
parameterName
=
d
.
path
.
replace
(
/
\.
/g
,
"
_
"
);
var
value
=
d
.
value
;
if
(
d
.
code
&&
d
.
code
.
code
){
value
=
this
.
Macro
.
exec
(
d
.
code
.
code
,
this
);
}
//
if( d.code && d.code.code ){
//
value = this.Macro.exec( d.code.code, this);
//
}
if
(
d
.
comparison
===
"
like
"
||
d
.
comparison
===
"
notLike
"
){
this
.
parameter
[
parameterName
]
=
"
%
"
+
value
+
"
%
"
;
if
(
value
.
substr
(
0
,
1
)
!==
"
%
"
)
value
=
"
%
"
+
value
;
if
(
value
.
substr
(
value
.
length
-
1
,
1
)
!==
"
%
"
)
value
=
value
+
"
%
"
;
this
.
parameter
[
parameterName
]
=
value
;
//"%"+value+"%";
}
else
{
if
(
d
.
formatType
===
"
dateTimeValue
"
||
d
.
formatType
===
"
datetimeValue
"
){
value
=
"
{ts '
"
+
value
+
"
'}
"
...
...
o2web/source/x_component_query_StatementDesigner/$Statement/view.html
浏览文件 @
6979217b
...
...
@@ -343,9 +343,9 @@
</div>
<div
class=
"actionAreaNode_vf"
></div>
<div
style=
"height: 20px; line-height: 20px; text-align:center; background-color: #eeeeee"
>
默认过滤条件
</div>
<div
class=
"
l
istAreaNode_vf"
style=
"min-height: 56px; border-bottom:1px solid #CCCCCC; overflow: hidden;"
></div>
<div
class=
"
parameterL
istAreaNode_vf"
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
class=
"
field
ListAreaNode_vf"
style=
"min-height: 56px; border-bottom:1px solid #CCCCCC; overflow: hidden;"
></div>
<div
class=
"
customFilter
ListAreaNode_vf"
style=
"min-height: 56px; border-bottom:1px solid #CCCCCC; overflow: hidden;"
></div>
</div>
</div>
...
...
o2web/source/x_component_query_StatementDesigner/Property.js
浏览文件 @
6979217b
...
...
@@ -58,18 +58,18 @@ MWF.xApplication.query.StatementDesigner.Property = MWF.SDProperty = new Class({
},
loadViewFilter
:
function
()
{
var
nodes
=
this
.
propertyContent
.
getElements
(
"
.MWFViewFilter
"
);
var
filtrData
=
this
.
view
.
data
.
data
.
fil
terList
;
var
parameterData
=
this
.
view
.
data
.
data
.
parame
terList
;
var
customData
=
this
.
view
.
data
.
data
.
customFilterList
;
nodes
.
each
(
function
(
node
)
{
MWF
.
xDesktop
.
requireApp
(
"
query.StatementDesigner
"
,
"
widget.ViewFilter
"
,
function
()
{
var
_slef
=
this
;
this
.
viewFilter
=
new
MWF
.
xApplication
.
query
.
StatementDesigner
.
widget
.
ViewFilter
(
node
,
this
.
view
.
designer
,
{
"
filtrData
"
:
filt
rData
,
"
parameterData
"
:
paramete
rData
,
"
customData
"
:
customData
},
{
"
onChange
"
:
function
(
ids
)
{
var
data
=
this
.
getData
();
_slef
.
changeJsonDate
([
"
data
"
,
"
filterList
"
],
data
.
d
ata
);
_slef
.
changeJsonDate
([
"
data
"
,
"
parameterList
"
],
data
.
parameterD
ata
);
_slef
.
changeJsonDate
([
"
data
"
,
"
customFilterList
"
],
data
.
customData
);
}
});
...
...
o2web/source/x_component_query_StatementDesigner/widget/ViewFilter.js
浏览文件 @
6979217b
...
...
@@ -50,21 +50,21 @@ MWF.xApplication.query.StatementDesigner.widget.ViewFilter = new Class({
}
},
loadData
:
function
()
{
if
(
this
.
filtrData
.
parameterData
&&
this
.
filtrData
.
parameterData
.
length
)
{
if
(
this
.
filtrData
.
parameterData
&&
this
.
filtrData
.
parameterData
.
length
&&
this
.
parameterListAreaNode
)
{
this
.
filtrData
.
parameterData
.
each
(
function
(
data
)
{
data
.
type
=
"
parameter
"
;
this
.
items
.
push
(
new
MWF
.
xApplication
.
query
.
StatementDesigner
.
widget
.
ViewFilter
.
ItemParameter
(
this
,
data
));
}.
bind
(
this
));
}
if
(
this
.
filtrData
.
filtrData
&&
this
.
filtrData
.
filtrData
.
length
)
{
if
(
this
.
filtrData
.
filtrData
&&
this
.
filtrData
.
filtrData
.
length
&&
this
.
filterListAreaNode
)
{
this
.
filtrData
.
filtrData
.
each
(
function
(
data
)
{
data
.
type
=
"
filter
"
;
this
.
items
.
push
(
new
MWF
.
xApplication
.
query
.
StatementDesigner
.
widget
.
ViewFilter
.
ItemFilter
(
this
,
data
));
}.
bind
(
this
));
}
if
(
this
.
filtrData
.
customData
&&
this
.
filtrData
.
customData
.
length
)
{
if
(
this
.
filtrData
.
customData
&&
this
.
filtrData
.
customData
.
length
&&
this
.
customFilterListAreaNode
)
{
this
.
filtrData
.
customData
.
each
(
function
(
data
)
{
data
.
type
=
"
custom
"
;
this
.
items
.
push
(
new
MWF
.
xApplication
.
query
.
StatementDesigner
.
widget
.
ViewFilter
.
ItemCustom
(
this
,
data
));
...
...
@@ -138,8 +138,10 @@ MWF.xApplication.query.StatementDesigner.widget.ViewFilter = new Class({
this
.
inputAreaNode
=
this
.
node
.
getElement
(
"
.inputAreaNode_vf
"
);
this
.
actionAreaNode
=
this
.
node
.
getElement
(
"
.actionAreaNode_vf
"
);
this
.
actionAreaNode
.
setStyles
(
this
.
css
.
actionAreaNode
);
this
.
listAreaNode
=
this
.
node
.
getElement
(
"
.listAreaNode_vf
"
);
this
.
fieldListAreaNode
=
this
.
node
.
getElement
(
"
.fieldListAreaNode_vf
"
);
this
.
filterListAreaNode
=
this
.
node
.
getElement
(
"
.filterListAreaNode_vf
"
);
this
.
parameterListAreaNode
=
this
.
node
.
getElement
(
"
.parameterListAreaNode_vf
"
);
this
.
customFilterListAreaNode
=
this
.
node
.
getElement
(
"
.customFilterListAreaNode_vf
"
);
this
.
restrictViewFilterTable
=
this
.
node
.
getElement
(
"
.restrictViewFilterTable_vf
"
);
...
...
@@ -156,6 +158,7 @@ MWF.xApplication.query.StatementDesigner.widget.ViewFilter = new Class({
this
.
datatypeInput
=
this
.
inputAreaNode
.
getElement
(
"
.datatypeInput_vf
"
);
this
.
restrictParameterInput
=
this
.
inputAreaNode
.
getElement
(
"
.restrictParameterInput_vf
"
);
this
.
restrictFilterInput
=
this
.
inputAreaNode
.
getElement
(
"
.restrictFilterInput_vf
"
);
this
.
customFilterInput
=
this
.
inputAreaNode
.
getElement
(
"
.customFilterInput_vf
"
);
// this.logicInput = this.inputAreaNode.getElement(".logicInput_vf");
...
...
@@ -272,8 +275,8 @@ MWF.xApplication.query.StatementDesigner.widget.ViewFilter = new Class({
case
"
date
"
:
t
=
"
dateTimeValue
"
;
break
;
// t = "dateValue";
// break;
// t = "dateValue";
// break;
case
"
time
"
:
t
=
"
timeValue
"
;
break
;
...
...
@@ -520,15 +523,19 @@ MWF.xApplication.query.StatementDesigner.widget.ViewFilter = new Class({
},
modifyOrAddFilterItem
:
function
()
{
var
flag
;
var
type
;
if
(
this
.
currentItem
)
{
flag
=
this
.
modifyFilterItem
();
}
else
{
if
(
this
.
options
.
withForm
){
flag
=
this
.
addFilterItemWithForm
();
}
else
if
(
this
.
restrictParameterInput
.
checked
)
{
if
(
this
.
restrictFilterInput
&&
this
.
restrictFilterInput
.
checked
){
//this.options.withForm this.restrictParameterInput
flag
=
this
.
addFilterItem
();
type
=
"
filter
"
}
else
if
(
this
.
restrictParameterInput
&&
this
.
restrictParameterInput
.
checked
)
{
flag
=
this
.
addParameterItem
();
type
=
"
parameter
"
}
else
{
flag
=
this
.
addCustomFilterItem
();
type
=
"
custom
"
}
}
if
(
flag
){
...
...
@@ -537,7 +544,7 @@ MWF.xApplication.query.StatementDesigner.widget.ViewFilter = new Class({
"
path
"
:
""
,
"
parameter
"
:
""
,
"
title
"
:
""
,
"
type
"
:
t
his
.
restrictParameterInput
.
checked
?
"
parameter
"
:
"
custom
"
,
"
type
"
:
t
ype
,
"
comparison
"
:
"
equals
"
,
"
formatType
"
:
"
textValue
"
,
"
value
"
:
""
,
...
...
@@ -548,14 +555,14 @@ MWF.xApplication.query.StatementDesigner.widget.ViewFilter = new Class({
},
modifyFilterItem
:
function
()
{
var
data
=
this
.
getInputData
();
if
(
this
.
options
.
withForm
){
if
(
this
.
restrictFilterInput
&&
this
.
restrictFilterInput
.
checked
){
//this.options.withForm
if
(
this
.
verificationDataWithForm
(
data
))
{
this
.
currentItem
.
reload
(
data
);
this
.
currentItem
.
unSelected
();
this
.
fireEvent
(
"
change
"
);
return
true
;
}
}
else
if
(
this
.
restrictParameterInput
.
checked
){
}
else
if
(
this
.
restrictParameterInput
&&
this
.
restrictParameterInput
.
checked
){
if
(
this
.
verificationData
(
data
))
{
this
.
currentItem
.
reload
(
data
);
this
.
currentItem
.
unSelected
();
...
...
@@ -750,8 +757,11 @@ MWF.xApplication.query.StatementDesigner.widget.ViewFilter = new Class({
var
parameter
=
this
.
parameterInput
?
this
.
parameterInput
.
get
(
"
value
"
)
:
""
;
var
title
=
this
.
titleInput
.
get
(
"
value
"
);
if
(
this
.
restrictParameterInput
.
checked
)
var
type
=
"
parameter
"
;
if
(
this
.
customFilterInput
.
checked
)
var
type
=
"
custom
"
;
var
type
=
"
custom
"
;
if
(
this
.
restrictFilterInput
&&
this
.
restrictFilterInput
.
checked
)
type
=
"
filter
"
;
if
(
this
.
restrictParameterInput
&&
this
.
restrictParameterInput
.
checked
)
type
=
"
parameter
"
;
if
(
this
.
customFilterInput
.
checked
)
type
=
"
custom
"
;
// var comparison = this.comparisonInput.options[this.comparisonInput.selectedIndex].value;
var
comparison
=
""
;
...
...
@@ -800,7 +810,7 @@ MWF.xApplication.query.StatementDesigner.widget.ViewFilter = new Class({
//}
break
;
}
if
(
this
.
options
.
withForm
)
{
if
(
type
===
"
filter
"
)
{
//this.options.withForm
return
{
// "logic": "and",
"
path
"
:
path
,
...
...
@@ -898,9 +908,7 @@ MWF.xApplication.query.StatementDesigner.widget.ViewFilter = new Class({
}
catch
(
e
)
{
}
if
(
this
.
options
.
withForm
){
this
.
switchInputDisplay
();
}
else
{
if
(
data
.
type
===
"
parameter
"
){
switch
(
data
.
formatType
)
{
case
"
textValue
"
:
this
.
valueTextInput
.
set
(
"
value
"
,
data
.
value
);
...
...
@@ -937,66 +945,52 @@ MWF.xApplication.query.StatementDesigner.widget.ViewFilter = new Class({
break
;
}
}
//if (this.valueBooleanInput2){
// for (var i=0; i<this.valueBooleanInput2.options.length; i++){
// var v = this.valueBooleanInput2.options[i].value;
// if (v=="true"){
// v = true;
// }else{
// v = false;
// }
// if (v===data.otherValue){
// this.valueBooleanInput2.options[i].set("selected", true);
// break;
// }
// }
//}
break
;
}
}
if
(
data
.
type
===
"
custom
"
)
{
this
.
customFilterValueTypes
.
each
(
function
(
radio
)
{
if
(
data
.
valueType
)
{
if
(
data
.
valueType
===
radio
.
get
(
"
value
"
))
radio
.
set
(
"
checked
"
,
true
);
}
else
{
if
(
"
input
"
===
radio
.
get
(
"
value
"
))
radio
.
set
(
"
checked
"
,
true
);
}
});
if
(
this
.
customFilterValueScriptArea
)
{
if
(
!
data
.
valueType
||
data
.
valueType
===
"
input
"
)
{
this
.
customFilterValueScriptDiv
.
hide
();
this
.
customFilterValueScriptData
=
""
;
this
.
customFilterValueScriptArea
.
editor
.
setValue
(
""
);
}
else
{
this
.
customFilterValueScriptDiv
.
show
();
this
.
customFilterValueScriptData
=
data
.
valueScript
;
this
.
customFilterValueScriptArea
.
editor
.
setValue
(
data
.
valueScript
?
data
.
valueScript
.
code
:
""
);
}
if
(
data
.
type
===
"
custom
"
)
{
this
.
customFilterValueTypes
.
each
(
function
(
radio
)
{
if
(
data
.
valueType
)
{
if
(
data
.
valueType
===
radio
.
get
(
"
value
"
))
radio
.
set
(
"
checked
"
,
true
);
}
else
{
if
(
"
input
"
===
radio
.
get
(
"
value
"
))
radio
.
set
(
"
checked
"
,
true
);
}
});
if
(
this
.
customFilterValueScriptArea
)
{
if
(
!
data
.
valueType
||
data
.
valueType
===
"
input
"
)
{
this
.
customFilterValueScriptDiv
.
hide
();
this
.
customFilterValueScriptData
=
""
;
this
.
customFilterValueScriptArea
.
editor
.
setValue
(
""
);
}
else
{
this
.
customFilterValueScriptDiv
.
show
();
this
.
customFilterValueScriptData
=
data
.
valueScript
;
this
.
customFilterValueScriptArea
.
editor
.
setValue
(
data
.
valueScript
?
data
.
valueScript
.
code
:
""
);
}
}
}
if
(
data
.
type
===
"
parameter
"
)
{
this
.
parameterValueType
.
each
(
function
(
radio
)
{
if
(
data
.
valueType
)
{
if
(
data
.
valueType
===
radio
.
get
(
"
value
"
))
radio
.
set
(
"
checked
"
,
true
);
}
else
{
if
(
"
input
"
===
radio
.
get
(
"
value
"
))
radio
.
set
(
"
checked
"
,
true
);
}
});
if
(
this
.
parameterValueScriptArea
)
{
if
(
!
data
.
valueType
||
data
.
valueType
===
"
input
"
)
{
this
.
parameterValueScriptDiv
.
hide
();
this
.
parameterValueScriptData
=
""
;
this
.
parameterValueScriptArea
.
editor
.
setValue
(
""
);
}
else
{
this
.
parameterValueScriptDiv
.
show
();
this
.
parameterValueScriptData
=
data
.
valueScript
;
this
.
parameterValueScriptArea
.
editor
.
setValue
(
data
.
valueScript
?
data
.
valueScript
.
code
:
""
);
}
if
(
data
.
type
===
"
parameter
"
)
{
this
.
parameterValueType
.
each
(
function
(
radio
)
{
if
(
data
.
valueType
)
{
if
(
data
.
valueType
===
radio
.
get
(
"
value
"
))
radio
.
set
(
"
checked
"
,
true
);
}
else
{
if
(
"
input
"
===
radio
.
get
(
"
value
"
))
radio
.
set
(
"
checked
"
,
true
);
}
});
if
(
this
.
parameterValueScriptArea
)
{
if
(
!
data
.
valueType
||
data
.
valueType
===
"
input
"
)
{
this
.
parameterValueScriptDiv
.
hide
();
this
.
parameterValueScriptData
=
""
;
this
.
parameterValueScriptArea
.
editor
.
setValue
(
""
);
}
else
{
this
.
parameterValueScriptDiv
.
show
();
this
.
parameterValueScriptData
=
data
.
valueScript
;
this
.
parameterValueScriptArea
.
editor
.
setValue
(
data
.
valueScript
?
data
.
valueScript
.
code
:
""
);
}
}
this
.
switchInputDisplay
();
}
this
.
switchInputDisplay
();
if
(
this
.
datatypeInput
.
onchange
)
{
this
.
datatypeInput
.
onchange
();
...
...
@@ -1032,7 +1026,7 @@ MWF.xApplication.query.StatementDesigner.widget.ViewFilter.ItemParameter = new C
initialize
:
function
(
filter
,
data
)
{
this
.
filter
=
filter
;
this
.
data
=
data
;
this
.
container
=
this
.
filter
.
l
istAreaNode
;
this
.
container
=
this
.
filter
.
parameterL
istAreaNode
;
this
.
css
=
this
.
filter
.
css
;
this
.
app
=
this
.
filter
.
app
;
this
.
load
();
...
...
@@ -1099,7 +1093,7 @@ MWF.xApplication.query.StatementDesigner.widget.ViewFilter.ItemCustom = new Clas
initialize
:
function
(
filter
,
data
)
{
this
.
filter
=
filter
;
this
.
data
=
data
;
this
.
container
=
this
.
filter
.
field
ListAreaNode
;
this
.
container
=
this
.
filter
.
customFilter
ListAreaNode
;
this
.
css
=
this
.
filter
.
css
;
this
.
app
=
this
.
filter
.
app
;
this
.
load
();
...
...
@@ -1110,8 +1104,8 @@ MWF.xApplication.query.StatementDesigner.widget.ViewFilter.ItemCustom = new Clas
this
.
filter
.
verificationNode
=
null
;
this
.
filter
.
pathInput
.
setStyle
(
"
background-color
"
,
"
#FFF
"
);
}
this
.
filter
.
customFilterInput
.
set
(
"
checked
"
,
true
);
this
.
filter
.
customFilterInput
.
click
();
this
.
filter
.
customFilterInput
.
set
(
"
checked
"
,
true
);
this
.
filter
.
customFilterInput
.
click
();
if
(
this
.
filter
.
currentItem
)
this
.
filter
.
currentItem
.
unSelected
();
this
.
node
.
setStyles
(
this
.
css
.
itemNode_current
);
this
.
filter
.
currentItem
=
this
;
...
...
@@ -1128,7 +1122,7 @@ MWF.xApplication.query.StatementDesigner.widget.ViewFilter.ItemFilter = new Clas
initialize
:
function
(
filter
,
data
)
{
this
.
filter
=
filter
;
this
.
data
=
data
;
this
.
container
=
this
.
filter
.
l
istAreaNode
;
this
.
container
=
this
.
filter
.
filterL
istAreaNode
;
this
.
css
=
this
.
filter
.
css
;
this
.
app
=
this
.
filter
.
app
;
this
.
load
();
...
...
@@ -1139,8 +1133,8 @@ MWF.xApplication.query.StatementDesigner.widget.ViewFilter.ItemFilter = new Clas
this
.
filter
.
verificationNode
=
null
;
this
.
filter
.
pathInput
.
setStyle
(
"
background-color
"
,
"
#FFF
"
);
}
// this.filter.custom
FilterInput.set("checked", true);
// this.filter.custom
FilterInput.click();
this
.
filter
.
restrict
FilterInput
.
set
(
"
checked
"
,
true
);
this
.
filter
.
restrict
FilterInput
.
click
();
if
(
this
.
filter
.
currentItem
)
this
.
filter
.
currentItem
.
unSelected
();
this
.
node
.
setStyles
(
this
.
css
.
itemNode_current
);
this
.
filter
.
currentItem
=
this
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录