Commit 466e17aa authored by 罗超's avatar 罗超

1

parent 7361ee93
...@@ -59,6 +59,7 @@ ...@@ -59,6 +59,7 @@
style="width: 100%" style="width: 100%"
@change="getTypeWay()" @change="getTypeWay()"
:picker-options="picker" :picker-options="picker"
:clearable="false"
> >
</el-date-picker> </el-date-picker>
</div> </div>
...@@ -73,6 +74,7 @@ ...@@ -73,6 +74,7 @@
@change="getTypeWay()" @change="getTypeWay()"
clear-icon="iconfont icon-guanbi" clear-icon="iconfont icon-guanbi"
:picker-options="pickerEnd" :picker-options="pickerEnd"
:clearable="false"
> >
</el-date-picker> </el-date-picker>
</div> </div>
...@@ -180,6 +182,7 @@ export default { ...@@ -180,6 +182,7 @@ export default {
TeacherId: 0, TeacherId: 0,
ClassRoomId: 0, ClassRoomId: 0,
ClassType: 0, ClassType: 0,
OrderBy: 1,
}, },
tableData: [], //表格数据 tableData: [], //表格数据
PageCount: 0, PageCount: 0,
...@@ -198,6 +201,7 @@ export default { ...@@ -198,6 +201,7 @@ export default {
return time.getTime() >= Date.now() - 8.64e6; return time.getTime() >= Date.now() - 8.64e6;
}, },
}, },
today: "",
}; };
}, },
created() { created() {
...@@ -213,6 +217,7 @@ export default { ...@@ -213,6 +217,7 @@ export default {
: date.getMonth() + 1) + : date.getMonth() + 1) +
"-" + "-" +
(date.getDate() < 10 ? "0" + date.getDate() < 10 : date.getDate()); (date.getDate() < 10 ? "0" + date.getDate() < 10 : date.getDate());
this.today = today;
this.msg.StartTime = today; this.msg.StartTime = today;
this.tabMsg.StartTime = today; this.tabMsg.StartTime = today;
this.msg.EndTime = today; this.msg.EndTime = today;
...@@ -224,7 +229,7 @@ export default { ...@@ -224,7 +229,7 @@ export default {
}, },
mounted() { mounted() {
this.GetTeacherList(); this.GetTeacherList();
this.getPlanList(); this.getTableList();
}, },
methods: { methods: {
refreshPage() { refreshPage() {
...@@ -288,6 +293,7 @@ export default { ...@@ -288,6 +293,7 @@ export default {
this.tabMsg.EndTime = this.msg.EndTime; this.tabMsg.EndTime = this.msg.EndTime;
this.tabMsg.ClassRoomId = this.msg.ClassRoomId; this.tabMsg.ClassRoomId = this.msg.ClassRoomId;
this.tabMsg.ClassType = this.msg.ClassType; this.tabMsg.ClassType = this.msg.ClassType;
GetClassPlanStatisticalPage(this.tabMsg).then((res) => { GetClassPlanStatisticalPage(this.tabMsg).then((res) => {
if (res.Code == 1) { if (res.Code == 1) {
this.tableData = res.Data.PageData; this.tableData = res.Data.PageData;
......
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