修改考试申请时间校验
This commit is contained in:
parent
dd6746a3bd
commit
392461e398
@ -300,7 +300,7 @@
|
||||
AND t1.sign_up_end_time <![CDATA[ >= ]]> #{signNowDate}
|
||||
</if>
|
||||
<if test="examNowDate != null and examNowDate != ''">
|
||||
AND t1.sign_up_end_time <![CDATA[ <= ]]> #{examNowDate}
|
||||
AND t1.plan_end_time <![CDATA[ <= ]]> #{examNowDate}
|
||||
</if>
|
||||
<if test="planType != null and planType != ''">
|
||||
AND t1.plan_type = #{planType}
|
||||
|
@ -105,18 +105,14 @@
|
||||
[
|
||||
{type:'checkbox', fixed: 'left'},
|
||||
{field:'rowNum', width:80, title: '序号', fixed: 'left', align:'center', templet: '<span>{{d.LAY_INDEX}}</span>'},
|
||||
{width:200, title: '操作', fixed: 'left', align:'center',
|
||||
{width:100, title: '审核状态', fixed: 'left', align:'center',
|
||||
templet: function(row) {
|
||||
var dom = '';
|
||||
if(row['reportType'] === '0'){
|
||||
return '<a type="button" class="layui-btn layui-btn-normal layui-btn-xs" lay-event="reportEvent">开班报备</a>';
|
||||
}
|
||||
if(row['reportType'] === '1'){
|
||||
return '<a type="button" class="layui-btn layui-btn-warm layui-btn-xs">报备待审</a>';
|
||||
}
|
||||
if(row['reportType'] === '2'){
|
||||
dom += '<a type="button" class="layui-btn layui-btn-info layui-btn-xs">审核通过</a>';
|
||||
dom += '<a type="button" class="layui-btn layui-btn-normal layui-btn-xs" lay-event="signUpUserEvent">报名人员</a>'
|
||||
return dom;
|
||||
}
|
||||
if(row['reportType'] === '3'){
|
||||
@ -125,6 +121,22 @@
|
||||
return dom;
|
||||
}
|
||||
},
|
||||
{width:100, title: '操作', fixed: 'left', align:'center',
|
||||
templet: function(row) {
|
||||
var dom = '';
|
||||
if(row['reportType'] === '0'){
|
||||
return '<a type="button" class="layui-btn layui-btn-normal layui-btn-xs" lay-event="reportEvent">开班报备</a>';
|
||||
}
|
||||
if(row['reportType'] === '2'){
|
||||
dom += '<a type="button" class="layui-btn layui-btn-normal layui-btn-xs" lay-event="signUpUserEvent">报名人员</a>';
|
||||
return dom;
|
||||
}
|
||||
if(row['reportType'] === '3'){
|
||||
return '<a type="button" class="layui-btn layui-btn-danger layui-btn-xs" lay-event="unPassEvent">重新审核</a>';
|
||||
}
|
||||
return dom;
|
||||
}
|
||||
},
|
||||
{field: 'planNumber', width: 190, title: '培训计划编号', align:'center',
|
||||
templet: function(row) {
|
||||
var rowData = row[this.field];
|
||||
@ -449,6 +461,7 @@
|
||||
anim: 2,
|
||||
content: top.restAjax.path('route/classplan/list-signup-user.html?classPlanId={classPlanId}', [obj.data.classPlanId]),
|
||||
end: function () {
|
||||
reloadTable();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user