Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
doc_wei
Skyeye
提交
bbaece70
S
Skyeye
项目概览
doc_wei
/
Skyeye
通知
1171
Star
154
Fork
127
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
S
Skyeye
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
bbaece70
编写于
7月 18, 2023
作者:
doc_wei
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
考勤申诉托管到表单布局
上级
7189d1b4
变更
22
隐藏空白更改
内联
并排
Showing
22 changed file
with
257 addition
and
1064 deletion
+257
-1064
checkwork/src/main/resources/template/js/checkWorkAbnormalAttendance/checkWorkAbnormalAttendanceAdd.js
...kWorkAbnormalAttendance/checkWorkAbnormalAttendanceAdd.js
+0
-131
checkwork/src/main/resources/template/js/checkWorkAbnormalAttendance/checkWorkAbnormalAttendanceDetails.js
...kAbnormalAttendance/checkWorkAbnormalAttendanceDetails.js
+0
-33
checkwork/src/main/resources/template/js/checkWorkAbnormalAttendance/checkWorkAbnormalAttendanceList.js
...WorkAbnormalAttendance/checkWorkAbnormalAttendanceList.js
+119
-137
checkwork/src/main/resources/template/js/checkWorkApprove/checkWorkApprove.js
...esources/template/js/checkWorkApprove/checkWorkApprove.js
+0
-44
checkwork/src/main/resources/template/js/checkWorkApprove/checkWorkApproveList.js
...rces/template/js/checkWorkApprove/checkWorkApproveList.js
+0
-175
checkwork/src/main/resources/template/js/checkWorkBusinessTrip/checkWorkBusinessTripList.js
...ate/js/checkWorkBusinessTrip/checkWorkBusinessTripList.js
+3
-0
checkwork/src/main/resources/template/js/checkWorkCancelLeave/checkWorkCancelLeaveList.js
...plate/js/checkWorkCancelLeave/checkWorkCancelLeaveList.js
+3
-0
checkwork/src/main/resources/template/js/checkWorkMyAttendanceStatistics/checkWorkMyAttendanceStatistics.js
...MyAttendanceStatistics/checkWorkMyAttendanceStatistics.js
+0
-9
checkwork/src/main/resources/template/js/checkwork/checkworkreport.js
...c/main/resources/template/js/checkwork/checkworkreport.js
+84
-142
checkwork/src/main/resources/template/tpl/checkWorkAbnormalAttendance/checkWorkAbnormalAttendanceAdd.html
...orkAbnormalAttendance/checkWorkAbnormalAttendanceAdd.html
+0
-64
checkwork/src/main/resources/template/tpl/checkWorkAbnormalAttendance/checkWorkAbnormalAttendanceDetails.html
...bnormalAttendance/checkWorkAbnormalAttendanceDetails.html
+0
-21
checkwork/src/main/resources/template/tpl/checkWorkAbnormalAttendance/checkWorkAbnormalAttendanceDetailsTemplate.tpl
...Attendance/checkWorkAbnormalAttendanceDetailsTemplate.tpl
+0
-56
checkwork/src/main/resources/template/tpl/checkWorkAbnormalAttendance/checkWorkAbnormalAttendanceList.html
...rkAbnormalAttendance/checkWorkAbnormalAttendanceList.html
+20
-43
checkwork/src/main/resources/template/tpl/checkWorkApprove/checkWorkApprove.html
...urces/template/tpl/checkWorkApprove/checkWorkApprove.html
+0
-21
checkwork/src/main/resources/template/tpl/checkWorkApprove/checkWorkApproveList.html
...s/template/tpl/checkWorkApprove/checkWorkApproveList.html
+0
-71
checkwork/src/main/resources/template/tpl/checkWorkApprove/checkWorkApproveTemplate.tpl
...emplate/tpl/checkWorkApprove/checkWorkApproveTemplate.tpl
+0
-51
checkwork/src/main/resources/template/tpl/checkWorkMyAttendanceStatistics/checkWorkMyAttendanceStatistics.html
...AttendanceStatistics/checkWorkMyAttendanceStatistics.html
+0
-1
checkwork/src/main/resources/template/tpl/checkwork/checkworkreport.html
...ain/resources/template/tpl/checkwork/checkworkreport.html
+7
-44
web/src/main/resources/template/assets/lib/layui/custom.js
web/src/main/resources/template/assets/lib/layui/custom.js
+0
-1
web/src/main/resources/template/assets/lib/layui/customer/checkWorkUtil.js
...urces/template/assets/lib/layui/customer/checkWorkUtil.js
+0
-19
web/src/main/resources/template/assets/lib/layui/customer/sysCustomerUtil.js
...ces/template/assets/lib/layui/customer/sysCustomerUtil.js
+20
-1
web/src/main/resources/template/json/sysServiceMation.json
web/src/main/resources/template/json/sysServiceMation.json
+1
-0
未找到文件。
checkwork/src/main/resources/template/js/checkWorkAbnormalAttendance/checkWorkAbnormalAttendanceAdd.js
已删除
100644 → 0
浏览文件 @
7189d1b4
var
workId
=
""
;
var
appealType
=
"
1
"
;
var
appealReasonId
=
""
;
layui
.
config
({
base
:
basePath
,
version
:
skyeyeVersion
}).
extend
({
window
:
'
js/winui.window
'
}).
define
([
'
window
'
,
'
jquery
'
,
'
winui
'
,
'
tableSelect
'
],
function
(
exports
)
{
winui
.
renderColor
();
layui
.
use
([
'
form
'
],
function
(
form
)
{
var
index
=
parent
.
layer
.
getFrameIndex
(
window
.
name
);
var
$
=
layui
.
$
,
tableSelect
=
layui
.
tableSelect
;
var
ids
=
""
;
tableSelect
.
render
({
elem
:
'
#approvalId
'
,
//定义输入框input对象
checkedKey
:
'
id
'
,
//表格的唯一键值,非常重要,影响到选中状态 必填
searchKey
:
'
userName
'
,
//搜索输入框的name值 默认keyword
searchPlaceholder
:
'
审批人搜索
'
,
//搜索输入框的提示文字 默认关键词搜索
table
:
{
//定义表格参数,与LAYUI的TABLE模块一致,只是无需再定义表格elem
url
:
flowableBasePath
+
'
checkwork008
'
,
where
:
{
userName
:
$
(
"
#userName
"
).
val
()},
method
:
'
post
'
,
page
:
true
,
limits
:
[
8
,
16
,
24
,
32
,
40
,
48
,
56
],
limit
:
8
,
cols
:
[[
{
type
:
'
radio
'
},
{
title
:
systemLanguage
[
"
com.skyeye.serialNumber
"
][
languageType
],
type
:
'
numbers
'
},
{
field
:
'
userName
'
,
title
:
'
审批人
'
,
width
:
100
},
{
field
:
'
userSex
'
,
title
:
'
性别
'
,
width
:
60
,
templet
:
function
(
d
)
{
if
(
d
.
userSex
==
'
0
'
){
return
"
保密
"
;
}
else
if
(
d
.
userSex
==
'
1
'
){
return
"
男
"
;
}
else
if
(
d
.
userSex
==
'
2
'
){
return
"
女
"
;
}
else
{
return
"
参数错误
"
;
}
}},
{
field
:
'
departmentName
'
,
title
:
'
所在部门
'
,
width
:
100
},
]]
},
done
:
function
(
elem
,
data
)
{
var
newJson
=
data
.
data
[
0
].
userName
;
ids
=
data
.
data
[
0
].
id
;
elem
.
val
(
newJson
);
elem
.
attr
(
'
ts-selected
'
,
ids
);
}
})
initAppealReasonId
();
//初始化申诉内容
function
initWorkId
(){
showGrid
({
id
:
"
workId
"
,
url
:
flowableBasePath
+
"
checkwork004
"
,
params
:
{
appealType
:
appealType
},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
ajaxSendLoadBefore
:
function
(
hdb
)
{},
ajaxSendAfter
:
function
(
json
)
{
form
.
render
(
'
select
'
);
}
});
}
function
initAppealReasonId
()
{
// 考勤申诉原因
sysDictDataUtil
.
showDictDataListByDictTypeCode
(
sysDictData
[
"
hrCheckWorkReason
"
][
"
key
"
],
'
select
'
,
"
appealReasonId
"
,
''
,
form
);
initWorkId
();
}
//申诉类型监听事件
form
.
on
(
'
select(appealType)
'
,
function
(
data
)
{
appealType
=
data
.
value
;
workId
=
''
;
initWorkId
();
});
//申诉内容监听事件
form
.
on
(
'
select(workId)
'
,
function
(
data
)
{
workId
=
data
.
value
;
});
//申诉原因类型监听事件
form
.
on
(
'
select(appealReasonId)
'
,
function
(
data
)
{
appealReasonId
=
data
.
value
;
});
matchingLanguage
();
form
.
render
();
form
.
on
(
'
submit(formAddBean)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
if
(
isNull
(
workId
)){
winui
.
window
.
msg
(
'
请选择申诉内容
'
,
{
icon
:
2
,
time
:
2000
});
return
false
;
}
if
(
isNull
(
appealReasonId
)){
winui
.
window
.
msg
(
'
请选择申诉原因类型
'
,
{
icon
:
2
,
time
:
2000
});
return
false
;
}
var
params
=
{
appealType
:
appealType
,
workId
:
workId
,
appealReasonId
:
appealReasonId
,
appealReason
:
encodeURIComponent
(
$
(
"
#appealReason
"
).
val
()),
approvalId
:
ids
};
if
(
!
isNull
(
$
(
"
#approvalId
"
).
val
())
&&
!
isNull
(
ids
)){
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
checkwork005
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
)
{
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
}});
}
else
{
winui
.
window
.
msg
(
"
请选择审批人!
"
,
{
icon
:
2
,
time
:
2000
});
}
}
return
false
;
});
$
(
"
body
"
).
on
(
"
click
"
,
"
#cancle
"
,
function
()
{
parent
.
layer
.
close
(
index
);
});
});
});
\ No newline at end of file
checkwork/src/main/resources/template/js/checkWorkAbnormalAttendance/checkWorkAbnormalAttendanceDetails.js
已删除
100644 → 0
浏览文件 @
7189d1b4
layui
.
config
({
base
:
basePath
,
version
:
skyeyeVersion
}).
extend
({
window
:
'
js/winui.window
'
}).
define
([
'
window
'
,
'
table
'
,
'
jquery
'
,
'
winui
'
],
function
(
exports
)
{
winui
.
renderColor
();
layui
.
use
([
'
form
'
],
function
(
form
)
{
var
index
=
parent
.
layer
.
getFrameIndex
(
window
.
name
);
var
$
=
layui
.
$
;
showGrid
({
id
:
"
showForm
"
,
url
:
flowableBasePath
+
"
checkwork012
"
,
params
:
{
rowId
:
parent
.
rowId
},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/checkWorkAbnormalAttendance/checkWorkAbnormalAttendanceDetailsTemplate.tpl
'
),
ajaxSendAfter
:
function
(
json
)
{
if
(
json
.
bean
.
state
==
"
申诉中
"
){
$
(
"
#approvalTime
"
).
hide
();
$
(
"
#appealRemark
"
).
hide
();
}
matchingLanguage
();
form
.
render
();
}
});
$
(
"
body
"
).
on
(
"
click
"
,
"
#cancle
"
,
function
()
{
parent
.
layer
.
close
(
index
);
});
});
});
\ No newline at end of file
checkwork/src/main/resources/template/js/checkWorkAbnormalAttendance/checkWorkAbnormalAttendanceList.js
浏览文件 @
bbaece70
var
rowId
=
""
;
layui
.
config
({
layui
.
config
({
base
:
basePath
,
base
:
basePath
,
version
:
skyeyeVersion
version
:
skyeyeVersion
}).
extend
({
}).
extend
({
window
:
'
js/winui.window
'
window
:
'
js/winui.window
'
}).
define
([
'
window
'
,
'
table
'
,
'
jquery
'
,
'
winui
'
,
'
laydate
'
,
'
form
'
,
'
tableSelect
'
],
function
(
exports
)
{
}).
define
([
'
window
'
,
'
table
'
,
'
jquery
'
,
'
winui
'
,
'
form
'
],
function
(
exports
)
{
winui
.
renderColor
();
winui
.
renderColor
();
var
$
=
layui
.
$
,
var
$
=
layui
.
$
,
table
=
layui
.
table
,
table
=
layui
.
table
,
form
=
layui
.
form
,
form
=
layui
.
form
;
laydate
=
layui
.
laydate
,
var
serviceClassName
=
sysServiceMation
[
"
checkWorkAppeal
"
][
"
key
"
];
tableSelect
=
layui
.
tableSelect
;
// 新增申诉
authBtn
(
'
1597502935353
'
);
authBtn
(
'
1597502935353
'
);
// 审批日期选取时间段表格
laydate
.
render
({
elem
:
'
#checkDate
'
,
range
:
'
~
'
});
// 考勤申诉原因
// 我的考勤申诉列表
sysDictDataUtil
.
showDictDataListByDictTypeCode
(
sysDictData
[
"
hrCheckWorkReason
"
][
"
key
"
],
'
select
'
,
"
appealReasonId
"
,
''
,
form
);
table
.
render
({
id
:
'
messageTable
'
,
elem
:
'
#messageTable
'
,
method
:
'
post
'
,
url
:
sysMainMation
.
checkworkBasePath
+
'
queryAppealList
'
,
where
:
getTableParams
(),
even
:
true
,
page
:
true
,
limits
:
getLimits
(),
limit
:
getLimit
(),
cols
:
[[
{
title
:
systemLanguage
[
"
com.skyeye.serialNumber
"
][
languageType
],
type
:
'
numbers
'
},
{
field
:
'
oddNumber
'
,
title
:
'
单号
'
,
width
:
200
,
align
:
'
center
'
,
templet
:
function
(
d
)
{
return
'
<a lay-event="details" class="notice-title-click">
'
+
d
.
oddNumber
+
'
</a>
'
;
}},
{
field
:
'
processInstanceId
'
,
title
:
'
流程ID
'
,
width
:
80
,
align
:
'
center
'
,
templet
:
function
(
d
)
{
return
'
<a lay-event="processDetails" class="notice-title-click">
'
+
d
.
processInstanceId
+
'
</a>
'
;
}},
{
field
:
'
state
'
,
title
:
'
状态
'
,
width
:
90
,
align
:
'
center
'
,
templet
:
function
(
d
)
{
return
skyeyeClassEnumUtil
.
getEnumDataNameByCodeAndKey
(
"
flowableStateEnum
"
,
'
id
'
,
d
.
state
,
'
name
'
);
}},
{
field
:
'
createName
'
,
title
:
systemLanguage
[
"
com.skyeye.createName
"
][
languageType
],
width
:
120
},
{
field
:
'
createTime
'
,
title
:
systemLanguage
[
"
com.skyeye.createTime
"
][
languageType
],
align
:
'
center
'
,
width
:
150
},
{
field
:
'
lastUpdateName
'
,
title
:
systemLanguage
[
"
com.skyeye.lastUpdateName
"
][
languageType
],
align
:
'
left
'
,
width
:
120
},
{
field
:
'
lastUpdateTime
'
,
title
:
systemLanguage
[
"
com.skyeye.lastUpdateTime
"
][
languageType
],
align
:
'
center
'
,
width
:
150
},
{
title
:
systemLanguage
[
"
com.skyeye.operation
"
][
languageType
],
fixed
:
'
right
'
,
align
:
'
center
'
,
width
:
257
,
toolbar
:
'
#messageTableBar
'
}
]],
done
:
function
(
json
)
{
matchingLanguage
();
initTableSearchUtil
.
initAdvancedSearch
(
this
,
json
.
searchFilter
,
form
,
"
请输入单号
"
,
function
()
{
table
.
reloadData
(
"
messageTable
"
,
{
page
:
{
curr
:
1
},
where
:
getTableParams
()});
});
}
});
var
ids
=
""
;
table
.
on
(
'
tool(messageTable)
'
,
function
(
obj
)
{
tableSelect
.
render
({
elem
:
'
#approvalId
'
,
//定义输入框input对象
checkedKey
:
'
id
'
,
//表格的唯一键值,非常重要,影响到选中状态 必填
searchKey
:
'
userName
'
,
//搜索输入框的name值 默认keyword
searchPlaceholder
:
'
审批人搜索
'
,
//搜索输入框的提示文字 默认关键词搜索
table
:
{
//定义表格参数,与LAYUI的TABLE模块一致,只是无需再定义表格elem
url
:
flowableBasePath
+
'
checkwork008
'
,
where
:
{
userName
:
$
(
"
#userName
"
).
val
()},
method
:
'
post
'
,
page
:
true
,
limits
:
[
8
,
16
,
24
,
32
,
40
,
48
,
56
],
limit
:
8
,
cols
:
[[
{
type
:
'
radio
'
},
{
title
:
systemLanguage
[
"
com.skyeye.serialNumber
"
][
languageType
],
type
:
'
numbers
'
},
{
field
:
'
userName
'
,
title
:
'
审批人
'
,
width
:
100
},
{
field
:
'
userSex
'
,
title
:
'
性别
'
,
width
:
60
,
templet
:
function
(
d
)
{
if
(
d
.
userSex
==
'
0
'
){
return
"
保密
"
;
}
else
if
(
d
.
userSex
==
'
1
'
){
return
"
男
"
;
}
else
if
(
d
.
userSex
==
'
2
'
){
return
"
女
"
;
}
else
{
return
"
参数错误
"
;
}
}},
{
field
:
'
departmentName
'
,
title
:
'
所在部门
'
,
width
:
100
}
]]
},
done
:
function
(
elem
,
data
)
{
var
newJson
=
data
.
data
[
0
].
userName
;
ids
=
data
.
data
[
0
].
id
;
elem
.
val
(
newJson
);
elem
.
attr
(
'
ts-selected
'
,
ids
);
}
})
initMyAppealTable
();
// 我的申诉申请列表
function
initMyAppealTable
(){
table
.
render
({
id
:
'
myAppealTable
'
,
elem
:
'
#myAppealTable
'
,
method
:
'
post
'
,
url
:
flowableBasePath
+
'
checkwork006
'
,
where
:
getTableParams
(),
even
:
true
,
page
:
true
,
limits
:
getLimits
(),
limit
:
getLimit
(),
cols
:
[[
{
title
:
systemLanguage
[
"
com.skyeye.serialNumber
"
][
languageType
],
type
:
'
numbers
'
},
{
field
:
'
checkDate
'
,
title
:
'
申诉内容
'
,
align
:
'
left
'
,
width
:
160
,
templet
:
function
(
d
)
{
var
text
=
d
.
checkDate
;
return
text
+=
d
.
situation
;
}},
{
field
:
'
appealName
'
,
title
:
'
申诉原因
'
,
align
:
'
center
'
,
width
:
100
},
{
field
:
'
appealReason
'
,
title
:
'
申诉具体原因
'
,
align
:
'
left
'
,
width
:
170
},
{
field
:
'
createTime
'
,
title
:
'
申诉时间
'
,
align
:
'
center
'
,
width
:
150
},
{
field
:
'
state
'
,
title
:
'
申诉状态
'
,
width
:
100
,
align
:
'
center
'
,
templet
:
function
(
d
)
{
if
(
d
.
state
==
'
0
'
){
return
"
<span class='state-new'>申诉中</span>
"
;
}
else
if
(
d
.
state
==
'
1
'
){
return
"
<span class='state-up'>申诉通过</span>
"
;
}
else
if
(
d
.
state
==
'
2
'
){
return
"
<span class='state-down'>申诉不通过</span>
"
;
}
else
{
return
"
参数错误
"
;
}
}},
{
field
:
'
userName
'
,
title
:
'
审批人
'
,
align
:
'
center
'
,
width
:
80
},
{
field
:
'
approvalTime
'
,
title
:
'
审批时间
'
,
align
:
'
center
'
,
width
:
150
},
{
title
:
systemLanguage
[
"
com.skyeye.operation
"
][
languageType
],
fixed
:
'
right
'
,
align
:
'
center
'
,
width
:
100
,
toolbar
:
'
#tableBar1
'
}
]],
done
:
function
(
json
)
{
matchingLanguage
();
}
});
}
form
.
render
();
table
.
on
(
'
tool(myAppealTable)
'
,
function
(
obj
)
{
var
data
=
obj
.
data
;
var
data
=
obj
.
data
;
var
layEvent
=
obj
.
event
;
var
layEvent
=
obj
.
event
;
if
(
layEvent
===
'
details
'
)
{
//我的申诉申请详情
if
(
layEvent
===
'
details
'
)
{
// 详情
details
(
data
);
details
(
data
);
}
}
else
if
(
layEvent
===
'
edit
'
)
{
// 编辑
edit
(
data
);
}
else
if
(
layEvent
===
'
subApproval
'
)
{
// 提交审批
subApproval
(
data
);
}
else
if
(
layEvent
===
'
cancellation
'
)
{
// 作废
cancellation
(
data
);
}
else
if
(
layEvent
===
'
processDetails
'
)
{
// 流程详情
activitiUtil
.
activitiDetails
(
data
);
}
else
if
(
layEvent
===
'
revoke
'
)
{
// 撤销申请
revoke
(
data
);
}
});
});
// 新增申诉
// 新增申诉
$
(
"
body
"
).
on
(
"
click
"
,
"
#addBean
"
,
function
()
{
$
(
"
body
"
).
on
(
"
click
"
,
"
#addBean
"
,
function
()
{
_openNewWindows
({
_openNewWindows
({
url
:
"
../../tpl/checkWorkAbnormalAttendance/checkWorkAbnormalAttendanceAdd.html
"
,
url
:
systemCommonUtil
.
getUrl
(
'
FP2023071800009
'
,
null
),
title
:
"
新增申诉
"
,
title
:
systemLanguage
[
"
com.skyeye.addPageTitle
"
][
languageType
]
,
pageId
:
"
checkWorkAbnormalAttendanceAdd
"
,
pageId
:
"
checkWorkAbnormalAttendanceAdd
"
,
area
:
[
'
90vw
'
,
'
90vh
'
],
area
:
[
'
90vw
'
,
'
90vh
'
],
callBack
:
function
(
refreshCode
)
{
callBack
:
function
(
refreshCode
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.successfulOperation
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.successfulOperation
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
reloadMyAppeal
Table
();
load
Table
();
}});
}});
});
});
function
revoke
(
data
)
{
layer
.
confirm
(
'
确认撤销该申请吗?
'
,
{
icon
:
3
,
title
:
'
撤销操作
'
},
function
(
index
)
{
layer
.
close
(
index
);
AjaxPostUtil
.
request
({
url
:
sysMainMation
.
checkworkBasePath
+
"
revokeAppeal
"
,
params
:
{
processInstanceId
:
data
.
processInstanceId
},
type
:
'
json
'
,
method
:
"
PUT
"
,
callback
:
function
(
json
)
{
winui
.
window
.
msg
(
"
提交成功
"
,
{
icon
:
1
,
time
:
2000
});
loadTable
();
}});
});
}
function
edit
(
data
)
{
_openNewWindows
({
url
:
systemCommonUtil
.
getUrl
(
'
FP2023071800010&id=
'
+
data
.
id
,
null
),
title
:
systemLanguage
[
"
com.skyeye.editPageTitle
"
][
languageType
],
pageId
:
"
checkWorkAbnormalAttendanceEdit
"
,
area
:
[
'
90vw
'
,
'
90vh
'
],
callBack
:
function
(
refreshCode
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.successfulOperation
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
}
});
}
// 出差申请提交审批
function
subApproval
(
data
)
{
layer
.
confirm
(
systemLanguage
[
"
com.skyeye.approvalOperationMsg
"
][
languageType
],
{
icon
:
3
,
title
:
systemLanguage
[
"
com.skyeye.approvalOperation
"
][
languageType
]},
function
(
index
)
{
layer
.
close
(
index
);
activitiUtil
.
startProcess
(
serviceClassName
,
null
,
function
(
approvalId
)
{
var
params
=
{
id
:
data
.
id
,
approvalId
:
approvalId
};
AjaxPostUtil
.
request
({
url
:
sysMainMation
.
checkworkBasePath
+
"
submitAppeal
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
POST
"
,
callback
:
function
(
json
)
{
winui
.
window
.
msg
(
"
提交成功
"
,
{
icon
:
1
,
time
:
2000
});
loadTable
();
}});
});
});
}
// 出差申请作废
function
cancellation
(
data
)
{
layer
.
confirm
(
'
确认作废该申请吗?
'
,
{
icon
:
3
,
title
:
'
作废操作
'
},
function
(
index
)
{
layer
.
close
(
index
);
AjaxPostUtil
.
request
({
url
:
sysMainMation
.
checkworkBasePath
+
"
invalidAppeal
"
,
params
:
{
id
:
data
.
id
},
type
:
'
json
'
,
method
:
"
POST
"
,
callback
:
function
(
json
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.successfulOperation
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
}});
});
}
// 我的申诉申请详情
// 我的申诉申请详情
function
details
(
data
)
{
function
details
(
data
)
{
rowId
=
data
.
id
;
_openNewWindows
({
_openNewWindows
({
url
:
"
../../tpl/checkWorkAbnormalAttendance/checkWorkAbnormalAttendanceDetails.html
"
,
url
:
systemCommonUtil
.
getUrl
(
'
FP2023071800011&id=
'
+
data
.
id
,
null
),
title
:
systemLanguage
[
"
com.skyeye.detailsPageTitle
"
][
languageType
],
title
:
systemLanguage
[
"
com.skyeye.detailsPageTitle
"
][
languageType
],
pageId
:
"
checkWorkAbnormalAttendanceDetails
"
,
pageId
:
"
checkWorkAbnormalAttendanceDetails
"
,
area
:
[
'
90vw
'
,
'
90vh
'
],
area
:
[
'
90vw
'
,
'
90vh
'
],
callBack
:
function
(
refreshCode
)
{
callBack
:
function
(
refreshCode
)
{
}});
}});
}
}
// 搜索我的申诉申请
form
.
render
();
$
(
"
body
"
).
on
(
"
click
"
,
"
#
searchForm1
"
,
function
()
{
$
(
"
body
"
).
on
(
"
click
"
,
"
#
reloadTable
"
,
function
()
{
table
.
reloadData
(
"
myAppealTable
"
,
{
page
:
{
curr
:
1
},
where
:
getTableParams
()}
);
loadTable
(
);
});
});
function
loadTable
()
{
// 刷新我的申诉申请
table
.
reloadData
(
"
messageTable
"
,
{
where
:
getTableParams
()});
$
(
"
body
"
).
on
(
"
click
"
,
"
#reloadTable
"
,
function
()
{
}
reloadMyAppealTable
();
});
function
getTableParams
()
{
return
$
.
extend
(
true
,
{},
initTableSearchUtil
.
getSearchValue
(
"
messageTable
"
));
function
reloadMyAppealTable
(){
}
table
.
reloadData
(
"
myAppealTable
"
,
{
where
:
getTableParams
()});
}
function
getTableParams
()
{
if
(
isNull
(
$
(
"
#approvalId
"
).
val
()))
{
ids
=
""
;
}
var
startTime
=
""
,
endTime
=
""
;
if
(
!
isNull
(
$
(
"
#checkDate
"
).
val
()))
{
startTime
=
$
(
"
#checkDate
"
).
val
().
split
(
'
~
'
)[
0
].
trim
()
+
'
00:00:00
'
;
endTime
=
$
(
"
#checkDate
"
).
val
().
split
(
'
~
'
)[
1
].
trim
()
+
'
23:59:59
'
;
}
return
{
firstTime
:
startTime
,
lastTime
:
endTime
,
approvalId
:
ids
,
state
:
$
(
"
#state
"
).
val
(),
appealReasonId
:
$
(
"
#appealReasonId
"
).
val
()
};
}
exports
(
'
checkWorkAbnormalAttendanceList
'
,
{});
exports
(
'
checkWorkAbnormalAttendanceList
'
,
{});
});
});
checkwork/src/main/resources/template/js/checkWorkApprove/checkWorkApprove.js
已删除
100644 → 0
浏览文件 @
7189d1b4
layui
.
config
({
base
:
basePath
,
version
:
skyeyeVersion
}).
extend
({
window
:
'
js/winui.window
'
}).
define
([
'
window
'
,
'
table
'
,
'
jquery
'
,
'
winui
'
],
function
(
exports
)
{
winui
.
renderColor
();
layui
.
use
([
'
form
'
],
function
(
form
)
{
var
index
=
parent
.
layer
.
getFrameIndex
(
window
.
name
);
var
$
=
layui
.
$
;
showGrid
({
id
:
"
showForm
"
,
url
:
flowableBasePath
+
"
checkwork010
"
,
params
:
{
rowId
:
parent
.
rowId
},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/checkWorkApprove/checkWorkApproveTemplate.tpl
'
),
ajaxSendAfter
:
function
(
json
)
{
matchingLanguage
();
form
.
render
();
form
.
on
(
'
submit(formEditBean)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
var
params
=
{
rowId
:
parent
.
rowId
,
state
:
$
(
"
input[name='appealstate']:checked
"
).
val
(),
appealRemark
:
$
(
"
#appealRemark
"
).
val
()
};
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
checkwork011
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
)
{
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
}});
}
return
false
;
});
}
});
$
(
"
body
"
).
on
(
"
click
"
,
"
#cancle
"
,
function
()
{
parent
.
layer
.
close
(
index
);
});
});
});
\ No newline at end of file
checkwork/src/main/resources/template/js/checkWorkApprove/checkWorkApproveList.js
已删除
100644 → 0
浏览文件 @
7189d1b4
var
rowId
=
""
;
layui
.
config
({
base
:
basePath
,
version
:
skyeyeVersion
}).
extend
({
window
:
'
js/winui.window
'
}).
define
([
'
window
'
,
'
table
'
,
'
jquery
'
,
'
winui
'
,
'
laydate
'
,
'
form
'
,
'
tableSelect
'
],
function
(
exports
)
{
winui
.
renderColor
();
var
$
=
layui
.
$
,
table
=
layui
.
table
,
form
=
layui
.
form
,
laydate
=
layui
.
laydate
,
tableSelect
=
layui
.
tableSelect
;
// 审批日期选取时间段表格
laydate
.
render
({
elem
:
'
#checkDate
'
,
range
:
'
~
'
});
// 考勤申诉原因
sysDictDataUtil
.
showDictDataListByDictTypeCode
(
sysDictData
[
"
hrCheckWorkReason
"
][
"
key
"
],
'
select
'
,
"
appealReasonId
"
,
''
,
form
);
var
createid
=
""
;
tableSelect
.
render
({
elem
:
'
#createId
'
,
//定义输入框input对象
checkedKey
:
'
id
'
,
//表格的唯一键值,非常重要,影响到选中状态 必填
searchKey
:
'
userName
'
,
//搜索输入框的name值 默认keyword
searchPlaceholder
:
'
审批人搜索
'
,
//搜索输入框的提示文字 默认关键词搜索
table
:
{
//定义表格参数,与LAYUI的TABLE模块一致,只是无需再定义表格elem
url
:
flowableBasePath
+
'
checkwork008
'
,
where
:
{
userName
:
$
(
"
#userName
"
).
val
()},
method
:
'
post
'
,
page
:
true
,
limits
:
[
8
,
16
,
24
,
32
,
40
,
48
,
56
],
limit
:
8
,
cols
:
[[
{
type
:
'
radio
'
},
{
title
:
systemLanguage
[
"
com.skyeye.serialNumber
"
][
languageType
],
type
:
'
numbers
'
},
{
field
:
'
userName
'
,
title
:
'
申诉人
'
,
width
:
100
},
{
field
:
'
userSex
'
,
title
:
'
性别
'
,
width
:
60
,
templet
:
function
(
d
)
{
if
(
d
.
userSex
==
'
0
'
){
return
"
保密
"
;
}
else
if
(
d
.
userSex
==
'
1
'
){
return
"
男
"
;
}
else
if
(
d
.
userSex
==
'
2
'
){
return
"
女
"
;
}
else
{
return
"
参数错误
"
;
}
}},
{
field
:
'
departmentName
'
,
title
:
'
所在部门
'
,
width
:
100
}
]]
},
done
:
function
(
elem
,
data
)
{
var
newJson
=
data
.
data
[
0
].
userName
;
createid
=
data
.
data
[
0
].
id
;
elem
.
val
(
newJson
);
elem
.
attr
(
'
ts-selected
'
,
createid
);
}
})
initMyGetTable
();
// 员工考勤申诉审批列表
function
initMyGetTable
(){
table
.
render
({
id
:
'
myGetTable
'
,
elem
:
'
#myGetTable
'
,
method
:
'
post
'
,
url
:
flowableBasePath
+
'
checkwork007
'
,
where
:
getTableParams
(),
even
:
true
,
page
:
true
,
limits
:
getLimits
(),
limit
:
getLimit
(),
cols
:
[[
{
title
:
systemLanguage
[
"
com.skyeye.serialNumber
"
][
languageType
],
type
:
'
numbers
'
},
{
field
:
'
checkDate
'
,
title
:
'
申诉内容
'
,
align
:
'
left
'
,
width
:
160
,
templet
:
function
(
d
)
{
var
text
=
d
.
checkDate
;
return
text
+
d
.
situation
;
}},
{
field
:
'
appealName
'
,
title
:
'
申诉原因
'
,
align
:
'
center
'
,
width
:
100
},
{
field
:
'
appealReason
'
,
title
:
'
申诉具体原因
'
,
align
:
'
left
'
,
width
:
170
},
{
field
:
'
createTime
'
,
title
:
'
申诉时间
'
,
align
:
'
center
'
,
width
:
150
},
{
field
:
'
state
'
,
title
:
'
申诉状态
'
,
align
:
'
left
'
,
width
:
100
,
templet
:
function
(
d
)
{
if
(
d
.
state
==
'
0
'
){
return
"
<span class='state-new'>申诉中</span>
"
;
}
else
if
(
d
.
state
==
'
1
'
){
return
"
<span class='state-up'>申诉通过</span>
"
;
}
else
if
(
d
.
state
==
'
2
'
){
return
"
<span class='state-down'>申诉不通过</span>
"
;
}
else
{
return
"
参数错误
"
;
}
}},
{
field
:
'
userName
'
,
title
:
'
申诉人
'
,
align
:
'
left
'
,
width
:
80
},
{
field
:
'
approvalTime
'
,
title
:
'
审批时间
'
,
align
:
'
center
'
,
width
:
150
},
{
title
:
systemLanguage
[
"
com.skyeye.operation
"
][
languageType
],
fixed
:
'
right
'
,
align
:
'
center
'
,
width
:
140
,
toolbar
:
'
#tableBar2
'
}
]],
done
:
function
(
json
)
{
matchingLanguage
();
}
});
table
.
on
(
'
tool(myGetTable)
'
,
function
(
obj
)
{
var
data
=
obj
.
data
;
var
layEvent
=
obj
.
event
;
if
(
layEvent
===
'
approve
'
)
{
//审批员工的申诉申请
approve
(
data
);
}
else
if
(
layEvent
===
'
appealdetails
'
){
//员工的申诉申请详情
appealdetails
(
data
);
}
});
}
form
.
render
();
// 审批员工的申诉申请
function
approve
(
data
)
{
rowId
=
data
.
id
;
_openNewWindows
({
url
:
"
../../tpl/checkWorkApprove/checkWorkApprove.html
"
,
title
:
"
审批申诉申请
"
,
pageId
:
"
checkWorkApprove
"
,
area
:
[
'
90vw
'
,
'
90vh
'
],
callBack
:
function
(
refreshCode
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.successfulOperation
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
reloadMyGetTable
();
}});
}
// 员 工的申诉申请详情
function
appealdetails
(
data
)
{
rowId
=
data
.
id
;
_openNewWindows
({
url
:
"
../../tpl/checkWorkAbnormalAttendance/checkWorkAbnormalAttendanceDetails.html
"
,
title
:
systemLanguage
[
"
com.skyeye.detailsPageTitle
"
][
languageType
],
pageId
:
"
checkWorkAbnormalAttendanceDetails
"
,
area
:
[
'
90vw
'
,
'
90vh
'
],
callBack
:
function
(
refreshCode
)
{
}});
}
// 搜索员工考勤申诉审批
$
(
"
body
"
).
on
(
"
click
"
,
"
#searchForm2
"
,
function
()
{
table
.
reloadData
(
"
myGetTable
"
,
{
page
:
{
curr
:
1
},
where
:
getTableParams
()});
});
// 刷新员工考勤申诉审批
$
(
"
body
"
).
on
(
"
click
"
,
"
#reloadGetTable
"
,
function
()
{
reloadMyGetTable
();
});
function
reloadMyGetTable
(){
table
.
reloadData
(
"
myGetTable
"
,
{
where
:
getTableParams
()});
}
function
getTableParams
(){
if
(
isNull
(
$
(
"
#createId
"
).
val
()))
{
createid
=
""
;
}
var
startTime
=
""
,
endTime
=
""
;
if
(
!
isNull
(
$
(
"
#checkDate
"
).
val
()))
{
startTime
=
$
(
"
#checkDate
"
).
val
().
split
(
'
~
'
)[
0
].
trim
()
+
'
00:00:00
'
;
endTime
=
$
(
"
#checkDate
"
).
val
().
split
(
'
~
'
)[
1
].
trim
()
+
'
23:59:59
'
;
}
return
{
firstTime
:
startTime
,
lastTime
:
endTime
,
createId
:
createid
,
state
:
$
(
"
#state
"
).
val
(),
appealReasonId
:
$
(
"
#appealReasonId
"
).
val
()
};
}
exports
(
'
checkWorkApproveList
'
,
{});
});
checkwork/src/main/resources/template/js/checkWorkBusinessTrip/checkWorkBusinessTripList.js
浏览文件 @
bbaece70
...
@@ -44,6 +44,9 @@ layui.config({
...
@@ -44,6 +44,9 @@ layui.config({
]],
]],
done
:
function
(
json
)
{
done
:
function
(
json
)
{
matchingLanguage
();
matchingLanguage
();
initTableSearchUtil
.
initAdvancedSearch
(
this
,
json
.
searchFilter
,
form
,
"
请输入单号,标题
"
,
function
()
{
table
.
reloadData
(
"
messageTable
"
,
{
page
:
{
curr
:
1
},
where
:
getTableParams
()});
});
}
}
});
});
...
...
checkwork/src/main/resources/template/js/checkWorkCancelLeave/checkWorkCancelLeaveList.js
浏览文件 @
bbaece70
...
@@ -44,6 +44,9 @@ layui.config({
...
@@ -44,6 +44,9 @@ layui.config({
]],
]],
done
:
function
(
json
)
{
done
:
function
(
json
)
{
matchingLanguage
();
matchingLanguage
();
initTableSearchUtil
.
initAdvancedSearch
(
this
,
json
.
searchFilter
,
form
,
"
请输入单号,标题
"
,
function
()
{
table
.
reloadData
(
"
messageTable
"
,
{
page
:
{
curr
:
1
},
where
:
getTableParams
()});
});
}
}
});
});
...
...
checkwork/src/main/resources/template/js/checkWorkMyAttendanceStatistics/checkWorkMyAttendanceStatistics.js
浏览文件 @
bbaece70
...
@@ -149,15 +149,6 @@ layui.config({
...
@@ -149,15 +149,6 @@ layui.config({
form
.
render
();
form
.
render
();
// 个人考勤情况导出
$
(
"
body
"
).
on
(
"
click
"
,
"
#download
"
,
function
()
{
postDownLoadFile
({
url
:
flowableBasePath
+
'
checkwork017
'
,
params
:
getTableParams
(),
method
:
'
post
'
});
});
// 搜索我的考勤统计
// 搜索我的考勤统计
$
(
"
body
"
).
on
(
"
click
"
,
"
#searchForm
"
,
function
()
{
$
(
"
body
"
).
on
(
"
click
"
,
"
#searchForm
"
,
function
()
{
table
.
reloadData
(
"
messageTable
"
,
{
page
:
{
curr
:
1
},
where
:
getTableParams
()});
table
.
reloadData
(
"
messageTable
"
,
{
page
:
{
curr
:
1
},
where
:
getTableParams
()});
...
...
checkwork/src/main/resources/template/js/checkwork/checkworkreport.js
浏览文件 @
bbaece70
...
@@ -12,11 +12,10 @@ layui.config({
...
@@ -12,11 +12,10 @@ layui.config({
window
:
'
js/winui.window
'
,
window
:
'
js/winui.window
'
,
echarts
:
'
../echarts/echarts
'
,
echarts
:
'
../echarts/echarts
'
,
echartsTheme
:
'
../echarts/echartsTheme
'
echartsTheme
:
'
../echarts/echartsTheme
'
}).
define
([
'
window
'
,
'
table
'
,
'
jquery
'
,
'
winui
'
,
'
form
'
,
'
laydate
'
,
'
echarts
'
],
function
(
exports
)
{
}).
define
([
'
window
'
,
'
table
'
,
'
jquery
'
,
'
winui
'
,
'
form
'
,
'
echarts
'
],
function
(
exports
)
{
winui
.
renderColor
();
winui
.
renderColor
();
var
$
=
layui
.
$
,
var
$
=
layui
.
$
,
form
=
layui
.
form
,
form
=
layui
.
form
,
laydate
=
layui
.
laydate
,
table
=
layui
.
table
;
table
=
layui
.
table
;
var
selTemplate
=
getFileContent
(
'
tpl/template/select-option.tpl
'
);
var
selTemplate
=
getFileContent
(
'
tpl/template/select-option.tpl
'
);
...
@@ -37,139 +36,91 @@ layui.config({
...
@@ -37,139 +36,91 @@ layui.config({
}
}
});
});
//初始化统计时间
table
.
render
({
var
day
=
getTodayDay
();
id
:
'
messageTable
'
,
endTime
=
getYesterdayYMDFormatDate
();
//结束日期为今天的前一天
elem
:
'
#messageTable
'
,
if
(
day
===
"
1
"
||
day
==
1
){
//如果当前为本月一号,则查询上个月的
method
:
'
post
'
,
startTime
=
getTOneYMDFormatDate
();
//开始日期为上个月一号
url
:
sysMainMation
.
checkworkBasePath
+
'
checkwork015
'
,
}
else
{
where
:
getTableParams
(),
startTime
=
getOneYMDFormatDate
();
//开始日期为本月一号
even
:
true
,
}
page
:
true
,
limits
:
getLimits
(),
//'统计表'页面的选取时间段表格
limit
:
getLimit
(),
laydate
.
render
({
cols
:
[[
elem
:
'
#checkTime
'
,
//指定元素
{
title
:
systemLanguage
[
"
com.skyeye.serialNumber
"
][
languageType
],
type
:
'
numbers
'
},
max
:
getYesterdayYMDFormatDate
(),
// 设置最大可选的日期
{
field
:
'
userId
'
,
title
:
'
ID
'
,
width
:
50
,
style
:
'
display:none;
'
},
range
:
'
~
'
,
{
field
:
'
companyName
'
,
title
:
'
公司
'
,
align
:
'
left
'
,
width
:
200
},
value
:
startTime
+
"
~
"
+
endTime
,
//初始化统计日期
{
field
:
'
departmentName
'
,
title
:
'
部门
'
,
align
:
'
left
'
,
width
:
120
},
done
:
function
(
value
,
date
,
endDate
){
{
field
:
'
jobName
'
,
title
:
'
职位
'
,
align
:
'
left
'
,
width
:
120
},
if
(
isNull
(
value
)){
{
field
:
'
userName
'
,
title
:
'
姓名
'
,
align
:
'
left
'
,
width
:
80
},
startTime
=
""
;
{
field
:
'
shouldTime
'
,
title
:
'
应出勤(次)
'
,
align
:
'
center
'
,
width
:
100
},
endTime
=
""
;
{
field
:
'
fullTime
'
,
title
:
'
全勤(次)
'
,
align
:
'
center
'
,
width
:
100
,
templet
:
function
(
d
)
{
}
else
{
if
(
d
.
fullTime
!=
'
0
'
){
startTime
=
value
.
split
(
"
~
"
)[
0
].
trim
();
return
"
<a class='checkwork-a'><span class='state-up' lay-event='fullTime'>
"
+
d
.
fullTime
+
"
</span></a>
"
;
endTime
=
value
.
split
(
"
~
"
)[
1
].
trim
();
}
else
{
}
return
d
.
fullTime
;
}
}},
{
field
:
'
absenteeism
'
,
title
:
'
缺勤(次)
'
,
align
:
'
center
'
,
width
:
100
,
templet
:
function
(
d
)
{
if
(
d
.
absenteeism
!=
'
0
'
){
return
"
<a class='checkwork-a'><span class='state-down' lay-event='absenteeism'>
"
+
d
.
absenteeism
+
"
</span></a>
"
;
}
else
{
return
d
.
absenteeism
;
}
}},
{
field
:
'
lackTime
'
,
title
:
'
工时不足(次)
'
,
align
:
'
center
'
,
width
:
100
,
templet
:
function
(
d
)
{
if
(
d
.
lackTime
!=
'
0
'
){
return
"
<a class='checkwork-a'><span class='state-down' lay-event='lackTime'>
"
+
d
.
lackTime
+
"
</span></a>
"
;
}
else
{
return
d
.
lackTime
;
}
}},
{
field
:
'
late
'
,
title
:
'
迟到(次)
'
,
align
:
'
center
'
,
width
:
100
,
templet
:
function
(
d
)
{
if
(
d
.
late
!=
'
0
'
){
return
"
<a class='checkwork-a'><span class='state-down' lay-event='late'>
"
+
d
.
late
+
"
</span></a>
"
;
}
else
{
return
d
.
late
;
}
}},
{
field
:
'
leaveEarly
'
,
title
:
'
早退(次)
'
,
align
:
'
center
'
,
width
:
100
,
templet
:
function
(
d
)
{
if
(
d
.
leaveEarly
!=
'
0
'
){
return
"
<a class='checkwork-a'><span class='state-down' lay-event='leaveEarly'>
"
+
d
.
leaveEarly
+
"
</span></a>
"
;
}
else
{
return
d
.
leaveEarly
;
}
}},
{
field
:
'
missing
'
,
title
:
'
漏签(次)
'
,
align
:
'
center
'
,
width
:
100
,
templet
:
function
(
d
)
{
if
(
d
.
missing
!=
'
0
'
){
return
"
<a class='checkwork-a'><span class='state-down' lay-event='missing'>
"
+
d
.
missing
+
"
</span></a>
"
;
}
else
{
return
d
.
missing
;
}
}}
]
],
done
:
function
(
json
)
{
matchingLanguage
();
$
(
'
table.layui-table thead tr th:eq(1)
'
).
addClass
(
'
layui-hide
'
);
}
}
});
});
table
.
on
(
'
tool(messageTable)
'
,
function
(
obj
)
{
// 加载考勤班次
var
data
=
obj
.
data
;
/*showGrid({
var
layEvent
=
obj
.
event
;
id: "timeId",
if
(
layEvent
===
'
fullTime
'
)
{
url: sysMainMation.checkworkBasePath + "queryEnableCheckWorkTimeList",
detail
(
data
,
'
1
'
);
params: {},
}
else
if
(
layEvent
===
'
absenteeism
'
){
method: 'GET',
detail
(
data
,
'
2
'
);
pagination: false,
}
else
if
(
layEvent
===
'
lackTime
'
){
template: selTemplate,
detail
(
data
,
'
3
'
);
ajaxSendLoadBefore: function(hdb, json){
}
else
if
(
layEvent
===
'
late
'
){
$.each(json.rows, function(i, item) {
detail
(
data
,
'
4
'
);
item.name = item.title + ' [' + item.startTime + ' ~ ' + item.endTime + ']';
}
else
if
(
layEvent
===
'
leaveEarly
'
){
});
detail
(
data
,
'
5
'
);
},
}
else
if
(
layEvent
===
'
missing
'
){
ajaxSendAfter:function (json) {
detail
(
data
,
'
6
'
);
initCompany();
}
}
});
});*/
initCompany
();
function
initTable
(){
$
(
"
#title
"
).
text
(
startTime
+
"
至
"
+
endTime
+
"
考勤情况统计
"
);
table
.
render
({
id
:
'
messageTable
'
,
elem
:
'
#messageTable
'
,
method
:
'
post
'
,
url
:
flowableBasePath
+
'
checkwork015
'
,
where
:
getTableParams
(),
even
:
true
,
page
:
true
,
limits
:
[
10
,
20
,
30
,
40
,
50
,
100
],
limit
:
10
,
cols
:
[[
{
title
:
systemLanguage
[
"
com.skyeye.serialNumber
"
][
languageType
],
type
:
'
numbers
'
},
{
field
:
'
userId
'
,
title
:
'
ID
'
,
width
:
50
,
style
:
'
display:none;
'
},
{
field
:
'
companyName
'
,
title
:
'
公司
'
,
align
:
'
left
'
,
width
:
200
},
{
field
:
'
departmentName
'
,
title
:
'
部门
'
,
align
:
'
left
'
,
width
:
120
},
{
field
:
'
jobName
'
,
title
:
'
职位
'
,
align
:
'
left
'
,
width
:
120
},
{
field
:
'
userName
'
,
title
:
'
姓名
'
,
align
:
'
left
'
,
width
:
80
},
{
field
:
'
shouldTime
'
,
title
:
'
应出勤(次)
'
,
align
:
'
center
'
,
width
:
100
},
{
field
:
'
fullTime
'
,
title
:
'
全勤(次)
'
,
align
:
'
center
'
,
width
:
100
,
templet
:
function
(
d
)
{
if
(
d
.
fullTime
!=
'
0
'
){
return
"
<a class='checkwork-a'><span class='state-up' lay-event='fullTime'>
"
+
d
.
fullTime
+
"
</span></a>
"
;
}
else
{
return
d
.
fullTime
;
}
}},
{
field
:
'
absenteeism
'
,
title
:
'
缺勤(次)
'
,
align
:
'
center
'
,
width
:
100
,
templet
:
function
(
d
)
{
if
(
d
.
absenteeism
!=
'
0
'
){
return
"
<a class='checkwork-a'><span class='state-down' lay-event='absenteeism'>
"
+
d
.
absenteeism
+
"
</span></a>
"
;
}
else
{
return
d
.
absenteeism
;
}
}},
{
field
:
'
lackTime
'
,
title
:
'
工时不足(次)
'
,
align
:
'
center
'
,
width
:
100
,
templet
:
function
(
d
)
{
if
(
d
.
lackTime
!=
'
0
'
){
return
"
<a class='checkwork-a'><span class='state-down' lay-event='lackTime'>
"
+
d
.
lackTime
+
"
</span></a>
"
;
}
else
{
return
d
.
lackTime
;
}
}},
{
field
:
'
late
'
,
title
:
'
迟到(次)
'
,
align
:
'
center
'
,
width
:
100
,
templet
:
function
(
d
)
{
if
(
d
.
late
!=
'
0
'
){
return
"
<a class='checkwork-a'><span class='state-down' lay-event='late'>
"
+
d
.
late
+
"
</span></a>
"
;
}
else
{
return
d
.
late
;
}
}},
{
field
:
'
leaveEarly
'
,
title
:
'
早退(次)
'
,
align
:
'
center
'
,
width
:
100
,
templet
:
function
(
d
)
{
if
(
d
.
leaveEarly
!=
'
0
'
){
return
"
<a class='checkwork-a'><span class='state-down' lay-event='leaveEarly'>
"
+
d
.
leaveEarly
+
"
</span></a>
"
;
}
else
{
return
d
.
leaveEarly
;
}
}},
{
field
:
'
missing
'
,
title
:
'
漏签(次)
'
,
align
:
'
center
'
,
width
:
100
,
templet
:
function
(
d
)
{
if
(
d
.
missing
!=
'
0
'
){
return
"
<a class='checkwork-a'><span class='state-down' lay-event='missing'>
"
+
d
.
missing
+
"
</span></a>
"
;
}
else
{
return
d
.
missing
;
}
}}
]
],
done
:
function
(
json
)
{
matchingLanguage
();
$
(
'
table.layui-table thead tr th:eq(1)
'
).
addClass
(
'
layui-hide
'
);
}
});
table
.
on
(
'
tool(messageTable)
'
,
function
(
obj
)
{
var
data
=
obj
.
data
;
var
layEvent
=
obj
.
event
;
if
(
layEvent
===
'
fullTime
'
)
{
detail
(
data
,
'
1
'
);
}
else
if
(
layEvent
===
'
absenteeism
'
){
detail
(
data
,
'
2
'
);
}
else
if
(
layEvent
===
'
lackTime
'
){
detail
(
data
,
'
3
'
);
}
else
if
(
layEvent
===
'
late
'
){
detail
(
data
,
'
4
'
);
}
else
if
(
layEvent
===
'
leaveEarly
'
){
detail
(
data
,
'
5
'
);
}
else
if
(
layEvent
===
'
missing
'
){
detail
(
data
,
'
6
'
);
}
});
}
function
detail
(
data
,
detailType
){
function
detail
(
data
,
detailType
){
var
userName
=
data
.
userName
;
var
userName
=
data
.
userName
;
var
title
=
""
;
var
title
=
""
;
...
@@ -273,15 +224,6 @@ layui.config({
...
@@ -273,15 +224,6 @@ layui.config({
}
}
});
});
//导出
$
(
"
body
"
).
on
(
"
click
"
,
"
#download
"
,
function
()
{
postDownLoadFile
({
url
:
flowableBasePath
+
'
checkwork020
'
,
params
:
getTableParams
(),
method
:
'
post
'
});
});
function
loadTable
()
{
function
loadTable
()
{
if
(
isNull
(
$
(
"
#checkTime
"
).
val
()))
{
//一定要记得,当createTime为空时
if
(
isNull
(
$
(
"
#checkTime
"
).
val
()))
{
//一定要记得,当createTime为空时
winui
.
window
.
msg
(
"
请选择时间段
"
,
{
icon
:
2
,
time
:
2000
});
winui
.
window
.
msg
(
"
请选择时间段
"
,
{
icon
:
2
,
time
:
2000
});
...
...
checkwork/src/main/resources/template/tpl/checkWorkAbnormalAttendance/checkWorkAbnormalAttendanceAdd.html
已删除
100644 → 0
浏览文件 @
7189d1b4
<!DOCTYPE html>
<html>
<head>
<meta
charset=
"utf-8"
/>
<title></title>
<link
href=
"../../assets/lib/layui/css/layui.css"
rel=
"stylesheet"
/>
<link
href=
"../../assets/lib/winui/css/winui.css"
rel=
"stylesheet"
/>
</head>
<body>
<div
style=
"margin:0 auto;padding:20px;"
>
<form
class=
"layui-form"
action=
""
id=
"showForm"
autocomplete=
"off"
>
<div
class=
"layui-form-item"
>
<label
class=
"layui-form-label"
>
审批人
</label>
<div
class=
"layui-input-block"
>
<input
type=
"text"
id=
"approvalId"
name=
"approvalId"
placeholder=
"审批人"
class=
"layui-input"
/>
</div>
</div>
<div
class=
"layui-form-item"
>
<label
class=
"layui-form-label"
>
申诉类型
</label>
<div
class=
"layui-input-block"
>
<select
lay-filter=
"appealType"
lay-search=
""
id=
"appealType"
>
<option
value=
"1"
selected =
"selected"
>
针对考勤状态申诉
</option>
<option
value=
"2"
>
针对上班打卡状态申诉
</option>
<option
value=
"3"
>
针对下班打卡状态申诉
</option>
</select>
</div>
</div>
<div
class=
"layui-form-item"
>
<label
class=
"layui-form-label"
>
申诉内容
</label>
<div
class=
"layui-input-block"
>
<select
lay-filter=
"workId"
lay-search=
""
id=
"workId"
>
</select>
</div>
</div>
<div
class=
"layui-form-item"
>
<label
class=
"layui-form-label"
>
申诉原因类型
</label>
<div
class=
"layui-input-block"
>
<select
lay-filter=
"appealReasonId"
lay-search=
""
id=
"appealReasonId"
>
</select>
</div>
</div>
<div
class=
"layui-form-item"
>
<label
class=
"layui-form-label"
>
申诉原因
<i
class=
"red"
>
*
</i></label>
<div
class=
"layui-input-block"
>
<textarea
id=
"appealReason"
name=
"appealReason"
win-verify=
"required"
placeholder=
"请输入具体的申诉原因"
class=
"layui-textarea"
></textarea>
</div>
</div>
<div
class=
"layui-form-item"
>
<div
class=
"layui-input-block"
>
<button
class=
"winui-btn"
id=
"cancle"
><language
showName=
"com.skyeye.cancel"
></language></button>
<button
class=
"winui-btn"
lay-submit
lay-filter=
"formAddBean"
><language
showName=
"com.skyeye.save"
></language></button>
</div>
</div>
</form>
</div>
<script
src=
"../../assets/lib/layui/layui.js"
></script>
<script
src=
"../../assets/lib/layui/custom.js"
></script>
<script
type=
"text/javascript"
>
layui
.
config
({
base
:
'
../../js/checkWorkAbnormalAttendance/
'
}).
use
(
'
checkWorkAbnormalAttendanceAdd
'
);
</script>
</body>
</html>
\ No newline at end of file
checkwork/src/main/resources/template/tpl/checkWorkAbnormalAttendance/checkWorkAbnormalAttendanceDetails.html
已删除
100644 → 0
浏览文件 @
7189d1b4
<!DOCTYPE html>
<html>
<head>
<meta
charset=
"utf-8"
/>
<title></title>
<link
href=
"../../assets/lib/layui/css/layui.css"
rel=
"stylesheet"
/>
<link
href=
"../../assets/lib/winui/css/winui.css"
rel=
"stylesheet"
/>
</head>
<body>
<div
style=
"padding:20px; margin:0 auto;"
>
<form
class=
"layui-form"
action=
""
id=
"showForm"
>
</form>
</div>
<script
src=
"../../assets/lib/layui/layui.js"
></script>
<script
src=
"../../assets/lib/layui/custom.js"
></script>
<script
type=
"text/javascript"
>
layui
.
config
({
base
:
'
../../js/checkWorkAbnormalAttendance/
'
}).
use
(
'
checkWorkAbnormalAttendanceDetails
'
);
</script>
</body>
</html>
\ No newline at end of file
checkwork/src/main/resources/template/tpl/checkWorkAbnormalAttendance/checkWorkAbnormalAttendanceDetailsTemplate.tpl
已删除
100644 → 0
浏览文件 @
7189d1b4
{{
#
bean
}}
<div
class=
"layui-form-item"
>
<label
class=
"layui-form-label"
>
申请人:
</label>
<div
class=
"layui-input-block ver-center"
>
{
{
userName
}
}
</div>
</div>
<div
class=
"layui-form-item"
>
<label
class=
"layui-form-label"
>
申诉内容:
</label>
<div
class=
"layui-input-block ver-center"
>
{
{
checkDate
}
}{
{
situation
}
}
</div>
</div>
<div
class=
"layui-form-item"
>
<label
class=
"layui-form-label"
>
原因类型:
</label>
<div
class=
"layui-input-block ver-center"
>
{
{
appealName
}
}
</div>
</div>
<div
class=
"layui-form-item"
>
<label
class=
"layui-form-label"
>
具体原因:
</label>
<div
class=
"layui-input-block ver-center"
>
{
{
appealReason
}
}
</div>
</div>
<div
class=
"layui-form-item"
>
<label
class=
"layui-form-label"
>
申诉时间:
</label>
<div
class=
"layui-input-block ver-center"
>
{
{
createTime
}
}
</div>
</div>
<div
class=
"layui-form-item"
>
<label
class=
"layui-form-label"
>
申诉状态:
</label>
<div
class=
"layui-input-block ver-center {
{
stateColor
}
}"
>
{
{
state
}
}
</div>
</div>
<div
class=
"layui-form-item"
>
<label
class=
"layui-form-label"
>
审批人:
</label>
<div
class=
"layui-input-block ver-center"
>
{
{
userName
}
}
</div>
</div>
<div
class=
"layui-form-item"
id=
"approvalTime"
>
<label
class=
"layui-form-label"
>
审批时间:
</label>
<div
class=
"layui-input-block ver-center"
>
{
{
approvalTime
}
}
</div>
</div>
<div
class=
"layui-form-item"
id=
"appealRemark"
>
<label
class=
"layui-form-label"
>
审核意见:
</label>
<div
class=
"layui-input-block ver-center"
>
{
{
appealRemark
}
}
</div>
</div>
{
{/
bean
}
}
\ No newline at end of file
checkwork/src/main/resources/template/tpl/checkWorkAbnormalAttendance/checkWorkAbnormalAttendanceList.html
浏览文件 @
bbaece70
...
@@ -5,56 +5,33 @@
...
@@ -5,56 +5,33 @@
<title></title>
<title></title>
<link
href=
"../../assets/lib/layui/css/layui.css"
rel=
"stylesheet"
/>
<link
href=
"../../assets/lib/layui/css/layui.css"
rel=
"stylesheet"
/>
<link
href=
"../../assets/lib/winui/css/winui.css"
rel=
"stylesheet"
/>
<link
href=
"../../assets/lib/winui/css/winui.css"
rel=
"stylesheet"
/>
<style
type=
"text/css"
>
.scheduleContent
.ui-widget-content
.fc-day-number
{
color
:
black
!important
;
}
</style>
</head>
</head>
<body>
<body>
<div
class=
"txtcenter"
style=
"margin: 0 auto; padding-top: 10px;"
>
<form
class=
"layui-form layui-form-pane"
action=
""
autocomplete=
"off"
>
<div
class=
"layui-form-item"
>
<div
class=
"layui-inline"
>
<label
class=
"layui-form-label"
>
审批人
</label>
<div
class=
"layui-input-inline"
>
<input
type=
"text"
id=
"approvalId"
name=
"approvalId"
placeholder=
"请选择审批人"
class=
"layui-input"
/>
</div>
<label
class=
"layui-form-label"
>
审批时间
</label>
<div
class=
"layui-input-inline"
>
<input
type=
"text"
id=
"checkDate"
name=
"checkDate"
placeholder=
"请选择审批时间"
class=
"layui-input"
/>
</div>
<label
class=
"layui-form-label"
>
审批状态
</label>
<div
class=
"layui-input-inline"
>
<select
id=
"state"
>
<option
value=
""
>
全部
</option>
<option
value=
"0"
>
申诉中
</option>
<option
value=
"1"
>
申诉通过
</option>
<option
value=
"2"
>
申诉不通过
</option>
</select>
</div>
<label
class=
"layui-form-label"
>
申诉原因
</label>
<div
class=
"layui-input-inline"
>
<select
lay-filter=
"appealReasonId"
lay-search=
""
id=
"appealReasonId"
>
</select>
</div>
<button
type=
"reset"
class=
"layui-btn layui-btn-primary list-form-search"
><language
showName=
"com.skyeye.reset"
></language></button>
<button
class=
"layui-btn list-form-search"
type=
"button"
id=
"searchForm1"
><language
showName=
"com.skyeye.search2"
></language></button>
</div>
</div>
</form>
</div>
<div
class=
"winui-toolbar"
>
<div
class=
"winui-toolbar"
>
<div
class=
"winui-tool"
>
<div
class=
"winui-tool"
>
<button
id=
"reloadTable"
class=
"winui-toolbtn"
><i
class=
"fa fa-refresh"
aria-hidden=
"true"
></i><language
showName=
"com.skyeye.refreshDataBtn"
></language></button>
<button
id=
"reloadTable"
class=
"winui-toolbtn
search-table-btn-right
"
><i
class=
"fa fa-refresh"
aria-hidden=
"true"
></i><language
showName=
"com.skyeye.refreshDataBtn"
></language></button>
<button
id=
"addBean"
class=
"winui-toolbtn"
auth=
"1597502935353"
><i
class=
"fa fa-plus"
aria-hidden=
"true"
></i><language
showName=
"com.skyeye.addBtn"
></language></button>
<button
id=
"addBean"
class=
"winui-toolbtn
search-table-btn-right
"
auth=
"1597502935353"
><i
class=
"fa fa-plus"
aria-hidden=
"true"
></i><language
showName=
"com.skyeye.addBtn"
></language></button>
</div>
</div>
</div>
</div>
<div
style=
"margin:auto 0px;"
>
<div
style=
"margin:auto 0px;"
>
<table
id=
"myAppealTable"
lay-filter=
"myAppealTable"
></table>
<table
id=
"messageTable"
lay-filter=
"messageTable"
></table>
<script
type=
"text/html"
id=
"tableBar1"
>
<script
type=
"text/html"
id=
"messageTableBar"
>
<
a
class
=
"
layui-btn layui-btn-xs layui-btn-normal
"
lay
-
event
=
"
details
"
>
详情
<
/a
>
{{
#
if
(
d
.
editRow
==
'
1
'
)
{
}}
{{
#
if
(
auth
(
'
1689686508784
'
))
{
}}
<
a
class
=
"
layui-btn layui-btn-xs
"
lay
-
event
=
"
subApproval
"
>
提交审批
<
/a
>
{{
#
}
}}
{{
#
if
(
auth
(
'
1689686519573
'
))
{
}}
<
a
class
=
"
layui-btn layui-btn-xs layui-btn-danger
"
lay
-
event
=
"
cancellation
"
>
作废
<
/a
>
{{
#
}
}}
{{
#
if
(
auth
(
'
1597502935353
'
))
{
}}
<
a
class
=
"
layui-btn layui-btn-xs layui-btn-normal
"
lay
-
event
=
"
edit
"
><
language
showName
=
"
com.skyeye.editBtn
"
><
/language></
a
>
{{
#
}
}}
{{
#
}
}}
{{
#
if
(
d
.
editRow
==
'
2
'
){
}}
{{
#
if
(
auth
(
'
1689686527533
'
))
{
}}
<
a
class
=
"
layui-btn layui-btn-xs layui-btn-danger
"
lay
-
event
=
"
revoke
"
>
撤销
<
/a
>
{{
#
}
}}
{{
#
}
}}
</script>
</script>
</div>
</div>
...
...
checkwork/src/main/resources/template/tpl/checkWorkApprove/checkWorkApprove.html
已删除
100644 → 0
浏览文件 @
7189d1b4
<!DOCTYPE html>
<html>
<head>
<meta
charset=
"utf-8"
/>
<title></title>
<link
href=
"../../assets/lib/layui/css/layui.css"
rel=
"stylesheet"
/>
<link
href=
"../../assets/lib/winui/css/winui.css"
rel=
"stylesheet"
/>
</head>
<body>
<div
style=
"padding:20px; margin:0 auto;"
>
<form
class=
"layui-form"
action=
""
id=
"showForm"
>
</form>
</div>
<script
src=
"../../assets/lib/layui/layui.js"
></script>
<script
src=
"../../assets/lib/layui/custom.js"
></script>
<script
type=
"text/javascript"
>
layui
.
config
({
base
:
'
../../js/checkWorkApprove/
'
}).
use
(
'
checkWorkApprove
'
);
</script>
</body>
</html>
\ No newline at end of file
checkwork/src/main/resources/template/tpl/checkWorkApprove/checkWorkApproveList.html
已删除
100644 → 0
浏览文件 @
7189d1b4
<!DOCTYPE html>
<html>
<head>
<meta
charset=
"utf-8"
/>
<title></title>
<link
href=
"../../assets/lib/layui/css/layui.css"
rel=
"stylesheet"
/>
<link
href=
"../../assets/lib/winui/css/winui.css"
rel=
"stylesheet"
/>
<style
type=
"text/css"
>
.scheduleContent
.ui-widget-content
.fc-day-number
{
color
:
black
!important
;
}
</style>
</head>
<body>
<div
class=
"txtcenter"
style=
"margin: 0 auto; padding-top: 10px;"
>
<form
class=
"layui-form layui-form-pane"
action=
""
autocomplete=
"off"
>
<div
class=
"layui-form-item"
>
<div
class=
"layui-inline"
>
<label
class=
"layui-form-label"
>
申诉人
</label>
<div
class=
"layui-input-inline"
>
<input
type=
"text"
id=
"createId"
name=
"createId"
placeholder=
"请选择申诉人"
class=
"layui-input"
/>
</div>
<label
class=
"layui-form-label"
>
申诉时间
</label>
<div
class=
"layui-input-inline"
>
<input
type=
"text"
id=
"checkDate"
name=
"checkDate"
placeholder=
"请选择申诉时间"
class=
"layui-input"
/>
</div>
<label
class=
"layui-form-label"
>
审批状态
</label>
<div
class=
"layui-input-inline"
>
<select
id=
"state"
>
<option
value=
""
>
全部
</option>
<option
value=
"0"
>
申诉中
</option>
<option
value=
"1"
>
申诉通过
</option>
<option
value=
"2"
>
申诉不通过
</option>
</select>
</div>
<label
class=
"layui-form-label"
>
申诉原因
</label>
<div
class=
"layui-input-inline"
>
<select
lay-filter=
"appealReasonId"
lay-search=
""
id=
"appealReasonId"
>
</select>
</div>
<button
type=
"reset"
class=
"layui-btn layui-btn-primary list-form-search"
><language
showName=
"com.skyeye.reset"
></language></button>
<button
class=
"layui-btn list-form-search"
type=
"button"
id=
"searchForm2"
><language
showName=
"com.skyeye.search2"
></language></button>
</div>
</div>
</form>
</div>
<div
class=
"winui-toolbar"
>
<div
class=
"winui-tool"
>
<button
id=
"reloadGetTable"
class=
"winui-toolbtn"
><i
class=
"fa fa-refresh"
aria-hidden=
"true"
></i><language
showName=
"com.skyeye.refreshDataBtn"
></language></button>
</div>
</div>
<div
style=
"margin:auto 10px;"
>
<table
id=
"myGetTable"
lay-filter=
"myGetTable"
></table>
<script
type=
"text/html"
id=
"tableBar2"
>
{{
#
if
(
d
.
state
==
0
){
}}
{{
#
if
(
auth
(
'
1597504410247
'
)){
}}
<
a
class
=
"
layui-btn layui-btn-xs
"
lay
-
event
=
"
approve
"
>
审批
<
/a
>
{{
#
}
}}
{{
#
}
}}
<
a
class
=
"
layui-btn layui-btn-xs layui-btn-normal
"
lay
-
event
=
"
appealdetails
"
>
详情
<
/a
>
</script>
</div>
<script
src=
"../../assets/lib/layui/layui.js"
></script>
<script
src=
"../../assets/lib/layui/custom.js"
></script>
<script
type=
"text/javascript"
>
layui
.
config
({
base
:
'
../../js/checkWorkApprove/
'
}).
use
(
'
checkWorkApproveList
'
);
</script>
</body>
</html>
\ No newline at end of file
checkwork/src/main/resources/template/tpl/checkWorkApprove/checkWorkApproveTemplate.tpl
已删除
100644 → 0
浏览文件 @
7189d1b4
{{
#
bean
}}
<div
class=
"layui-form-item"
id=
"leaveTime"
>
<label
class=
"layui-form-label"
>
申诉人:
</label>
<div
class=
"layui-input-block ver-center"
>
{
{
userName
}
}
</div>
</div>
<div
class=
"layui-form-item"
>
<label
class=
"layui-form-label"
>
申诉内容:
</label>
<div
class=
"layui-input-block ver-center"
>
{
{
checkDate
}
}{
{
situation
}
}
</div>
</div>
<div
class=
"layui-form-item"
>
<label
class=
"layui-form-label"
>
原因类型:
</label>
<div
class=
"layui-input-block ver-center"
>
{
{
appealName
}
}
</div>
</div>
<div
class=
"layui-form-item"
>
<label
class=
"layui-form-label"
>
具体原因:
</label>
<div
class=
"layui-input-block ver-center"
>
{
{
appealReason
}
}
</div>
</div>
<div
class=
"layui-form-item"
>
<label
class=
"layui-form-label"
>
申诉时间:
</label>
<div
class=
"layui-input-block ver-center"
>
{
{
createTime
}
}
</div>
</div>
<div
class=
"layui-form-item"
>
<label
class=
"layui-form-label"
>
审核结果:
</label>
<div
class=
"layui-input-block winui-radio"
>
<input
type=
"radio"
name=
"appealstate"
value=
"1"
title=
"通过"
checked=
"checked"
/>
<input
type=
"radio"
name=
"appealstate"
value=
"2"
title=
"不通过"
/>
</div>
</div>
<div
class=
"layui-form-item"
>
<label
class=
"layui-form-label"
>
审核意见:
</label>
<div
class=
"layui-input-block"
>
<textarea
id=
"appealRemark"
name=
"appealRemark"
placeholder=
"请输入审核意见"
class=
"layui-textarea"
style=
"height: 100px;"
maxlength=
"200"
></textarea>
</div>
</div>
<div
class=
"layui-form-item layui-col-xs12"
>
<div
class=
"layui-input-block"
>
<button
class=
"winui-btn"
id=
"cancle"
>
关闭
</button>
<button
class=
"winui-btn"
lay-submit
lay-filter=
"formEditBean"
><language
showName=
"com.skyeye.save"
></language></button>
</div>
</div>
{
{/
bean
}
}
\ No newline at end of file
checkwork/src/main/resources/template/tpl/checkWorkMyAttendanceStatistics/checkWorkMyAttendanceStatistics.html
浏览文件 @
bbaece70
...
@@ -70,7 +70,6 @@
...
@@ -70,7 +70,6 @@
<div
class=
"winui-toolbar"
>
<div
class=
"winui-toolbar"
>
<div
class=
"winui-tool"
>
<div
class=
"winui-tool"
>
<button
id=
"reloadMyDkTable"
class=
"winui-toolbtn"
><i
class=
"fa fa-refresh"
aria-hidden=
"true"
></i><language
showName=
"com.skyeye.refreshDataBtn"
></language></button>
<button
id=
"reloadMyDkTable"
class=
"winui-toolbtn"
><i
class=
"fa fa-refresh"
aria-hidden=
"true"
></i><language
showName=
"com.skyeye.refreshDataBtn"
></language></button>
<button
id=
"download"
class=
"winui-toolbtn"
type=
"button"
><i
class=
"fa fa-download"
aria-hidden=
"true"
></i>
导出考勤表
</button>
</div>
</div>
</div>
</div>
<div
style=
"margin:auto 10px;"
>
<div
style=
"margin:auto 10px;"
>
...
...
checkwork/src/main/resources/template/tpl/checkwork/checkworkreport.html
浏览文件 @
bbaece70
...
@@ -7,49 +7,6 @@
...
@@ -7,49 +7,6 @@
<link
href=
"../../assets/lib/winui/css/winui.css"
rel=
"stylesheet"
/>
<link
href=
"../../assets/lib/winui/css/winui.css"
rel=
"stylesheet"
/>
</head>
</head>
<body>
<body>
<div
class=
"txtcenter"
style=
"margin: 0 auto; padding-top: 10px;"
>
<form
class=
"layui-form layui-form-pane"
action=
""
autocomplete=
"off"
>
<div
class=
"layui-form-item"
>
<div
class=
"layui-inline"
>
<!-- <label class="layui-form-label">班次</label>
<div class="layui-input-inline">
<select lay-filter="timeId" lay-search="" id="timeId">
</select>
</div> -->
<label
class=
"layui-form-label"
>
时间
</label>
<div
class=
"layui-input-inline"
>
<input
type=
"text"
id=
"checkTime"
name=
"checkTime"
placeholder=
"请选择时间段"
class=
"layui-input"
/>
</div>
<label
class=
"layui-form-label"
>
公司
</label>
<div
class=
"layui-input-inline"
>
<select
lay-filter=
"companyList"
lay-search=
""
id=
"companyList"
>
</select>
</div>
<label
class=
"layui-form-label"
>
部门
</label>
<div
class=
"layui-input-inline"
>
<select
lay-filter=
"departmentList"
lay-search=
""
id=
"departmentList"
>
</select>
</div>
<label
class=
"layui-form-label"
>
职位
</label>
<div
class=
"layui-input-inline"
>
<select
lay-filter=
"jobList"
lay-search=
""
id=
"jobList"
>
</select>
</div>
<label
class=
"layui-form-label"
>
姓名
</label>
<div
class=
"layui-input-inline"
>
<input
type=
"text"
id=
"userName"
name=
"userName"
placeholder=
"请输入姓名"
class=
"layui-input"
/>
</div>
<button
class=
"layui-btn list-form-search"
type=
"button"
id=
"formSearch"
><language
showName=
"com.skyeye.search2"
></language></button>
</div>
</div>
</form>
</div>
<div
class=
"winui-toolbar"
>
<div
class=
"winui-tool"
>
<button
id=
"reloadTable"
class=
"winui-toolbtn"
><i
class=
"fa fa-refresh"
aria-hidden=
"true"
></i><language
showName=
"com.skyeye.refreshDataBtn"
></language></button>
<button
id=
"download"
class=
"winui-toolbtn"
type=
"button"
auth=
"1563415739069"
><i
class=
"fa fa-download"
aria-hidden=
"true"
></i>
导出考勤报表
</button>
</div>
</div>
<div
class=
"layui-col-xs12"
style=
"padding: 0px 15px; font-size: 12px; color: grey; float: left;"
>
<div
class=
"layui-col-xs12"
style=
"padding: 0px 15px; font-size: 12px; color: grey; float: left;"
>
应出勤:选中时间段内除去节假日后的实际应上班天数;
<br/>
应出勤:选中时间段内除去节假日后的实际应上班天数;
<br/>
全勤:上班和下班都打了卡;
<br/>
全勤:上班和下班都打了卡;
<br/>
...
@@ -58,7 +15,13 @@
...
@@ -58,7 +15,13 @@
迟到:超过上班的打卡时间才打卡;
<br/>
迟到:超过上班的打卡时间才打卡;
<br/>
早退:还没到下班的打卡时间就打卡;
<br/>
早退:还没到下班的打卡时间就打卡;
<br/>
漏签:早卡和晚卡两个当中缺少一个的;
漏签:早卡和晚卡两个当中缺少一个的;
</div>
<div
class=
"winui-toolbar"
>
<div
class=
"winui-tool"
>
<button
id=
"reloadTable"
class=
"winui-toolbtn"
><i
class=
"fa fa-refresh"
aria-hidden=
"true"
></i><language
showName=
"com.skyeye.refreshDataBtn"
></language></button>
</div>
</div>
</div>
<div
style=
"margin: auto 10px; float: left; width: calc(100% - 20px);"
>
<div
style=
"margin: auto 10px; float: left; width: calc(100% - 20px);"
>
<form
class=
"layui-form"
action=
""
>
<form
class=
"layui-form"
action=
""
>
<div
class=
"layui-input-block"
style=
"height: 35px;"
>
<div
class=
"layui-input-block"
style=
"height: 35px;"
>
...
@@ -70,7 +33,7 @@
...
@@ -70,7 +33,7 @@
<div
id=
"tableList"
>
<div
id=
"tableList"
>
<table
id=
"messageTable"
lay-filter=
"messageTable"
></table>
<table
id=
"messageTable"
lay-filter=
"messageTable"
></table>
</div>
</div>
<div
id=
"echartsPie"
style=
"width: 1000px;
height:600px;margin:0 auto;overflow-x:
auto"
></div>
<div
id=
"echartsPie"
style=
"width: 1000px;
height: 600px; margin:0 auto; overflow-x:
auto"
></div>
</div>
</div>
<script
src=
"../../assets/lib/layui/layui.js"
></script>
<script
src=
"../../assets/lib/layui/layui.js"
></script>
<script
src=
"../../assets/lib/layui/custom.js"
></script>
<script
src=
"../../assets/lib/layui/custom.js"
></script>
...
...
web/src/main/resources/template/assets/lib/layui/custom.js
浏览文件 @
bbaece70
...
@@ -32,7 +32,6 @@ var customerJS = {
...
@@ -32,7 +32,6 @@ var customerJS = {
"
threeUtil
"
:
"
../../assets/lib/layui/customer/threeUtil.js
"
,
// 3D编辑器相关工具类
"
threeUtil
"
:
"
../../assets/lib/layui/customer/threeUtil.js
"
,
// 3D编辑器相关工具类
"
reportModelTypeUtil
"
:
"
../../assets/lib/layui/customer/reportModelTypeUtil.js
"
,
// 模型分类工具类
"
reportModelTypeUtil
"
:
"
../../assets/lib/layui/customer/reportModelTypeUtil.js
"
,
// 模型分类工具类
"
schoolUtil
"
:
"
../../assets/lib/layui/customer/skyeye/schoolUtil.js
"
,
// 学校模块工具类
"
schoolUtil
"
:
"
../../assets/lib/layui/customer/skyeye/schoolUtil.js
"
,
// 学校模块工具类
"
checkWorkUtil
"
:
"
../../assets/lib/layui/customer/checkWorkUtil.js
"
,
// 考勤模块工具类
"
arrayUtil
"
:
"
../../assets/lib/layui/customer/arrayUtil.js
"
,
// 集合工具类
"
arrayUtil
"
:
"
../../assets/lib/layui/customer/arrayUtil.js
"
,
// 集合工具类
"
initTableChooseUtil
"
:
"
../../assets/lib/layui/customer/tableUtil/initTableChooseUtil.js
"
,
// 加载表格选择的表格插件
"
initTableChooseUtil
"
:
"
../../assets/lib/layui/customer/tableUtil/initTableChooseUtil.js
"
,
// 加载表格选择的表格插件
"
sysDictDataUtil
"
:
"
../../assets/lib/layui/customer/skyeye/sysDictDataUtil.js
"
,
// 数据字典插件
"
sysDictDataUtil
"
:
"
../../assets/lib/layui/customer/skyeye/sysDictDataUtil.js
"
,
// 数据字典插件
...
...
web/src/main/resources/template/assets/lib/layui/customer/checkWorkUtil.js
已删除
100644 → 0
浏览文件 @
7189d1b4
// 考勤相关工具类
var
checkWorkUtil
=
{
/**
* 获取当前登陆人的考勤班次
*
* @param callback 回执函数
*/
getCurrentUserCheckWorkTimeList
:
function
(
callback
)
{
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
checkworktime007
"
,
params
:
{},
type
:
'
json
'
,
method
:
"
GET
"
,
callback
:
function
(
json
)
{
if
(
typeof
(
callback
)
==
"
function
"
)
{
callback
(
json
);
}
},
async
:
false
});
},
};
\ No newline at end of file
web/src/main/resources/template/assets/lib/layui/customer/sysCustomerUtil.js
浏览文件 @
bbaece70
...
@@ -25,4 +25,23 @@ var sysCustomerUtil = {
...
@@ -25,4 +25,23 @@ var sysCustomerUtil = {
}});
}});
},
},
}
};
\ No newline at end of file
// 考勤相关工具类
var
checkWorkUtil
=
{
/**
* 获取当前登陆人的考勤班次
*
* @param callback 回执函数
*/
getCurrentUserCheckWorkTimeList
:
function
(
callback
)
{
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
checkworktime007
"
,
params
:
{},
type
:
'
json
'
,
method
:
"
GET
"
,
callback
:
function
(
json
)
{
if
(
typeof
(
callback
)
==
"
function
"
)
{
callback
(
json
);
}
},
async
:
false
});
},
};
\ No newline at end of file
web/src/main/resources/template/json/sysServiceMation.json
浏览文件 @
bbaece70
...
@@ -35,6 +35,7 @@
...
@@ -35,6 +35,7 @@
"checkWorkLeave"
:
{
"name"
:
"请假申请"
,
"key"
:
"com.skyeye.leave.service.impl.LeaveServiceImpl"
},
"checkWorkLeave"
:
{
"name"
:
"请假申请"
,
"key"
:
"com.skyeye.leave.service.impl.LeaveServiceImpl"
},
"checkWorkCancelLeave"
:
{
"name"
:
"销假申请"
,
"key"
:
"com.skyeye.cancleleave.service.impl.CancelLeaveServiceImpl"
},
"checkWorkCancelLeave"
:
{
"name"
:
"销假申请"
,
"key"
:
"com.skyeye.cancleleave.service.impl.CancelLeaveServiceImpl"
},
"checkWorkBusinessTrip"
:
{
"name"
:
"出差申请"
,
"key"
:
"com.skyeye.trip.service.impl.BusinessTripServiceImpl"
},
"checkWorkBusinessTrip"
:
{
"name"
:
"出差申请"
,
"key"
:
"com.skyeye.trip.service.impl.BusinessTripServiceImpl"
},
"checkWorkAppeal"
:
{
"name"
:
"考勤申诉"
,
"key"
:
"com.skyeye.appeal.service.impl.AppealServiceImpl"
},
"assetManageUse"
:
{
"name"
:
"资产领用"
,
"key"
:
"com.skyeye.eve.assets.service.impl.AssetUseServiceImpl"
},
"assetManageUse"
:
{
"name"
:
"资产领用"
,
"key"
:
"com.skyeye.eve.assets.service.impl.AssetUseServiceImpl"
},
"assetManageReturn"
:
{
"name"
:
"资产归还"
,
"key"
:
"com.skyeye.eve.assets.service.impl.AssetReturnServiceImpl"
},
"assetManageReturn"
:
{
"name"
:
"资产归还"
,
"key"
:
"com.skyeye.eve.assets.service.impl.AssetReturnServiceImpl"
},
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录