123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635 |
- <!-- 活动解析 -->
- <template>
- <div>
- <!-- table 表格 -->
- <el-row :gutter="20" class="main-items">
- <el-col class="aside" :span="3" :offset="2" style="padding: 0 !important;">
- <div
- class="table-aside"
- v-for="(v, k) in ItemList"
- :key="k"
- :class="{active:k == modelindex}"
- @click="selectTitle(k)"
- >{{v.text}}</div>
- </el-col>
- <!--数据监控-->
- <el-col :span="17" class="main" v-if="modelindex == 0">
- <el-row :gutter="20" class="main-header">
- <el-col :span="3" :offset="1">
- <div class="main-header-item">在线:{{monitorTeacherList.onlineCount}}人</div>
- </el-col>
- <el-col :span="3">
- <div class="main-header-item">离线:{{monitorTeacherList.offlineCount}}人</div>
- </el-col>
- <el-col :span="7">
- <div class="main-header-item">
- <span>分配未批改作业:{{monitorTeacherList.unCorrectCount}}份</span>
- <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-select
- v-model="filters.OptionsValue"
- @change="InfoWatch"
- slot="prepend"
- placeholder="选年级"
- minlength="20"
- >
- <el-option
- v-for="(item, k) in options"
- :key="k"
- :label="item.label"
- :value="item.str"
- ></el-option>
- </el-select>
- <el-select
- v-model="filters.gradesValue"
- @change="InfoWatch"
- slot="prepend"
- placeholder="选科目"
- minlength="20"
- >
- <el-option
- v-for="(item, k) in grades"
- :key="k"
- :label="item.label"
- :value="item.str"
- ></el-option>
- </el-select>
- <el-button @click="InfoWatch" slot="append" icon="el-icon-search"></el-button>
- </el-input>
- </el-col>
- <!--<div class="block">-->
- <!--<el-date-picker-->
- <!--v-model="filters.MaxtimeValue"-->
- <!--value-format="yyyy-MM-dd HH:mm:ss"-->
- <!--type="date"-->
- <!--@change="InfoWatch"-->
- <!--placeholder="选择日期"-->
- <!--></el-date-picker>-->
- <!--</div>-->
- </el-row>
- <el-row :gutter="20" class="main-header">
- <el-col :span="24">
- <div class="table">
- <div class="table-head">
- <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
- style="cursor:pointer;"
- :class="[isDown && isDownindex === k?'el-icon-caret-bottom':'el-icon-caret-right']"
- @click="dropDown(v,k)"
- ></i>
- <img
- :src="BASE_URL + v.imgUrl"
- alt
- class="table-img"
- v-if="v.imgUrl"
- @click="isShow(v,3)"
- >
- <img src="../../assets/img/user.jpg" alt v-if="!v.imgUrl" class="table-img">
- </div>
- <div>{{v.name}}</div>
- <div>{{v.waitCount}}份</div>
- <div class="tr-active">{{v.maxWaitTime}}</div>
- <div style="width:200px;">{{v.totalCorrectTime}}</div>
- <div>{{v.respSpeed}}</div>
- <div>在线</div>
- </div>
- <!-- 离线 -->
- <div
- v-if="v.status == '2'"
- style="color:#BEBEBE"
- class="tr-first"
- :class="{BgcColor:k%2 !== 1}"
- >
- <div>
- <i
- style="cursor:pointer;"
- :class="[isDown && isDownindex === k?'el-icon-caret-bottom':'el-icon-caret-right']"
- @click="dropDown(v,k)"
- ></i>
- <img :src="BASE_URL + v.imgUrl" alt class="table-img" @click="isShow(v,3)">
- </div>
- <div>{{v.name}}</div>
- <div>{{v.waitCount}}份</div>
- <div>{{v.maxWaitTime}}</div>
- <div style="width:200px;">{{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
- style="cursor:pointer;"
- :class="[isDown && isDownindex === k?'el-icon-caret-bottom':'el-icon-caret-right']"
- @click="dropDown(v,k)"
- ></i>
- <img :src="BASE_URL + v.imgUrl" alt class="table-img" @click="isShow(v,3)">
- </div>
- <div>{{v.name}}</div>
- <div>{{v.waitCount}}份</div>
- <div>{{v.maxWaitTime}}</div>
- <div style="width:200px;">{{v.totalCorrectTime}}</div>
- <div>{{v.respSpeed}}</div>
- <div>已封号</div>
- </div>
- <div
- class="tr-setNo"
- v-if="isDownindex === k && isDown && TeacherHomeworkList.list.length == 0"
- >暂无数据!</div>
- <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: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 && !(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>
- <div v-if="v.status === 2" class="tr-seconds width40" style="color:#FFC303">批改中</div>
- <div v-if="v.status === 3" class="tr-seconds width40">已批改</div>
- <div class="tr-sw180" v-if="v.status === 1">
- <el-button type plain @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">
- <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;"
- :href="APPOR_BASE_URL+'?homeworkId='+v.homeworkId+'&unionid='+unionid+'&teacherId='+homeworkLIst.teacherId+'&state='+2"
- >去检查</a>
- </el-button>
- </div>
- </div>
- <!-- 分页显示 -->
- <el-pagination
- background
- @size-change="handleSizeChange3"
- @current-change="pageChange3"
- :page-sizes="[10, 20]"
- layout="total, sizes, prev, pager, next, jumper"
- :total="parseInt(TeacherHomeworkList.pages)"
- :hide-on-single-page="true"
- ></el-pagination>
- </div>
- </div>
- </div>
- <!-- 分页显示 -->
- <el-pagination
- background
- @size-change="handleSizeChange"
- @current-change="pageChange"
- :page-sizes="[10]"
- layout="total, sizes, prev, pager, next, jumper"
- :total="parseInt(monitorTeacherList.pages)"
- :hide-on-single-page="true"
- ></el-pagination>
- <div style="clear:both;"></div>
- </el-col>
- </el-row>
- </el-col>
- <!--当天-->
- <el-col :span="18" class="main" v-if="modelindex == 1">
- <el-row :gutter="20" class="main-header">
- <el-col :span="5">
- <div class="main-header-item">
- 今日报错总次数:
- <span style="color:red;">{{DayTeacherList.wrongCount}}次</span>
- </div>
- </el-col>
- <el-col :span="6" :offset="5">
- <!-- <input type="text" placeholder="请输入老师名字" v-model="filters1.inputValue" class="input-with-new">
- <el-button @click="InfoWatchDay" type="primary" icon="el-icon-search"></el-button>-->
- <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>
- </el-col>
- <el-col :span="4">
- <div class="block">
- <el-date-picker
- @change="InfoWatchDay"
- v-model="filters1.MaxtimeValue"
- value-format="yyyy-MM-dd"
- type="date"
- placeholder="filters1.MaxtimeValue"
- ></el-date-picker>
- </div>
- </el-col>
- </el-row>
- <el-row :gutter="20" class="main-header">
- <el-col :span="24">
- <div class="table">
- <div class="table-head">
- <div>头像</div>
- <div>姓名</div>
- <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">
- <div class="tr-first" :class="{BgcColor:k%2 !== 1}">
- <div>
- <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">
- </div>
- <div>{{v.name}}</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>{{v.homeworkCount}}</div>
- <div>{{v.homeworkPicCount}}/张</div>
- <div style="width:240px;">{{v.avgTime}}</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>
- <!-- 分页显示 -->
- <el-pagination
- background
- @size-change="handleSizeChange1"
- @current-change="pageChange1"
- :page-sizes="[10]"
- layout="total, sizes, prev, pager, next, jumper"
- :total="parseInt(DayTeacherList.pages)"
- :hide-on-single-page="true"
- ></el-pagination>
- <!-- <div style="float:right;margin-left:15px;">
- <el-button @click="myVisible = false" size="small">取 消</el-button>
- <el-button type="primary" size="small" @click="submit">确定</el-button>
- </div>-->
- <div style="clear:both;"></div>
- </el-col>
- </el-row>
- </el-col>
- <!--当月-->
- <el-col :span="18" class="main" v-if="modelindex == 2">
- <el-row :gutter="20" class="main-header">
- <el-col :span="6">
- <div class="main-header-item">
- 当月报错总次数:
- <span style="color:red;">{{MothTeacherList.totalWrongCount}}次</span>
- </div>
- </el-col>
- <el-col :span="6" :offset="5">
- <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-col>
- <el-col :span="4" >
- <div class="block">
- <el-date-picker
- @change="InfoWatchMoth"
- v-model="filters2.MaxtimeValue"
- type="month"
- value-format="yyyy-MM"
- placeholder="filters2.MaxtimeValue"
- ></el-date-picker>
- </div>
- </el-col>
- </el-row>
- <el-row :gutter="20" class="main-header">
- <el-col :span="4" :offset="1">
- <div class="main-header-item">月出勤率:{{MothTeacherList.totalAttendanceRate}}</div>
- </el-col>
- <!-- <el-col :span="4">
- <div class="main-header-item">批改总份数:{{MothTeacherList.totalHomeworkCount}}</div>
- </el-col>-->
- <el-col :span="4">
- <div class="main-header-item">批改总张数:{{MothTeacherList.totalHomeworkPicCount }}</div>
- </el-col>
- <el-col :span="6">
- <div class="main-header-item">批改平均时间:{{MothTeacherList.totalAvgTime}}</div>
- </el-col>
- <el-col :span="4">
- <div class="main-header-item">平均满意度:{{MothTeacherList.totalSatisfactionDegree}}</div>
- </el-col>
- <el-col :span="4">
- <div class="main-header-item">正确率:{{MothTeacherList.totalAccuracyRate}}</div>
- </el-col>
- </el-row>
- <el-row :gutter="20" class="main-header">
- <el-col :span="24">
- <div class="table">
- <div class="table-head">
- <div>头像</div>
- <div>姓名</div>
- <div>被报错</div>
- <div>科目</div>
- <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">
- <div class="tr-first" :class="{BgcColor:k%2 !== 1}">
- <div>
- <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">
- </div>
- <div>{{v.name}}</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>{{v.homeworkCount}}</div>
- <div>{{v.homeworkPicCount}}/张</div>
- <div>{{v.accuracyRate}}</div>
- <div>{{v.satisfactionDegree}}</div>
- <div style="width:240px;">{{v.avgTime}}</div>
- <div>{{v.attendance}}</div>
- </div>
- </div>
- </div>
- <!-- 分页显示 -->
- <el-pagination
- background
- @size-change="handleSizeChange2"
- @current-change="pageChange2"
- :page-sizes="[10]"
- layout="total, sizes, prev, pager, next, jumper"
- :total="parseInt(MothTeacherList.pages)"
- :hide-on-single-page="true"
- ></el-pagination>
- <!-- <div style="float:right;margin-left:15px;">
- <el-button @click="myVisible = false" size="small">取 消</el-button>
- <el-button type="primary" size="small" @click="submit">确定</el-button>
- </div>-->
- <div style="clear:both;"></div>
- </el-col>
- </el-row>
- </el-col>
- <!-- 分页显示 -->
- </el-row>
- <!--可分配老师-->
- <div class="showModel" @click="allShowModel(1)" v-if="hiddenModel"></div>
- <div class="model" style="width:40%; height:40%;top:5%" v-if="hiddenModel">
- <div class="model-text">
- <div class="model-text-head">
- <div>可分配老师</div>
- <div>{{allotList.Allotgarde}}{{allotList.Allotsubjct}}</div>
- </div>
- <div class="tr-setNo" v-if="TeacherAllotList.list.length == 0">暂无数据!</div>
- <div
- class="model-itemss"
- style="margin:10px;"
- v-for="(v, k) in TeacherAllotList.list"
- :key="k"
- >
- <div class="model-items-left">
- <div class="model-items-left-top">
- <div>
- <img
- :src="BASE_URL + v.imgUrl"
- v-if="v.imgUrl"
- alt
- class="model-items-left-top-img"
- >
- <img
- src="../../assets/img/user.jpg"
- v-if="!v.imgUrl"
- alt
- class="model-items-left-top-img"
- >
- <div style="display: inline-block;text-align: left">
- <div style="font-size: 24px">{{v.name}}</div>
- <div class="model-items-left-top-number">等待学生:{{v.waitCount}}</div>
- </div>
- </div>
- <div>
- <el-button v-show="v.type && v.type === 1" disabled type="info">已分配</el-button>
- <el-button
- v-show="!v.type || v.type !== 1"
- @click="GOtoTeacherAllot(v,k)"
- type="success"
- >分配</el-button>
- </div>
- </div>
- </div>
- </div>
- <!-- 分页显示 -->
- <el-pagination
- background
- @size-change="handleSizeChange4"
- @current-change="pageChange4"
- :page-sizes="[10]"
- layout="total, sizes, prev, pager, next, jumper"
- :total="parseInt(TeacherAllotList.pages)"
- :hide-on-single-page="true"
- ></el-pagination>
- </div>
- </div>
- <!-- 无未批改作业 v-if="isNocheck"-->
- <div class="no-homework" id="noHomework">
- <div>无可分配作业</div>
- <img src="../../assets/img/wu_fen_pei_zuo_ye.png" alt>
- </div>
- <!--所有未批改作业-->
- <div class="showModel" @click="allShowModel(2)" v-if="isPigai"></div>
- <div class="model" style="width:50%" v-if="isPigai">
- <div class="model-text">
- <div class="model-text-head">
- <div>所有未批改作业</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>
- <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;">
- <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 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>
- <el-button type="success" @click="isShow(v,5)">去分配</el-button>
- </div>
- </div>
- <el-pagination
- background
- @size-change="handleSizeChange3"
- @current-change="pageChange3"
- :page-sizes="[10]"
- layout="total, sizes, prev, pager, next, jumper"
- :total="parseInt(UnallotHomeworkInfo.pages)"
- :hide-on-single-page="true"
- ></el-pagination>
- </div>
- </div>
- </div>
- <!--所有未批改可分配老师列表弹框-->
- <div class="showModel" @click="allShowModel(5)" v-if="NoAllotManagerModel"></div>
- <div class="model" style="width:40%!important" v-if="NoAllotManagerModel">
- <div class="model-text" style="padding: 0 10px">
- <div class="model-manager">
- <div>作业可分配老师</div>
- <div>
- <img src="../../assets/img/del@2x.png" alt @click="allShowModel(5)">
- </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">
- <div>
- <img
- :src="BASE_URL + v.imgUrl"
- v-if="v.imgUrl"
- alt
- class="model-items-left-top-img"
- >
- <img
- src="../../assets/img/user.jpg"
- v-if="!v.imgUrl"
- alt
- class="model-items-left-top-img"
- >
- <div style="display: inline-block;text-align: left;">
- <div style="font-size: 24px;margin-left: 10px">{{v.name}}</div>
- <div class="model-items-left-top-number">等待张数:{{v.teacherCount}}</div>
- </div>
- </div>
- <div>
- <el-button v-show="v.type && v.type === 1" disabled type="info">已分配</el-button>
- <el-button
- v-show="!v.type || v.type !== 1"
- @click="GOtoTeacherAllotAppovar(v,k)"
- type="success"
- >分配</el-button>
- </div>
- </div>
- </div>
- </div>
- <el-pagination
- background
- @size-change="handleSizeChange6"
- @current-change="pageChange6"
- :page-sizes="[10]"
- layout="total, sizes, prev, pager, next, jumper"
- :total="parseInt(TeacherAllotList.pages)"
- :hide-on-single-page="true"
- ></el-pagination>
- </div>
- </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-text">
- <div class="model-manager">
- <div>批改老师</div>
- <div>
- <img src="../../assets/img/del@2x.png" alt @click="allShowModel(3)">
- </div>
- </div>
- <div class="model-items" style="width: 100%">
- <div class="model-items-first">
- <div>
- <img
- :src="BASE_URL + GetTeacherDetail.imgUrl"
- v-if="GetTeacherDetail.imgUrl"
- alt
- class="model-items-first-img"
- >
- <img
- src="../../assets/img/user.jpg"
- v-if="!GetTeacherDetail.imgUrl"
- alt
- class="model-items-first-img"
- >
- <div class="model-items-first-left">
- <div class="Onlinename">{{GetTeacherDetail.name}}</div>
- <div v-if="GetTeacherDetail.status ===1" class="Online">(在线)</div>
- <div v-if="GetTeacherDetail.status ===0" class="Online">(离线)</div>
- <div class="model-items-first-left-down">{{GetTeacherDetail.school}}</div>
- </div>
- </div>
- </div>
- <div class="model-items-other model-active">批改科目 : {{GetTeacherDetail.subject}}</div>
- <div class="model-items-other">
- 批改年级 :
- <span v-for="(v, k) of arrGrade" :key="k">{{v}},</span>
- </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>
- </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 model-active">被报错总次数 : {{GetTeacherDetail.wrongCount}}</div>
- <div class="model-items-other">满意度 : {{GetTeacherDetail.satisfactionDegree}}</div>
- </div>
- </div>
- </div>
- <!-- 学生详情弹框 -->
- <div class="showModel" @click="allShowModel(4)" v-if="ModelStudet"></div>
- <div class="model" style="width:35%;left: 32.5%" v-if="ModelStudet">
- <div class="model-text">
- <div class="model-manager">
- <div>学生详情</div>
- <div>
- <img src="../../assets/img/del@2x.png" alt @click="allShowModel(4)">
- </div>
- </div>
- <div class="model-items">
- <div class="model-items-first">
- <div>
- <img :src="BASE_URL + GetStudentDetail.imgUrl" alt class="model-items-first-img">
- <img
- src="../../assets/img/user.jpg"
- v-if="!GetStudentDetail.imgUrl"
- alt
- class="model-items-first-img"
- >
- <div class="model-items-first-left">
- <div class="Onlinename">{{GetStudentDetail.name}}</div>
- <div class="model-items-first-left-down">{{GetStudentDetail.school}}</div>
- </div>
- </div>
- </div>
- <div class="model-items-other model-active">所读年级 : {{GetStudentDetail.grade}}</div>
- <div class="model-items-other">性别 : {{GetStudentDetail.sex==1?'男':'女'}}</div>
- <div class="model-items-other model-active">联系方式 : {{GetStudentDetail.phone}}</div>
- </div>
- </div>
- </div>
- </div>
- </template>
- <script>
- import { IMG_BASE_URL, APPOR_BASE_URL } from "@/ImgConfig";
- import { mapGetters, mapActions } from "vuex";
- export default {
- components: {},
- name: "actvResolveLabel",
- props: {},
- data() {
- return {
- unionid: localStorage.getItem("unionid"),
- accessToken: localStorage.getItem("accessToken"), //token
- managerId: "", // 超级管理员登陆ID
- ApporhomeworkId: "",
- BASE_URL: IMG_BASE_URL,
- APPOR_BASE_URL: APPOR_BASE_URL,
- isDownindex: "",
- modelindex: 0,
- values: [],
- arrGrade: [],
- NoAllotManagerModel: false, //未批改作业可分配老师弹框
- hiddenModel: false, //分配老师弹框
- isPigai: false, //未批改作业弹框
- ModelAppor: false, //批改老师详情信息弹框
- ModelStudet: false, //学生详情弹框
- isNocheck: false, //没有未批改作业
- isDown: false,
- options: [
- {
- value: "0",
- label: "1~2年级",
- str: "一年级,二年级"
- },
- {
- value: "1",
- label: "3~4年级",
- str: "三年级,四年级"
- },
- {
- value: "2",
- label: "5~6年级",
- str: "五年级,六年级"
- },
- {
- value: "3",
- label: "全部"
- // str:''
- }
- ],
- grades: [
- {
- value: "0",
- label: "语文",
- str: "语文"
- },
- {
- value: "1",
- label: "数学",
- str: "数学"
- },
- {
- value: "2",
- label: "英语",
- str: "英语"
- },
- {
- value: "3",
- label: "全部"
- // str:""
- }
- ],
- ItemList: [
- {
- text: "数据监控"
- },
- {
- text: "当天"
- },
- {
- text: "当月"
- }
- ],
- filters: {
- //超级管理员的当天数据
- // 排序
- MaxtimeValue: "",
- OptionsValue: "",
- gradesValue: "",
- inputValue: "",
- pageNo: 1,
- pageSize: 10,
- count: 100,
- orderField: "",
- orderAD: "",
- managerId: ""
- },
- filters1: {
- //超级管理员的当天数据
- // 排序
- MaxtimeValue: this.dayFormatDate(),
- OptionsValue: "",
- gradesValue: "",
- inputValue: "",
- pageNo: 1,
- pageSize: 10,
- count: 0,
- orderField: "",
- orderAD: ""
- },
- filters2: {
- //超级管理员的当月数据
- // 排序
- MaxtimeValue: this.monthFormatDate(),
- OptionsValue: "",
- gradesValue: "",
- inputValue: "",
- pageNo: 1,
- pageSize: 10,
- count: 0,
- orderField: "",
- orderAD: ""
- },
- filters3: {
- //超级管理员查看学员列表
- // 排序
- MaxtimeValue: "",
- OptionsValue: "",
- gradesValue: "",
- inputValue: "",
- pageNo: 1,
- pageSize: 10,
- count: 0,
- orderField: "",
- orderAD: ""
- },
- homeworkLIst: {
- pageNo: 1,
- pageSize: 10,
- teacherId: ""
- },
- allotList: {
- Allotgarde: "",
- Allotsubjct: "",
- pageNo: 1,
- pageSize: 10,
- homeworkId: ""
- },
- allNoapprovalList: {
- Allotgarde: "",
- Allotsubjct: "",
- pageNo: 1,
- pageSize: 10,
- homeworkId: ""
- },
- AllotButton: ""
- };
- },
- created() {
- const managerId = this.$route.query.managerId;
- this.managerId = managerId;
- },
- watch: {
- getTeacherIdStatus(val, oldVal) {
- //普通的watch监听
- this.InfoWatch();
- },
- BeforetoTeacherAllotCode(val, oldVal) {
- //普通的watch监听
- window.open(
- APPOR_BASE_URL +
- "?homeworkId=" +
- this.ApporhomeworkId +
- "&unionid=" +
- this.unionid +
- "&teacherId=" +
- this.homeworkLIst.teacherId +
- "&state=" +
- 1
- );
- },
- BeforetoTeacherstatues(val, oldVal) {
- //普通的watch监听
- // 查看老师批改作业列表
- this.$store.dispatch("TeacherHomeworkList", {
- teacherId: this.homeworkLIst.teacherId,
- maxCreateTime: this.filters.MaxtimeValue,
- pageNo: this.homeworkLIst.pageNo,
- pageSize: this.homeworkLIst.pageSize
- });
- },
- InfoTeacherstatues(val, oldVal) {
- //普通的watch监听
- this.pesiorFun();
- },
- },
- computed: {
- ...mapGetters([
- "getUser",
- "monitorTeacherList",
- "TeacherHomeworkList",
- "TeacherAllotList",
- "TeacherAllotstatus",
- "DayTeacherList",
- "MothTeacherList",
- "UnallotHomeworkInfo",
- "GetTeacherDetail",
- "GetStudentDetail",
- "getTeacherIdStatus",
- "BeforetoTeacherAllotCode",
- "BeforetoTeacherstatues",
- "InfoTeacherstatues"
-
- ])
- },
- methods: {
- ...mapActions(["setUser"]),
- // 去批改前分配老师
- async ToAppovalOline(v) {
- let ApporhomeworkId = v.homeworkId;
- this.ApporhomeworkId = ApporhomeworkId;
- this.$store.dispatch("BeforetoTeacherAllot", {
- teacherId: localStorage.getItem("userId"),
- homeworkId: v.homeworkId
- });
- },
- // 点击下拉
- dropDown(v, k) {
- this.isDown = !this.isDown;
- // console.log(!this.isDown)
- this.isDownindex = k;
- // if (this.isDown = true){
- // this.isDown = true;
- // }
- this.TeacherHomework(v);
- },
- // // 分页
- // pageChange(val) {
- // this.filters.pageNo = val;
- // this.itemListReshow();
- // },
- // changeDateSlot(dateSlot) {
- // if (dateSlot) {
- // this.filters.startDate = dateSlot[0];
- // this.filters.endDate = dateSlot[1];
- // } else {
- // this.filters.startDate = null;
- // this.filters.endDate = null;
- // }
- // },
- // 获取校区管理员监控数据
- async InfoWatch() {
- this.isDown = false;
- this.$store.dispatch("InfoWatch", {
- grade: this.filters.OptionsValue,
- subject: this.filters.gradesValue,
- teacherName: this.filters.inputValue,
- maxCreateTime: "",
- pageNo: this.filters.pageNo,
- pageSize: this.filters.pageSize,
- managerId: this.managerId || ""
- });
- },
- // 获取校区管理员当天数据
- async InfoWatchDay() {
- this.$store.dispatch("InfoWatchDay", {
- grade: this.filters.OptionsValue,
- subject: this.filters.gradesValue,
- teacherName: this.filters1.inputValue,
- maxCreateTime: "",
- oneDay: this.filters1.MaxtimeValue,
- pageNo: this.filters1.pageNo,
- pageSize: this.filters1.pageSize,
- managerId: this.managerId || ""
- });
- },
- // 获取校区管理员当月数据
- async InfoWatchMoth() {
- this.$store.dispatch("InfoWatchMoth", {
- grade: this.filters.OptionsValue,
- subject: this.filters.gradesValue,
- teacherName: this.filters2.inputValue,
- maxCreateTime: "",
- oneMonth: this.filters2.MaxtimeValue,
- pageNo: this.filters2.pageNo,
- pageSize: this.filters2.pageSize,
- managerId: this.managerId || ""
- });
- },
- // 查看老师批改作业列表
- async TeacherHomework(v) {
- this.homeworkLIst.teacherId = v.teacherId;
- this.$store.dispatch("TeacherHomeworkList", {
- teacherId: v.teacherId,
- maxCreateTime: "",
- pageNo: 1,
- pageSize: this.homeworkLIst.pageSize
- });
- },
- // 分页查看老师批改作业列表
- async TeacherHomeworkfy() {
- this.$store.dispatch("TeacherHomeworkList", {
- teacherId: this.homeworkLIst.teacherId,
- maxCreateTime: this.filters.MaxtimeValue,
- pageNo: this.homeworkLIst.pageNo,
- pageSize: this.homeworkLIst.pageSize
- });
- },
- // 可分配老师列表
- async TeacherAllot(v) {
- this.$store.dispatch("TeacherAllotList", {
- grade: v.grade,
- subject: v.subject,
- maxCreateTime: this.filters.MaxtimeValue,
- pageNo: this.allotList.pageNo,
- pageSize: this.allotList.pageSize
- });
- },
- // 可分配老师列表分页
- async TeacherAllotfy() {
- this.$store.dispatch("TeacherAllotList", {
- grade: this.allotList.Allotgarde,
- subject: this.allotList.Allotsubjct,
- maxCreateTime: this.filters.MaxtimeValue,
- pageNo: this.allotList.pageNo,
- pageSize: this.allotList.pageSize
- });
- },
- // 未批改作业列表列表
- async UnallotHomework() {
- this.$store.dispatch("UnallotHomeworkList", {
- maxCreateTime: this.filters.MaxtimeValue,
- pageNo: this.homeworkLIst.pageNo,
- pageSize: this.homeworkLIst.pageSize
- });
- },
- // 未批改作业分配老师
- async GOtoTeacherAllotAppovar(v, k) {
- this.$store.dispatch("toTeacherAllot", {
- teacherId: v.teacherId,
- homeworkId: this.allNoapprovalList.homeworkId
- });
- v.type = 1;
- this.$set(this.TeacherAllotList.list, k, v);
- this.NoAllotManagerModel = false;
- this.UnallotHomework();
- this.isPigai = true;
- },
- // 分配老师
- async GOtoTeacherAllot(v, k) {
- this.$store.dispatch("toTeacherAllot", {
- teacherId: v.teacherId,
- homeworkId: this.allotList.homeworkId
- });
- v.type = 1;
- this.$set(this.TeacherAllotList.list, k, v);
- this.hiddenModel = false;
- },
- // 查看老师详情信息
- async GetTeacherInfo(v) {
- this.$store.dispatch("GetTeacherDetail", {
- teacherId: v.teacherId
- });
- },
- async pesiorFun(){
- var arr = this.GetTeacherDetail.grade.split(",");
- this.arrPeriod = this.GetTeacherDetail.period.split(",");
- var arrList = [];
- for (var i in arr) {
- if (arr[i] == "一年级" || arr[i] == "二年级") {
- arrList.push("1-2年级");
- } else if (arr[i] == "三年级" || arr[i] == "四年级") {
- arrList.push("3-4年级");
- } else if (arr[i] == "五年级" || arr[i] == "六年级") {
- arrList.push("5-6年级");
- }
- }
- this.arrGrade = this.uniq(arrList) || [];
- },
- // 查看学生详情信息
- async GetStudentInfo(v) {
- this.$store.dispatch("GetStudentDetail", {
- vipId: v.vipId
- });
- },
- 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();
- }
- },
- isShow(v, str) {
- let _this = this;
- // scroll= (window).scrollTop();
- // $ ( ‘html’ ).css({ ‘overflow’ : ’hidden’ , ’position’: ’fixed’, ’top’: ’- ‘+scroll+’px’})
- if (str == 1) {
- _this.hiddenModel = true;
- 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.UnallotHomework();
- } else if (str == 3) {
- _this.ModelAppor = true;
- this.GetTeacherInfo(v);
- } else if (str == 4) {
- _this.ModelStudet = true;
- this.GetStudentInfo(v);
- } else if (str == 5) {
- this.allNoapprovalList.Allotgarde = v.grade;
- this.allNoapprovalList.Allotsubjct = v.subject;
- this.allNoapprovalList.homeworkId = v.homeworkId;
- _this.NoAllotManagerModel = true;
- _this.isPigai = false;
- this.NoapporvalTeacherAllot(v);
- // this.GetAllotManagerInfo()
- }
- },
- // 未批改作业可分配老师列表
- async NoapporvalTeacherAllot(v) {
- this.$store.dispatch("TeacherAllotList", {
- grade: v.grade || this.allNoapprovalList.Allotgarde,
- subject: v.subject || this.allNoapprovalList.Allotsubjct,
- maxCreateTime: this.filters.MaxtimeValue,
- pageNo: 1,
- pageSize: this.allNoapprovalList.pageSize
- });
- },
- // 未批改作业可分配老师分页列表
- async NoapporvalTeacherAllotfy() {
- this.$store.dispatch("TeacherAllotList", {
- grade: this.allNoapprovalList.Allotgarde,
- subject: this.allNoapprovalList.Allotsubjct,
- maxCreateTime: this.filters.MaxtimeValue,
- pageNo: this.allNoapprovalList.pageNo,
- pageSize: this.allNoapprovalList.pageSize
- });
- },
- // 去分配
- allocation() {
- var noHomework = document.getElementById("noHomework");
- this.InfoWatch();
- if (this.monitorTeacherList.unCorrectCount == 0) {
- noHomework.style.display = "block";
- setTimeout(function() {
- noHomework.style.display = "none";
- }, 1000);
- } else {
- this.isShow(this.monitorTeacherList, 2);
- }
- },
- //年月日时间封装
- dayFormatDate: function() {
- let date = new Date();
- let y = date.getFullYear();
- let MM = date.getMonth() + 1;
- MM = MM < 10 ? "0" + MM : MM;
- let d = date.getDate();
- d = d < 10 ? "0" + d : d;
- return y + "-" + MM + "-" + d;
- },
- //年月时间封装
- monthFormatDate: function() {
- let date = new Date();
- let y = date.getFullYear();
- let MM = date.getMonth() + 1;
- MM = MM < 10 ? "0" + MM : MM;
- return y + "-" + MM;
- },
- //关闭弹框
- allShowModel(str) {
- let _this = this;
- if (str == 1) {
- _this.hiddenModel = false;
- } else if (str == 2) {
- _this.isPigai = false;
- } else if (str == 3) {
- _this.ModelAppor = false;
- } else if (str == 4) {
- _this.ModelStudet = false;
- } else if (str == 5) {
- _this.NoAllotManagerModel = false;
- }
- },
- // 数组去重
- uniq(array) {
- var temp = []; //一个新的临时数组
- for (var i = 0; i < array.length; i++) {
- if (temp.indexOf(array[i]) == -1) {
- temp.push(array[i]);
- }
- }
- return temp;
- },
- // 输入框按键方法
- keyCodeMethod(e) {
- if (e.keyCode === 13) return this.itemListReshow();
- },
- expandChange(row, expandRows) {
- for (let item of expandRows) {
- if (row === item) {
- this.expandRowKeys = [row.nodId];
- }
- }
- },
- changeDateSlot(dateSlot) {
- if (dateSlot) {
- this.filters.startDate = dateSlot[0];
- this.filters.endDate = dateSlot[1];
- } else {
- this.filters.startDate = null;
- this.filters.endDate = null;
- }
- },
- actvTypeChange(typeList) {
- switch (typeList.length) {
- case 1:
- this.filters.actvType = typeList[0];
- this.filters.actvSmallType = null;
- break;
- case 2:
- this.filters.actvType = null;
- this.filters.actvSmallType = typeList[1];
- break;
- default:
- this.filters.actvType = null;
- this.filters.actvSmallType = null;
- break;
- }
- },
- handleSizeChange(val) {
- this.filters.pageSize = val;
- this.InfoWatch();
- },
- handleSizeChange1(val) {
- this.filters1.pageSize = val;
- this.InfoWatchDay();
- },
- handleSizeChange2(val) {
- this.filters2.pageSize = val;
- this.InfoWatchMoth();
- },
- handleSizeChange3(val) {
- this.homeworkLIst.pageSize = val;
- this.TeacherHomeworkfy();
- },
- handleSizeChange4(val) {
- this.allotList.pageSize = val;
- this.TeacherAllotfy();
- },
- handleSizeChange6(val) {
- this.allNoapprovalList.pageSize = val;
- this.NoapporvalTeacherAllotfy();
- },
- // 分页
- pageChange(val) {
- this.filters.pageNo = val;
- this.InfoWatch();
- }, // 分页
- pageChange1(val) {
- this.filters1.pageNo = val;
- this.InfoWatchDay();
- }, // 分页
- pageChange2(val) {
- this.filters2.pageNo = val;
- this.InfoWatchMoth();
- },
- pageChange3(val) {
- this.homeworkLIst.pageNo = val;
- this.TeacherHomeworkfy();
- },
- pageChange4(val) {
- this.allotList.pageNo = val;
- this.TeacherAllotfy();
- },
- pageChange6(val) {
- this.allNoapprovalList.pageNo = val;
- this.NoapporvalTeacherAllotfy();
- },
- // 排序
- sortChange(sort) {
- this.filters.orderField = sort.prop;
- this.filters.orderAD = sort.order != null ? sort.order : "";
- this.itemListReshow();
- }
- // 获取创建人列表
- // async getUserNameList() {
- // let {
- // userNameList = []
- // } = await this.$dao.actv.marketActDao.getUserNameList();
- // this.userNameList = userNameList || [];
- // let { list = [] } = await this.$dao.bsnsActvTypeAllList();
- // this.actvTypeList = list || [];
- // }
- },
- mounted() {
- this.InfoWatch();
- // this.getsetDictByType2();
- // this.getUserNameList();
- // this.itemListReshow();
- }
- };
- </script>
- <!-- Add "scoped" attribute to limit CSS to this component only -->
- <style>
- html,
- body {
- height: 100%;
- overflow: hidden;
- }
- ul {
- text-align: center;
- margin: 0 !important;
- }
- .aside {
- background-color: #fff;
- margin-top: 16px;
- padding: 0;
- min-height: 880px;
- }
- .main {
- background-color: #fff;
- margin: 16px;
- padding: 0 !important;
- min-height: 980px;
- }
- .table-aside {
- color: #666666;
- font-size: 18px;
- text-align: center;
- line-height: 60px;
- cursor: pointer;
- }
- el-table {
- color: #999999;
- font-size: 18px;
- }
- .main-items {
- color: #393939;
- text-align: center;
- line-height: 80px;
- }
- .main-header-item {
- font-size: 16px;
- /* font-weight: 700; */
- }
- .model-manager {
- display: flex;
- justify-content: space-between;
- margin: 30px;
- color: #393939;
- font-size: 24px;
- }
- .main-header-link {
- color: #52cc60;
- font-size: 18px;
- margin-left: 10px;
- cursor: pointer;
- text-decoration: underline;
- }
- .el-select {
- width: 100px;
- margin: -10px !important;
- }
- .input-with-select .el-input-group__prepend {
- background-color: #fff;
- }
- .el-select-dropdown__list {
- padding: 15px 0 !important;
- }
- .input-with-new {
- border: 1px solid #cccccc;
- border-radius: 15px;
- height: 30px;
- line-height: 30px;
- padding: 10px;
- font-size: 12px;
- color: #eeeeee;
- width: 180px;
- }
- .active {
- background-color: #52cc60;
- color: #fff;
- }
- .el-input__inner {
- /* height: 32px; */
- }
- .table-img {
- width: 36px;
- height: 36px;
- border-radius: 6px;
- margin-left: 14px;
- cursor: pointer;
- }
- .table {
- width: 94.5% !important;
- border-top: 1px solid #e5e5e5;
- margin: 0 43px;
- }
- .table-head {
- color: #999999;
- font-size: 18px;
- text-align: center;
- display: flex;
- justify-content: space-around;
- }
- .table-heads1 {
- margin-left: 15%;
- width: 60%;
- color: #3ab548;
- font-size: 14px;
- text-align: center;
- display: flex;
- justify-content: space-around;
- }
- .table-heads1 > div {
- width: 13.528%;
- }
- .table-head > div {
- width: 13.528%;
- }
- .tr {
- width: 100%;
- color: #393939;
- text-align: center;
- font-family: "PingFang-SC-Bold";
- font-size: 16px;
- font-weight: 700;
- }
- .tr-first {
- display: flex;
- justify-content: space-around;
- }
- .tr-first > div {
- width: 13.528%;
- }
- .tr-s {
- display: flex;
- justify-content: space-around;
- }
- .tr-set {
- background-color: #fbfbfb;
- display: flex;
- justify-content: space-around;
- color: #393939;
- font-size: 12px;
- margin: 20px;
- }
- .tr-setNo {
- display: flex;
- justify-content: space-around;
- color: #000000f1;
- font-size: 16px;
- margin: 20px;
- }
- .tr-secon {
- font-size: 12px;
- text-align: center;
- word-wrap: break-word;
- width: 40px;
- }
- .tr-second {
- background-color: #fbfbfb;
- display: flex;
- color: #393939;
- font-size: 20px;
- word-wrap: break-word;
- }
- .tr-seconds {
- text-align: center;
- font-size: 14px;
- word-wrap: break-word;
- margin: 0 50px;
- /* height: 30px; */
- }
- .width40 {
- width: 100px;
- }
- .tr-sw180 {
- width: 230px;
- text-align: center;
- }
- .tr-secondsA {
- text-align: center;
- font-size: 14px;
- word-wrap: break-word;
- width: 280px;
- }
- .tr-w120 {
- width: 200px;
- text-align: left;
- display: inline-block;
- /*height: 80px;*/
- /*line-height: 80px;*/
- }
- .tr-second-check {
- color: #3ab548;
- font-size: 17px;
- text-decoration: underline;
- }
- .Online {
- display: inline-block;
- }
- .Onlinename {
- display: inline-block;
- }
- .tr-active {
- color: #3ab548;
- }
- .BgcColor {
- background-color: #f7fbfc;
- }
- .showModel {
- width: 100%;
- height: 100%;
- position: fixed;
- top: 0;
- left: 0;
- background: #000000;
- opacity: 0.2;
- overflow: hidden;
- z-index: 1000;
- color: #fff;
- }
- .model {
- z-index: 10000;
- width: 60%;
- height: auto;
- position: fixed;
- top: 15%;
- left: 30%;
- margin: auto;
- background: #fff;
- border-radius: 10px;
- text-align: center;
- }
- .model-text {
- background: rgba(255, 255, 255, 1);
- border-radius: 10px;
- }
- .model-items-first {
- padding: 0 34px;
- width: 100%;
- display: flex;
- justify-content: space-between;
- }
- .model-items-first-img {
- width: 68px;
- height: 68px;
- border-radius: 8px;
- position: relative;
- bottom: 20px;
- }
- .model-items-first-left {
- display: inline-block;
- color: #393939;
- font-size: 24px;
- margin-left: 14px;
- text-align: left;
- }
- .model-items-first-left-down {
- color: #7e7e7e;
- font-size: 18px;
- }
- .model-text-head {
- padding: 40px 50px;
- display: flex;
- color: #393939;
- font-size: 24px;
- justify-content: space-between;
- }
- .model-items-other {
- height: 60px;
- line-height: 60px;
- color: #393939;
- font-size: 20px;
- text-align: left;
- padding: 0 34px;
- }
- .model-active {
- background-color: #f6f7fb;
- }
- .model-active-last {
- border-radius: 0 0 30px 30px;
- background-color: #f6f7fb;
- }
- .model-items-left {
- width: 100%;
- color: #393939;
- font-size: 24px;
- }
- .buttonAppoval {
- display: inline-block;
- }
- .el-button.is-round{
- }
- .model-items-left-top {
- display: flex;
- justify-content: space-between;
- }
- .model-items {
- padding: 20px 0;
- display: flex;
- justify-content: space-between;
- display: inline-block;
- width: 100%;
- }
- .model-itemss {
- padding: 10px 0;
- display: flex;
- justify-content: space-between;
- display: inline-block;
- }
- .model-items-left-top-img {
- width: 68px;
- height: 68px;
- border-radius: 8px;
- position: relative;
- bottom: 25px;
- }
- .model-items-left-top-number {
- color: #7e7e7e;
- font-size: 18px;
- margin-left: 10px;
- }
- .today-time {
- color: #7e7e7e;
- font-size: 18px;
- margin: 0 20px;
- }
- .el-pagination {
- padding: 30px;
- }
- .no-homework {
- width: 16.5%;
- height: 328px;
- background: rgba(255, 255, 255, 1);
- box-shadow: 0px 0px 14px 0px rgba(228, 228, 228, 1);
- border-radius: 10px;
- margin: auto;
- position: fixed;
- top: 27%;
- left: 41.75%;
- text-align: center;
- padding: 35px;
- z-index: 1000;
- display: none;
- }
- .no-homework > div {
- margin-bottom: 25px;
- font-size: 24px;
- }
- .no-homework > img {
- width: 226px;
- height: 203px;
- }
- .allocation-items {
- width: 45%;
- display: inline-block;
- margin-right: 20px;
- margin-bottom: 30px;
- }
- </style>
|