修改时间选择不生效问题

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