|
@@ -41,7 +41,7 @@
|
|
|
</el-form-item>
|
|
|
<el-form-item>
|
|
|
<el-date-picker
|
|
|
- v-model.trim="searchForm.timer"
|
|
|
+ v-model.trim="searchForm.listTimer"
|
|
|
style="width:410px;"
|
|
|
type="daterange"
|
|
|
value-format="yyyy-MM-dd"
|
|
@@ -149,7 +149,7 @@ export default {
|
|
|
return {
|
|
|
searchForm: {
|
|
|
search: null,
|
|
|
- timer: [],
|
|
|
+ listTimer: [],
|
|
|
teacherId:null,
|
|
|
organIdList:null
|
|
|
},
|
|
@@ -204,9 +204,9 @@ export default {
|
|
|
)
|
|
|
.toISOString()
|
|
|
.slice(0, 10);
|
|
|
- this.searchForm.timer = [];
|
|
|
- this.searchForm.timer.push(startDate);
|
|
|
- this.searchForm.timer.push(endDate);
|
|
|
+ this.searchForm.listTimer = [];
|
|
|
+ this.searchForm.listTimer.push(startDate);
|
|
|
+ this.searchForm.listTimer.push(endDate);
|
|
|
if (this.$route.query.searchForm) {
|
|
|
this.$route.query.searchForm instanceof Object
|
|
|
? (this.searchForm = this.$route.query.searchForm)
|
|
@@ -222,9 +222,9 @@ export default {
|
|
|
getList() {
|
|
|
// assignStartTime assignEndTime page search teacherId title
|
|
|
let obj = {};
|
|
|
- if (this.searchForm.timer&&this.searchForm.timer.length > 0) {
|
|
|
- obj.assignStartTime = this.searchForm.timer[0];
|
|
|
- obj.assignEndTime = this.searchForm.timer[1];
|
|
|
+ if (this.searchForm.listTimer&&this.searchForm.listTimer.length > 0) {
|
|
|
+ obj.assignStartTime = this.searchForm.listTimer[0];
|
|
|
+ obj.assignEndTime = this.searchForm.listTimer[1];
|
|
|
}
|
|
|
obj.page = this.rules.page;
|
|
|
obj.rows= this.rules.limit,
|
|
@@ -245,7 +245,7 @@ export default {
|
|
|
onReSet() {
|
|
|
this.searchForm= {
|
|
|
search: null,
|
|
|
- timer: [],
|
|
|
+ listTimer: [],
|
|
|
teacherId:null,
|
|
|
organIdList:null
|
|
|
}
|