|
@@ -36,6 +36,7 @@
|
|
|
</el-form-item>
|
|
|
<el-form-item>
|
|
|
<el-select v-model.trim="searchForm.signInStatus"
|
|
|
+ clearable
|
|
|
placeholder="签到状态">
|
|
|
<el-option :value="1"
|
|
|
label="正常签到"></el-option>
|
|
@@ -47,6 +48,7 @@
|
|
|
</el-form-item>
|
|
|
<el-form-item>
|
|
|
<el-select v-model.trim="searchForm.signOutStatus"
|
|
|
+ clearable
|
|
|
placeholder="签退状态">
|
|
|
<el-option :value="1"
|
|
|
label="正常签退"></el-option>
|
|
@@ -220,7 +222,7 @@ export default {
|
|
|
getList () {
|
|
|
let obj = { page: this.rules.page, rows: this.rules.limit }
|
|
|
Object.assign(obj, this.searchForm)
|
|
|
- if (this.courseTime.length > 0) {
|
|
|
+ if (this.courseTime && this.courseTime.length > 0) {
|
|
|
obj.courseStartDate = this.courseTime[0]
|
|
|
obj.courseEndDate = this.courseTime[1]
|
|
|
} else {
|