Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
fuyue82
o2oa
提交
8d3311bb
o2oa
项目概览
fuyue82
/
o2oa
与 Fork 源项目一致
Fork自
浙江兰德纵横网络技术股份有限公司 / o2oa
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
o2oa
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
8d3311bb
编写于
3月 30, 2021
作者:
U
unknown
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
语言包整理
上级
b8381998
变更
8
隐藏空白更改
内联
并排
Showing
8 changed file
with
38 addition
and
22 deletion
+38
-22
o2web/source/x_component_AppMarketV2/ApplicationsContent.js
o2web/source/x_component_AppMarketV2/ApplicationsContent.js
+5
-5
o2web/source/x_component_AppMarketV2/Main.js
o2web/source/x_component_AppMarketV2/Main.js
+1
-1
o2web/source/x_component_AppMarketV2/lp/zh-cn.js
o2web/source/x_component_AppMarketV2/lp/zh-cn.js
+5
-1
o2web/source/x_component_Profile/Common.js
o2web/source/x_component_Profile/Common.js
+4
-3
o2web/source/x_component_Profile/Main.js
o2web/source/x_component_Profile/Main.js
+5
-5
o2web/source/x_component_Profile/lp/zh-cn.js
o2web/source/x_component_Profile/lp/zh-cn.js
+8
-1
o2web/source/x_component_Setting/SettingModuleUI.js
o2web/source/x_component_Setting/SettingModuleUI.js
+4
-4
o2web/source/x_component_Setting/lp/zh-cn.js
o2web/source/x_component_Setting/lp/zh-cn.js
+6
-2
未找到文件。
o2web/source/x_component_AppMarketV2/ApplicationsContent.js
浏览文件 @
8d3311bb
...
...
@@ -10,7 +10,7 @@ MWF.xApplication.AppMarketV2.ApplicationsContent = new Class({
this
.
viewPath
=
this
.
app
.
path
+
this
.
app
.
options
.
style
+
"
/
"
+
this
.
options
.
view
;
debugger
;
this
.
querydata
=
{};
this
.
currentcategory
=
{
"
name
"
:
"
全部
"
,
"
count
"
:
0
};
this
.
currentcategory
=
{
"
name
"
:
this
.
app
.
lp
.
all
,
"
count
"
:
0
};
this
.
load
();
},
load
:
function
(){
...
...
@@ -116,7 +116,7 @@ MWF.xApplication.AppMarketV2.ApplicationsContent.Applications= new Class({
this
.
emptyLoadContent
();
this
.
actions
.
MarketAction
.
listPaging
(
this
.
page
,
this
.
pageSize
,
this
.
content
.
querydata
,
function
(
json
){
if
(
json
.
data
&&
json
.
data
.
length
){
this
.
content
.
currentcategory
[
"
name
"
]
=
this
.
content
.
querydata
.
category
==
""
||!
(
this
.
content
.
querydata
.
category
)?
"
全部
"
:
this
.
content
.
querydata
.
category
;
this
.
content
.
currentcategory
[
"
name
"
]
=
this
.
content
.
querydata
.
category
==
""
||!
(
this
.
content
.
querydata
.
category
)?
this
.
app
.
lp
.
all
:
this
.
content
.
querydata
.
category
;
this
.
content
.
currentcategory
[
"
count
"
]
=
json
.
count
;
this
.
showApplications
(
json
.
data
);
}
...
...
@@ -141,7 +141,7 @@ MWF.xApplication.AppMarketV2.ApplicationsContent.Applications= new Class({
showCategorys
:
function
(
data
){
var
categorysdiv
=
this
.
content
.
appCategory
;
categorysdiv
.
empty
();
this
.
loadCertainCategory
(
categorysdiv
,
"
全部
"
)
this
.
loadCertainCategory
(
categorysdiv
,
this
.
app
.
lp
.
all
);
data
.
each
(
function
(
d
,
i
){
this
.
loadCertainCategory
(
categorysdiv
,
d
)
}.
bind
(
this
))
...
...
@@ -153,7 +153,7 @@ MWF.xApplication.AppMarketV2.ApplicationsContent.Applications= new Class({
var
categorydiv
=
new
Element
(
"
span
"
,{
"
text
"
:
d
,
"
class
"
:
"
o2_appmarket_appcategory
"
}).
inject
(
categorysdiv
);
categorydiv
.
store
(
"
data
"
,
d
);
if
(
_self
.
content
.
querydata
[
"
category
"
]){
if
((
_self
.
content
.
querydata
[
"
category
"
]
==
""
&&
d
==
"
全部
"
)
||
(
_self
.
content
.
querydata
[
"
category
"
]
==
d
)){
if
((
_self
.
content
.
querydata
[
"
category
"
]
==
""
&&
d
==
_self
.
app
.
lp
.
all
)
||
(
_self
.
content
.
querydata
[
"
category
"
]
==
d
)){
categorydiv
.
removeClass
(
"
o2_appmarket_appcategory
"
).
addClass
(
"
mainColor_color
"
).
addClass
(
"
o2_appmarket_appcategory_current
"
);
}
}
...
...
@@ -169,7 +169,7 @@ MWF.xApplication.AppMarketV2.ApplicationsContent.Applications= new Class({
this
.
getParent
().
getElements
(
"
.o2_appmarket_appcategory_current
"
).
removeClass
(
"
mainColor_color
"
).
removeClass
(
"
o2_appmarket_appcategory_current
"
).
addClass
(
"
o2_appmarket_appcategory
"
);
this
.
removeClass
(
"
o2_appmarket_appcategory
"
).
addClass
(
"
mainColor_color
"
).
addClass
(
"
o2_appmarket_appcategory_current
"
);
if
(
d
){
if
(
d
==
"
全部
"
){
if
(
d
==
_self
.
app
.
lp
.
all
){
_self
.
content
.
querydata
[
"
category
"
]
=
""
;
}
else
{
_self
.
content
.
querydata
[
"
category
"
]
=
d
;
...
...
o2web/source/x_component_AppMarketV2/Main.js
浏览文件 @
8d3311bb
...
...
@@ -64,7 +64,7 @@ MWF.xApplication.AppMarketV2.Main = new Class({
}
}.
bind
(
this
));
}
else
{
o2
.
xDesktop
.
notice
(
"
error
"
,
{
x
:
"
right
"
,
y
:
"
top
"
},
"
应用市场需要管理员角色才能访问
"
);
o2
.
xDesktop
.
notice
(
"
error
"
,
{
x
:
"
right
"
,
y
:
"
top
"
},
this
.
lp
.
accessDenyNotice
);
}
},
loadApp
:
function
(
callback
){
...
...
o2web/source/x_component_AppMarketV2/lp/zh-cn.js
浏览文件 @
8d3311bb
...
...
@@ -23,5 +23,9 @@ MWF.xApplication.AppMarketV2.LP = {
"
confirmsetupTitle
"
:
"
安装提示
"
,
"
confirmsetupContent
"
:
"
您确认安装本应用么?
"
,
"
confirmupdateTitle
"
:
"
更新提示
"
,
"
confirmupdateContent
"
:
"
您确认更新本应用么?如果安装应用后改过本应用,本次更新后会被替换
"
"
confirmupdateContent
"
:
"
您确认更新本应用么?如果安装应用后改过本应用,本次更新后会被替换
"
,
"
all
"
:
"
全部
"
,
"
searchHolder
"
:
"
请输入搜索关键字
"
,
"
accessDenyNotice
"
:
"
应用市场需要管理员角色才能访问
"
};
\ No newline at end of file
o2web/source/x_component_Profile/Common.js
浏览文件 @
8d3311bb
...
...
@@ -81,8 +81,9 @@ MWF.xApplication.Profile.Common.Pagination = new Class({
return
new
Element
(
'
div.page
'
,
{
'
text
'
:
'
...
'
});
},
createText
:
function
()
{
var
text
=
MWF
.
xApplication
.
Profile
.
LP
.
pageText
.
replace
(
"
{n}
"
,
(
this
.
currentPage
+
1
)
+
'
/
'
+
(
this
.
page
)
);
return
new
Element
(
'
span
'
,
{
'
text
'
:
'
第
'
+
(
this
.
currentPage
+
1
)
+
'
/
'
+
(
this
.
page
)
+
'
页
'
,
'
text
'
:
text
,
'
style
'
:
"
margin:0 3px;
"
});
},
...
...
@@ -230,7 +231,7 @@ MWF.xApplication.Profile.Common.Content = new Class({
this
.
searchOkButton
=
new
Element
(
"
a
"
,
{
"
class
"
:
"
button is-link
"
,
"
style
"
:
"
margin:5px;
"
,
"
text
"
:
"
搜索
"
"
text
"
:
MWF
.
xApplication
.
Profile
.
LP
.
search
}).
inject
(
this
.
searchItemNode
).
addEvent
(
"
click
"
,
function
()
{
this
.
options
.
page
=
1
;
...
...
@@ -240,7 +241,7 @@ MWF.xApplication.Profile.Common.Content = new Class({
this
.
searchCancleButton
=
new
Element
(
"
a
"
,
{
"
class
"
:
"
button
"
,
"
style
"
:
"
margin:5px;
"
,
"
text
"
:
"
取消
"
"
text
"
:
MWF
.
xApplication
.
Profile
.
LP
.
cancel1
}).
inject
(
this
.
searchItemNode
).
addEvent
(
"
click
"
,
function
()
{
this
.
searchItemList
.
each
(
function
(
item
)
{
$$
(
'
[name=
'
+
item
.
name
+
'
]
'
).
set
(
"
value
"
,
""
);
...
...
o2web/source/x_component_Profile/Main.js
浏览文件 @
8d3311bb
...
...
@@ -317,7 +317,7 @@ MWF.xApplication.Profile.Main = new Class({
"
startTime
"
:
null
,
"
endTime
"
:
null
,
"
isWholeday
"
:
false
,
"
title
"
:
"
新建外出授权
"
,
"
title
"
:
this
.
lp
.
createEmpower
,
"
defaultCalendarId
"
:
""
},
{
app
:
this
,
...
...
@@ -451,7 +451,7 @@ MWF.xApplication.Profile.Main = new Class({
if
(
!
this
[
type
+
"
NoDataDiv
"
]){
this
[
type
+
"
NoDataDiv
"
]
=
new
Element
(
"
div.o2_profile_emPower_noData
"
).
adopt
(
new
Element
(
"
img
"
,{
src
:
"
../x_component_Profile/$Main/newVersion/icon_wuweituo.png
"
}),
new
Element
(
"
div
"
,{
text
:
"
无待办
"
})
new
Element
(
"
div
"
,{
text
:
this
.
lp
.
noTask
})
).
inject
(
content
.
getElement
(
"
.profile_common_tableDiv
"
));
}
if
(
content
.
getElements
(
"
tr
"
).
length
==
1
){
...
...
@@ -512,7 +512,7 @@ MWF.xApplication.Profile.Main = new Class({
if
(
type
==
"
myEmPower
"
){
th
.
adopt
(
new
Element
(
"
th
"
,{
width
:
"
25%
"
}).
adopt
(
new
Element
(
"
div
"
,{
text
:
"
操作
"
})));
th
.
adopt
(
new
Element
(
"
th
"
,{
width
:
"
25%
"
}).
adopt
(
new
Element
(
"
div
"
,{
text
:
this
.
lp
.
action
})));
}
this
.
emPowerTable
.
adopt
(
th
);
data
.
forEach
(
function
(
item
){
...
...
@@ -636,7 +636,7 @@ MWF.xApplication.Profile.Main = new Class({
this
[
type
+
"
NoDataDiv
"
]
=
new
Element
(
"
div.o2_profile_emPower_noData
"
).
adopt
(
new
Element
(
"
img
"
,{
src
:
"
../x_component_Profile/$Main/newVersion/icon_wuweituo.png
"
}),
new
Element
(
"
div
"
,{
text
:
this
.
lp
.
empower
.
noData
}),
type
==
"
myEmPower
"
?
new
Element
(
"
div.o2_profile_emPower_Add.mainColor_color
"
,{
text
:
"
新建委托
"
}).
addEvent
(
"
click
"
,
function
(){
type
==
"
myEmPower
"
?
new
Element
(
"
div.o2_profile_emPower_Add.mainColor_color
"
,{
text
:
this
.
lp
.
createAuthorize
}).
addEvent
(
"
click
"
,
function
(){
var
popForm
=
new
MWF
.
xApplication
.
Profile
.
emPowerPopupForm
(
null
,
{},
{
"
style
"
:
"
empower
"
,
"
width
"
:
"
550
"
,
...
...
@@ -652,7 +652,7 @@ MWF.xApplication.Profile.Main = new Class({
"
startTime
"
:
null
,
"
endTime
"
:
null
,
"
isWholeday
"
:
false
,
"
title
"
:
"
新建外出授权
"
,
"
title
"
:
this
.
lp
.
createEmpower
,
"
defaultCalendarId
"
:
""
},
{
app
:
this
,
...
...
o2web/source/x_component_Profile/lp/zh-cn.js
浏览文件 @
8d3311bb
...
...
@@ -102,5 +102,12 @@ MWF.xApplication.Profile.LP = {
"
myEmPowerLog
"
:
"
委托的待办
"
,
"
receiveEmPowerLog
"
:
"
收到的待办
"
,
"
ok
"
:
"
保存
"
,
"
cancel
"
:
"
关闭
"
"
cancel
"
:
"
关闭
"
,
"
pageText
"
:
"
第{n}页
"
,
"
search
"
:
"
搜索
"
,
"
cancel1
"
:
"
取消
"
,
"
createEmpower
"
:
"
新建外出授权
"
,
"
noTask
"
:
"
无待办
"
,
"
action
"
:
"
操作
"
,
"
createAuthorize
"
:
"
新建委托
"
};
o2web/source/x_component_Setting/SettingModuleUI.js
浏览文件 @
8d3311bb
...
...
@@ -36,7 +36,7 @@ MWF.xApplication.Setting.UIModuleDocument = new Class({
MWF
.
require
(
"
MWF.widget.Tab
"
,
function
(){
this
.
tab
=
new
MWF
.
widget
.
Tab
(
this
.
content
,
{
"
style
"
:
"
processlayout
"
});
this
.
tab
.
load
();
this
.
appPage
=
this
.
tab
.
addTab
(
this
.
appDeploymentContent
,
"
已部署组件
"
,
false
);
this
.
appPage
=
this
.
tab
.
addTab
(
this
.
appDeploymentContent
,
this
.
lp
.
moduleDeployed
,
false
);
this
.
appPage
.
showIm
();
this
.
setContentHeight
();
...
...
@@ -118,9 +118,9 @@ MWF.xApplication.Setting.UIModuleDocument = new Class({
var
title
=
tileInput
.
get
(
"
value
"
);
if
(
!
name
||
!
title
){
this
.
app
.
notice
(
"
请输入应用名称和应用标题
"
,
"
error
"
,
this
.
appContentNode
);
this
.
app
.
notice
(
this
.
lp
.
inputAppNameNotice
,
"
error
"
,
this
.
appContentNode
);
}
else
if
(
!
fileInput
.
files
.
length
){
this
.
app
.
notice
(
"
请上传文件的ZIP包
"
,
"
error
"
,
this
.
appContentNode
);
this
.
app
.
notice
(
this
.
lp
.
uploadZipFileNotice
,
"
error
"
,
this
.
appContentNode
);
}
else
{
var
formData
=
new
FormData
();
formData
.
append
(
'
file
'
,
fileInput
.
files
[
0
]);
...
...
@@ -138,7 +138,7 @@ MWF.xApplication.Setting.UIModuleDocument = new Class({
status
=
(
status
==
1223
)
?
204
:
status
;
if
((
status
>=
200
&&
status
<
300
))
{
this
.
app
.
notice
(
"
部署成功
"
,
"
success
"
,
this
.
appContentNode
);
this
.
app
.
notice
(
this
.
lp
.
deploySuccess
,
"
success
"
,
this
.
appContentNode
);
this
.
appListNode
.
empty
();
this
.
loadApps
();
};
...
...
o2web/source/x_component_Setting/lp/zh-cn.js
浏览文件 @
8d3311bb
...
...
@@ -309,7 +309,11 @@ MWF.xApplication.Setting.LP = {
"
removeComponent
"
:
"
您确定要卸载组件:{name} 吗?
"
,
"
removeComponentOk
"
:
"
组件已卸载
"
,
"
modify
"
:
"
修改组件信息
"
"
modify
"
:
"
修改组件信息
"
,
"
moduleDeployed
"
:
"
已部署组件
"
,
"
inputAppNameNotice
"
:
"
请输入应用名称和应用标题
"
,
"
uploadZipFileNotice
"
:
"
请上传文件的ZIP包
"
},
...
...
@@ -394,6 +398,6 @@ MWF.xApplication.Setting.LP = {
"
registerSuccessTitle
"
:
"
您的公司已经在O2中心注册成功
"
,
"
mobileServerSaveInfor
"
:
"
数据已提交
"
,
"
mobileServerSaveErrorInfor
"
:
"
数据已提交, 旦有以下错误:{error}
"
"
mobileServerSaveErrorInfor
"
:
"
数据已提交, 旦有以下错误:{error}
"
,
};
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录