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

feat: 考勤班次新增线上信息设置

上级 f338578b
......@@ -96,7 +96,7 @@ layui.config({
inductionState: inductionState,
trialTime: $("#trialTime").val()
};
AjaxPostUtil.request({url: sysMainMation.bossBasePath + "setInductionResult", params: params, type: 'json', method: "PUT", callback: function(json) {
AjaxPostUtil.request({url: sysMainMation.bossBasePath + "setInductionResult", params: params, type: 'json', method: "POST", callback: function(json) {
parent.layer.close(index);
parent.refreshCode = '0';
}});
......
......@@ -33,7 +33,7 @@ layui.config({
state: $("input[name='state']:checked").val(),
evaluation: $("#evaluation").val()
};
AjaxPostUtil.request({url: sysMainMation.bossBasePath + "setBossInterviewResult", params: params, type: 'json', method: "PUT", callback: function(json) {
AjaxPostUtil.request({url: sysMainMation.bossBasePath + "setBossInterviewResult", params: params, type: 'json', method: "POST", callback: function(json) {
parent.layer.close(index);
parent.refreshCode = '0';
}});
......
......@@ -44,7 +44,7 @@ layui.config({
{ 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: '最后修改时间', align: 'center', width: 150},
{ title: systemLanguage["com.skyeye.operation"][languageType], fixed: 'right', align: 'center', width: 120, toolbar: '#tableBar'}
{ title: systemLanguage["com.skyeye.operation"][languageType], fixed: 'right', align: 'center', width: 240, toolbar: '#tableBar'}
]],
done: function(json) {
matchingLanguage();
......@@ -63,7 +63,9 @@ layui.config({
delet(data);
} else if (layEvent === 'details') { //详情
details(data);
}
} else if (layEvent === 'setOnline') { //线上打卡信息
setOnline(data);
}
});
// 添加
......@@ -104,6 +106,19 @@ layui.config({
}
});
}
// 线上打卡信息
function setOnline(data) {
_openNewWindows({
url: systemCommonUtil.getUrl('FP2024042800001&id=' + data.id, null),
title: "设置线上打卡信息",
pageId: "setOnline",
area: ['90vw', '90vh'],
callBack: function (refreshCode) {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
loadTable();
}});
}
// 详情
function details(data) {
......
......@@ -23,6 +23,9 @@
{{# if(auth('1603026192319')) { }}
<a class="layui-btn layui-btn-xs layui-btn-danger" lay-event="delet"><language showName="com.skyeye.deleteBtn"></language></a>
{{# } }}
{{# if(auth('1714276416911')) { }}
<a class="layui-btn layui-btn-xs layui-btn-normal" lay-event="setOnline">线上打卡信息</a>
{{# } }}
</script>
</div>
<script src="../../assets/lib/layui/layui.js"></script>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册