|
@@ -115,6 +115,18 @@
|
|
|
end-placeholder="结束日期"
|
|
|
@change="getWeekTime"></el-date-picker>
|
|
|
</el-form-item>
|
|
|
+ <el-form-item label="作业提交时间">
|
|
|
+ <el-date-picker v-model.trim="searchForm.workTimer"
|
|
|
+ style="width:400px;"
|
|
|
+ type="daterange"
|
|
|
+ :picker-options="{
|
|
|
+ firstDayOfWeek: 1
|
|
|
+ }"
|
|
|
+ value-format="yyyy-MM-dd"
|
|
|
+ range-separator="至"
|
|
|
+ start-placeholder="开始日期"
|
|
|
+ end-placeholder="结束日期"></el-date-picker>
|
|
|
+ </el-form-item>
|
|
|
<el-form-item>
|
|
|
<el-button type="danger"
|
|
|
@click="search">搜索</el-button>
|
|
@@ -273,6 +285,7 @@ export default {
|
|
|
teacherId: null,
|
|
|
existVipCourse: null,
|
|
|
existPracticeCourse: null,
|
|
|
+ workTimer: []
|
|
|
},
|
|
|
organList: [],
|
|
|
teacherList: [],
|
|
@@ -350,6 +363,11 @@ export default {
|
|
|
this.$message.error("请选择时间段");
|
|
|
return false;
|
|
|
}
|
|
|
+ if (this.searchForm.workTimer && this.searchForm.workTimer.length > 0) {
|
|
|
+ obj.submitStartDate = this.searchForm.workTimer[0];
|
|
|
+ obj.submitEndDate = this.searchForm.workTimer[1];
|
|
|
+ }
|
|
|
+
|
|
|
return obj;
|
|
|
},
|
|
|
getList () {
|