|
@@ -78,15 +78,15 @@
|
|
|
<div>姓名</div>
|
|
|
<div>等待作业数</div>
|
|
|
<div>作业最长等待时长</div>
|
|
|
- <div>累计批改时间</div>
|
|
|
- <div>响应速度</div>
|
|
|
+ <div>今日累计批改时间</div>
|
|
|
+ <div>今日响应速度</div>
|
|
|
<div>状态</div>
|
|
|
</div>
|
|
|
<div class="tr" v-for="(v, k) of monitorTeacherList.list" :key="k">
|
|
|
<!-- 在线 -->
|
|
|
<div v-if="v.status == '1'" class="tr-first" :class="{BgcColor:k%2 !== 1}">
|
|
|
<div>
|
|
|
- <i
|
|
|
+ <i style="cursor:pointer;"
|
|
|
:class="[isDown&&isDownindex === k?'el-icon-caret-bottom':'el-icon-caret-right']"
|
|
|
@click="dropDown(v,k)"
|
|
|
></i>
|
|
@@ -103,7 +103,7 @@
|
|
|
<!-- 离线 -->
|
|
|
<div v-if="v.status == '2'" style="color:#BEBEBE" class="tr-first" :class="{BgcColor:k%2 !== 1}">
|
|
|
<div>
|
|
|
- <i
|
|
|
+ <i style="cursor:pointer;"
|
|
|
:class="[isDown && isDownindex === k?'el-icon-caret-bottom':'el-icon-caret-right']"
|
|
|
@click="dropDown(v,k)"
|
|
|
></i>
|
|
@@ -112,14 +112,14 @@
|
|
|
<div>{{v.name}}</div>
|
|
|
<div>{{v.waitCount}}份</div>
|
|
|
<div>{{v.maxWaitTime}}</div>
|
|
|
- <div style="width:200px;">{{v.totalCorrectTime}}</div>
|
|
|
+ <div style="width:240px;">{{v.totalCorrectTime}}</div>
|
|
|
<div>{{v.respSpeed}}</div>
|
|
|
<div>离线</div>
|
|
|
</div>
|
|
|
<!-- 封号 -->
|
|
|
<div v-if="v.status == '3'" style="color:#FF6767" class="tr-first" :class="{BgcColor:k%2 !== 1}">
|
|
|
<div>
|
|
|
- <i
|
|
|
+ <i style="cursor:pointer;"
|
|
|
:class="[isDown && isDownindex === k?'el-icon-caret-bottom':'el-icon-caret-right']"
|
|
|
@click="dropDown(v,k)"
|
|
|
></i>
|
|
@@ -138,13 +138,13 @@
|
|
|
<!--&& isDownindex === k && isDown-->
|
|
|
<div v-if="isDownindex === k && isDown">
|
|
|
<div class="tr-second" v-for="(v, k) of TeacherHomeworkList.list" :key="k">
|
|
|
- <div class="tr-seconds" style="width:16px;">{{k+1}}</div>
|
|
|
+ <div class="tr-seconds" style="width:50px;">{{k+1}}</div>
|
|
|
<div class="tr-seconds tr-w120">
|
|
|
<span @click="isShow(v,4)" style="cursor: pointer;" class="tr-second-check">查看</span>
|
|
|
<span>{{v.name}}</span>
|
|
|
</div>
|
|
|
- <div v-if="v.status !== 1" class="tr-secondsA">{{v.spendTime}}</div>
|
|
|
- <div v-if="v.status === 1" class="tr-secondsA" style="color:#52CC60">{{v.spendTime}}</div>
|
|
|
+ <div v-if="v.status && !(v.status === 1 && k == 0) " class="tr-secondsA">{{v.spendTime}}</div>
|
|
|
+ <div v-if="v.status === 1 && k == 0" class="tr-secondsA" style="color:#52CC60">{{v.spendTime}}</div>
|
|
|
<div class="tr-seconds width40">{{v.subject}}</div>
|
|
|
<div class="tr-seconds width40">{{v.grade}}</div>
|
|
|
<div v-if="v.status === 1" class="tr-seconds width40">未批改</div>
|
|
@@ -155,11 +155,13 @@
|
|
|
<el-button @click="isShow(v,1)" type="success">去分配</el-button>
|
|
|
</div>
|
|
|
<div class="tr-sw180" v-if="v.status === 3 && v.isCheck ===1">
|
|
|
- <el-button type="info"><a style="text-decoration:none;color:#ffffff;" :href="'http://120.77.207.0:8081/kmt/index.html?homeworkId='+v.homeworkId+'&unionid='+unionid+'&teacherId='+homeworkLIst.teacherId+'&state='+2">已检查</a></el-button>
|
|
|
+ <span>{{v.checkCount}}</span>
|
|
|
+ <span style="color:#bbbbbb;">/{{v.picTotal}}</span>
|
|
|
+ <el-button type="info"><a style="text-decoration:none;color:#ffffff;" :href="APPOR_BASE_URL+'?homeworkId='+v.homeworkId+'&unionid='+unionid+'&teacherId='+homeworkLIst.teacherId+'&state='+2">已检查</a></el-button>
|
|
|
<span style="color:red;font-size:12px;">报错{{v.wrongCount}}</span>
|
|
|
</div>
|
|
|
<div class="tr-sw180" v-if="v.status === 3 && v.isCheck ===0">
|
|
|
- <el-button type="warning"><a style="text-decoration:none;color:#ffffff!important;" :href="'http://120.77.207.0:8081/kmt/index.html?homeworkId='+v.homeworkId+'&unionid='+unionid+'&teacherId='+homeworkLIst.teacherId+'&state='+2">去检查</a></el-button>
|
|
|
+ <el-button type="warning"><a style="text-decoration:none;color:#ffffff!important;" :href="APPOR_BASE_URL+'?homeworkId='+v.homeworkId+'&unionid='+unionid+'&teacherId='+homeworkLIst.teacherId+'&state='+2">去检查</a></el-button>
|
|
|
</div>
|
|
|
</div>
|
|
|
<!-- 分页显示 -->
|
|
@@ -229,7 +231,7 @@
|
|
|
<div>科目</div>
|
|
|
<div>批改总份数</div>
|
|
|
<div>批改总张数</div>
|
|
|
- <div>平均批改时间</div>
|
|
|
+ <div style="width:240px;">平均批改时间</div>
|
|
|
<div>出勤</div>
|
|
|
</div>
|
|
|
<div class="tr" v-for="(v, k) of DayTeacherList.list" :key="k">
|
|
@@ -275,7 +277,7 @@
|
|
|
<el-col :span="18" class="main" v-if="modelindex == 2">
|
|
|
<el-row :gutter="20" class="main-header">
|
|
|
<el-col :span="5">
|
|
|
- <div class="main-header-item">当月报错总次数:{{MothTeacherList.totalWrongCount}}次</div>
|
|
|
+ <div class="main-header-item">当月报错总次数:<span style="color:red;">{{MothTeacherList.totalWrongCount}}次</span></div>
|
|
|
</el-col>
|
|
|
<el-col :span="4" :offset="10">
|
|
|
<el-input placeholder="请输入老师名字" v-model="filters2.inputValue" class="input-with-select">
|
|
@@ -298,9 +300,9 @@
|
|
|
<el-col :span="3" :offset="1">
|
|
|
<div class="main-header-item" >月出勤率:{{MothTeacherList.totalAttendanceRate}}</div>
|
|
|
</el-col>
|
|
|
- <el-col :span="4">
|
|
|
+ <!-- <el-col :span="4">
|
|
|
<div class="main-header-item" >批改总份数:{{MothTeacherList.totalHomeworkCount}}</div>
|
|
|
- </el-col>
|
|
|
+ </el-col> -->
|
|
|
<el-col :span="4">
|
|
|
<div
|
|
|
class="main-header-item"
|
|
@@ -330,7 +332,7 @@
|
|
|
<div>批改总张数</div>
|
|
|
<div>正确率</div>
|
|
|
<div>满意度</div>
|
|
|
- <div>平均批改时间</div>
|
|
|
+ <div style="width:240px;">平均批改时间</div>
|
|
|
<div>出勤率</div>
|
|
|
</div>
|
|
|
<div class="tr" v-for="(v, k) of MothTeacherList.list" :key="k">
|
|
@@ -717,6 +719,7 @@
|
|
|
</template>
|
|
|
<script>
|
|
|
import { mapGetters, mapActions } from "vuex";
|
|
|
+import { IMG_BASE_URL,APPOR_BASE_URL } from '@/ImgConfig'
|
|
|
export default {
|
|
|
components: {},
|
|
|
name: "actvResolveLabel",
|
|
@@ -726,10 +729,8 @@ export default {
|
|
|
unionid:localStorage.getItem("unionid"),
|
|
|
accessToken:localStorage.getItem("accessToken"), //token
|
|
|
managerId: "", // 超级管理员登陆ID
|
|
|
- // BASE_URL:'https://img.sharingschool.com', //正式环境图片地址
|
|
|
- BASE_URL:'https://xtimg.sharingschool.com/',
|
|
|
- CS_URL: "http://120.77.207.0:8081/kmt/index.html", //作业批改测环境
|
|
|
- PRO_URL: "https://kmt.sharingschool.com/aijia/kmt/index.html", //作业批改生产环境
|
|
|
+ BASE_URL:IMG_BASE_URL,
|
|
|
+ APPOR_BASE_URL:APPOR_BASE_URL,
|
|
|
isDownindex: "",
|
|
|
modelindex: 0,
|
|
|
TeacherIds:"", //封号,升级,解封
|
|
@@ -962,6 +963,16 @@ export default {
|
|
|
// this.teachList = this.monitorTeacherList.list;
|
|
|
// console.log(this.teachList)
|
|
|
},
|
|
|
+ //
|
|
|
+ // 获取校区管理员当天数据条件筛选
|
|
|
+ async SearchInfoWatchDay(){
|
|
|
+ this.filters1.pageNo = 1
|
|
|
+ this.InfoWatchDay()
|
|
|
+ },
|
|
|
+ async timeInfoWatchDay(){
|
|
|
+ this.filters1.pageNo = 1
|
|
|
+ this.InfoWatchDay()
|
|
|
+ },
|
|
|
// 获取校区管理员当天数据
|
|
|
async InfoWatchDay() {
|
|
|
this.$store.dispatch("InfoWatchDay", {
|
|
@@ -975,6 +986,15 @@ export default {
|
|
|
managerId: this.managerId || ""
|
|
|
});
|
|
|
},
|
|
|
+ // 获取校区管理员当月数据条件筛选
|
|
|
+ async SearchInfoWatchMoth(){
|
|
|
+ this.filters2.pageNo = 1
|
|
|
+ this.InfoWatchMoth()
|
|
|
+ },
|
|
|
+ async TimeInfoWatchMoth(){
|
|
|
+ this.filters2.pageNo = 1
|
|
|
+ this.InfoWatchMoth()
|
|
|
+ },
|
|
|
// 获取校区管理员当月数据
|
|
|
async InfoWatchMoth() {
|
|
|
this.$store.dispatch("InfoWatchMoth", {
|
|
@@ -994,7 +1014,7 @@ export default {
|
|
|
this.$store.dispatch("TeacherHomeworkList", {
|
|
|
teacherId: v.teacherId,
|
|
|
maxCreateTime: this.filters.MaxtimeValue,
|
|
|
- pageNo: this.homeworkLIst.pageNo,
|
|
|
+ pageNo: 1,
|
|
|
pageSize: this.homeworkLIst.pageSize
|
|
|
});
|
|
|
},
|
|
@@ -1149,12 +1169,15 @@ export default {
|
|
|
selectTitle(k) {
|
|
|
this.modelindex = k;
|
|
|
if (k === 0) {
|
|
|
+ this.filters.pageNo = 1
|
|
|
this.InfoWatch();
|
|
|
}
|
|
|
if (k === 1) {
|
|
|
+ this.filters1.pageNo = 1
|
|
|
this.InfoWatchDay();
|
|
|
}
|
|
|
if (k === 2) {
|
|
|
+ this.filters2.pageNo = 1
|
|
|
this.InfoWatchMoth();
|
|
|
}
|
|
|
},
|
|
@@ -1456,6 +1479,7 @@ el-table {
|
|
|
}
|
|
|
.main-header-item {
|
|
|
font-size: 16px;
|
|
|
+ /* font-weight: 700; */
|
|
|
}
|
|
|
.model-manager {
|
|
|
display: flex;
|
|
@@ -1478,6 +1502,9 @@ el-table {
|
|
|
.input-with-select .el-input-group__prepend {
|
|
|
background-color: #fff;
|
|
|
}
|
|
|
+.el-select-dropdown__list{
|
|
|
+ padding:15px 0!important;
|
|
|
+}
|
|
|
.active {
|
|
|
background-color: #52cc60;
|
|
|
color: #fff;
|
|
@@ -1528,8 +1555,10 @@ ul{
|
|
|
.tr {
|
|
|
width: 100%;
|
|
|
color: #393939;
|
|
|
- font-size: 20px;
|
|
|
text-align: center;
|
|
|
+ font-family:"PingFang-SC-Bold";
|
|
|
+ font-size: 16px;
|
|
|
+ font-weight: 700;
|
|
|
}
|
|
|
.tr-first {
|
|
|
display: flex;
|
|
@@ -1573,7 +1602,7 @@ ul{
|
|
|
}
|
|
|
.tr-sw180{
|
|
|
width: 180px;
|
|
|
- text-align:left;
|
|
|
+ text-align:center;
|
|
|
}
|
|
|
.width40{
|
|
|
width: 60px;
|
|
@@ -1582,7 +1611,7 @@ width: 60px;
|
|
|
text-align: center;
|
|
|
font-size: 14px;
|
|
|
word-wrap: break-word;
|
|
|
- width: 200px;
|
|
|
+ width: 280px;
|
|
|
}
|
|
|
.tr-w120{
|
|
|
width:160px;
|