提交 bab6f023 编写于 作者: Skyeye云's avatar Skyeye云

feat: 考勤打卡修改

上级 250f07e4
...@@ -53,16 +53,16 @@ layui.config({ ...@@ -53,16 +53,16 @@ layui.config({
// 加载工作日 // 加载工作日
function loadWorkDays(){ function loadWorkDays(){
var workDayation = getInPoingArr(checkTimeList, "id", $("#checkTime").val()); var workDayation = getInPoingArr(checkTimeList, "id", $("#checkTime").val());
if(workDayation != null){ if (workDayation != null) {
var type = workDayation.type; var type = workDayation.type;
if(type == 1){ if (type == 1) {
checkWorkUtil.resetSingleBreak(); checkWorkUtil.resetSingleBreak();
} else if (type == 2){ } else if (type == 2) {
checkWorkUtil.resetWeekend(); checkWorkUtil.resetWeekend();
} else if (type == 3){ } else if (type == 3) {
checkWorkUtil.resetSingleAndDoubleBreak(); checkWorkUtil.resetSingleAndDoubleBreak();
} else if (type == 4){ } else if (type == 4) {
checkWorkUtil.resetCustomizeDay(workDayation.days); checkWorkUtil.resetCustomizeDay(workDayation.checkWorkTimeWeekList);
} }
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册