Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
ghsby
o2oa
提交
b56bedfd
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,发现更多精彩内容 >>
提交
b56bedfd
编写于
11月 06, 2020
作者:
NoSubject
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'feature/process_advanced_attr' into 'wrdp'
流程隐藏高级属性 See merge request o2oa/o2oa!2013
上级
f0bbaf48
08640c98
变更
20
展开全部
隐藏空白更改
内联
并排
Showing
20 changed file
with
315 addition
and
242 deletion
+315
-242
o2web/source/x_component_process_ProcessDesigner/$Process/agent.html
...e/x_component_process_ProcessDesigner/$Process/agent.html
+1
-1
o2web/source/x_component_process_ProcessDesigner/$Process/begin.html
...e/x_component_process_ProcessDesigner/$Process/begin.html
+1
-1
o2web/source/x_component_process_ProcessDesigner/$Process/cancel.html
.../x_component_process_ProcessDesigner/$Process/cancel.html
+1
-1
o2web/source/x_component_process_ProcessDesigner/$Process/choice.html
.../x_component_process_ProcessDesigner/$Process/choice.html
+1
-1
o2web/source/x_component_process_ProcessDesigner/$Process/condition.html
...component_process_ProcessDesigner/$Process/condition.html
+2
-2
o2web/source/x_component_process_ProcessDesigner/$Process/delay.html
...e/x_component_process_ProcessDesigner/$Process/delay.html
+2
-2
o2web/source/x_component_process_ProcessDesigner/$Process/embed.html
...e/x_component_process_ProcessDesigner/$Process/embed.html
+1
-1
o2web/source/x_component_process_ProcessDesigner/$Process/end.html
...rce/x_component_process_ProcessDesigner/$Process/end.html
+1
-1
o2web/source/x_component_process_ProcessDesigner/$Process/invoke.html
.../x_component_process_ProcessDesigner/$Process/invoke.html
+1
-1
o2web/source/x_component_process_ProcessDesigner/$Process/manual.html
.../x_component_process_ProcessDesigner/$Process/manual.html
+197
-191
o2web/source/x_component_process_ProcessDesigner/$Process/merge.html
...e/x_component_process_ProcessDesigner/$Process/merge.html
+1
-1
o2web/source/x_component_process_ProcessDesigner/$Process/message.html
...x_component_process_ProcessDesigner/$Process/message.html
+1
-1
o2web/source/x_component_process_ProcessDesigner/$Process/parallel.html
..._component_process_ProcessDesigner/$Process/parallel.html
+1
-1
o2web/source/x_component_process_ProcessDesigner/$Process/route.html
...e/x_component_process_ProcessDesigner/$Process/route.html
+34
-32
o2web/source/x_component_process_ProcessDesigner/$Process/service.html
...x_component_process_ProcessDesigner/$Process/service.html
+1
-1
o2web/source/x_component_process_ProcessDesigner/$Process/split.html
...e/x_component_process_ProcessDesigner/$Process/split.html
+1
-1
o2web/source/x_component_process_ProcessDesigner/Process.js
o2web/source/x_component_process_ProcessDesigner/Process.js
+44
-1
o2web/source/x_component_process_ProcessDesigner/Property.js
o2web/source/x_component_process_ProcessDesigner/Property.js
+19
-0
o2web/source/x_component_process_ProcessDesigner/Route.js
o2web/source/x_component_process_ProcessDesigner/Route.js
+3
-1
o2web/source/x_component_process_ProcessDesigner/lp/zh-cn.js
o2web/source/x_component_process_ProcessDesigner/lp/zh-cn.js
+2
-1
未找到文件。
o2web/source/x_component_process_ProcessDesigner/$Process/agent.html
浏览文件 @
b56bedfd
...
...
@@ -122,7 +122,7 @@
</table>
<div
class=
"MWFScriptText"
name=
"reviewScriptText"
></div>
</div>
<div
title=
"事件"
class=
"MWFTab"
>
<div
title=
"事件"
class=
"MWFTab"
data-o2-advanced=
"yes"
>
<div
onclick=
"var node = this.getNext(); if (node.getStyle('display')=='none'){node.setStyle('display', 'block');}else{node.setStyle('display', 'none');}"
style=
"cursor: pointer; line-height: 28px; height: 30px; font-weight: bold; background-color: #EEEEEE;"
>
<div
style=
"height: 30px; width: 30px; float: left; background: url(../x_component_process_ProcessDesigner/$Process/text{($.beforeArriveScript || $.beforeArriveScriptText) ? "
event_code
"
:
"
event
"}.
png
)
no-repeat
center
center
;"
></div>
<div
style=
"margin-left: 20px; padding: 0px 5px;"
>
工作到达前
</div>
...
...
o2web/source/x_component_process_ProcessDesigner/$Process/begin.html
浏览文件 @
b56bedfd
...
...
@@ -118,7 +118,7 @@
</table>
<div
class=
"MWFScriptText"
name=
"reviewScriptText"
></div>
</div>
<div
title=
"事件"
class=
"MWFTab"
>
<div
title=
"事件"
class=
"MWFTab"
data-o2-advanced=
"yes"
>
<div
onclick=
"var node = this.getNext(); if (node.getStyle('display')=='none'){node.setStyle('display', 'block');}else{node.setStyle('display', 'none');}"
style=
"cursor: pointer; line-height: 28px; height: 30px; font-weight: bold; background-color: #EEEEEE;"
>
<div
style=
"height: 30px; width: 30px; float: left; background: url(../x_component_process_ProcessDesigner/$Process/text{($.beforeArriveScript || $.beforeArriveScriptText) ? "
event_code
"
:
"
event
"}.
png
)
no-repeat
center
center
;"
></div>
<div
style=
"margin-left: 20px; padding: 0px 5px;"
>
工作到达前
</div>
...
...
o2web/source/x_component_process_ProcessDesigner/$Process/cancel.html
浏览文件 @
b56bedfd
...
...
@@ -117,7 +117,7 @@
</table>
<div
class=
"MWFScriptText"
name=
"reviewScriptText"
></div>
</div>
<div
title=
"事件"
class=
"MWFTab"
>
<div
title=
"事件"
class=
"MWFTab"
data-o2-advanced=
"yes"
>
<div
onclick=
"var node = this.getNext(); if (node.getStyle('display')=='none'){node.setStyle('display', 'block');}else{node.setStyle('display', 'none');}"
style=
"cursor: pointer; line-height: 28px; height: 30px; font-weight: bold; background-color: #EEEEEE;"
>
<div
style=
"height: 30px; width: 30px; float: left; background: url(../x_component_process_ProcessDesigner/$Process/text{($.beforeArriveScript || $.beforeArriveScriptText) ? "
event_code
"
:
"
event
"}.
png
)
no-repeat
center
center
;"
></div>
<div
style=
"margin-left: 20px; padding: 0px 5px;"
>
工作到达前
</div>
...
...
o2web/source/x_component_process_ProcessDesigner/$Process/choice.html
浏览文件 @
b56bedfd
...
...
@@ -120,7 +120,7 @@
</table>
<div
class=
"MWFScriptText"
name=
"reviewScriptText"
></div>
</div>
<div
title=
"事件"
class=
"MWFTab"
>
<div
title=
"事件"
class=
"MWFTab"
data-o2-advanced=
"yes"
>
<div
onclick=
"var node = this.getNext(); if (node.getStyle('display')=='none'){node.setStyle('display', 'block');}else{node.setStyle('display', 'none');}"
style=
"cursor: pointer; line-height: 28px; height: 30px; font-weight: bold; background-color: #EEEEEE;"
>
<div
style=
"height: 30px; width: 30px; float: left; background: url(../x_component_process_ProcessDesigner/$Process/text{($.beforeArriveScript || $.beforeArriveScriptText) ? "
event_code
"
:
"
event
"}.
png
)
no-repeat
center
center
;"
></div>
<div
style=
"margin-left: 20px; padding: 0px 5px;"
>
工作到达前
</div>
...
...
o2web/source/x_component_process_ProcessDesigner/$Process/condition.html
浏览文件 @
b56bedfd
...
...
@@ -120,11 +120,11 @@
</table>
<div
class=
"MWFScriptText"
name=
"reviewScriptText"
></div>
</div>
<div
title=
"事件"
class=
"MWFTab"
>
<div
title=
"事件"
class=
"MWFTab"
data-o2-advanced=
"yes"
>
<div
onclick=
"var node = this.getNext(); if (node.getStyle('display')=='none'){node.setStyle('display', 'block');}else{node.setStyle('display', 'none');}"
style=
"cursor: pointer; line-height: 28px; height: 30px; font-weight: bold; background-color: #EEEEEE;"
>
<div
style=
"height: 30px; width: 30px; float: left; background: url(../x_component_process_ProcessDesigner/$Process/text{($.beforeArriveScript || $.beforeArriveScriptText) ? "
event_code
"
:
"
event
"}.
png
)
no-repeat
center
center
;"
></div>
<div
style=
"margin-left: 20px; padding: 0px 5px;"
>
工作到达前
</div>
</
div
>
</>
<div
style=
"display: none; overflow:hidden; border-left: 10px solid #EEEEEE; border-bottom: 10px solid #EEEEEE;"
>
<table
width=
"100%"
border=
"0"
cellpadding=
"5"
cellspacing=
"0"
class=
"editTable"
>
...
...
o2web/source/x_component_process_ProcessDesigner/$Process/delay.html
浏览文件 @
b56bedfd
...
...
@@ -87,11 +87,11 @@
<div
class=
"MWFScriptText"
name=
"delayScriptText"
></div>
</div>
<div
title=
"事件"
class=
"MWFTab"
>
<div
title=
"事件"
class=
"MWFTab"
data-o2-advanced=
"yes"
>
<div
onclick=
"var node = this.getNext(); if (node.getStyle('display')=='none'){node.setStyle('display', 'block');}else{node.setStyle('display', 'none');}"
style=
"cursor: pointer; line-height: 28px; height: 30px; font-weight: bold; background-color: #EEEEEE;"
>
<div
style=
"height: 30px; width: 30px; float: left; background: url(../x_component_process_ProcessDesigner/$Process/text{($.beforeArriveScript || $.beforeArriveScriptText) ? "
event_code
"
:
"
event
"}.
png
)
no-repeat
center
center
;"
></div>
<div
style=
"margin-left: 20px; padding: 0px 5px;"
>
工作到达前
</div>
</
div
>
</>
<div
style=
"display: none; overflow:hidden; border-left: 10px solid #EEEEEE; border-bottom: 10px solid #EEEEEE;"
>
<table
width=
"100%"
border=
"0"
cellpadding=
"5"
cellspacing=
"0"
class=
"editTable"
>
...
...
o2web/source/x_component_process_ProcessDesigner/$Process/embed.html
浏览文件 @
b56bedfd
...
...
@@ -202,7 +202,7 @@
</table>
<div
class=
"MWFScriptText"
name=
"reviewScriptText"
></div>
</div>
<div
title=
"事件"
class=
"MWFTab"
>
<div
title=
"事件"
class=
"MWFTab"
data-o2-advanced=
"yes"
>
<div
onclick=
"var node = this.getNext(); if (node.getStyle('display')=='none'){node.setStyle('display', 'block');}else{node.setStyle('display', 'none');}"
style=
"cursor: pointer; line-height: 28px; height: 30px; font-weight: bold; background-color: #EEEEEE;"
>
<div
style=
"height: 30px; width: 30px; float: left; background: url(../x_component_process_ProcessDesigner/$Process/text{($.beforeArriveScript || $.beforeArriveScriptText) ? "
event_code
"
:
"
event
"}.
png
)
no-repeat
center
center
;"
></div>
<div
style=
"margin-left: 20px; padding: 0px 5px;"
>
工作到达前
</div>
...
...
o2web/source/x_component_process_ProcessDesigner/$Process/end.html
浏览文件 @
b56bedfd
...
...
@@ -123,7 +123,7 @@
</table>
<div
class=
"MWFScriptText"
name=
"reviewScriptText"
></div>
</div>
<div
title=
"事件"
class=
"MWFTab"
>
<div
title=
"事件"
class=
"MWFTab"
data-o2-advanced=
"yes"
>
<div
onclick=
"var node = this.getNext(); if (node.getStyle('display')=='none'){node.setStyle('display', 'block');}else{node.setStyle('display', 'none');}"
style=
"cursor: pointer; line-height: 28px; height: 30px; font-weight: bold; background-color: #EEEEEE;"
>
<div
style=
"height: 30px; width: 30px; float: left; background: url(../x_component_process_ProcessDesigner/$Process/text{($.beforeArriveScript || $.beforeArriveScriptText) ? "
event_code
"
:
"
event
"}.
png
)
no-repeat
center
center
;"
></div>
<div
style=
"margin-left: 20px; padding: 0px 5px;"
>
工作到达前
</div>
...
...
o2web/source/x_component_process_ProcessDesigner/$Process/invoke.html
浏览文件 @
b56bedfd
...
...
@@ -257,7 +257,7 @@
<div
class=
"MWFScriptText"
name=
"reviewScriptText"
></div>
</div>
<div
title=
"事件"
class=
"MWFTab"
>
<div
title=
"事件"
class=
"MWFTab"
data-o2-advanced=
"yes"
>
<div
onclick=
"var node = this.getNext(); if (node.getStyle('display')=='none'){node.setStyle('display', 'block');}else{node.setStyle('display', 'none');}"
style=
"cursor: pointer; line-height: 28px; height: 30px; font-weight: bold; background-color: #EEEEEE;"
>
<div
style=
"height: 30px; width: 30px; float: left; background: url(../x_component_process_ProcessDesigner/$Process/text{($.beforeArriveScript || $.beforeArriveScriptText) ? "
event_code
"
:
"
event
"}.
png
)
no-repeat
center
center
;"
></div>
<div
style=
"margin-left: 20px; padding: 0px 5px;"
>
工作到达前
</div>
...
...
o2web/source/x_component_process_ProcessDesigner/$Process/manual.html
浏览文件 @
b56bedfd
此差异已折叠。
点击以展开。
o2web/source/x_component_process_ProcessDesigner/$Process/merge.html
浏览文件 @
b56bedfd
...
...
@@ -124,7 +124,7 @@
</table>
<div
class=
"MWFScriptText"
name=
"reviewScriptText"
></div>
</div>
<div
title=
"事件"
class=
"MWFTab"
>
<div
title=
"事件"
class=
"MWFTab"
data-o2-advanced=
"yes"
>
<div
onclick=
"var node = this.getNext(); if (node.getStyle('display')=='none'){node.setStyle('display', 'block');}else{node.setStyle('display', 'none');}"
style=
"cursor: pointer; line-height: 28px; height: 30px; font-weight: bold; background-color: #EEEEEE;"
>
<div
style=
"height: 30px; width: 30px; float: left; background: url(../x_component_process_ProcessDesigner/$Process/text{($.beforeArriveScript || $.beforeArriveScriptText) ? "
event_code
"
:
"
event
"}.
png
)
no-repeat
center
center
;"
></div>
<div
style=
"margin-left: 20px; padding: 0px 5px;"
>
工作到达前
</div>
...
...
o2web/source/x_component_process_ProcessDesigner/$Process/message.html
浏览文件 @
b56bedfd
...
...
@@ -45,7 +45,7 @@
<div
title=
"消息"
class=
"MWFTab"
>
<div
class=
"editTableHeadTitle"
>
消息
</div>
</div>
<div
title=
"事件"
class=
"MWFTab"
>
<div
title=
"事件"
class=
"MWFTab"
data-o2-advanced=
"yes"
>
<div
onclick=
"var node = this.getNext(); if (node.getStyle('display')=='none'){node.setStyle('display', 'block');}else{node.setStyle('display', 'none');}"
style=
"cursor: pointer; line-height: 28px; height: 30px; font-weight: bold; background-color: #EEEEEE;"
>
<div
style=
"height: 30px; width: 30px; float: left; background: url(../x_component_process_ProcessDesigner/$Process/text{($.beforeArriveScript || $.beforeArriveScriptText) ? "
event_code
"
:
"
event
"}.
png
)
no-repeat
center
center
;"
></div>
<div
style=
"margin-left: 20px; padding: 0px 5px;"
>
工作到达前
</div>
...
...
o2web/source/x_component_process_ProcessDesigner/$Process/parallel.html
浏览文件 @
b56bedfd
...
...
@@ -117,7 +117,7 @@
</table>
<div
class=
"MWFScriptText"
name=
"reviewScriptText"
></div>
</div>
<div
title=
"事件"
class=
"MWFTab"
>
<div
title=
"事件"
class=
"MWFTab"
data-o2-advanced=
"yes"
>
<div
onclick=
"var node = this.getNext(); if (node.getStyle('display')=='none'){node.setStyle('display', 'block');}else{node.setStyle('display', 'none');}"
style=
"cursor: pointer; line-height: 28px; height: 30px; font-weight: bold; background-color: #EEEEEE;"
>
<div
style=
"height: 30px; width: 30px; float: left; background: url(../x_component_process_ProcessDesigner/$Process/text{($.beforeArriveScript || $.beforeArriveScriptText) ? "
event_code
"
:
"
event
"}.
png
)
no-repeat
center
center
;"
></div>
<div
style=
"margin-left: 20px; padding: 0px 5px;"
>
工作到达前
</div>
...
...
o2web/source/x_component_process_ProcessDesigner/$Process/route.html
浏览文件 @
b56bedfd
...
...
@@ -41,53 +41,55 @@
</td>
</tr>
</table>
<table
width=
"100%"
border=
"0"
cellpadding=
"5"
cellspacing=
"0"
class=
"editTable"
>
<tr>
<td
class=
"editTableTitle"
>
路由类型:
</td>
<td
class=
"editTableValue"
id=
"text{$.id}opinionRequired"
>
<input
class=
"editTableRadio"
onclick=
"if (this.checked){ $('text{$.id}appendTaskArea').setStyle('display', 'none');}"
name=
"type"
text
{($.
type
!='
appendTask
'
&&
$.
type
!='
back
')?'
checked
'
:
''}
type=
"radio"
value=
"normal"
/>
默认路由
<br><input
class=
"editTableRadio"
onclick=
"if (this.checked){ $('text{$.id}appendTaskArea').setStyle('display', 'none');}"
name=
"type"
text
{($
.type=
='back')?'checked':''}
type=
"radio"
value=
"back"
/>
回退路由
<br><input
class=
"editTableRadio"
onclick=
"if (this.checked){ $('text{$.id}appendTaskArea').setStyle('display', 'block');}"
name=
"type"
text
{($
.type=
='appendTask')?'checked':''}
type=
"radio"
value=
"appendTask"
/>
转交(仅指向同活动时生效)
<div
style=
"color:#999999"
>
转交活动不触发活动事件
</div>
</td>
</tr>
</table>
<div
id=
"text{$.id}appendTaskArea"
style=
"display: text{($.type=='appendTask') ? 'block': 'none'}"
>
<div
data-o2-advanced=
"yes"
>
<table
width=
"100%"
border=
"0"
cellpadding=
"5"
cellspacing=
"0"
class=
"editTable"
>
<tr>
<td
class=
"editTableTitle"
>
转交人员
:
</td>
<td
class=
"editTableTitle"
>
路由类型
:
</td>
<td
class=
"editTableValue"
id=
"text{$.id}opinionRequired"
>
<input
class=
"editTableRadio"
onclick=
"if (this.checked){ $('text{$.id}appendTaskScriptArea').setStyle('display', 'none');}"
name=
"appendTaskIdentityType"
text
{($.
appendTaskIdentityType
!='
script
')?'
checked
'
:
''}
type=
"radio"
value=
"select"
/>
根据路由选择
<input
class=
"editTableRadio"
onclick=
"if (this.checked){ $('text{$.id}appendTaskScriptArea').setStyle('display', 'block');}"
name=
"appendTaskIdentityType"
text
{($
.appendTaskIdentityType =
='script')?'checked':''}
type=
"radio"
value=
"script"
/>
根据脚本
<input
class=
"editTableRadio"
onclick=
"if (this.checked){ $('text{$.id}appendTaskArea').setStyle('display', 'none');}"
name=
"type"
text
{($.
type
!='
appendTask
'
&&
$.
type
!='
back
')?'
checked
'
:
''}
type=
"radio"
value=
"normal"
/>
默认路由
<br><input
class=
"editTableRadio"
onclick=
"if (this.checked){ $('text{$.id}appendTaskArea').setStyle('display', 'none');}"
name=
"type"
text
{($
.type=
='back')?'checked':''}
type=
"radio"
value=
"back"
/>
回退路由
<br><input
class=
"editTableRadio"
onclick=
"if (this.checked){ $('text{$.id}appendTaskArea').setStyle('display', 'block');}"
name=
"type"
text
{($
.type=
='appendTask')?'checked':''}
type=
"radio"
value=
"appendTask"
/>
转交(仅指向同活动时生效)
<div
style=
"color:#999999"
>
转交活动不触发活动事件
</div>
</td>
</tr>
</table>
<div
id=
"text{$.id}appendTaskScriptArea"
style=
"display: text{($.appendTaskIdentityType=='script') ? 'block': 'none'}"
>
<div
id=
"text{$.id}appendTaskArea"
style=
"display: text{($.type=='appendTask') ? 'block': 'none'}"
>
<table
width=
"100%"
border=
"0"
cellpadding=
"5"
cellspacing=
"0"
class=
"editTable"
>
<tr>
<td
class=
"editTableTitle"
>
转交人脚本:
</td>
<td
class=
"editTableValue"
>
<div
class=
"MWFScript"
name=
"appendTaskIdentityScript"
></div>
<td
class=
"editTableTitle"
>
转交人员:
</td>
<td
class=
"editTableValue"
id=
"text{$.id}opinionRequired"
>
<input
class=
"editTableRadio"
onclick=
"if (this.checked){ $('text{$.id}appendTaskScriptArea').setStyle('display', 'none');}"
name=
"appendTaskIdentityType"
text
{($.
appendTaskIdentityType
!='
script
')?'
checked
'
:
''}
type=
"radio"
value=
"select"
/>
根据路由选择
<input
class=
"editTableRadio"
onclick=
"if (this.checked){ $('text{$.id}appendTaskScriptArea').setStyle('display', 'block');}"
name=
"appendTaskIdentityType"
text
{($
.appendTaskIdentityType =
='script')?'checked':''}
type=
"radio"
value=
"script"
/>
根据脚本
</td>
</tr>
</table>
<div
class=
"MWFScriptText"
name=
"appendTaskIdentityScriptText"
></div><hr
/>
<div
id=
"text{$.id}appendTaskScriptArea"
style=
"display: text{($.appendTaskIdentityType=='script') ? 'block': 'none'}"
>
<table
width=
"100%"
border=
"0"
cellpadding=
"5"
cellspacing=
"0"
class=
"editTable"
>
<tr>
<td
class=
"editTableTitle"
>
转交人脚本:
</td>
<td
class=
"editTableValue"
>
<div
class=
"MWFScript"
name=
"appendTaskIdentityScript"
></div>
</td>
</tr>
</table>
<div
class=
"MWFScriptText"
name=
"appendTaskIdentityScriptText"
></div><hr
/>
</div>
</div>
</div>
<table
width=
"100%"
border=
"0"
cellpadding=
"5"
cellspacing=
"0"
class=
"editTable"
>
<tr>
<td
class=
"editTableTitle"
>
异步返回:
</td>
<td
class=
"editTableValue"
>
<input
class=
"editTableRadio"
name=
"asyncSupported"
text
{($
.asyncSupported=
==true)?'checked':''}
type=
"radio"
value=
"true"
/>
是
<input
class=
"editTableRadio"
name=
"asyncSupported"
text
{($.
asyncSupported
!==
true
)?'
checked
'
:
''}
type=
"radio"
value=
"false"
/>
否
</td>
</tr>
</table>
<table
width=
"100%"
border=
"0"
cellpadding=
"5"
cellspacing=
"0"
class=
"editTable"
>
<tr>
<td
class=
"editTableTitle"
>
异步返回:
</td>
<td
class=
"editTableValue"
>
<input
class=
"editTableRadio"
name=
"asyncSupported"
text
{($
.asyncSupported=
==true)?'checked':''}
type=
"radio"
value=
"true"
/>
是
<input
class=
"editTableRadio"
name=
"asyncSupported"
text
{($.
asyncSupported
!==
true
)?'
checked
'
:
''}
type=
"radio"
value=
"false"
/>
否
</td>
</tr>
</table>
</div>
</div>
<div
title=
"扩展"
class=
"MWFTab"
>
<div
title=
"扩展"
class=
"MWFTab"
data-o2-advanced=
"yes"
>
<table
width=
"100%"
border=
"0"
cellpadding=
"5"
cellspacing=
"0"
class=
"editTable"
>
<tr>
<td
class=
"editTableTitle"
>
决策组:
</td>
...
...
o2web/source/x_component_process_ProcessDesigner/$Process/service.html
浏览文件 @
b56bedfd
...
...
@@ -49,7 +49,7 @@
<div
class=
"MWFScriptText"
name=
"scriptText"
></div><hr/>
<div
style=
"line-height: 24px; padding: 2px 5px;"
>
通过 this.request.getBody() 获取请求数据
<br/>
返回 true,驱动流程继续流转
<br/>
返回 false,表示不符合流转条件,等待下一次调用
</div>
</div>
<div
title=
"事件"
class=
"MWFTab"
>
<div
title=
"事件"
class=
"MWFTab"
data-o2-advanced=
"yes"
>
<div
onclick=
"var node = this.getNext(); if (node.getStyle('display')=='none'){node.setStyle('display', 'block');}else{node.setStyle('display', 'none');}"
style=
"cursor: pointer; line-height: 28px; height: 30px; font-weight: bold; background-color: #EEEEEE;"
>
<div
style=
"height: 30px; width: 30px; float: left; background: url(../x_component_process_ProcessDesigner/$Process/text{($.beforeArriveScript || $.beforeArriveScriptText) ? "
event_code
"
:
"
event
"}.
png
)
no-repeat
center
center
;"
></div>
<div
style=
"margin-left: 20px; padding: 0px 5px;"
>
工作到达前
</div>
...
...
o2web/source/x_component_process_ProcessDesigner/$Process/split.html
浏览文件 @
b56bedfd
...
...
@@ -122,7 +122,7 @@
</table>
<div
class=
"MWFScriptText"
name=
"reviewScriptText"
></div>
</div>
<div
title=
"事件"
class=
"MWFTab"
>
<div
title=
"事件"
class=
"MWFTab"
data-o2-advanced=
"yes"
>
<div
onclick=
"var node = this.getNext(); if (node.getStyle('display')=='none'){node.setStyle('display', 'block');}else{node.setStyle('display', 'none');}"
style=
"cursor: pointer; line-height: 28px; height: 30px; font-weight: bold; background-color: #EEEEEE;"
>
<div
style=
"height: 30px; width: 30px; float: left; background: url(../x_component_process_ProcessDesigner/$Process/text{($.beforeArriveScript || $.beforeArriveScriptText) ? "
event_code
"
:
"
event
"}.
png
)
no-repeat
center
center
;"
></div>
<div
style=
"margin-left: 20px; padding: 0px 5px;"
>
工作到达前
</div>
...
...
o2web/source/x_component_process_ProcessDesigner/Process.js
浏览文件 @
b56bedfd
...
...
@@ -1684,9 +1684,52 @@ MWF.xApplication.process.ProcessDesigner.Process.Panel = new Class({
this
.
propertyListTab
=
new
MWF
.
widget
.
Tab
(
this
.
propertyListContent
,
{
"
style
"
:
"
moduleList
"
});
this
.
propertyListTab
.
load
();
this
.
propertyTabPage
=
this
.
propertyListTab
.
addTab
(
this
.
propertyListNode
,
MWF
.
APPPD
.
LP
.
property
,
false
);
this
.
objectTabPage
=
this
.
propertyListTab
.
addTab
(
this
.
jsonObjectNode
,
"
JSON
"
,
false
);
this
.
stringTabPage
=
this
.
propertyListTab
.
addTab
(
this
.
jsonStringNode
,
"
Text
"
,
false
);
var
div
=
new
Element
(
"
div
"
,
{
"
styles
"
:
{
"
float
"
:
"
right
"
,
"
margin-right
"
:
"
10px
"
},
"
html
"
:
"
<span>
"
+
MWF
.
APPPD
.
LP
.
showAdvanced
+
"
</span>
"
}).
inject
(
this
.
propertyListTab
.
tabNodeContainer
);
div
.
getElement
(
"
span
"
).
addEvents
({
"
mousedown
"
:
function
(
e
){
e
.
stopPropagation
();
},
"
click
"
:
function
(
e
){
this
.
showAdvanced
.
click
();
e
.
stopPropagation
();
}.
bind
(
this
)
});
o2
.
UD
.
getDataJson
(
"
process-show-advanced
"
,
function
(
json
){
this
.
showAdvanced
=
new
Element
(
"
input
"
,
{
"
type
"
:
"
checkbox
"
,
"
checked
"
:
(
!
json
)
?
false
:
json
.
show
,
"
events
"
:
{
"
mousedown
"
:
function
(
e
){
e
.
stopPropagation
();
},
"
change
"
:
function
(){
if
(
this
.
showAdvanced
.
checked
){
var
advs
=
this
.
propertyListNode
.
querySelectorAll
(
"
*[data-o2-advanced=
\"
yes
\"
]
"
);
if
(
advs
&&
advs
.
length
){
for
(
var
i
=
0
;
i
<
advs
.
length
;
i
++
){
advs
[
i
].
show
();
}
}
}
else
{
var
advs
=
this
.
propertyListNode
.
querySelectorAll
(
"
*[data-o2-advanced=
\"
yes
\"
]
"
);
if
(
advs
&&
advs
.
length
){
for
(
var
i
=
0
;
i
<
advs
.
length
;
i
++
){
advs
[
i
].
hide
();
}
}
}
o2
.
UD
.
putData
(
"
process-show-advanced
"
,
{
"
show
"
:
!!
this
.
showAdvanced
.
checked
})
}.
bind
(
this
)
}
}).
inject
(
div
,
"
top
"
);
}.
bind
(
this
));
// this.propertyListTab.tabNodeContainerArea
// showAdvanced
this
.
process
.
setScrollBar
(
this
.
propertyTabPage
.
contentNodeArea
,
"
small
"
,
null
,
null
);
this
.
process
.
setScrollBar
(
this
.
objectTabPage
.
contentNodeArea
,
"
small
"
,
null
,
null
);
...
...
o2web/source/x_component_process_ProcessDesigner/Property.js
浏览文件 @
b56bedfd
...
...
@@ -26,14 +26,28 @@ MWF.xApplication.process.ProcessDesigner.Property = new Class({
if
(
callback
)
callback
();
}
},
//隐藏高级属性
hideAdvanced
:
function
(){
if
(
this
.
process
.
panel
.
showAdvanced
&&
!
this
.
process
.
panel
.
showAdvanced
.
checked
){
var
advs
=
this
.
propertyContent
.
querySelectorAll
(
"
*[data-o2-advanced=
\"
yes
\"
]
"
);
if
(
advs
&&
advs
.
length
){
for
(
var
i
=
0
;
i
<
advs
.
length
;
i
++
){
advs
[
i
].
hide
();
}
}
}
},
show
:
function
(){
if
(
!
this
.
process
.
options
.
isView
){
if
(
!
this
.
propertyContent
){
this
.
getHtmlString
(
function
(){
debugger
;
this
.
propertyContent
=
new
Element
(
"
div
"
,
{
"
styles
"
:
{
"
overflow
"
:
"
hidden
"
}}).
inject
(
this
.
process
.
propertyListNode
);
this
.
process
.
panel
.
propertyTabPage
.
showTabIm
();
this
.
JsonTemplate
=
new
MWF
.
widget
.
JsonTemplate
(
this
.
data
,
this
.
htmlString
);
this
.
propertyContent
.
set
(
"
html
"
,
this
.
JsonTemplate
.
load
());
this
.
process
.
panel
.
data
=
this
.
data
;
this
.
setEditNodeEvent
();
...
...
@@ -53,6 +67,8 @@ MWF.xApplication.process.ProcessDesigner.Property = new Class({
this
.
loadIconSelect
();
this
.
loadContextRoot
();
this
.
loadProjection
();
this
.
hideAdvanced
();
}.
bind
(
this
));
//this.loadDutySelector();
}
else
{
...
...
@@ -98,6 +114,9 @@ MWF.xApplication.process.ProcessDesigner.Property = new Class({
tabNodes
.
each
(
function
(
node
){
var
tabPage
=
tab
.
addTab
(
node
,
node
.
get
(
"
title
"
),
false
);
tabPages
.
push
(
tabPage
);
if
(
node
.
hasAttribute
(
"
data-o2-advanced
"
)
&&
node
.
dataset
[
"
o2Advanced
"
]
==
"
yes
"
){
tabPage
.
tabNode
.
setAttribute
(
"
data-o2-advanced
"
,
"
yes
"
);
}
}.
bind
(
this
));
tabPages
[
0
].
showTab
();
}.
bind
(
this
));
...
...
o2web/source/x_component_process_ProcessDesigner/Route.js
浏览文件 @
b56bedfd
...
...
@@ -1127,6 +1127,8 @@ MWF.xApplication.process.ProcessDesigner.Route.Property = new Class({
this
.
loadConditionInput
();
this
.
loadFormSelect
();
this
.
loadOrgEditor
();
this
.
hideAdvanced
();
}
else
{
this
.
propertyContent
.
setStyle
(
"
display
"
,
"
block
"
);
}
...
...
@@ -1170,4 +1172,4 @@ MWF.xApplication.process.ProcessDesigner.Route.Property = new Class({
// }.bind(this));
// }
//}
});
\ No newline at end of file
});
o2web/source/x_component_process_ProcessDesigner/lp/zh-cn.js
浏览文件 @
b56bedfd
...
...
@@ -11,6 +11,7 @@ MWF.xApplication.process.ProcessDesigner.LP = {
"
property
"
:
"
属性
"
,
"
showJson
"
:
"
查看JSON
"
,
"
all
"
:
"
全部
"
,
"
showAdvanced
"
:
"
显示高级属性
"
,
"
phone
"
:
"
手机
"
,
"
mail
"
:
"
邮件
"
,
...
...
@@ -179,4 +180,4 @@ MWF.xApplication.process.ProcessDesigner.LP = {
"
deleteEditionInfor
"
:
"
删除选中的流程版本”{v}“,同时也会删除流程版本”{v}“的流转中实例。您确定要删除流程版本”{v}“吗?
"
,
}
};
\ No newline at end of file
};
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录