Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
ghsby
o2oa
提交
eb5f5c14
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,发现更多精彩内容 >>
提交
eb5f5c14
编写于
12月 06, 2021
作者:
NoSubject
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
增加流程活动的自定义属性,并可通过脚本this.workContext.getActivity().customData获取
上级
3287dc19
变更
20
显示空白变更内容
内联
并排
Showing
20 changed file
with
354 addition
and
288 deletion
+354
-288
o2web/source/o2_core/o2/widget/$Maplist/default/css.wcss
o2web/source/o2_core/o2/widget/$Maplist/default/css.wcss
+5
-3
o2web/source/x_component_process_ProcessDesigner/$Process/agent.html
...e/x_component_process_ProcessDesigner/$Process/agent.html
+1
-0
o2web/source/x_component_process_ProcessDesigner/$Process/begin.html
...e/x_component_process_ProcessDesigner/$Process/begin.html
+11
-10
o2web/source/x_component_process_ProcessDesigner/$Process/cancel.html
.../x_component_process_ProcessDesigner/$Process/cancel.html
+11
-10
o2web/source/x_component_process_ProcessDesigner/$Process/choice.html
.../x_component_process_ProcessDesigner/$Process/choice.html
+11
-10
o2web/source/x_component_process_ProcessDesigner/$Process/condition.html
...component_process_ProcessDesigner/$Process/condition.html
+1
-0
o2web/source/x_component_process_ProcessDesigner/$Process/delay.html
...e/x_component_process_ProcessDesigner/$Process/delay.html
+11
-10
o2web/source/x_component_process_ProcessDesigner/$Process/embed.html
...e/x_component_process_ProcessDesigner/$Process/embed.html
+11
-10
o2web/source/x_component_process_ProcessDesigner/$Process/end.html
...rce/x_component_process_ProcessDesigner/$Process/end.html
+11
-10
o2web/source/x_component_process_ProcessDesigner/$Process/invoke.html
.../x_component_process_ProcessDesigner/$Process/invoke.html
+11
-10
o2web/source/x_component_process_ProcessDesigner/$Process/manual.html
.../x_component_process_ProcessDesigner/$Process/manual.html
+169
-167
o2web/source/x_component_process_ProcessDesigner/$Process/merge.html
...e/x_component_process_ProcessDesigner/$Process/merge.html
+11
-10
o2web/source/x_component_process_ProcessDesigner/$Process/message.html
...x_component_process_ProcessDesigner/$Process/message.html
+1
-0
o2web/source/x_component_process_ProcessDesigner/$Process/parallel.html
..._component_process_ProcessDesigner/$Process/parallel.html
+11
-10
o2web/source/x_component_process_ProcessDesigner/$Process/service.html
...x_component_process_ProcessDesigner/$Process/service.html
+11
-10
o2web/source/x_component_process_ProcessDesigner/$Process/split.html
...e/x_component_process_ProcessDesigner/$Process/split.html
+11
-10
o2web/source/x_component_process_ProcessDesigner/Property.js
o2web/source/x_component_process_ProcessDesigner/Property.js
+30
-0
o2web/source/x_component_process_ProcessDesigner/lp/zh-cn.js
o2web/source/x_component_process_ProcessDesigner/lp/zh-cn.js
+8
-6
o2web/source/x_component_process_Work/Main.js
o2web/source/x_component_process_Work/Main.js
+8
-1
o2web/source/x_desktop/js/initialScriptText.js
o2web/source/x_desktop/js/initialScriptText.js
+10
-1
未找到文件。
o2web/source/o2_core/o2/widget/$Maplist/default/css.wcss
浏览文件 @
eb5f5c14
...
...
@@ -10,11 +10,13 @@
"line-height": "20px",
"background": "#EEE"
},
"titleTextNode": {
"line-height": "20px",
"font-size": "12px",
"padding-left": "5px",
"cursor": "pointer"
"padding": "0 5px",
"cursor": "pointer",
"font-weight": "bold"
},
"titleActionNode": {
"float": "right",
...
...
o2web/source/x_component_process_ProcessDesigner/$Process/agent.html
浏览文件 @
eb5f5c14
...
...
@@ -42,6 +42,7 @@
</tr>
</table>
</table>
<div
class=
"MWFMaplist"
name=
"customData"
title=
"{{$.lp.customData}}"
data-o2-advanced=
"yes"
></div>
</div>
<div
title=
"{{$.lp.script}}"
class=
"MWFTab"
>
<div
class=
"editTableHeadTitle"
>
{{$.lp.runScript}}
</div>
...
...
o2web/source/x_component_process_ProcessDesigner/$Process/begin.html
浏览文件 @
eb5f5c14
...
...
@@ -31,6 +31,7 @@
<div
class=
"MWFFormSelect"
name=
"form"
></div>
</td>
</tr>
</table>
<table
width=
"100%"
border=
"0"
cellpadding=
"5"
cellspacing=
"0"
class=
"editTable"
>
<tr>
<td
class=
"editTableValue"
colspan=
"2"
><b>
{{$.lp.allowReroute}}:
</b><input
class=
"editTableRadio"
name=
"allowReroute"
text
{($.
allowReroute
)?'
checked
'
:
''}
type=
"radio"
value=
"true"
/>
{{$.lp.yes}}
...
...
@@ -41,7 +42,7 @@
<input
class=
"editTeditTableRadioableInput"
class=
"editTableInput"
name=
"allowRerouteTo"
text
{(!$.
allowRerouteTo
)?'
checked
'
:
''}
type=
"radio"
value=
"false"
/>
{{$.lp.no}}
</td>
</tr>
</table>
<
/table
>
<
div
class=
"MWFMaplist"
name=
"customData"
title=
"{{$.lp.customData}}"
data-o2-advanced=
"yes"
></div
>
</div>
<div
title=
"{{$.lp.person}}"
class=
"MWFTab"
>
<table
width=
"100%"
border=
"0"
cellpadding=
"5"
cellspacing=
"0"
class=
"editTable"
>
...
...
o2web/source/x_component_process_ProcessDesigner/$Process/cancel.html
浏览文件 @
eb5f5c14
...
...
@@ -31,6 +31,7 @@
<div
class=
"MWFFormSelect"
name=
"form"
></div>
</td>
</tr>
</table>
<table
width=
"100%"
border=
"0"
cellpadding=
"5"
cellspacing=
"0"
class=
"editTable"
>
<tr>
<td
class=
"editTableValue"
colspan=
"2"
><b>
{{$.lp.allowReroute}}:
</b><input
class=
"editTableRadio"
name=
"allowReroute"
text
{($.
allowReroute
)?'
checked
'
:
''}
type=
"radio"
value=
"true"
/>
{{$.lp.yes}}
...
...
@@ -41,7 +42,7 @@
<input
class=
"editTeditTableRadioableInput"
class=
"editTableInput"
name=
"allowRerouteTo"
text
{(!$.
allowRerouteTo
)?'
checked
'
:
''}
type=
"radio"
value=
"false"
/>
{{$.lp.no}}
</td>
</tr>
</table>
<
/table
>
<
div
class=
"MWFMaplist"
name=
"customData"
title=
"{{$.lp.customData}}"
data-o2-advanced=
"yes"
></div
>
</div>
<div
title=
"{{$.lp.person}}"
class=
"MWFTab"
>
<table
width=
"100%"
border=
"0"
cellpadding=
"5"
cellspacing=
"0"
class=
"editTable"
>
...
...
o2web/source/x_component_process_ProcessDesigner/$Process/choice.html
浏览文件 @
eb5f5c14
...
...
@@ -31,6 +31,7 @@
<div
class=
"MWFFormSelect"
name=
"form"
></div>
</td>
</tr>
</table>
<table
width=
"100%"
border=
"0"
cellpadding=
"5"
cellspacing=
"0"
class=
"editTable"
>
<tr>
<td
class=
"editTableValue"
colspan=
"2"
><b>
{{$.lp.allowReroute}}:
</b><input
class=
"editTableRadio"
name=
"allowReroute"
text
{($.
allowReroute
)?'
checked
'
:
''}
type=
"radio"
value=
"true"
/>
{{$.lp.yes}}
...
...
@@ -41,7 +42,7 @@
<input
class=
"editTeditTableRadioableInput"
class=
"editTableInput"
name=
"allowRerouteTo"
text
{(!$.
allowRerouteTo
)?'
checked
'
:
''}
type=
"radio"
value=
"false"
/>
{{$.lp.no}}
</td>
</tr>
</table>
<
/table
>
<
div
class=
"MWFMaplist"
name=
"customData"
title=
"{{$.lp.customData}}"
data-o2-advanced=
"yes"
></div
>
</div>
<div
title=
"{{$.lp.person}}"
class=
"MWFTab"
>
<table
width=
"100%"
border=
"0"
cellpadding=
"5"
cellspacing=
"0"
class=
"editTable"
>
...
...
o2web/source/x_component_process_ProcessDesigner/$Process/condition.html
浏览文件 @
eb5f5c14
...
...
@@ -41,6 +41,7 @@
<input
class=
"editTeditTableRadioableInput"
class=
"editTableInput"
name=
"allowRerouteTo"
text
{(!$.
allowRerouteTo
)?'
checked
'
:
''}
type=
"radio"
value=
"false"
/>
否
</td>
</tr>
</table>
<div
class=
"MWFMaplist"
name=
"customData"
title=
"{{$.lp.customData}}"
data-o2-advanced=
"yes"
></div>
</div>
<!--<div title="路由" class="MWFTab">
<div class="MWFCondition" name="script"></div>
...
...
o2web/source/x_component_process_ProcessDesigner/$Process/delay.html
浏览文件 @
eb5f5c14
...
...
@@ -31,6 +31,7 @@
<div
class=
"MWFFormSelect"
name=
"form"
></div>
</td>
</tr>
</table>
<table
width=
"100%"
border=
"0"
cellpadding=
"5"
cellspacing=
"0"
class=
"editTable"
>
<tr>
<td
class=
"editTableValue"
colspan=
"2"
><b>
{{$.lp.allowReroute}}:
</b><input
class=
"editTableRadio"
name=
"allowReroute"
text
{($.
allowReroute
)?'
checked
'
:
''}
type=
"radio"
value=
"true"
/>
{{$.lp.yes}}
...
...
@@ -41,7 +42,7 @@
<input
class=
"editTeditTableRadioableInput"
class=
"editTableInput"
name=
"allowRerouteTo"
text
{(!$.
allowRerouteTo
)?'
checked
'
:
''}
type=
"radio"
value=
"false"
/>
{{$.lp.no}}
</td>
</tr>
</table>
<
/table
>
<
div
class=
"MWFMaplist"
name=
"customData"
title=
"{{$.lp.customData}}"
data-o2-advanced=
"yes"
></div
>
</div>
<div
title=
"{{$.lp.timer}}"
class=
"MWFTab"
>
<div
class=
"editTableHeadTitle"
>
{{$.lp.timerType}}
</div>
...
...
o2web/source/x_component_process_ProcessDesigner/$Process/embed.html
浏览文件 @
eb5f5c14
...
...
@@ -31,6 +31,7 @@
<div
class=
"MWFFormSelect"
name=
"form"
></div>
</td>
</tr>
</table>
<table
width=
"100%"
border=
"0"
cellpadding=
"5"
cellspacing=
"0"
class=
"editTable"
>
<tr>
<td
class=
"editTableValue"
colspan=
"2"
><b>
{{$.lp.allowReroute}}:
</b><input
class=
"editTableRadio"
name=
"allowReroute"
text
{($.
allowReroute
)?'
checked
'
:
''}
type=
"radio"
value=
"true"
/>
{{$.lp.yes}}
...
...
@@ -41,7 +42,7 @@
<input
class=
"editTeditTableRadioableInput"
class=
"editTableInput"
name=
"allowRerouteTo"
text
{(!$.
allowRerouteTo
)?'
checked
'
:
''}
type=
"radio"
value=
"false"
/>
{{$.lp.no}}
</td>
</tr>
</table>
<
/table
>
<
div
class=
"MWFMaplist"
name=
"customData"
title=
"{{$.lp.customData}}"
data-o2-advanced=
"yes"
></div
>
</div>
<div
title=
"{{$.lp.embed}}"
class=
"MWFTab"
>
<!-- <div class="MWFApplicationSelect" title="选择应用"></div>-->
...
...
o2web/source/x_component_process_ProcessDesigner/$Process/end.html
浏览文件 @
eb5f5c14
...
...
@@ -31,6 +31,7 @@
<div
class=
"MWFFormSelect"
name=
"form"
></div>
</td>
</tr>
</table>
<table
width=
"100%"
border=
"0"
cellpadding=
"5"
cellspacing=
"0"
class=
"editTable"
>
<tr>
<td
class=
"editTableValue"
colspan=
"2"
><b>
{{$.lp.allowReroute}}:
</b><input
class=
"editTableRadio"
name=
"allowReroute"
text
{($.
allowReroute
)?'
checked
'
:
''}
type=
"radio"
value=
"true"
/>
{{$.lp.yes}}
...
...
@@ -41,7 +42,7 @@
<input
class=
"editTeditTableRadioableInput"
class=
"editTableInput"
name=
"allowRerouteTo"
text
{(!$.
allowRerouteTo
)?'
checked
'
:
''}
type=
"radio"
value=
"false"
/>
{{$.lp.no}}
</td>
</tr>
</table>
<
/table
>
<
div
class=
"MWFMaplist"
name=
"customData"
title=
"{{$.lp.customData}}"
data-o2-advanced=
"yes"
></div
>
</div>
<div
title=
"{{$.lp.person}}"
class=
"MWFTab"
>
<table
width=
"100%"
border=
"0"
cellpadding=
"5"
cellspacing=
"0"
class=
"editTable"
>
...
...
o2web/source/x_component_process_ProcessDesigner/$Process/invoke.html
浏览文件 @
eb5f5c14
...
...
@@ -31,6 +31,7 @@
<div
class=
"MWFFormSelect"
name=
"form"
></div>
</td>
</tr>
</table>
<table
width=
"100%"
border=
"0"
cellpadding=
"5"
cellspacing=
"0"
class=
"editTable"
>
<tr>
<td
class=
"editTableValue"
colspan=
"2"
><b>
{{$.lp.allowReroute}}:
</b><input
class=
"editTableRadio"
name=
"allowReroute"
text
{($.
allowReroute
)?'
checked
'
:
''}
type=
"radio"
value=
"true"
/>
{{$.lp.yes}}
...
...
@@ -41,7 +42,7 @@
<input
class=
"editTeditTableRadioableInput"
class=
"editTableInput"
name=
"allowRerouteTo"
text
{(!$.
allowRerouteTo
)?'
checked
'
:
''}
type=
"radio"
value=
"false"
/>
{{$.lp.no}}
</td>
</tr>
</table>
<
/table
>
<
div
class=
"MWFMaplist"
name=
"customData"
title=
"{{$.lp.customData}}"
data-o2-advanced=
"yes"
></div
>
</div>
<div
title=
"{{$.lp.invoke}}"
class=
"MWFTab"
>
<table
width=
"100%"
border=
"0"
cellpadding=
"5"
cellspacing=
"0"
class=
"editTable"
>
...
...
o2web/source/x_component_process_ProcessDesigner/$Process/manual.html
浏览文件 @
eb5f5c14
...
...
@@ -61,6 +61,8 @@
<td
class=
"editTableValue"
><input
type=
"text"
name=
"opinionGroup"
value=
"text{$.opinionGroup}"
class=
"editTableInput"
/></td>
</tr>
</table>
<div
class=
"MWFMaplist"
name=
"customData"
title=
"{{$.lp.customData}}"
></div>
</div>
</div>
...
...
@@ -349,11 +351,11 @@
</table>
</div>
<div
title=
"{{$.lp.event}}"
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;"
>
{{$.lp.beforeWorkArrive}}
</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"
>
...
...
@@ -375,8 +377,8 @@
<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{($.afterArriveScript || $.afterArriveScriptText) ? "
event_code
"
:
"
event
"}.
png
)
no-repeat
center
center
;"
></div>
<div
style=
"margin-left: 20px; padding: 0px 5px;"
>
{{$.lp.afterArriveActivity}}
</div>
</div>
<div
style=
"display: none; overflow:hidden; border-left: 10px solid #EEEEEE; border-bottom: 10px solid #EEEEEE;"
>
</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"
>
<tr>
<td
class=
"editTableTitle"
>
{{$.lp.afterArriveActivity}}:
</td>
...
...
@@ -386,17 +388,17 @@
</tr>
</table>
<div
class=
"MWFScriptText"
name=
"afterArriveScriptText"
></div><hr
/>
</div>
</div>
<div
style=
"line-height: 20px; height: 26px; border-bottom: 1px solid #CCCCCC; border-top: 1px solid #CCCCCC"
>
<div
style=
"line-height: 20px; height: 26px; border-bottom: 1px solid #CCCCCC; border-top: 1px solid #CCCCCC"
>
<div
style=
"height: 26px; background: url(../x_component_process_ProcessDesigner/$Process/down16.png) no-repeat center center;"
></div>
</div>
</div>
<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
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{($.beforeExecuteScript || $.beforeExecuteScriptText) ? "
event_code
"
:
"
event
"}.
png
)
no-repeat
center
center
;"
></div>
<div
style=
"margin-left: 20px; padding: 0px 5px;"
>
{{$.lp.beforeExecute}}
</div>
</div>
<div
style=
"display: none; overflow:hidden; border-left: 10px solid #EEEEEE; border-bottom: 10px solid #EEEEEE;"
>
<div
style=
"margin-left: 20px; padding: 0px 5px;"
>
{{$.lp.beforeExecute}}
</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"
>
<tr>
<td
class=
"editTableTitle"
>
{{$.lp.beforeExecute}}:
</td>
...
...
@@ -406,9 +408,9 @@
</tr>
</table>
<div
class=
"MWFScriptText"
name=
"beforeExecuteScriptText"
></div><hr
/>
</div>
</div>
<div
style=
"border-left: 20px solid #eeeeee;"
>
<div
style=
"border-left: 20px solid #eeeeee;"
>
<div
style=
"line-height: 20px; height: 46px; border-bottom: 1px solid #CCCCCC; border-top: 1px solid #CCCCCC; border-left: 1px solid #CCCCCC; background-color:#f6f6f6;"
>
<div
style=
"height: 46px; width: 30px; float: left; background: url(../x_component_process_ProcessDesigner/$Process/down.png) no-repeat center center;"
></div>
<div
style=
"margin-left: 20px; padding: 3px 10px; text-align: center; color: #666666;"
>
{{$.lp.eventInfo7}}
</div>
...
...
@@ -418,8 +420,8 @@
<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{($.manualStayScript || $.manualStayScriptText) ? "
event_code
"
:
"
event
"}.
png
)
no-repeat
center
center
;"
></div>
<div
style=
"margin-left: 20px; padding: 0px 5px;"
>
{{$.lp.manualStay}}
</div>
</div>
<div
style=
"display: none; overflow:hidden; border-left: 10px solid #EEEEEE; border-bottom: 10px solid #EEEEEE;"
>
</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"
>
<tr>
<td
class=
"editTableTitle"
>
{{$.lp.manualStay}}:
</td>
...
...
@@ -429,17 +431,17 @@
</tr>
</table>
<div
class=
"MWFScriptText"
name=
"manualStayScriptText"
></div><hr
/>
</div>
<div
style=
"line-height: 20px; height: 26px; border-bottom: 1px solid #CCCCCC; border-top: 1px solid #CCCCCC; border-left: 1px solid #CCCCCC; background-color:#f6f6f6;"
>
</div>
<div
style=
"line-height: 20px; height: 26px; border-bottom: 1px solid #CCCCCC; border-top: 1px solid #CCCCCC; border-left: 1px solid #CCCCCC; background-color:#f6f6f6;"
>
<div
style=
"height: 26px; width: 30px; float: left; background: url(../x_component_process_ProcessDesigner/$Process/down16.png) no-repeat center center;"
></div>
<div
style=
"margin-left: 20px; padding: 3px 10px; text-align: center; color: #666666;"
>
{{$.lp.eventInfo8}}
</div>
</div>
</div>
<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
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{($.manualBeforeTaskScript || $.manualBeforeTaskScriptText) ? "
event_code
"
:
"
event
"}.
png
)
no-repeat
center
center
;"
></div>
<div
style=
"margin-left: 20px; padding: 0px 5px;"
>
{{$.lp.manualBeforeTask}}
</div>
</div>
<div
style=
"display: none; overflow:hidden; border-left: 10px solid #EEEEEE; border-bottom: 10px solid #EEEEEE;"
>
<div
style=
"margin-left: 20px; padding: 0px 5px;"
>
{{$.lp.manualBeforeTask}}
</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"
>
<tr>
<td
class=
"editTableTitle"
>
{{$.lp.manualBeforeTask}}:
</td>
...
...
@@ -449,18 +451,18 @@
</tr>
</table>
<div
class=
"MWFScriptText"
name=
"manualBeforeTaskScriptText"
></div><hr
/>
</div>
</div>
<div
style=
"line-height: 20px; height: 26px; border-bottom: 1px solid #CCCCCC; border-top: 1px solid #CCCCCC; border-left: 1px solid #CCCCCC; background-color:#f6f6f6;"
>
<div
style=
"line-height: 20px; height: 26px; border-bottom: 1px solid #CCCCCC; border-top: 1px solid #CCCCCC; border-left: 1px solid #CCCCCC; background-color:#f6f6f6;"
>
<div
style=
"height: 26px; width: 30px; float: left; background: url(../x_component_process_ProcessDesigner/$Process/down16.png) no-repeat center center;"
></div>
<div
style=
"margin-left: 20px; padding: 3px 10px; text-align: center; color: #666666;"
>
{{$.lp.eventInfo9}}
</div>
</div>
</div>
<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
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{($.manualAfterTaskScript || $.manualAfterTaskScriptText) ? "
event_code
"
:
"
event
"}.
png
)
no-repeat
center
center
;"
></div>
<div
style=
"margin-left: 20px; padding: 0px 5px;"
>
{{$.lp.manualAfterTask}}
</div>
</div>
<div
style=
"display: none; overflow:hidden; border-left: 10px solid #EEEEEE; border-bottom: 10px solid #EEEEEE;"
>
<div
style=
"margin-left: 20px; padding: 0px 5px;"
>
{{$.lp.manualAfterTask}}
</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"
>
<tr>
<td
class=
"editTableTitle"
>
{{$.lp.manualAfterTask}}:
</td>
...
...
@@ -470,20 +472,20 @@
</tr>
</table>
<div
class=
"MWFScriptText"
name=
"manualAfterTaskScriptText"
></div><hr
/>
</div>
</div>
<div
style=
"line-height: 20px; height: 26px; border-bottom: 1px solid #CCCCCC; border-top: 1px solid #CCCCCC; border-left: 1px solid #CCCCCC; background-color:#f6f6f6;"
>
<div
style=
"line-height: 20px; height: 26px; border-bottom: 1px solid #CCCCCC; border-top: 1px solid #CCCCCC; border-left: 1px solid #CCCCCC; background-color:#f6f6f6;"
>
<div
style=
"height: 26px; width: 30px; float: left; background: url(../x_component_process_ProcessDesigner/$Process/down16.png) no-repeat center center;"
></div>
<div
style=
"margin-left: 20px; padding: 3px 10px; text-align: center; color: #666666;"
>
{{$.lp.eventInfo10}}
</div>
</div>
</div>
</div>
</div>
<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
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{($.afterExecuteScript || $.afterExecuteScriptText) ? "
event_code
"
:
"
event
"}.
png
)
no-repeat
center
center
;"
></div>
<div
style=
"margin-left: 20px; padding: 0px 5px;"
>
{{$.lp.afterExecute}}
</div>
</div>
<div
style=
"display: none; overflow:hidden; border-left: 10px solid #EEEEEE; border-bottom: 10px solid #EEEEEE;"
>
<div
style=
"margin-left: 20px; padding: 0px 5px;"
>
{{$.lp.afterExecute}}
</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"
>
<tr>
<td
class=
"editTableTitle"
>
{{$.lp.afterExecute}}:
</td>
...
...
@@ -493,17 +495,17 @@
</tr>
</table>
<div
class=
"MWFScriptText"
name=
"afterExecuteScriptText"
></div><hr
/>
</div>
</div>
<div
style=
"line-height: 20px; height: 26px; border-bottom: 1px solid #CCCCCC; border-top: 1px solid #CCCCCC"
>
<div
style=
"line-height: 20px; height: 26px; border-bottom: 1px solid #CCCCCC; border-top: 1px solid #CCCCCC"
>
<div
style=
"height: 26px; background: url(../x_component_process_ProcessDesigner/$Process/down16.png) no-repeat center center;"
></div>
</div>
</div>
<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
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{($.beforeInquireScript || $.beforeInquireScriptText) ? "
event_code
"
:
"
event
"}.
png
)
no-repeat
center
center
;"
></div>
<div
style=
"margin-left: 20px; padding: 0px 5px;"
>
{{$.lp.beforeInquire}}
</div>
</div>
<div
style=
"display: none; overflow:hidden; border-left: 10px solid #EEEEEE; border-bottom: 10px solid #EEEEEE;"
>
<div
style=
"margin-left: 20px; padding: 0px 5px;"
>
{{$.lp.beforeInquire}}
</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"
>
<tr>
<td
class=
"editTableTitle"
>
{{$.lp.beforeInquire}}:
</td>
...
...
@@ -513,18 +515,18 @@
</tr>
</table>
<div
class=
"MWFScriptText"
name=
"beforeInquireScriptText"
></div><hr
/>
</div>
</div>
<div
style=
"line-height: 20px; height: 46px; border-bottom: 1px solid #CCCCCC; border-top: 1px solid #CCCCCC; background-color:#f6f6f6;"
>
<div
style=
"line-height: 20px; height: 46px; border-bottom: 1px solid #CCCCCC; border-top: 1px solid #CCCCCC; background-color:#f6f6f6;"
>
<div
style=
"height: 46px; width: 30px; float: left; background: url(../x_component_process_ProcessDesigner/$Process/down.png) no-repeat center center;"
></div>
<div
style=
"margin-left: 20px; padding: 3px 10px; text-align: center; color: #666666;"
>
{{$.lp.eventInfo4}}
</div>
</div>
</div>
<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
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{($.afterInquireScript || $.afterInquireScriptText) ? "
event_code
"
:
"
event
"}.
png
)
no-repeat
center
center
;"
></div>
<div
style=
"margin-left: 20px; padding: 0px 5px;"
>
{{$.lp.afterInquire}}
</div>
</div>
<div
style=
"display: none; overflow:hidden; border-left: 10px solid #EEEEEE; border-bottom: 10px solid #EEEEEE;"
>
<div
style=
"margin-left: 20px; padding: 0px 5px;"
>
{{$.lp.afterInquire}}
</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"
>
<tr>
...
...
@@ -535,7 +537,7 @@
</tr>
</table>
<div
class=
"MWFScriptText"
name=
"afterInquireScriptText"
></div><hr
/>
</div>
</div>
</div>
</div>
</div>
o2web/source/x_component_process_ProcessDesigner/$Process/merge.html
浏览文件 @
eb5f5c14
...
...
@@ -31,6 +31,7 @@
<div
class=
"MWFFormSelect"
name=
"form"
></div>
</td>
</tr>
</table>
<table
width=
"100%"
border=
"0"
cellpadding=
"5"
cellspacing=
"0"
class=
"editTable"
>
<tr>
<td
class=
"editTableValue"
colspan=
"2"
><b>
{{$.lp.allowReroute}}:
</b><input
class=
"editTableRadio"
name=
"allowReroute"
text
{($.
allowReroute
)?'
checked
'
:
''}
type=
"radio"
value=
"true"
/>
{{$.lp.yes}}
...
...
@@ -41,7 +42,7 @@
<input
class=
"editTeditTableRadioableInput"
class=
"editTableInput"
name=
"allowRerouteTo"
text
{(!$.
allowRerouteTo
)?'
checked
'
:
''}
type=
"radio"
value=
"false"
/>
{{$.lp.no}}
</td>
</tr>
</table>
<
/table
>
<
div
class=
"MWFMaplist"
name=
"customData"
title=
"{{$.lp.customData}}"
data-o2-advanced=
"yes"
></div
>
</div>
<div
title=
"{{$.lp.person}}"
class=
"MWFTab"
>
<table
width=
"100%"
border=
"0"
cellpadding=
"5"
cellspacing=
"0"
class=
"editTable"
>
...
...
o2web/source/x_component_process_ProcessDesigner/$Process/message.html
浏览文件 @
eb5f5c14
...
...
@@ -41,6 +41,7 @@
<input
class=
"editTeditTableRadioableInput"
class=
"editTableInput"
name=
"allowRerouteTo"
text
{(!$.
allowRerouteTo
)?'
checked
'
:
''}
type=
"radio"
value=
"false"
/>
否
</td>
</tr>
</table>
<div
class=
"MWFMaplist"
name=
"customData"
title=
"{{$.lp.customData}}"
data-o2-advanced=
"yes"
></div>
</div>
<div
title=
"消息"
class=
"MWFTab"
>
<div
class=
"editTableHeadTitle"
>
消息
</div>
...
...
o2web/source/x_component_process_ProcessDesigner/$Process/parallel.html
浏览文件 @
eb5f5c14
...
...
@@ -31,6 +31,7 @@
<div
class=
"MWFFormSelect"
name=
"form"
></div>
</td>
</tr>
</table>
<table
width=
"100%"
border=
"0"
cellpadding=
"5"
cellspacing=
"0"
class=
"editTable"
>
<tr>
<td
class=
"editTableValue"
colspan=
"2"
><b>
{{$.lp.allowReroute}}:
</b><input
class=
"editTableRadio"
name=
"allowReroute"
text
{($.
allowReroute
)?'
checked
'
:
''}
type=
"radio"
value=
"true"
/>
{{$.lp.yes}}
...
...
@@ -41,7 +42,7 @@
<input
class=
"editTeditTableRadioableInput"
class=
"editTableInput"
name=
"allowRerouteTo"
text
{(!$.
allowRerouteTo
)?'
checked
'
:
''}
type=
"radio"
value=
"false"
/>
{{$.lp.no}}
</td>
</tr>
</table>
<
/table
>
<
div
class=
"MWFMaplist"
name=
"customData"
title=
"{{$.lp.customData}}"
data-o2-advanced=
"yes"
></div
>
</div>
<div
title=
"{{$.lp.person}}"
class=
"MWFTab"
>
<table
width=
"100%"
border=
"0"
cellpadding=
"5"
cellspacing=
"0"
class=
"editTable"
>
...
...
o2web/source/x_component_process_ProcessDesigner/$Process/service.html
浏览文件 @
eb5f5c14
...
...
@@ -31,6 +31,7 @@
<div
class=
"MWFFormSelect"
name=
"form"
></div>
</td>
</tr>
</table>
<table
width=
"100%"
border=
"0"
cellpadding=
"5"
cellspacing=
"0"
class=
"editTable"
>
<tr>
<td
class=
"editTableValue"
colspan=
"2"
><b>
{{$.lp.allowReroute}}:
</b><input
class=
"editTableRadio"
name=
"allowReroute"
text
{($.
allowReroute
)?'
checked
'
:
''}
type=
"radio"
value=
"true"
/>
{{$.lp.yes}}
...
...
@@ -41,7 +42,7 @@
<input
class=
"editTeditTableRadioableInput"
class=
"editTableInput"
name=
"allowRerouteTo"
text
{(!$.
allowRerouteTo
)?'
checked
'
:
''}
type=
"radio"
value=
"false"
/>
{{$.lp.no}}
</td>
</tr>
</table>
<
/table
>
<
div
class=
"MWFMaplist"
name=
"customData"
title=
"{{$.lp.customData}}"
data-o2-advanced=
"yes"
></div
>
</div>
<div
title=
"{{$.lp.service}}"
class=
"MWFTab"
>
...
...
o2web/source/x_component_process_ProcessDesigner/$Process/split.html
浏览文件 @
eb5f5c14
...
...
@@ -31,6 +31,7 @@
<div
class=
"MWFFormSelect"
name=
"form"
></div>
</td>
</tr>
</table>
<table
width=
"100%"
border=
"0"
cellpadding=
"5"
cellspacing=
"0"
class=
"editTable"
>
<tr>
<td
class=
"editTableValue"
colspan=
"2"
><b>
{{$.lp.allowReroute}}:
</b><input
class=
"editTableRadio"
name=
"allowReroute"
text
{($.
allowReroute
)?'
checked
'
:
''}
type=
"radio"
value=
"true"
/>
{{$.lp.yes}}
...
...
@@ -41,7 +42,7 @@
<input
class=
"editTeditTableRadioableInput"
class=
"editTableInput"
name=
"allowRerouteTo"
text
{(!$.
allowRerouteTo
)?'
checked
'
:
''}
type=
"radio"
value=
"false"
/>
{{$.lp.no}}
</td>
</tr>
</table>
<
/table
>
<
div
class=
"MWFMaplist"
name=
"customData"
title=
"{{$.lp.customData}}"
data-o2-advanced=
"yes"
></div
>
</div>
<div
title=
"{{$.lp.split}}"
class=
"MWFTab"
>
<div
class=
"editTableHeadTitle"
>
{{$.lp.splitScript}}
</div>
...
...
o2web/source/x_component_process_ProcessDesigner/Property.js
浏览文件 @
eb5f5c14
...
...
@@ -67,6 +67,7 @@ MWF.xApplication.process.ProcessDesigner.Property = new Class({
this
.
loadIconSelect
();
this
.
loadContextRoot
();
this
.
loadProjection
();
this
.
loadMaplist
();
this
.
hideAdvanced
();
}.
bind
(
this
));
...
...
@@ -417,6 +418,35 @@ MWF.xApplication.process.ProcessDesigner.Property = new Class({
}.
bind
(
this
));
}.
bind
(
this
));
},
loadMaplist
:
function
(){
var
maplists
=
this
.
propertyContent
.
getElements
(
"
.MWFMaplist
"
);
maplists
.
each
(
function
(
node
){
var
title
=
node
.
get
(
"
title
"
);
var
name
=
node
.
get
(
"
name
"
);
var
lName
=
name
.
toLowerCase
();
var
collapse
=
node
.
get
(
"
collapse
"
);
var
mapObj
=
this
.
data
[
name
]
||
"
{}
"
;
//if (!mapObj) mapObj = {};
MWF
.
require
(
"
MWF.widget.Maplist
"
,
function
(){
node
.
empty
();
var
maplist
=
new
MWF
.
widget
.
Maplist
(
node
,
{
"
title
"
:
title
,
"
collapse
"
:
(
collapse
)
?
true
:
false
,
"
onChange
"
:
function
(){
//this.data[name] = maplist.toJson();
//
//var oldData = this.data[name];
this
.
setValue
(
name
,
JSON
.
stringify
(
maplist
.
toJson
()));
// this.changeStyle(name, oldData);
// this.changeData(name);
}.
bind
(
this
),
"
isProperty
"
:
(
lName
.
contains
(
"
properties
"
)
||
lName
.
contains
(
"
property
"
)
||
lName
.
contains
(
"
attribute
"
))
});
maplist
.
load
(
JSON
.
parse
(
mapObj
));
//this.maplists[name] = maplist;
}.
bind
(
this
));
}.
bind
(
this
));
},
loadPersonInput
:
function
(){
debugger
;
var
personIdentityNodes
=
this
.
propertyContent
.
getElements
(
"
.MWFPersonIdentity
"
);
...
...
o2web/source/x_component_process_ProcessDesigner/lp/zh-cn.js
浏览文件 @
eb5f5c14
...
...
@@ -356,6 +356,8 @@ MWF.xApplication.process.ProcessDesigner.LP = {
"
activityGroup
"
:
"
活动组
"
,
"
opinionGroup
"
:
"
意见组
"
,
"
taskPerson
"
:
"
处理人
"
,
"
customData
"
:
"
自定义属性
"
,
"
identity
"
:
"
用户标识
"
,
"
group
"
:
"
处理群组
"
,
"
readGroup
"
:
"
待阅群组
"
,
...
...
@@ -382,22 +384,22 @@ MWF.xApplication.process.ProcessDesigner.LP = {
"
eventInfo1
"
:
"
启动流程生成work实例
"
,
"
afterBegin
"
:
"
流程启动
"
,
"
beforeArrive
"
:
"
活动到达前
"
,
"
eventInfo2
"
:
"
执行Arrive操作
<br/>
活动属性设置
"
,
"
eventInfo2
"
:
"
执行Arrive操作
,
活动属性设置
"
,
"
afterArrive
"
:
"
活动到达后
"
,
"
beforeExecute
"
:
"
活动执行前
"
,
"
eventInfo3
"
:
"
执行Execute操作
<br/>
执行自动活动任务
"
,
"
eventInfo3
"
:
"
执行Execute操作
,
执行自动活动任务
"
,
"
afterExecute
"
:
"
活动执行后
"
,
"
beforeInquire
"
:
"
路由查询前
"
,
"
eventInfo4
"
:
"
执行Inquire操作
<br/>
查询到达下一个活动的路由
"
,
"
eventInfo4
"
:
"
执行Inquire操作
,
查询到达下一个活动的路由
"
,
"
afterInquire
"
:
"
路由查询后
"
,
"
beforeEnd
"
:
"
流程结束前
"
,
"
eventInfo5
"
:
"
结束流程
<br/>
生成workCompleted
"
,
"
eventInfo5
"
:
"
结束流程
,
生成workCompleted
"
,
"
afterEnd
"
:
"
流程结束
"
,
"
beforeWorkArrive
"
:
"
工作到达前
"
,
"
beforeArriveActivity
"
:
"
文件收到前
"
,
"
afterArriveActivity
"
:
"
文件收到后
"
,
"
eventInfo6
"
:
"
执行Arrive操作
<br/>
活动属性设置,计算可能的活动所有者
"
,
"
eventInfo7
"
:
"
执行Execute操作
<br/>
生成待办
"
,
"
eventInfo6
"
:
"
执行Arrive操作
,
活动属性设置,计算可能的活动所有者
"
,
"
eventInfo7
"
:
"
执行Execute操作
,
生成待办
"
,
"
manualStay
"
:
"
等待人工处理时
"
,
"
eventInfo8
"
:
"
用户流转待办
"
,
"
manualBeforeTask
"
:
"
待办处理前
"
,
...
...
o2web/source/x_component_process_Work/Main.js
浏览文件 @
eb5f5c14
...
...
@@ -498,7 +498,14 @@ MWF.xApplication.process.Work.Main = new Class({
// if( !task.routeDecisionOpinionList )task.routeDecisionOpinionList = task.properties.routeDecisionOpinionList;
// }
//});
if
(
workData
.
activity
.
properties
&&
workData
.
activity
.
properties
.
customData
){
try
{
var
customData
=
JSON
.
parse
(
workData
.
activity
.
properties
.
customData
);
workData
.
activity
.
customData
=
customData
;
}
catch
(
e
){
console
.
error
(
e
);
}
}
this
.
activity
=
workData
.
activity
;
this
.
data
=
workData
.
data
;
this
.
taskList
=
workData
.
taskList
;
...
...
o2web/source/x_desktop/js/initialScriptText.js
浏览文件 @
eb5f5c14
...
...
@@ -124,7 +124,16 @@ var wrapWorkContext = {
"
getTask
"
:
function
(){
return
JSON
.
parse
(
workContext
.
getTaskOrTaskCompleted
());},
"
getWork
"
:
function
(){
return
JSON
.
parse
(
workContext
.
getWork
());},
"
getActivity
"
:
function
(){
return
JSON
.
parse
(
workContext
.
getActivity
());},
"
getActivity
"
:
function
(){
var
act
=
JSON
.
parse
(
workContext
.
getActivity
());
if
(
act
.
properties
&&
act
.
properties
.
customData
){
try
{
var
customData
=
JSON
.
parse
(
act
.
properties
.
customData
);
act
.
customData
=
customData
;
}
catch
(
e
){}
}
return
act
;
},
"
getTaskList
"
:
function
(){
return
JSON
.
parse
(
workContext
.
getTaskList
());},
"
getTaskCompletedList
"
:
function
(){
return
JSON
.
parse
(
workContext
.
getTaskCompletedList
());},
"
getReadList
"
:
function
(){
return
JSON
.
parse
(
workContext
.
getReadList
());},
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录