Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
weixin_42566577
o2oa
提交
eb0f0776
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,发现更多精彩内容 >>
提交
eb0f0776
编写于
10月 11, 2022
作者:
U
unknown
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
修复表单组件拖动ctrl定位失效的问题
上级
c909d519
变更
9
隐藏空白更改
内联
并排
Showing
9 changed file
with
20 addition
and
19 deletion
+20
-19
o2web/source/x_component_portal_PageDesigner/Module/Page.js
o2web/source/x_component_portal_PageDesigner/Module/Page.js
+4
-4
o2web/source/x_component_process_FormDesigner/Module/$Component.js
...rce/x_component_process_FormDesigner/Module/$Component.js
+1
-1
o2web/source/x_component_process_FormDesigner/Module/$Container.js
...rce/x_component_process_FormDesigner/Module/$Container.js
+1
-1
o2web/source/x_component_process_FormDesigner/Module/$Element.js
...ource/x_component_process_FormDesigner/Module/$Element.js
+1
-1
o2web/source/x_component_process_FormDesigner/Module/$Module.js
...source/x_component_process_FormDesigner/Module/$Module.js
+6
-5
o2web/source/x_component_process_FormDesigner/Module/Datagrid.js
...ource/x_component_process_FormDesigner/Module/Datagrid.js
+1
-1
o2web/source/x_component_process_FormDesigner/Module/Datatable.js
...urce/x_component_process_FormDesigner/Module/Datatable.js
+1
-1
o2web/source/x_component_process_FormDesigner/Module/Form.js
o2web/source/x_component_process_FormDesigner/Module/Form.js
+4
-4
o2web/source/x_component_process_FormDesigner/Module/Table.js
...b/source/x_component_process_FormDesigner/Module/Table.js
+1
-1
未找到文件。
o2web/source/x_component_portal_PageDesigner/Module/Page.js
浏览文件 @
eb0f0776
...
...
@@ -514,7 +514,7 @@ MWF.xApplication.portal.PageDesigner.Module.Page = MWF.PCPage = new Class({
copyNode
.
setStyle
(
"
display
"
,
"
none
"
);
},
_dragDrop
:
function
(
module
,
flag
){
var
f
=
flag
||
!
(
new
Event
(
event
)).
control
;
var
f
=
flag
||
!
(
window
.
event
||
{}).
ctrlKey
;
if
(
f
){
this
.
node
.
setStyles
(
this
.
css
.
pageNode
);
this
.
node
.
setStyles
(
this
.
json
.
styles
);
...
...
@@ -623,11 +623,11 @@ MWF.xApplication.portal.PageDesigner.Module.Page = MWF.PCPage = new Class({
});
},
_setInjectActionAreaPosition
:
function
(){
var
e
=
new
Event
(
event
)
;
var
e
=
window
.
event
||
{}
;
var
formOffset
=
this
.
node
.
getOffsetParent
().
getPosition
();
//var p = this.node.getPosition(this.form.node.getOffsetParent());
var
y
=
e
.
page
.
y
-
formOffset
.
y
-
60
;
var
x
=
e
.
page
.
x
-
formOffset
.
x
-
60
;
var
y
=
e
.
page
Y
-
formOffset
.
y
-
60
;
var
x
=
e
.
page
X
-
formOffset
.
x
-
60
;
this
.
injectActionArea
.
setPosition
({
"
x
"
:
x
,
"
y
"
:
y
});
},
injectBefore
:
function
(
e
){
...
...
o2web/source/x_component_process_FormDesigner/Module/$Component.js
浏览文件 @
eb0f0776
...
...
@@ -121,7 +121,7 @@ MWF.xApplication.process.FormDesigner.Module.$Component = MWF.FC$Component = new
copyNode
.
setStyle
(
"
display
"
,
"
none
"
);
},
_dragDrop
:
function
(
module
,
flag
){
var
f
=
flag
||
!
(
new
Event
(
event
)).
control
;
var
f
=
flag
||
!
(
window
.
event
||
{}).
ctrlKey
;
if
(
f
){
this
.
node
.
setStyles
(
this
.
css
.
moduleNode
);
this
.
setCustomStyles
();
...
...
o2web/source/x_component_process_FormDesigner/Module/$Container.js
浏览文件 @
eb0f0776
...
...
@@ -89,7 +89,7 @@ MWF.xApplication.process.FormDesigner.Module.$Container = MWF.FC$Container = new
copyNode
.
setStyle
(
"
display
"
,
"
none
"
);
},
_dragDrop
:
function
(
module
,
flag
){
var
f
=
flag
||
!
(
new
Event
(
event
)).
control
;
var
f
=
flag
||
!
(
window
.
event
||
{}).
ctrlKey
;
if
(
f
){
this
.
node
.
setStyles
(
this
.
css
.
moduleNode
);
this
.
setCustomStyles
();
...
...
o2web/source/x_component_process_FormDesigner/Module/$Element.js
浏览文件 @
eb0f0776
...
...
@@ -77,7 +77,7 @@ MWF.xApplication.process.FormDesigner.Module.$Element = MWF.FC$Element = new Cla
},
_dragDrop
:
function
(
module
,
flag
){
var
f
=
flag
||
!
(
new
Event
(
event
)).
control
;
var
f
=
flag
||
!
(
window
.
event
||
{}).
ctrlKey
;
if
(
f
){
this
.
node
.
setStyles
(
this
.
css
.
moduleNode
);
this
.
setCustomStyles
();
...
...
o2web/source/x_component_process_FormDesigner/Module/$Module.js
浏览文件 @
eb0f0776
...
...
@@ -739,11 +739,11 @@ MWF.xApplication.process.FormDesigner.Module.$Module = MWF.FC$Module = new Class
});
},
_setInjectActionAreaPosition
:
function
(){
var
e
=
new
Event
(
event
)
;
var
e
=
window
.
event
||
{}
;
var
formOffset
=
this
.
form
.
node
.
getOffsetParent
().
getPosition
();
//var p = this.node.getPosition(this.form.node.getOffsetParent());
var
y
=
e
.
page
.
y
-
formOffset
.
y
;
var
x
=
e
.
page
.
x
-
formOffset
.
x
;
var
y
=
e
.
page
Y
-
formOffset
.
y
;
var
x
=
e
.
page
X
-
formOffset
.
x
;
this
.
injectActionArea
.
setPosition
({
"
x
"
:
x
,
"
y
"
:
y
});
y
=
y
-
60
;
...
...
@@ -777,6 +777,7 @@ MWF.xApplication.process.FormDesigner.Module.$Module = MWF.FC$Module = new Class
window
.
clearTimeout
(
this
.
dragTimeout
);
this
.
dragTimeout
=
null
;
}
debugger
;
if
(
this
.
parentContainer
){
var
available
=
true
;
if
(
!
this
.
options
.
injectActions
)
available
=
false
;
...
...
@@ -787,8 +788,8 @@ MWF.xApplication.process.FormDesigner.Module.$Module = MWF.FC$Module = new Class
if
(
module
.
moduleName
===
"
datatable$Data
"
&&
!
module
.
options
.
allowModules
.
contains
(
this
.
moduleName
)
)
available
=
false
;
if
(
module
.
parentContainer
&&
module
.
parentContainer
.
moduleName
===
"
datatable$Data
"
&&
!
module
.
parentContainer
.
options
.
allowModules
.
contains
(
this
.
moduleName
)
)
available
=
false
;
var
e
=
new
Event
(
event
)
;
if
(
available
&&
e
.
c
ontrol
){
var
e
=
window
.
event
||
{}
;
if
(
available
&&
e
.
c
trlKey
){
if
(
this
.
copyNode
)
this
.
copyNode
.
setStyle
(
"
display
"
,
"
none
"
);
module
.
_showInjectAction
(
this
);
}
else
{
...
...
o2web/source/x_component_process_FormDesigner/Module/Datagrid.js
浏览文件 @
eb0f0776
...
...
@@ -320,7 +320,7 @@ MWF.xApplication.process.FormDesigner.Module.Datagrid = MWF.FCDatagrid = new Cla
},
_setEditStyle_custom
:
function
(
name
,
obj
,
oldValue
){
if
(
name
==
"
id
"
){
if
(
name
!=
oldValue
){
if
(
oldValue
&&
this
.
json
.
id
!=
oldValue
){
var
reg
=
new
RegExp
(
"
^
"
+
oldValue
,
"
i
"
);
this
.
containers
.
each
(
function
(
container
){
var
id
=
container
.
json
.
id
;
...
...
o2web/source/x_component_process_FormDesigner/Module/Datatable.js
浏览文件 @
eb0f0776
...
...
@@ -337,7 +337,7 @@ MWF.xApplication.process.FormDesigner.Module.Datatable = MWF.FCDatatable = new C
},
_setEditStyle_custom
:
function
(
name
,
obj
,
oldValue
){
if
(
name
==
"
id
"
){
if
(
name
!=
oldValue
){
if
(
oldValue
&&
this
.
json
.
id
!=
oldValue
){
var
reg
=
new
RegExp
(
"
^
"
+
oldValue
,
"
i
"
);
this
.
containers
.
each
(
function
(
container
){
var
id
=
container
.
json
.
id
;
...
...
o2web/source/x_component_process_FormDesigner/Module/Form.js
浏览文件 @
eb0f0776
...
...
@@ -701,7 +701,7 @@ MWF.xApplication.process.FormDesigner.Module.Form = MWF.FCForm = new Class({
copyNode
.
setStyle
(
"
display
"
,
"
none
"
);
},
_dragDrop
:
function
(
module
,
flag
){
var
f
=
flag
||
!
(
new
Event
(
event
)).
control
;
var
f
=
flag
||
!
(
window
.
event
||
{}).
ctrlKey
;
if
(
f
){
this
.
node
.
setStyles
((
this
.
options
.
mode
===
"
Mobile
"
)
?
this
.
css
.
formMobileNode
:
this
.
css
.
formNode
);
this
.
node
.
setStyles
(
this
.
json
.
styles
);
...
...
@@ -812,11 +812,11 @@ MWF.xApplication.process.FormDesigner.Module.Form = MWF.FCForm = new Class({
});
},
_setInjectActionAreaPosition
:
function
(){
var
e
=
new
Event
(
event
)
;
var
e
=
window
.
event
||
{}
;
var
formOffset
=
this
.
node
.
getOffsetParent
().
getPosition
();
//var p = this.node.getPosition(this.form.node.getOffsetParent());
var
y
=
e
.
page
.
y
-
formOffset
.
y
-
60
;
var
x
=
e
.
page
.
x
-
formOffset
.
x
-
60
;
var
y
=
e
.
page
Y
-
formOffset
.
y
-
60
;
var
x
=
e
.
page
X
-
formOffset
.
x
-
60
;
this
.
injectActionArea
.
setPosition
({
"
x
"
:
x
,
"
y
"
:
y
});
},
injectBefore
:
function
(
e
){
...
...
o2web/source/x_component_process_FormDesigner/Module/Table.js
浏览文件 @
eb0f0776
...
...
@@ -463,7 +463,7 @@ MWF.xApplication.process.FormDesigner.Module.Table = MWF.FCTable = new Class({
},
_setEditStyle_custom
:
function
(
name
,
obj
,
oldValue
){
if
(
name
==
"
id
"
){
if
(
name
!=
oldValue
){
if
(
oldValue
&&
this
.
json
.
id
!=
oldValue
){
var
reg
=
new
RegExp
(
"
^
"
+
oldValue
,
"
i
"
);
this
.
containers
.
each
(
function
(
container
){
var
id
=
container
.
json
.
id
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录