修改时间选择不生效问题

This commit is contained in:
wans 2021-05-12 14:22:21 +08:00
parent 42e52ee711
commit 1045372e1a
2 changed files with 10 additions and 6 deletions

View File

@ -231,11 +231,13 @@
// 日期选择 // 日期选择
laydate.render({ laydate.render({
elem: '#startTime', elem: '#startTime',
format: 'yyyy-MM-dd' format: 'yyyy-MM-dd',
trigger : 'click'
}); });
laydate.render({ laydate.render({
elem: '#endTime', elem: '#endTime',
format: 'yyyy-MM-dd' format: 'yyyy-MM-dd',
trigger : 'click'
}); });
} }
@ -258,7 +260,7 @@
type: 2, type: 2,
title: '提交考试申请', title: '提交考试申请',
closeBtn: 1, closeBtn: 1,
area: ['30%', '60%'], area: ['60%', '80%'],
shadeClose: false, shadeClose: false,
anim: 2, anim: 2,
content: top.restAjax.path('route/classplan/save-report-exam.html?classPlanId={classPlanId}', [obj.data.classPlanId]), content: top.restAjax.path('route/classplan/save-report-exam.html?classPlanId={classPlanId}', [obj.data.classPlanId]),
@ -285,7 +287,7 @@
type: 2, type: 2,
title: '查看申请信息', title: '查看申请信息',
closeBtn: 1, closeBtn: 1,
area: ['30%', '60%'], area: ['60%', '80%'],
shadeClose: false, shadeClose: false,
anim: 2, anim: 2,
content: top.restAjax.path('route/classplan/update-report-exam.html?classPlanId={classPlanId}', [obj.data.classPlanId]), content: top.restAjax.path('route/classplan/update-report-exam.html?classPlanId={classPlanId}', [obj.data.classPlanId]),

View File

@ -71,11 +71,13 @@
$('.layui-card').height($win.height()); $('.layui-card').height($win.height());
laydate.render({ laydate.render({
elem: '#estimateStart', elem: '#estimateStart',
format: 'yyyy-MM-dd' format: 'yyyy-MM-dd',
trigger : 'click'
}); });
laydate.render({ laydate.render({
elem: '#estimateEnd', elem: '#estimateEnd',
format: 'yyyy-MM-dd' format: 'yyyy-MM-dd',
trigger : 'click'
}); });
} }
initData(); initData();