|
|
@@ -27,8 +27,38 @@
|
|
|
<span @click="allocation()" class="main-header-link">去分配</span>
|
|
|
</div>
|
|
|
</el-col>
|
|
|
- <el-col :span="8" :offset="1">
|
|
|
- <el-input placeholder="请输入老师名字" v-model="filters.inputValue" class="input-with-select">
|
|
|
+ <el-col :span="10">
|
|
|
+ <div class="selectBox">
|
|
|
+ <div class="Ageclass" @click="choiceclass()" @mouseover="selectStyle()" @mouseout="outStyle()">
|
|
|
+ <span class="age-tip">{{selecttitlepag}}</span>
|
|
|
+ <span :class="[gardeListDown ?'el-icon-caret-top':'el-icon-caret-bottom']"></span>
|
|
|
+ </div>
|
|
|
+ <div class="class-download" v-show="gardeListDown" @mouseover="selectStyle()" @mouseout="outStyle()">
|
|
|
+ <ul v-for="(item, k) in options"
|
|
|
+ :key="k">
|
|
|
+ <li @click="selectTip(item)">{{item.label}}</li>
|
|
|
+ </ul>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="selectBox">
|
|
|
+ <div class="Ageclass" @click="choiceclass()" @mouseover="selectStyle1()" @mouseout="outStyle1()">
|
|
|
+ <span class="age-tip">{{selecttitleage}}</span>
|
|
|
+ <span :class="[gardeListDownage ?'el-icon-caret-top':'el-icon-caret-bottom']"></span>
|
|
|
+ </div>
|
|
|
+ <div class="class-download" v-show="gardeListDownage" @mouseover="selectStyle1()" @mouseout="outStyle1()">
|
|
|
+ <ul v-for="(item, k) in grades"
|
|
|
+ :key="k">
|
|
|
+ <li @click="selectTipage(item)">{{item.label}}</li>
|
|
|
+ </ul>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="teach-block">
|
|
|
+ <div class="miniorteach-Allot">
|
|
|
+ <input type="text" placeholder="请输入老师" v-model="filters.inputValue" class="miniorinput-with-Allot">
|
|
|
+ <span @click="InfoWatch" class="miinorSeachIcon el-icon-search"></span>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <!-- <el-input placeholder="请输入老师名字" v-model="filters.inputValue" class="input-with-select">
|
|
|
<el-select
|
|
|
v-model="filters.OptionsValue"
|
|
|
@change="InfoWatch"
|
|
|
@@ -58,7 +88,7 @@
|
|
|
></el-option>
|
|
|
</el-select>
|
|
|
<el-button @click="InfoWatch" slot="append" icon="el-icon-search"></el-button>
|
|
|
- </el-input>
|
|
|
+ </el-input> -->
|
|
|
</el-col>
|
|
|
<!--<div class="block">-->
|
|
|
<!--<el-date-picker-->
|
|
|
@@ -164,12 +194,12 @@
|
|
|
</div>
|
|
|
<div
|
|
|
v-if="v.status && !(v.status === 1 && k == 0) "
|
|
|
- class="tr-secondsA" style="width:25%;"
|
|
|
+ class="tr-secondsA" style="width:30%;"
|
|
|
>{{v.spendTime}}</div>
|
|
|
<div
|
|
|
v-if="v.status === 1 && k == 0"
|
|
|
class="tr-secondsA"
|
|
|
- style="color:#52CC60;width: 25%"
|
|
|
+ style="color:#52CC60;width: 30%"
|
|
|
>{{v.spendTime}}</div>
|
|
|
<div class="tr-seconds width40" style="width: 10%">{{v.subject}}</div>
|
|
|
<div class="tr-seconds width40" style="width: 10%">{{v.grade}}</div>
|
|
|
@@ -178,10 +208,10 @@
|
|
|
<div v-if="v.status === 3" class="tr-seconds width40" style="width: 10%">已批改</div>
|
|
|
<div class="tr-sw180" v-if="v.status === 2" style="width: 25%"></div>
|
|
|
<div class="tr-sw180" v-if="v.status === 1" style="width: 25%">
|
|
|
- <el-button type plain @click="ToAppovalOline(v)">去批改</el-button>
|
|
|
+ <el-button type="success" plain v-if="v.isAllot == '1'" @click="ToAppovalOline(v)">去批改</el-button>
|
|
|
<el-button @click="isShow(v,1)" type="success">去分配</el-button>
|
|
|
</div>
|
|
|
- <div class="tr-sw180" v-if="v.status === 3 && v.isCheck ===1" style="width: 25%">
|
|
|
+ <div class="ApporTeacher" v-if="v.status === 3 && v.isCheck ===1" style="width: 25%">
|
|
|
<span>{{v.checkCount}}</span>
|
|
|
<span style="color:#bbbbbb;">/{{v.picTotal}}</span>
|
|
|
<el-button type="info">
|
|
|
@@ -190,7 +220,7 @@
|
|
|
: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>
|
|
|
+ <span class="WorngCount">报错{{v.wrongCount}}</span>
|
|
|
</div>
|
|
|
<div class="tr-sw180" v-if="v.status === 3 && v.isCheck ===0" style="width: 25%">
|
|
|
<el-button type="warning">
|
|
|
@@ -219,8 +249,9 @@
|
|
|
background
|
|
|
@size-change="handleSizeChange"
|
|
|
@current-change="pageChange"
|
|
|
+ :current-page.sync="currentPage"
|
|
|
:page-sizes="[10]"
|
|
|
- layout="total, prev, pager, next"
|
|
|
+ layout="total, prev, pager, next"
|
|
|
:total="parseInt(monitorTeacherList.pages)"
|
|
|
:hide-on-single-page="true"
|
|
|
></el-pagination>
|
|
|
@@ -238,9 +269,10 @@
|
|
|
</div>
|
|
|
<div class="teach-time">
|
|
|
<div class="teach-block">
|
|
|
- <el-input placeholder="请输入老师名字" v-model="filters1.inputValue" class="input-with-select">
|
|
|
- <el-button @click="InfoWatchDay" slot="append" icon="el-icon-search"></el-button>
|
|
|
- </el-input>
|
|
|
+ <div class="Dayteach-Allot">
|
|
|
+ <input type="text" placeholder="请输入老师名字" v-model="filters1.inputValue" class="Dayinput-with-Allot">
|
|
|
+ <span @click="InfoWatchDay" class="DaySeachIcon el-icon-search"></span>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
<div class="teach-block">
|
|
|
<el-date-picker
|
|
|
@@ -290,9 +322,10 @@
|
|
|
@size-change="handleSizeChange1"
|
|
|
@current-change="pageChange1"
|
|
|
:page-sizes="[10]"
|
|
|
- layout="total, sizes, prev, pager, next, jumper"
|
|
|
+ layout="total, prev, pager, next"
|
|
|
:total="parseInt(DayTeacherList.pages)"
|
|
|
:hide-on-single-page="true"
|
|
|
+ :current-page.sync="currentPage"
|
|
|
></el-pagination>
|
|
|
<!-- <div style="float:right;margin-left:15px;">
|
|
|
<el-button @click="myVisible = false" size="small">取 消</el-button>
|
|
|
@@ -312,9 +345,13 @@
|
|
|
</div>
|
|
|
<div class="teach-time">
|
|
|
<div class="teach-block">
|
|
|
- <el-input placeholder="请输入老师名字" v-model="filters2.inputValue" class="input-with-select">
|
|
|
+ <div class="Dayteach-Allot">
|
|
|
+ <input type="text" placeholder="请输入老师名字" v-model="filters2.inputValue" class="Dayinput-with-Allot">
|
|
|
+ <span @click="InfoWatchMoth" 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>
|
|
|
- </el-input>
|
|
|
+ </el-input> -->
|
|
|
</div>
|
|
|
<div class="teach-block">
|
|
|
<el-date-picker
|
|
|
@@ -387,9 +424,10 @@
|
|
|
@size-change="handleSizeChange2"
|
|
|
@current-change="pageChange2"
|
|
|
:page-sizes="[10]"
|
|
|
- layout="total, sizes, prev, pager, next, jumper"
|
|
|
+ layout="total, prev, pager, next"
|
|
|
:total="parseInt(MothTeacherList.pages)"
|
|
|
:hide-on-single-page="true"
|
|
|
+ :current-page.sync="currentPage"
|
|
|
></el-pagination>
|
|
|
<!-- <div style="float:right;margin-left:15px;">
|
|
|
<el-button @click="myVisible = false" size="small">取 消</el-button>
|
|
|
@@ -404,13 +442,24 @@
|
|
|
|
|
|
<!--可分配老师-->
|
|
|
<div class="showModel" @click="allShowModel(1)" v-if="hiddenModel"></div>
|
|
|
- <div class="model teacerMOdel" style="left:20%" v-if="hiddenModel">
|
|
|
+ <div class="model teacerMOdel" style="left:20%;top:5%" v-if="hiddenModel">
|
|
|
<div class="model-text">
|
|
|
<div class="model-text-head">
|
|
|
<div>可分配老师</div>
|
|
|
+ <div class="teach-Allot">
|
|
|
+ <input type="text" placeholder="请输入老师名字" v-model="inputValueAllot" class="input-with-Allot">
|
|
|
+ <span @click="SearchTeacherAllot" class="SeachIcon el-icon-search"></span>
|
|
|
+ </div>
|
|
|
<div>{{allotList.Allotgarde}}{{allotList.Allotsubjct}}</div>
|
|
|
</div>
|
|
|
- <div class="tr-setNo" v-if="TeacherAllotList.list.length == 0">暂无数据!</div>
|
|
|
+ <div v-show="this.inputValueAllot =='' && TeacherAllotList.list.length ==0">
|
|
|
+ <img src="../../assets/img/NoTeacherAllot (1).png" alt>
|
|
|
+ <div style="display:block; margin-top:20px;"> 暂无可分配老师!</div>
|
|
|
+ </div>
|
|
|
+ <div v-show="this.inputValueAllot !=='' && TeacherAllotList.list.length ==0">
|
|
|
+ <img src="../../assets/img/SEARCH (1).png" alt>
|
|
|
+ <div style="display:block; margin-top:20px;"> 搜索不到老师!</div>
|
|
|
+ </div>
|
|
|
<div
|
|
|
class="model-itemss"
|
|
|
style="margin:10px;"
|
|
|
@@ -472,42 +521,45 @@
|
|
|
<div class="model-text">
|
|
|
<div class="model-text-head">
|
|
|
<div>所有未批改作业</div>
|
|
|
+ <div>
|
|
|
+ <img src="../../assets/img/del@2x.png" alt @click="allShowModel(2)">
|
|
|
+ </div>
|
|
|
</div>
|
|
|
<div>
|
|
|
<!-- UnallotHomeworkInfo -->
|
|
|
<!-- <div class="tr-setNo" v-if="UnallotHomeworkInfo.list.length == 0">
|
|
|
暂无数据!
|
|
|
</div>-->
|
|
|
- <div class="table-heads1">
|
|
|
- <div>学生</div>
|
|
|
- <div>等待时长</div>
|
|
|
- <div>科目</div>
|
|
|
- <div>年级</div>
|
|
|
- <div>未批改老师</div>
|
|
|
+ <div class="tr-set table-heads1">
|
|
|
+ <div class="tr-secon width120">学生</div>
|
|
|
+ <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>
|
|
|
<div class="tr-set" v-for="(v, k) of UnallotHomeworkInfo.list" :key="k">
|
|
|
<div class="tr-secon">{{k+1}}</div>
|
|
|
- <div class="tr-secon" style="width:50px;">
|
|
|
+ <div class="tr-secon width120">
|
|
|
<span>{{v.name}}</span>
|
|
|
</div>
|
|
|
- <div class="tr-secon" style="width:60px;">{{v.spendTime}}</div>
|
|
|
- <div class="tr-secon">{{v.subject}}</div>
|
|
|
- <div class="tr-secon">{{v.grade}}</div>
|
|
|
+ <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 class="tr-secon">{{v.teacherName}}</div>
|
|
|
- <div class>
|
|
|
- <el-button type="success" @click="ToAppovalOline(v)" plain>去批改</el-button>
|
|
|
+ <div class="tr-secon width140">{{v.teacherName}}</div>
|
|
|
+ <div class="width400">
|
|
|
+ <el-button v-if="v.isAllot == '1'" type="success" plain @click="ToAppovalOline(v)" >去批改</el-button>
|
|
|
<el-button type="success" @click="isShow(v,5)">去分配</el-button>
|
|
|
</div>
|
|
|
</div>
|
|
|
<el-pagination
|
|
|
background
|
|
|
- @size-change="handleSizeChange3"
|
|
|
- @current-change="pageChange3"
|
|
|
+ @size-change="handleSizeChange7"
|
|
|
+ @current-change="pageChange7"
|
|
|
:page-sizes="[10]"
|
|
|
- layout="total, sizes, prev, pager, next, jumper"
|
|
|
+ layout="total, prev, pager, next"
|
|
|
:total="parseInt(UnallotHomeworkInfo.pages)"
|
|
|
:hide-on-single-page="true"
|
|
|
></el-pagination>
|
|
|
@@ -520,10 +572,23 @@
|
|
|
<div class="model-text" style="padding: 0 10px">
|
|
|
<div class="model-manager">
|
|
|
<div>作业可分配老师</div>
|
|
|
+ <div class="teach-Allot">
|
|
|
+ <input type="text" placeholder="请输入老师名字" v-model="AllinputValueAllot" class="input-with-Allot">
|
|
|
+ <span @click="SearchValueAllot" class="SeachIcon el-icon-search"></span>
|
|
|
+ </div>
|
|
|
<div>
|
|
|
<img src="../../assets/img/del@2x.png" alt @click="allShowModel(5)">
|
|
|
</div>
|
|
|
</div>
|
|
|
+
|
|
|
+ <div v-show="this.AllinputValueAllot =='' &&TeacherAllotList.list.length ==0">
|
|
|
+ <img src="../../assets/img/NoTeacherAllot (1).png" alt>
|
|
|
+ <div style="display:block; margin-top:20px;"> 暂无可分配老师!</div>
|
|
|
+ </div>
|
|
|
+ <div v-show="this.AllinputValueAllot !=='' && TeacherAllotList.list.length ==0">
|
|
|
+ <img src="../../assets/img/SEARCH (1).png" alt>
|
|
|
+ <div style="display:block; margin-top:20px;"> 搜索不到老师!</div>
|
|
|
+ </div>
|
|
|
<div class="allocation-items" v-for="(v, k) in TeacherAllotList.list" :key="k">
|
|
|
<div class="model-items-left">
|
|
|
<div class="model-items-left-top">
|
|
|
@@ -569,7 +634,7 @@
|
|
|
</div>
|
|
|
<!-- 老师详情弹框 -->
|
|
|
<div class="showModel" @click="allShowModel(3)" v-if="ModelAppor"></div>
|
|
|
- <div class="model" style="width:35%;left: 32.5%" v-if="ModelAppor">
|
|
|
+ <div class="model" style="width:40%;left: 32.5%" v-if="ModelAppor">
|
|
|
<div class="model-text">
|
|
|
<div class="model-manager">
|
|
|
<div>批改老师</div>
|
|
|
@@ -607,8 +672,10 @@
|
|
|
</div>
|
|
|
<div class="model-items-other model-active">
|
|
|
可批改时间:
|
|
|
- <div class="buttonAppoval" v-show="arrPeriod.length >= 0">
|
|
|
- <el-button type="info" size="mini" round v-for="(v, k) of arrPeriod" :key="k">{{v}}</el-button>
|
|
|
+ <div class="buttonAppoval">
|
|
|
+ <div class="TeacherApporTime" v-for="(v, k) of arrPeriod" v-show="v" :key="k">
|
|
|
+ <span>{{v}}</span>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="model-items-other">手机号 : {{GetTeacherDetail.phone}}</div>
|
|
|
@@ -670,8 +737,11 @@ export default {
|
|
|
APPOR_BASE_URL: APPOR_BASE_URL,
|
|
|
isDownindex: "",
|
|
|
modelindex: 0,
|
|
|
+ currentPage: 1,
|
|
|
values: [],
|
|
|
arrGrade: [],
|
|
|
+ inputValueAllot:"",
|
|
|
+ AllinputValueAllot:"",
|
|
|
NoAllotManagerModel: false, //未批改作业可分配老师弹框
|
|
|
hiddenModel: false, //分配老师弹框
|
|
|
isPigai: false, //未批改作业弹框
|
|
|
@@ -679,6 +749,10 @@ export default {
|
|
|
ModelStudet: false, //学生详情弹框
|
|
|
isNocheck: false, //没有未批改作业
|
|
|
isDown: false,
|
|
|
+ gardeListDown:false,
|
|
|
+ gardeListDownage:false,
|
|
|
+ selecttitlepag:"选年级",
|
|
|
+ selecttitleage:"选科目",
|
|
|
options: [
|
|
|
{
|
|
|
value: "0",
|
|
|
@@ -846,6 +920,14 @@ export default {
|
|
|
//普通的watch监听
|
|
|
this.pesiorFun();
|
|
|
},
|
|
|
+ ApporingTeacherstatues(val, oldVal) {
|
|
|
+ //去分配前刷新列表watch监听
|
|
|
+ this.NoAllotManagerModel = false;
|
|
|
+ this.hiddenModel = false;
|
|
|
+ // this.isPigai = true;
|
|
|
+ this.RefreshTeacherHomework();
|
|
|
+ this.UnallotHomework();
|
|
|
+ },
|
|
|
},
|
|
|
computed: {
|
|
|
...mapGetters([
|
|
|
@@ -862,7 +944,8 @@ export default {
|
|
|
"getTeacherIdStatus",
|
|
|
"BeforetoTeacherAllotCode",
|
|
|
"BeforetoTeacherstatues",
|
|
|
- "InfoTeacherstatues"
|
|
|
+ "InfoTeacherstatues",
|
|
|
+ "ApporingTeacherstatues"
|
|
|
|
|
|
])
|
|
|
},
|
|
|
@@ -951,6 +1034,15 @@ export default {
|
|
|
pageSize: this.homeworkLIst.pageSize
|
|
|
});
|
|
|
},
|
|
|
+ // 去分配前刷新老师批改作业列表
|
|
|
+ async RefreshTeacherHomework() {
|
|
|
+ this.$store.dispatch("TeacherHomeworkList", {
|
|
|
+ teacherId: this.homeworkLIst.teacherId,
|
|
|
+ maxCreateTime: "",
|
|
|
+ pageNo: 1,
|
|
|
+ pageSize: this.homeworkLIst.pageSize
|
|
|
+ });
|
|
|
+ },
|
|
|
// 分页查看老师批改作业列表
|
|
|
async TeacherHomeworkfy() {
|
|
|
this.$store.dispatch("TeacherHomeworkList", {
|
|
|
@@ -965,9 +1057,23 @@ export default {
|
|
|
this.$store.dispatch("TeacherAllotList", {
|
|
|
grade: v.grade,
|
|
|
subject: v.subject,
|
|
|
+ homeworkId: v.homeworkId,
|
|
|
maxCreateTime: this.filters.MaxtimeValue,
|
|
|
pageNo: this.allotList.pageNo,
|
|
|
- pageSize: this.allotList.pageSize
|
|
|
+ pageSize: this.allotList.pageSize,
|
|
|
+ name:this.inputValueAllot
|
|
|
+ });
|
|
|
+ },
|
|
|
+ // 搜索可分配老师列表
|
|
|
+ async SearchTeacherAllot() {
|
|
|
+ this.$store.dispatch("TeacherAllotList", {
|
|
|
+ grade: this.allotList.Allotgarde,
|
|
|
+ subject: this.allotList.Allotsubjct,
|
|
|
+ homeworkId: this.allotList.homeworkId,
|
|
|
+ maxCreateTime: this.filters.MaxtimeValue,
|
|
|
+ pageNo: this.allotList.pageNo,
|
|
|
+ pageSize: this.allotList.pageSize,
|
|
|
+ name:this.inputValueAllot
|
|
|
});
|
|
|
},
|
|
|
// 可分配老师列表分页
|
|
|
@@ -975,9 +1081,11 @@ export default {
|
|
|
this.$store.dispatch("TeacherAllotList", {
|
|
|
grade: this.allotList.Allotgarde,
|
|
|
subject: this.allotList.Allotsubjct,
|
|
|
+ homeworkId: this.allotList.homeworkId,
|
|
|
maxCreateTime: this.filters.MaxtimeValue,
|
|
|
pageNo: this.allotList.pageNo,
|
|
|
- pageSize: this.allotList.pageSize
|
|
|
+ pageSize: this.allotList.pageSize,
|
|
|
+ name:this.inputValueAllot
|
|
|
});
|
|
|
},
|
|
|
// 未批改作业列表列表
|
|
|
@@ -985,7 +1093,7 @@ export default {
|
|
|
this.$store.dispatch("UnallotHomeworkList", {
|
|
|
maxCreateTime: this.filters.MaxtimeValue,
|
|
|
pageNo: this.homeworkLIst.pageNo,
|
|
|
- pageSize: this.homeworkLIst.pageSize
|
|
|
+ pageSize: this.homeworkLIst.pageSize,
|
|
|
});
|
|
|
},
|
|
|
// 未批改作业分配老师
|
|
|
@@ -997,6 +1105,7 @@ export default {
|
|
|
v.type = 1;
|
|
|
this.$set(this.TeacherAllotList.list, k, v);
|
|
|
this.NoAllotManagerModel = false;
|
|
|
+ this.homeworkLIst.pageNo = 1
|
|
|
this.UnallotHomework();
|
|
|
this.isPigai = true;
|
|
|
},
|
|
|
@@ -1041,14 +1150,17 @@ export default {
|
|
|
this.modelindex = k;
|
|
|
if (k === 0) {
|
|
|
this.filters.pageNo = 1;
|
|
|
+ this.currentPage = 1
|
|
|
this.InfoWatch();
|
|
|
}
|
|
|
if (k === 1) {
|
|
|
this.filters1.pageNo = 1;
|
|
|
+ this.currentPage = 1
|
|
|
this.InfoWatchDay();
|
|
|
}
|
|
|
if (k === 2) {
|
|
|
this.filters2.pageNo = 1;
|
|
|
+ this.currentPage = 1
|
|
|
this.InfoWatchMoth();
|
|
|
}
|
|
|
},
|
|
|
@@ -1058,12 +1170,15 @@ export default {
|
|
|
// $ ( ‘html’ ).css({ ‘overflow’ : ’hidden’ , ’position’: ’fixed’, ’top’: ’- ‘+scroll+’px’})
|
|
|
if (str == 1) {
|
|
|
_this.hiddenModel = true;
|
|
|
+ this.allotList.pageNo = 1;
|
|
|
+ this.inputValueAllot = ""
|
|
|
this.TeacherAllot(v);
|
|
|
this.allotList.Allotgarde = v.grade;
|
|
|
this.allotList.Allotsubjct = v.subject;
|
|
|
this.allotList.homeworkId = v.homeworkId;
|
|
|
} else if (str == 2) {
|
|
|
_this.isPigai = true;
|
|
|
+ this.homeworkLIst.pageNo = 1
|
|
|
this.UnallotHomework();
|
|
|
} else if (str == 3) {
|
|
|
_this.ModelAppor = true;
|
|
|
@@ -1077,6 +1192,7 @@ export default {
|
|
|
this.allNoapprovalList.homeworkId = v.homeworkId;
|
|
|
_this.NoAllotManagerModel = true;
|
|
|
_this.isPigai = false;
|
|
|
+ this.AllinputValueAllot = ""
|
|
|
this.NoapporvalTeacherAllot(v);
|
|
|
// this.GetAllotManagerInfo()
|
|
|
}
|
|
|
@@ -1086,9 +1202,23 @@ export default {
|
|
|
this.$store.dispatch("TeacherAllotList", {
|
|
|
grade: v.grade || this.allNoapprovalList.Allotgarde,
|
|
|
subject: v.subject || this.allNoapprovalList.Allotsubjct,
|
|
|
+ homeworkId: v.homeworkId,
|
|
|
maxCreateTime: this.filters.MaxtimeValue,
|
|
|
pageNo: 1,
|
|
|
- pageSize: this.allNoapprovalList.pageSize
|
|
|
+ pageSize: this.allNoapprovalList.pageSize,
|
|
|
+ name:this.AllinputValueAllot
|
|
|
+ });
|
|
|
+ },
|
|
|
+ // 搜索未批改作业可分配老师列表
|
|
|
+ async SearchNoapporvalTeacherAllot() {
|
|
|
+ this.$store.dispatch("TeacherAllotList", {
|
|
|
+ grade: this.allNoapprovalList.Allotgarde,
|
|
|
+ subject: this.allNoapprovalList.Allotsubjct,
|
|
|
+ homeworkId:this.allNoapprovalList.homeworkId,
|
|
|
+ maxCreateTime: this.filters.MaxtimeValue,
|
|
|
+ pageNo: 1,
|
|
|
+ pageSize: this.allNoapprovalList.pageSize,
|
|
|
+ name:this.AllinputValueAllot
|
|
|
});
|
|
|
},
|
|
|
// 未批改作业可分配老师分页列表
|
|
|
@@ -1096,9 +1226,11 @@ export default {
|
|
|
this.$store.dispatch("TeacherAllotList", {
|
|
|
grade: this.allNoapprovalList.Allotgarde,
|
|
|
subject: this.allNoapprovalList.Allotsubjct,
|
|
|
+ homeworkId:this.allNoapprovalList.homeworkId,
|
|
|
maxCreateTime: this.filters.MaxtimeValue,
|
|
|
pageNo: this.allNoapprovalList.pageNo,
|
|
|
- pageSize: this.allNoapprovalList.pageSize
|
|
|
+ pageSize: this.allNoapprovalList.pageSize,
|
|
|
+ name:this.AllinputValueAllot
|
|
|
});
|
|
|
},
|
|
|
// 去分配
|
|
|
@@ -1114,6 +1246,10 @@ export default {
|
|
|
this.isShow(this.monitorTeacherList, 2);
|
|
|
}
|
|
|
},
|
|
|
+ // 未批改作业列表搜索可分配老师
|
|
|
+ SearchValueAllot(){
|
|
|
+ this.SearchNoapporvalTeacherAllot()
|
|
|
+ },
|
|
|
//年月日时间封装
|
|
|
dayFormatDate: function() {
|
|
|
let date = new Date();
|
|
|
@@ -1217,16 +1353,24 @@ export default {
|
|
|
this.allNoapprovalList.pageSize = val;
|
|
|
this.NoapporvalTeacherAllotfy();
|
|
|
},
|
|
|
+ handleSizeChange7(val) {
|
|
|
+ this.homeworkLIst.pageSize = val
|
|
|
+ this.UnallotHomework();
|
|
|
+ },
|
|
|
// 分页
|
|
|
pageChange(val) {
|
|
|
+ this.currentPage = val
|
|
|
+ // debugger
|
|
|
this.filters.pageNo = val;
|
|
|
this.InfoWatch();
|
|
|
}, // 分页
|
|
|
pageChange1(val) {
|
|
|
+ this.currentPage = val
|
|
|
this.filters1.pageNo = val;
|
|
|
this.InfoWatchDay();
|
|
|
}, // 分页
|
|
|
pageChange2(val) {
|
|
|
+ this.currentPage = val
|
|
|
this.filters2.pageNo = val;
|
|
|
this.InfoWatchMoth();
|
|
|
},
|
|
|
@@ -1242,12 +1386,43 @@ export default {
|
|
|
this.allNoapprovalList.pageNo = val;
|
|
|
this.NoapporvalTeacherAllotfy();
|
|
|
},
|
|
|
+ pageChange7(val) {
|
|
|
+ this.homeworkLIst.pageNo = val;
|
|
|
+ this.UnallotHomework();
|
|
|
+ },
|
|
|
// 排序
|
|
|
sortChange(sort) {
|
|
|
this.filters.orderField = sort.prop;
|
|
|
this.filters.orderAD = sort.order != null ? sort.order : "";
|
|
|
this.itemListReshow();
|
|
|
- }
|
|
|
+ },
|
|
|
+ choiceclass(){
|
|
|
+ this.gardeListDown = true;
|
|
|
+ },
|
|
|
+ selectStyle() {
|
|
|
+ this.gardeListDown = true;
|
|
|
+ },
|
|
|
+ outStyle() {
|
|
|
+ this.gardeListDown = false;
|
|
|
+ },
|
|
|
+ selectTip(item){
|
|
|
+ this.filters.OptionsValue = item.str
|
|
|
+ this.InfoWatch()
|
|
|
+ this.selecttitlepag = item.label;
|
|
|
+ this.gardeListDown = false;
|
|
|
+ },
|
|
|
+ selectTipage(item){
|
|
|
+ this.filters.gradesValue = item.str
|
|
|
+ this.InfoWatch()
|
|
|
+ this.selecttitleage = item.label;
|
|
|
+ this.gardeListDownage = false;
|
|
|
+ },
|
|
|
+ selectStyle1() {
|
|
|
+ this.gardeListDownage = true;
|
|
|
+ },
|
|
|
+ outStyle1() {
|
|
|
+ this.gardeListDownage = false;
|
|
|
+ },
|
|
|
// 获取创建人列表
|
|
|
// async getUserNameList() {
|
|
|
// let {
|
|
|
@@ -1301,6 +1476,7 @@ ul {
|
|
|
display: flex;
|
|
|
justify-content: space-between;
|
|
|
margin: 0 4%;
|
|
|
+ padding-left:4%;
|
|
|
}
|
|
|
.teach-time{
|
|
|
text-align: right;
|
|
|
@@ -1319,7 +1495,7 @@ el-table {
|
|
|
}
|
|
|
.main-header-item {
|
|
|
font-size: 16px;
|
|
|
- /* font-weight: 700; */
|
|
|
+ font-weight: 700;
|
|
|
}
|
|
|
.model-manager {
|
|
|
display: flex;
|
|
|
@@ -1342,6 +1518,10 @@ el-table {
|
|
|
.input-with-select .el-input-group__prepend {
|
|
|
background-color: #fff;
|
|
|
}
|
|
|
+.WorngCount{
|
|
|
+color:red;
|
|
|
+font-size:12px;
|
|
|
+}
|
|
|
.el-select-dropdown__list {
|
|
|
padding: 15px 0 !important;
|
|
|
}
|
|
|
@@ -1359,10 +1539,6 @@ el-table {
|
|
|
background-color: #52cc60;
|
|
|
color: #fff;
|
|
|
}
|
|
|
-.el-input__inner {
|
|
|
- /* height: 32px; */
|
|
|
-}
|
|
|
-
|
|
|
.table-img {
|
|
|
width: 36px;
|
|
|
height: 36px;
|
|
|
@@ -1383,9 +1559,10 @@ el-table {
|
|
|
justify-content: space-around;
|
|
|
}
|
|
|
.table-heads1 {
|
|
|
- margin-left: 15%;
|
|
|
- width: 60%;
|
|
|
- color: #3ab548;
|
|
|
+ margin-left: 60px!important;
|
|
|
+ margin-right:280px!important;
|
|
|
+ background-color: #fff!important;
|
|
|
+ color: #3ab548!important;
|
|
|
font-size: 14px;
|
|
|
text-align: center;
|
|
|
display: flex;
|
|
|
@@ -1397,6 +1574,10 @@ el-table {
|
|
|
.table-head > div {
|
|
|
width: 13.528%;
|
|
|
}
|
|
|
+.el-pagination.is-background .el-pager li:not(.disabled).active {
|
|
|
+ background-color:#52cc60!important;
|
|
|
+ color: #fff;
|
|
|
+}
|
|
|
.tr {
|
|
|
width: 100%;
|
|
|
color: #393939;
|
|
|
@@ -1422,8 +1603,11 @@ el-table {
|
|
|
justify-content: space-around;
|
|
|
color: #393939;
|
|
|
font-size: 12px;
|
|
|
- margin: 5px;
|
|
|
+ margin:0px;
|
|
|
+ /* height:40px; */
|
|
|
+ line-height:40px;
|
|
|
}
|
|
|
+
|
|
|
.tr-setNo {
|
|
|
display: flex;
|
|
|
justify-content: space-around;
|
|
|
@@ -1436,48 +1620,128 @@ el-table {
|
|
|
text-align: center;
|
|
|
word-wrap: break-word;
|
|
|
width: 40px;
|
|
|
+ line-height:50px;
|
|
|
}
|
|
|
.tr-second {
|
|
|
background-color: #fbfbfb;
|
|
|
display: flex;
|
|
|
color: #393939;
|
|
|
- font-size: 20px;
|
|
|
+ font-size: 12px;
|
|
|
word-wrap: break-word;
|
|
|
+ width: 80%;
|
|
|
+ margin:0 auto;
|
|
|
}
|
|
|
.tr-seconds {
|
|
|
text-align: center;
|
|
|
- font-size: 14px;
|
|
|
+ font-size: 10px;
|
|
|
word-wrap: break-word;
|
|
|
- margin: 0 50px;
|
|
|
/* height: 30px; */
|
|
|
}
|
|
|
.width40 {
|
|
|
- width: 100px;
|
|
|
+ width: 200px!important;
|
|
|
}
|
|
|
-.tr-sw180 {
|
|
|
- width: 230px;
|
|
|
+.width120{
|
|
|
+ width: 200px;
|
|
|
+}
|
|
|
+.tr-sw80 {
|
|
|
+ width: 120px;
|
|
|
text-align: center;
|
|
|
}
|
|
|
+.width140{
|
|
|
+width: 140px!important;
|
|
|
+}
|
|
|
+.width400{
|
|
|
+ width: 350px;
|
|
|
+ padding:10px;
|
|
|
+ text-align:right!important;
|
|
|
+}
|
|
|
+.tr-sw180 {
|
|
|
+ width: 400px!important;
|
|
|
+ text-align: right;
|
|
|
+ padding-right:38px;
|
|
|
+}
|
|
|
+.ApporTeacher{
|
|
|
+ width: 400px!important;
|
|
|
+ text-align: right;
|
|
|
+}
|
|
|
.tr-secondsA {
|
|
|
text-align: center;
|
|
|
font-size: 14px;
|
|
|
word-wrap: break-word;
|
|
|
- width: 280px;
|
|
|
+ width: 380px;
|
|
|
}
|
|
|
.tr-w120 {
|
|
|
- width: 200px;
|
|
|
+ width: 260px!important;
|
|
|
text-align: left;
|
|
|
display: inline-block;
|
|
|
/*height: 80px;*/
|
|
|
/*line-height: 80px;*/
|
|
|
}
|
|
|
+/* .el-button{
|
|
|
+ padding:0;
|
|
|
+} */
|
|
|
+.el-button--success.is-plain{
|
|
|
+ width: 100px;
|
|
|
+ height:30px;
|
|
|
+ font-size:10px;
|
|
|
+ text-align:center;
|
|
|
+ line-height:10px;
|
|
|
+}
|
|
|
+.el-button--success{
|
|
|
+width: 100px;
|
|
|
+ height:30px;
|
|
|
+ font-size:10px;
|
|
|
+ text-align:center;
|
|
|
+ line-height:5px;
|
|
|
+}
|
|
|
+.el-button--warning {
|
|
|
+ width: 100px;
|
|
|
+ height:30px;
|
|
|
+ font-size:10px;
|
|
|
+ text-align:center;
|
|
|
+ line-height:5px;
|
|
|
+ padding:10px;
|
|
|
+}
|
|
|
+.el-button--info {
|
|
|
+ width: 100px;
|
|
|
+ height:30px;
|
|
|
+ font-size:10px;
|
|
|
+ text-align:center;
|
|
|
+ line-height:5px;
|
|
|
+ padding:10px;
|
|
|
+}
|
|
|
+.el-input__inner, .el-checkbox__inner, .el-textarea__inner, .el-button {
|
|
|
+ font-size:10px;
|
|
|
+ text-align:center;
|
|
|
+ line-height:0px!important;
|
|
|
+ padding:0px!important;
|
|
|
+}
|
|
|
+.TeacherApporTime {
|
|
|
+ text-align:center;
|
|
|
+ display: inline-block;
|
|
|
+ height: 40px;
|
|
|
+ width: 80px;
|
|
|
+ color: #706f6f;
|
|
|
+ background: #b6b6b6;
|
|
|
+ border-color: #929492;
|
|
|
+ border-radius: 20px;
|
|
|
+ font-size: 14px;
|
|
|
+ line-height: 40px;
|
|
|
+ cursor: pointer;
|
|
|
+ margin:0 5px;
|
|
|
+}
|
|
|
+.TeacherApporTime:hover{
|
|
|
+ color: #fff;
|
|
|
+ background-color: #909399;
|
|
|
+ border-color: #909399;
|
|
|
+}
|
|
|
.teach-style{
|
|
|
display: inline-block;
|
|
|
text-align: left;
|
|
|
}
|
|
|
.teach-style-name{
|
|
|
font-size: 24px;
|
|
|
- margin-left: 10px
|
|
|
+ margin-left: 5px
|
|
|
}
|
|
|
.tr-second-check {
|
|
|
color: #3ab548;
|
|
|
@@ -1520,6 +1784,7 @@ el-table {
|
|
|
border-radius: 10px;
|
|
|
text-align: center;
|
|
|
min-width: 450px!important;
|
|
|
+ padding:20px;
|
|
|
}
|
|
|
.teacerMOdel{
|
|
|
width: 40%!important;
|
|
|
@@ -1581,8 +1846,7 @@ el-table {
|
|
|
}
|
|
|
.buttonAppoval {
|
|
|
display: inline-block;
|
|
|
-}
|
|
|
-.el-button.is-round{
|
|
|
+ height: 40px;
|
|
|
}
|
|
|
.model-items-left-top {
|
|
|
display: flex;
|
|
|
@@ -1600,7 +1864,7 @@ el-table {
|
|
|
/*display: flex;*/
|
|
|
/*justify-content: space-between;*/
|
|
|
/*display: inline-block;*/
|
|
|
- width: 40%;
|
|
|
+ width: 45%;
|
|
|
display: inline-block;
|
|
|
}
|
|
|
.model-items-left-top-img {
|
|
|
@@ -1654,4 +1918,130 @@ el-table {
|
|
|
margin-right: 20px;
|
|
|
margin-bottom: 30px;
|
|
|
}
|
|
|
+.input-with-Allot{
|
|
|
+ border: #b6b6b6;
|
|
|
+ border-radius:15px;
|
|
|
+ height: 30px;
|
|
|
+ width: 220px;
|
|
|
+ font-size: 8px;
|
|
|
+ color:#b6b6b6;
|
|
|
+ text-align:left;
|
|
|
+ line-height:30px;
|
|
|
+ background: #F1F2F4;
|
|
|
+ padding:0 10px;
|
|
|
+ float:left;
|
|
|
+ outline:none!important;
|
|
|
+ box-shadow: none;
|
|
|
+}
|
|
|
+.teach-Allot{
|
|
|
+width: 350px;
|
|
|
+position:relative;
|
|
|
+}
|
|
|
+.SeachIcon{
|
|
|
+ position:absolute;
|
|
|
+ font-size: 16px;
|
|
|
+ color:#b6b6b6;
|
|
|
+ right:42%;
|
|
|
+ top:15%;
|
|
|
+ cursor: pointer;
|
|
|
+}
|
|
|
+.Dayinput-with-Allot{
|
|
|
+ border: #b6b6b6;
|
|
|
+ border-radius:20px;
|
|
|
+ height: 40px;
|
|
|
+ width: 300px;
|
|
|
+ font-size: 8px;
|
|
|
+ color:#b6b6b6;
|
|
|
+ text-align:left;
|
|
|
+ line-height:40px;
|
|
|
+ background: #F1F2F4;
|
|
|
+ padding:0 10px;
|
|
|
+ float:left;
|
|
|
+ outline:none!important;
|
|
|
+ box-shadow: none;
|
|
|
+}
|
|
|
+.Dayteach-Allot{
|
|
|
+width: 400px;
|
|
|
+position:relative;
|
|
|
+height: 40px;
|
|
|
+top:15px;
|
|
|
+}
|
|
|
+.DaySeachIcon{
|
|
|
+ position:absolute;
|
|
|
+ font-size: 20px;
|
|
|
+ color:#b6b6b6;
|
|
|
+ right:30%;
|
|
|
+ margin-top:10px;
|
|
|
+ cursor: pointer;
|
|
|
+}
|
|
|
+.selectBox{
|
|
|
+position:relative;
|
|
|
+float:left;
|
|
|
+display: inline-block;
|
|
|
+}
|
|
|
+.Ageclass{
|
|
|
+ display:inline-block;
|
|
|
+ height: 40px;
|
|
|
+ width: 120px;
|
|
|
+ background-color: #F1F2F4;
|
|
|
+ line-height:40px;
|
|
|
+ font-size: 16px;
|
|
|
+ cursor: pointer;
|
|
|
+}
|
|
|
+.age-tip{
|
|
|
+ width: 80%;
|
|
|
+ height: 40px;
|
|
|
+ color:#747070;
|
|
|
+ font-size: 12px;
|
|
|
+}
|
|
|
+.class-download{
|
|
|
+ background-color: #fff;
|
|
|
+ width: 160px;
|
|
|
+ z-index:999999;
|
|
|
+ position:absolute;
|
|
|
+ border:1px solid #e0dddd;
|
|
|
+ border-radius:5px;
|
|
|
+ top:58px;
|
|
|
+}
|
|
|
+.class-download ul li{
|
|
|
+ height: 40px;
|
|
|
+ line-height:40px;
|
|
|
+ text-align:center;
|
|
|
+ cursor: pointer;
|
|
|
+ color:#b6b6b6;
|
|
|
+}
|
|
|
+.class-download ul li:hover{
|
|
|
+ background-color: #52cc60;
|
|
|
+ color:#ffff;
|
|
|
+}
|
|
|
+.miniorinput-with-Allot{
|
|
|
+ border: #b6b6b6;
|
|
|
+ border-radius:5px;
|
|
|
+ height: 40px;
|
|
|
+ width: 280px;
|
|
|
+ font-size: 8px;
|
|
|
+ color:#b6b6b6;
|
|
|
+ text-align:left;
|
|
|
+ line-height:40px;
|
|
|
+ background: #F1F2F4;
|
|
|
+ padding:0 10px;
|
|
|
+ float:left;
|
|
|
+ outline:none!important;
|
|
|
+ box-shadow: none;
|
|
|
+}
|
|
|
+.miniorteach-Allot{
|
|
|
+ float:left;
|
|
|
+width: 280px;
|
|
|
+position:relative;
|
|
|
+height: 40px;
|
|
|
+top:15px;
|
|
|
+}
|
|
|
+.miinorSeachIcon{
|
|
|
+ position:absolute;
|
|
|
+ font-size: 20px;
|
|
|
+ color:#b6b6b6;
|
|
|
+ right:5%;
|
|
|
+ margin-top:10px;
|
|
|
+ cursor: pointer;
|
|
|
+}
|
|
|
</style>
|