Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
weixin_42566577
o2oa
提交
3e816962
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,发现更多精彩内容 >>
提交
3e816962
编写于
3月 24, 2022
作者:
U
unknown
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
部件、部件元素可以跨应用选择、页面保存部件可以保存到其他应用
上级
8cf44561
变更
11
隐藏空白更改
内联
并排
Showing
11 changed file
with
149 addition
and
33 deletion
+149
-33
o2web/source/o2_core/o2/widget/O2Identity.js
o2web/source/o2_core/o2/widget/O2Identity.js
+12
-0
o2web/source/x_component_portal_PageDesigner/Module/Div.js
o2web/source/x_component_portal_PageDesigner/Module/Div.js
+28
-3
o2web/source/x_component_portal_PageDesigner/Module/Div/newWidget.html
...x_component_portal_PageDesigner/Module/Div/newWidget.html
+4
-0
o2web/source/x_component_portal_PageDesigner/Module/Widget/widget.html
...x_component_portal_PageDesigner/Module/Widget/widget.html
+11
-1
o2web/source/x_component_portal_PageDesigner/Module/Widgetmodules.js
...e/x_component_portal_PageDesigner/Module/Widgetmodules.js
+29
-9
o2web/source/x_component_portal_PageDesigner/Module/Widgetmodules/widgetSelect.html
...ortal_PageDesigner/Module/Widgetmodules/widgetSelect.html
+4
-0
o2web/source/x_component_portal_PageDesigner/lp/zh-cn.js
o2web/source/x_component_portal_PageDesigner/lp/zh-cn.js
+1
-0
o2web/source/x_component_process_FormDesigner/Property.js
o2web/source/x_component_process_FormDesigner/Property.js
+54
-20
o2web/source/x_component_process_FormDesigner/lp/en.js
o2web/source/x_component_process_FormDesigner/lp/en.js
+2
-0
o2web/source/x_component_process_FormDesigner/lp/zh-cn.js
o2web/source/x_component_process_FormDesigner/lp/zh-cn.js
+2
-0
o2web/source/x_component_process_ProcessDesigner/widget/PersonSelector.js
...omponent_process_ProcessDesigner/widget/PersonSelector.js
+2
-0
未找到文件。
o2web/source/o2_core/o2/widget/O2Identity.js
浏览文件 @
3e816962
...
...
@@ -363,6 +363,18 @@ o2.widget.O2Application = new Class({
}
}
});
o2
.
widget
.
O2Portal
=
new
Class
({
Extends
:
o2
.
widget
.
O2Group
,
getPersonData
:
function
(){
if
(
!
this
.
data
.
name
){
this
.
action
=
new
o2
.
xDesktop
.
Actions
.
RestActions
(
""
,
"
x_portal_assemble_surface
"
,
""
);
this
.
action
.
actions
=
{
"
getPortal
"
:
{
"
uri
"
:
"
/jaxrs/portal/{id}
"
}};
this
.
action
.
invoke
({
"
name
"
:
"
getPortal
"
,
"
async
"
:
false
,
"
parameter
"
:
{
"
id
"
:
(
this
.
data
.
id
||
this
.
data
.
name
)},
"
success
"
:
function
(
json
){
this
.
data
=
json
.
data
;
}.
bind
(
this
)});
}
}
});
o2
.
widget
.
O2CMSApplication
=
new
Class
({
Extends
:
o2
.
widget
.
O2Group
,
getPersonData
:
function
(){
...
...
o2web/source/x_component_portal_PageDesigner/Module/Div.js
浏览文件 @
3e816962
...
...
@@ -175,8 +175,11 @@ MWF.xApplication.portal.PageDesigner.Module.Div = MWF.PCDiv = new Class({
return
;
}
var
appname
,
appid
=
module
.
appSelect
.
options
[
module
.
appSelect
.
selectedIndex
].
value
;
if
(
appid
)
appname
=
module
.
appSelect
.
options
[
module
.
appSelect
.
selectedIndex
].
text
;
var
flag
=
true
;
o2
.
Actions
.
get
(
"
x_portal_assemble_designer
"
).
listWidget
(
module
.
page
.
designer
.
application
.
id
,
function
(
json
){
o2
.
Actions
.
get
(
"
x_portal_assemble_designer
"
).
listWidget
(
appid
||
module
.
page
.
designer
.
application
.
id
,
function
(
json
){
for
(
var
i
=
0
;
i
<
json
.
data
.
length
;
i
++
){
if
(
json
.
data
[
i
].
name
===
widgetName
){
module
.
page
.
designer
.
notice
(
module
.
page
.
designer
.
lp
.
notice
.
widgetNameConflict
,
"
error
"
);
...
...
@@ -186,7 +189,7 @@ MWF.xApplication.portal.PageDesigner.Module.Div = MWF.PCDiv = new Class({
}
}.
bind
(
this
),
null
,
false
);
if
(
flag
){
module
.
_makeWidget
(
widgetName
);
module
.
_makeWidget
(
widgetName
,
appid
,
appname
);
this
.
close
();
}
}
...
...
@@ -199,6 +202,17 @@ MWF.xApplication.portal.PageDesigner.Module.Div = MWF.PCDiv = new Class({
}
],
"
onPostShow
"
:
function
(){
o2
.
Actions
.
load
(
"
x_portal_assemble_designer
"
).
PortalAction
.
list
(
function
(
json
)
{
var
td
=
dlg
.
node
.
getElementById
(
"
MWFPortalSelect
"
);
var
select
=
module
.
appSelect
=
new
Element
(
"
select
"
).
inject
(
td
);
var
option
=
new
Element
(
"
option
"
,
{
"
text
"
:
""
}).
inject
(
select
);
json
.
data
.
each
(
function
(
app
){
var
option
=
new
Element
(
"
option
"
,
{
"
text
"
:
app
.
name
,
"
value
"
:
app
.
id
}).
inject
(
select
);
}.
bind
(
this
));
});
this
.
widgetNameInput
=
dlg
.
node
.
getElementById
(
"
MWFNewWidgetName
"
);
...
...
@@ -208,7 +222,7 @@ MWF.xApplication.portal.PageDesigner.Module.Div = MWF.PCDiv = new Class({
dlg
.
show
();
}.
bind
(
this
));
},
_makeWidget
:
function
(
name
){
_makeWidget
:
function
(
name
,
appid
,
appname
){
//var pcData, mobileData;
//if (this.pcPage){
// this.pcPage._getPageData();
...
...
@@ -245,6 +259,17 @@ MWF.xApplication.portal.PageDesigner.Module.Div = MWF.PCDiv = new Class({
fieldList
=
this
.
_getWidgetFieldList
(
pcData
.
json
.
moduleList
);
}
if
(
appid
){
if
(
pcData
&&
pcData
.
json
){
pcData
.
json
.
application
=
appid
;
pcData
.
json
.
applicationName
=
appname
;
}
if
(
mobileData
&&
mobileData
.
json
){
mobileData
.
json
.
application
=
appid
;
mobileData
.
json
.
applicationName
=
appname
;
}
}
debugger
;
...
...
o2web/source/x_component_portal_PageDesigner/Module/Div/newWidget.html
浏览文件 @
3e816962
<div
style=
"font-size:12px"
>
<div
style=
"height:18px; background-color:#EEE; border-bottom: 1px solid #333; maring-bottom:5px"
>
创建部件
</div><br/>
<table
width=
"100%"
border=
"0"
cellspacing=
"0"
cellpadding=
"3px"
>
<tr>
<td
align=
"right"
>
选择门户
</td>
<td
colspan=
"2"
id=
"MWFPortalSelect"
></td>
</tr>
<tr>
<td
align=
"right"
>
部件名称
</td>
<td
colspan=
"2"
><input
type=
"text"
id=
"MWFNewWidgetName"
value=
""
class=
"editTableInput"
/></td>
...
...
o2web/source/x_component_portal_PageDesigner/Module/Widget/widget.html
浏览文件 @
3e816962
...
...
@@ -27,8 +27,14 @@
</tr>
</table>
<div
id=
"text{$.pid}selectWidget"
style=
"display: text{($.widgetType!='script')?'block':'none'}"
>
<div
id=
"text{$.pid}selectWidget"
class=
"MWFWidgetSelectContainer"
style=
"display: text{($.widgetType!='script')?'block':'none'}"
>
<table
width=
"100%"
border=
"0"
cellpadding=
"5"
cellspacing=
"0"
class=
"editTable"
>
<tr>
<td
class=
"editTableTitle"
>
{{$.lp.application}}:
</td>
<td
class=
"editTableValue"
>
<div
class=
"MWFWidgetAppSelect"
name=
"widgetAppSelected"
></div>
</td>
</tr>
<tr>
<td
class=
"editTableTitle"
>
{{$.lp.widget}}:
</td>
<td
class=
"editTableValue"
>
...
...
@@ -44,6 +50,10 @@
</table>
</div>
<div
id=
"text{$.pid}scriptWidget"
style=
"display: text{($.widgetType=='script')?'block':'none'}"
>
<div
style=
"padding: 5px;"
>
{{$.lp.crossApplication}}:
<br/>
return {
<br/>
"application" : "applicationName", //{{$.lp.computeSubmitAnnotation1}}
<br/>
"widget" : "widgetName" //{{$.lp.computeWidgetAnnotation2}}
<br/>
};
<br/>
{{$.lp.thisApplication}}:
<br/>
return "widgetName";
</div>
<div
class=
"MWFScriptArea"
name=
"widgetScript"
title=
"{{$.lp.widgetScript}} (S)"
></div>
</div>
...
...
o2web/source/x_component_portal_PageDesigner/Module/Widgetmodules.js
浏览文件 @
3e816962
...
...
@@ -79,24 +79,44 @@ MWF.xApplication.portal.PageDesigner.Module.Widgetmodules = MWF.PCWidgetmodules
}
],
"
onPostShow
"
:
function
(){
var
td
=
dlg
.
node
.
getElementById
(
"
MWFWidgetSelectTd
"
);
this
.
form
.
designer
.
actions
.
listWidget
(
this
.
form
.
designer
.
application
.
id
,
function
(
json
){
var
select
=
this
.
widgetSelect
=
new
Element
(
"
select
"
).
inject
(
td
);
var
option
=
new
Element
(
"
option
"
,
{
"
text
"
:
"
none
"
}).
inject
(
select
);
json
.
data
.
each
(
function
(
widget
){
o2
.
Actions
.
load
(
"
x_portal_assemble_designer
"
).
PortalAction
.
list
(
function
(
json
)
{
var
td
=
dlg
.
node
.
getElementById
(
"
MWFPortalSelectTd
"
);
var
select
=
module
.
appSelect
=
new
Element
(
"
select
"
).
inject
(
td
);
var
option
=
new
Element
(
"
option
"
,
{
"
text
"
:
""
}).
inject
(
select
);
json
.
data
.
each
(
function
(
app
){
var
option
=
new
Element
(
"
option
"
,
{
"
text
"
:
widget
.
name
,
"
value
"
:
widget
.
id
"
text
"
:
app
.
name
,
"
value
"
:
app
.
id
}).
inject
(
select
);
}.
bind
(
this
));
}.
bind
(
this
));
select
.
addEvent
(
"
change
"
,
function
(){
var
appid
=
module
.
appSelect
.
options
[
module
.
appSelect
.
selectedIndex
].
value
;
module
.
setWidgetSelectOptions
(
appid
);
})
});
var
td
=
dlg
.
node
.
getElementById
(
"
MWFWidgetSelectTd
"
);
module
.
widgetSelect
=
new
Element
(
"
select
"
).
inject
(
td
);
module
.
setWidgetSelectOptions
();
}.
bind
(
this
)
});
dlg
.
show
();
}.
bind
(
this
));
},
setWidgetSelectOptions
:
function
(
aplication
){
var
select
=
this
.
widgetSelect
;
select
.
empty
();
this
.
form
.
designer
.
actions
.
listWidget
(
aplication
||
this
.
form
.
designer
.
application
.
id
,
function
(
json
){
var
option
=
new
Element
(
"
option
"
,
{
"
text
"
:
"
none
"
}).
inject
(
select
);
json
.
data
.
each
(
function
(
widget
){
var
option
=
new
Element
(
"
option
"
,
{
"
text
"
:
widget
.
name
,
"
value
"
:
widget
.
id
}).
inject
(
select
);
}.
bind
(
this
));
}.
bind
(
this
));
},
_dragComplete
:
function
(
relativeNode
,
position
){
if
(
!
this
.
node
){
this
.
_createNode
(
relativeNode
,
position
);
...
...
o2web/source/x_component_portal_PageDesigner/Module/Widgetmodules/widgetSelect.html
浏览文件 @
3e816962
<div
style=
"font-size:12px"
>
<div
style=
"height:18px; background-color:#EEE; border-bottom: 1px solid #333; maring-bottom:5px"
>
{{$.lp.insertWidget}}
</div><br/>
<table
width=
"100%"
border=
"0"
cellspacing=
"0"
cellpadding=
"3px"
>
<tr>
<td
align=
"right"
>
{{$.lp.selectPortal}}
</td>
<td
colspan=
"2"
id=
"MWFPortalSelectTd"
></td>
</tr>
<tr>
<td
align=
"right"
>
{{$.lp.selectWidget}}
</td>
<td
colspan=
"2"
id=
"MWFWidgetSelectTd"
></td>
...
...
o2web/source/x_component_portal_PageDesigner/lp/zh-cn.js
浏览文件 @
3e816962
...
...
@@ -44,6 +44,7 @@ MWF.APPPOD.LP = {
//"confiltNoPix" : "请填写前缀或后缀",
"
selectPage
"
:
"
请选择页面
"
,
"
selectPortal
"
:
"
请选择门户
"
,
"
selectWidget
"
:
"
请选择部件
"
,
//"moduleConflitError" : "组件标识重复",
//"moduleConflitErrorOnPix" : "添加了前缀或后缀后组件标识仍然重复"
...
...
o2web/source/x_component_process_FormDesigner/Property.js
浏览文件 @
3e816962
...
...
@@ -507,10 +507,8 @@ MWF.xApplication.process.FormDesigner.Property = MWF.FCProperty = new Class({
}.
bind
(
this
))
},
_loadSubformSelect
:
function
(
node
,
formNodeName
,
appNodeName
){
var
select
;
var
select
=
new
Element
(
"
select
"
).
inject
(
node
)
;
this
.
getSubFormList
(
function
(){
select
=
new
Element
(
"
select
"
).
inject
(
node
);
select
.
addEvent
(
"
change
"
,
function
(
e
){
var
value
=
select
.
options
[
select
.
selectedIndex
].
value
;
this
.
setValue
(
formNodeName
,
value
,
select
);
...
...
@@ -601,27 +599,62 @@ MWF.xApplication.process.FormDesigner.Property = MWF.FCProperty = new Class({
},
loadWidgetSelect
:
function
(){
var
widgetNodes
=
this
.
propertyContent
.
getElements
(
"
.MWFWidgetSelect
"
);
if
(
widgetNodes
.
length
){
this
.
getWidgetList
(
function
(){
widgetNodes
.
each
(
function
(
node
){
var
select
=
new
Element
(
"
select
"
).
inject
(
node
);
select
.
addEvent
(
"
change
"
,
function
(
e
){
var
value
=
e
.
target
.
options
[
e
.
target
.
selectedIndex
].
value
;
this
.
setValue
(
e
.
target
.
getParent
(
"
div
"
).
get
(
"
name
"
),
value
,
select
);
}.
bind
(
this
));
this
.
setWidgetSelectOptions
(
node
,
select
);
var
wdigetContainers
=
this
.
propertyContent
.
getElements
(
"
.MWFWidgetSelectContainer
"
);
if
(
wdigetContainers
.
length
){
wdigetContainers
.
each
(
function
(
container
){
var
appSelectNode
=
container
.
getElement
(
"
.MWFWidgetAppSelect
"
);
var
widgetSelectNode
=
container
.
getElement
(
"
.MWFWidgetSelect
"
);
var
widgetSelect
;
var
refreshNode
=
new
Element
(
"
div
"
,
{
"
styles
"
:
this
.
form
.
css
.
propertyRefreshFormNode
}).
inject
(
node
);
refreshNode
.
addEvent
(
"
click
"
,
function
(
e
){
var
appNodeName
=
appSelectNode
.
get
(
"
name
"
);
var
widgetNodeName
=
widgetSelectNode
.
get
(
"
name
"
);
this
.
loadPortalApplictionSelect
(
appSelectNode
,
appNodeName
,
function
(
apps
){
var
oldValue
=
this
.
data
[
appNodeName
]
||
""
;
this
.
data
[
appNodeName
]
=
!
apps
.
length
?
""
:
apps
[
0
].
data
.
id
;
if
(
oldValue
!==
this
.
data
[
appNodeName
]
){
this
.
getWidgetList
(
function
(){
this
.
setWidgetSelectOptions
(
node
,
select
);
}.
bind
(
this
),
true
);
}.
bind
(
this
));
this
.
setWidgetSelectOptions
(
widgetSelectNode
,
widgetSelect
);
widgetSelect
.
fireEvent
(
"
change
"
);
}.
bind
(
this
),
true
,
appNodeName
);
}
}.
bind
(
this
));
widgetSelect
=
this
.
_loadWidgetSelect
(
widgetSelectNode
,
widgetNodeName
,
appNodeName
)
;
}.
bind
(
this
));
}
},
loadPortalApplictionSelect
:
function
(
node
,
appNodeName
,
callback
){
var
application
=
appNodeName
?
this
.
data
[
appNodeName
]
:
""
;
MWF
.
xDesktop
.
requireApp
(
"
process.ProcessDesigner
"
,
"
widget.PersonSelector
"
,
function
()
{
new
MWF
.
xApplication
.
process
.
ProcessDesigner
.
widget
.
PersonSelector
(
node
,
this
.
form
.
designer
,
{
"
title
"
:
this
.
form
.
designer
.
lp
.
selectApplication
,
"
type
"
:
"
portal
"
,
"
count
"
:
1
,
"
names
"
:
application
?
[
{
id
:
application
}
]
:
[],
"
onChange
"
:
function
(
apps
)
{
callback
(
apps
)
}.
bind
(
this
)
});
}.
bind
(
this
))
},
_loadWidgetSelect
:
function
(
node
,
widgetNodeName
,
appNodeName
){
var
select
=
new
Element
(
"
select
"
).
inject
(
node
);
this
.
getWidgetList
(
function
(){
select
.
addEvent
(
"
change
"
,
function
(
e
){
var
value
=
select
.
options
[
select
.
selectedIndex
].
value
;
this
.
setValue
(
widgetNodeName
,
value
,
select
);
}.
bind
(
this
));
this
.
setWidgetSelectOptions
(
node
,
select
);
var
refreshNode
=
new
Element
(
"
div
"
,
{
"
styles
"
:
this
.
form
.
css
.
propertyRefreshFormNode
}).
inject
(
node
);
refreshNode
.
addEvent
(
"
click
"
,
function
(
e
){
this
.
getWidgetList
(
function
(){
this
.
setWidgetSelectOptions
(
node
,
select
);
}.
bind
(
this
),
true
,
appNodeName
);
}.
bind
(
this
));
}.
bind
(
this
),
false
,
appNodeName
);
return
select
;
},
setWidgetSelectOptions
:
function
(
node
,
select
){
var
name
=
node
.
get
(
"
name
"
);
select
.
empty
();
...
...
@@ -636,9 +669,10 @@ MWF.xApplication.process.FormDesigner.Property = MWF.FCProperty = new Class({
}
}.
bind
(
this
));
},
getWidgetList
:
function
(
callback
,
refresh
){
getWidgetList
:
function
(
callback
,
refresh
,
appNodeName
){
var
application
=
appNodeName
?
this
.
data
[
appNodeName
]
:
""
;
if
(
!
this
.
widgets
||
refresh
){
this
.
form
.
designer
.
actions
.
listWidget
(
this
.
form
.
designer
.
application
.
id
,
function
(
json
){
this
.
form
.
designer
.
actions
.
listWidget
(
application
||
this
.
form
.
designer
.
application
.
id
,
function
(
json
){
this
.
widgets
=
json
.
data
;
if
(
callback
)
callback
();
}.
bind
(
this
));
...
...
o2web/source/x_component_process_FormDesigner/lp/en.js
浏览文件 @
3e816962
...
...
@@ -406,6 +406,7 @@ MWF.xApplication.process.FormDesigner.LP = {
"
crossApplication
"
:
"
CrossApplication
"
,
"
computeSubmitAnnotation1
"
:
"
application name, alias or id
"
,
"
computeSubmitAnnotation2
"
:
"
form name or id
"
,
"
computeWidgetAnnotation2
"
:
"
widget name or id
"
,
"
thisApplication
"
:
"
Current Application
"
,
"
submitFormScript
"
:
"
Submit Form Script
"
,
"
flowActionScript
"
:
"
Submit Action Script
"
,
...
...
@@ -1033,6 +1034,7 @@ MWF.xApplication.process.FormDesigner.LP = {
"
parameterScript
"
:
"
Parameter Script (Return JSON Object)
"
,
"
insertWidget
"
:
"
Tnsert Widget
"
,
"
selectWidget
"
:
"
Select Widget
"
,
"
selectPortal
"
:
"
Select Portal
"
,
"
inDiv
"
:
"
Wrapped in a div
"
,
"
outerSideModuleId
"
:
"
external related component ID
"
,
...
...
o2web/source/x_component_process_FormDesigner/lp/zh-cn.js
浏览文件 @
3e816962
...
...
@@ -405,6 +405,7 @@ MWF.xApplication.process.FormDesigner.LP = {
"
crossApplication
"
:
"
跨应用
"
,
"
computeSubmitAnnotation1
"
:
"
应用名称、别名、id
"
,
"
computeSubmitAnnotation2
"
:
"
表单名称、id
"
,
"
computeWidgetAnnotation2
"
:
"
部件名称、id
"
,
"
thisApplication
"
:
"
本应用
"
,
"
submitFormScript
"
:
"
提交表单脚本
"
,
"
flowActionScript
"
:
"
提交(继续流转)操作脚本
"
,
...
...
@@ -1038,6 +1039,7 @@ MWF.xApplication.process.FormDesigner.LP = {
"
parameterScript
"
:
"
参数脚本 (返回对象)
"
,
"
insertWidget
"
:
"
插入部件元素
"
,
"
selectWidget
"
:
"
选择部件
"
,
"
selectPortal
"
:
"
选择门户
"
,
"
inDiv
"
:
"
是否包裹div
"
,
"
outerSideModuleId
"
:
"
外部相关组件标识
"
,
...
...
o2web/source/x_component_process_ProcessDesigner/widget/PersonSelector.js
浏览文件 @
3e816962
...
...
@@ -104,6 +104,7 @@ MWF.xApplication.process.ProcessDesigner.widget.PersonSelector = new Class({
if
(
type
===
"
dutyname
"
)
this
.
identitys
.
push
(
new
MWF
.
widget
.
O2Duty
(
data
,
this
.
node
));
if
(
type
===
"
cmsapplication
"
)
this
.
identitys
.
push
(
new
MWF
.
widget
.
O2CMSApplication
(
data
,
this
.
node
));
if
(
type
===
"
cmscategory
"
)
this
.
identitys
.
push
(
new
MWF
.
widget
.
O2CMSCategory
(
data
,
this
.
node
));
if
(
type
===
"
portal
"
)
this
.
identitys
.
push
(
new
MWF
.
widget
.
O2Portal
(
data
,
this
.
node
));
if
(
type
===
"
portalfile
"
)
this
.
identitys
.
push
(
new
MWF
.
widget
.
O2File
(
data
,
this
.
node
));
if
(
type
===
"
processfile
"
)
this
.
identitys
.
push
(
new
MWF
.
widget
.
O2File
(
data
,
this
.
node
));
...
...
@@ -212,6 +213,7 @@ MWF.xApplication.process.ProcessDesigner.widget.PersonSelector = new Class({
if
(
type
===
"
process
"
)
this
.
identitys
.
push
(
new
MWF
.
widget
.
O2Process
(
item
.
data
,
this
.
node
));
if
(
type
===
"
cmsapplication
"
)
this
.
identitys
.
push
(
new
MWF
.
widget
.
O2CMSApplication
(
item
.
data
,
this
.
node
));
if
(
type
===
"
cmscategory
"
)
this
.
identitys
.
push
(
new
MWF
.
widget
.
O2CMSCategory
(
item
.
data
,
this
.
node
));
if
(
type
===
"
portal
"
)
this
.
identitys
.
push
(
new
MWF
.
widget
.
O2Portal
(
item
.
data
,
this
.
node
));
if
(
type
===
"
formfield
"
)
this
.
identitys
.
push
(
new
MWF
.
widget
.
O2FormField
(
item
.
data
,
this
.
node
));
if
(
type
===
"
cmsformfield
"
)
this
.
identitys
.
push
(
new
MWF
.
widget
.
O2FormField
(
item
.
data
,
this
.
node
));
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录