Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
ghsby
o2oa
提交
a592de7e
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,发现更多精彩内容 >>
提交
a592de7e
编写于
6月 24, 2020
作者:
NoSubject
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
修复表单设计元素样式问题
上级
f36b1ce1
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
132 addition
and
7 deletion
+132
-7
o2web/source/x_component_process_FormDesigner/Module/Attachment.js
...rce/x_component_process_FormDesigner/Module/Attachment.js
+3
-0
o2web/source/x_component_process_FormDesigner/Module/Common.js
.../source/x_component_process_FormDesigner/Module/Common.js
+2
-0
o2web/source/x_component_process_FormDesigner/Module/Tab$Content.js
...ce/x_component_process_FormDesigner/Module/Tab$Content.js
+43
-3
o2web/source/x_component_process_FormDesigner/Module/Tab$Page.js
...ource/x_component_process_FormDesigner/Module/Tab$Page.js
+40
-0
o2web/source/x_component_process_FormDesigner/Module/Tab.js
o2web/source/x_component_process_FormDesigner/Module/Tab.js
+43
-3
o2web/source/x_component_process_Xform/Documenteditor.js
o2web/source/x_component_process_Xform/Documenteditor.js
+1
-1
未找到文件。
o2web/source/x_component_process_FormDesigner/Module/Attachment.js
浏览文件 @
a592de7e
...
...
@@ -67,6 +67,9 @@ MWF.xApplication.process.FormDesigner.Module.Attachment = MWF.FCAttachment = new
_initModule
:
function
(){
this
.
node
.
empty
();
this
.
loadAttachmentController
(
this
.
json
.
editorProperties
);
this
.
setPropertiesOrStyles
(
"
styles
"
);
this
.
_setNodeProperty
();
if
(
!
this
.
form
.
isSubform
)
this
.
_createIconAction
();
this
.
_setNodeEvent
();
...
...
o2web/source/x_component_process_FormDesigner/Module/Common.js
浏览文件 @
a592de7e
...
...
@@ -108,6 +108,8 @@ MWF.xApplication.process.FormDesigner.Module.Common = MWF.FCCommon = new Class({
},
setCustomStyles
:
function
(){
this
.
_recoveryModuleData
();
var
border
=
this
.
node
.
getStyle
(
"
border
"
);
this
.
node
.
clearStyles
();
var
styles
=
this
.
node
.
getStyles
(
"
display
"
,
"
padding
"
);
...
...
o2web/source/x_component_process_FormDesigner/Module/Tab$Content.js
浏览文件 @
a592de7e
...
...
@@ -107,9 +107,49 @@ MWF.xApplication.process.FormDesigner.Module.Tab$Content = MWF.FCTab$Content = n
this
.
recoveryWidgetstyle
=
null
;
if
(
this
.
json
.
recoveryStyles
)
this
.
json
.
styles
=
this
.
json
.
recoveryStyles
;
this
.
json
.
recoveryStyles
=
null
;
},
setCustomStyles
:
function
(){
this
.
_recoveryModuleData
();
}
// setCustomStyles: function(){
// this._recoveryModuleData();
// //debugger;
// var border = this.node.getStyle("border");
// this.node.clearStyles();
// this.node.setStyles(this.css.moduleNode);
//
// if (this.initialStyles) this.node.setStyles(this.initialStyles);
// this.node.setStyle("border", border);
//
// if (this.json.styles) Object.each(this.json.styles, function(value, key){
// if ((value.indexOf("x_processplatform_assemble_surface")!=-1 || value.indexOf("x_portal_assemble_surface")!=-1)){
// var host1 = MWF.Actions.getHost("x_processplatform_assemble_surface");
// var host2 = MWF.Actions.getHost("x_portal_assemble_surface");
// if (value.indexOf("/x_processplatform_assemble_surface")!==-1){
// value = value.replace("/x_processplatform_assemble_surface", host1+"/x_processplatform_assemble_surface");
// }else if (value.indexOf("x_processplatform_assemble_surface")!==-1){
// value = value.replace("x_processplatform_assemble_surface", host1+"/x_processplatform_assemble_surface");
// }
// if (value.indexOf("/x_portal_assemble_surface")!==-1){
// value = value.replace("/x_portal_assemble_surface", host2+"/x_portal_assemble_surface");
// }else if (value.indexOf("x_portal_assemble_surface")!==-1){
// value = value.replace("x_portal_assemble_surface", host2+"/x_portal_assemble_surface");
// }
// }
//
// var reg = /^border\w*/ig;
// if (!key.test(reg)){
// if (key){
// if (key.toString().toLowerCase()==="display"){
// if (value.toString().toLowerCase()==="none"){
// this.node.setStyle("opacity", 0.3);
// }else{
// this.node.setStyle("opacity", 1);
// this.node.setStyle(key, value);
// }
// }else{
// this.node.setStyle(key, value);
// }
// }
// }
// }.bind(this));
// }
});
o2web/source/x_component_process_FormDesigner/Module/Tab$Page.js
浏览文件 @
a592de7e
...
...
@@ -261,6 +261,46 @@ MWF.xApplication.process.FormDesigner.Module.Tab$Page = MWF.FCTab$Page = new Cla
},
setCustomStyles
:
function
(){
this
.
_recoveryModuleData
();
//debugger;
// var border = this.node.getStyle("border");
// this.node.clearStyles();
// this.node.setStyles(this.css.moduleNode);
//
// if (this.initialStyles) this.node.setStyles(this.initialStyles);
// this.node.setStyle("border", border);
//
// if (this.json.styles) Object.each(this.json.styles, function(value, key){
// if ((value.indexOf("x_processplatform_assemble_surface")!=-1 || value.indexOf("x_portal_assemble_surface")!=-1)){
// var host1 = MWF.Actions.getHost("x_processplatform_assemble_surface");
// var host2 = MWF.Actions.getHost("x_portal_assemble_surface");
// if (value.indexOf("/x_processplatform_assemble_surface")!==-1){
// value = value.replace("/x_processplatform_assemble_surface", host1+"/x_processplatform_assemble_surface");
// }else if (value.indexOf("x_processplatform_assemble_surface")!==-1){
// value = value.replace("x_processplatform_assemble_surface", host1+"/x_processplatform_assemble_surface");
// }
// if (value.indexOf("/x_portal_assemble_surface")!==-1){
// value = value.replace("/x_portal_assemble_surface", host2+"/x_portal_assemble_surface");
// }else if (value.indexOf("x_portal_assemble_surface")!==-1){
// value = value.replace("x_portal_assemble_surface", host2+"/x_portal_assemble_surface");
// }
// }
//
// var reg = /^border\w*/ig;
// if (!key.test(reg)){
// if (key){
// if (key.toString().toLowerCase()==="display"){
// if (value.toString().toLowerCase()==="none"){
// this.node.setStyle("opacity", 0.3);
// }else{
// this.node.setStyle("opacity", 1);
// this.node.setStyle(key, value);
// }
// }else{
// this.node.setStyle(key, value);
// }
// }
// }
// }.bind(this));
}
});
o2web/source/x_component_process_FormDesigner/Module/Tab.js
浏览文件 @
a592de7e
...
...
@@ -402,8 +402,48 @@ MWF.xApplication.process.FormDesigner.Module.Tab = MWF.FCTab = new Class({
this
.
recoveryWidgetstyle
=
null
;
if
(
this
.
json
.
recoveryStyles
)
this
.
json
.
styles
=
this
.
json
.
recoveryStyles
;
this
.
json
.
recoveryStyles
=
null
;
},
setCustomStyles
:
function
(){
this
.
_recoveryModuleData
();
}
// setCustomStyles: function(){
// this._recoveryModuleData();
// //debugger;
// var border = this.node.getStyle("border");
// this.node.clearStyles();
// this.node.setStyles(this.css.moduleNode);
//
// if (this.initialStyles) this.node.setStyles(this.initialStyles);
// this.node.setStyle("border", border);
//
// if (this.json.styles) Object.each(this.json.styles, function(value, key){
// if ((value.indexOf("x_processplatform_assemble_surface")!=-1 || value.indexOf("x_portal_assemble_surface")!=-1)){
// var host1 = MWF.Actions.getHost("x_processplatform_assemble_surface");
// var host2 = MWF.Actions.getHost("x_portal_assemble_surface");
// if (value.indexOf("/x_processplatform_assemble_surface")!==-1){
// value = value.replace("/x_processplatform_assemble_surface", host1+"/x_processplatform_assemble_surface");
// }else if (value.indexOf("x_processplatform_assemble_surface")!==-1){
// value = value.replace("x_processplatform_assemble_surface", host1+"/x_processplatform_assemble_surface");
// }
// if (value.indexOf("/x_portal_assemble_surface")!==-1){
// value = value.replace("/x_portal_assemble_surface", host2+"/x_portal_assemble_surface");
// }else if (value.indexOf("x_portal_assemble_surface")!==-1){
// value = value.replace("x_portal_assemble_surface", host2+"/x_portal_assemble_surface");
// }
// }
//
// var reg = /^border\w*/ig;
// if (!key.test(reg)){
// if (key){
// if (key.toString().toLowerCase()==="display"){
// if (value.toString().toLowerCase()==="none"){
// this.node.setStyle("opacity", 0.3);
// }else{
// this.node.setStyle("opacity", 1);
// this.node.setStyle(key, value);
// }
// }else{
// this.node.setStyle(key, value);
// }
// }
// }
// }.bind(this));
// }
});
o2web/source/x_component_process_Xform/Documenteditor.js
浏览文件 @
a592de7e
...
...
@@ -2254,7 +2254,7 @@ debugger;
this
.
node
.
setStyles
({
"
height
"
:
"
auto
"
});
debugger
;
//var content = this.contentNode.getFirst().getFirst().get("html");
var
tmpNode
=
this
.
contentNode
.
getFirst
().
getFirst
().
clone
(
true
);
var
htmlNode
=
tmpNode
.
getLast
();
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录