|
@@ -77,7 +77,8 @@
|
|
|
v-model="filters.inputValue"
|
|
|
class="miniorinput-with-Allot"
|
|
|
/>
|
|
|
- <span @click="InfoWatch" class="miinorSeachIcon el-icon-search"></span>
|
|
|
+ <span v-if="this.Activeindex == false" @click="InfoWatch" class="miinorSeachIcon el-icon-search"></span>
|
|
|
+ <span v-if="this.Activeindex == true" @click="InfoKonwTeacherWatchList" class="miinorSeachIcon el-icon-search"></span>
|
|
|
</div>
|
|
|
</div>
|
|
|
</el-col>
|
|
@@ -137,7 +138,7 @@
|
|
|
<img
|
|
|
src="../../assets/img/attt.png"
|
|
|
alt
|
|
|
- v-if="!v.imgUrl"
|
|
|
+ v-if="v.imgUrl ==''"
|
|
|
@click="isShow(v,3)"
|
|
|
class="table-img"
|
|
|
/>
|
|
@@ -166,7 +167,7 @@
|
|
|
<img
|
|
|
src="../../assets/img/attt.png"
|
|
|
alt
|
|
|
- v-if="!v.imgUrl"
|
|
|
+ v-if="v.imgUrl ==''"
|
|
|
@click="isShow(v,3)"
|
|
|
class="table-img"
|
|
|
/>
|
|
@@ -195,7 +196,7 @@
|
|
|
<img
|
|
|
src="../../assets/img/attt.png"
|
|
|
alt
|
|
|
- v-if="!v.imgUrl"
|
|
|
+ v-if="v.imgUrl ==''"
|
|
|
@click="isShow(v,3)"
|
|
|
class="table-img"
|
|
|
/>
|
|
@@ -231,7 +232,8 @@
|
|
|
<div class="tr-seconds widthSu" style="width: 10%">{{v.subject}}</div>
|
|
|
<div class="tr-seconds widthSu" style="width: 10%">{{v.grade}}</div>
|
|
|
<div v-if="v.status === 1" class="tr-seconds width40" style="width: 50%">
|
|
|
- 未批改
|
|
|
+ <span v-if="Activeindex == false">未批改</span>
|
|
|
+ <span v-if="Activeindex == true">未匹配</span>
|
|
|
(
|
|
|
<span>{{v.feedbackCount}}/{{v.picTotal}}</span>)
|
|
|
</div>
|
|
@@ -239,13 +241,14 @@
|
|
|
v-if="v.status === 2"
|
|
|
class="tr-seconds width40"
|
|
|
style="color:#FFC303;width: 50%"
|
|
|
- >
|
|
|
- 批改中
|
|
|
+ > <span v-if="Activeindex == false">批改中</span>
|
|
|
+ <span v-if="Activeindex == true">匹配中</span>
|
|
|
(
|
|
|
<span>{{v.feedbackCount}}/{{v.picTotal}}</span>)
|
|
|
</div>
|
|
|
<div v-if="v.status === 3" class="tr-seconds width40" style="width: 50%">
|
|
|
- 已批改 (
|
|
|
+ <span v-if="Activeindex == false">已批改</span>
|
|
|
+ <span v-if="Activeindex == true">已匹配</span> (
|
|
|
<span>{{v.feedbackCount}}/{{v.picTotal}}</span>)
|
|
|
</div>
|
|
|
<div class="tr-sw180" v-if="v.status === 2" style="width: 25%"></div>
|
|
@@ -253,9 +256,10 @@
|
|
|
<el-button
|
|
|
type="success"
|
|
|
plain
|
|
|
- v-if="v.isAllot == '1'"
|
|
|
+ v-if="v.isAllot == '1' && Activeindex == false"
|
|
|
@click="ToAppovalOline(v)"
|
|
|
- >去批改</el-button>
|
|
|
+ ><span>去批改</span>
|
|
|
+ </el-button>
|
|
|
<el-button @click="isShow(v,1)" type="success">去分配</el-button>
|
|
|
</div>
|
|
|
<div
|
|
@@ -276,7 +280,9 @@
|
|
|
:href="APPOR_BASE_URL+'?homeworkId='+v.homeworkId+'&unionid='+unionid+'&teacherId='+homeworkLIst.teacherId+'&state='+2"
|
|
|
>已检查</a>-->
|
|
|
</el-button>
|
|
|
- <span class="WorngCount">报错{{v.wrongCount}}</span>
|
|
|
+ <span class="WorngCount" v-if="v.wrongCount > 0" style="color:red;font-size:12px;">报错{{v.wrongCount}}</span>
|
|
|
+ <span class="WorngCount" v-if="v.wrongCount == 0" style="color:#fbfbfb;font-size:12px;">报错{{v.wrongCount}}</span>
|
|
|
+ <!-- <span class="WorngCount">报错{{v.wrongCount}}</span> -->
|
|
|
</div>
|
|
|
<div
|
|
|
class="tr-sw180"
|
|
@@ -363,17 +369,18 @@
|
|
|
v-model="filters1.inputValue"
|
|
|
class="Dayinput-with-Allot"
|
|
|
/>
|
|
|
- <span @click="InfoWatchDay" class="DaySeachIcon el-icon-search"></span>
|
|
|
+ <span v-if="this.DayActiveindex == false" @click="InfoWatchDay" class="DaySeachIcon el-icon-search"></span>
|
|
|
+ <span v-if="this.DayActiveindex == true" @click="InfoKonwTeacherDayApprvalList" class="DaySeachIcon el-icon-search"></span>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="teach-block">
|
|
|
<el-date-picker
|
|
|
- @change="InfoWatchDay"
|
|
|
+ @change="InfoWatchDayDatas"
|
|
|
v-model="filters1.MaxtimeValue"
|
|
|
value-format="yyyy-MM-dd"
|
|
|
type="date"
|
|
|
:picker-options="pickerOptions0"
|
|
|
- placeholder="filters1.MaxtimeValue"
|
|
|
+ placeholder="选择日期"
|
|
|
></el-date-picker>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -488,7 +495,8 @@
|
|
|
v-model="filters2.inputValue"
|
|
|
class="Dayinput-with-Allot"
|
|
|
/>
|
|
|
- <span @click="InfoWatchMoth" class="DaySeachIcon el-icon-search"></span>
|
|
|
+ <span v-if="this.MonthActiveindex == false" @click="InfoWatchMoth" class="DaySeachIcon el-icon-search"></span>
|
|
|
+ <span v-if="this.MonthActiveindex == true" @click="InfoKonwTeacherMonthApprvalList" class="DaySeachIcon el-icon-search"></span>
|
|
|
</div>
|
|
|
<!-- <el-input placeholder="请输入老师名字" v-model="filters2.inputValue" class="input-with-select">
|
|
|
<el-button @click="InfoWatchMoth" slot="append" icon="el-icon-search"></el-button>
|
|
@@ -496,11 +504,11 @@
|
|
|
</div>
|
|
|
<div class="teach-block">
|
|
|
<el-date-picker
|
|
|
- @change="InfoWatchMoth"
|
|
|
+ @change="InfoWatchMonthDatas"
|
|
|
v-model="filters2.MaxtimeValue"
|
|
|
type="month"
|
|
|
value-format="yyyy-MM"
|
|
|
- placeholder="filters2.MaxtimeValue"
|
|
|
+ placeholder="选择月"
|
|
|
:picker-options="pickerOptions0"
|
|
|
></el-date-picker>
|
|
|
</div>
|
|
@@ -568,7 +576,7 @@
|
|
|
<div>{{v.homeworkPicCount}}/张</div>
|
|
|
<div>{{v.accuracyRate}}</div>
|
|
|
<div style="width:240px;">{{v.avgTime}}</div>
|
|
|
- <div>{{v.attendance}}</div>
|
|
|
+ <div>{{v.accuracyRate}}</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -690,7 +698,8 @@
|
|
|
<div class="model" style="width:50%; top:10%;" v-if="isPigai">
|
|
|
<div class="model-text">
|
|
|
<div class="model-text-head">
|
|
|
- <div>所有未批改作业</div>
|
|
|
+ <div v-if="this.Activeindex == false">所有未批改作业</div>
|
|
|
+ <div v-if="this.Activeindex == true">所有未匹配作业</div>
|
|
|
<div>
|
|
|
<img src="../../assets/img/del@2x.png" alt @click="allShowModel(2)" />
|
|
|
</div>
|
|
@@ -705,7 +714,8 @@
|
|
|
<div class="tr-secon width140" style="text-align:right">等待时长</div>
|
|
|
<div class="tr-secon tr-sw80">科目</div>
|
|
|
<div class="tr-secon tr-sw80">年级</div>
|
|
|
- <div class="tr-secon width140">未批改老师</div>
|
|
|
+ <div class="tr-secon width140" v-if="this.Activeindex == false">未批改老师</div>
|
|
|
+ <div class="tr-secon width140" v-if="this.Activeindex == true">未匹配老师</div>
|
|
|
</div>
|
|
|
<div class="tr-set" v-for="(v, k) of UnallotHomeworkInfo.list" :key="k">
|
|
|
<div class="tr-secon">{{k+1}}</div>
|
|
@@ -715,17 +725,28 @@
|
|
|
<div class="tr-secon width140">{{v.spendTime}}</div>
|
|
|
<div class="tr-secon tr-sw80">{{v.subject}}</div>
|
|
|
<div class="tr-secon tr-sw80">{{v.grade}}</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 === 3" class="tr-secon">已批改</div>
|
|
|
+ <div v-if="v.status === 1" class="tr-secon">
|
|
|
+ <span v-if="Activeindex == false">未批改</span>
|
|
|
+ <span v-if="Activeindex == true">未匹配</span>
|
|
|
+ </div>
|
|
|
+ <div v-if="v.status === 2" class="tr-secon">
|
|
|
+ <span v-if="Activeindex == false">批改中</span>
|
|
|
+ <span v-if="Activeindex == true"> 匹配中</span>
|
|
|
+ </div>
|
|
|
+ <div v-if="v.status === 3" class="tr-secon">
|
|
|
+ <span v-if="Activeindex == false">已批改</span>
|
|
|
+ <span v-if="Activeindex == true">已匹配</span>
|
|
|
+ </div>
|
|
|
<div class="tr-secon width140">{{v.teacherName}}</div>
|
|
|
<div class="width400">
|
|
|
<el-button
|
|
|
- v-if="v.isAllot == '1'"
|
|
|
+ v-if="v.isAllot == '1' && Activeindex == false"
|
|
|
type="success"
|
|
|
plain
|
|
|
@click="AllToAppovalOline(v)"
|
|
|
- >去批改</el-button>
|
|
|
+ >
|
|
|
+ <span>去批改</span>
|
|
|
+ </el-button>
|
|
|
<el-button type="success" @click="isShow(v,5)">去分配</el-button>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -830,7 +851,8 @@
|
|
|
<div class="model" style="width:40%;left: 32.5%" v-if="ModelAppor">
|
|
|
<div class="model-text">
|
|
|
<div class="model-manager">
|
|
|
- <div>批改老师</div>
|
|
|
+ <div v-if="this.Activeindex == false">批改老师</div>
|
|
|
+ <div v-if="this.Activeindex == true">匹配知识点老师</div>
|
|
|
<div>
|
|
|
<img src="../../assets/img/del@2x.png" alt @click="allShowModel(3)" />
|
|
|
</div>
|
|
@@ -858,12 +880,13 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div class="model-items-other model-active">批改科目 : {{GetTeacherDetail.subject}}</div>
|
|
|
- <div class="model-items-other">
|
|
|
+ <div class="model-items-other model-active" v-if="this.Activeindex == false">批改科目 : {{GetTeacherDetail.subject}}</div>
|
|
|
+ <div class="model-items-other" v-if="this.Activeindex == true">批改科目 : {{GetTeacherDetail.subject}}</div>
|
|
|
+ <div class="model-items-other" v-if="this.Activeindex == false">
|
|
|
批改年级 :
|
|
|
<span v-for="(v, k) of arrGrade" :key="k">{{v}},</span>
|
|
|
</div>
|
|
|
- <div class="model-items-other model-active">
|
|
|
+ <div class="model-items-other model-active" >
|
|
|
可批改时间:
|
|
|
<div class="buttonAppoval">
|
|
|
<div class="TeacherApporTime" v-for="(v, k) of arrPeriod" v-show="v" :key="k">
|
|
@@ -873,14 +896,15 @@
|
|
|
</div>
|
|
|
<div class="model-items-other">手机号 : {{GetTeacherDetail.phone}}</div>
|
|
|
<div class="model-items-other model-active">上次登录时间 : {{GetTeacherDetail.lastOnlineTime}}</div>
|
|
|
- <div class="model-items-other">批改正确率 : {{GetTeacherDetail.accuracyRate}}</div>
|
|
|
+ <div class="model-items-other" v-if="this.Activeindex == false">批改正确率 : {{GetTeacherDetail.accuracyRate}}</div>
|
|
|
+ <div class="model-items-other" v-if="this.Activeindex == true">匹配正确率 : {{GetTeacherDetail.accuracyRate}}</div>
|
|
|
<div class="model-items-other model-active">
|
|
|
被报错总次数 :
|
|
|
<span style="color:red;">{{GetTeacherDetail.wrongCount}}次</span>
|
|
|
</div>
|
|
|
<div class="model-items-other">纠正次数 : {{GetTeacherDetail.correctNums}}次</div>
|
|
|
<div
|
|
|
- class="model-items-other model-active"
|
|
|
+ class="model-items-other model-active" v-if="this.Activeindex == false"
|
|
|
>家长满意度 : {{GetTeacherDetail.satisfactionDegree}}</div>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -1143,7 +1167,14 @@ export default {
|
|
|
pageNo: this.homeworkLIst.pageNo,
|
|
|
pageSize: this.homeworkLIst.pageSize
|
|
|
});
|
|
|
- this.InfoWatch();
|
|
|
+ if (this.Activeindex == false){
|
|
|
+ this.InfoWatch();
|
|
|
+ this.UnallotHomework();
|
|
|
+ }
|
|
|
+ if (this.Activeindex == true){
|
|
|
+ this.InfoKonwTeacherWatchList();
|
|
|
+ this.unmatchHomework()
|
|
|
+ }
|
|
|
},
|
|
|
InfoTeacherstatues(val, oldVal) {
|
|
|
//普通的watch监听
|
|
@@ -1154,8 +1185,13 @@ export default {
|
|
|
this.NoAllotManagerModel = false;
|
|
|
this.hiddenModel = false;
|
|
|
// this.isPigai = true;
|
|
|
- this.RefreshTeacherHomework();
|
|
|
- this.UnallotHomework();
|
|
|
+ this.RefreshTeacherHomework();
|
|
|
+ if (this.Activeindex == false){
|
|
|
+ this.UnallotHomework();
|
|
|
+ }
|
|
|
+ if (this.Activeindex == true){
|
|
|
+ this.unmatchHomework()
|
|
|
+ }
|
|
|
}
|
|
|
},
|
|
|
computed: {
|
|
@@ -1372,7 +1408,6 @@ export default {
|
|
|
this.$set(this.TeacherAllotList.list, k, v);
|
|
|
this.NoAllotManagerModel = false;
|
|
|
this.homeworkLIst.pageNo = 1;
|
|
|
- this.UnallotHomework();
|
|
|
this.isPigai = true;
|
|
|
},
|
|
|
// 分配老师
|
|
@@ -1395,9 +1430,13 @@ export default {
|
|
|
},
|
|
|
// 数据监控手动批改
|
|
|
handApor() {
|
|
|
+ this.isDown = false;
|
|
|
this.TeacherType = 8;
|
|
|
this.TeacherApporvalStyle = 1;
|
|
|
this.TeacherCheackStyle = 2;
|
|
|
+ this.filters.OptionsValue = '';
|
|
|
+ this.filters.gradesValue = '';
|
|
|
+ this.filters.inputValue = '';
|
|
|
this.Activeindex = false;
|
|
|
this.filters.pageNo = 1;
|
|
|
// this.showApporAways = false;
|
|
@@ -1405,10 +1444,14 @@ export default {
|
|
|
},
|
|
|
// 数据监控匹配知识点老师
|
|
|
AutoApor() {
|
|
|
+ this.isDown = false;
|
|
|
this.TeacherType = 13;
|
|
|
this.TeacherApporvalStyle = 3;
|
|
|
this.TeacherCheackStyle = 4;
|
|
|
this.Activeindex = true;
|
|
|
+ this.filters.OptionsValue = '';
|
|
|
+ this.filters.gradesValue = '';
|
|
|
+ this.filters.inputValue = '';
|
|
|
// this.showApporAways = true;
|
|
|
this.filters.pageNo = 1;
|
|
|
this.InfoKonwTeacherWatchList();
|
|
@@ -1429,6 +1472,8 @@ export default {
|
|
|
DayhandApor() {
|
|
|
this.DayActiveindex = false;
|
|
|
this.filters1.pageNo = 1;
|
|
|
+ this.filters1.MaxtimeValue = '';
|
|
|
+ this.filters1.inputValue = '';
|
|
|
// this.showApporAways = false;
|
|
|
this.InfoWatchDay();
|
|
|
},
|
|
@@ -1436,6 +1481,8 @@ export default {
|
|
|
DayAutoApor() {
|
|
|
this.DayActiveindex = true;
|
|
|
// this.showApporAways = true;
|
|
|
+ this.filters1.MaxtimeValue = '';
|
|
|
+ this.filters1.inputValue = '';
|
|
|
this.filters1.pageNo = 1;
|
|
|
this.InfoKonwTeacherDayApprvalList();
|
|
|
},
|
|
@@ -1452,10 +1499,20 @@ export default {
|
|
|
managerId: this.managerId || ""
|
|
|
});
|
|
|
},
|
|
|
+ InfoWatchDayDatas (){
|
|
|
+ if (this.DayActiveindex == false){
|
|
|
+ this.InfoWatchDay();
|
|
|
+ }
|
|
|
+ if (this.Activeindex == true){
|
|
|
+ this.InfoKonwTeacherDayApprvalList()
|
|
|
+ }
|
|
|
+ },
|
|
|
// 当月数据手动批改
|
|
|
MonthhandApor() {
|
|
|
this.MonthActiveindex = false;
|
|
|
this.filters2.pageNo = 1;
|
|
|
+ this.filters2.MaxtimeValue = '';
|
|
|
+ this.filters2.inputValue = '';
|
|
|
// this.showApporAways = false;
|
|
|
this.InfoWatchMoth();
|
|
|
},
|
|
@@ -1463,6 +1520,8 @@ export default {
|
|
|
MonthAutoApor() {
|
|
|
this.MonthActiveindex = true;
|
|
|
// this.showApporAways = true;
|
|
|
+ this.filters2.MaxtimeValue = '';
|
|
|
+ this.filters2.inputValue = '';
|
|
|
this.filters2.pageNo = 1;
|
|
|
this.InfoKonwTeacherMonthApprvalList();
|
|
|
},
|
|
@@ -1479,6 +1538,14 @@ export default {
|
|
|
managerId: this.managerId || ""
|
|
|
});
|
|
|
},
|
|
|
+ InfoWatchMonthDatas (){
|
|
|
+ if (this.MonthActiveindex == false){
|
|
|
+ this.InfoWatchMoth();
|
|
|
+ }
|
|
|
+ if (this.MonthActiveindex == true){
|
|
|
+ this.InfoKonwTeacherMonthApprvalList()
|
|
|
+ }
|
|
|
+ },
|
|
|
WatchhandleSizeChange(val) {
|
|
|
this.filters.pageSize = val;
|
|
|
this.InfoKonwTeacherWatchList();
|
|
@@ -1821,13 +1888,23 @@ export default {
|
|
|
},
|
|
|
selectTip(item) {
|
|
|
this.filters.OptionsValue = item.str;
|
|
|
- this.InfoWatch();
|
|
|
+ if (this.Activeindex == false){
|
|
|
+ this.InfoWatch();
|
|
|
+ }
|
|
|
+ if (this.Activeindex == true){
|
|
|
+ this.InfoKonwTeacherWatchList();
|
|
|
+ }
|
|
|
this.selecttitlepag = item.label;
|
|
|
this.gardeListDown = false;
|
|
|
},
|
|
|
selectTipage(item) {
|
|
|
this.filters.gradesValue = item.str;
|
|
|
- this.InfoWatch();
|
|
|
+ if (this.Activeindex == false){
|
|
|
+ this.InfoWatch();
|
|
|
+ }
|
|
|
+ if (this.Activeindex == true){
|
|
|
+ this.InfoKonwTeacherWatchList();
|
|
|
+ }
|
|
|
this.selecttitleage = item.label;
|
|
|
this.gardeListDownage = false;
|
|
|
},
|