Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
fuyue82
o2oa
提交
012432cf
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,发现更多精彩内容 >>
提交
012432cf
编写于
4月 02, 2021
作者:
U
unknown
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
考勤语言包整理
上级
6bce327e
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
33 addition
and
16 deletion
+33
-16
o2web/source/x_component_Attendance/AbnormalExport.js
o2web/source/x_component_Attendance/AbnormalExport.js
+2
-2
o2web/source/x_component_Attendance/AddressExplorer.js
o2web/source/x_component_Attendance/AddressExplorer.js
+14
-13
o2web/source/x_component_Attendance/lp/zh-cn.js
o2web/source/x_component_Attendance/lp/zh-cn.js
+17
-1
未找到文件。
o2web/source/x_component_Attendance/AbnormalExport.js
浏览文件 @
012432cf
...
...
@@ -61,7 +61,7 @@ MWF.xApplication.Attendance.AbnormalExport = new Class({
},
createMonthSelectTd
:
function
(
tr
){
var
_self
=
this
;
var
td
=
new
Element
(
"
td
"
,
{
"
styles
"
:
this
.
css
.
filterTableTitle
,
"
text
"
:
"
月份
"
}).
inject
(
tr
);
var
td
=
new
Element
(
"
td
"
,
{
"
styles
"
:
this
.
css
.
filterTableTitle
,
"
text
"
:
this
.
app
.
lp
.
months
}).
inject
(
tr
);
var
td
=
new
Element
(
"
td
"
,
{
"
styles
"
:
this
.
css
.
filterTableValue
}).
inject
(
tr
);
this
.
monthString
=
new
MDomItem
(
td
,
{
"
name
"
:
"
monthString
"
,
...
...
@@ -73,7 +73,7 @@ MWF.xApplication.Attendance.AbnormalExport = new Class({
createActionTd
:
function
(
tr
){
var
td
=
new
Element
(
"
td
"
,
{
"
styles
"
:
this
.
css
.
filterTableValue
}).
inject
(
tr
);
var
input
=
new
Element
(
"
button
"
,{
"
text
"
:
"
导出
"
,
"
text
"
:
this
.
app
.
lp
.
export
,
"
styles
"
:
this
.
css
.
filterButton
}).
inject
(
td
);
input
.
addEvent
(
"
click
"
,
function
(){
...
...
o2web/source/x_component_Attendance/AddressExplorer.js
浏览文件 @
012432cf
...
...
@@ -264,32 +264,32 @@ MWF.xApplication.Attendance.AddressExplorer.BaiduMap = new Class({
html
.
push
(
'
<br/>
'
);
html
.
push
(
'
<table border="0" cellpadding="1" cellspacing="1" id="markerTable" docId="
'
+
(
json
.
id
||
""
)
+
'
" style="font-size:12px;">
'
);
html
.
push
(
'
<tr>
'
);
html
.
push
(
'
<td style="width:50px" align="left" class="common">
名称
:</td>
'
);
html
.
push
(
'
<td style="width:50px" align="left" class="common">
'
+
this
.
app
.
lp
.
name1
+
'
:</td>
'
);
html
.
push
(
'
<td style="width: 300px"><input type="text" size="40" value="
'
+
(
json
.
placeName
||
""
)
+
'
" id="placeName" ></td>
'
);
html
.
push
(
'
<td style="width: 10px" valign="top"><span style="color:#ff0000">*</span></td>
'
);
html
.
push
(
'
</tr>
'
);
html
.
push
(
'
<tr>
'
);
html
.
push
(
'
<td align="left" class="common">
别名
:</td>
'
);
html
.
push
(
'
<td align="left" class="common">
'
+
this
.
app
.
lp
.
alias
+
'
:</td>
'
);
html
.
push
(
'
<td><input type="text" maxlength="300px" size="40" value="
'
+
(
json
.
placeAlias
||
""
)
+
'
" id="placeAlias" ></td>
'
);
html
.
push
(
'
<td valign="top"></td>
'
);
html
.
push
(
'
</tr>
'
);
html
.
push
(
'
<tr>
'
);
html
.
push
(
'
<td align="left" class="common">
范围
:</td>
'
);
html
.
push
(
'
<td align="left" class="common">
'
+
this
.
app
.
lp
.
range
+
'
:</td>
'
);
html
.
push
(
'
<td><input type="text" maxlength="300px" size="40" value="
'
+
(
json
.
errorRange
||
""
)
+
'
" id="errorRange" ></td>
'
);
html
.
push
(
'
<td valign="top">
米
</td>
'
);
html
.
push
(
'
<td valign="top">
'
+
this
.
app
.
lp
.
meter
+
'
</td>
'
);
html
.
push
(
'
</tr>
'
);
html
.
push
(
'
<tr>
'
);
html
.
push
(
'
<td align="left" class="common">
备注
:</td>
'
);
html
.
push
(
'
<td align="left" class="common">
'
+
this
.
app
.
lp
.
description
+
'
:</td>
'
);
html
.
push
(
'
<td><textarea rows="4" cols="31" id="description">
'
+
(
json
.
description
||
""
)
+
'
</textarea></td>
'
);
html
.
push
(
'
<td valign="top"></td>
'
);
html
.
push
(
'
</tr>
'
);
html
.
push
(
'
<tr>
'
);
html
.
push
(
'
<td align="center" colspan="3">
'
);
html
.
push
(
'
<input type="button" name="btnOK" id="submitPlace" value="
保存
">
'
);
html
.
push
(
'
<input type="button" name="btnOK" id="submitPlace" value="
'
+
this
.
app
.
lp
.
save
+
'
">
'
);
if
(
json
.
id
){
html
.
push
(
'
<input type="button" name="btnMove" id="enableMovePlace" value="
允许移动
">
'
);
html
.
push
(
'
<input type="button" name="btnMove" id="enableMovePlace" value="
'
+
this
.
app
.
lp
.
enableMove
+
'
">
'
);
}
html
.
push
(
'
<input type="button" name="btnClear" id="cancelPlace" value="
删除
">
'
);
html
.
push
(
'
<input type="button" name="btnClear" id="cancelPlace" value="
'
+
this
.
app
.
lp
.
delete
+
'
">
'
);
html
.
push
(
'
</td>
'
);
html
.
push
(
'
</tr>
'
);
html
.
push
(
'
</table>
'
);
...
...
@@ -406,7 +406,7 @@ MWF.xApplication.Attendance.AddressExplorer.BaiduMap = new Class({
//var id = table.get("docId");
var
placeName
=
table
.
getElements
(
"
[id='placeName']
"
)[
0
].
get
(
"
value
"
);
if
(
placeName
.
trim
()
==
""
){
this
.
app
.
notice
(
"
工作场所不能为空
"
,
"
error
"
);
this
.
app
.
notice
(
this
.
app
.
lp
.
workPlaceEmptyNotice
,
"
error
"
);
return
false
;
}
var
placeAlias
=
table
.
getElements
(
"
[id='placeAlias']
"
)[
0
].
get
(
"
value
"
);
...
...
@@ -450,13 +450,14 @@ MWF.xApplication.Attendance.AddressExplorer.BaiduMap = new Class({
MWF
.
xApplication
.
Attendance
.
AddressExplorer
.
BaiduAccountForm
=
new
Class
({
Extends
:
MWF
.
xApplication
.
Attendance
.
Explorer
.
PopupForm
,
_createTableContent
:
function
(){
var
lp
=
MWF
.
xApplication
.
Attendance
.
LP
;
var
html
=
"
<table width='100%' bordr='0' cellpadding='5' cellspacing='0' styles='formTable'>
"
+
"
<tr><td colspan='2' styles='formTableHead'>
百度开发者认证
</td></tr>
"
+
"
<tr><td colspan='2' styles='formTableHead'>
"
+
lp
.
BaiduDeveloperCertification
+
"
</td></tr>
"
+
"
<tr>
"
+
"
<td styles='formTableValue' colspan='2'>
工作场所设置使用了百度地图开放平台的服务,你可以注册百度开发者认证来提高地图的并发量。认证完成后,请将密钥填至下方的输入框。
</td>
"
+
"
<td styles='formTableValue' colspan='2'>
"
+
lp
.
registerBiaduNotice
+
"
</td>
"
+
"
</tr>
"
+
"
<tr>
"
+
"
<td styles='formTableValue' colspan='2'><a href='http://lbsyun.baidu.com/apiconsole/auth' target='_blank'>
点击此打开认证通道
</a></td>
"
+
"
<td styles='formTableValue' colspan='2'><a href='http://lbsyun.baidu.com/apiconsole/auth' target='_blank'>
"
+
lp
.
openRegisterUrl
+
"
</a></td>
"
+
"
</tr>
"
+
"
<tr>
"
+
"
<td styles='formTableTitle' lable='ak'></td>
"
+
...
...
@@ -472,7 +473,7 @@ MWF.xApplication.Attendance.AddressExplorer.BaiduAccountForm = new Class({
this
.
form
=
new
MForm
(
this
.
formTableArea
,
{
ak
:
json
||
""
},
{
isEdited
:
true
,
itemTemplate
:
{
ak
:
{
"
text
"
:
"
密钥
"
}
ak
:
{
"
text
"
:
lp
.
secretKey
}
}
},
this
.
app
);
this
.
form
.
load
();
...
...
o2web/source/x_component_Attendance/lp/zh-cn.js
浏览文件 @
012432cf
...
...
@@ -67,6 +67,19 @@ MWF.xApplication.Attendance.LP = {
"
scheduleTable
"
:
"
排班时间表
"
,
"
signTime
"
:
"
打卡时间
"
,
"
appeal
"
:
"
申诉
"
,
"
export
"
:
"
导出
"
,
"
name1
"
:
"
名称
"
,
"
alias
"
:
"
别名
"
,
"
range
"
:
"
范围
"
,
"
meter
"
:
"
米
"
,
"
description
"
:
"
备注
"
,
"
save
"
:
"
保存
"
,
"
enableMove
"
:
"
允许移动
"
,
"
workPlaceEmptyNotice
"
:
"
工作场所不能为空
"
,
"
BaiduDeveloperCertification
"
:
"
百度开发者认证
"
,
"
registerBiaduNotice
"
:
"
工作场所设置使用了百度地图开放平台的服务,你可以注册百度开发者认证来提高地图的并发量。认证完成后,请将密钥填至下方的输入框。
"
,
"
openRegisterUrl
"
:
"
点击此打开认证通道
"
,
"
secretKey
"
:
"
秘钥
"
,
"
index
"
:
{
"
attendanceCalendar
"
:
"
考勤日历
"
,
...
...
@@ -143,5 +156,8 @@ MWF.xApplication.Attendance.LP = {
"
nextUser
"
:
"
处理人:
"
,
"
deal
"
:
"
处理
"
,
"
processStarted
"
:
"
文件已启动
"
,
"
processStartedMessage
"
:
"
您启动了一个新的工作:
"
"
processStartedMessage
"
:
"
您启动了一个新的工作:
"
,
"
AppealExplore
"
:
{
"
auditStatus
"
:
"
审批状态
"
}
};
\ No newline at end of file
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录