diff --git a/src/main/resources/static/route/examapply/list-check.html b/src/main/resources/static/route/examapply/list-check.html index a55326a..2ab26d9 100644 --- a/src/main/resources/static/route/examapply/list-check.html +++ b/src/main/resources/static/route/examapply/list-check.html @@ -191,6 +191,8 @@ var common = layui.common; var resizeTimeout = null; var tableUrl = 'api/examapply/listpage'; + var point; + var checkStatus; // 初始化表格 function initTable() { @@ -213,6 +215,8 @@ {field:'rowNum', width:80, title: '序号', fixed: 'left', align:'center', templet: '{{d.LAY_INDEX}}'}, {field: 'planName', width: 180, title: '计划名称', align:'center', templet: function(row) { + point = row['point']; + checkStatus = row['checkStatus']; var rowData = row.classPlanDTO[this.field]; if(typeof(rowData) === 'undefined' || rowData == null || rowData == '') { return '-'; @@ -388,7 +392,9 @@ yes: function (index) { top.dialog.close(index); // 审核 - sentExamMsg(planIds); + if('分管领导' == point && '1' == checkStatus) { + sentExamMsg(planIds); + } }, btn2: function(index) { top.dialog.close(index);