|
@@ -23,7 +23,7 @@
|
|
|
</el-col>
|
|
|
<el-col :span="4">
|
|
|
<div class="main-header-item">
|
|
|
- <span>未分配批改作业:{{monitorTeacherList.unCorrectCount}}份</span>
|
|
|
+ <span>分配未批改作业:{{monitorTeacherList.unCorrectCount}}份</span>
|
|
|
<span @click="isShow(monitorTeacherList,2)" class="main-header-link">去分配</span>
|
|
|
</div>
|
|
|
</el-col>
|
|
@@ -60,11 +60,13 @@
|
|
|
<el-button @click="InfoWatch" slot="append" icon="el-icon-search"></el-button>
|
|
|
</el-input>
|
|
|
</el-col>
|
|
|
+
|
|
|
<!--<div class="block">-->
|
|
|
<!--<el-date-picker-->
|
|
|
<!--v-model="filters.MaxtimeValue"-->
|
|
|
<!--value-format="yyyy-MM-dd HH:mm:ss"-->
|
|
|
<!--type="date"-->
|
|
|
+ <!--@change="InfoWatch"-->
|
|
|
<!--placeholder="选择日期"-->
|
|
|
<!--></el-date-picker>-->
|
|
|
<!--</div>-->
|
|
@@ -122,23 +124,32 @@
|
|
|
<el-button type="warning" plain>去检查</el-button>
|
|
|
</div>
|
|
|
</div>
|
|
|
+ <!-- 分页显示 -->
|
|
|
+ <el-pagination
|
|
|
+ background
|
|
|
+ @size-change="handleSizeChange3"
|
|
|
+ @current-change="pageChange3"
|
|
|
+ :page-sizes="[10, 20, 30, 40]"
|
|
|
+ layout="total, sizes, prev, pager, next, jumper"
|
|
|
+ :total= parseInt(TeacherHomeworkList.pages)
|
|
|
+ ></el-pagination>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<!-- 分页显示 -->
|
|
|
- <!-- <el-pagination
|
|
|
+ <el-pagination
|
|
|
background
|
|
|
@size-change="handleSizeChange"
|
|
|
@current-change="pageChange"
|
|
|
:page-sizes="[10, 20, 30, 40]"
|
|
|
layout="total, sizes, prev, pager, next, jumper"
|
|
|
- :total="TeacherHomeworkList.pages"
|
|
|
- ></el-pagination>-->
|
|
|
+ :total= parseInt(monitorTeacherList.pages)
|
|
|
+ ></el-pagination>
|
|
|
<!-- <div style="float:right;margin-left:15px;">
|
|
|
<el-button @click="myVisible = false" size="small">取 消</el-button>
|
|
|
<el-button type="primary" size="small" @click="submit">确定</el-button>
|
|
|
- </div>
|
|
|
- <div style="clear:both;"></div>-->
|
|
|
+ </div> -->
|
|
|
+ <div style="clear:both;"></div>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
</el-col>
|
|
@@ -184,7 +195,8 @@
|
|
|
<el-col :span="4">
|
|
|
<div class="block">
|
|
|
<el-date-picker
|
|
|
- v-model="filters.MaxtimeValue"
|
|
|
+ @change="InfoWatchDay"
|
|
|
+ v-model="filters1.MaxtimeValue"
|
|
|
value-format="yyyy-MM-dd HH:mm:ss"
|
|
|
type="date"
|
|
|
placeholder="选择日期"
|
|
@@ -221,19 +233,19 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
<!-- 分页显示 -->
|
|
|
- <!-- <el-pagination
|
|
|
+ <el-pagination
|
|
|
background
|
|
|
- @size-change="handleSizeChange"
|
|
|
- @current-change="pageChange"
|
|
|
+ @size-change="handleSizeChange1"
|
|
|
+ @current-change="pageChange1"
|
|
|
:page-sizes="[10, 20, 30, 40]"
|
|
|
layout="total, sizes, prev, pager, next, jumper"
|
|
|
- :total="TeacherHomeworkList.pages"
|
|
|
- ></el-pagination>-->
|
|
|
+ :total= parseInt(DayTeacherList.pages)
|
|
|
+ ></el-pagination>
|
|
|
<!-- <div style="float:right;margin-left:15px;">
|
|
|
<el-button @click="myVisible = false" size="small">取 消</el-button>
|
|
|
<el-button type="primary" size="small" @click="submit">确定</el-button>
|
|
|
- </div>
|
|
|
- <div style="clear:both;"></div>-->
|
|
|
+ </div> -->
|
|
|
+ <div style="clear:both;"></div>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
</el-col>
|
|
@@ -279,7 +291,8 @@
|
|
|
<el-col :span="4">
|
|
|
<div class="block">
|
|
|
<el-date-picker
|
|
|
- v-model="filters.MaxtimeValue"
|
|
|
+ @change="InfoWatchMoth"
|
|
|
+ v-model="filters2.MaxtimeValue"
|
|
|
value-format="yyyy-MM-dd HH:mm:ss"
|
|
|
type="date"
|
|
|
placeholder="选择日期"
|
|
@@ -288,22 +301,22 @@
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
<el-row :gutter="20" class="main-header">
|
|
|
- <el-col :span="3">
|
|
|
+ <el-col :span="3" :offset="1">
|
|
|
<div class="main-header-item" @click="isShow(1)">月出勤率:{{MothTeacherList.attendanceRate}}</div>
|
|
|
</el-col>
|
|
|
- <el-col :span="3">
|
|
|
+ <el-col :span="4">
|
|
|
<div class="main-header-item" @click="isShow(1)">批改总份数:{{MothTeacherList.homeworkCount}}</div>
|
|
|
</el-col>
|
|
|
- <el-col :span="3">
|
|
|
+ <el-col :span="4">
|
|
|
<div class="main-header-item" @click="isShow(1)">批改总张数:{{MothTeacherList.homeworkPicCount}}</div>
|
|
|
</el-col>
|
|
|
- <el-col :span="3">
|
|
|
+ <el-col :span="4">
|
|
|
<div class="main-header-item" @click="isShow(1)">批改平均时间:{{MothTeacherList.avgTime}}</div>
|
|
|
</el-col>
|
|
|
- <el-col :span="3">
|
|
|
+ <el-col :span="4">
|
|
|
<div class="main-header-item" @click="isShow(1)">平均满意度:{{MothTeacherList.satisfactionDegree}}</div>
|
|
|
</el-col>
|
|
|
- <el-col :span="3">
|
|
|
+ <el-col :span="4">
|
|
|
<div class="main-header-item" @click="isShow(1)">正确率:{{MothTeacherList.accuracyRate}}</div>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
@@ -340,19 +353,19 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
<!-- 分页显示 -->
|
|
|
- <!-- <el-pagination
|
|
|
+ <el-pagination
|
|
|
background
|
|
|
- @size-change="handleSizeChange"
|
|
|
- @current-change="pageChange"
|
|
|
+ @size-change="handleSizeChange2"
|
|
|
+ @current-change="pageChange2"
|
|
|
:page-sizes="[10, 20, 30, 40]"
|
|
|
layout="total, sizes, prev, pager, next, jumper"
|
|
|
- :total="TeacherHomeworkList.pages"
|
|
|
- ></el-pagination>-->
|
|
|
+ :total= parseInt(MothTeacherList.pages)
|
|
|
+ ></el-pagination>
|
|
|
<!-- <div style="float:right;margin-left:15px;">
|
|
|
<el-button @click="myVisible = false" size="small">取 消</el-button>
|
|
|
<el-button type="primary" size="small" @click="submit">确定</el-button>
|
|
|
- </div>
|
|
|
- <div style="clear:both;"></div>-->
|
|
|
+ </div> -->
|
|
|
+ <div style="clear:both;"></div>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
</el-col>
|
|
@@ -403,6 +416,7 @@
|
|
|
<div>所有未批改作业</div>
|
|
|
</div>
|
|
|
<div>
|
|
|
+ <!-- UnallotHomeworkInfo -->
|
|
|
<div class="tr-set" v-for="(v, k) of TeacherHomeworkList.list" :key="k">
|
|
|
<div class="tr-secon">{{k+1}}</div>
|
|
|
<div class="tr-secon" style="width:50px;">
|
|
@@ -419,12 +433,16 @@
|
|
|
<el-button type="success">去分配</el-button>
|
|
|
</div>
|
|
|
</div>
|
|
|
+ <el-pagination
|
|
|
+ background
|
|
|
+ @size-change="handleSizeChange3"
|
|
|
+ @current-change="pageChange3"
|
|
|
+ :page-sizes="[10, 20, 30, 40]"
|
|
|
+ layout="total, sizes, prev, pager, next, jumper"
|
|
|
+ :total= parseInt(TeacherHomeworkList.pages)
|
|
|
+ ></el-pagination>
|
|
|
</div>
|
|
|
- <!-- <el-table :data="tableData" style="width: 100%">
|
|
|
- <el-table-column prop="date" label="日期" width="180"></el-table-column>
|
|
|
- <el-table-column prop="name" label="姓名" width="180"></el-table-column>
|
|
|
- <el-table-column prop="address" label="地址"></el-table-column>
|
|
|
- </el-table>-->
|
|
|
+
|
|
|
</div>
|
|
|
</div>
|
|
|
<!-- 老师详情弹框 -->
|
|
@@ -560,32 +578,8 @@ export default {
|
|
|
text: "当月"
|
|
|
}
|
|
|
],
|
|
|
- dataList: [
|
|
|
- {
|
|
|
- img: "../../assets/img/user.jpg",
|
|
|
- names: "阿三",
|
|
|
- number: "3",
|
|
|
- time: "14:22",
|
|
|
- allTime: "14:22",
|
|
|
- rate: "222",
|
|
|
- status: "22"
|
|
|
- },
|
|
|
- {
|
|
|
- img: "../../assets/img/user.jpg",
|
|
|
- names: "阿三",
|
|
|
- number: "3",
|
|
|
- time: "14:22",
|
|
|
- allTime: "14:22",
|
|
|
- rate: "222",
|
|
|
- status: "22"
|
|
|
- }
|
|
|
- ],
|
|
|
filters: {
|
|
|
//超级管理员的当天数据
|
|
|
- actvNm: "",
|
|
|
- actvCrtUserId: "",
|
|
|
- actvType: "",
|
|
|
- actvSmallType: "",
|
|
|
// 排序
|
|
|
MaxtimeValue: "",
|
|
|
OptionsValue: "",
|
|
@@ -595,14 +589,11 @@ export default {
|
|
|
pageSize: 10,
|
|
|
count: 100,
|
|
|
orderField: "",
|
|
|
- orderAD: ""
|
|
|
+ orderAD: "",
|
|
|
+ managerId:''
|
|
|
},
|
|
|
filters1: {
|
|
|
//超级管理员的当天数据
|
|
|
- actvNm: "",
|
|
|
- actvCrtUserId: "",
|
|
|
- actvType: "",
|
|
|
- actvSmallType: "",
|
|
|
// 排序
|
|
|
MaxtimeValue: "",
|
|
|
OptionsValue: "",
|
|
@@ -616,10 +607,19 @@ export default {
|
|
|
},
|
|
|
filters2: {
|
|
|
//超级管理员的当月数据
|
|
|
- actvNm: "",
|
|
|
- actvCrtUserId: "",
|
|
|
- actvType: "",
|
|
|
- actvSmallType: "",
|
|
|
+ // 排序
|
|
|
+ MaxtimeValue: "",
|
|
|
+ OptionsValue: "",
|
|
|
+ gradesValue: "",
|
|
|
+ inputValue: "",
|
|
|
+ pageNo: 1,
|
|
|
+ pageSize: 10,
|
|
|
+ count: 0,
|
|
|
+ orderField: "",
|
|
|
+ orderAD: ""
|
|
|
+ },
|
|
|
+ filters3: {
|
|
|
+ //超级管理员查看学员列表
|
|
|
// 排序
|
|
|
MaxtimeValue: "",
|
|
|
OptionsValue: "",
|
|
@@ -633,7 +633,8 @@ export default {
|
|
|
},
|
|
|
homeworkLIst: {
|
|
|
pageNo: 1,
|
|
|
- pageSize: 10
|
|
|
+ pageSize: 10,
|
|
|
+ teacherId:""
|
|
|
},
|
|
|
allotList: {
|
|
|
Allotgarde: "",
|
|
@@ -691,7 +692,8 @@ export default {
|
|
|
teacherName: this.filters.inputValue,
|
|
|
maxCreateTime: this.filters.MaxtimeValue,
|
|
|
pageNo: this.filters.pageNo,
|
|
|
- pageSize: this.filters.pageSize
|
|
|
+ pageSize: this.filters.pageSize,
|
|
|
+ managerId:this.filters.managerId
|
|
|
});
|
|
|
},
|
|
|
// 获取校区管理员当天数据
|
|
@@ -718,6 +720,7 @@ export default {
|
|
|
},
|
|
|
// 查看老师批改作业列表
|
|
|
async TeacherHomework(v) {
|
|
|
+ this.homeworkLIst.teacherId = v.teacherId
|
|
|
this.$store.dispatch("TeacherHomeworkList", {
|
|
|
teacherId: v.teacherId,
|
|
|
maxCreateTime: this.filters.MaxtimeValue,
|
|
@@ -725,6 +728,15 @@ export default {
|
|
|
pageSize: this.homeworkLIst.pageSize
|
|
|
});
|
|
|
},
|
|
|
+ // 分页查看老师批改作业列表
|
|
|
+ async TeacherHomeworkfy() {
|
|
|
+ this.$store.dispatch("TeacherHomeworkList", {
|
|
|
+ teacherId: this.homeworkLIst.teacherId,
|
|
|
+ maxCreateTime: this.filters.MaxtimeValue,
|
|
|
+ pageNo: this.homeworkLIst.pageNo,
|
|
|
+ pageSize: this.homeworkLIst.pageSize
|
|
|
+ });
|
|
|
+ },
|
|
|
// 可分配老师列表
|
|
|
async TeacherAllot(v) {
|
|
|
this.$store.dispatch("TeacherAllotList", {
|
|
@@ -735,7 +747,7 @@ export default {
|
|
|
pageSize: this.allotList.pageSize
|
|
|
});
|
|
|
},
|
|
|
- // 为批改作业列表列表
|
|
|
+ // 未批改作业列表列表
|
|
|
async UnallotHomework() {
|
|
|
this.$store.dispatch("UnallotHomeworkList", {
|
|
|
maxCreateTime: this.filters.MaxtimeValue,
|
|
@@ -763,10 +775,8 @@ export default {
|
|
|
this.$store.dispatch("GetStudentDetail", {
|
|
|
vipId: v.vipId,
|
|
|
});
|
|
|
- debugger
|
|
|
},
|
|
|
selectTitle(k) {
|
|
|
- console.log(k);
|
|
|
this.modelindex = k;
|
|
|
if (k === 0) {
|
|
|
this.InfoWatch();
|
|
@@ -780,6 +790,8 @@ export default {
|
|
|
},
|
|
|
isShow(v, str) {
|
|
|
let _this = this;
|
|
|
+ // scroll= (window).scrollTop();
|
|
|
+ // $ ( ‘html’ ).css({ ‘overflow’ : ’hidden’ , ’position’: ’fixed’, ’top’: ’- ‘+scroll+’px’})
|
|
|
if (str == 1) {
|
|
|
_this.hiddenModel = true;
|
|
|
this.TeacherAllot(v);
|
|
@@ -825,11 +837,6 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
- // 分页
|
|
|
- pageChange(val) {
|
|
|
- this.filters.pageNo = val;
|
|
|
- this.InfoWatch();
|
|
|
- },
|
|
|
changeDateSlot(dateSlot) {
|
|
|
if (dateSlot) {
|
|
|
this.filters.startDate = dateSlot[0];
|
|
@@ -859,20 +866,41 @@ export default {
|
|
|
this.filters.pageSize = val;
|
|
|
this.InfoWatch();
|
|
|
},
|
|
|
+ handleSizeChange1(val) {
|
|
|
+ this.filters1.pageSize = val;
|
|
|
+ this.InfoWatchDay();
|
|
|
+ },
|
|
|
+ handleSizeChange2(val) {
|
|
|
+ this.filters2.pageSize = val;
|
|
|
+ this.InfoWatchMoth();
|
|
|
+ },
|
|
|
+ handleSizeChange3(val) {
|
|
|
+ this.homeworkLIst.pageSize = val;
|
|
|
+ this.TeacherHomeworkfy();
|
|
|
+ },
|
|
|
+ // 分页
|
|
|
+ pageChange(val) {
|
|
|
+ this.filters.pageNo = val;
|
|
|
+ this.InfoWatch();
|
|
|
+ }, // 分页
|
|
|
+ pageChange1(val) {
|
|
|
+ this.filters1.pageNo = val;
|
|
|
+ this.InfoWatchDay();
|
|
|
+ }, // 分页
|
|
|
+ pageChange2(val) {
|
|
|
+ this.filters2.pageNo = val;
|
|
|
+ this.InfoWatchMoth();
|
|
|
+ },
|
|
|
+ pageChange3(val) {
|
|
|
+ this.homeworkLIst.pageNo = val;
|
|
|
+ this.TeacherHomeworkfy();
|
|
|
+ },
|
|
|
// 排序
|
|
|
sortChange(sort) {
|
|
|
this.filters.orderField = sort.prop;
|
|
|
this.filters.orderAD = sort.order != null ? sort.order : "";
|
|
|
this.itemListReshow();
|
|
|
},
|
|
|
- clearSearch() {
|
|
|
- this.filters.actvNm = null;
|
|
|
- this.filters.actvCrtUserId = null;
|
|
|
- this.filters.actvType = null;
|
|
|
- this.filters.actvSmallType = null;
|
|
|
- this.filtersActvType = [];
|
|
|
- this.createDateSlot = null;
|
|
|
- }
|
|
|
// 获取创建人列表
|
|
|
// async getUserNameList() {
|
|
|
// let {
|
|
@@ -894,6 +922,10 @@ export default {
|
|
|
|
|
|
<!-- Add "scoped" attribute to limit CSS to this component only -->
|
|
|
<style scoped>
|
|
|
+ html,body{
|
|
|
+ height: 100%;
|
|
|
+ overflow: hidden;
|
|
|
+ }
|
|
|
.aside {
|
|
|
background-color: #fff;
|
|
|
margin-top: 16px;
|