体温统计日期选择范围提交更新

parent 8ef0f76b
...@@ -108,7 +108,7 @@ ...@@ -108,7 +108,7 @@
dateShow: false, dateShow: false,
selectDate: '', selectDate: '',
minDate: new Date('1970/01/01'), minDate: new Date('1970/01/01'),
maxDate: new Date(new Date().getTime() - 24 * 60 * 60 * 1000), maxDate: new Date(),
// 年级班级选择 // 年级班级选择
classShow: false, classShow: false,
className: '', className: '',
...@@ -119,7 +119,7 @@ ...@@ -119,7 +119,7 @@
} }
}, },
mounted() { mounted() {
this.selectDate = this.formatDate(new Date(new Date().getTime() - 24 * 60 * 60 * 1000)); this.selectDate = this.formatDate(new Date());
this.queryClassListByTeacher().then( this.queryClassListByTeacher().then(
() => { () => {
this.className = this.actions[0].name; this.className = this.actions[0].name;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment