Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
此号慢热型
o2oa
提交
97a956c1
o2oa
项目概览
此号慢热型
/
o2oa
与 Fork 源项目一致
Fork自
浙江兰德纵横网络技术股份有限公司 / o2oa
通知
5
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,发现更多精彩内容 >>
提交
97a956c1
编写于
6月 05, 2020
作者:
NoSubject
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
修正路径转发的一些地址错误
上级
db5d7ea3
变更
9
隐藏空白更改
内联
并排
Showing
9 changed file
with
25 addition
and
26 deletion
+25
-26
o2web/source/o2_core/o2/xAction/services/x_attendance_assemble_control.js
...core/o2/xAction/services/x_attendance_assemble_control.js
+3
-3
o2web/source/o2_core/o2/xAction/services/x_bbs_assemble_control.js
...rce/o2_core/o2/xAction/services/x_bbs_assemble_control.js
+3
-3
o2web/source/o2_core/o2/xAction/services/x_file_assemble_control.js
...ce/o2_core/o2/xAction/services/x_file_assemble_control.js
+2
-3
o2web/source/o2_core/o2/xAction/services/x_meeting_assemble_control.js
...o2_core/o2/xAction/services/x_meeting_assemble_control.js
+4
-4
o2web/source/o2_core/o2/xAction/services/x_okr_assemble_control.js
...rce/o2_core/o2/xAction/services/x_okr_assemble_control.js
+5
-5
o2web/source/o2_core/o2/xAction/services/x_processplatform_assemble_surface.js
...o2/xAction/services/x_processplatform_assemble_surface.js
+1
-1
o2web/source/o2_core/o2/xAction/services/x_report_assemble_control.js
.../o2_core/o2/xAction/services/x_report_assemble_control.js
+2
-2
o2web/source/o2_core/o2/xAction/services/x_strategydeploy_assemble_control.js
.../o2/xAction/services/x_strategydeploy_assemble_control.js
+2
-2
o2web/source/o2_core/o2/xAction/services/x_teamwork_assemble_control.js
...2_core/o2/xAction/services/x_teamwork_assemble_control.js
+3
-3
未找到文件。
o2web/source/o2_core/o2/xAction/services/x_attendance_assemble_control.js
浏览文件 @
97a956c1
...
@@ -13,7 +13,7 @@ MWF.xAction.RestActions.Action["x_attendance_assemble_control"] = new Class({
...
@@ -13,7 +13,7 @@ MWF.xAction.RestActions.Action["x_attendance_assemble_control"] = new Class({
var
url
=
this
.
action
.
actions
.
exportSelfHoliday
.
uri
;
var
url
=
this
.
action
.
actions
.
exportSelfHoliday
.
uri
;
url
=
url
.
replace
(
"
{startdate}
"
,
startdate
);
url
=
url
.
replace
(
"
{startdate}
"
,
startdate
);
url
=
url
.
replace
(
"
{enddate}
"
,
enddate
);
url
=
url
.
replace
(
"
{enddate}
"
,
enddate
);
window
.
open
(
this
.
action
.
address
+
url
,
"
_blank
"
);
window
.
open
(
o2
.
filterUrl
(
this
.
action
.
address
+
url
,
"
_blank
"
)
);
}.
bind
(
this
));
}.
bind
(
this
));
},
},
uploadAttachment
:
function
(
success
,
failure
,
formData
,
file
){
uploadAttachment
:
function
(
success
,
failure
,
formData
,
file
){
...
@@ -23,7 +23,7 @@ MWF.xAction.RestActions.Action["x_attendance_assemble_control"] = new Class({
...
@@ -23,7 +23,7 @@ MWF.xAction.RestActions.Action["x_attendance_assemble_control"] = new Class({
this
.
action
.
getActions
(
function
(){
this
.
action
.
getActions
(
function
(){
var
url
=
this
.
action
.
actions
.
getAttachmentStream
.
uri
;
var
url
=
this
.
action
.
actions
.
getAttachmentStream
.
uri
;
url
=
url
.
replace
(
"
{id}
"
,
encodeURIComponent
(
id
));
url
=
url
.
replace
(
"
{id}
"
,
encodeURIComponent
(
id
));
window
.
open
(
this
.
action
.
address
+
url
);
window
.
open
(
o2
.
filterUrl
(
this
.
action
.
address
+
url
)
);
}.
bind
(
this
));
}.
bind
(
this
));
},
},
exportAbnormalAttachment
:
function
(
year
,
month
,
success
,
failure
){
exportAbnormalAttachment
:
function
(
year
,
month
,
success
,
failure
){
...
@@ -31,7 +31,7 @@ MWF.xAction.RestActions.Action["x_attendance_assemble_control"] = new Class({
...
@@ -31,7 +31,7 @@ MWF.xAction.RestActions.Action["x_attendance_assemble_control"] = new Class({
var
url
=
this
.
action
.
actions
.
exportAbnormalAttachment
.
uri
;
var
url
=
this
.
action
.
actions
.
exportAbnormalAttachment
.
uri
;
url
=
url
.
replace
(
"
{year}
"
,
year
);
url
=
url
.
replace
(
"
{year}
"
,
year
);
url
=
url
.
replace
(
"
{month}
"
,
month
);
url
=
url
.
replace
(
"
{month}
"
,
month
);
window
.
open
(
this
.
action
.
address
+
url
,
"
_blank
"
);
window
.
open
(
o2
.
filterUrl
(
this
.
action
.
address
+
url
,
"
_blank
"
)
);
}.
bind
(
this
));
}.
bind
(
this
));
//this.action.invoke({"name": "exportAbnormalAttachment", "parameter": {"year": year, "month": month },"success": success,"failure": failure});
//this.action.invoke({"name": "exportAbnormalAttachment", "parameter": {"year": year, "month": month },"success": success,"failure": failure});
},
},
...
...
o2web/source/o2_core/o2/xAction/services/x_bbs_assemble_control.js
浏览文件 @
97a956c1
...
@@ -25,7 +25,7 @@ MWF.xAction.RestActions.Action["x_bbs_assemble_control"] = new Class({
...
@@ -25,7 +25,7 @@ MWF.xAction.RestActions.Action["x_bbs_assemble_control"] = new Class({
var
url
=
this
.
action
.
actions
.
getAttachmentData
.
uri
;
var
url
=
this
.
action
.
actions
.
getAttachmentData
.
uri
;
url
=
url
.
replace
(
"
{id}
"
,
encodeURIComponent
(
id
));
url
=
url
.
replace
(
"
{id}
"
,
encodeURIComponent
(
id
));
url
=
url
.
replace
(
"
{documentid}
"
,
encodeURIComponent
(
documentid
));
url
=
url
.
replace
(
"
{documentid}
"
,
encodeURIComponent
(
documentid
));
window
.
open
(
this
.
action
.
address
+
url
);
window
.
open
(
o2
.
filterUrl
(
this
.
action
.
address
+
url
)
);
}.
bind
(
this
));
}.
bind
(
this
));
},
},
getAttachmentStream
:
function
(
id
,
documentid
){
getAttachmentStream
:
function
(
id
,
documentid
){
...
@@ -33,7 +33,7 @@ MWF.xAction.RestActions.Action["x_bbs_assemble_control"] = new Class({
...
@@ -33,7 +33,7 @@ MWF.xAction.RestActions.Action["x_bbs_assemble_control"] = new Class({
var
url
=
this
.
action
.
actions
.
getAttachmentStream
.
uri
;
var
url
=
this
.
action
.
actions
.
getAttachmentStream
.
uri
;
url
=
url
.
replace
(
"
{id}
"
,
encodeURIComponent
(
id
));
url
=
url
.
replace
(
"
{id}
"
,
encodeURIComponent
(
id
));
url
=
url
.
replace
(
"
{documentid}
"
,
encodeURIComponent
(
documentid
));
url
=
url
.
replace
(
"
{documentid}
"
,
encodeURIComponent
(
documentid
));
window
.
open
(
this
.
action
.
address
+
url
);
window
.
open
(
o2
.
filterUrl
(
this
.
action
.
address
+
url
)
);
}.
bind
(
this
));
}.
bind
(
this
));
},
},
...
@@ -42,7 +42,7 @@ MWF.xAction.RestActions.Action["x_bbs_assemble_control"] = new Class({
...
@@ -42,7 +42,7 @@ MWF.xAction.RestActions.Action["x_bbs_assemble_control"] = new Class({
var
url
=
this
.
action
.
actions
.
getAttachmentData
.
uri
;
var
url
=
this
.
action
.
actions
.
getAttachmentData
.
uri
;
url
=
url
.
replace
(
"
{id}
"
,
encodeURIComponent
(
id
));
url
=
url
.
replace
(
"
{id}
"
,
encodeURIComponent
(
id
));
url
=
url
.
replace
(
"
{documentid}
"
,
encodeURIComponent
(
documentid
));
url
=
url
.
replace
(
"
{documentid}
"
,
encodeURIComponent
(
documentid
));
if
(
callback
)
callback
(
this
.
action
.
address
+
url
);
if
(
callback
)
callback
(
o2
.
filterUrl
(
this
.
action
.
address
+
url
)
);
}.
bind
(
this
));
}.
bind
(
this
));
},
},
convertLocalImageToBase64
:
function
(
size
,
success
,
failure
,
formData
,
file
){
convertLocalImageToBase64
:
function
(
size
,
success
,
failure
,
formData
,
file
){
...
...
o2web/source/o2_core/o2/xAction/services/x_file_assemble_control.js
浏览文件 @
97a956c1
...
@@ -16,17 +16,16 @@ MWF.xAction.RestActions.Action["x_file_assemble_control"] = new Class({
...
@@ -16,17 +16,16 @@ MWF.xAction.RestActions.Action["x_file_assemble_control"] = new Class({
this
.
action
.
getActions
(
function
(){
this
.
action
.
getActions
(
function
(){
var
url
=
this
.
action
.
actions
.
getAttachmentStream
.
uri
;
var
url
=
this
.
action
.
actions
.
getAttachmentStream
.
uri
;
url
=
url
.
replace
(
"
{id}
"
,
encodeURIComponent
(
id
));
url
=
url
.
replace
(
"
{id}
"
,
encodeURIComponent
(
id
));
if
(
callback
)
callback
(
this
.
action
.
address
+
url
);
if
(
callback
)
callback
(
o2
.
filterUrl
(
this
.
action
.
address
+
url
)
);
}.
bind
(
this
));
}.
bind
(
this
));
},
},
getFileDownloadUrl
:
function
(
id
,
callback
){
getFileDownloadUrl
:
function
(
id
,
callback
){
this
.
action
.
getActions
(
function
(){
this
.
action
.
getActions
(
function
(){
var
url
=
this
.
action
.
actions
.
getAttachmentData
.
uri
;
var
url
=
this
.
action
.
actions
.
getAttachmentData
.
uri
;
url
=
url
.
replace
(
"
{id}
"
,
encodeURIComponent
(
id
));
url
=
url
.
replace
(
"
{id}
"
,
encodeURIComponent
(
id
));
if
(
callback
)
callback
(
this
.
action
.
address
+
url
);
if
(
callback
)
callback
(
o2
.
filterUrl
(
this
.
action
.
address
+
url
)
);
}.
bind
(
this
));
}.
bind
(
this
));
},
},
getBase64Code
:
function
(
success
,
failure
,
id
,
width
,
height
,
async
){
getBase64Code
:
function
(
success
,
failure
,
id
,
width
,
height
,
async
){
width
=
width
||
0
;
width
=
width
||
0
;
height
=
height
||
0
;
height
=
height
||
0
;
...
...
o2web/source/o2_core/o2/xAction/services/x_meeting_assemble_control.js
浏览文件 @
97a956c1
...
@@ -33,28 +33,28 @@ MWF.xAction.RestActions.Action["x_meeting_assemble_control"] = new Class({
...
@@ -33,28 +33,28 @@ MWF.xAction.RestActions.Action["x_meeting_assemble_control"] = new Class({
this
.
action
.
getActions
(
function
(){
this
.
action
.
getActions
(
function
(){
var
url
=
this
.
action
.
actions
.
getAttachmentData
.
uri
;
var
url
=
this
.
action
.
actions
.
getAttachmentData
.
uri
;
url
=
url
.
replace
(
"
{id}
"
,
encodeURIComponent
(
id
));
url
=
url
.
replace
(
"
{id}
"
,
encodeURIComponent
(
id
));
if
(
callback
)
callback
(
this
.
action
.
address
+
url
);
if
(
callback
)
callback
(
o2
.
filterUrl
(
this
.
action
.
address
+
url
)
);
}.
bind
(
this
));
}.
bind
(
this
));
},
},
getFileDownloadUrl
:
function
(
id
,
callback
){
getFileDownloadUrl
:
function
(
id
,
callback
){
this
.
action
.
getActions
(
function
(){
this
.
action
.
getActions
(
function
(){
var
url
=
this
.
action
.
actions
.
getAttachmentStream
.
uri
;
var
url
=
this
.
action
.
actions
.
getAttachmentStream
.
uri
;
url
=
url
.
replace
(
"
{id}
"
,
encodeURIComponent
(
id
));
url
=
url
.
replace
(
"
{id}
"
,
encodeURIComponent
(
id
));
if
(
callback
)
callback
(
this
.
action
.
address
+
url
);
if
(
callback
)
callback
(
o2
.
filterUrl
(
this
.
action
.
address
+
url
)
);
}.
bind
(
this
));
}.
bind
(
this
));
},
},
getFile
:
function
(
id
,
callback
){
getFile
:
function
(
id
,
callback
){
this
.
action
.
getActions
(
function
(){
this
.
action
.
getActions
(
function
(){
var
url
=
this
.
action
.
actions
.
getAttachmentData
.
uri
;
var
url
=
this
.
action
.
actions
.
getAttachmentData
.
uri
;
url
=
url
.
replace
(
"
{id}
"
,
encodeURIComponent
(
id
));
url
=
url
.
replace
(
"
{id}
"
,
encodeURIComponent
(
id
));
window
.
open
(
this
.
action
.
address
+
url
);
window
.
open
(
o2
.
filterUrl
(
this
.
action
.
address
+
url
)
);
}.
bind
(
this
));
}.
bind
(
this
));
},
},
getFileDownload
:
function
(
id
,
callback
){
getFileDownload
:
function
(
id
,
callback
){
this
.
action
.
getActions
(
function
(){
this
.
action
.
getActions
(
function
(){
var
url
=
this
.
action
.
actions
.
getAttachmentStream
.
uri
;
var
url
=
this
.
action
.
actions
.
getAttachmentStream
.
uri
;
url
=
url
.
replace
(
"
{id}
"
,
encodeURIComponent
(
id
));
url
=
url
.
replace
(
"
{id}
"
,
encodeURIComponent
(
id
));
window
.
open
(
this
.
action
.
address
+
url
);
window
.
open
(
o2
.
filterUrl
(
this
.
action
.
address
+
url
)
);
}.
bind
(
this
));
}.
bind
(
this
));
},
},
...
...
o2web/source/o2_core/o2/xAction/services/x_okr_assemble_control.js
浏览文件 @
97a956c1
...
@@ -15,7 +15,7 @@ MWF.xAction.RestActions.Action["x_okr_assemble_control"] = new Class({
...
@@ -15,7 +15,7 @@ MWF.xAction.RestActions.Action["x_okr_assemble_control"] = new Class({
var
url
=
this
.
action
.
actions
.
getAttachmentData
.
uri
;
var
url
=
this
.
action
.
actions
.
getAttachmentData
.
uri
;
url
=
url
.
replace
(
"
{id}
"
,
encodeURIComponent
(
id
));
url
=
url
.
replace
(
"
{id}
"
,
encodeURIComponent
(
id
));
url
=
url
.
replace
(
"
{documentid}
"
,
encodeURIComponent
(
documentid
));
url
=
url
.
replace
(
"
{documentid}
"
,
encodeURIComponent
(
documentid
));
window
.
open
(
this
.
actionAttachment
.
address
+
url
);
window
.
open
(
o2
.
filterUrl
(
this
.
actionAttachment
.
address
+
url
)
);
}.
bind
(
this
));
}.
bind
(
this
));
},
},
getAttachmentStream
:
function
(
id
,
documentid
){
getAttachmentStream
:
function
(
id
,
documentid
){
...
@@ -23,7 +23,7 @@ MWF.xAction.RestActions.Action["x_okr_assemble_control"] = new Class({
...
@@ -23,7 +23,7 @@ MWF.xAction.RestActions.Action["x_okr_assemble_control"] = new Class({
var
url
=
this
.
action
.
actions
.
getAttachmentStream
.
uri
;
var
url
=
this
.
action
.
actions
.
getAttachmentStream
.
uri
;
url
=
url
.
replace
(
"
{id}
"
,
encodeURIComponent
(
id
));
url
=
url
.
replace
(
"
{id}
"
,
encodeURIComponent
(
id
));
url
=
url
.
replace
(
"
{documentid}
"
,
encodeURIComponent
(
documentid
));
url
=
url
.
replace
(
"
{documentid}
"
,
encodeURIComponent
(
documentid
));
window
.
open
(
this
.
action
.
address
+
url
);
window
.
open
(
o2
.
filterUrl
(
this
.
action
.
address
+
url
)
);
}.
bind
(
this
));
}.
bind
(
this
));
},
},
...
@@ -32,7 +32,7 @@ MWF.xAction.RestActions.Action["x_okr_assemble_control"] = new Class({
...
@@ -32,7 +32,7 @@ MWF.xAction.RestActions.Action["x_okr_assemble_control"] = new Class({
var
url
=
this
.
action
.
actions
.
getAttachmentData
.
uri
;
var
url
=
this
.
action
.
actions
.
getAttachmentData
.
uri
;
url
=
url
.
replace
(
"
{id}
"
,
encodeURIComponent
(
id
));
url
=
url
.
replace
(
"
{id}
"
,
encodeURIComponent
(
id
));
url
=
url
.
replace
(
"
{documentid}
"
,
encodeURIComponent
(
documentid
));
url
=
url
.
replace
(
"
{documentid}
"
,
encodeURIComponent
(
documentid
));
if
(
callback
)
callback
(
this
.
action
.
address
+
url
);
if
(
callback
)
callback
(
o2
.
filterUrl
(
this
.
action
.
address
+
url
)
);
}.
bind
(
this
));
}.
bind
(
this
));
},
},
...
@@ -44,7 +44,7 @@ MWF.xAction.RestActions.Action["x_okr_assemble_control"] = new Class({
...
@@ -44,7 +44,7 @@ MWF.xAction.RestActions.Action["x_okr_assemble_control"] = new Class({
var
url
=
this
.
action
.
actions
.
getReportAttachmentData
.
uri
;
var
url
=
this
.
action
.
actions
.
getReportAttachmentData
.
uri
;
url
=
url
.
replace
(
"
{id}
"
,
encodeURIComponent
(
id
));
url
=
url
.
replace
(
"
{id}
"
,
encodeURIComponent
(
id
));
url
=
url
.
replace
(
"
{documentid}
"
,
encodeURIComponent
(
documentid
));
url
=
url
.
replace
(
"
{documentid}
"
,
encodeURIComponent
(
documentid
));
window
.
open
(
this
.
actionAttachment
.
address
+
url
);
window
.
open
(
o2
.
filterUrl
(
this
.
actionAttachment
.
address
+
url
)
);
}.
bind
(
this
));
}.
bind
(
this
));
},
},
getReportAttachmentStream
:
function
(
id
,
documentid
){
getReportAttachmentStream
:
function
(
id
,
documentid
){
...
@@ -52,7 +52,7 @@ MWF.xAction.RestActions.Action["x_okr_assemble_control"] = new Class({
...
@@ -52,7 +52,7 @@ MWF.xAction.RestActions.Action["x_okr_assemble_control"] = new Class({
var
url
=
this
.
action
.
actions
.
getReportAttachmentStream
.
uri
;
var
url
=
this
.
action
.
actions
.
getReportAttachmentStream
.
uri
;
url
=
url
.
replace
(
"
{id}
"
,
encodeURIComponent
(
id
));
url
=
url
.
replace
(
"
{id}
"
,
encodeURIComponent
(
id
));
url
=
url
.
replace
(
"
{documentid}
"
,
encodeURIComponent
(
documentid
));
url
=
url
.
replace
(
"
{documentid}
"
,
encodeURIComponent
(
documentid
));
window
.
open
(
this
.
action
.
address
+
url
);
window
.
open
(
o2
.
filterUrl
(
this
.
action
.
address
+
url
)
);
}.
bind
(
this
));
}.
bind
(
this
));
},
},
deleteReportAttachment
:
function
(
id
,
documentid
,
success
,
failure
,
async
){
deleteReportAttachment
:
function
(
id
,
documentid
,
success
,
failure
,
async
){
...
...
o2web/source/o2_core/o2/xAction/services/x_processplatform_assemble_surface.js
浏览文件 @
97a956c1
...
@@ -6,7 +6,7 @@ MWF.xAction.RestActions.Action["x_processplatform_assemble_surface"] = new Class
...
@@ -6,7 +6,7 @@ MWF.xAction.RestActions.Action["x_processplatform_assemble_surface"] = new Class
var
url
=
this
.
action
.
actions
[
"
exportViewResult
"
].
uri
;
var
url
=
this
.
action
.
actions
[
"
exportViewResult
"
].
uri
;
//url = url.replace("{applicationFlag}", app);
//url = url.replace("{applicationFlag}", app);
url
=
url
.
replace
(
"
{flag}
"
,
json
.
data
.
id
);
url
=
url
.
replace
(
"
{flag}
"
,
json
.
data
.
id
);
window
.
open
(
this
.
action
.
address
+
url
,
"
_blank
"
);
window
.
open
(
o2
.
filterUrl
(
this
.
action
.
address
+
url
,
"
_blank
"
)
);
}.
bind
(
this
)});
}.
bind
(
this
)});
},
},
saveDictionary
:
function
(
data
,
success
,
failure
){
saveDictionary
:
function
(
data
,
success
,
failure
){
...
...
o2web/source/o2_core/o2/xAction/services/x_report_assemble_control.js
浏览文件 @
97a956c1
...
@@ -7,14 +7,14 @@ MWF.xAction.RestActions.Action["x_report_assemble_control"] = new Class({
...
@@ -7,14 +7,14 @@ MWF.xAction.RestActions.Action["x_report_assemble_control"] = new Class({
this
.
action
.
getActions
(
function
(){
this
.
action
.
getActions
(
function
(){
var
url
=
this
.
action
.
actions
.
statByKeyWork
.
uri
;
var
url
=
this
.
action
.
actions
.
statByKeyWork
.
uri
;
url
=
url
.
replace
(
"
{year}
"
,
encodeURIComponent
(
year
));
url
=
url
.
replace
(
"
{year}
"
,
encodeURIComponent
(
year
));
window
.
open
(
this
.
action
.
address
+
url
);
window
.
open
(
o2
.
filterUrl
(
this
.
action
.
address
+
url
)
);
}.
bind
(
this
));
}.
bind
(
this
));
},
},
getExportFileStream
:
function
(
id
){
getExportFileStream
:
function
(
id
){
this
.
action
.
getActions
(
function
(){
this
.
action
.
getActions
(
function
(){
var
url
=
this
.
action
.
actions
.
exportStatResult
.
uri
;
var
url
=
this
.
action
.
actions
.
exportStatResult
.
uri
;
url
=
url
.
replace
(
"
{id}
"
,
encodeURIComponent
(
id
));
url
=
url
.
replace
(
"
{id}
"
,
encodeURIComponent
(
id
));
window
.
open
(
this
.
action
.
address
+
url
,
"
_blank
"
);
window
.
open
(
o2
.
filterUrl
(
this
.
action
.
address
+
url
)
,
"
_blank
"
);
}.
bind
(
this
));
}.
bind
(
this
));
}
}
//statByUnit : function( year, success,failure, async){
//statByUnit : function( year, success,failure, async){
...
...
o2web/source/o2_core/o2/xAction/services/x_strategydeploy_assemble_control.js
浏览文件 @
97a956c1
...
@@ -154,7 +154,7 @@ MWF.xAction.RestActions.Action["x_strategydeploy_assemble_control"] = new Class(
...
@@ -154,7 +154,7 @@ MWF.xAction.RestActions.Action["x_strategydeploy_assemble_control"] = new Class(
var
url
=
this
.
action
.
actions
.
getPriorityAttachmentData
.
uri
;
var
url
=
this
.
action
.
actions
.
getPriorityAttachmentData
.
uri
;
url
=
url
.
replace
(
"
{id}
"
,
encodeURIComponent
(
id
));
url
=
url
.
replace
(
"
{id}
"
,
encodeURIComponent
(
id
));
url
=
url
.
replace
(
"
{workId}
"
,
encodeURIComponent
(
workId
));
url
=
url
.
replace
(
"
{workId}
"
,
encodeURIComponent
(
workId
));
window
.
open
(
this
.
actionAttachment
.
address
+
url
);
window
.
open
(
o2
.
filterUrl
(
this
.
actionAttachment
.
address
+
url
)
);
}.
bind
(
this
));
}.
bind
(
this
));
},
},
getPriorityAttachmentStream
:
function
(
id
,
workId
){
getPriorityAttachmentStream
:
function
(
id
,
workId
){
...
@@ -162,7 +162,7 @@ MWF.xAction.RestActions.Action["x_strategydeploy_assemble_control"] = new Class(
...
@@ -162,7 +162,7 @@ MWF.xAction.RestActions.Action["x_strategydeploy_assemble_control"] = new Class(
var
url
=
this
.
action
.
actions
.
getPriorityAttachmentStream
.
uri
;
var
url
=
this
.
action
.
actions
.
getPriorityAttachmentStream
.
uri
;
url
=
url
.
replace
(
"
{id}
"
,
encodeURIComponent
(
id
));
url
=
url
.
replace
(
"
{id}
"
,
encodeURIComponent
(
id
));
url
=
url
.
replace
(
"
{workId}
"
,
encodeURIComponent
(
workId
));
url
=
url
.
replace
(
"
{workId}
"
,
encodeURIComponent
(
workId
));
window
.
open
(
this
.
action
.
address
+
url
);
window
.
open
(
o2
.
filterUrl
(
this
.
action
.
address
+
url
)
);
}.
bind
(
this
));
}.
bind
(
this
));
},
},
///////////////////////////五项///////////////////////////////
///////////////////////////五项///////////////////////////////
...
...
o2web/source/o2_core/o2/xAction/services/x_teamwork_assemble_control.js
浏览文件 @
97a956c1
...
@@ -18,7 +18,7 @@ MWF.xAction.RestActions.Action["x_teamwork_assemble_control"] = new Class({
...
@@ -18,7 +18,7 @@ MWF.xAction.RestActions.Action["x_teamwork_assemble_control"] = new Class({
var
url
=
this
.
action
.
actions
.
attachmentDownload
.
uri
;
var
url
=
this
.
action
.
actions
.
attachmentDownload
.
uri
;
url
=
url
.
replace
(
"
{id}
"
,
encodeURIComponent
(
id
));
url
=
url
.
replace
(
"
{id}
"
,
encodeURIComponent
(
id
));
url
=
url
.
replace
(
"
{documentid}
"
,
encodeURIComponent
(
documentid
));
url
=
url
.
replace
(
"
{documentid}
"
,
encodeURIComponent
(
documentid
));
window
.
open
(
this
.
actionAttachment
.
address
+
url
);
window
.
open
(
o2
.
filterUrl
(
this
.
actionAttachment
.
address
+
url
)
);
}.
bind
(
this
));
}.
bind
(
this
));
},
},
attachmentDownloadStream
:
function
(
id
,
documentid
,
callback
){
attachmentDownloadStream
:
function
(
id
,
documentid
,
callback
){
...
@@ -26,7 +26,7 @@ MWF.xAction.RestActions.Action["x_teamwork_assemble_control"] = new Class({
...
@@ -26,7 +26,7 @@ MWF.xAction.RestActions.Action["x_teamwork_assemble_control"] = new Class({
var
url
=
this
.
action
.
actions
.
attachmentDownloadStream
.
uri
;
var
url
=
this
.
action
.
actions
.
attachmentDownloadStream
.
uri
;
url
=
url
.
replace
(
"
{id}
"
,
encodeURIComponent
(
id
));
url
=
url
.
replace
(
"
{id}
"
,
encodeURIComponent
(
id
));
url
=
url
.
replace
(
"
{documentid}
"
,
encodeURIComponent
(
documentid
));
url
=
url
.
replace
(
"
{documentid}
"
,
encodeURIComponent
(
documentid
));
window
.
open
(
this
.
action
.
address
+
url
);
window
.
open
(
o2
.
filterUrl
(
this
.
action
.
address
+
url
)
);
}.
bind
(
this
));
}.
bind
(
this
));
},
},
...
@@ -36,7 +36,7 @@ MWF.xAction.RestActions.Action["x_teamwork_assemble_control"] = new Class({
...
@@ -36,7 +36,7 @@ MWF.xAction.RestActions.Action["x_teamwork_assemble_control"] = new Class({
var
url
=
this
.
action
.
actions
.
attachmentDownload
.
uri
;
var
url
=
this
.
action
.
actions
.
attachmentDownload
.
uri
;
url
=
url
.
replace
(
"
{id}
"
,
encodeURIComponent
(
id
));
url
=
url
.
replace
(
"
{id}
"
,
encodeURIComponent
(
id
));
url
=
url
.
replace
(
"
{documentid}
"
,
encodeURIComponent
(
documentid
));
url
=
url
.
replace
(
"
{documentid}
"
,
encodeURIComponent
(
documentid
));
if
(
callback
)
callback
(
this
.
action
.
address
+
url
);
if
(
callback
)
callback
(
o2
.
filterUrl
(
this
.
action
.
address
+
url
)
);
}.
bind
(
this
));
}.
bind
(
this
));
},
},
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录