|
@@ -13,9 +13,9 @@
|
|
:model="searchForm">
|
|
:model="searchForm">
|
|
<el-form-item label='开课时间'>
|
|
<el-form-item label='开课时间'>
|
|
<el-date-picker v-model="searchForm.times"
|
|
<el-date-picker v-model="searchForm.times"
|
|
- type="datetimerange"
|
|
|
|
- value-format="yyyy-MM-dd HH:mm:ss"
|
|
|
|
- format="yyyy-MM-dd HH:mm:ss"
|
|
|
|
|
|
+ type="daterange"
|
|
|
|
+ value-format="yyyy-MM-dd"
|
|
|
|
+ format="yyyy-MM-dd"
|
|
range-separator="至"
|
|
range-separator="至"
|
|
start-placeholder="开始日期"
|
|
start-placeholder="开始日期"
|
|
end-placeholder="结束日期">
|
|
end-placeholder="结束日期">
|
|
@@ -147,7 +147,11 @@ export default {
|
|
this.searchForm.times = []
|
|
this.searchForm.times = []
|
|
}
|
|
}
|
|
let startTime = this.searchForm.times[0] || null
|
|
let startTime = this.searchForm.times[0] || null
|
|
|
|
+ if (startTime) startTime += ' 00:00:00'
|
|
|
|
+
|
|
let endTime = this.searchForm.times[1] || null
|
|
let endTime = this.searchForm.times[1] || null
|
|
|
|
+ if (endTime) endTime += ' 23:59:59'
|
|
|
|
+
|
|
let courseScheduleName = this.searchForm.courseName || null
|
|
let courseScheduleName = this.searchForm.courseName || null
|
|
let userName = this.searchForm.studentName || null
|
|
let userName = this.searchForm.studentName || null
|
|
let signStatus = this.searchForm.sign || null
|
|
let signStatus = this.searchForm.sign || null
|