Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
weixin_42566577
o2oa
提交
e15d4f38
o2oa
项目概览
weixin_42566577
/
o2oa
与 Fork 源项目一致
Fork自
浙江兰德纵横网络技术股份有限公司 / o2oa
通知
1
Star
0
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,发现更多精彩内容 >>
提交
e15d4f38
编写于
12月 09, 2022
作者:
U
unknown
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
搜索过滤条件增加收起和展开
上级
74d3ee2c
变更
8
隐藏空白更改
内联
并排
Showing
8 changed file
with
68 addition
and
10 deletion
+68
-10
o2web/source/x_component_ftsearch/$FTSearchView/default/condition.html
...x_component_ftsearch/$FTSearchView/default/condition.html
+9
-1
o2web/source/x_component_ftsearch/$Main/default/style.css
o2web/source/x_component_ftsearch/$Main/default/style.css
+13
-0
o2web/source/x_component_ftsearch/FTSearchView.js
o2web/source/x_component_ftsearch/FTSearchView.js
+34
-3
o2web/source/x_component_ftsearch/lp/en.js
o2web/source/x_component_ftsearch/lp/en.js
+4
-1
o2web/source/x_component_ftsearch/lp/zh-cn.js
o2web/source/x_component_ftsearch/lp/zh-cn.js
+4
-1
o2web/source/x_component_process_FormDesigner/lp/zh-cn.js
o2web/source/x_component_process_FormDesigner/lp/zh-cn.js
+1
-1
o2web/source/x_component_process_Xform/Relatedlink.js
o2web/source/x_component_process_Xform/Relatedlink.js
+2
-2
o2web/source/x_component_process_Xform/lp/zh-cn.js
o2web/source/x_component_process_Xform/lp/zh-cn.js
+1
-1
未找到文件。
o2web/source/x_component_ftsearch/$FTSearchView/default/condition.html
浏览文件 @
e15d4f38
...
...
@@ -6,7 +6,7 @@
{{if $.valueCountPairList
&&
$.valueCountPairList.length}}
<div
class=
"item-multiselect mainColor_border mainColor_bg_opacity"
></div>
<div
class=
"item"
>
<div
class=
"item"
style=
"display: {{($._.status.collapseCondition && $.index) ? 'none': ''}};"
>
<div
class=
"item-title"
>
{{$.label}}
</div>
<div
class=
"item-content"
>
...
...
@@ -41,5 +41,13 @@
{{end each}}
</div>
{{if $.status.showSwitch}}
<div
class=
"switch"
data-o2-element=
"switchNode"
data-o2-events=
"click:switchCondition;mouseover:mainColorOver:switch;mouseout:mainColorOut:switch"
>
<i
style=
"margin-right: 3px;"
class=
"{{$.status.collapseCondition ? 'o2icon-chevron-thin-down' : 'o2icon-chevron-thin-up'}}"
></i>
<span>
{{$.status.collapseCondition ? $.lp.expandCondition : $.lp.collapseCondition}}
</span>
</div>
{{end if}}
</div>
{{end if}}
\ No newline at end of file
o2web/source/x_component_ftsearch/$Main/default/style.css
浏览文件 @
e15d4f38
...
...
@@ -377,6 +377,19 @@ ul {
border-radius
:
0px
0px
30px
30px
;
border
:
1px
solid
#CCCCCC
;
padding-bottom
:
10px
;
position
:
relative
;
}
.condition
.switch
{
cursor
:
pointer
;
padding-left
:
5px
;
position
:
absolute
;
width
:
60px
;
height
:
30px
;
left
:
calc
(
50%
-
30px
);
bottom
:
-20px
;
background
:
#fff
;
text-align
:
center
;
color
:
#999
;
}
.condition
.switch-button
{
background
:
#ffffff
;
...
...
o2web/source/x_component_ftsearch/FTSearchView.js
浏览文件 @
e15d4f38
...
...
@@ -72,10 +72,18 @@ MWF.xApplication.ftsearch.FTSearchView = new Class({
this
.
search
();
}
},
search
:
function
(
pageNum
,
query
){
search
:
function
(
pageNum
,
query
){
this
.
selectedConditionList
=
[];
this
.
loadSelectedCondition
();
this
.
_search
(
pageNum
,
query
);
if
(
typeOf
(
this
.
collapseCondition
)
===
"
boolean
"
){
this
.
_search
(
pageNum
,
query
);
}
else
{
MWF
.
UD
.
getDataJson
(
"
ftsearchCollapseCondition
"
,
function
(
json
)
{
this
.
collapseCondition
=
json
===
"
true
"
;
this
.
_search
(
pageNum
,
query
);
}.
bind
(
this
),
true
);
}
},
_search
:
function
(
pageNum
,
query
){
pageNum
=
o2
.
typeOf
(
pageNum
)
===
"
number
"
?
pageNum
:
null
;
...
...
@@ -235,9 +243,15 @@ MWF.xApplication.ftsearch.FTSearchView = new Class({
json
=
json
.
filter
(
function
(
d
){
return
d
.
valueCountPairList
&&
d
.
valueCountPairList
.
length
;
});
json
.
each
(
function
(
d
,
i
){
d
.
index
=
i
;
});
this
.
conditionArea
.
loadHtml
(
this
.
path
+
this
.
options
.
style
+
"
/condition.html
"
,
{
"
bind
"
:
{
"
lp
"
:
this
.
app
.
lp
,
"
data
"
:
json
},
"
bind
"
:
{
"
lp
"
:
this
.
app
.
lp
,
"
data
"
:
json
,
status
:
{
collapseCondition
:
this
.
collapseCondition
,
showSwitch
:
json
.
length
>
1
}},
"
module
"
:
this
,
"
reload
"
:
true
},
...
...
@@ -247,6 +261,23 @@ MWF.xApplication.ftsearch.FTSearchView = new Class({
);
// }.bind(this));
},
switchCondition
:
function
(){
this
.
collapseCondition
=
!
this
.
collapseCondition
;
if
(
this
.
collapseCondition
){
this
.
switchNode
.
getElement
(
"
i
"
).
addClass
(
'
o2icon-chevron-thin-down
'
).
removeClass
(
'
o2icon-chevron-thin-up
'
);
this
.
switchNode
.
getElement
(
"
span
"
).
set
(
"
text
"
,
this
.
app
.
lp
.
expandCondition
);
this
.
conditionNode
.
getElements
(
"
.item
"
).
each
(
function
(
item
,
index
)
{
item
.
setStyle
(
"
display
"
,
index
?
"
none
"
:
""
)
})
}
else
{
this
.
switchNode
.
getElement
(
"
i
"
).
removeClass
(
'
o2icon-chevron-thin-down
'
).
addClass
(
'
o2icon-chevron-thin-up
'
);
this
.
switchNode
.
getElement
(
"
span
"
).
set
(
"
text
"
,
this
.
app
.
lp
.
collapseCondition
);
this
.
conditionNode
.
getElements
(
"
.item
"
).
each
(
function
(
item
,
index
)
{
item
.
setStyle
(
"
display
"
,
""
);
})
}
MWF
.
UD
.
putData
(
"
ftsearchCollapseCondition
"
,
this
.
collapseCondition
.
toString
(),
null
,);
},
loadSelectedCondition
:
function
(){
this
.
conditionSelectedArea
.
empty
();
this
.
conditionSelectedArea
.
loadHtml
(
this
.
path
+
this
.
options
.
style
+
"
/conditionSelected.html
"
,
...
...
o2web/source/x_component_ftsearch/lp/en.js
浏览文件 @
e15d4f38
...
...
@@ -97,5 +97,8 @@ MWF.xApplication.ftsearch.LP = {
"
selectModule
"
:
"
Select Application
"
,
"
searching
"
:
"
You are searching
"
,
"
switch
"
:
"
Switch
"
,
"
searchCorePlacholder
"
:
"
Please enter a keyword and press
\"
Enter
\"
to search for an application or process
"
"
searchCorePlacholder
"
:
"
Please enter a keyword and press
\"
Enter
\"
to search for an application or process
"
,
"
expandCondition
"
:
"
Expand
"
,
"
collapseCondition
"
:
"
Collapse
"
};
\ No newline at end of file
o2web/source/x_component_ftsearch/lp/zh-cn.js
浏览文件 @
e15d4f38
...
...
@@ -95,5 +95,8 @@ MWF.xApplication.ftsearch.LP = {
"
selectModule
"
:
"
选择应用
"
,
"
searching
"
:
"
您正在查询
"
,
"
switch
"
:
"
切换
"
,
"
searchCorePlacholder
"
:
"
请输入关键字,按“回车”搜索应用或流程
"
"
searchCorePlacholder
"
:
"
请输入关键字,按“回车”搜索应用或流程
"
,
"
expandCondition
"
:
"
更多
"
,
"
collapseCondition
"
:
"
收起
"
};
o2web/source/x_component_process_FormDesigner/lp/zh-cn.js
浏览文件 @
e15d4f38
...
...
@@ -362,7 +362,7 @@ MWF.xApplication.process.FormDesigner.LP = {
"
readLog
"
:
"
阅读记录
"
,
"
writingBoard
"
:
"
手写板
"
,
"
tinymceEditor
"
:
"
Tinymce编辑器
"
,
"
relatedLink
"
:
"
相关
链接
"
"
relatedLink
"
:
"
相关
推荐
"
},
"
propertyTemplate
"
:
{
"
base
"
:
"
基本
"
,
...
...
o2web/source/x_component_process_Xform/Relatedlink.js
浏览文件 @
e15d4f38
MWF
.
xDesktop
.
requireApp
(
"
process.Xform
"
,
"
$Module
"
,
null
,
false
);
/** @class Relatedlink 相关
链接
组件,本组件根据其当前流程实例的相关性分数列式其他流程实例(带权限)。
* @o2cn 相关
链接
组件
/** @class Relatedlink 相关
推荐
组件,本组件根据其当前流程实例的相关性分数列式其他流程实例(带权限)。
* @o2cn 相关
推荐
组件
* @example
* //可以在脚本中获取该组件
* //方法1:
...
...
o2web/source/x_component_process_Xform/lp/zh-cn.js
浏览文件 @
e15d4f38
...
...
@@ -410,7 +410,7 @@ MWF.xApplication.process.Xform.LP = {
"
createTime
"
:
"
创建时间
"
,
"
creatorPerson
"
:
"
创建人
"
,
"
creatorUnit
"
:
"
创建组织
"
,
"
score
"
:
"
匹配
度
"
,
"
score
"
:
"
关联
度
"
,
"
updateTime
"
:
"
更新时间
"
};
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录