Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
此号慢热型
o2oa
提交
2246d600
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,发现更多精彩内容 >>
未验证
提交
2246d600
编写于
12月 29, 2018
作者:
H
huqi1980
提交者:
GitHub
12月 29, 2018
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #24 from huqi1980/master
更新Web框架
上级
abe9de90
1509a7c8
变更
39
展开全部
隐藏空白更改
内联
并排
Showing
39 changed file
with
694 addition
and
872 deletion
+694
-872
o2web/source/o2_core/compatible.js
o2web/source/o2_core/compatible.js
+2
-0
o2web/source/o2_core/o2/widget/JavascriptEditor.js
o2web/source/o2_core/o2/widget/JavascriptEditor.js
+1
-1
o2web/source/o2_core/o2/widget/ace.js
o2web/source/o2_core/o2/widget/ace.js
+3
-3
o2web/source/x_desktop/app.html
o2web/source/x_desktop/app.html
+6
-13
o2web/source/x_desktop/appMobile.html
o2web/source/x_desktop/appMobile.html
+6
-9
o2web/source/x_desktop/cmsdocMobile.html
o2web/source/x_desktop/cmsdocMobile.html
+6
-7
o2web/source/x_desktop/cmspreview.html
o2web/source/x_desktop/cmspreview.html
+9
-47
o2web/source/x_desktop/ddsso.html
o2web/source/x_desktop/ddsso.html
+6
-6
o2web/source/x_desktop/forum.html
o2web/source/x_desktop/forum.html
+6
-7
o2web/source/x_desktop/forumdocMobile.html
o2web/source/x_desktop/forumdocMobile.html
+7
-8
o2web/source/x_desktop/index.html
o2web/source/x_desktop/index.html
+3
-3
o2web/source/x_desktop/js/app.js
o2web/source/x_desktop/js/app.js
+172
-176
o2web/source/x_desktop/js/appmobile.js
o2web/source/x_desktop/js/appmobile.js
+15
-17
o2web/source/x_desktop/js/cmsDocMobile.js
o2web/source/x_desktop/js/cmsDocMobile.js
+11
-15
o2web/source/x_desktop/js/ddsso.js
o2web/source/x_desktop/js/ddsso.js
+2
-10
o2web/source/x_desktop/js/forum.js
o2web/source/x_desktop/js/forum.js
+3
-7
o2web/source/x_desktop/js/forumDocMobile.js
o2web/source/x_desktop/js/forumDocMobile.js
+2
-6
o2web/source/x_desktop/js/portal.js
o2web/source/x_desktop/js/portal.js
+26
-19
o2web/source/x_desktop/js/portalmobile.js
o2web/source/x_desktop/js/portalmobile.js
+16
-17
o2web/source/x_desktop/js/printWork.js
o2web/source/x_desktop/js/printWork.js
+27
-31
o2web/source/x_desktop/js/weixinsso.js
o2web/source/x_desktop/js/weixinsso.js
+3
-7
o2web/source/x_desktop/js/work.js
o2web/source/x_desktop/js/work.js
+3
-7
o2web/source/x_desktop/js/workmobile.js
o2web/source/x_desktop/js/workmobile.js
+3
-7
o2web/source/x_desktop/js/workmobilewithaction.js
o2web/source/x_desktop/js/workmobilewithaction.js
+3
-7
o2web/source/x_desktop/js/zhengwuDingdingSso.js
o2web/source/x_desktop/js/zhengwuDingdingSso.js
+259
-264
o2web/source/x_desktop/oauth.html
o2web/source/x_desktop/oauth.html
+16
-32
o2web/source/x_desktop/portal.html
o2web/source/x_desktop/portal.html
+6
-9
o2web/source/x_desktop/portalmobile.html
o2web/source/x_desktop/portalmobile.html
+6
-9
o2web/source/x_desktop/preview.html
o2web/source/x_desktop/preview.html
+7
-14
o2web/source/x_desktop/printWork.html
o2web/source/x_desktop/printWork.html
+6
-9
o2web/source/x_desktop/processViewer.html
o2web/source/x_desktop/processViewer.html
+7
-14
o2web/source/x_desktop/qiyeweixinsso.html
o2web/source/x_desktop/qiyeweixinsso.html
+6
-9
o2web/source/x_desktop/sso.html
o2web/source/x_desktop/sso.html
+4
-32
o2web/source/x_desktop/weixinsso.html
o2web/source/x_desktop/weixinsso.html
+6
-9
o2web/source/x_desktop/work.html
o2web/source/x_desktop/work.html
+6
-9
o2web/source/x_desktop/workmobile.html
o2web/source/x_desktop/workmobile.html
+6
-9
o2web/source/x_desktop/workmobilewithaction.html
o2web/source/x_desktop/workmobilewithaction.html
+6
-10
o2web/source/x_desktop/zhengwuDingdingSso.html
o2web/source/x_desktop/zhengwuDingdingSso.html
+6
-6
o2web/source/x_desktop/zwddssofp.html
o2web/source/x_desktop/zwddssofp.html
+6
-7
未找到文件。
o2web/source/o2_core/compatible.js
浏览文件 @
2246d600
o2
.
addReady
(
function
(){
COMMON
=
{
"
DOM
"
:{},
"
setContentPath
"
:
function
(
path
){
COMMON
.
contentPath
=
path
;
},
...
...
@@ -21,6 +22,7 @@ o2.addReady(function(){
"
Request
"
:
Request
,
"
typeOf
"
:
o2
.
typeOf
};
COMMON
.
DOM
.
addReady
=
o2
.
addReady
;
MWF
=
o2
;
MWF
.
getJSON
=
o2
.
JSON
.
get
;
MWF
.
getJSONP
=
o2
.
JSON
.
getJsonp
;
...
...
o2web/source/o2_core/o2/widget/JavascriptEditor.js
浏览文件 @
2246d600
...
...
@@ -86,7 +86,7 @@ o2.widget.JavascriptEditor = new Class({
//添加自动完成列表
o2
.
require
(
"
o2.xScript.Macro
"
,
function
(){
var
json
=
null
;
o2
.
getJSON
(
"
/
x_desktop/res/mwf4/package
/widget/$JavascriptEditor/environment.json
"
,
function
(
data
){
json
=
data
;
},
false
);
o2
.
getJSON
(
"
/
o2_core/o2
/widget/$JavascriptEditor/environment.json
"
,
function
(
data
){
json
=
data
;
},
false
);
this
.
Macro
=
new
o2
.
Macro
.
FormContext
(
json
);
exports
.
addCompleter
({
identifierRegexps
:
[
...
...
o2web/source/o2_core/o2/widget/ace.js
浏览文件 @
2246d600
...
...
@@ -6,10 +6,10 @@ o2.widget.ace = {
if
(
!
window
.
ace
){
var
jsLoaded
=
false
;
var
cssLoaded
=
false
;
COMMON
.
AjaxModule
.
loadDom
(
"
ace
"
,
function
(){
COMMON
.
AjaxModule
.
loadDom
(
"
ace-tools
"
,
function
(){
o2
.
load
(
"
ace
"
,
function
(){
//
COMMON.AjaxModule.loadDom("ace-tools", function(){
if
(
callback
)
callback
();
}.
bind
(
this
))
//
}.bind(this))
}.
bind
(
this
));
}
else
{
if
(
callback
)
callback
();
...
...
o2web/source/x_desktop/app.html
浏览文件 @
2246d600
...
...
@@ -2,23 +2,16 @@
<html>
<head>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge"
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"res/css/style.css"
charset=
"UTF-8"
/>
<link
rel=
"stylesheet"
href=
"res/css/mBoxNotice.css"
charset=
"UTF-8"
/>
<link
rel=
"stylesheet"
href=
"res/css/mBoxTooltip.css"
charset=
"UTF-8"
/>
<script
src=
"res/common.js?v=1.1.7"
></script>
<!--<script src="res/framework/mootools/mootools-core-1.4.5-full-nocompat.js"></script>-->
<!--<script src="res/framework/mootools/mootools-more-1.4.0.1-all_2.js"></script>-->
<script
src=
"res/framework/mootools/mootools-1.6.0.min.js"
></script>
<script
src=
"res/framework/Decimal.js"
></script>
<script
src=
"res/js/app.js?v=1.1.7"
></script>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"css/style.css"
charset=
"UTF-8"
/>
<link
rel=
"stylesheet"
href=
"css/mBoxNotice.css"
charset=
"UTF-8"
/>
<link
rel=
"stylesheet"
href=
"css/mBoxTooltip.css"
charset=
"UTF-8"
/>
<script
src=
"../o2_core/o2.js?v=2.0.0"
></script>
<script
src=
"../o2_core/compatible.js?v=2.0.0"
></script>
<script
src=
"js/app.js?v=2.0.0"
></script>
<title>
O2
</title>
<meta
http-equiv=
"Content-Type"
content=
"text/html; charset=UTF-8"
/>
<!--<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport" />-->
<!--<meta content="yes" name="apple-mobile-web-app-capable" />-->
<!--<meta content="black" name="apple-mobile-web-app-status-bar-style" />-->
<!--<meta content="telephone=no" name="format-detection" />-->
</head>
<body
style=
"overflow: auto; margin:0px; height: 100%;"
>
<div
id=
"appContent"
style=
"overflow: hidden; height:100%; background-color:#EEE"
></div>
...
...
o2web/source/x_desktop/appMobile.html
浏览文件 @
2246d600
...
...
@@ -2,15 +2,12 @@
<html>
<head>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge"
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"res/css/style.css"
charset=
"UTF-8"
/>
<link
rel=
"stylesheet"
href=
"res/css/mBoxNotice.css"
charset=
"UTF-8"
/>
<link
rel=
"stylesheet"
href=
"res/css/mBoxTooltip.css"
charset=
"UTF-8"
/>
<script
src=
"res/common.js?v=1.1.7"
></script>
<!--<script src="res/framework/mootools/mootools-core-1.4.5-full-nocompat.js"></script>-->
<!--<script src="res/framework/mootools/mootools-more-1.4.0.1-all_2.js"></script>-->
<script
src=
"res/framework/mootools/mootools-1.6.0.min.js"
></script>
<script
src=
"res/framework/Decimal.js"
></script>
<script
src=
"res/js/appmobile.js?v=1.1.7"
></script>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"css/style.css"
charset=
"UTF-8"
/>
<link
rel=
"stylesheet"
href=
"css/mBoxNotice.css"
charset=
"UTF-8"
/>
<link
rel=
"stylesheet"
href=
"css/mBoxTooltip.css"
charset=
"UTF-8"
/>
<script
src=
"../o2_core/o2.js?v=2.0.0"
></script>
<script
src=
"../o2_core/compatible.js?v=2.0.0"
></script>
<script
src=
"js/appmobile.js?v=2.0.0"
></script>
<title>
OA办公系统
</title>
<meta
http-equiv=
"Content-Type"
content=
"text/html; charset=UTF-8"
/>
...
...
o2web/source/x_desktop/cmsdocMobile.html
浏览文件 @
2246d600
...
...
@@ -2,14 +2,13 @@
<html>
<head>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge"
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"
res/
css/style.css"
charset=
"UTF-8"
/>
<link
rel=
"stylesheet"
href=
"
res/
css/mBoxNotice.css"
charset=
"UTF-8"
/>
<link
rel=
"stylesheet"
href=
"
res/
css/mBoxTooltip.css"
charset=
"UTF-8"
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"css/style.css"
charset=
"UTF-8"
/>
<link
rel=
"stylesheet"
href=
"css/mBoxNotice.css"
charset=
"UTF-8"
/>
<link
rel=
"stylesheet"
href=
"css/mBoxTooltip.css"
charset=
"UTF-8"
/>
<!--<script src="res/framework/htmleditor/ckeditor451/ckeditor.js"></script>-->
<script
src=
"res/common.js?v=1.1.7"
></script>
<script
src=
"res/framework/mootools/mootools-1.6.0.min.js"
></script>
<script
src=
"res/framework/Decimal.js"
></script>
<script
src=
"res/js/cmsDocMobile.js?v=1.1.7"
></script>
<script
src=
"../o2_core/o2.js?v=2.0.0"
></script>
<script
src=
"../o2_core/compatible.js?v=2.0.0"
></script>
<script
src=
"js/cmsDocMobile.js?v=2.0.0"
></script>
<meta
content=
"width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"
name=
"viewport"
/>
<meta
content=
"yes"
name=
"apple-mobile-web-app-capable"
/>
...
...
o2web/source/x_desktop/cmspreview.html
浏览文件 @
2246d600
...
...
@@ -2,14 +2,11 @@
<html>
<head>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge"
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"/x_desktop/res/css/style.css"
charset=
"UTF-8"
/>
<link
rel=
"stylesheet"
href=
"/x_desktop/res/css/mBoxNotice.css"
charset=
"UTF-8"
/>
<link
rel=
"stylesheet"
href=
"/x_desktop/res/css/mBoxTooltip.css"
charset=
"UTF-8"
/>
<script
src=
"/x_desktop/res/common.js?v=1.1.7"
></script>
<!--<script src="/x_desktop/res/framework/mootools/mootools-core-1.4.5-full-nocompat.js"></script>-->
<!--<script src="/x_desktop/res/framework/mootools/mootools-more-1.4.0.1-all_2.js"></script>-->
<script
src=
"res/framework/mootools/mootools-1.6.0.min.js"
></script>
<script
src=
"res/framework/Decimal.js"
></script>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"css/style.css"
charset=
"UTF-8"
/>
<link
rel=
"stylesheet"
href=
"css/mBoxNotice.css"
charset=
"UTF-8"
/>
<link
rel=
"stylesheet"
href=
"css/mBoxTooltip.css"
charset=
"UTF-8"
/>
<script
src=
"../o2_core/o2.js?v=2.0.0"
></script>
<script
src=
"../o2_core/compatible.js?v=2.0.0"
></script>
<title>
FORM PREVIEW
</title>
<meta
http-equiv=
"Content-Type"
content=
"text/html; charset=UTF-8"
/>
...
...
@@ -23,12 +20,8 @@
if
(
mode
==
"
mobile
"
)
layout
.
mobile
=
true
;
}
//layout.desktop = layout;
COMMON
.
DOM
.
addReady
(
function
(){
COMMON
.
AjaxModule
.
load
(
"
/x_desktop/res/framework/mootools/plugin/mBox.Notice.js
"
,
null
,
false
);
COMMON
.
AjaxModule
.
load
(
"
/x_desktop/res/framework/mootools/plugin/mBox.Tooltip.js
"
,
null
,
false
);
COMMON
.
setContentPath
(
"
/x_desktop
"
);
COMMON
.
AjaxModule
.
load
(
"
mwf
"
,
function
(){
o2
.
addReady
(
function
(){
o2
.
load
([
"
../o2_lib/mootools/plugin/mBox.Notice.js
"
,
"
../o2_lib/mootools/plugin/mBox.Tooltip.js
"
],
function
(){
MWF
.
defaultPath
=
"
/x_desktop
"
+
MWF
.
defaultPath
;
MWF
.
loadLP
(
"
zh-cn
"
);
MWF
.
require
(
"
MWF.xDesktop.Layout
"
,
function
(){
...
...
@@ -36,7 +29,7 @@
(
function
(){
layout
.
load
=
function
(){
// if (this.isAuthentication()){
// if (this.isAuthentication()){
var
preview
=
window
.
frameElement
.
retrieve
(
"
preview
"
);
layout
.
desktop
=
window
.
frameElement
.
ownerDocument
.
window
.
layout
.
desktop
;
...
...
@@ -63,40 +56,9 @@
layout
.
appForm
.
load
();
});
});
// }
// }
};
// layout.authentication = new MWF.xDesktop.Authentication({
// "onLogin": layout.load.bind(layout)
// });
// layout.isAuthentication = function(){
// var returnValue = true;
// this.authentication.isAuthenticated(function(json){
// this.user = json.data;
// }.bind(this), function(){
// this.authentication.loadLogin(this.node);
// returnValue = false;
// }.bind(this));
// return returnValue;
// };
// layout.getServiceAddress = function(callback){
// var uri = "http://"+layout.config.center+"/x_program_center/jaxrs/distribute/assemble";
// MWF.restful("get", uri, null, function(json){
// this.serviceAddressList = json.data;
// if (callback) callback();
// }.bind(this));
// };
//
// MWF.getJSON("res/config/config.json", function(config){
// layout.config = config;
//
// layout.getServiceAddress(function(){
// layout.load();
// });
// });
layout
.
load
();
})();
...
...
o2web/source/x_desktop/ddsso.html
浏览文件 @
2246d600
...
...
@@ -2,13 +2,13 @@
<html>
<head>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge"
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"
res/
css/style.css"
charset=
"UTF-8"
/>
<link
rel=
"stylesheet"
href=
"
res/
css/mBoxNotice.css"
charset=
"UTF-8"
/>
<link
rel=
"stylesheet"
href=
"
res/
css/mBoxTooltip.css"
charset=
"UTF-8"
/>
<script
src=
"
res/common.js?v=1.1.7
"
></script>
<script
src=
"
res/framework/mootools/mootools-1.6.0.min.js
"
></script>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"css/style.css"
charset=
"UTF-8"
/>
<link
rel=
"stylesheet"
href=
"css/mBoxNotice.css"
charset=
"UTF-8"
/>
<link
rel=
"stylesheet"
href=
"css/mBoxTooltip.css"
charset=
"UTF-8"
/>
<script
src=
"
../o2_core/o2.js?v=2.0.0
"
></script>
<script
src=
"
../o2_core/compatible.js?v=2.0.0
"
></script>
<script
type=
"text/javascript"
src=
"res/framework/dingding/dingtalk.js"
></script>
<script
src=
"
res/js/ddsso.js?v=1.1.7
"
></script>
<script
src=
"
js/ddsso.js?v=2.0.0
"
></script>
<title></title>
<meta
http-equiv=
"Content-Type"
content=
"text/html; charset=UTF-8"
/>
...
...
o2web/source/x_desktop/forum.html
浏览文件 @
2246d600
...
...
@@ -2,13 +2,12 @@
<html>
<head>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge"
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"res/css/style.css"
charset=
"UTF-8"
/>
<link
rel=
"stylesheet"
href=
"res/css/mBoxNotice.css"
charset=
"UTF-8"
/>
<link
rel=
"stylesheet"
href=
"res/css/mBoxTooltip.css"
charset=
"UTF-8"
/>
<script
src=
"res/common.js?v=1.1.7"
></script>
<script
src=
"res/framework/mootools/mootools-1.6.0.min.js"
></script>
<script
src=
"res/framework/Decimal.js"
></script>
<script
src=
"res/js/forum.js?v=1.1.7"
></script>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"css/style.css"
charset=
"UTF-8"
/>
<link
rel=
"stylesheet"
href=
"css/mBoxNotice.css"
charset=
"UTF-8"
/>
<link
rel=
"stylesheet"
href=
"css/mBoxTooltip.css"
charset=
"UTF-8"
/>
<script
src=
"../o2_core/o2.js?v=2.0.0"
></script>
<script
src=
"../o2_core/compatible.js?v=2.0.0"
></script>
<script
src=
"js/forum.js?v=2.0.0"
></script>
<title>
Forum
</title>
<meta
http-equiv=
"Content-Type"
content=
"text/html; charset=UTF-8"
/>
...
...
o2web/source/x_desktop/forumdocMobile.html
浏览文件 @
2246d600
...
...
@@ -2,14 +2,13 @@
<html>
<head>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge"
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"res/css/style.css"
charset=
"UTF-8"
/>
<link
rel=
"stylesheet"
href=
"res/css/mBoxNotice.css"
charset=
"UTF-8"
/>
<link
rel=
"stylesheet"
href=
"res/css/mBoxTooltip.css"
charset=
"UTF-8"
/>
<script
src=
"res/framework/htmleditor/ckeditor451/ckeditor.js"
></script>
<script
src=
"res/common.js?v=1.1.7"
></script>
<script
src=
"res/framework/mootools/mootools-1.6.0.min.js"
></script>
<script
src=
"res/framework/Decimal.js"
></script>
<script
src=
"res/js/forumDocMobile.js?v=1.1.7"
></script>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"css/style.css"
charset=
"UTF-8"
/>
<link
rel=
"stylesheet"
href=
"css/mBoxNotice.css"
charset=
"UTF-8"
/>
<link
rel=
"stylesheet"
href=
"css/mBoxTooltip.css"
charset=
"UTF-8"
/>
<script
src=
"../o2_lib/htmleditor/ckeditor/ckeditor.js"
></script>
<script
src=
"../o2_core/o2.js?v=2.0.0"
></script>
<script
src=
"../o2_core/compatible.js?v=2.0.0"
></script>
<script
src=
"js/forumDocMobile.js?v=2.0.0"
></script>
<meta
content=
"width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"
name=
"viewport"
/>
<meta
content=
"yes"
name=
"apple-mobile-web-app-capable"
/>
...
...
o2web/source/x_desktop/index.html
浏览文件 @
2246d600
...
...
@@ -6,9 +6,9 @@
<link
rel=
"stylesheet"
href=
"css/mBoxNotice.css"
charset=
"UTF-8"
/>
<link
rel=
"stylesheet"
href=
"css/mBoxTooltip.css"
charset=
"UTF-8"
/>
<script
src=
"../o2_core/o2.js?v=
1.0.6
"
></script>
<script
src=
"../o2_core/compatible.js"
></script>
<script
src=
"js/x.js?v=
1.1.7
"
></script>
<script
src=
"../o2_core/o2.js?v=
2.0.0
"
></script>
<script
src=
"../o2_core/compatible.js
?v=2.0.0
"
></script>
<script
src=
"js/x.js?v=
2.0.0
"
></script>
<title>
O2
</title>
<meta
http-equiv=
"Content-Type"
content=
"text/html; charset=UTF-8"
/>
...
...
o2web/source/x_desktop/js/app.js
浏览文件 @
2246d600
layout
=
window
.
layout
||
{};
var
locate
=
window
.
location
;
layout
.
protocol
=
locate
.
protocol
;
var
href
=
locate
.
href
;
if
(
href
.
indexOf
(
"
debugger
"
)
!=-
1
)
layout
[
"
debugger
"
]
=
true
;
layout
.
session
=
layout
.
session
||
{};
var
uri
=
new
URI
(
href
);
var
appNames
=
uri
.
getData
(
"
app
"
);
var
optionsStr
=
uri
.
getData
(
"
option
"
);
var
statusStr
=
uri
.
getData
(
"
status
"
);
var
options
=
(
optionsStr
)
?
JSON
.
decode
(
optionsStr
)
:
null
;
var
statusObj
=
(
statusStr
)
?
JSON
.
decode
(
statusStr
)
:
null
;
layout
.
desktop
=
layout
;
COMMON
.
DOM
.
addReady
(
function
(){
COMMON
.
AjaxModule
.
load
(
"
/x_desktop/res/framework/mootools/plugin/mBox.Notice.js
"
,
null
,
false
);
COMMON
.
AjaxModule
.
load
(
"
/x_desktop/res/framework/mootools/plugin/mBox.Tooltip.js
"
,
null
,
false
);
COMMON
.
setContentPath
(
"
/x_desktop
"
);
//COMMON.AjaxModule.load("ie_adapter", function(){
COMMON
.
AjaxModule
.
load
(
"
mwf
"
,
function
(){
MWF
.
defaultPath
=
"
/x_desktop
"
+
MWF
.
defaultPath
;
MWF
.
loadLP
(
"
zh-cn
"
);
// MWF.require("MWF.widget.Mask", null, false);
// layout.mask = new MWF.widget.Mask({"style": "desktop"});
// layout.mask.load();
MWF
.
require
(
"
MWF.xDesktop.Layout
"
,
function
(){
MWF
.
require
(
"
MWF.xDesktop.Authentication
"
,
null
,
false
);
MWF
.
xDesktop
.
requireApp
(
"
Common
"
,
""
,
null
,
false
);
(
function
(){
layout
.
requireApp
=
function
(
appNames
,
callback
,
clazzName
){
o2
.
addReady
(
function
(){
var
locate
=
window
.
location
;
layout
.
protocol
=
locate
.
protocol
;
var
href
=
locate
.
href
;
if
(
href
.
indexOf
(
"
debugger
"
)
!=-
1
)
layout
[
"
debugger
"
]
=
true
;
layout
.
session
=
layout
.
session
||
{};
var
uri
=
new
URI
(
href
);
var
appNames
=
uri
.
getData
(
"
app
"
);
var
optionsStr
=
uri
.
getData
(
"
option
"
);
var
statusStr
=
uri
.
getData
(
"
status
"
);
var
options
=
(
optionsStr
)
?
JSON
.
decode
(
optionsStr
)
:
null
;
var
statusObj
=
(
statusStr
)
?
JSON
.
decode
(
statusStr
)
:
null
;
o2
.
load
([
"
../o2_lib/mootools/plugin/mBox.Notice.js
"
,
"
../o2_lib/mootools/plugin/mBox.Tooltip.js
"
],
function
(){
MWF
.
defaultPath
=
"
/x_desktop
"
+
MWF
.
defaultPath
;
MWF
.
loadLP
(
"
zh-cn
"
);
// MWF.require("MWF.widget.Mask", null, false);
// layout.mask = new MWF.widget.Mask({"style": "desktop"});
// layout.mask.load();
MWF
.
require
(
"
MWF.xDesktop.Layout
"
,
function
(){
MWF
.
require
(
"
MWF.xDesktop.Authentication
"
,
null
,
false
);
MWF
.
xDesktop
.
requireApp
(
"
Common
"
,
""
,
null
,
false
);
(
function
(){
layout
.
requireApp
=
function
(
appNames
,
callback
,
clazzName
){
var
appPath
=
appNames
.
split
(
"
.
"
);
var
appName
=
appPath
[
appPath
.
length
-
1
];
var
appObject
=
"
MWF.xApplication.
"
+
appNames
;
var
className
=
clazzName
||
"
Main
"
;
var
appClass
=
appObject
+
"
.
"
+
className
;
var
appLp
=
appObject
+
"
.lp.
"
+
MWF
.
language
;
var
baseObject
=
MWF
.
xApplication
;
appPath
.
each
(
function
(
path
,
i
){
if
(
i
<
(
appPath
.
length
-
1
)){
baseObject
[
path
]
=
baseObject
[
path
]
||
{};
}
else
{
baseObject
[
path
]
=
baseObject
[
path
]
||
{
"
options
"
:
Object
.
clone
(
MWF
.
xApplication
.
Common
.
options
)};
}
baseObject
=
baseObject
[
path
];
}.
bind
(
this
));
if
(
!
baseObject
.
options
)
baseObject
.
options
=
Object
.
clone
(
MWF
.
xApplication
.
Common
.
options
);
//MWF.xDesktop.requireApp(appNames, "lp."+MWF.language, null, false);
MWF
.
xDesktop
.
requireApp
(
appNames
,
"
lp.
"
+
MWF
.
language
,
{
"
onRequestFailure
"
:
function
(){
MWF
.
xDesktop
.
requireApp
(
appNames
,
"
lp.zh-cn
"
,
null
,
false
);
}.
bind
(
this
),
"
onSuccess
"
:
function
(){}.
bind
(
this
)
},
false
);
MWF
.
xDesktop
.
requireApp
(
appNames
,
clazzName
,
function
(){
if
(
callback
)
callback
(
baseObject
);
});
//
//MWF.require(appLp, null, false);
//MWF.require(appClass, function(){
// if (callback) callback(baseObject);
//});
};
layout
.
refreshApp
=
function
(
app
){
var
status
=
app
.
recordStatus
();
var
topWindow
=
window
.
opener
;
if
(
topWindow
){
topWindow
.
layout
.
desktop
.
openBrowserStatus
=
status
;
var
appName
=
topWindow
.
layout
.
desktop
.
openBrowserApp
||
appNames
;
var
m_status
=
status
;
var
option
=
topWindow
.
layout
.
desktop
.
openBrowserOption
||
options
;
window
.
location
.
reload
();
}
else
{
statusStr
=
JSON
.
encode
(
status
);
var
port
=
uri
.
get
(
"
port
"
);
var
url
=
uri
.
get
(
"
scheme
"
)
+
"
://
"
+
uri
.
get
(
"
host
"
)
+
((
port
)
?
"
:
"
+
port
+
"
/
"
:
""
)
+
uri
.
get
(
"
directory
"
)
+
"
?app=
"
+
appNames
+
"
&status=
"
+
statusStr
;
window
.
location
=
url
;
}
//layout.openApplication(null, appName, option||{}, m_status);
};
layout
.
openApplication
=
function
(
e
,
appNames
,
options
,
statusObj
){
if
(
layout
.
app
){
layout
.
desktop
.
openBrowserApp
=
appNames
;
layout
.
desktop
.
openBrowserStatus
=
statusObj
;
layout
.
desktop
.
openBrowserOption
=
options
;
return
window
.
open
(
"
app.html
"
,
"
_blank
"
);
}
else
{
var
appPath
=
appNames
.
split
(
"
.
"
);
var
appName
=
appPath
[
appPath
.
length
-
1
];
var
appObject
=
"
MWF.xApplication.
"
+
appNames
;
var
className
=
clazzName
||
"
Main
"
;
var
appClass
=
appObject
+
"
.
"
+
className
;
var
appLp
=
appObject
+
"
.lp.
"
+
MWF
.
language
;
var
baseObject
=
MWF
.
xApplication
;
appPath
.
each
(
function
(
path
,
i
){
if
(
i
<
(
appPath
.
length
-
1
)){
baseObject
[
path
]
=
baseObject
[
path
]
||
{};
}
else
{
baseObject
[
path
]
=
baseObject
[
path
]
||
{
"
options
"
:
Object
.
clone
(
MWF
.
xApplication
.
Common
.
options
)};
}
baseObject
=
baseObject
[
path
];
layout
.
requireApp
(
appNames
,
function
(
appNamespace
){
this
.
createNewApplication
(
e
,
appNamespace
,
appName
,
options
,
statusObj
);
}.
bind
(
this
));
}
};
layout
.
createNewApplication
=
function
(
e
,
appNamespace
,
appName
,
options
,
statusObj
){
var
app
=
new
appNamespace
[
"
Main
"
](
this
,
options
);
app
.
desktop
=
layout
;
app
.
inBrowser
=
true
;
app
.
status
=
statusObj
;
app
.
load
(
true
);
var
appId
=
appName
;
if
(
options
.
appId
){
appId
=
options
.
appId
;
}
else
{
if
(
appNamespace
.
options
.
multitask
)
appId
=
appId
+
"
-
"
+
(
new
MWF
.
widget
.
UUID
());
}
app
.
appId
=
appId
;
layout
.
app
=
app
;
};
layout
.
load
=
function
(){
this
.
isAuthentication
(
function
(){
//layout.desktop = layout;
MWF
.
require
(
"
MWF.xDesktop.MessageMobile
"
,
function
(){
layout
.
message
=
new
MWF
.
xDesktop
.
MessageMobile
();
layout
.
message
.
load
();
}.
bind
(
this
));
if
(
!
baseObject
.
options
)
baseObject
.
options
=
Object
.
clone
(
MWF
.
xApplication
.
Common
.
options
);
//MWF.xDesktop.requireApp(appNames, "lp."+MWF.language, null, false);
MWF
.
xDesktop
.
requireApp
(
appNames
,
"
lp.
"
+
MWF
.
language
,
{
"
onRequestFailure
"
:
function
(){
MWF
.
xDesktop
.
requireApp
(
appNames
,
"
lp.zh-cn
"
,
null
,
false
);
}.
bind
(
this
),
"
onSuccess
"
:
function
(){}.
bind
(
this
)
},
false
);
MWF
.
xDesktop
.
requireApp
(
appNames
,
clazzName
,
function
(){
if
(
callback
)
callback
(
baseObject
);
});
//
//MWF.require(appLp, null, false);
//MWF.require(appClass, function(){
// if (callback) callback(baseObject);
//});
};
layout
.
refreshApp
=
function
(
app
){
var
status
=
app
.
recordStatus
();
layout
.
apps
=
[];
this
.
node
=
$
(
"
layout
"
);
var
topWindow
=
window
.
opener
;
if
(
topWindow
){
topWindow
.
layout
.
desktop
.
openBrowserStatus
=
status
;
var
appName
=
topWindow
.
layout
.
desktop
.
openBrowserApp
||
appNames
;
var
m_status
=
status
;
var
m_status
=
topWindow
.
layout
.
desktop
.
openBrowserStatus
||
statusObj
;
var
option
=
topWindow
.
layout
.
desktop
.
openBrowserOption
||
options
;
window
.
location
.
reload
();
}
else
{
statusStr
=
JSON
.
encode
(
status
);
var
port
=
uri
.
get
(
"
port
"
);
var
url
=
uri
.
get
(
"
scheme
"
)
+
"
://
"
+
uri
.
get
(
"
host
"
)
+
((
port
)
?
"
:
"
+
port
+
"
/
"
:
""
)
+
uri
.
get
(
"
directory
"
)
+
"
?app=
"
+
appNames
+
"
&status=
"
+
statusStr
;
window
.
location
=
url
;
}
//layout.openApplication(null, appName, option||{}, m_status);
};
layout
.
openApplication
=
function
(
e
,
appNames
,
options
,
statusObj
){
if
(
layout
.
app
){
layout
.
desktop
.
openBrowserApp
=
appNames
;
layout
.
desktop
.
openBrowserStatus
=
statusObj
;
layout
.
desktop
.
openBrowserOption
=
options
;
return
window
.
open
(
"
app.html
"
,
"
_blank
"
);
}
else
{
var
appPath
=
appNames
.
split
(
"
.
"
);
var
appName
=
appPath
[
appPath
.
length
-
1
];
layout
.
requireApp
(
appNames
,
function
(
appNamespace
){
this
.
createNewApplication
(
e
,
appNamespace
,
appName
,
options
,
statusObj
);
}.
bind
(
this
));
}
};
layout
.
createNewApplication
=
function
(
e
,
appNamespace
,
appName
,
options
,
statusObj
){
var
app
=
new
appNamespace
[
"
Main
"
](
this
,
options
);
app
.
desktop
=
layout
;
app
.
inBrowser
=
true
;
app
.
status
=
statusObj
;
app
.
load
(
true
);
var
appId
=
appName
;
if
(
options
.
appId
){
appId
=
options
.
appId
;
layout
.
openApplication
(
null
,
appName
,
option
||
{},
m_status
);
//topWindow.layout.desktop.openBrowserApp = null;
//topWindow.layout.desktop.openBrowserStatus = null;
//topWindow.layout.desktop.openBrowserOption = null;
}
else
{
if
(
appNamespace
.
options
.
multitask
)
appId
=
appId
+
"
-
"
+
(
new
MWF
.
widget
.
UUID
());
var
appName
=
appNames
;
var
m_status
=
statusObj
;
var
option
=
options
;
layout
.
openApplication
(
null
,
appName
,
option
||
{},
m_status
);
}
app
.
appId
=
appId
;
layout
.
app
=
app
;
};
layout
.
load
=
function
(){
this
.
isAuthentication
(
function
(){
//layout.desktop = layout;
MWF
.
require
(
"
MWF.xDesktop.MessageMobile
"
,
function
(){
layout
.
message
=
new
MWF
.
xDesktop
.
MessageMobile
();
layout
.
message
.
load
();
}.
bind
(
this
));
layout
.
apps
=
[];
this
.
node
=
$
(
"
layout
"
);
var
topWindow
=
window
.
opener
;
if
(
topWindow
){
var
appName
=
topWindow
.
layout
.
desktop
.
openBrowserApp
||
appNames
;
var
m_status
=
topWindow
.
layout
.
desktop
.
openBrowserStatus
||
statusObj
;
var
option
=
topWindow
.
layout
.
desktop
.
openBrowserOption
||
options
;
layout
.
openApplication
(
null
,
appName
,
option
||
{},
m_status
);
//topWindow.layout.desktop.openBrowserApp = null;
//topWindow.layout.desktop.openBrowserStatus = null;
//topWindow.layout.desktop.openBrowserOption = null;
}
else
{
var
appName
=
appNames
;
var
m_status
=
statusObj
;
var
option
=
options
;
layout
.
openApplication
(
null
,
appName
,
option
||
{},
m_status
);
}
//layout.mask.hide();
}.
bind
(
this
));
};
layout
.
isAuthentication
=
function
(
callback
){
this
.
authentication
=
new
MWF
.
xDesktop
.
Authentication
({
"
onLogin
"
:
layout
.
load
.
bind
(
layout
)
});
var
returnValue
=
true
;
this
.
authentication
.
isAuthenticated
(
function
(
json
){
this
.
user
=
json
.
data
;
this
.
session
=
{};
this
.
session
.
user
=
json
.
data
;
if
(
callback
)
callback
();
}.
bind
(
this
),
function
(){
// if (layout.config.loginPage && layout.config.loginPage.enable && layout.config.loginPage.portal){
// MWF.xDesktop.loadPortal(layout.config.loginPage.portal);
// //window.location = "portal.html?portal="+layout.config.loginPage.portal;
// }else{
// //this.getPublicStyleLoad(node);
// this.authentication.loadLogin(document.body);
// }
this
.
authentication
.
loadLogin
(
document
.
body
);
//if (layout.mask) layout.mask.hide();
returnValue
=
false
;
}.
bind
(
this
));
return
returnValue
;
};
//layout.mask.hide();
}.
bind
(
this
));
};
MWF
.
getJSON
(
"
res/config/config.json
"
,
function
(
config
){
layout
.
config
=
config
;
if
(
layout
.
config
.
app_protocol
==
"
auto
"
){
layout
.
config
.
app_protocol
=
window
.
location
.
protocol
;
}
MWF
.
xDesktop
.
getServiceAddress
(
layout
.
config
,
function
(
service
,
center
){
layout
.
serviceAddressList
=
service
;
layout
.
centerServer
=
center
;
layout
.
load
();
}.
bind
(
this
));
//layout.getServiceAddress(function(){
// layout.load();
//});
layout
.
isAuthentication
=
function
(
callback
){
this
.
authentication
=
new
MWF
.
xDesktop
.
Authentication
({
"
onLogin
"
:
layout
.
load
.
bind
(
layout
)
});
var
returnValue
=
true
;
this
.
authentication
.
isAuthenticated
(
function
(
json
){
this
.
user
=
json
.
data
;
this
.
session
=
{};
this
.
session
.
user
=
json
.
data
;
if
(
callback
)
callback
();
}.
bind
(
this
),
function
(){
// if (layout.config.loginPage && layout.config.loginPage.enable && layout.config.loginPage.portal){
// MWF.xDesktop.loadPortal(layout.config.loginPage.portal);
// //window.location = "portal.html?portal="+layout.config.loginPage.portal;
// }else{
// //this.getPublicStyleLoad(node);
// this.authentication.loadLogin(document.body);
// }
this
.
authentication
.
loadLogin
(
document
.
body
);
//if (layout.mask) layout.mask.hide();
returnValue
=
false
;
}.
bind
(
this
));
return
returnValue
;
};
MWF
.
getJSON
(
"
res/config/config.json
"
,
function
(
config
){
layout
.
config
=
config
;
if
(
layout
.
config
.
app_protocol
==
"
auto
"
){
layout
.
config
.
app_protocol
=
window
.
location
.
protocol
;
}
MWF
.
xDesktop
.
getServiceAddress
(
layout
.
config
,
function
(
service
,
center
){
layout
.
serviceAddressList
=
service
;
layout
.
centerServer
=
center
;
layout
.
load
();
}.
bind
(
this
));
//layout.getServiceAddress(function(){
// layout.load();
//});
});
})();
})();
});
});
//}.bind(this));
});
});
\ No newline at end of file
o2web/source/x_desktop/js/appmobile.js
浏览文件 @
2246d600
layout
=
window
.
layout
||
{};
var
locate
=
window
.
location
;
layout
.
protocol
=
locate
.
protocol
;
var
href
=
locate
.
href
;
if
(
href
.
indexOf
(
"
debugger
"
)
!=-
1
)
layout
.
debugger
=
true
;
layout
.
mobile
=
true
;
layout
.
desktop
=
layout
;
layout
.
desktop
.
session
=
{};
var
uri
=
new
URI
(
href
);
var
appNames
=
uri
.
getData
(
"
app
"
);
var
optionsStr
=
(
uri
.
getData
(
"
option
"
));
var
statusStr
=
(
uri
.
getData
(
"
status
"
));
var
options
=
(
optionsStr
)
?
JSON
.
decode
(
optionsStr
)
:
null
;
var
statusObj
=
(
statusStr
)
?
JSON
.
decode
(
statusStr
)
:
null
;
o2
.
addReady
(
function
(){
var
locate
=
window
.
location
;
layout
.
protocol
=
locate
.
protocol
;
var
href
=
locate
.
href
;
if
(
href
.
indexOf
(
"
debugger
"
)
!=-
1
)
layout
.
debugger
=
true
;
layout
.
mobile
=
true
;
COMMON
.
DOM
.
addReady
(
function
(){
COMMON
.
AjaxModule
.
load
(
"
/x_desktop/res/framework/mootools/plugin/mBox.Notice.js
"
,
null
,
false
);
COMMON
.
AjaxModule
.
load
(
"
/x_desktop/res/framework/mootools/plugin/mBox.Tooltip.js
"
,
null
,
false
);
layout
.
desktop
.
session
=
{};
var
uri
=
new
URI
(
href
);
var
appNames
=
uri
.
getData
(
"
app
"
);
var
optionsStr
=
(
uri
.
getData
(
"
option
"
));
var
statusStr
=
(
uri
.
getData
(
"
status
"
));
COMMON
.
setContentPath
(
"
/x_desktop
"
);
COMMON
.
AjaxModule
.
load
(
"
mwf
"
,
function
(){
var
options
=
(
optionsStr
)
?
JSON
.
decode
(
optionsStr
)
:
null
;
var
statusObj
=
(
statusStr
)
?
JSON
.
decode
(
statusStr
)
:
null
;
o2
.
load
([
"
../o2_lib/mootools/plugin/mBox.Notice.js
"
,
"
../o2_lib/mootools/plugin/mBox.Tooltip.js
"
],
function
(){
MWF
.
defaultPath
=
"
/x_desktop
"
+
MWF
.
defaultPath
;
MWF
.
loadLP
(
"
zh-cn
"
);
...
...
o2web/source/x_desktop/js/cmsDocMobile.js
浏览文件 @
2246d600
...
...
@@ -6,12 +6,8 @@ layout.desktop = layout;
layout
.
session
=
layout
.
session
||
{};
var
href
=
locate
.
href
;
if
(
href
.
indexOf
(
"
debugger
"
)
!=-
1
)
layout
.
debugger
=
true
;
COMMON
.
DOM
.
addReady
(
function
(){
COMMON
.
AjaxModule
.
load
(
"
/x_desktop/res/framework/mootools/plugin/mBox.Notice.js
"
,
null
,
false
);
COMMON
.
AjaxModule
.
load
(
"
/x_desktop/res/framework/mootools/plugin/mBox.Tooltip.js
"
,
null
,
false
);
COMMON
.
setContentPath
(
"
/x_desktop
"
);
COMMON
.
AjaxModule
.
load
(
"
mwf
"
,
function
(){
o2
.
addReady
(
function
(){
o2
.
load
([
"
../o2_lib/mootools/plugin/mBox.Notice.js
"
,
"
../o2_lib/mootools/plugin/mBox.Tooltip.js
"
],
function
(){
MWF
.
defaultPath
=
"
/x_desktop
"
+
MWF
.
defaultPath
;
MWF
.
loadLP
(
"
zh-cn
"
);
...
...
@@ -194,15 +190,15 @@ COMMON.DOM.addReady(function(){
}
this
.
control
=
data
.
control
||
{
"
allowRead
"
:
true
,
"
allowPublishDocument
"
:
false
,
"
allowArchiveDocument
"
:
false
,
"
allowRedraftDocument
"
:
false
,
"
allowSave
"
:
false
,
"
allowPopularDocument
"
:
false
,
"
allowEditDocument
"
:
false
,
"
allowDeleteDocument
"
:
false
};
"
allowRead
"
:
true
,
"
allowPublishDocument
"
:
false
,
"
allowArchiveDocument
"
:
false
,
"
allowRedraftDocument
"
:
false
,
"
allowSave
"
:
false
,
"
allowPopularDocument
"
:
false
,
"
allowEditDocument
"
:
false
,
"
allowDeleteDocument
"
:
false
};
};
layout
.
openDocument
=
function
(){
if
(
this
.
form
){
...
...
o2web/source/x_desktop/js/ddsso.js
浏览文件 @
2246d600
...
...
@@ -5,19 +5,11 @@ var href = locate.href;
if
(
href
.
indexOf
(
"
debugger
"
)
!==-
1
)
layout
.
debugger
=
true
;
layout
.
desktop
=
layout
;
layout
.
session
=
layout
.
session
||
{};
COMMON
.
DOM
.
addReady
(
function
(){
COMMON
.
AjaxModule
.
load
(
"
/x_desktop/res/framework/mootools/plugin/mBox.Notice.js
"
,
null
,
false
);
COMMON
.
AjaxModule
.
load
(
"
/x_desktop/res/framework/mootools/plugin/mBox.Tooltip.js
"
,
null
,
false
);
COMMON
.
setContentPath
(
"
/x_desktop
"
);
COMMON
.
AjaxModule
.
load
(
"
mwf
"
,
function
(){
o2
.
addReady
(
function
(){
o2
.
load
([
"
../o2_lib/mootools/plugin/mBox.Notice.js
"
,
"
../o2_lib/mootools/plugin/mBox.Tooltip.js
"
],
function
(){
MWF
.
defaultPath
=
"
/x_desktop
"
+
MWF
.
defaultPath
;
MWF
.
loadLP
(
"
zh-cn
"
);
// MWF.require("MWF.widget.Mask", null, false);
// layout.mask = new MWF.widget.Mask({"style": "desktop"});
// layout.mask.load();
MWF
.
require
(
"
MWF.xDesktop.Layout
"
,
function
(){
MWF
.
require
(
"
MWF.xDesktop.Authentication
"
,
null
,
false
);
...
...
o2web/source/x_desktop/js/forum.js
浏览文件 @
2246d600
...
...
@@ -5,12 +5,8 @@ layout.protocol = locate.protocol;
var
href
=
locate
.
href
;
layout
.
session
=
layout
.
session
||
{};
if
(
href
.
indexOf
(
"
debugger
"
)
!=-
1
)
layout
.
debugger
=
true
;
COMMON
.
DOM
.
addReady
(
function
(){
COMMON
.
AjaxModule
.
load
(
"
/x_desktop/res/framework/mootools/plugin/mBox.Notice.js
"
,
null
,
false
);
COMMON
.
AjaxModule
.
load
(
"
/x_desktop/res/framework/mootools/plugin/mBox.Tooltip.js
"
,
null
,
false
);
COMMON
.
setContentPath
(
"
/x_desktop
"
);
COMMON
.
AjaxModule
.
load
(
"
mwf
"
,
function
(){
o2
.
addReady
(
function
(){
o2
.
load
([
"
../o2_lib/mootools/plugin/mBox.Notice.js
"
,
"
../o2_lib/mootools/plugin/mBox.Tooltip.js
"
],
function
(){
MWF
.
defaultPath
=
"
/x_desktop
"
+
MWF
.
defaultPath
;
MWF
.
loadLP
(
"
zh-cn
"
);
...
...
@@ -140,7 +136,7 @@ COMMON.DOM.addReady(function(){
var
id
=
urlParams
.
id
;
//alert(sessionStorage.getItem( appName+id+"options").id)
//alert(sessionStorage.getItem( appName+id+"status").id)
var
opt
=
sessionStorage
[
appName
+
(
id
?
id
:
""
)
+
"
options
"
];
var
opt
=
sessionStorage
[
appName
+
(
id
?
id
:
""
)
+
"
options
"
];
if
(
opt
){
option
=
JSON
.
parse
(
opt
)
}
else
if
(
id
){
...
...
o2web/source/x_desktop/js/forumDocMobile.js
浏览文件 @
2246d600
...
...
@@ -6,12 +6,8 @@ layout.protocol = locate.protocol;
var
href
=
locate
.
href
;
layout
.
session
=
layout
.
session
||
{};
if
(
href
.
indexOf
(
"
debugger
"
)
!=-
1
)
layout
.
debugger
=
true
;
COMMON
.
DOM
.
addReady
(
function
(){
COMMON
.
AjaxModule
.
load
(
"
/x_desktop/res/framework/mootools/plugin/mBox.Notice.js
"
,
null
,
false
);
COMMON
.
AjaxModule
.
load
(
"
/x_desktop/res/framework/mootools/plugin/mBox.Tooltip.js
"
,
null
,
false
);
COMMON
.
setContentPath
(
"
/x_desktop
"
);
COMMON
.
AjaxModule
.
load
(
"
mwf
"
,
function
(){
o2
.
addReady
(
function
(){
o2
.
load
([
"
../o2_lib/mootools/plugin/mBox.Notice.js
"
,
"
../o2_lib/mootools/plugin/mBox.Tooltip.js
"
],
function
(){
MWF
.
defaultPath
=
"
/x_desktop
"
+
MWF
.
defaultPath
;
MWF
.
loadLP
(
"
zh-cn
"
);
...
...
o2web/source/x_desktop/js/portal.js
浏览文件 @
2246d600
layout
=
window
.
layout
||
{};
var
locate
=
window
.
location
;
layout
.
protocol
=
locate
.
protocol
;
var
href
=
locate
.
href
;
if
(
href
.
indexOf
(
"
debugger
"
)
!=-
1
)
layout
[
"
debugger
"
]
=
true
;
layout
.
session
=
layout
.
session
||
{};
//layout.session.user = {};
layout
.
desktop
=
layout
;
var
uri
=
new
URI
(
href
);
var
appNames
=
"
portal.Portal
"
;
var
id
=
uri
.
getData
(
"
id
"
);
var
page
=
uri
.
getData
(
"
page
"
);
var
statusObj
=
{
"
portalId
"
:
id
,
"
pageId
"
:
page
};
var
options
=
null
;
o2
.
addReady
(
function
(){
layout
.
desktop
=
layout
;
COMMON
.
DOM
.
addReady
(
function
(){
COMMON
.
AjaxModule
.
load
(
"
/x_desktop/res/framework/mootools/plugin/mBox.Notice.js
"
,
null
,
false
);
COMMON
.
AjaxModule
.
load
(
"
/x_desktop/res/framework/mootools/plugin/mBox.Tooltip.js
"
,
null
,
false
);
COMMON
.
setContentPath
(
"
/x_desktop
"
);
//COMMON.AjaxModule.load("ie_adapter", function(){
COMMON
.
AjaxModule
.
load
(
"
mwf
"
,
function
(){
var
locate
=
window
.
location
;
layout
.
protocol
=
locate
.
protocol
;
var
href
=
locate
.
href
;
if
(
href
.
indexOf
(
"
debugger
"
)
!=-
1
)
layout
[
"
debugger
"
]
=
true
;
layout
.
session
=
layout
.
session
||
{};
//layout.session.user = {};
layout
.
desktop
=
layout
;
var
uri
=
new
URI
(
href
);
var
appNames
=
"
portal.Portal
"
;
var
id
=
uri
.
getData
(
"
id
"
);
var
page
=
uri
.
getData
(
"
page
"
);
var
statusObj
=
{
"
portalId
"
:
id
,
"
pageId
"
:
page
};
var
options
=
null
;
// COMMON.AjaxModule.load("/x_desktop/res/framework/mootools/plugin/mBox.Notice.js", null, false);
// COMMON.AjaxModule.load("/x_desktop/res/framework/mootools/plugin/mBox.Tooltip.js", null, false);
o2
.
load
([
"
../o2_lib/mootools/plugin/mBox.Notice.js
"
,
"
../o2_lib/mootools/plugin/mBox.Tooltip.js
"
],
function
(){
//COMMON.AjaxModule.load("mwf", function(){
MWF
.
defaultPath
=
"
/x_desktop
"
+
MWF
.
defaultPath
;
MWF
.
loadLP
(
"
zh-cn
"
);
...
...
@@ -189,5 +191,10 @@ COMMON.DOM.addReady(function(){
});
});
//});
//COMMON.setContentPath("/x_desktop");
//COMMON.AjaxModule.load("ie_adapter", function(){
//}.bind(this));
});
\ No newline at end of file
o2web/source/x_desktop/js/portalmobile.js
浏览文件 @
2246d600
layout
=
window
.
layout
||
{};
var
locate
=
window
.
location
;
layout
.
protocol
=
locate
.
protocol
;
var
href
=
locate
.
href
;
if
(
href
.
indexOf
(
"
debugger
"
)
!=-
1
)
layout
.
debugger
=
true
;
layout
.
mobile
=
true
;
layout
.
desktop
=
layout
;
layout
.
session
=
layout
.
session
||
{};
var
uri
=
new
URI
(
href
);
var
appNames
=
"
portal.Portal
"
;
var
id
=
uri
.
getData
(
"
id
"
);
var
page
=
uri
.
getData
(
"
page
"
);
var
statusObj
=
{
"
portalId
"
:
id
,
"
pageId
"
:
page
};
var
options
=
null
;
COMMON
.
DOM
.
addReady
(
function
(){
COMMON
.
AjaxModule
.
load
(
"
/x_desktop/res/framework/mootools/plugin/mBox.Notice.js
"
,
null
,
false
);
COMMON
.
AjaxModule
.
load
(
"
/x_desktop/res/framework/mootools/plugin/mBox.Tooltip.js
"
,
null
,
false
);
o2
.
addReady
(
function
(){
COMMON
.
setContentPath
(
"
/x_desktop
"
);
COMMON
.
AjaxModule
.
load
(
"
mwf
"
,
function
(){
var
locate
=
window
.
location
;
layout
.
protocol
=
locate
.
protocol
;
var
href
=
locate
.
href
;
if
(
href
.
indexOf
(
"
debugger
"
)
!=-
1
)
layout
.
debugger
=
true
;
layout
.
mobile
=
true
;
layout
.
session
=
layout
.
session
||
{};
var
uri
=
new
URI
(
href
);
var
appNames
=
"
portal.Portal
"
;
var
id
=
uri
.
getData
(
"
id
"
);
var
page
=
uri
.
getData
(
"
page
"
);
var
statusObj
=
{
"
portalId
"
:
id
,
"
pageId
"
:
page
};
var
options
=
null
;
o2
.
load
([
"
../o2_lib/mootools/plugin/mBox.Notice.js
"
,
"
../o2_lib/mootools/plugin/mBox.Tooltip.js
"
],
function
(){
MWF
.
defaultPath
=
"
/x_desktop
"
+
MWF
.
defaultPath
;
MWF
.
loadLP
(
"
zh-cn
"
);
...
...
o2web/source/x_desktop/js/printWork.js
浏览文件 @
2246d600
...
...
@@ -5,12 +5,8 @@ var href = locate.href;
if
(
href
.
indexOf
(
"
debugger
"
)
!=-
1
)
layout
.
debugger
=
true
;
layout
.
desktop
=
layout
;
layout
.
session
=
layout
.
session
||
{};
COMMON
.
DOM
.
addReady
(
function
(){
COMMON
.
AjaxModule
.
load
(
"
/x_desktop/res/framework/mootools/plugin/mBox.Notice.js
"
,
null
,
false
);
COMMON
.
AjaxModule
.
load
(
"
/x_desktop/res/framework/mootools/plugin/mBox.Tooltip.js
"
,
null
,
false
);
COMMON
.
setContentPath
(
"
/x_desktop
"
);
COMMON
.
AjaxModule
.
load
(
"
mwf
"
,
function
(){
o2
.
addReady
(
function
(){
o2
.
load
([
"
../o2_lib/mootools/plugin/mBox.Notice.js
"
,
"
../o2_lib/mootools/plugin/mBox.Tooltip.js
"
],
function
(){
MWF
.
defaultPath
=
"
/x_desktop
"
+
MWF
.
defaultPath
;
MWF
.
loadLP
(
"
zh-cn
"
);
...
...
@@ -168,7 +164,7 @@ COMMON.DOM.addReady(function(){
return
null
;
};
layout
.
parseData
=
function
(
data
){
// this.setTitle(this.options.title+"-"+data.work.title);
// this.setTitle(this.options.title+"-"+data.work.title);
this
.
activity
=
data
.
activity
;
this
.
data
=
data
.
data
;
...
...
@@ -184,30 +180,30 @@ COMMON.DOM.addReady(function(){
this
.
form
=
JSON
.
decode
(
MWF
.
decodeJsonString
(
data
.
form
.
data
));
};
layout
.
fireEvent
=
function
(){},
layout
.
openWork
=
function
(){
MWF
.
xDesktop
.
requireApp
(
"
process.Xform
"
,
"
Form
"
,
function
(){
this
.
options
.
readonly
=
true
;
this
.
appForm
=
new
MWF
.
APPForm
(
this
.
node
,
this
.
form
,
{
"
readonly
"
:
this
.
options
.
readonly
});
this
.
appForm
.
businessData
=
{
"
data
"
:
this
.
data
,
"
taskList
"
:
this
.
taskList
,
"
work
"
:
this
.
work
,
"
workCompleted
"
:
this
.
workCompleted
,
"
control
"
:
this
.
control
,
"
activity
"
:
this
.
activity
,
"
task
"
:
this
.
currentTask
,
"
workLogList
"
:
this
.
workLogList
,
"
attachmentList
"
:
this
.
attachmentList
,
"
inheritedAttachmentList
"
:
this
.
inheritedAttachmentList
,
"
status
"
:
{
"
readonly
"
:
(
this
.
options
.
readonly
)
?
true
:
false
}
};
this
.
appForm
.
workAction
=
this
.
action
;
this
.
appForm
.
app
=
this
;
this
.
appForm
.
load
();
}.
bind
(
this
))
};
layout
.
openWork
=
function
(){
MWF
.
xDesktop
.
requireApp
(
"
process.Xform
"
,
"
Form
"
,
function
(){
this
.
options
.
readonly
=
true
;
this
.
appForm
=
new
MWF
.
APPForm
(
this
.
node
,
this
.
form
,
{
"
readonly
"
:
this
.
options
.
readonly
});
this
.
appForm
.
businessData
=
{
"
data
"
:
this
.
data
,
"
taskList
"
:
this
.
taskList
,
"
work
"
:
this
.
work
,
"
workCompleted
"
:
this
.
workCompleted
,
"
control
"
:
this
.
control
,
"
activity
"
:
this
.
activity
,
"
task
"
:
this
.
currentTask
,
"
workLogList
"
:
this
.
workLogList
,
"
attachmentList
"
:
this
.
attachmentList
,
"
inheritedAttachmentList
"
:
this
.
inheritedAttachmentList
,
"
status
"
:
{
"
readonly
"
:
(
this
.
options
.
readonly
)
?
true
:
false
}
};
this
.
appForm
.
workAction
=
this
.
action
;
this
.
appForm
.
app
=
this
;
this
.
appForm
.
load
();
}.
bind
(
this
))
};
layout
.
isAuthentication
=
function
(){
layout
.
authentication
=
new
MWF
.
xDesktop
.
Authentication
({
...
...
o2web/source/x_desktop/js/weixinsso.js
浏览文件 @
2246d600
...
...
@@ -5,12 +5,8 @@ var href = locate.href;
if
(
href
.
indexOf
(
"
debugger
"
)
!=-
1
)
layout
.
debugger
=
true
;
layout
.
desktop
=
layout
;
layout
.
session
=
layout
.
session
||
{};
COMMON
.
DOM
.
addReady
(
function
(){
COMMON
.
AjaxModule
.
load
(
"
/x_desktop/res/framework/mootools/plugin/mBox.Notice.js
"
,
null
,
false
);
COMMON
.
AjaxModule
.
load
(
"
/x_desktop/res/framework/mootools/plugin/mBox.Tooltip.js
"
,
null
,
false
);
COMMON
.
setContentPath
(
"
/x_desktop
"
);
COMMON
.
AjaxModule
.
load
(
"
mwf
"
,
function
(){
o2
.
addReady
(
function
(){
o2
.
load
([
"
../o2_lib/mootools/plugin/mBox.Notice.js
"
,
"
../o2_lib/mootools/plugin/mBox.Tooltip.js
"
],
function
(){
MWF
.
defaultPath
=
"
/x_desktop
"
+
MWF
.
defaultPath
;
MWF
.
loadLP
(
"
zh-cn
"
);
...
...
@@ -23,7 +19,7 @@ COMMON.DOM.addReady(function(){
(
function
(){
layout
.
load
=
function
(){
var
uri
=
href
.
toURI
();
MWF
.
require
(
"
MWF.xDesktop.Actions.RestActions
"
,
function
(){
var
action
=
new
MWF
.
xDesktop
.
Actions
.
RestActions
(
""
,
"
x_organization_assemble_authentication
"
,
""
);
...
...
o2web/source/x_desktop/js/work.js
浏览文件 @
2246d600
...
...
@@ -8,12 +8,8 @@ layout.desktop = layout;
var
parentWindow
=
window
.
opener
;
COMMON
.
DOM
.
addReady
(
function
(){
COMMON
.
AjaxModule
.
load
(
"
/x_desktop/res/framework/mootools/plugin/mBox.Notice.js
"
,
null
,
false
);
COMMON
.
AjaxModule
.
load
(
"
/x_desktop/res/framework/mootools/plugin/mBox.Tooltip.js
"
,
null
,
false
);
COMMON
.
setContentPath
(
"
/x_desktop
"
);
COMMON
.
AjaxModule
.
load
(
"
mwf
"
,
function
(){
o2
.
addReady
(
function
(){
o2
.
load
([
"
../o2_lib/mootools/plugin/mBox.Notice.js
"
,
"
../o2_lib/mootools/plugin/mBox.Tooltip.js
"
],
function
(){
MWF
.
defaultPath
=
"
/x_desktop
"
+
MWF
.
defaultPath
;
MWF
.
loadLP
(
"
zh-cn
"
);
...
...
@@ -209,7 +205,7 @@ COMMON.DOM.addReady(function(){
return
null
;
};
layout
.
parseData
=
function
(
data
){
// this.setTitle(this.options.title+"-"+data.work.title);
// this.setTitle(this.options.title+"-"+data.work.title);
this
.
activity
=
data
.
activity
;
this
.
data
=
data
.
data
;
...
...
o2web/source/x_desktop/js/workmobile.js
浏览文件 @
2246d600
...
...
@@ -7,12 +7,8 @@ if (href.indexOf("debugger")!=-1) layout.debugger = true;
layout
.
mobile
=
true
;
layout
.
desktop
=
layout
;
layout
.
desktop
.
session
=
{};
COMMON
.
DOM
.
addReady
(
function
(){
COMMON
.
AjaxModule
.
load
(
"
/x_desktop/res/framework/mootools/plugin/mBox.Notice.js
"
,
null
,
false
);
COMMON
.
AjaxModule
.
load
(
"
/x_desktop/res/framework/mootools/plugin/mBox.Tooltip.js
"
,
null
,
false
);
COMMON
.
setContentPath
(
"
/x_desktop
"
);
COMMON
.
AjaxModule
.
load
(
"
mwf
"
,
function
(){
o2
.
addReady
(
function
(){
o2
.
load
([
"
../o2_lib/mootools/plugin/mBox.Notice.js
"
,
"
../o2_lib/mootools/plugin/mBox.Tooltip.js
"
],
function
(){
MWF
.
defaultPath
=
"
/x_desktop
"
+
MWF
.
defaultPath
;
MWF
.
loadLP
(
"
zh-cn
"
);
...
...
@@ -178,7 +174,7 @@ COMMON.DOM.addReady(function(){
return
null
;
};
layout
.
parseData
=
function
(
data
){
// this.setTitle(this.options.title+"-"+data.work.title);
// this.setTitle(this.options.title+"-"+data.work.title);
this
.
activity
=
data
.
activity
;
this
.
data
=
data
.
data
;
...
...
o2web/source/x_desktop/js/workmobilewithaction.js
浏览文件 @
2246d600
...
...
@@ -7,12 +7,8 @@ layout.mobile = true;
layout
.
desktop
=
layout
;
layout
.
desktop
.
session
=
{};
layout
.
session
=
layout
.
session
||
{};
COMMON
.
DOM
.
addReady
(
function
(){
COMMON
.
AjaxModule
.
load
(
"
/x_desktop/res/framework/mootools/plugin/mBox.Notice.js
"
,
null
,
false
);
COMMON
.
AjaxModule
.
load
(
"
/x_desktop/res/framework/mootools/plugin/mBox.Tooltip.js
"
,
null
,
false
);
COMMON
.
setContentPath
(
"
/x_desktop
"
);
COMMON
.
AjaxModule
.
load
(
"
mwf
"
,
function
(){
o2
.
addReady
(
function
(){
o2
.
load
([
"
../o2_lib/mootools/plugin/mBox.Notice.js
"
,
"
../o2_lib/mootools/plugin/mBox.Tooltip.js
"
],
function
(){
MWF
.
defaultPath
=
"
/x_desktop
"
+
MWF
.
defaultPath
;
MWF
.
loadLP
(
"
zh-cn
"
);
...
...
@@ -289,7 +285,7 @@ COMMON.DOM.addReady(function(){
return
null
;
};
layout
.
parseData
=
function
(
data
){
// this.setTitle(this.options.title+"-"+data.work.title);
// this.setTitle(this.options.title+"-"+data.work.title);
this
.
activity
=
data
.
activity
;
this
.
data
=
data
.
data
;
...
...
o2web/source/x_desktop/js/zhengwuDingdingSso.js
浏览文件 @
2246d600
此差异已折叠。
点击以展开。
o2web/source/x_desktop/oauth.html
浏览文件 @
2246d600
...
...
@@ -4,13 +4,13 @@
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge"
/>
<meta
charset=
"UTF-8"
>
<title></title>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"
res/
css/style.css"
charset=
"UTF-8"
/>
<link
rel=
"stylesheet"
href=
"
res/
css/mBoxNotice.css"
charset=
"UTF-8"
/>
<link
rel=
"stylesheet"
href=
"
res/
css/mBoxTooltip.css"
charset=
"UTF-8"
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"css/style.css"
charset=
"UTF-8"
/>
<link
rel=
"stylesheet"
href=
"css/mBoxNotice.css"
charset=
"UTF-8"
/>
<link
rel=
"stylesheet"
href=
"css/mBoxTooltip.css"
charset=
"UTF-8"
/>
<!--<script src="res/framework/mootools/mootools-core-1.4.5-full-nocompat.js"></script>-->
<!--<script src="res/framework/mootools/mootools-more-1.4.0.1-all_2.js"></script>-->
<script
src=
"
res/framework/mootools/mootools-1.6.0.min.js
"
></script>
<script
src=
"
res/common.js?v=1.1.7
"
></script>
<script
src=
"
../o2_core/o2.js?v=2.0.0
"
></script>
<script
src=
"
../o2_core/compatible.js?v=2.0.0
"
></script>
<script>
layout
=
window
.
layout
||
{};
...
...
@@ -85,38 +85,22 @@
}.
bind
(
this
));
};
COMMON
.
setContentPath
(
"
/x_desktop
"
);
COMMON
.
AjaxModule
.
load
(
"
mwf
"
,
function
(){
o2
.
load
(
"
mwf
"
,
function
(){
MWF
.
defaultPath
=
"
/x_desktop
"
+
MWF
.
defaultPath
;
MWF
.
loadLP
(
"
zh-cn
"
);
MWF
.
require
(
"
MWF.xDesktop.Common
"
,
null
,
false
);
MWF
.
require
(
"
MWF.xAction.RestActions
"
,
null
,
false
);
COMMON
.
AjaxModule
.
load
(
"
/x_desktop/res/framework/mootools/plugin/mBox.Notice.js
"
,
null
,
false
);
COMMON
.
AjaxModule
.
load
(
"
/x_desktop/res/framework/mootools/plugin/mBox.Tooltip.js
"
,
null
,
false
);
MWF
.
getJSON
(
"
res/config/config.json
"
,
function
(
config
)
{
layout
.
config
=
config
;
MWF
.
xDesktop
.
getServiceAddress
(
config
,
function
(
service
,
center
)
{
layout
.
serviceAddressList
=
service
;
layout
.
centerServer
=
center
;
layout
.
load
();
}.
bind
(
this
));
}.
bind
(
this
));
// MWF.require("MWF.xDesktop.Layout", function() {
// MWF.require("MWF.xDesktop.Authentication", null, false);
// MWF.getJSON("res/config/config.json", function (config) {
// layout.config = config;
// MWF.xDesktop.getServiceAddress(config, function (service, center) {
// layout.serviceAddressList = service;
// layout.centerServer = center;
// layout.load();
// }.bind(this));
// });
//
//
// });
o2
.
load
([
"
../o2_lib/mootools/plugin/mBox.Notice.js
"
,
"
../o2_lib/mootools/plugin/mBox.Tooltip.js
"
],
function
(){
o2
.
JSON
.
get
(
"
res/config/config.json
"
,
function
(
config
)
{
layout
.
config
=
config
;
MWF
.
xDesktop
.
getServiceAddress
(
config
,
function
(
service
,
center
)
{
layout
.
serviceAddressList
=
service
;
layout
.
centerServer
=
center
;
layout
.
load
();
}.
bind
(
this
));
}.
bind
(
this
));
});
});
</script>
</head>
...
...
o2web/source/x_desktop/portal.html
浏览文件 @
2246d600
...
...
@@ -2,15 +2,12 @@
<html>
<head>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge"
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"res/css/style.css"
charset=
"UTF-8"
/>
<link
rel=
"stylesheet"
href=
"res/css/mBoxNotice.css"
charset=
"UTF-8"
/>
<link
rel=
"stylesheet"
href=
"res/css/mBoxTooltip.css"
charset=
"UTF-8"
/>
<script
src=
"res/common.js?v=1.1.7"
></script>
<!--<script src="res/framework/mootools/mootools-core-1.4.5-full-nocompat.js"></script>-->
<!--<script src="res/framework/mootools/mootools-more-1.4.0.1-all_2.js"></script>-->
<script
src=
"res/framework/mootools/mootools-1.6.0_all.js"
></script>
<script
src=
"res/framework/Decimal.js"
></script>
<script
src=
"res/js/portal.js?v=1.1.7"
></script>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"css/style.css"
charset=
"UTF-8"
/>
<link
rel=
"stylesheet"
href=
"css/mBoxNotice.css"
charset=
"UTF-8"
/>
<link
rel=
"stylesheet"
href=
"css/mBoxTooltip.css"
charset=
"UTF-8"
/>
<script
src=
"../o2_core/o2.js?v=2.0.0"
></script>
<script
src=
"../o2_core/compatible.js?v=2.0.0"
></script>
<script
src=
"js/portal.js?v=2.0.0"
></script>
<title>
O2
</title>
...
...
o2web/source/x_desktop/portalmobile.html
浏览文件 @
2246d600
...
...
@@ -2,15 +2,12 @@
<html>
<head>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge"
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"res/css/style.css"
charset=
"UTF-8"
/>
<link
rel=
"stylesheet"
href=
"res/css/mBoxNotice.css"
charset=
"UTF-8"
/>
<link
rel=
"stylesheet"
href=
"res/css/mBoxTooltip.css"
charset=
"UTF-8"
/>
<script
src=
"res/common.js?v=1.1.7"
></script>
<!--<script src="res/framework/mootools/mootools-core-1.4.5-full-nocompat.js"></script>-->
<!--<script src="res/framework/mootools/mootools-more-1.4.0.1-all_2.js"></script>-->
<script
src=
"res/framework/mootools/mootools-1.6.0_all.js"
></script>
<script
src=
"res/framework/Decimal.js"
></script>
<script
src=
"res/js/portalmobile.js?v=1.1.7"
></script>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"css/style.css"
charset=
"UTF-8"
/>
<link
rel=
"stylesheet"
href=
"css/mBoxNotice.css"
charset=
"UTF-8"
/>
<link
rel=
"stylesheet"
href=
"css/mBoxTooltip.css"
charset=
"UTF-8"
/>
<script
src=
"../o2_core/o2.js?v=2.0.0"
></script>
<script
src=
"../o2_core/compatible.js?v=2.0.0"
></script>
<script
src=
"js/portalmobile.js?v=2.0.0"
></script>
<title>
O2
</title>
...
...
o2web/source/x_desktop/preview.html
浏览文件 @
2246d600
...
...
@@ -2,14 +2,12 @@
<html>
<head>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge"
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"
/x_desktop/res/
css/style.css"
charset=
"UTF-8"
/>
<link
rel=
"stylesheet"
href=
"
/x_desktop/res/
css/mBoxNotice.css"
charset=
"UTF-8"
/>
<link
rel=
"stylesheet"
href=
"
/x_desktop/res/
css/mBoxTooltip.css"
charset=
"UTF-8"
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"css/style.css"
charset=
"UTF-8"
/>
<link
rel=
"stylesheet"
href=
"css/mBoxNotice.css"
charset=
"UTF-8"
/>
<link
rel=
"stylesheet"
href=
"css/mBoxTooltip.css"
charset=
"UTF-8"
/>
<script
src=
"/x_desktop/res/common.js?v=1.1.7"
></script>
<!--<script src="/x_desktop/res/framework/mootools/mootools-core-1.4.5-full-nocompat.js"></script>-->
<!--<script src="/x_desktop/res/framework/mootools/mootools-more-1.4.0.1-all_2.js"></script>-->
<script
src=
"res/framework/mootools/mootools-1.6.0_all.js"
></script>
<script
src=
"res/framework/Decimal.js"
></script>
<script
src=
"../o2_core/o2.js?v=2.0.0"
></script>
<script
src=
"../o2_core/compatible.js?v=2.0.0"
></script>
<title>
FORM PREVIEW
</title>
<meta
http-equiv=
"Content-Type"
content=
"text/html; charset=UTF-8"
/>
...
...
@@ -24,13 +22,8 @@
}
layout
.
session
=
window
.
frameElement
.
ownerDocument
.
window
.
layout
.
session
||
{};
//layout.desktop = layout;
COMMON
.
DOM
.
addReady
(
function
(){
COMMON
.
AjaxModule
.
load
(
"
/x_desktop/res/framework/mootools/plugin/mBox.Notice.js
"
,
null
,
false
);
COMMON
.
AjaxModule
.
load
(
"
/x_desktop/res/framework/mootools/plugin/mBox.Tooltip.js
"
,
null
,
false
);
COMMON
.
setContentPath
(
"
/x_desktop
"
);
COMMON
.
AjaxModule
.
load
(
"
mwf
"
,
function
(){
o2
.
addReady
(
function
(){
o2
.
load
([
"
../o2_lib/mootools/plugin/mBox.Notice.js
"
,
"
../o2_lib/mootools/plugin/mBox.Tooltip.js
"
],
function
(){
MWF
.
getJSON
(
"
res/config/config.json
"
,
function
(
config
){
layout
.
config
=
config
;
if
(
layout
.
config
.
app_protocol
==
"
auto
"
){
...
...
o2web/source/x_desktop/printWork.html
浏览文件 @
2246d600
...
...
@@ -2,15 +2,12 @@
<html>
<head>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge"
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"res/css/style.css"
charset=
"UTF-8"
/>
<link
rel=
"stylesheet"
href=
"res/css/mBoxNotice.css"
charset=
"UTF-8"
/>
<link
rel=
"stylesheet"
href=
"res/css/mBoxTooltip.css"
charset=
"UTF-8"
/>
<script
src=
"res/common.js?v=1.1.7"
></script>
<!--<script src="res/framework/mootools/mootools-core-1.4.5-full-nocompat.js"></script>-->
<!--<script src="res/framework/mootools/mootools-more-1.4.0.1-all_2.js"></script>-->
<script
src=
"res/framework/mootools/mootools-1.6.0_all.js"
></script>
<script
src=
"res/js/printWork.js?v=1.1.7"
></script>
<script
src=
"res/framework/Decimal.js"
></script>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"css/style.css"
charset=
"UTF-8"
/>
<link
rel=
"stylesheet"
href=
"css/mBoxNotice.css"
charset=
"UTF-8"
/>
<link
rel=
"stylesheet"
href=
"css/mBoxTooltip.css"
charset=
"UTF-8"
/>
<script
src=
"../o2_core/o2.js?v=2.0.0"
></script>
<script
src=
"../o2_core/compatible.js?v=2.0.0"
></script>
<script
src=
"js/printWork.js?v=2.0.2"
></script>
<title>
WORK
</title>
<meta
http-equiv=
"Content-Type"
content=
"text/html; charset=UTF-8"
/>
...
...
o2web/source/x_desktop/processViewer.html
浏览文件 @
2246d600
...
...
@@ -2,26 +2,19 @@
<html>
<head>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge"
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"/x_desktop/res/css/style.css"
charset=
"UTF-8"
/>
<link
rel=
"stylesheet"
href=
"/x_desktop/res/css/mBoxNotice.css"
charset=
"UTF-8"
/>
<link
rel=
"stylesheet"
href=
"/x_desktop/res/css/mBoxTooltip.css"
charset=
"UTF-8"
/>
<script
src=
"/x_desktop/res/common.js?v=1.1.7"
></script>
<!--<script src="/x_desktop/res/framework/mootools/mootools-core-1.4.5-full-nocompat.js"></script>-->
<!--<script src="/x_desktop/res/framework/mootools/mootools-more-1.4.0.1-all_2.js"></script>-->
<script
src=
"res/framework/mootools/mootools-1.6.0.min.js"
></script>
<script
src=
"res/framework/Decimal.js"
></script>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"css/style.css"
charset=
"UTF-8"
/>
<link
rel=
"stylesheet"
href=
"css/mBoxNotice.css"
charset=
"UTF-8"
/>
<link
rel=
"stylesheet"
href=
"css/mBoxTooltip.css"
charset=
"UTF-8"
/>
<script
src=
"../o2_core/o2.js?v=2.0.0"
></script>
<script
src=
"../o2_core/compatible.js?v=2.0.0"
></script>
<title>
FORM PREVIEW
</title>
<meta
http-equiv=
"Content-Type"
content=
"text/html; charset=UTF-8"
/>
<script>
layout
=
window
.
layout
||
{};
COMMON
.
DOM
.
addReady
(
function
(){
COMMON
.
AjaxModule
.
load
(
"
/x_desktop/res/framework/mootools/plugin/mBox.Notice.js
"
,
null
,
false
);
COMMON
.
AjaxModule
.
load
(
"
/x_desktop/res/framework/mootools/plugin/mBox.Tooltip.js
"
,
null
,
false
);
COMMON
.
setContentPath
(
"
/x_desktop
"
);
COMMON
.
AjaxModule
.
load
(
"
mwf
"
,
function
(){
o2
.
addReady
(
function
(){
o2
.
load
([
"
../o2_lib/mootools/plugin/mBox.Notice.js
"
,
"
../o2_lib/mootools/plugin/mBox.Tooltip.js
"
],
function
(){
MWF
.
defaultPath
=
"
/x_desktop
"
+
MWF
.
defaultPath
;
MWF
.
loadLP
(
"
zh-cn
"
);
MWF
.
require
(
"
MWF.xDesktop.Layout
"
,
function
(){
...
...
o2web/source/x_desktop/qiyeweixinsso.html
浏览文件 @
2246d600
...
...
@@ -2,15 +2,12 @@
<html>
<head>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge"
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"res/css/style.css"
charset=
"UTF-8"
/>
<link
rel=
"stylesheet"
href=
"res/css/mBoxNotice.css"
charset=
"UTF-8"
/>
<link
rel=
"stylesheet"
href=
"res/css/mBoxTooltip.css"
charset=
"UTF-8"
/>
<script
src=
"res/common.js?v=1.1.7"
></script>
<!--<script src="res/framework/mootools/mootools-core-1.4.5-full-nocompat.js"></script>-->
<!--<script src="res/framework/mootools/mootools-more-1.4.0.1-all_2.js"></script>-->
<script
src=
"res/framework/mootools/mootools-1.6.0.min.js"
></script>
<script
src=
"res/framework/Decimal.js"
></script>
<script
src=
"res/js/weixinsso.js?v=1.1.7"
></script>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"css/style.css"
charset=
"UTF-8"
/>
<link
rel=
"stylesheet"
href=
"css/mBoxNotice.css"
charset=
"UTF-8"
/>
<link
rel=
"stylesheet"
href=
"css/mBoxTooltip.css"
charset=
"UTF-8"
/>
<script
src=
"../o2_core/o2.js?v=2.0.0"
></script>
<script
src=
"../o2_core/compatible.js?v=2.0.0"
></script>
<script
src=
"js/weixinsso.js?v=2.0.0"
></script>
<title>
WORK
</title>
<meta
http-equiv=
"Content-Type"
content=
"text/html; charset=UTF-8"
/>
...
...
o2web/source/x_desktop/sso.html
浏览文件 @
2246d600
...
...
@@ -4,10 +4,8 @@
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge"
/>
<meta
charset=
"UTF-8"
>
<title></title>
<!--<script src="res/framework/mootools/mootools-core-1.4.5-full-nocompat.js"></script>-->
<!--<script src="res/framework/mootools/mootools-more-1.4.0.1-all_2.js"></script>-->
<script
src=
"res/framework/mootools/mootools-1.6.0.min.js"
></script>
<script
src=
"res/common.js?v=1.1.7"
></script>
<script
src=
"../o2_core/o2.js?v=2.0.0"
></script>
<script
src=
"../o2_core/compatible.js?v=2.0.0"
></script>
<script>
function
getServiceAddress
(
config
,
callback
){
if
(
typeOf
(
config
.
center
)
==
"
object
"
){
...
...
@@ -71,29 +69,8 @@
}.
bind
(
this
));
}
// function getServiceAddress(config, callback){
// var host = config.center.host || window.location.host;
// var port = config.center.port;
// var uri = "";
// if (!port || port=="80"){
// uri = "http://"+host+"/x_program_center/jaxrs/distribute/assemble/source/{source}";
// }else{
// uri = "http://"+host+":"+port+"/x_program_center/jaxrs/distribute/assemble/source/{source}";
// }
// var currenthost = window.location.hostname;
// uri = uri.replace(/{source}/g, currenthost);
// //var uri = "http://"+layout.config.center+"/x_program_center/jaxrs/distribute/assemble";
// MWF.restful("get", uri, null, function(json){
// var serviceAddressList = json.data;
// var addressObj = serviceAddressList["x_organization_assemble_authentication"];
// var address = "http://"+addressObj.host+(addressObj.port==80 ? "" : ":"+addressObj.port)+addressObj.context;
//
// if (callback) callback(address);
// }.bind(this));
// }
COMMON
.
setContentPath
(
"
/x_desktop
"
);
COMMON
.
AjaxModule
.
load
(
"
mwf
"
,
function
(){
MWF
.
getJSON
(
"
res/config/config.json
"
,
function
(
config
){
o2
.
addReady
(
function
(){
o2
.
JSON
.
get
(
"
res/config/config.json
"
,
function
(
config
){
getServiceAddress
(
config
,
function
(
address
){
var
uri
=
new
URI
(
window
.
location
.
toString
());
var
xtoken
=
uri
.
getData
(
"
xtoken
"
);
...
...
@@ -126,13 +103,8 @@
});
});
// MWF.require("MWF.process.RestActions", function(){
// layout.restActions = new MWF.process.RestActions(Properties.action);
// });
});
</script>
</head>
<body
bgcolor=
"#faebd7"
bgcolor=
"#ffc0cb"
>
...
...
o2web/source/x_desktop/weixinsso.html
浏览文件 @
2246d600
...
...
@@ -2,15 +2,12 @@
<html>
<head>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge"
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"res/css/style.css"
charset=
"UTF-8"
/>
<link
rel=
"stylesheet"
href=
"res/css/mBoxNotice.css"
charset=
"UTF-8"
/>
<link
rel=
"stylesheet"
href=
"res/css/mBoxTooltip.css"
charset=
"UTF-8"
/>
<script
src=
"res/common.js?v=1.1.7"
></script>
<!--<script src="res/framework/mootools/mootools-core-1.4.5-full-nocompat.js"></script>-->
<!--<script src="res/framework/mootools/mootools-more-1.4.0.1-all_2.js"></script>-->
<script
src=
"res/framework/mootools/mootools-1.6.0.min.js"
></script>
<script
src=
"res/framework/Decimal.js"
></script>
<script
src=
"res/js/weixinsso.js?v=1.1.7"
></script>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"css/style.css"
charset=
"UTF-8"
/>
<link
rel=
"stylesheet"
href=
"css/mBoxNotice.css"
charset=
"UTF-8"
/>
<link
rel=
"stylesheet"
href=
"css/mBoxTooltip.css"
charset=
"UTF-8"
/>
<script
src=
"../o2_core/o2.js?v=2.0.0"
></script>
<script
src=
"../o2_core/compatible.js?v=2.0.0"
></script>
<script
src=
"js/weixinsso.js?v=2.0.2"
></script>
<title>
WORK
</title>
<meta
http-equiv=
"Content-Type"
content=
"text/html; charset=UTF-8"
/>
...
...
o2web/source/x_desktop/work.html
浏览文件 @
2246d600
...
...
@@ -2,15 +2,12 @@
<html>
<head>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge"
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"res/css/style.css"
charset=
"UTF-8"
/>
<link
rel=
"stylesheet"
href=
"res/css/mBoxNotice.css"
charset=
"UTF-8"
/>
<link
rel=
"stylesheet"
href=
"res/css/mBoxTooltip.css"
charset=
"UTF-8"
/>
<script
src=
"res/common.js?v=1.1.7"
></script>
<!--<script src="res/framework/mootools/mootools-core-1.4.5-full-nocompat.js"></script>-->
<!--<script src="res/framework/mootools/mootools-more-1.4.0.1-all_2.js"></script>-->
<script
src=
"res/framework/mootools/mootools-1.6.0.min.js"
></script>
<script
src=
"res/framework/Decimal.js"
></script>
<script
src=
"res/js/work.js?v=1.1.7"
></script>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"css/style.css"
charset=
"UTF-8"
/>
<link
rel=
"stylesheet"
href=
"css/mBoxNotice.css"
charset=
"UTF-8"
/>
<link
rel=
"stylesheet"
href=
"css/mBoxTooltip.css"
charset=
"UTF-8"
/>
<script
src=
"../o2_core/o2.js?v=2.0.0"
></script>
<script
src=
"../o2_core/compatible.js?v=2.0.0"
></script>
<script
src=
"js/work.js?v=2.0.0"
></script>
<title>
WORK
</title>
<meta
http-equiv=
"Content-Type"
content=
"text/html; charset=UTF-8"
/>
...
...
o2web/source/x_desktop/workmobile.html
浏览文件 @
2246d600
...
...
@@ -2,16 +2,13 @@
<html>
<head>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge"
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"
res/
css/style.css"
charset=
"UTF-8"
/>
<link
rel=
"stylesheet"
href=
"
res/
css/mBoxNotice.css"
charset=
"UTF-8"
/>
<link
rel=
"stylesheet"
href=
"
res/
css/mBoxTooltip.css"
charset=
"UTF-8"
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"css/style.css"
charset=
"UTF-8"
/>
<link
rel=
"stylesheet"
href=
"css/mBoxNotice.css"
charset=
"UTF-8"
/>
<link
rel=
"stylesheet"
href=
"css/mBoxTooltip.css"
charset=
"UTF-8"
/>
<!--<script src="res/framework/htmleditor/ckeditor451/ckeditor.js"></script>-->
<script
src=
"res/common.js?v=1.1.7"
></script>
<!--<script src="res/framework/mootools/mootools-core-1.4.5-full-nocompat.js?22"></script>-->
<!--<script src="res/framework/mootools/mootools-more-1.4.0.1-all_2.js"></script>-->
<script
src=
"res/framework/mootools/mootools-1.6.0.min.js"
></script>
<script
src=
"res/framework/Decimal.js"
></script>
<script
src=
"res/js/workmobile.js?v=1.1.7"
></script>
<script
src=
"../o2_core/o2.js?v=2.0.0"
></script>
<script
src=
"../o2_core/compatible.js?v=2.0.0"
></script>
<script
src=
"js/workmobile.js?v=2.0.0"
></script>
<meta
content=
"width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"
name=
"viewport"
/>
<meta
content=
"yes"
name=
"apple-mobile-web-app-capable"
/>
...
...
o2web/source/x_desktop/workmobilewithaction.html
浏览文件 @
2246d600
...
...
@@ -2,16 +2,12 @@
<html>
<head>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge"
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"res/css/style.css"
charset=
"UTF-8"
/>
<link
rel=
"stylesheet"
href=
"res/css/mBoxNotice.css"
charset=
"UTF-8"
/>
<link
rel=
"stylesheet"
href=
"res/css/mBoxTooltip.css"
charset=
"UTF-8"
/>
<!--<script src="res/framework/htmleditor/ckeditor451/ckeditor.js"></script>-->
<script
src=
"res/common.js?v=1.1.7"
></script>
<!--<script src="res/framework/mootools/mootools-core-1.4.5-full-nocompat.js?22"></script>-->
<!--<script src="res/framework/mootools/mootools-more-1.4.0.1-all_2.js"></script>-->
<script
src=
"res/framework/mootools/mootools-1.6.0.min.js"
></script>
<script
src=
"res/framework/Decimal.js"
></script>
<script
src=
"res/js/workmobilewithaction.min.js?v=1.1.7"
></script>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"css/style.css"
charset=
"UTF-8"
/>
<link
rel=
"stylesheet"
href=
"css/mBoxNotice.css"
charset=
"UTF-8"
/>
<link
rel=
"stylesheet"
href=
"css/mBoxTooltip.css"
charset=
"UTF-8"
/>
<script
src=
"../o2_core/o2.js?v=2.0.0"
></script>
<script
src=
"../o2_core/compatible.js?v=2.0.0"
></script>
<script
src=
"js/workmobilewithaction.js?v=2.0.0"
></script>
<meta
content=
"width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"
name=
"viewport"
/>
<meta
content=
"yes"
name=
"apple-mobile-web-app-capable"
/>
...
...
o2web/source/x_desktop/zhengwuDingdingSso.html
浏览文件 @
2246d600
...
...
@@ -2,13 +2,13 @@
<html>
<head>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge"
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"
res/
css/style.css"
charset=
"UTF-8"
/>
<link
rel=
"stylesheet"
href=
"
res/
css/mBoxNotice.css"
charset=
"UTF-8"
/>
<link
rel=
"stylesheet"
href=
"
res/
css/mBoxTooltip.css"
charset=
"UTF-8"
/>
<script
src=
"
res/common.js?v=1.1.7
"
></script>
<script
src=
"
res/framework/mootools/mootools-1.6.0.min.js
"
></script>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"css/style.css"
charset=
"UTF-8"
/>
<link
rel=
"stylesheet"
href=
"css/mBoxNotice.css"
charset=
"UTF-8"
/>
<link
rel=
"stylesheet"
href=
"css/mBoxTooltip.css"
charset=
"UTF-8"
/>
<script
src=
"
../o2_core/o2.js?v=2.0.0
"
></script>
<script
src=
"
../o2_core/compatible.js?v=2.0.0
"
></script>
<script
type=
"text/javascript"
src=
"http://g.alicdn.com/ilw/ding/0.7.3/scripts/dingtalk.js"
></script>
<script
src=
"
res/js/zhengwuDingdingSso.js?v=1.1.7
"
></script>
<script
src=
"
js/zhengwuDingdingSso.js?v=2.0.0
"
></script>
<title></title>
<meta
http-equiv=
"Content-Type"
content=
"text/html; charset=UTF-8"
/>
...
...
o2web/source/x_desktop/zwddssofp.html
浏览文件 @
2246d600
...
...
@@ -2,13 +2,12 @@
<html>
<head>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge"
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"res/css/style.css"
charset=
"UTF-8"
/>
<link
rel=
"stylesheet"
href=
"res/css/mBoxNotice.css"
charset=
"UTF-8"
/>
<link
rel=
"stylesheet"
href=
"res/css/mBoxTooltip.css"
charset=
"UTF-8"
/>
<script
src=
"res/common.js?v=1.1.7"
></script>
<script
src=
"res/framework/mootools/mootools-1.6.0.min.js"
></script>
<script
type=
"text/javascript"
src=
"http://g.alicdn.com/ilw/ding/0.7.3/scripts/dingtalk.js"
></script>
<script
src=
"res/js/zhengwuDingdingSso.js?v=1.1.7"
></script>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"css/style.css"
charset=
"UTF-8"
/>
<link
rel=
"stylesheet"
href=
"css/mBoxNotice.css"
charset=
"UTF-8"
/>
<link
rel=
"stylesheet"
href=
"css/mBoxTooltip.css"
charset=
"UTF-8"
/>
<script
src=
"../o2_core/o2.js?v=2.0.0"
></script>
<script
src=
"../o2_core/compatible.js?v=2.0.0"
></script>
<script
src=
"js/zhengwuDingdingSso.js?v=2.0.0"
></script>
<title></title>
<meta
http-equiv=
"Content-Type"
content=
"text/html; charset=UTF-8"
/>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录