瀏覽代碼

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

怀来职教中心中职
liangkun 1 年之前
父節點
當前提交
1147cd7a31
共有 1 個檔案被更改,包括 5 行新增5 行删除
  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 查看文件

@@ -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…
取消
儲存