|
@@ -87,7 +87,7 @@
|
|
<div v-if="v.status == '1'" class="tr-first">
|
|
<div v-if="v.status == '1'" class="tr-first">
|
|
<div>
|
|
<div>
|
|
<i
|
|
<i
|
|
- :class="[isDown && isDownindex === k?'el-icon-caret-bottom':'el-icon-caret-top']"
|
|
|
|
|
|
+ :class="[isDown && isDownindex === k?'el-icon-caret-bottom':'el-icon-caret-right']"
|
|
@click="dropDown(v,k)"
|
|
@click="dropDown(v,k)"
|
|
></i>
|
|
></i>
|
|
<img :src="BASE_URL + v.imgUrl" alt class="table-img" @click="isShow(v,3)">
|
|
<img :src="BASE_URL + v.imgUrl" alt class="table-img" @click="isShow(v,3)">
|
|
@@ -95,7 +95,7 @@
|
|
<div>{{v.name}}</div>
|
|
<div>{{v.name}}</div>
|
|
<div>{{v.waitCount}}份</div>
|
|
<div>{{v.waitCount}}份</div>
|
|
<div class="tr-active">{{v.maxWaitTime}}</div>
|
|
<div class="tr-active">{{v.maxWaitTime}}</div>
|
|
- <div>{{v.totalCorrectTime}}/时</div>
|
|
|
|
|
|
+ <div style="width:200px;">{{v.totalCorrectTime}}</div>
|
|
<div>{{v.respSpeed}}</div>
|
|
<div>{{v.respSpeed}}</div>
|
|
<div>在线</div>
|
|
<div>在线</div>
|
|
</div>
|
|
</div>
|
|
@@ -103,7 +103,7 @@
|
|
<div v-if="v.status == '2'" style="color:#BEBEBE" class="tr-first">
|
|
<div v-if="v.status == '2'" style="color:#BEBEBE" class="tr-first">
|
|
<div>
|
|
<div>
|
|
<i
|
|
<i
|
|
- :class="[isDown && isDownindex === k?'el-icon-caret-bottom':'el-icon-caret-top']"
|
|
|
|
|
|
+ :class="[isDown && isDownindex === k?'el-icon-caret-bottom':'el-icon-caret-right']"
|
|
@click="dropDown(v,k)"
|
|
@click="dropDown(v,k)"
|
|
></i>
|
|
></i>
|
|
<img :src="BASE_URL + v.imgUrl" alt class="table-img" @click="isShow(v,3)">
|
|
<img :src="BASE_URL + v.imgUrl" alt class="table-img" @click="isShow(v,3)">
|
|
@@ -111,7 +111,7 @@
|
|
<div>{{v.name}}</div>
|
|
<div>{{v.name}}</div>
|
|
<div>{{v.waitCount}}份</div>
|
|
<div>{{v.waitCount}}份</div>
|
|
<div>{{v.maxWaitTime}}</div>
|
|
<div>{{v.maxWaitTime}}</div>
|
|
- <div>{{v.totalCorrectTime}}</div>
|
|
|
|
|
|
+ <div style="width:200px;">{{v.totalCorrectTime}}</div>
|
|
<div>{{v.respSpeed}}</div>
|
|
<div>{{v.respSpeed}}</div>
|
|
<div>离线</div>
|
|
<div>离线</div>
|
|
</div>
|
|
</div>
|
|
@@ -119,7 +119,7 @@
|
|
<div v-if="v.status == '3'" style="color:#FF6767" class="tr-first">
|
|
<div v-if="v.status == '3'" style="color:#FF6767" class="tr-first">
|
|
<div>
|
|
<div>
|
|
<i
|
|
<i
|
|
- :class="[isDown && isDownindex === k?'el-icon-caret-bottom':'el-icon-caret-top']"
|
|
|
|
|
|
+ :class="[isDown && isDownindex === k?'el-icon-caret-bottom':'el-icon-caret-right']"
|
|
@click="dropDown(v,k)"
|
|
@click="dropDown(v,k)"
|
|
></i>
|
|
></i>
|
|
<img :src="BASE_URL + v.imgUrl" alt class="table-img" @click="isShow(v,3)">
|
|
<img :src="BASE_URL + v.imgUrl" alt class="table-img" @click="isShow(v,3)">
|
|
@@ -127,7 +127,7 @@
|
|
<div>{{v.name}}</div>
|
|
<div>{{v.name}}</div>
|
|
<div>{{v.waitCount}}份</div>
|
|
<div>{{v.waitCount}}份</div>
|
|
<div>{{v.maxWaitTime}}</div>
|
|
<div>{{v.maxWaitTime}}</div>
|
|
- <div>{{v.totalCorrectTime}}时</div>
|
|
|
|
|
|
+ <div style="width:200px;">{{v.totalCorrectTime}}</div>
|
|
<div>{{v.respSpeed}}</div>
|
|
<div>{{v.respSpeed}}</div>
|
|
<div>已封号</div>
|
|
<div>已封号</div>
|
|
</div>
|
|
</div>
|
|
@@ -136,12 +136,13 @@
|
|
</div>
|
|
</div>
|
|
<div v-if="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-second" v-for="(v, k) of TeacherHomeworkList.list" :key="k">
|
|
- <div class="tr-seconds">{{k+1}}</div>
|
|
|
|
|
|
+ <div class="tr-seconds" style="width:16px;">{{k+1}}</div>
|
|
<div class="tr-seconds tr-w120">
|
|
<div class="tr-seconds tr-w120">
|
|
<span @click="isShow(v,4)" style="cursor: pointer;" class="tr-second-check">查看</span>
|
|
<span @click="isShow(v,4)" style="cursor: pointer;" class="tr-second-check">查看</span>
|
|
<span>{{v.name}}</span>
|
|
<span>{{v.name}}</span>
|
|
</div>
|
|
</div>
|
|
- <div class="tr-secondsA">{{v.spendTime}}</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 class="tr-seconds width40">{{v.subject}}</div>
|
|
<div class="tr-seconds width40">{{v.subject}}</div>
|
|
<div class="tr-seconds width40">{{v.grade}}</div>
|
|
<div class="tr-seconds width40">{{v.grade}}</div>
|
|
<div v-if="v.status === 1" class="tr-seconds width40">未批改</div>
|
|
<div v-if="v.status === 1" class="tr-seconds width40">未批改</div>
|
|
@@ -196,11 +197,11 @@
|
|
<el-col :span="18" class="main" v-if="modelindex == 1">
|
|
<el-col :span="18" class="main" v-if="modelindex == 1">
|
|
<el-row :gutter="20" class="main-header">
|
|
<el-row :gutter="20" class="main-header">
|
|
<el-col :span="5">
|
|
<el-col :span="5">
|
|
- <div class="main-header-item">今日报错总次数:{{DayTeacherList.wrongCount}}人</div>
|
|
|
|
|
|
+ <div class="main-header-item">今日报错总次数:<span style="color:red;">{{DayTeacherList.wrongCount}}次</span></div>
|
|
</el-col>
|
|
</el-col>
|
|
- <el-col :span="10" :offset="4">
|
|
|
|
|
|
+ <el-col :span="4" :offset="10">
|
|
<el-input placeholder="请输入老师名字" v-model="filters1.inputValue" class="input-with-select">
|
|
<el-input placeholder="请输入老师名字" v-model="filters1.inputValue" class="input-with-select">
|
|
- <el-select
|
|
|
|
|
|
+ <!-- <el-select
|
|
v-model="filters1.OptionsValue"
|
|
v-model="filters1.OptionsValue"
|
|
@change="InfoWatchDay"
|
|
@change="InfoWatchDay"
|
|
slot="prepend"
|
|
slot="prepend"
|
|
@@ -227,7 +228,7 @@
|
|
:label="item.label"
|
|
:label="item.label"
|
|
:value="item.label"
|
|
:value="item.label"
|
|
></el-option>
|
|
></el-option>
|
|
- </el-select>
|
|
|
|
|
|
+ </el-select> -->
|
|
<el-button @click="InfoWatchDay" slot="append" icon="el-icon-search"></el-button>
|
|
<el-button @click="InfoWatchDay" slot="append" icon="el-icon-search"></el-button>
|
|
</el-input>
|
|
</el-input>
|
|
</el-col>
|
|
</el-col>
|
|
@@ -262,12 +263,15 @@
|
|
<img :src="BASE_URL + v.imgUrl" alt class="table-img">
|
|
<img :src="BASE_URL + v.imgUrl" alt class="table-img">
|
|
</div>
|
|
</div>
|
|
<div>{{v.name}}</div>
|
|
<div>{{v.name}}</div>
|
|
- <div>{{v.wrongCount}}份</div>
|
|
|
|
|
|
+ <div v-if="v.wrongCount == 0">{{v.wrongCount}}次</div>
|
|
|
|
+ <div style="color:red;" v-if="v.wrongCount > 0">{{v.wrongCount}}次</div>
|
|
<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>{{v.avgTime}}</div>
|
|
- <div>{{v.attendance}}</div>
|
|
|
|
|
|
+ <div>{{v.attendance}}</div>
|
|
|
|
+ <!-- <div v-if="v.attendance == 正常">{{v.attendance}}</div>
|
|
|
|
+ <div style="color:#52cc60;" v-if="v.attendance == 未出勤">{{v.attendance}}</div> -->
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@@ -295,11 +299,11 @@
|
|
<el-col :span="18" class="main" v-if="modelindex == 2">
|
|
<el-col :span="18" class="main" v-if="modelindex == 2">
|
|
<el-row :gutter="20" class="main-header">
|
|
<el-row :gutter="20" class="main-header">
|
|
<el-col :span="5">
|
|
<el-col :span="5">
|
|
- <div class="main-header-item">当月报错总次数:{{MothTeacherList.wrongCount}}人</div>
|
|
|
|
|
|
+ <div class="main-header-item">当月报错总次数:{{MothTeacherList.totalWrongCount}}次</div>
|
|
</el-col>
|
|
</el-col>
|
|
- <el-col :span="10" :offset="4">
|
|
|
|
|
|
+ <el-col :span="4" :offset="10">
|
|
<el-input placeholder="请输入老师名字" v-model="filters2.inputValue" class="input-with-select">
|
|
<el-input placeholder="请输入老师名字" v-model="filters2.inputValue" class="input-with-select">
|
|
- <el-select
|
|
|
|
|
|
+ <!-- <el-select
|
|
v-model="filters2.OptionsValue"
|
|
v-model="filters2.OptionsValue"
|
|
@change="InfoWatchMoth"
|
|
@change="InfoWatchMoth"
|
|
slot="prepend"
|
|
slot="prepend"
|
|
@@ -326,7 +330,7 @@
|
|
:label="item.label"
|
|
:label="item.label"
|
|
:value="item.label"
|
|
:value="item.label"
|
|
></el-option>
|
|
></el-option>
|
|
- </el-select>
|
|
|
|
|
|
+ </el-select> -->
|
|
<el-button @click="InfoWatchMoth" slot="append" icon="el-icon-search"></el-button>
|
|
<el-button @click="InfoWatchMoth" slot="append" icon="el-icon-search"></el-button>
|
|
</el-input>
|
|
</el-input>
|
|
</el-col>
|
|
</el-col>
|
|
@@ -344,26 +348,26 @@
|
|
</el-row>
|
|
</el-row>
|
|
<el-row :gutter="20" class="main-header">
|
|
<el-row :gutter="20" class="main-header">
|
|
<el-col :span="3" :offset="1">
|
|
<el-col :span="3" :offset="1">
|
|
- <div class="main-header-item" >月出勤率:{{MothTeacherList.attendanceRate}}</div>
|
|
|
|
|
|
+ <div class="main-header-item" >月出勤率:{{MothTeacherList.totalAttendanceRate}}</div>
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :span="4">
|
|
<el-col :span="4">
|
|
- <div class="main-header-item" >批改总份数:{{MothTeacherList.homeworkCount}}</div>
|
|
|
|
|
|
+ <div class="main-header-item" >批改总份数:{{MothTeacherList.totalHomeworkCount}}</div>
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :span="4">
|
|
<el-col :span="4">
|
|
<div
|
|
<div
|
|
class="main-header-item"
|
|
class="main-header-item"
|
|
- >批改总张数:{{MothTeacherList.homeworkPicCount}}</div>
|
|
|
|
|
|
+ >批改总张数:{{MothTeacherList.totalHomeworkPicCount}}</div>
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :span="4">
|
|
<el-col :span="4">
|
|
- <div class="main-header-item">批改平均时间:{{MothTeacherList.avgTime}}</div>
|
|
|
|
|
|
+ <div class="main-header-item">批改平均时间:{{MothTeacherList.totalAvgTime}}</div>
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :span="4">
|
|
<el-col :span="4">
|
|
<div
|
|
<div
|
|
class="main-header-item"
|
|
class="main-header-item"
|
|
- >平均满意度:{{MothTeacherList.satisfactionDegree}}</div>
|
|
|
|
|
|
+ >平均满意度:{{MothTeacherList.totalSatisfactionDegree}}</div>
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :span="4">
|
|
<el-col :span="4">
|
|
- <div class="main-header-item">正确率:{{MothTeacherList.accuracyRate}}</div>
|
|
|
|
|
|
+ <div class="main-header-item">正确率:{{MothTeacherList.totalAccuracyRate}}</div>
|
|
</el-col>
|
|
</el-col>
|
|
</el-row>
|
|
</el-row>
|
|
<el-row :gutter="20" class="main-header">
|
|
<el-row :gutter="20" class="main-header">
|
|
@@ -379,7 +383,7 @@
|
|
<div>正确率</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 MothTeacherList.list" :key="k">
|
|
<div class="tr" v-for="(v, k) of MothTeacherList.list" :key="k">
|
|
<div class="tr-first">
|
|
<div class="tr-first">
|
|
@@ -387,7 +391,8 @@
|
|
<img :src="BASE_URL + v.imgUrl" alt class="table-img">
|
|
<img :src="BASE_URL + v.imgUrl" alt class="table-img">
|
|
</div>
|
|
</div>
|
|
<div>{{v.name}}</div>
|
|
<div>{{v.name}}</div>
|
|
- <div>{{v.wrongCount}}份</div>
|
|
|
|
|
|
+ <div v-if="v.wrongCount == 0">{{v.wrongCount}}次</div>
|
|
|
|
+ <div style="color:red;" v-if="v.wrongCount > 0">{{v.wrongCount}}次</div>
|
|
<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>
|
|
@@ -471,9 +476,8 @@
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!-- 无未批改作业 v-if="monitorTeacherList.unCorrectCount==0"-->
|
|
<!-- 无未批改作业 v-if="monitorTeacherList.unCorrectCount==0"-->
|
|
- <div class="no-homework" v-if="isNocheck" id="noHomework">
|
|
|
|
|
|
+ <div class="no-homework" id="noHomework">
|
|
<div>无可分配作业</div>
|
|
<div>无可分配作业</div>
|
|
- {{this.isNocheck}}
|
|
|
|
<img src="../../assets/img/wu_fen_pei_zuo_ye.png" alt="">
|
|
<img src="../../assets/img/wu_fen_pei_zuo_ye.png" alt="">
|
|
</div>
|
|
</div>
|
|
<!--所有未批改作业-->
|
|
<!--所有未批改作业-->
|
|
@@ -488,19 +492,27 @@
|
|
<!-- <div class="tr-setNo" v-if="UnallotHomeworkInfo.list.length == 0">
|
|
<!-- <div class="tr-setNo" v-if="UnallotHomeworkInfo.list.length == 0">
|
|
暂无数据!
|
|
暂无数据!
|
|
</div> -->
|
|
</div> -->
|
|
|
|
+ <div class="table-heads">
|
|
|
|
+ <div>学生</div>
|
|
|
|
+ <div>等待时长</div>
|
|
|
|
+ <div>科目</div>
|
|
|
|
+ <div>年级</div>
|
|
|
|
+ <div>未批改老师</div>
|
|
|
|
+ </div>
|
|
<div class="tr-set" v-for="(v, k) of UnallotHomeworkInfo.list" :key="k">
|
|
<div class="tr-set" v-for="(v, k) of UnallotHomeworkInfo.list" :key="k">
|
|
<div class="tr-secon">{{k+1}}</div>
|
|
<div class="tr-secon">{{k+1}}</div>
|
|
<div class="tr-secon" style="width:50px;">
|
|
<div class="tr-secon" style="width:50px;">
|
|
<span>{{v.name}}</span>
|
|
<span>{{v.name}}</span>
|
|
</div>
|
|
</div>
|
|
- <div class="tr-secon" style="width:60px;">{{v.spendTime}}</div>
|
|
|
|
|
|
+ <div class="tr-secon" style="width:60px;">等待:{{v.spendTime}}</div>
|
|
<div class="tr-secon">{{v.subject}}</div>
|
|
<div class="tr-secon">{{v.subject}}</div>
|
|
<div class="tr-secon">{{v.grade}}</div>
|
|
<div class="tr-secon">{{v.grade}}</div>
|
|
<div v-if="v.status === 1" class="tr-secon">未批改</div>
|
|
<div v-if="v.status === 1" class="tr-secon">未批改</div>
|
|
<div v-if="v.status === 2" class="tr-secon">批改中</div>
|
|
<div v-if="v.status === 2" class="tr-secon">批改中</div>
|
|
<div v-if="v.status === 3" class="tr-secon">已批改</div>
|
|
<div v-if="v.status === 3" class="tr-secon">已批改</div>
|
|
|
|
+ <div class="tr-secon">{{v.teacherName}}</div>
|
|
<div class="tr-s">
|
|
<div class="tr-s">
|
|
- <el-button type="success" plain><a style="text-decoration:none;color:#52cc60;" :href="'http://120.77.207.0:8081/kmt/index.html?homeworkId='+v.homeworkId+'&unionid='+unionid+'&teacherId='+homeworkLIst.teacherId+'&state='+1">去批改</a></el-button>
|
|
|
|
|
|
+ <!-- <el-button type="" plain @click="ToAppovalOline(v)">去批改</el-button> -->
|
|
<el-button type="success" @click="isShow(v,9)">去分配</el-button>
|
|
<el-button type="success" @click="isShow(v,9)">去分配</el-button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@@ -565,7 +577,8 @@
|
|
</div>
|
|
</div>
|
|
<div class="model-items-other model-active">
|
|
<div class="model-items-other model-active">
|
|
可批改时间:
|
|
可批改时间:
|
|
- <div v-if="v"><el-button type="info" round v-for="(v, k) of arrPeriod" :key="k">{{v}}</el-button></div>
|
|
|
|
|
|
+ <div class="buttonAppoval" v-show="arrPeriod.length>1"><el-button type="info" round v-for="(v, k) of arrPeriod" :key="k">{{v}}</el-button>
|
|
|
|
+ </div>
|
|
</div>
|
|
</div>
|
|
<div class="model-items-other">手机号 : {{GetTeacherDetail.phone}}</div>
|
|
<div class="model-items-other">手机号 : {{GetTeacherDetail.phone}}</div>
|
|
<div class="model-items-other model-active">上次登录时间 : {{GetTeacherDetail.lastOnlineTime}}</div>
|
|
<div class="model-items-other model-active">上次登录时间 : {{GetTeacherDetail.lastOnlineTime}}</div>
|
|
@@ -764,8 +777,8 @@ export default {
|
|
unionid:localStorage.getItem("unionid"),
|
|
unionid:localStorage.getItem("unionid"),
|
|
accessToken:localStorage.getItem("accessToken"), //token
|
|
accessToken:localStorage.getItem("accessToken"), //token
|
|
managerId: "", // 超级管理员登陆ID
|
|
managerId: "", // 超级管理员登陆ID
|
|
- // BASE_URL:'https://img.sharingschool.com',
|
|
|
|
- BASE_URL: "https://xt.sharingschool.com/upload/",
|
|
|
|
|
|
+ // BASE_URL:'https://img.sharingschool.com', //正式环境图片地址
|
|
|
|
+ BASE_URL:'https://xtimg.sharingschool.com/',
|
|
CS_URL: "http://120.77.207.0:8081/kmt/index.html", //作业批改测环境
|
|
CS_URL: "http://120.77.207.0:8081/kmt/index.html", //作业批改测环境
|
|
PRO_URL: "https://kmt.sharingschool.com/aijia/kmt/index.html", //作业批改生产环境
|
|
PRO_URL: "https://kmt.sharingschool.com/aijia/kmt/index.html", //作业批改生产环境
|
|
isDownindex: "",
|
|
isDownindex: "",
|
|
@@ -775,6 +788,7 @@ export default {
|
|
TeacherIdStatus:"",
|
|
TeacherIdStatus:"",
|
|
TeacherName:"", //封号,升级,解封
|
|
TeacherName:"", //封号,升级,解封
|
|
values: [],
|
|
values: [],
|
|
|
|
+ newDataDay:new Date(),
|
|
arrGrade: [],
|
|
arrGrade: [],
|
|
OpenID:false, //解封校区管理员弹框
|
|
OpenID:false, //解封校区管理员弹框
|
|
closeID:false, //封号校区管理员弹框
|
|
closeID:false, //封号校区管理员弹框
|
|
@@ -785,7 +799,6 @@ export default {
|
|
AllotManagerModel:false, //可分配小组管理员列表弹框
|
|
AllotManagerModel:false, //可分配小组管理员列表弹框
|
|
NoAllotManagerModel:false, //所有未批改可分配老师列表弹框
|
|
NoAllotManagerModel:false, //所有未批改可分配老师列表弹框
|
|
ModelStudet: false, //学生详情弹框
|
|
ModelStudet: false, //学生详情弹框
|
|
- isNocheck:false,//没有未批改作业
|
|
|
|
isDown: false,
|
|
isDown: false,
|
|
options: [
|
|
options: [
|
|
{
|
|
{
|
|
@@ -934,7 +947,8 @@ export default {
|
|
"GetTeacherDetail",
|
|
"GetTeacherDetail",
|
|
"GetStudentDetail",
|
|
"GetStudentDetail",
|
|
"getTeacherIdStatus",
|
|
"getTeacherIdStatus",
|
|
- "getAllotManagerList"
|
|
|
|
|
|
+ "getAllotManagerList",
|
|
|
|
+ "BeforetoTeacherstatues"
|
|
|
|
|
|
])
|
|
])
|
|
},
|
|
},
|
|
@@ -962,6 +976,7 @@ export default {
|
|
// },
|
|
// },
|
|
// 获取校区管理员监控数据
|
|
// 获取校区管理员监控数据
|
|
async InfoWatch() {
|
|
async InfoWatch() {
|
|
|
|
+ this.isDown = false;
|
|
this.$store.dispatch("InfoWatch", {
|
|
this.$store.dispatch("InfoWatch", {
|
|
grade: this.filters.OptionsValue,
|
|
grade: this.filters.OptionsValue,
|
|
subject: this.filters.gradesValue,
|
|
subject: this.filters.gradesValue,
|
|
@@ -1218,24 +1233,18 @@ export default {
|
|
},
|
|
},
|
|
// 去分配
|
|
// 去分配
|
|
allocation(){
|
|
allocation(){
|
|
- var _this = this;
|
|
|
|
|
|
+ var noHomework = document.getElementById('noHomework');
|
|
this.InfoWatch()
|
|
this.InfoWatch()
|
|
if (this.monitorTeacherList.unCorrectCount == 0){
|
|
if (this.monitorTeacherList.unCorrectCount == 0){
|
|
- _this.isNocheck = true;
|
|
|
|
- _this.setTimeoutHomework()
|
|
|
|
|
|
+ noHomework.style.display = "block";
|
|
|
|
+ setTimeout(function () {
|
|
|
|
+ noHomework.style.display = "none";
|
|
|
|
+ }, 1000);
|
|
} else {
|
|
} else {
|
|
this.isShow(this.monitorTeacherList,2)
|
|
this.isShow(this.monitorTeacherList,2)
|
|
}
|
|
}
|
|
|
|
|
|
},
|
|
},
|
|
- // 定时器
|
|
|
|
- setTimeoutHomework(){
|
|
|
|
- var noHomework = document.getElementById('noHomework');
|
|
|
|
- let _this = this
|
|
|
|
- setTimeout(function () {
|
|
|
|
- _this.isNocheck = false;
|
|
|
|
- }, 1000);
|
|
|
|
- },
|
|
|
|
//关闭弹框
|
|
//关闭弹框
|
|
allShowModel(str) {
|
|
allShowModel(str) {
|
|
let _this = this;
|
|
let _this = this;
|
|
@@ -1395,12 +1404,21 @@ export default {
|
|
getTeacherIdStatus(val, oldVal){ //普通的watch监听
|
|
getTeacherIdStatus(val, oldVal){ //普通的watch监听
|
|
this.InfoWatch();
|
|
this.InfoWatch();
|
|
},
|
|
},
|
|
|
|
+ BeforetoTeacherstatues(val, oldVal){ //普通的watch监听
|
|
|
|
+ // 查看老师批改作业列表
|
|
|
|
+ this.$store.dispatch("TeacherHomeworkList", {
|
|
|
|
+ teacherId: this.homeworkLIst.teacherId,
|
|
|
|
+ maxCreateTime: this.filters.MaxtimeValue,
|
|
|
|
+ pageNo: this.homeworkLIst.pageNo,
|
|
|
|
+ pageSize: this.homeworkLIst.pageSize
|
|
|
|
+ });
|
|
|
|
+ },
|
|
}
|
|
}
|
|
};
|
|
};
|
|
</script>
|
|
</script>
|
|
|
|
|
|
<!-- Add "scoped" attribute to limit CSS to this component only -->
|
|
<!-- Add "scoped" attribute to limit CSS to this component only -->
|
|
-<style scoped>
|
|
|
|
|
|
+<style>
|
|
html,
|
|
html,
|
|
body {
|
|
body {
|
|
height: 100%;
|
|
height: 100%;
|
|
@@ -1429,6 +1447,9 @@ el-table {
|
|
color: #999999;
|
|
color: #999999;
|
|
font-size: 18px;
|
|
font-size: 18px;
|
|
}
|
|
}
|
|
|
|
+.buttonAppoval{
|
|
|
|
+ display:inline-block;
|
|
|
|
+}
|
|
.main-items {
|
|
.main-items {
|
|
color: #393939;
|
|
color: #393939;
|
|
text-align: center;
|
|
text-align: center;
|
|
@@ -1488,6 +1509,22 @@ el-table {
|
|
.table-head > div {
|
|
.table-head > div {
|
|
width: 13.528%;
|
|
width: 13.528%;
|
|
}
|
|
}
|
|
|
|
+.table-heads {
|
|
|
|
+ margin-left:15%;
|
|
|
|
+ width: 68%;
|
|
|
|
+ color: #3ab548;
|
|
|
|
+ font-size: 14px;
|
|
|
|
+ text-align: center;
|
|
|
|
+ display: flex;
|
|
|
|
+ justify-content: space-around;
|
|
|
|
+}
|
|
|
|
+.table-heads > div {
|
|
|
|
+ width: 13.528%;
|
|
|
|
+}
|
|
|
|
+ul{
|
|
|
|
+ text-align: center;
|
|
|
|
+ margin: 0 !important
|
|
|
|
+}
|
|
.tr {
|
|
.tr {
|
|
width: 100%;
|
|
width: 100%;
|
|
color: #393939;
|
|
color: #393939;
|
|
@@ -1524,7 +1561,6 @@ el-table {
|
|
}
|
|
}
|
|
.tr-second {
|
|
.tr-second {
|
|
background-color: #fbfbfb;
|
|
background-color: #fbfbfb;
|
|
- margin: 0 60px;
|
|
|
|
display: flex;
|
|
display: flex;
|
|
color: #393939;
|
|
color: #393939;
|
|
font-size: 20px;
|
|
font-size: 20px;
|
|
@@ -1537,6 +1573,7 @@ el-table {
|
|
}
|
|
}
|
|
.tr-sw180{
|
|
.tr-sw180{
|
|
width: 180px;
|
|
width: 180px;
|
|
|
|
+ text-align:left;
|
|
}
|
|
}
|
|
.width40{
|
|
.width40{
|
|
width: 60px;
|
|
width: 60px;
|
|
@@ -1548,7 +1585,7 @@ width: 60px;
|
|
width: 200px;
|
|
width: 200px;
|
|
}
|
|
}
|
|
.tr-w120{
|
|
.tr-w120{
|
|
- width:120px;
|
|
|
|
|
|
+ width:160px;
|
|
text-align: left;
|
|
text-align: left;
|
|
}
|
|
}
|
|
.tr-second-check {
|
|
.tr-second-check {
|
|
@@ -1739,6 +1776,7 @@ width: 60px;
|
|
text-align: center;
|
|
text-align: center;
|
|
padding: 35px;
|
|
padding: 35px;
|
|
z-index: 1000;
|
|
z-index: 1000;
|
|
|
|
+ display: none;
|
|
}
|
|
}
|
|
.no-homework>div{
|
|
.no-homework>div{
|
|
margin-bottom: 25px;
|
|
margin-bottom: 25px;
|