Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
fuyue82
o2oa
提交
bef955f2
o2oa
项目概览
fuyue82
/
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,发现更多精彩内容 >>
提交
bef955f2
编写于
4月 20, 2021
作者:
U
unknown
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
问题修改
上级
a5ca69e1
变更
8
隐藏空白更改
内联
并排
Showing
8 changed file
with
63 addition
and
24 deletion
+63
-24
o2web/source/o2_core/o2/xScript/Environment.js
o2web/source/o2_core/o2/xScript/Environment.js
+46
-21
o2web/source/o2_lib/htmleditor/ckeditor4114/plugins/image/dialogs/image.js
...ib/htmleditor/ckeditor4114/plugins/image/dialogs/image.js
+1
-0
o2web/source/o2_lib/htmleditor/ckeditor4130/plugins/image/dialogs/image.js
...ib/htmleditor/ckeditor4130/plugins/image/dialogs/image.js
+1
-0
o2web/source/x_component_cms_Xform/Htmleditor.js
o2web/source/x_component_cms_Xform/Htmleditor.js
+1
-0
o2web/source/x_component_process_FormDesigner/Module/Htmleditor/htmleditor.html
...nt_process_FormDesigner/Module/Htmleditor/htmleditor.html
+7
-0
o2web/source/x_component_process_Xform/Htmleditor.js
o2web/source/x_component_process_Xform/Htmleditor.js
+1
-0
o2web/source/x_component_query_Query/Viewer.js
o2web/source/x_component_query_Query/Viewer.js
+3
-3
o2web/source/x_component_service_InvokeDesigner/Main.js
o2web/source/x_component_service_InvokeDesigner/Main.js
+3
-0
未找到文件。
o2web/source/o2_core/o2/xScript/Environment.js
浏览文件 @
bef955f2
...
...
@@ -193,7 +193,20 @@ MWF.xScript.Environment = function(ev){
* 获取当前流程实例对象:work对象或workCompleted对象。
* @method getWork
* @static
* @return {(Work|WorkCompleted)} 流程实例对象;如果流程已结束,返回已结束的流程实例对象.
* @return {(Work|WorkCompleted)} 流程实例对象;如果流程已结束,返回已结束的流程实例对象。
* <div><br/>
* 下面的Work对象和WorkCompleted对象为后台返回的数据,脚本中我们对这两个对象进行了修改和补充,如下:
* </div>
* <pre><code class='language-js'>{
* "creatorPersonDn": "张三@zhangsan@P", //创建人,可能为空,如果由系统创建.
* "creatorPerson": "张三", //创建人姓名
* "creatorIdentityDn": "张三@481c9edc-5fb5-41f1-b5c2-6ea609082cdb@I", //创建人Identity,可能为空,如果由系统创建.
* "creatorIdentity": "张三" //创建人姓名
* "creatorUnitDn": "开发部@c448d8bb-98b8-4305-9d3f-12537723cfcc@U", //创建人组织全称,如果由系统创建。
* "creatorUnit": "开发部", //创建人组织名称
* "creatorDepartment": "开发部", //创建人组织名称,同creatorUnit
* "creatorCompany": "xx公司" //创建人组织公司名称,creatorUnitLevel的第一段
* }</code></pre>
* @o2ActionOut x_processplatform_assemble_surface.WorkAction.manageGet|example=Work|ignoreNoDescr=true|ignoreProps=[properties]|Work对象:
* @o2ActionOut x_processplatform_assemble_surface.WorkCompletedAction.get|example=WorkCompleted|ignoreProps=[properties]|WorkCompleted对象:
* @o2syntax
...
...
@@ -223,10 +236,22 @@ MWF.xScript.Environment = function(ev){
/**
* 当前流程实例正在流转中,并且当前用户有待办,则返回当前用户的待办对象,否则返回null。
* @summary 获取当前流程与当前用户相关的待办对象:task对象。
* @o2ActionOut x_processplatform_assemble_surface.TaskAction.get|example=Task
* @o2ActionOut x_processplatform_assemble_surface.TaskAction.get|example=Task
|Task对象:
* @method getTask
* @static
* @return {(Task|Null)} 当前用户的待办任务对象:task。当前用户没有对此流程实例的待办时,或流程实例已经流转结束,返回null.
* @return {(Task|Null)} 当前用户的待办任务对象:task。当前用户没有对此流程实例的待办时,或流程实例已经流转结束,返回null。
* <div><br/>
* 下面的Task对象为后台返回的数据,脚本中我们对这它进行了修改和补充,如下:
* </div>
* <pre><code class='language-js'>{
* "personDn": "张三@zhangsan@P", //创建人,可能为空,如果由系统创建.
* "person": "张三", //创建人姓名
* "identityDn": "张三@481c9edc-5fb5-41f1-b5c2-6ea609082cdb@I", //创建人Identity,可能为空,如果由系统创建.
* "identity": "张三" //创建人姓名
* "unitDn": "开发部@c448d8bb-98b8-4305-9d3f-12537723cfcc@U", //创建人组织全称,如果由系统创建。
* "unit": "开发部", //创建人组织名称
* "department": "开发部", //创建人组织名称,unit
* }</code></pre>
* @o2syntax
* var task = this.workContext.getTask();
*/
...
...
@@ -518,24 +543,24 @@ MWF.xScript.Environment = function(ev){
* var routeList = this.workContext.getRouteList();
*/
"
getRouteList
"
:
function
(){
return
(
ev
.
task
)
?
ev
.
task
.
routeNameList
:
null
;},
"
getInquiredRouteList
"
:
function
(){
return
null
;}
,
/**
* @summary 重新设置流程实例标题。。
* @method setTitle
* @static
* @param {String} title - 标题字符串.
* @o2syntax
* this.workContext.setTitle(title);
* @example
* this.workContext.setTitle("标题");
*/
"
setTitle
"
:
function
(
title
){
if
(
!
this
.
workAction
){
MWF
.
require
(
"
MWF.xScript.Actions.WorkActions
"
,
null
,
false
);
this
.
workAction
=
new
MWF
.
xScript
.
Actions
.
WorkActions
();
}
this
.
workAction
.
setTitle
(
ev
.
work
.
id
,
{
"
title
"
:
title
});
}
"
getInquiredRouteList
"
:
function
(){
return
null
;}
/
/ /
**
//
* @summary 重新设置流程实例标题。。
//
* @method setTitle
//
* @static
//
* @param {String} title - 标题字符串.
//
* @o2syntax
//
* this.workContext.setTitle(title);
//
* @example
//
* this.workContext.setTitle("标题");
//
*/
//
"setTitle": function(title){
//
if (!this.workAction){
//
MWF.require("MWF.xScript.Actions.WorkActions", null, false);
//
this.workAction = new MWF.xScript.Actions.WorkActions();
//
}
//
this.workAction.setTitle(ev.work.id, {"title": title});
//
}
};
this
.
workContent
=
this
.
workContext
;
var
_redefineWorkProperties
=
function
(
work
){
...
...
o2web/source/o2_lib/htmleditor/ckeditor4114/plugins/image/dialogs/image.js
浏览文件 @
bef955f2
...
...
@@ -356,6 +356,7 @@
},
{
type
:
"
hbox
"
,
widths
:
[
"
100%
"
],
hidden
:
!
d
.
config
.
base64Encode
,
children
:
[{
id
:
"
base64enable
"
,
type
:
"
checkbox
"
,
...
...
o2web/source/o2_lib/htmleditor/ckeditor4130/plugins/image/dialogs/image.js
浏览文件 @
bef955f2
...
...
@@ -724,6 +724,7 @@
},
{
type
:
"
hbox
"
,
widths
:
[
"
100%
"
],
hidden
:
!
editor
.
config
.
base64Encode
,
children
:
[{
id
:
"
base64enable
"
,
type
:
"
checkbox
"
,
...
...
o2web/source/x_component_cms_Xform/Htmleditor.js
浏览文件 @
bef955f2
...
...
@@ -96,6 +96,7 @@ MWF.xApplication.cms.Xform.Htmleditor = MWF.CMSHtmleditor = new Class({
// _self.selectCloudFilesImage( e, callback );
//};
editorConfig
.
base64Encode
=
(
this
.
json
.
base64Encode
===
"
y
"
);
editorConfig
.
localImageMaxWidth
=
800
;
editorConfig
.
reference
=
this
.
form
.
businessData
.
document
.
id
;
editorConfig
.
referenceType
=
"
cmsDocument
"
;
...
...
o2web/source/x_component_process_FormDesigner/Module/Htmleditor/htmleditor.html
浏览文件 @
bef955f2
...
...
@@ -21,6 +21,13 @@
</td>
</tr>
<tr>
<td
class=
"editTableTitle"
>
图片Base64编码:
</td>
<td
class=
"editTableValue"
>
<input
class=
"editTableRadio"
name=
"base64Encode"
text
{($
.ecnet=
='y')?'checked':''}
type=
"radio"
value=
"y"
/>
启用
<input
class=
"editTableRadio"
name=
"base64Encode"
text
{($.
ecnet
!='
y
')?'
checked
'
:
''}
type=
"radio"
value=
"n"
/>
禁用
</td>
</tr>
</table>
<div
class=
"MWFMaplist"
name=
"editorProperties"
title=
"属性"
></div>
...
...
o2web/source/x_component_process_Xform/Htmleditor.js
浏览文件 @
bef955f2
...
...
@@ -94,6 +94,7 @@ MWF.xApplication.process.Xform.Htmleditor = MWF.APPHtmleditor = new Class(
}
}
editorConfig
.
base64Encode
=
(
this
.
json
.
base64Encode
===
"
y
"
);
editorConfig
.
localImageMaxWidth
=
800
;
editorConfig
.
reference
=
this
.
form
.
businessData
.
work
.
job
;
editorConfig
.
referenceType
=
"
processPlatformJob
"
;
...
...
o2web/source/x_component_query_Query/Viewer.js
浏览文件 @
bef955f2
...
...
@@ -386,13 +386,13 @@ MWF.xApplication.query.Query.Viewer = MWF.QViewer = new Class({
// return true;
// }
if
(
this
.
options
&&
this
.
options
.
select
){
return
this
.
options
.
select
===
"
none
"
;
return
this
.
options
.
select
===
"
none
"
||
this
.
options
.
select
===
"
no
"
;
}
if
(
this
.
json
&&
this
.
json
.
select
){
return
this
.
json
.
select
===
"
none
"
;
return
this
.
json
.
select
===
"
none
"
||
this
.
json
.
select
===
"
no
"
;
}
if
(
this
.
viewJson
&&
this
.
viewJson
.
select
){
return
this
.
viewJson
.
select
===
"
none
"
;
return
this
.
viewJson
.
select
===
"
none
"
||
this
.
viewJson
.
select
===
"
no
"
;
}
return
true
;
// if( this.json.select === "single" || this.json.select === "multi" || this.json.defaultSelectedScript || this.viewJson.defaultSelectedScript ){
...
...
o2web/source/x_component_service_InvokeDesigner/Main.js
浏览文件 @
bef955f2
...
...
@@ -609,6 +609,9 @@ MWF.xApplication.service.InvokeDesigner.Main = new Class({
node
=
new
Element
(
"
div
"
,
{
"
styles
"
:
this
.
css
.
propertyItemTitleNode
,
"
text
"
:
this
.
lp
.
invokeMethod
+
"
:
"
}).
inject
(
this
.
propertyContentArea
);
this
.
propertyInvokeMethodNode
=
new
Element
(
"
div
"
,
{
"
styles
"
:
this
.
css
.
propertyTextNode
,
"
text
"
:
"
POST
"
}).
inject
(
this
.
propertyContentArea
);
node
=
new
Element
(
"
div
"
,
{
"
styles
"
:
this
.
css
.
propertyItemTitleNode
,
"
text
"
:
this
.
lp
.
invokeHead
+
"
:
"
}).
inject
(
this
.
propertyContentArea
);
this
.
propertyInvokeHeadTextNode
=
new
Element
(
"
div
"
,
{
"
styles
"
:
this
.
css
.
propertyTextNode
,
"
text
"
:
"
Content-Type:application/json; charset=utf-8
"
}).
inject
(
this
.
propertyContentArea
);
},
loadPropertyResize
:
function
(){
// var size = this.propertyNode.getSize();
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录