|
@@ -84,7 +84,7 @@
|
|
</div>
|
|
</div>
|
|
<div class="tr" v-for="(v, k) of monitorTeacherList.list" :key="k">
|
|
<div class="tr" v-for="(v, k) of monitorTeacherList.list" :key="k">
|
|
<!-- 在线 -->
|
|
<!-- 在线 -->
|
|
- <div v-if="v.status == '1'" class="tr-first">
|
|
|
|
|
|
+ <div v-if="v.status == '1'" class="tr-first" :class="{BgcColor:k%2 !== 1}">
|
|
<div>
|
|
<div>
|
|
<i
|
|
<i
|
|
:class="[isDown && isDownindex === k?'el-icon-caret-bottom':'el-icon-caret-right']"
|
|
:class="[isDown && isDownindex === k?'el-icon-caret-bottom':'el-icon-caret-right']"
|
|
@@ -101,7 +101,7 @@
|
|
<div>在线</div>
|
|
<div>在线</div>
|
|
</div>
|
|
</div>
|
|
<!-- 离线 -->
|
|
<!-- 离线 -->
|
|
- <div v-if="v.status == '2'" style="color:#BEBEBE" class="tr-first">
|
|
|
|
|
|
+ <div v-if="v.status == '2'" style="color:#BEBEBE" class="tr-first" :class="{BgcColor:k%2 !== 1}">
|
|
<div>
|
|
<div>
|
|
<i
|
|
<i
|
|
:class="[isDown && isDownindex === k?'el-icon-caret-bottom':'el-icon-caret-right']"
|
|
:class="[isDown && isDownindex === k?'el-icon-caret-bottom':'el-icon-caret-right']"
|
|
@@ -117,7 +117,7 @@
|
|
<div>离线</div>
|
|
<div>离线</div>
|
|
</div>
|
|
</div>
|
|
<!-- 封号 -->
|
|
<!-- 封号 -->
|
|
- <div v-if="v.status == '3'" style="color:#FF6767" class="tr-first">
|
|
|
|
|
|
+ <div v-if="v.status == '3'" style="color:#FF6767" class="tr-first" :class="{BgcColor:k%2 !== 1}">
|
|
<div>
|
|
<div>
|
|
<i
|
|
<i
|
|
:class="[isDown && isDownindex === k?'el-icon-caret-bottom':'el-icon-caret-right']"
|
|
:class="[isDown && isDownindex === k?'el-icon-caret-bottom':'el-icon-caret-right']"
|
|
@@ -244,7 +244,7 @@
|
|
<div>出勤</div>
|
|
<div>出勤</div>
|
|
</div>
|
|
</div>
|
|
<div class="tr" v-for="(v, k) of DayTeacherList.list" :key="k">
|
|
<div class="tr" v-for="(v, k) of DayTeacherList.list" :key="k">
|
|
- <div class="tr-first">
|
|
|
|
|
|
+ <div class="tr-first" :class="{BgcColor:k%2 !== 1}">
|
|
<div>
|
|
<div>
|
|
<img :src="BASE_URL + v.imgUrl" alt v-if="v.imgUrl" class="table-img">
|
|
<img :src="BASE_URL + v.imgUrl" alt v-if="v.imgUrl" class="table-img">
|
|
<img src="../../assets/img/user.jpg" alt="" v-if="!v.imgUrl" class="table-img">
|
|
<img src="../../assets/img/user.jpg" alt="" v-if="!v.imgUrl" class="table-img">
|
|
@@ -255,7 +255,7 @@
|
|
<div class="tr-active">{{v.subject}}</div>
|
|
<div class="tr-active">{{v.subject}}</div>
|
|
<div>{{v.homeworkCount}}</div>
|
|
<div>{{v.homeworkCount}}</div>
|
|
<div>{{v.homeworkPicCount}}/张</div>
|
|
<div>{{v.homeworkPicCount}}/张</div>
|
|
- <div>{{v.avgTime}}</div>
|
|
|
|
|
|
+ <div style="width:240px;">{{v.avgTime}}</div>
|
|
<div>{{v.attendance}}</div>
|
|
<div>{{v.attendance}}</div>
|
|
<!-- <div v-if="v.attendance == 正常">{{v.attendance}}</div>
|
|
<!-- <div v-if="v.attendance == 正常">{{v.attendance}}</div>
|
|
<div style="color:#52cc60;" v-if="v.attendance == 未出勤">{{v.attendance}}</div> -->
|
|
<div style="color:#52cc60;" v-if="v.attendance == 未出勤">{{v.attendance}}</div> -->
|
|
@@ -340,7 +340,7 @@
|
|
<div>出勤率</div>
|
|
<div>出勤率</div>
|
|
</div>
|
|
</div>
|
|
<div class="tr" v-for="(v, k) of MothTeacherList.list" :key="k">
|
|
<div class="tr" v-for="(v, k) of MothTeacherList.list" :key="k">
|
|
- <div class="tr-first">
|
|
|
|
|
|
+ <div class="tr-first" :class="{BgcColor:k%2 !== 1}">
|
|
<div>
|
|
<div>
|
|
<img :src="BASE_URL + v.imgUrl" alt v-if="v.imgUrl" class="table-img">
|
|
<img :src="BASE_URL + v.imgUrl" alt v-if="v.imgUrl" class="table-img">
|
|
<img src="../../assets/img/user.jpg" alt="" v-if="!v.imgUrl" class="table-img">
|
|
<img src="../../assets/img/user.jpg" alt="" v-if="!v.imgUrl" class="table-img">
|
|
@@ -353,7 +353,7 @@
|
|
<div>{{v.homeworkPicCount}}/张</div>
|
|
<div>{{v.homeworkPicCount}}/张</div>
|
|
<div>{{v.accuracyRate}}</div>
|
|
<div>{{v.accuracyRate}}</div>
|
|
<div>{{v.satisfactionDegree}}</div>
|
|
<div>{{v.satisfactionDegree}}</div>
|
|
- <div>{{v.avgTime}}</div>
|
|
|
|
|
|
+ <div style="width:240px;">{{v.avgTime}}</div>
|
|
<div>{{v.attendance}}</div>
|
|
<div>{{v.attendance}}</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@@ -838,7 +838,7 @@ export default {
|
|
},
|
|
},
|
|
// 点击下拉
|
|
// 点击下拉
|
|
dropDown(v, k) {
|
|
dropDown(v, k) {
|
|
- this.isDown = true;
|
|
|
|
|
|
+ this.isDown = !this.isDown;
|
|
// console.log(!this.isDown)
|
|
// console.log(!this.isDown)
|
|
this.isDownindex = k;
|
|
this.isDownindex = k;
|
|
// if (this.isDown = true){
|
|
// if (this.isDown = true){
|
|
@@ -867,7 +867,7 @@ export default {
|
|
grade: this.filters.OptionsValue,
|
|
grade: this.filters.OptionsValue,
|
|
subject: this.filters.gradesValue,
|
|
subject: this.filters.gradesValue,
|
|
teacherName: this.filters.inputValue,
|
|
teacherName: this.filters.inputValue,
|
|
- maxCreateTime: this.filters.MaxtimeValue,
|
|
|
|
|
|
+ maxCreateTime: "",
|
|
pageNo: this.filters.pageNo,
|
|
pageNo: this.filters.pageNo,
|
|
pageSize: this.filters.pageSize,
|
|
pageSize: this.filters.pageSize,
|
|
managerId:this.managerId || ''
|
|
managerId:this.managerId || ''
|
|
@@ -879,7 +879,8 @@ export default {
|
|
grade: this.filters.OptionsValue,
|
|
grade: this.filters.OptionsValue,
|
|
subject: this.filters.gradesValue,
|
|
subject: this.filters.gradesValue,
|
|
teacherName: this.filters1.inputValue,
|
|
teacherName: this.filters1.inputValue,
|
|
- maxCreateTime: this.filters1.MaxtimeValue,
|
|
|
|
|
|
+ maxCreateTime:"",
|
|
|
|
+ oneDay: this.filters1.MaxtimeValue,
|
|
pageNo: this.filters1.pageNo,
|
|
pageNo: this.filters1.pageNo,
|
|
pageSize: this.filters1.pageSize,
|
|
pageSize: this.filters1.pageSize,
|
|
managerId:this.managerId || ''
|
|
managerId:this.managerId || ''
|
|
@@ -891,7 +892,8 @@ export default {
|
|
grade: this.filters.OptionsValue,
|
|
grade: this.filters.OptionsValue,
|
|
subject: this.filters.gradesValue,
|
|
subject: this.filters.gradesValue,
|
|
teacherName: this.filters2.inputValue,
|
|
teacherName: this.filters2.inputValue,
|
|
- maxCreateTime: this.filters2.MaxtimeValue,
|
|
|
|
|
|
+ maxCreateTime: "",
|
|
|
|
+ oneMonth: this.filters2.MaxtimeValue,
|
|
pageNo: this.filters2.pageNo,
|
|
pageNo: this.filters2.pageNo,
|
|
pageSize: this.filters2.pageSize,
|
|
pageSize: this.filters2.pageSize,
|
|
managerId:this.managerId || ''
|
|
managerId:this.managerId || ''
|
|
@@ -902,7 +904,7 @@ export default {
|
|
this.homeworkLIst.teacherId = v.teacherId
|
|
this.homeworkLIst.teacherId = v.teacherId
|
|
this.$store.dispatch("TeacherHomeworkList", {
|
|
this.$store.dispatch("TeacherHomeworkList", {
|
|
teacherId: v.teacherId,
|
|
teacherId: v.teacherId,
|
|
- maxCreateTime: this.filters.MaxtimeValue,
|
|
|
|
|
|
+ maxCreateTime: "",
|
|
pageNo: this.homeworkLIst.pageNo,
|
|
pageNo: this.homeworkLIst.pageNo,
|
|
pageSize: this.homeworkLIst.pageSize
|
|
pageSize: this.homeworkLIst.pageSize
|
|
});
|
|
});
|
|
@@ -1426,6 +1428,9 @@ el-table {
|
|
.tr-active {
|
|
.tr-active {
|
|
color: #3ab548;
|
|
color: #3ab548;
|
|
}
|
|
}
|
|
|
|
+ .BgcColor{
|
|
|
|
+ background-color: #F7FBFC;
|
|
|
|
+ }
|
|
.showModel {
|
|
.showModel {
|
|
width: 100%;
|
|
width: 100%;
|
|
height: 100%;
|
|
height: 100%;
|