Browse Source

去掉请假大于2天系主任审核判断

怀来职教中心中职
liangkun 1 year ago
parent
commit
1147cd7a31
1 changed files with 5 additions and 5 deletions
  1. +5
    -5
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuLeaveManagement/CheckIndex.js

+ 5
- 5
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuLeaveManagement/CheckIndex.js View File

@@ -27,11 +27,11 @@ var bootstrap = function ($, learun) {
var keyValue = $('#gridtable').jfGridValue('Id');
if (learun.checkrow(keyValue)) {
//判断是否可以审核:请假天数大于2天且登录用户不是系主任,提示无法审核;
var day = $('#gridtable').jfGridValue('LeaveDay');
if (day > 2 && IsDeptDirector.toLowerCase() == "false") {
learun.alert.warning("该请假申请大于2天,需要由系主任审核!");
return false;
}
//var day = $('#gridtable').jfGridValue('LeaveDay');
//if (day > 2 && IsDeptDirector.toLowerCase() == "false") {
// learun.alert.warning("该请假申请大于2天,需要由系主任审核!");
// return false;
//}
learun.layerForm({
id: 'checkform',
title: '审核',


Loading…
Cancel
Save