Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
fuyue82
o2oa
提交
00346f8d
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,发现更多精彩内容 >>
提交
00346f8d
编写于
2月 15, 2022
作者:
NoSubject
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
新版办公中心,切换新版提示
上级
9784870b
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
76 addition
and
4 deletion
+76
-4
o2web/source/o2_core/o2/xDesktop/Default.js
o2web/source/o2_core/o2/xDesktop/Default.js
+2
-1
o2web/source/x_component_process_TaskCenter/$Main/default/css.wcss
...rce/x_component_process_TaskCenter/$Main/default/css.wcss
+13
-0
o2web/source/x_component_process_TaskCenter/Main.js
o2web/source/x_component_process_TaskCenter/Main.js
+51
-0
o2web/source/x_component_process_TaskCenter/lp/zh-cn.js
o2web/source/x_component_process_TaskCenter/lp/zh-cn.js
+4
-1
o2web/source/x_component_process_workcenter/Main.js
o2web/source/x_component_process_workcenter/Main.js
+6
-2
未找到文件。
o2web/source/o2_core/o2/xDesktop/Default.js
浏览文件 @
00346f8d
...
...
@@ -685,7 +685,8 @@ debugger;
"
widgets
"
:
{},
"
menuData
"
:
this
.
menuData
,
"
scale
"
:
layout
.
userLayout
.
scale
||
1
,
"
clearCustomMenuDataFlag
"
:
this
.
status
.
clearCustomMenuDataFlag
||
""
"
clearCustomMenuDataFlag
"
:
this
.
status
.
clearCustomMenuDataFlag
||
""
,
"
gotoWorkcenterConfirm
"
:
layout
.
userLayout
.
gotoWorkcenterConfirm
||
false
};
// this.appArr.each(function(app){
// if (app.options.appId!==this.options.index){
...
...
o2web/source/x_component_process_TaskCenter/$Main/default/css.wcss
浏览文件 @
00346f8d
...
...
@@ -39,6 +39,19 @@
"width": "160px",
"float": "left"
},
"taskTitleInforTextNode": {
"padding": "0 20px",
"color": "#333333",
"font-size": "14px",
"line-height": "24px",
"height": "24px",
"margin-top": "12px",
"border": "1px solid #cccccc",
"border-radius": "12px",
"background-color": "#ffffff",
"float": "left",
"cursor": "pointer"
},
"searchBarAreaNode": {
"margin": "0px 110px 0px 160px",
"height": "50px",
...
...
o2web/source/x_component_process_TaskCenter/Main.js
浏览文件 @
00346f8d
...
...
@@ -51,6 +51,52 @@ MWF.xApplication.process.TaskCenter.Main = new Class({
this
.
openTab
();
if
(
callback
)
callback
();
if
(
!
layout
.
userLayout
.
gotoWorkcenterConfirm
)
this
.
gotoWorkcenterComfirm
();
},
gotoWorkcenterComfirm
:
function
(){
var
_self
=
this
;
o2
.
DL
.
open
({
"
title
"
:
""
,
"
style
"
:
"
user
"
,
"
isResize
"
:
false
,
"
text
"
:
this
.
lp
.
workcenter
,
"
maskNode
"
:
this
.
content
,
"
width
"
:
500
,
"
height
"
:
150
,
"
buttonList
"
:
[
{
"
type
"
:
"
ok
"
,
"
text
"
:
MWF
.
LP
.
process
.
button
.
ok
,
"
action
"
:
function
(
d
,
e
)
{
this
.
close
();
_self
.
checkConfirm
();
_self
.
gotoWorkcenter
();
}
},
{
"
type
"
:
"
cancel
"
,
"
text
"
:
MWF
.
LP
.
process
.
button
.
cancel
,
"
action
"
:
function
()
{
_self
.
checkConfirm
();
this
.
close
();
}
}
]
});
},
checkConfirm
:
function
(){
layout
.
userLayout
.
gotoWorkcenterConfirm
=
true
;
},
gotoWorkcenter
:
function
(){
debugger
;
layout
.
userLayout
.
flatLnks
.
forEach
(
function
(
lnk
){
if
(
lnk
.
name
===
"
process.TaskCenter
"
){
lnk
.
name
=
"
process.workcenter
"
}
});
this
.
close
();
layout
.
openApplication
(
null
,
"
process.workcenter
"
);
},
loadTitle
:
function
()
{
this
.
loadTitleBar
();
...
...
@@ -91,6 +137,11 @@ MWF.xApplication.process.TaskCenter.Main = new Class({
"
styles
"
:
this
.
css
.
taskTitleTextNode
,
"
text
"
:
this
.
lp
.
title
}).
inject
(
this
.
taskTitleBar
);
var
node
=
new
Element
(
"
div.mainColor_color
"
,
{
"
styles
"
:
this
.
css
.
taskTitleInforTextNode
,
"
text
"
:
this
.
lp
.
gotoWorkcenter
}).
inject
(
this
.
taskTitleBar
);
node
.
addEvent
(
"
click
"
,
this
.
gotoWorkcenter
.
bind
(
this
));
},
loadSearchNode
:
function
()
{
this
.
searchBarAreaNode
=
new
Element
(
"
div
"
,
{
...
...
o2web/source/x_component_process_TaskCenter/lp/zh-cn.js
浏览文件 @
00346f8d
...
...
@@ -77,6 +77,9 @@ MWF.xApplication.process.TaskCenter.LP = {
"
setReadedConfirmContent
"
:
"
您确定要将“{title}”标记为已阅吗?
"
,
"
setReadedConfirmTitle
"
:
"
标记已阅确认
"
,
"
open
"
:
"
打开
"
"
open
"
:
"
打开
"
,
"
workcenter
"
:
"
新版办公中心已上线,是否切换到新版办公中心?
"
,
"
gotoWorkcenter
"
:
"
切换到新版办公中心
"
};
o2web/source/x_component_process_workcenter/Main.js
浏览文件 @
00346f8d
...
...
@@ -20,7 +20,8 @@ MWF.xApplication.process.workcenter.Main = new Class({
this
.
content
.
loadHtml
(
url
,
{
"
bind
"
:
{
"
lp
"
:
this
.
lp
},
"
module
"
:
this
},
function
(){
this
.
setLayout
();
this
.
loadCount
();
this
.
loadList
(
"
task
"
);
var
list
=
(
this
.
status
)
?
(
this
.
status
.
navi
||
"
task
"
)
:
"
task
"
;
this
.
loadList
(
list
);
if
(
callback
)
callback
();
}.
bind
(
this
));
},
...
...
@@ -523,7 +524,10 @@ MWF.xApplication.process.workcenter.Main = new Class({
};
_self
.
app
.
desktop
.
openApplication
(
e
,
"
process.Work
"
,
options
);
});
}
},
recordStatus
:
function
(){
return
{
"
navi
"
:
this
.
currentList
.
options
.
type
};
},
});
MWF
.
xApplication
.
process
.
workcenter
.
List
=
new
Class
({
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录