SchoolManager.vue 90 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884
  1. <!-- 活动解析 -->
  2. <template>
  3. <div>
  4. <!-- table 表格 -->
  5. <el-row :gutter="20" class="main-items">
  6. <el-col class="aside" :span="3" :offset="2" style="padding: 0 !important;">
  7. <div
  8. class="table-aside"
  9. v-for="(v, k) in ItemList"
  10. :key="k"
  11. :class="{active:k == modelindex}"
  12. @click="selectTitle(k)"
  13. >{{v.text}}</div>
  14. </el-col>
  15. <!--数据监控-->
  16. <el-col :span="17" class="main" v-if="modelindex == 0">
  17. <el-row :gutter="20" class="main-header">
  18. <el-col :span="14" :offset="0">
  19. <div
  20. @click="handApor()"
  21. :class="{Apporvalactive:Activeindex == false,ApporStyles:true}"
  22. >批改老师</div>
  23. <div
  24. @click="AutoApor()"
  25. :class="{Apporvalactive:Activeindex == true,ApporStyles:true}"
  26. >匹配知识点老师</div>
  27. </el-col>
  28. <el-col :span="10">
  29. <div class="selectBox">
  30. <div
  31. class="Ageclass"
  32. @click="choiceclass()"
  33. @mouseover="selectStyle()"
  34. @mouseout="outStyle()"
  35. >
  36. <span class="age-tip">{{selecttitlepag}}</span>
  37. <span :class="[gardeListDown ?'el-icon-caret-top':'el-icon-caret-bottom']"></span>
  38. </div>
  39. <div
  40. class="class-download"
  41. v-show="gardeListDown"
  42. @mouseover="selectStyle()"
  43. @mouseout="outStyle()"
  44. >
  45. <ul v-for="(item, k) in options" :key="k">
  46. <li @click="selectTip(item)">{{item.label}}</li>
  47. </ul>
  48. </div>
  49. </div>
  50. <div class="selectBox">
  51. <div
  52. class="Ageclass"
  53. @click="choiceclass()"
  54. @mouseover="selectStyle1()"
  55. @mouseout="outStyle1()"
  56. >
  57. <span class="age-tip">{{selecttitleage}}</span>
  58. <span :class="[gardeListDownage ?'el-icon-caret-top':'el-icon-caret-bottom']"></span>
  59. </div>
  60. <div
  61. class="class-download"
  62. v-show="gardeListDownage"
  63. @mouseover="selectStyle1()"
  64. @mouseout="outStyle1()"
  65. >
  66. <ul v-for="(item, k) in grades" :key="k">
  67. <li @click="selectTipage(item)">{{item.label}}</li>
  68. </ul>
  69. </div>
  70. </div>
  71. <div class="teach-block">
  72. <div class="miniorteach-Allot">
  73. <input
  74. type="text"
  75. placeholder="请输入老师"
  76. v-model="filters.inputValue"
  77. class="miniorinput-with-Allot"
  78. />
  79. <span v-if="this.Activeindex == false" @click="InfoWatch" class="miinorSeachIcon el-icon-search"></span>
  80. <span v-if="this.Activeindex == true" @click="InfoKonwTeacherWatchList" class="miinorSeachIcon el-icon-search"></span>
  81. </div>
  82. </div>
  83. </el-col>
  84. <el-col :span="14" :offset="1">
  85. <div class="main-header-item displayBox">在线:{{monitorTeacherList.onlineCount}}人</div>
  86. <div class="main-header-item displayBox">离线:{{monitorTeacherList.offlineCount}}人</div>
  87. <div class="main-header-item displayBox">
  88. <span>平均响应时间:{{monitorTeacherList.avgreSpeed}}/份</span>
  89. </div>
  90. <div class="main-header-item displayBox" v-if="this.Activeindex == false">
  91. <span>分配未批改作业:{{monitorTeacherList.unCorrectCount}}份</span>
  92. <span @click="allocation()" class="main-header-link">去分配</span>
  93. </div>
  94. <div class="main-header-item displayBox" v-if="this.Activeindex == true">
  95. <span>分配未匹配作业:{{monitorTeacherList.unCorrectCount}}份</span>
  96. <span @click="allocationApporval()" class="main-header-link">去分配</span>
  97. </div>
  98. </el-col>
  99. </el-row>
  100. <el-row :gutter="20" class="main-header">
  101. <el-col :span="24">
  102. <div
  103. class="table"
  104. v-if="monitorTeacherList.list !== undefined && monitorTeacherList.list.length ==0"
  105. >暂无数据!</div>
  106. <div
  107. class="table"
  108. v-if="monitorTeacherList.list !== undefined && monitorTeacherList.list.length >0"
  109. >
  110. <div class="table-head">
  111. <div>头像</div>
  112. <div>姓名</div>
  113. <div>等待作业数</div>
  114. <div>作业最长等待时长</div>
  115. <div v-if="this.Activeindex == false">今日累计批改时间</div>
  116. <div v-if="this.Activeindex == true">今日累计匹配时间</div>
  117. <div>今日响应速度</div>
  118. <div>状态</div>
  119. </div>
  120. <div class="tr" v-for="(v, k) of monitorTeacherList.list" :key="k">
  121. <!-- 在线 -->
  122. <div v-if="v.status == '1'" class="tr-first" :class="{BgcColor:k%2 !== 1}">
  123. <div>
  124. <i
  125. style="cursor:pointer;"
  126. :class="[isDown&&isDownindex === k?'el-icon-caret-bottom':'el-icon-caret-right']"
  127. @click="dropDown(v,k)"
  128. ></i>
  129. <img
  130. :src="BASE_URL + v.imgUrl"
  131. alt
  132. class="table-img"
  133. v-if="v.imgUrl"
  134. @click="isShow(v,3)"
  135. />
  136. <img
  137. src="../../assets/img/attt.png"
  138. alt
  139. v-if="v.imgUrl ==''"
  140. @click="isShow(v,3)"
  141. class="table-img"
  142. />
  143. </div>
  144. <div>{{v.name}}</div>
  145. <div>{{v.waitCount}}份</div>
  146. <div class="tr-active">{{v.maxWaitTime}}</div>
  147. <div style="width:200px;">{{v.totalCorrectTime}}</div>
  148. <div>{{v.respSpeed}}</div>
  149. <div>在线</div>
  150. </div>
  151. <!-- 离线 -->
  152. <div
  153. v-if="v.status == '2'"
  154. style="color:#BEBEBE"
  155. class="tr-first"
  156. :class="{BgcColor:k%2 !== 1}"
  157. >
  158. <div>
  159. <i
  160. style="cursor:pointer;"
  161. :class="[isDown && isDownindex === k?'el-icon-caret-bottom':'el-icon-caret-right']"
  162. @click="dropDown(v,k)"
  163. ></i>
  164. <img :src="BASE_URL + v.imgUrl" alt class="table-img" @click="isShow(v,3)" />
  165. <img
  166. src="../../assets/img/attt.png"
  167. alt
  168. v-if="v.imgUrl ==''"
  169. @click="isShow(v,3)"
  170. class="table-img"
  171. />
  172. </div>
  173. <div>{{v.name}}</div>
  174. <div>{{v.waitCount}}份</div>
  175. <div>{{v.maxWaitTime}}</div>
  176. <div style="width:240px;">{{v.totalCorrectTime}}</div>
  177. <div>{{v.respSpeed}}</div>
  178. <div>离线</div>
  179. </div>
  180. <!-- 封号 -->
  181. <div
  182. v-if="v.status == '3'"
  183. style="color:#FF6767"
  184. class="tr-first"
  185. :class="{BgcColor:k%2 !== 1}"
  186. >
  187. <div>
  188. <i
  189. style="cursor:pointer;"
  190. :class="[isDown && isDownindex === k?'el-icon-caret-bottom':'el-icon-caret-right']"
  191. @click="dropDown(v,k)"
  192. ></i>
  193. <img :src="BASE_URL + v.imgUrl" alt class="table-img" @click="isShow(v,3)" />
  194. <img
  195. src="../../assets/img/attt.png"
  196. alt
  197. v-if="v.imgUrl ==''"
  198. @click="isShow(v,3)"
  199. class="table-img"
  200. />
  201. </div>
  202. <div>{{v.name}}</div>
  203. <div>{{v.waitCount}}份</div>
  204. <div>{{v.maxWaitTime}}</div>
  205. <div style="width:200px;">{{v.totalCorrectTime}}</div>
  206. <div>{{v.respSpeed}}</div>
  207. <div>已封号</div>
  208. </div>
  209. <div
  210. class="tr-setNo"
  211. v-if="isDownindex === k && isDown && TeacherHomeworkList.list.length == 0"
  212. >暂无数据!</div>
  213. <!--&& isDownindex === k && isDown-->
  214. <div v-if="isDownindex === k && isDown">
  215. <div class="tr-second" v-for="(v, k) of TeacherHomeworkList.list" :key="k">
  216. <div class="tr-seconds" style="width:6%;">{{k+1}}</div>
  217. <div class="tr-seconds tr-w120" style="width:14%;">
  218. <span @click="isShow(v,4)" style="cursor: pointer;" class="tr-second-check">查看</span>
  219. <span>{{v.name}}</span>
  220. </div>
  221. <div
  222. v-if="v.status && !(v.status === 1 && k == 0) "
  223. class="tr-secondsA"
  224. style="width:50%;"
  225. >{{v.spendTime}}</div>
  226. <div
  227. v-if="v.status === 1 && k == 0"
  228. class="tr-secondsA"
  229. style="color:#52CC60;width: 50%"
  230. >{{v.spendTime}}</div>
  231. <div class="tr-seconds widthSu" style="width: 10%">{{v.subject}}</div>
  232. <div class="tr-seconds widthSu" style="width: 10%">{{v.grade}}</div>
  233. <div v-if="v.status === 1" class="tr-seconds width40" style="width: 10%">
  234. <span v-if="Activeindex == false">未批改</span>
  235. <span v-if="Activeindex == true">未匹配</span>
  236. (
  237. <span>{{v.feedbackCount}}/{{v.picTotal}}</span>)
  238. </div>
  239. <div
  240. v-if="v.status === 2"
  241. class="tr-seconds width40"
  242. style="color:#FFC303;width: 10%"
  243. >
  244. <span v-if="Activeindex == false">批改中</span>
  245. <span v-if="Activeindex == true">匹配中</span>
  246. (
  247. <span>{{v.feedbackCount}}/{{v.picTotal}}</span>)
  248. </div>
  249. <div v-if="v.status === 3" class="tr-seconds width40" style="width: 10%">
  250. <span v-if="Activeindex == false">已批改</span>
  251. <span v-if="Activeindex == true">已匹配</span>
  252. (
  253. <span>{{v.feedbackCount}}/{{v.picTotal}}</span>)
  254. </div>
  255. <div class="tr-sw180" v-if="v.status === 2" style="width: 25%"></div>
  256. <div class="tr-sw180" v-if="v.status === 1" style="width: 25%">
  257. <!-- <el-button type="" plain><a style="text-decoration:none;color:#52cc60;" :href="'https://kmt.sharingschool.com/aijia/kmt/index.html?homeworkId='+v.homeworkId+'&accessToken='+accessToken+'&state='+1">去批改</a></el-button> -->
  258. <el-button @click="isShow(v,1)" type="success">去分配</el-button>
  259. </div>
  260. <div
  261. class="ApporTeacher"
  262. v-if="v.status === 3 && v.isCheck ===1"
  263. style="width: 25%"
  264. >
  265. <span>{{v.checkCount}}</span>
  266. <span style="color:#bbbbbb;">/{{v.picTotal}}</span>
  267. <el-button type="info" @click="CheackHomeworkStatus(v)">
  268. <span
  269. href
  270. style="text-decoration:none;color:#ffffff;"
  271. >已检查</span>
  272. </el-button>
  273. <span v-if="v.wrongCount > 0" style="color:red;font-size:12px;">报错{{v.wrongCount}}</span>
  274. <span v-if="v.wrongCount == 0" style="color:#fbfbfb;font-size:12px;">报错{{v.wrongCount}}</span>
  275. </div>
  276. <div
  277. class="tr-sw180"
  278. v-if="v.status === 3 && v.isCheck ===0"
  279. style="width: 25%"
  280. >
  281. <el-button type="warning" @click="CheackHomeworkStatus(v)">
  282. <span
  283. href
  284. style="text-decoration:none;color:#ffffff;"
  285. >去检查</span>
  286. </el-button>
  287. </div>
  288. </div>
  289. <!-- 分页显示 -->
  290. <div v-if="parseInt(TeacherHomeworkList.pages) > 10">
  291. <el-pagination
  292. background
  293. @size-change="handleSizeChange3"
  294. @current-change="pageChange3"
  295. :page-sizes="[10, 20]"
  296. layout="total, prev, pager, next"
  297. :total="parseInt(TeacherHomeworkList.pages)"
  298. :hide-on-single-page="true"
  299. ></el-pagination>
  300. </div>
  301. </div>
  302. </div>
  303. </div>
  304. <!-- 分页显示 -->
  305. <!-- 数据监控分页 -->
  306. <div v-if="this.Activeindex == false">
  307. <el-pagination
  308. background
  309. @size-change="handleSizeChange"
  310. @current-change="pageChange"
  311. :page-sizes="[10, 20, 30, 40]"
  312. layout="total, prev, pager, next"
  313. :total="parseInt(monitorTeacherList.pages)"
  314. :hide-on-single-page="true"
  315. :current-page.sync="currentPage"
  316. ></el-pagination>
  317. <div style="clear:both;"></div>
  318. </div>
  319. <!-- 数据监控分页匹配知识点老师 -->
  320. <div v-if="this.Activeindex == true">
  321. <el-pagination
  322. background
  323. @size-change="WatchhandleSizeChange"
  324. @current-change="WatchpageChange"
  325. :page-sizes="[10, 20, 30, 40]"
  326. layout="total, prev, pager, next"
  327. :total="parseInt(monitorTeacherList.pages)"
  328. :hide-on-single-page="true"
  329. :current-page.sync="currentPage"
  330. ></el-pagination>
  331. <div style="clear:both;"></div>
  332. </div>
  333. <div>
  334. <el-button @click="routerback()" type="success" round>返回</el-button>
  335. </div>
  336. </el-col>
  337. </el-row>
  338. </el-col>
  339. <!--当天-->
  340. <el-col :span="18" class="main" v-if="modelindex == 1">
  341. <el-row :gutter="20" class="main-header">
  342. <el-col :span="24" :offset="0">
  343. <el-col :span="7" :offset="0">
  344. <div
  345. @click="DayhandApor()"
  346. :class="{Apporvalactive:DayActiveindex == false,ApporStyles:true}"
  347. >批改老师</div>
  348. <div
  349. @click="DayAutoApor()"
  350. :class="{Apporvalactive:DayActiveindex == true,ApporStyles:true}"
  351. >匹配知识点老师</div>
  352. </el-col>
  353. <el-col :span="17" :offset="0">
  354. <div class="main-header-num">
  355. <div class="teach-time">
  356. <div class="teach-block">
  357. <div class="Dayteach-Allot">
  358. <input
  359. type="text"
  360. placeholder="请输入老师名字"
  361. v-model="filters1.inputValue"
  362. class="Dayinput-with-Allot"
  363. />
  364. <span v-if="this.DayActiveindex == false" @click="InfoWatchDay" class="DaySeachIcon el-icon-search"></span>
  365. <span v-if="this.DayActiveindex == true" @click="InfoKonwTeacherDayApprvalList" class="DaySeachIcon el-icon-search"></span>
  366. </div>
  367. </div>
  368. <div class="teach-block">
  369. <el-date-picker
  370. @change="InfoWatchDayDatas"
  371. v-model="filters1.MaxtimeValue"
  372. value-format="yyyy-MM-dd"
  373. type="date"
  374. placeholder="选择日期"
  375. :picker-options="pickerOptions0"
  376. >></el-date-picker>
  377. </div>
  378. </div>
  379. </div>
  380. </el-col>
  381. </el-col>
  382. <el-col :span="8" :offset="0">
  383. <div class="main-header-item">
  384. 今日报错总次数:
  385. <span style="color:red;">{{DayTeacherList.wrongCount}}次</span>
  386. </div>
  387. </el-col>
  388. </el-row>
  389. <el-row :gutter="20" class="main-header">
  390. <el-col :span="24">
  391. <div
  392. class="table"
  393. v-if="DayTeacherList.list !== undefined && DayTeacherList.list.length ==0"
  394. >暂无数据!</div>
  395. <div
  396. class="table"
  397. v-if="DayTeacherList.list !== undefined && DayTeacherList.list.length >0"
  398. >
  399. <div class="table-head">
  400. <div>头像</div>
  401. <div>姓名</div>
  402. <div>被报错</div>
  403. <div>纠正次数</div>
  404. <div>科目</div>
  405. <div v-if="this.DayActiveindex == false">批改有效总张数</div>
  406. <div v-if="this.DayActiveindex == true">匹配总张数</div>
  407. <div>正确率</div>
  408. <div v-if="this.DayActiveindex == false" style="width:240px;">平均批改时间</div>
  409. <div v-if="this.DayActiveindex == true" style="width:240px;">平均匹配时间</div>
  410. <div>出勤</div>
  411. </div>
  412. <div class="tr" v-for="(v, k) of DayTeacherList.list" :key="k">
  413. <div class="tr-first" :class="{BgcColor:k%2 !== 1}">
  414. <div>
  415. <img :src="BASE_URL + v.imgUrl" alt v-if="v.imgUrl" class="table-img" />
  416. <img src="../../assets/img/attt.png" alt v-if="!v.imgUrl" class="table-img" />
  417. </div>
  418. <div>{{v.name}}</div>
  419. <div v-if="v.wrongCount == 0">{{v.wrongCount}}次</div>
  420. <div style="color:red;" v-if="v.wrongCount > 0">{{v.wrongCount}}次</div>
  421. <div class="tr-active">{{v.correctNums}}次</div>
  422. <div class="tr-active">{{v.subject}}</div>
  423. <div>{{v.homeworkPicCount}}/张</div>
  424. <div>{{v.accuracyRate}}</div>
  425. <div style="width:240px;">{{v.avgTime}}</div>
  426. <div>{{v.attendance}}</div>
  427. <!-- <div v-if="v.attendance == 正常">{{v.attendance}}</div>
  428. <div style="color:#52cc60;" v-if="v.attendance == 未出勤">{{v.attendance}}</div>-->
  429. </div>
  430. </div>
  431. </div>
  432. <!-- 数据监控当天分页匹配知识点老师 -->
  433. <div v-if="this.DayActiveindex == true">
  434. <el-pagination
  435. background
  436. @size-change="handleSizeDayChange1"
  437. @current-change="pageDayChange1"
  438. :page-sizes="[10]"
  439. layout="total, prev, pager, next"
  440. :total="parseInt(DayTeacherList.pages)"
  441. :current-page.sync="currentPage"
  442. :hide-on-single-page="true"
  443. ></el-pagination>
  444. </div>
  445. <!-- 分页显示 -->
  446. <div v-if="this.DayActiveindex == false">
  447. <el-pagination
  448. background
  449. @size-change="handleSizeChange1"
  450. @current-change="pageChange1"
  451. :page-sizes="[10]"
  452. layout="total, prev, pager, next"
  453. :total="parseInt(DayTeacherList.pages)"
  454. :current-page.sync="currentPage"
  455. :hide-on-single-page="true"
  456. ></el-pagination>
  457. </div>
  458. <!-- <div style="float:right;margin-left:15px;">
  459. <el-button @click="myVisible = false" size="small">取 消</el-button>
  460. <el-button type="primary" size="small" @click="submit">确定</el-button>
  461. </div>-->
  462. <div style="clear:both;"></div>
  463. <div>
  464. <el-button @click="routerback()" type="success" round>返回</el-button>
  465. </div>
  466. </el-col>
  467. </el-row>
  468. </el-col>
  469. <!--当月-->
  470. <el-col :span="18" class="main" v-if="modelindex == 2">
  471. <el-row :gutter="20" class="main-header">
  472. <el-col :span="24" :offset="0">
  473. <el-col :span="7" :offset="0">
  474. <div
  475. @click="MonthhandApor()"
  476. :class="{Apporvalactive:MonthActiveindex == false,ApporStyles:true}"
  477. >批改老师</div>
  478. <div
  479. @click="MonthAutoApor()"
  480. :class="{Apporvalactive:MonthActiveindex == true,ApporStyles:true}"
  481. >匹配知识点老师</div>
  482. </el-col>
  483. <el-col :span="14" :offset="0">
  484. <div class="main-header-numNew">
  485. <div class="teach-time">
  486. <div class="teach-block">
  487. <div class="Dayteach-Allot">
  488. <input
  489. type="text"
  490. placeholder="请输入老师名字"
  491. v-model="filters2.inputValue"
  492. class="Dayinput-with-Allot"
  493. />
  494. <span v-if="this.MonthActiveindex == false" @click="InfoWatchMoth" class="DaySeachIcon el-icon-search"></span>
  495. <span v-if="this.MonthActiveindex == true" @click="InfoKonwTeacherMonthApprvalList" class="DaySeachIcon el-icon-search"></span>
  496. </div>
  497. </div>
  498. <div class="teach-block">
  499. <el-date-picker
  500. @change="InfoWatchMonthDatas"
  501. v-model="filters2.MaxtimeValue"
  502. type="month"
  503. value-format="yyyy-MM"
  504. placeholder="选择月"
  505. :picker-options="pickerOptions0"
  506. ></el-date-picker>
  507. </div>
  508. </div>
  509. </div>
  510. </el-col>
  511. </el-col>
  512. </el-row>
  513. <el-row :gutter="20" class="main-header">
  514. <el-col :span="4" :offset="0">
  515. <div class="main-header-item">
  516. 当月报错总次数:
  517. <span style="color:red;">{{MothTeacherList.totalWrongCount}}次</span>
  518. </div>
  519. </el-col>
  520. <el-col :span="4" :offset="0">
  521. <div class="main-header-item">月出勤率:{{MothTeacherList.totalAttendanceRate}}</div>
  522. </el-col>
  523. <!-- <el-col :span="4">
  524. <div class="main-header-item" >批改总份数:{{MothTeacherList.totalHomeworkCount}}</div>
  525. </el-col>-->
  526. <el-col :span="4">
  527. <div
  528. class="main-header-item"
  529. v-if="this.MonthActiveindex == false"
  530. >批改总张数:{{MothTeacherList.totalHomeworkPicCount}}</div>
  531. <div
  532. class="main-header-item"
  533. v-if="this.MonthActiveindex == true"
  534. >匹配总张数:{{MothTeacherList.totalHomeworkPicCount}}</div>
  535. </el-col>
  536. <el-col :span="4">
  537. <div
  538. class="main-header-item"
  539. v-if="this.MonthActiveindex == false"
  540. >批改平均时间:{{MothTeacherList.totalAvgTime}}</div>
  541. <div
  542. class="main-header-item"
  543. v-if="this.MonthActiveindex == true"
  544. >匹配平均时间:{{MothTeacherList.totalAvgTime}}</div>
  545. </el-col>
  546. <el-col :span="4">
  547. <div v-if="this.MonthActiveindex == false" class="main-header-item">家长满意度:{{MothTeacherList.totalSatisfactionDegree}}</div>
  548. </el-col>
  549. <el-col :span="4">
  550. <div class="main-header-item">正确率:{{MothTeacherList.totalAccuracyRate}}</div>
  551. </el-col>
  552. </el-row>
  553. <el-row :gutter="20" class="main-header">
  554. <el-col :span="24">
  555. <div
  556. class="table"
  557. v-if="MothTeacherList.list !== undefined && MothTeacherList.list.length ==0"
  558. >暂无数据!</div>
  559. <div
  560. class="table"
  561. v-if="MothTeacherList.list !== undefined && MothTeacherList.list.length >0"
  562. >
  563. <div class="table-head">
  564. <div>头像</div>
  565. <div>姓名</div>
  566. <div>被报错</div>
  567. <div>纠正次数</div>
  568. <div>科目</div>
  569. <div v-if="this.MonthActiveindex == false">批改总张数</div>
  570. <div v-if="this.MonthActiveindex == true">匹配总张数</div>
  571. <div>正确率</div>
  572. <div v-if="this.MonthActiveindex == false" style="width:240px;">平均批改时间</div>
  573. <div v-if="this.MonthActiveindex == true" style="width:240px;">平均匹配时间</div>
  574. <div>出勤率</div>
  575. </div>
  576. <div class="tr" v-for="(v, k) of MothTeacherList.list" :key="k">
  577. <div class="tr-first" :class="{BgcColor:k%2 !== 1}">
  578. <div>
  579. <img :src="BASE_URL + v.imgUrl" alt v-if="v.imgUrl" class="table-img" />
  580. <img src="../../assets/img/attt.png" alt v-if="!v.imgUrl" class="table-img" />
  581. </div>
  582. <div>{{v.name}}</div>
  583. <div v-if="v.wrongCount == 0">{{v.wrongCount}}次</div>
  584. <div style="color:red;" v-if="v.wrongCount > 0">{{v.wrongCount}}次</div>
  585. <div class="tr-active">{{v.correctNums}}次</div>
  586. <div class="tr-active">{{v.subject}}</div>
  587. <div>{{v.homeworkPicCount}}/张</div>
  588. <div>{{v.accuracyRate}}</div>
  589. <div style="width:240px;">{{v.avgTime}}</div>
  590. <div>{{v.attendanceRate}}</div>
  591. </div>
  592. </div>
  593. </div>
  594. <!-- 分页显示 -->
  595. <div v-if="this.MonthActiveindex == false">
  596. <el-pagination
  597. background
  598. @size-change="handleSizeChange2"
  599. @current-change="pageChange2"
  600. :page-sizes="[10]"
  601. layout="total, prev, pager, next"
  602. :total="parseInt(MothTeacherList.pages)"
  603. :current-page.sync="currentPage"
  604. :hide-on-single-page="true"
  605. ></el-pagination>
  606. </div>
  607. <!-- 知识点匹配 -->
  608. <div v-if="this.MonthActiveindex == true">
  609. <el-pagination
  610. background
  611. @size-change="handleSizeMonthChange2"
  612. @current-change="pageMonthChange2"
  613. :page-sizes="[10]"
  614. layout="total, prev, pager, next"
  615. :total="parseInt(MothTeacherList.pages)"
  616. :current-page.sync="currentPage"
  617. :hide-on-single-page="true"
  618. ></el-pagination>
  619. </div>
  620. <div>
  621. <el-button @click="routerback()" type="success" round>返回</el-button>
  622. </div>
  623. </el-col>
  624. </el-row>
  625. </el-col>
  626. <!-- 分页显示 -->
  627. </el-row>
  628. <!--可分配老师-->
  629. <div class="showModel" @click="allShowModel(1)" v-if="hiddenModel"></div>
  630. <div class="model" style="width:50%; top:5%;" v-if="hiddenModel">
  631. <div class="model-text">
  632. <div class="model-text-head">
  633. <div>可分配老师</div>
  634. <div class="teach-Allot">
  635. <input
  636. type="text"
  637. placeholder="请输入老师名字"
  638. v-model="inputValueAllot"
  639. class="input-with-Allot"
  640. />
  641. <span @click="SearchTeacherAllot" class="SeachIcon el-icon-search"></span>
  642. </div>
  643. <div>{{allotList.Allotgarde}}{{allotList.Allotsubjct}}</div>
  644. </div>
  645. <div v-show="this.inputValueAllot =='' &&TeacherAllotList.list.length ==0">
  646. <img src="../../assets/img/NoTeacherAllot (1).png" alt />
  647. <div style="display:block; margin-top:20px;">暂无可分配老师!</div>
  648. </div>
  649. <div v-show="this.inputValueAllot !=='' && TeacherAllotList.list.length ==0">
  650. <img src="../../assets/img/SEARCH (1).png" alt />
  651. <div style="display:block; margin-top:20px;">搜索不到老师!</div>
  652. </div>
  653. <div
  654. class="model-itemss"
  655. style="margin:10px;"
  656. v-for="(v, k) in TeacherAllotList.list"
  657. :key="k"
  658. >
  659. <div class="model-items-left">
  660. <div class="model-items-left-top">
  661. <div>
  662. <img
  663. :src="BASE_URL + v.imgUrl"
  664. v-if="v.imgUrl"
  665. alt
  666. class="model-items-left-top-img"
  667. />
  668. <img
  669. src="../../assets/img/attt.png"
  670. v-if="!v.imgUrl"
  671. alt
  672. class="model-items-left-top-img"
  673. />
  674. <div class="teach-style">
  675. <div class="teach-style-name">{{v.name}}</div>
  676. <div class="model-items-left-top-number">等待张数:{{v.waitCount}}</div>
  677. </div>
  678. </div>
  679. <div>
  680. <el-button v-show="v.type && v.type === 1" disabled type="info">已分配</el-button>
  681. <el-button
  682. v-show="!v.type || v.type !== 1"
  683. @click="GOtoTeacherAllot(v,k)"
  684. type="success"
  685. >分配</el-button>
  686. </div>
  687. </div>
  688. </div>
  689. </div>
  690. <el-pagination
  691. background
  692. @size-change="handleSizeChange4"
  693. @current-change="pageChange4"
  694. :page-sizes="[10]"
  695. layout="total, prev, pager, next"
  696. :total="parseInt(TeacherAllotList.pages)"
  697. :hide-on-single-page="true"
  698. ></el-pagination>
  699. </div>
  700. </div>
  701. <!-- 无未批改作业 v-if="monitorTeacherList.unCorrectCount==0"-->
  702. <div class="no-homework" id="noHomework">
  703. <div>无可分配作业</div>
  704. <img src="../../assets/img/wu_fen_pei_zuo_ye.png" alt />
  705. </div>
  706. <!--所有未批改作业-->
  707. <div class="showModel" @click="allShowModel(2)" v-if="isPigai"></div>
  708. <div class="model" style="width:50%;top:10%;" v-if="isPigai">
  709. <div class="model-text">
  710. <div class="model-text-head">
  711. <div v-if="this.Activeindex == false">所有未批改作业</div>
  712. <div v-if="this.Activeindex == true">所有未匹配作业</div>
  713. <div>
  714. <img src="../../assets/img/del@2x.png" alt @click="allShowModel(2)" />
  715. </div>
  716. </div>
  717. <div>
  718. <!-- UnallotHomeworkInfo -->
  719. <!-- <div class="tr-setNo" v-if="UnallotHomeworkInfo.list.length == 0">
  720. 暂无数据!
  721. </div>-->
  722. <div class="tr-set table-heads1">
  723. <div class="tr-secon width120">学生</div>
  724. <div class="tr-secon width140" style="text-align:center margin-left:10px;">等待时长</div>
  725. <div class="tr-secon tr-sw80">科目</div>
  726. <div class="tr-secon tr-sw80">年级</div>
  727. <div class="tr-secon width140" v-if="this.Activeindex == false">未批改老师</div>
  728. <div class="tr-secon width140" v-if="this.Activeindex == true">未匹配老师</div>
  729. </div>
  730. <div class="tr-set" v-for="(v, k) of UnallotHomeworkInfo.list" :key="k">
  731. <div class="tr-secon">{{k+1}}</div>
  732. <div class="tr-secon width120">
  733. <span>{{v.name}}</span>
  734. </div>
  735. <div class="tr-secon width140">{{v.spendTime}}</div>
  736. <div class="tr-secon tr-sw80">{{v.subject}}</div>
  737. <div class="tr-secon tr-sw80">{{v.grade}}</div>
  738. <div v-if="v.status === 1" class="tr-secon">
  739. <span v-if="this.Activeindex == false">未批改</span>
  740. <span v-if="this.Activeindex == true">未匹配</span>
  741. </div>
  742. <div v-if="v.status === 2" class="tr-secon">
  743. <span v-if="this.Activeindex == false">批改中</span>
  744. <span v-if="this.Activeindex == true">匹配中</span>
  745. </div>
  746. <div v-if="v.status === 3" class="tr-secon">
  747. <span v-if="this.Activeindex == false">已批改</span>
  748. <span v-if="this.Activeindex == true">已匹配</span>
  749. </div>
  750. <div class="tr-secon width140">{{v.teacherName}}</div>
  751. <div class="tr-s width400">
  752. <!-- <el-button type="" plain @click="ToAppovalOline(v)">去批改</el-button> -->
  753. <el-button type="success" @click="isShow(v,9)">去分配</el-button>
  754. </div>
  755. </div>
  756. <div v-if="this.Activeindex == false">
  757. <el-pagination
  758. background
  759. @size-change="handleSizeChange7"
  760. @current-change="pageChange7"
  761. :page-sizes="[10]"
  762. layout="total, prev, pager, next"
  763. :total="parseInt(UnallotHomeworkInfo.pages)"
  764. :hide-on-single-page="true"
  765. ></el-pagination>
  766. </div>
  767. <div v-if="this.Activeindex == true">
  768. <el-pagination
  769. background
  770. @size-change="WatchApporvalhandleSizeChange7"
  771. @current-change="WatchApporvalpageChange7"
  772. :page-sizes="[10]"
  773. layout="total, prev, pager, next"
  774. :total="parseInt(UnallotHomeworkInfo.pages)"
  775. :hide-on-single-page="true"
  776. ></el-pagination>
  777. </div>
  778. </div>
  779. </div>
  780. </div>
  781. <!-- 老师详情弹框 -->
  782. <div class="showModel" @click="allShowModel(3)" v-if="ModelAppor"></div>
  783. <div class="model" style="width:40%;left: 32.5%" v-if="ModelAppor">
  784. <div class="model-text">
  785. <div class="model-manager">
  786. <div v-if="this.Activeindex == false">批改老师</div>
  787. <div v-if="this.Activeindex == true">匹配知识点老师</div>
  788. <div>
  789. <img src="../../assets/img/del@2x.png" alt @click="allShowModel(3)" />
  790. </div>
  791. </div>
  792. <div class="model-items">
  793. <div class="model-items-first">
  794. <div>
  795. <img
  796. :src="BASE_URL + GetTeacherDetail.imgUrl"
  797. v-if="GetTeacherDetail.imgUrl"
  798. alt
  799. class="model-items-first-img"
  800. />
  801. <img
  802. src="../../assets/img/attt.png"
  803. v-if="!GetTeacherDetail.imgUrl"
  804. alt
  805. class="model-items-first-img"
  806. />
  807. <div class="model-items-first-left" style="display:inline-block">
  808. <!-- <div class="Onlinename">李小花</div>
  809. <div class="Online">(在线)</div>
  810. <div class="model-items-first-left-down">南方科技大学</div>-->
  811. <div class="Onlinename">{{GetTeacherDetail.name}}</div>
  812. <div v-if="GetTeacherDetail.status ===1" class="Online">(在线)</div>
  813. <div v-if="GetTeacherDetail.status ===0" class="Online">(离线)</div>
  814. <div class="model-items-first-left-down">{{GetTeacherDetail.school}}</div>
  815. </div>
  816. <div
  817. class="closeAnOpenId"
  818. style="display:inline-block"
  819. v-if="this.TeacherIdStatus ==1 || 2 && this.TeacherIdStatus !==3"
  820. >
  821. <div class="closeTeacherID" @click="isShow(GetTeacherDetail,6)">
  822. <span class="el-icon-close">封号</span>
  823. </div>
  824. <div v-if="this.Activeindex == false" class="UpTeacherID" @click="isShow(GetTeacherDetail,5)">
  825. <span class="el-icon-upload2">升级</span>
  826. </div>
  827. </div>
  828. <div style="display:inline-block" v-if="this.TeacherIdStatus ==3">
  829. <div class="UpTeacherID" @click="isShow(GetTeacherDetail,7)">
  830. <span class="el-icon-unlock">解封</span>
  831. </div>
  832. </div>
  833. </div>
  834. </div>
  835. <div class="model-items-other model-active" v-if="this.Activeindex == false">批改科目 : {{GetTeacherDetail.subject}}</div>
  836. <div class="model-items-other" v-if="this.Activeindex == true">批改科目 : {{GetTeacherDetail.subject}}</div>
  837. <div class="model-items-other" v-if="this.Activeindex == false">
  838. 批改年级 :
  839. <span v-for="(v, k) of arrGrade" :key="k">{{v}},</span>
  840. </div>
  841. <div class="model-items-other model-active">
  842. 可批改时间:
  843. <div class="buttonAppoval">
  844. <div class="TeacherApporTime" v-for="(v, k) of arrPeriod" v-show="v" :key="k">
  845. <span>{{v}}</span>
  846. </div>
  847. </div>
  848. </div>
  849. <div class="model-items-other">手机号 : {{GetTeacherDetail.phone}}</div>
  850. <div class="model-items-other model-active">上次登录时间 : {{GetTeacherDetail.lastOnlineTime}}</div>
  851. <div class="model-items-other" v-if="this.Activeindex == false">批改正确率 : {{GetTeacherDetail.accuracyRate}}</div>
  852. <div class="model-items-other" v-if="this.Activeindex == true">匹配正确率 : {{GetTeacherDetail.accuracyRate}}</div>
  853. <div class="model-items-other model-active">
  854. 被报错总次数 :
  855. <span style="color:red;">{{GetTeacherDetail.wrongCount}}次</span>
  856. </div>
  857. <div class="model-items-other">纠正次数 : {{GetTeacherDetail.correctNums}}次</div>
  858. <div
  859. class="model-items-other model-active" v-if="this.Activeindex == false"
  860. >家长满意度 : {{GetTeacherDetail.satisfactionDegree}}</div>
  861. <div style="display:inline-block">
  862. <div class="UpTeacherID" style="width:80px" @click="isShow(GetTeacherDetail,8)">
  863. <span class="el-icon-user-solid">重新分配组</span>
  864. </div>
  865. </div>
  866. </div>
  867. </div>
  868. </div>
  869. <!-- 学生详情弹框 -->
  870. <div class="showModel" @click="allShowModel(4)" v-if="ModelStudet"></div>
  871. <div class="model" style="width:35%;left:32.5%" v-if="ModelStudet">
  872. <div class="model-text">
  873. <div class="model-manager">
  874. <div>学生详情</div>
  875. <div>
  876. <img src="../../assets/img/del@2x.png" alt @click="allShowModel(4)" />
  877. </div>
  878. </div>
  879. <div class="model-items">
  880. <div class="model-items-first">
  881. <div>
  882. <img :src="BASE_URL + GetStudentDetail.imgUrl" alt class="model-items-first-img" />
  883. <img
  884. src="../../assets/img/attt.png"
  885. v-if="!GetStudentDetail.imgUrl"
  886. alt
  887. class="model-items-first-img"
  888. />
  889. <div class="model-items-first-left">
  890. <div class="Onlinename">{{GetStudentDetail.name}}</div>
  891. <div class="model-items-first-left-down">{{GetStudentDetail.school}}</div>
  892. </div>
  893. </div>
  894. </div>
  895. <div class="model-items-other model-active">所读年级 : {{GetStudentDetail.grade}}</div>
  896. <div class="model-items-other">性别 : {{GetStudentDetail.sex==1?'男':'女'}}</div>
  897. <div class="model-items-other model-active">联系方式 : {{GetStudentDetail.phone}}</div>
  898. </div>
  899. </div>
  900. </div>
  901. <!-- 升级校区管理员弹框 -->
  902. <div class="showModel" @click="allShowModel(5)" v-if="rePush"></div>
  903. <div class="modelspec" v-if="rePush">
  904. <div class="model-text">
  905. <div class="model-text-items">
  906. <div>
  907. <img
  908. src="../../assets/img/del@2x.png"
  909. alt
  910. @click="allShowModel(5)"
  911. class="model-text-items-close"
  912. />
  913. </div>
  914. <div>是否要将{{TeacherName}}老师升级为校区管理员?</div>
  915. </div>
  916. <div class="model-btn">
  917. <div class="model-btn-items main-gay" @click="RepushTeacherAcess()">是</div>
  918. <div class="model-btn-items model-grdeen" @click="allShowModel(5)">否</div>
  919. </div>
  920. </div>
  921. </div>
  922. <!-- 封号校区管理员弹框 -->
  923. <div class="showModel" @click="allShowModel(6)" v-if="closeID"></div>
  924. <div class="modelspec" v-if="closeID">
  925. <div class="model-text">
  926. <div class="model-text-items">
  927. <div>
  928. <img
  929. src="../../assets/img/del@2x.png"
  930. alt
  931. @click="allShowModel(6)"
  932. class="model-text-items-close"
  933. />
  934. </div>
  935. <div>是否要对{{TeacherName}}老师进行封号?</div>
  936. </div>
  937. <div class="model-btn">
  938. <div class="model-btn-items main-gay" @click="CloseTeacherId()">是</div>
  939. <div class="model-btn-items model-grdeen" @click="allShowModel(6)">否</div>
  940. </div>
  941. </div>
  942. </div>
  943. <!-- 解封校区管理员弹框 -->
  944. <div class="showModel" @click="allShowModel(7)" v-if="OpenID"></div>
  945. <div class="modelspec" v-if="OpenID">
  946. <div class="model-text">
  947. <div class="model-text-items">
  948. <div>
  949. <img
  950. src="../../assets/img/del@2x.png"
  951. alt
  952. @click="allShowModel(7)"
  953. class="model-text-items-close"
  954. />
  955. </div>
  956. <div>是否要对{{TeacherName}}老师进行解封?</div>
  957. </div>
  958. <div class="model-btn">
  959. <div class="model-btn-items main-gay" @click="OPenTeacherId()">是</div>
  960. <div class="model-btn-items model-grdeen" @click="allShowModel(7)">否</div>
  961. </div>
  962. </div>
  963. </div>
  964. <!--可分配小组管理员列表弹框-->
  965. <div class="showModel" @click="allShowModel(8)" v-if="AllotManagerModel"></div>
  966. <div class="model" style="width:45%;top:5%;" v-if="AllotManagerModel">
  967. <div class="model-text">
  968. <div class="model-manager">
  969. <div>可分配小组</div>
  970. <div>
  971. <img src="../../assets/img/del@2x.png" alt @click="allShowModel(8)" />
  972. </div>
  973. </div>
  974. <div class="allocation-items" v-for="(v, k) in getAllotManagerList.list" :key="k">
  975. <div class="model-items-left">
  976. <div class="model-items-left-top">
  977. <div>
  978. <img
  979. :src="BASE_URL + v.imgUrl"
  980. v-if="v.imgUrl"
  981. alt
  982. class="model-items-left-top-img"
  983. />
  984. <img
  985. src="../../assets/img/attt.png"
  986. v-if="!v.imgUrl"
  987. alt
  988. class="model-items-left-top-img"
  989. />
  990. <div style="display: inline-block;text-align: left;">
  991. <div class="teach-style-name">{{v.name}}</div>
  992. <div class="model-items-left-top-number">老师数量:{{v.teacherCount}}</div>
  993. </div>
  994. </div>
  995. <div>
  996. <el-button v-show="v.type && v.type === 1" disabled type="info">已分配</el-button>
  997. <el-button
  998. v-show="!v.type || v.type !== 1"
  999. @click="GOAllotTeacherToManager(v,k)"
  1000. type="success"
  1001. >分配</el-button>
  1002. </div>
  1003. </div>
  1004. </div>
  1005. </div>
  1006. <el-pagination
  1007. background
  1008. @size-change="handleSizeChange5"
  1009. @current-change="pageChange5"
  1010. :page-sizes="[10]"
  1011. layout="total, prev, pager, next"
  1012. :total="parseInt(getAllotManagerList.pages)"
  1013. :hide-on-single-page="true"
  1014. ></el-pagination>
  1015. </div>
  1016. </div>
  1017. <!--所有未批改可分配老师列表弹框-->
  1018. <div class="showModel" @click="allShowModel(9)" v-if="NoAllotManagerModel"></div>
  1019. <div class="model" style="width:45%; top:5%;" v-if="NoAllotManagerModel">
  1020. <div class="model-text">
  1021. <div class="model-manager">
  1022. <div>作业可分配老师</div>
  1023. <div class="teach-Allot">
  1024. <input
  1025. type="text"
  1026. placeholder="请输入老师名字"
  1027. v-model="AllinputValueAllot"
  1028. class="input-with-Allot"
  1029. />
  1030. <span @click="SearchNoapporvalTeacherAllot" class="SeachIcon el-icon-search"></span>
  1031. </div>
  1032. <div>
  1033. <img src="../../assets/img/del@2x.png" alt @click="allShowModel(9)" />
  1034. </div>
  1035. </div>
  1036. <div v-show="this.AllinputValueAllot =='' && TeacherAllotList.list.length ==0">
  1037. <img src="../../assets/img/NoTeacherAllot (1).png" alt />
  1038. <div style="display:block; margin-top:20px;">暂无可分配老师!</div>
  1039. </div>
  1040. <div v-show="this.AllinputValueAllot !=='' && TeacherAllotList.list.length ==0">
  1041. <img src="../../assets/img/SEARCH (1).png" alt />
  1042. <div style="display:block; margin-top:20px;">搜索不到老师!</div>
  1043. </div>
  1044. <div class="allocation-items" v-for="(v, k) in TeacherAllotList.list" :key="k">
  1045. <div class="model-items-left">
  1046. <div class="model-items-left-top">
  1047. <div>
  1048. <img
  1049. :src="BASE_URL + v.imgUrl"
  1050. v-if="v.imgUrl"
  1051. alt
  1052. class="model-items-left-top-img"
  1053. />
  1054. <img
  1055. src="../../assets/img/attt.png"
  1056. v-if="!v.imgUrl"
  1057. alt
  1058. class="model-items-left-top-img"
  1059. />
  1060. <div class="teach-style">
  1061. <div class="teach-style-name">{{v.name}}</div>
  1062. <div class="model-items-left-top-number">等待张数:{{v.waitCount}}</div>
  1063. </div>
  1064. </div>
  1065. <div>
  1066. <el-button v-show="v.type && v.type === 1" disabled type="info">已分配</el-button>
  1067. <el-button
  1068. v-show="!v.type || v.type !== 1"
  1069. @click="GOtoTeacherAllotAppovar(v,k)"
  1070. type="success"
  1071. >分配</el-button>
  1072. </div>
  1073. </div>
  1074. </div>
  1075. </div>
  1076. <el-pagination
  1077. background
  1078. @size-change="handleSizeChange6"
  1079. @current-change="pageChange6"
  1080. :page-sizes="[10]"
  1081. layout="total, prev, pager, next"
  1082. :total="parseInt(TeacherAllotList.pages)"
  1083. :hide-on-single-page="true"
  1084. ></el-pagination>
  1085. </div>
  1086. </div>
  1087. </div>
  1088. </template>
  1089. <script>
  1090. import { mapGetters, mapActions } from "vuex";
  1091. import { IMG_BASE_URL, APPOR_BASE_URL } from "@/ImgConfig";
  1092. export default {
  1093. components: {},
  1094. name: "actvResolveLabel",
  1095. props: {},
  1096. data() {
  1097. return {
  1098. unionid: localStorage.getItem("unionid"),
  1099. accessToken: localStorage.getItem("accessToken"), //token
  1100. managerId: "", // 超级管理员登陆ID
  1101. BASE_URL: IMG_BASE_URL,
  1102. APPOR_BASE_URL: APPOR_BASE_URL,
  1103. isDownindex: "",
  1104. currentPage: 1,
  1105. modelindex: 0,
  1106. TeacherIds: "", //封号,升级,解封
  1107. teacherClickId: "",
  1108. TeacherIdStatus: "",
  1109. TeacherName: "", //封号,升级,解封
  1110. values: [],
  1111. newDataDay: new Date(),
  1112. arrGrade: [],
  1113. Activeindex: false,
  1114. DayActiveindex: false,
  1115. MonthActiveindex: false,
  1116. OpenID: false, //解封校区管理员弹框
  1117. closeID: false, //封号校区管理员弹框
  1118. rePush: false, //升级校区管理员弹框
  1119. hiddenModel: false, //分配老师弹框
  1120. isPigai: false, //未批改作业弹框
  1121. ModelAppor: false, //批改老师详情信息弹框
  1122. AllotManagerModel: false, //可分配小组管理员列表弹框
  1123. NoAllotManagerModel: false, //所有未批改可分配老师列表弹框
  1124. ModelStudet: false, //学生详情弹框
  1125. isDown: false,
  1126. gardeListDown: false,
  1127. gardeListDownage: false,
  1128. selecttitlepag: "选年级",
  1129. selecttitleage: "选科目",
  1130. teachList: [],
  1131. TeacherType: 8,
  1132. TeacherCheackStyle: 2,
  1133. TeacherIdType: 8,
  1134. pickerOptions0: {
  1135. disabledDate(time) {
  1136. return time.getTime() > Date.now() - 8.64e6;
  1137. }
  1138. },
  1139. options: [
  1140. {
  1141. value: "0",
  1142. label: "1~2年级",
  1143. str: "一年级,二年级"
  1144. },
  1145. {
  1146. value: "1",
  1147. label: "3~4年级",
  1148. str: "三年级,四年级"
  1149. },
  1150. {
  1151. value: "2",
  1152. label: "5~6年级",
  1153. str: "五年级,六年级"
  1154. },
  1155. {
  1156. value: "3",
  1157. label: "全部"
  1158. // str:'全部'
  1159. }
  1160. ],
  1161. grades: [
  1162. {
  1163. value: "0",
  1164. label: "语文",
  1165. str: "语文"
  1166. },
  1167. {
  1168. value: "1",
  1169. label: "数学",
  1170. str: "数学"
  1171. },
  1172. {
  1173. value: "2",
  1174. label: "英语",
  1175. str: "英语"
  1176. },
  1177. {
  1178. value: "3",
  1179. label: "全部"
  1180. // str:""
  1181. }
  1182. ],
  1183. ItemList: [
  1184. {
  1185. text: "数据监控"
  1186. },
  1187. {
  1188. text: "当天"
  1189. },
  1190. {
  1191. text: "当月"
  1192. }
  1193. ],
  1194. filters: {
  1195. //超级管理员的当天数据
  1196. // 排序
  1197. MaxtimeValue: "",
  1198. OptionsValue: "",
  1199. gradesValue: "",
  1200. inputValue: "",
  1201. pageNo: 1,
  1202. pageSize: 10,
  1203. count: 100,
  1204. orderField: "",
  1205. orderAD: "",
  1206. managerId: ""
  1207. },
  1208. filters1: {
  1209. //超级管理员的当天数据
  1210. // 排序
  1211. MaxtimeValue: this.dayFormatDate(),
  1212. OptionsValue: "",
  1213. gradesValue: "",
  1214. inputValue: "",
  1215. pageNo: 1,
  1216. pageSize: 10,
  1217. count: 0,
  1218. orderField: "",
  1219. orderAD: ""
  1220. },
  1221. filters2: {
  1222. //超级管理员的当月数据
  1223. // 排序
  1224. MaxtimeValue: this.monthFormatDate(),
  1225. OptionsValue: "",
  1226. gradesValue: "",
  1227. inputValue: "",
  1228. pageNo: 1,
  1229. pageSize: 10,
  1230. count: 0,
  1231. orderField: "",
  1232. orderAD: ""
  1233. },
  1234. filters3: {
  1235. //超级管理员查看学员列表
  1236. // 排序
  1237. MaxtimeValue: "",
  1238. OptionsValue: "",
  1239. gradesValue: "",
  1240. inputValue: "",
  1241. pageNo: 1,
  1242. pageSize: 10,
  1243. count: 0,
  1244. orderField: "",
  1245. orderAD: ""
  1246. },
  1247. homeworkLIst: {
  1248. pageNo: 1,
  1249. pageSize: 10,
  1250. teacherId: ""
  1251. },
  1252. allotList: {
  1253. Allotgarde: "",
  1254. Allotsubjct: "",
  1255. pageNo: 1,
  1256. pageSize: 10,
  1257. homeworkId: ""
  1258. },
  1259. CurrthomeworkIdStatus: "",
  1260. inputValueAllot: "",
  1261. AllinputValueAllot: "",
  1262. allNoapprovalList: {
  1263. Allotgarde: "",
  1264. Allotsubjct: "",
  1265. pageNo: 1,
  1266. pageSize: 10,
  1267. homeworkId: "",
  1268. teacherId: ""
  1269. },
  1270. AllotManagerList: {
  1271. pageNo: 1,
  1272. pageSize: 10
  1273. },
  1274. AllotButton: ""
  1275. };
  1276. },
  1277. created() {
  1278. const managerId = this.$route.query.managerId;
  1279. this.managerId = managerId;
  1280. },
  1281. computed: {
  1282. ...mapGetters([
  1283. "getUser",
  1284. "monitorTeacherList",
  1285. "TeacherHomeworkList",
  1286. "TeacherAllotList",
  1287. "TeacherAllotstatus",
  1288. "DayTeacherList",
  1289. "MothTeacherList",
  1290. "UnallotHomeworkInfo",
  1291. "GetTeacherDetail",
  1292. "GetStudentDetail",
  1293. "getTeacherIdStatus",
  1294. "getAllotManagerList",
  1295. "BeforetoTeacherstatues",
  1296. "InfoTeacherstatues",
  1297. "ApporingTeacherstatues",
  1298. "currtHomeworkStatus"
  1299. ])
  1300. },
  1301. methods: {
  1302. ...mapActions(["setUser"]),
  1303. // 点击下拉
  1304. dropDown(v, k) {
  1305. this.isDown = !this.isDown;
  1306. this.isDownindex = k;
  1307. this.TeacherHomework(v);
  1308. },
  1309. // // 分页
  1310. // pageChange(val) {
  1311. // this.filters.pageNo = val;
  1312. // this.itemListReshow();
  1313. // },
  1314. // changeDateSlot(dateSlot) {
  1315. // if (dateSlot) {
  1316. // this.filters.startDate = dateSlot[0];
  1317. // this.filters.endDate = dateSlot[1];
  1318. // } else {
  1319. // this.filters.startDate = null;
  1320. // this.filters.endDate = null;
  1321. // }
  1322. // },
  1323. // 获取校区管理员监控数据
  1324. async InfoWatch() {
  1325. this.isDown = false;
  1326. this.$store.dispatch("InfoWatch", {
  1327. grade: this.filters.OptionsValue,
  1328. subject: this.filters.gradesValue,
  1329. teacherName: this.filters.inputValue,
  1330. maxCreateTime: "",
  1331. pageNo: this.filters.pageNo,
  1332. pageSize: this.filters.pageSize,
  1333. managerId: this.managerId || ""
  1334. });
  1335. // this.monitorTeacherList.list = (res => {
  1336. // const d = [];
  1337. // for (let i in res) {
  1338. // d.push( {
  1339. // isShow:false,
  1340. // bannedTime:res[i].bannedTime,
  1341. // imgUrl:res[i].imgUrl,
  1342. // maxWaitTime:res[i].maxWaitTime,
  1343. // name:res[i].name,
  1344. // role:res[i].role,
  1345. // status:res[i].status,
  1346. // respSpeed:res[i].respSpeed,
  1347. // teacherId:res[i].teacherId,
  1348. // totalCorrectTime:res[i].totalCorrectTime,
  1349. // waitCount:res[i].waitCount,
  1350. // })
  1351. // }
  1352. // return d
  1353. // })(this.monitorTeacherList.list)
  1354. // this.teachList = this.monitorTeacherList.list;
  1355. // console.log(this.teachList)
  1356. },
  1357. //
  1358. // 获取校区管理员当天数据条件筛选
  1359. async SearchInfoWatchDay() {
  1360. this.filters1.pageNo = 1;
  1361. this.InfoWatchDay();
  1362. },
  1363. async timeInfoWatchDay() {
  1364. this.filters1.pageNo = 1;
  1365. this.InfoWatchDay();
  1366. },
  1367. // 获取校区管理员当天数据
  1368. async InfoWatchDay() {
  1369. this.$store.dispatch("InfoWatchDay", {
  1370. grade: this.filters.OptionsValue,
  1371. subject: this.filters.gradesValue,
  1372. teacherName: this.filters1.inputValue,
  1373. maxCreateTime: "",
  1374. oneDay: this.filters1.MaxtimeValue,
  1375. pageNo: this.filters1.pageNo,
  1376. pageSize: this.filters1.pageSize,
  1377. managerId: this.managerId || ""
  1378. });
  1379. },
  1380. // 获取校区管理员当月数据条件筛选
  1381. async SearchInfoWatchMoth() {
  1382. this.filters2.pageNo = 1;
  1383. this.InfoWatchMoth();
  1384. },
  1385. async TimeInfoWatchMoth() {
  1386. this.filters2.pageNo = 1;
  1387. this.InfoWatchMoth();
  1388. },
  1389. // 获取校区管理员当月数据
  1390. async InfoWatchMoth() {
  1391. this.$store.dispatch("InfoWatchMoth", {
  1392. grade: this.filters.OptionsValue,
  1393. subject: this.filters.gradesValue,
  1394. teacherName: this.filters2.inputValue,
  1395. maxCreateTime: "",
  1396. oneMonth: this.filters2.MaxtimeValue,
  1397. pageNo: this.filters2.pageNo,
  1398. pageSize: this.filters2.pageSize,
  1399. managerId: this.managerId || ""
  1400. });
  1401. },
  1402. // 查看老师批改作业列表
  1403. async TeacherHomework(v) {
  1404. this.homeworkLIst.teacherId = v.teacherId;
  1405. this.$store.dispatch("TeacherHomeworkList", {
  1406. teacherId: v.teacherId,
  1407. maxCreateTime: this.filters.MaxtimeValue,
  1408. pageNo: 1,
  1409. pageSize: this.homeworkLIst.pageSize
  1410. });
  1411. },
  1412. // 分页查看老师批改作业列表
  1413. async TeacherHomeworkfy() {
  1414. this.$store.dispatch("TeacherHomeworkList", {
  1415. teacherId: this.homeworkLIst.teacherId,
  1416. maxCreateTime: this.filters.MaxtimeValue,
  1417. pageNo: this.homeworkLIst.pageNo,
  1418. pageSize: this.homeworkLIst.pageSize
  1419. });
  1420. },
  1421. // 可分配老师列表
  1422. async TeacherAllot(v) {
  1423. this.$store.dispatch("TeacherAllotList", {
  1424. grade: v.grade,
  1425. subject: v.subject,
  1426. homeworkId: v.homeworkId,
  1427. originTeacherId: this.homeworkLIst.teacherId,
  1428. maxCreateTime: this.filters.MaxtimeValue,
  1429. pageNo: this.allotList.pageNo,
  1430. pageSize: this.allotList.pageSize,
  1431. name: this.inputValueAllot,
  1432. type: this.TeacherType
  1433. });
  1434. },
  1435. // 搜索可分配老师列表
  1436. async SearchTeacherAllot() {
  1437. this.$store.dispatch("TeacherAllotList", {
  1438. grade: this.allotList.Allotgarde,
  1439. subject: this.allotList.Allotsubjct,
  1440. homeworkId: this.allotList.homeworkId,
  1441. originTeacherId: this.homeworkLIst.teacherId,
  1442. maxCreateTime: this.filters.MaxtimeValue,
  1443. pageNo: this.allotList.pageNo,
  1444. pageSize: this.allotList.pageSize,
  1445. name: this.inputValueAllot,
  1446. type: this.TeacherType
  1447. });
  1448. },
  1449. // 可分配老师列表分页
  1450. async TeacherAllotfy() {
  1451. this.$store.dispatch("TeacherAllotList", {
  1452. grade: this.allotList.Allotgarde,
  1453. subject: this.allotList.Allotsubjct,
  1454. homeworkId: this.allotList.homeworkId,
  1455. maxCreateTime: this.filters.MaxtimeValue,
  1456. originTeacherId: this.homeworkLIst.teacherId,
  1457. pageNo: this.allotList.pageNo,
  1458. pageSize: this.allotList.pageSize,
  1459. name: this.inputValueAllot,
  1460. type: this.TeacherType
  1461. });
  1462. },
  1463. // 未批改作业列表列表
  1464. async UnallotHomework() {
  1465. this.$store.dispatch("UnallotHomeworkList", {
  1466. maxCreateTime: this.filters.MaxtimeValue,
  1467. pageNo: this.homeworkLIst.pageNo,
  1468. pageSize: this.homeworkLIst.pageSize,
  1469. managerId: this.managerId
  1470. });
  1471. },
  1472. // 未匹配作业列表列表
  1473. async unmatchHomework() {
  1474. this.$store.dispatch("UnmatchHomeworkList", {
  1475. maxCreateTime: this.filters.MaxtimeValue,
  1476. pageNo: this.homeworkLIst.pageNo,
  1477. pageSize: this.homeworkLIst.pageSize,
  1478. managerId: this.managerId
  1479. });
  1480. },
  1481. // 未批改作业可分配老师列表
  1482. async NoapporvalTeacherAllot(v) {
  1483. this.$store.dispatch("TeacherAllotList", {
  1484. grade: v.grade || this.allNoapprovalList.Allotgarde,
  1485. subject: v.subject || this.allNoapprovalList.Allotsubjct,
  1486. homeworkId: v.homeworkId,
  1487. originTeacherId: v.teacherId,
  1488. maxCreateTime: this.filters.MaxtimeValue,
  1489. pageNo: 1,
  1490. pageSize: this.allNoapprovalList.pageSize,
  1491. name: this.AllinputValueAllot,
  1492. type: this.TeacherType
  1493. });
  1494. },
  1495. // 查询搜索未批改作业可分配老师列表
  1496. async SearchNoapporvalTeacherAllot() {
  1497. this.$store.dispatch("TeacherAllotList", {
  1498. grade: this.allNoapprovalList.Allotgarde,
  1499. subject: this.allNoapprovalList.Allotsubjct,
  1500. homeworkId: this.allNoapprovalList.homeworkId,
  1501. originTeacherId: this.allNoapprovalList.teacherId,
  1502. maxCreateTime: this.filters.MaxtimeValue,
  1503. pageNo: 1,
  1504. pageSize: this.allNoapprovalList.pageSize,
  1505. name: this.AllinputValueAllot,
  1506. type: this.TeacherType
  1507. });
  1508. },
  1509. // 质检当前作业状态
  1510. async CheackHomeworkStatus(v) {
  1511. let CurrthomeworkIdStatus = v.homeworkId;
  1512. this.CurrthomeworkIdStatus = CurrthomeworkIdStatus;
  1513. this.$store.dispatch("CheckCurrHomeworkStatus", {
  1514. homeworkId: v.homeworkId,
  1515. originTeacherId: this.homeworkLIst.teacherId
  1516. });
  1517. },
  1518. // 未批改作业可分配老师分页列表
  1519. async NoapporvalTeacherAllotfy() {
  1520. this.$store.dispatch("TeacherAllotList", {
  1521. grade: this.allNoapprovalList.Allotgarde,
  1522. subject: this.allNoapprovalList.Allotsubjct,
  1523. homeworkId: this.allNoapprovalList.homeworkId,
  1524. originTeacherId: this.allNoapprovalList.teacherId,
  1525. maxCreateTime: this.filters.MaxtimeValue,
  1526. pageNo: this.allNoapprovalList.pageNo,
  1527. pageSize: this.allNoapprovalList.pageSize,
  1528. name: this.AllinputValueAllot,
  1529. type: this.TeacherType
  1530. });
  1531. },
  1532. // 分配老师
  1533. async GOtoTeacherAllot(v, k) {
  1534. this.$store.dispatch("toTeacherAllot", {
  1535. teacherId: v.teacherId,
  1536. homeworkId: this.allotList.homeworkId,
  1537. originTeacherId: this.homeworkLIst.teacherId,
  1538. type: this.TeacherType
  1539. });
  1540. v.type = 1;
  1541. this.$set(this.TeacherAllotList.list, k, v);
  1542. this.hiddenModel = false;
  1543. },
  1544. // 未批改作业分配老师
  1545. async GOtoTeacherAllotAppovar(v, k) {
  1546. this.$store.dispatch("toTeacherAllot", {
  1547. teacherId: v.teacherId,
  1548. homeworkId: this.allNoapprovalList.homeworkId,
  1549. originTeacherId: this.allNoapprovalList.teacherId,
  1550. type: this.TeacherType
  1551. });
  1552. v.type = 1;
  1553. this.$set(this.TeacherAllotList.list, k, v);
  1554. this.NoAllotManagerModel = false;
  1555. this.homeworkLIst.pageNo = 1;
  1556. this.isPigai = true;
  1557. },
  1558. // 封号
  1559. async CloseTeacherId() {
  1560. this.closeID = false;
  1561. this.$store.dispatch("CloseIdTeacher", {
  1562. teacherId: this.TeacherIds,
  1563. operate: 2,
  1564. type: this.TeacherIdType
  1565. });
  1566. },
  1567. // 升级
  1568. async RepushTeacherAcess() {
  1569. this.rePush = false;
  1570. this.$store.dispatch("RepushTeacher", {
  1571. teacherId: this.TeacherIds,
  1572. operate: 1,
  1573. type: this.TeacherIdType
  1574. });
  1575. },
  1576. // 解封
  1577. async OPenTeacherId() {
  1578. this.OpenID = false;
  1579. this.$store.dispatch("OpenIdTeacher", {
  1580. teacherId: this.TeacherIds,
  1581. operate: 3,
  1582. type: this.TeacherIdType
  1583. });
  1584. },
  1585. // 查看老师详情信息
  1586. async GetTeacherInfo(v) {
  1587. this.$store.dispatch("GetTeacherDetail", {
  1588. teacherId: v.teacherId
  1589. });
  1590. },
  1591. async pesiorFun() {
  1592. var arr = this.GetTeacherDetail.grade.split(",");
  1593. this.arrPeriod = this.GetTeacherDetail.period.split(",");
  1594. var arrList = [];
  1595. for (var i in arr) {
  1596. if (arr[i] == "一年级" || arr[i] == "二年级") {
  1597. arrList.push("1-2年级");
  1598. } else if (arr[i] == "三年级" || arr[i] == "四年级") {
  1599. arrList.push("3-4年级");
  1600. } else if (arr[i] == "五年级" || arr[i] == "六年级") {
  1601. arrList.push("5-6年级");
  1602. }
  1603. }
  1604. this.arrGrade = this.uniq(arrList) || [];
  1605. },
  1606. // 查看学生详情信息
  1607. async GetStudentInfo(v) {
  1608. this.$store.dispatch("GetStudentDetail", {
  1609. vipId: v.vipId
  1610. });
  1611. },
  1612. // 可分配小组列表
  1613. async GetAllotManagerInfo() {
  1614. this.$store.dispatch("GetAllotManagerList", {
  1615. maxCreateTime: this.filters.MaxtimeValue,
  1616. pageNo: this.AllotManagerList.pageNo,
  1617. pageSize: this.AllotManagerList.pageSize
  1618. });
  1619. },
  1620. // 分配老师到管理员名下
  1621. async GOAllotTeacherToManager(v, k) {
  1622. this.$store.dispatch("AllotTeacherToManager", {
  1623. managerId: v.managerId,
  1624. teacherId: this.TeacherIds
  1625. });
  1626. v.type = 1;
  1627. this.$set(this.getAllotManagerList.list, k, v);
  1628. this.AllotManagerModel = false;
  1629. },
  1630. selectTitle(k) {
  1631. this.modelindex = k;
  1632. if (k === 0) {
  1633. this.TeacherType = 8;
  1634. this.Activeindex = false;
  1635. this.filters.pageNo = 1;
  1636. this.currentPage = 1;
  1637. this.InfoWatch();
  1638. }
  1639. if (k === 1) {
  1640. this.DayActiveindex = false;
  1641. this.filters1.pageNo = 1;
  1642. this.currentPage = 1;
  1643. this.InfoWatchDay();
  1644. }
  1645. if (k === 2) {
  1646. this.MonthActiveindex = false;
  1647. this.filters2.pageNo = 1;
  1648. this.currentPage = 1;
  1649. this.InfoWatchMoth();
  1650. }
  1651. },
  1652. isShow(v, str) {
  1653. let _this = this;
  1654. // scroll= (window).scrollTop();
  1655. // $ ( ‘html’ ).css({ ‘overflow’ : ’hidden’ , ’position’: ’fixed’, ’top’: ’- ‘+scroll+’px’})
  1656. if (str == 1) {
  1657. _this.hiddenModel = true;
  1658. this.allotList.pageNo = 1;
  1659. this.inputValueAllot = "";
  1660. this.TeacherAllot(v);
  1661. this.allotList.Allotgarde = v.grade;
  1662. this.allotList.Allotsubjct = v.subject;
  1663. this.allotList.homeworkId = v.homeworkId;
  1664. } else if (str == 2) {
  1665. _this.isPigai = true;
  1666. this.homeworkLIst.pageNo = 1;
  1667. this.UnallotHomework();
  1668. } else if (str == 3) {
  1669. this.TeacherIdStatus = v.status;
  1670. this.TeacherIds = v.teacherId;
  1671. this.TeacherName = v.name;
  1672. _this.ModelAppor = true;
  1673. this.GetTeacherInfo(v);
  1674. } else if (str == 4) {
  1675. _this.ModelStudet = true;
  1676. this.GetStudentInfo(v);
  1677. } else if (str == 5) {
  1678. _this.rePush = true;
  1679. _this.ModelAppor = false;
  1680. } else if (str == 6) {
  1681. _this.closeID = true;
  1682. _this.ModelAppor = false;
  1683. } else if (str == 7) {
  1684. _this.OpenID = true;
  1685. _this.ModelAppor = false;
  1686. } else if (str == 8) {
  1687. _this.AllotManagerModel = true;
  1688. _this.ModelAppor = false;
  1689. this.GetAllotManagerInfo();
  1690. } else if (str == 9) {
  1691. this.allNoapprovalList.Allotgarde = v.grade;
  1692. this.allNoapprovalList.Allotsubjct = v.subject;
  1693. this.allNoapprovalList.homeworkId = v.homeworkId;
  1694. this.allNoapprovalList.teacherId = v.teacherId;
  1695. _this.NoAllotManagerModel = true;
  1696. _this.isPigai = false;
  1697. this.AllinputValueAllot = "";
  1698. this.NoapporvalTeacherAllot(v);
  1699. // this.GetAllotManagerInfo()
  1700. } else if (str == 10) {
  1701. _this.isPigai = true;
  1702. this.homeworkLIst.pageNo = 1;
  1703. this.unmatchHomework();
  1704. }
  1705. },
  1706. // 去分配
  1707. allocation() {
  1708. var noHomework = document.getElementById("noHomework");
  1709. this.InfoWatch();
  1710. if (this.monitorTeacherList.unCorrectCount == 0) {
  1711. noHomework.style.display = "block";
  1712. setTimeout(function() {
  1713. noHomework.style.display = "none";
  1714. }, 1000);
  1715. } else {
  1716. this.isShow(this.monitorTeacherList, 2);
  1717. }
  1718. },
  1719. // 未匹配作业去分配
  1720. allocationApporval() {
  1721. var noHomework = document.getElementById("noHomework");
  1722. this.InfoKonwTeacherWatchList();
  1723. if (this.monitorTeacherList.unCorrectCount == 0) {
  1724. noHomework.style.display = "block";
  1725. setTimeout(function() {
  1726. noHomework.style.display = "none";
  1727. }, 1000);
  1728. } else {
  1729. this.isShow(this.monitorTeacherList, 10);
  1730. }
  1731. },
  1732. //关闭弹框
  1733. allShowModel(str) {
  1734. let _this = this;
  1735. if (str == 1) {
  1736. _this.hiddenModel = false;
  1737. } else if (str == 2) {
  1738. _this.isPigai = false;
  1739. } else if (str == 3) {
  1740. _this.ModelAppor = false;
  1741. } else if (str == 4) {
  1742. _this.ModelStudet = false;
  1743. } else if (str == 5) {
  1744. _this.rePush = false;
  1745. } else if (str == 6) {
  1746. _this.closeID = false;
  1747. } else if (str == 7) {
  1748. _this.OpenID = false;
  1749. } else if (str == 8) {
  1750. _this.AllotManagerModel = false;
  1751. } else if (str == 9) {
  1752. _this.NoAllotManagerModel = false;
  1753. }
  1754. },
  1755. // 数组去重
  1756. uniq(array) {
  1757. var temp = []; //一个新的临时数组
  1758. for (var i = 0; i < array.length; i++) {
  1759. if (temp.indexOf(array[i]) == -1) {
  1760. temp.push(array[i]);
  1761. }
  1762. }
  1763. return temp;
  1764. },
  1765. // 回退
  1766. routerback() {
  1767. this.$router.back(-1);
  1768. },
  1769. // 输入框按键方法
  1770. keyCodeMethod(e) {
  1771. if (e.keyCode === 13) return this.itemListReshow();
  1772. },
  1773. expandChange(row, expandRows) {
  1774. for (let item of expandRows) {
  1775. if (row === item) {
  1776. this.expandRowKeys = [row.nodId];
  1777. }
  1778. }
  1779. },
  1780. changeDateSlot(dateSlot) {
  1781. if (dateSlot) {
  1782. this.filters.startDate = dateSlot[0];
  1783. this.filters.endDate = dateSlot[1];
  1784. } else {
  1785. this.filters.startDate = null;
  1786. this.filters.endDate = null;
  1787. }
  1788. },
  1789. actvTypeChange(typeList) {
  1790. switch (typeList.length) {
  1791. case 1:
  1792. this.filters.actvType = typeList[0];
  1793. this.filters.actvSmallType = null;
  1794. break;
  1795. case 2:
  1796. this.filters.actvType = null;
  1797. this.filters.actvSmallType = typeList[1];
  1798. break;
  1799. default:
  1800. this.filters.actvType = null;
  1801. this.filters.actvSmallType = null;
  1802. break;
  1803. }
  1804. },
  1805. // 手动批改
  1806. handApor() {
  1807. this.isDown = false;
  1808. this.TeacherType = 8;
  1809. this.TeacherCheackStyle = 2;
  1810. this.TeacherIdType = 8;
  1811. this.Activeindex = false;
  1812. this.filters.pageNo = 1;
  1813. this.filters.OptionsValue = '';
  1814. this.filters.gradesValue = '';
  1815. this.filters.inputValue = '';
  1816. // this.showApporAways = false;
  1817. this.InfoWatch();
  1818. },
  1819. // 匹配知识点老师
  1820. AutoApor() {
  1821. this.isDown = false;
  1822. this.TeacherType = 13;
  1823. this.TeacherIdType = 13;
  1824. this.TeacherCheackStyle = 4;
  1825. this.Activeindex = true;
  1826. this.filters.OptionsValue = '';
  1827. this.filters.gradesValue = '';
  1828. this.filters.inputValue = '';
  1829. // this.showApporAways = true;
  1830. this.filters.pageNo = 1;
  1831. this.InfoKonwTeacherWatchList();
  1832. },
  1833. InfoKonwTeacherWatchList() {
  1834. this.$store.dispatch("InfoKonwTeacherWatch", {
  1835. grade: this.filters.OptionsValue,
  1836. subject: this.filters.gradesValue,
  1837. teacherName: this.filters.inputValue,
  1838. maxCreateTime: "",
  1839. pageNo: this.filters.pageNo,
  1840. pageSize: this.filters.pageSize,
  1841. managerId: this.managerId || ""
  1842. });
  1843. },
  1844. // 当天数据手动批改
  1845. DayhandApor() {
  1846. this.DayActiveindex = false;
  1847. this.filters1.pageNo = 1;
  1848. this.filters1.MaxtimeValue = '';
  1849. this.filters1.inputValue = '';
  1850. // this.showApporAways = false;
  1851. this.InfoWatchDay();
  1852. },
  1853. // 当天数据匹配知识点老师
  1854. DayAutoApor() {
  1855. this.DayActiveindex = true;
  1856. // this.showApporAways = true;
  1857. this.filters1.MaxtimeValue = '';
  1858. this.filters1.inputValue = '';
  1859. this.filters1.pageNo = 1;
  1860. this.InfoKonwTeacherDayApprvalList();
  1861. },
  1862. // 当天数据匹配知识点老师
  1863. InfoKonwTeacherDayApprvalList() {
  1864. this.$store.dispatch("MonitorKnowTeacherOneDayInfo", {
  1865. grade: this.filters.OptionsValue,
  1866. subject: this.filters.gradesValue,
  1867. teacherName: this.filters1.inputValue,
  1868. maxCreateTime: "",
  1869. oneDay: this.filters1.MaxtimeValue,
  1870. pageNo: this.filters1.pageNo,
  1871. pageSize: this.filters1.pageSize,
  1872. managerId: this.managerId || ""
  1873. });
  1874. },
  1875. InfoWatchDayDatas (){
  1876. if (this.DayActiveindex == false){
  1877. this.InfoWatchDay();
  1878. }
  1879. if (this.DayActiveindex == true){
  1880. this.InfoKonwTeacherDayApprvalList()
  1881. }
  1882. },
  1883. // 当月数据手动批改
  1884. MonthhandApor() {
  1885. this.MonthActiveindex = false;
  1886. this.filters2.pageNo = 1;
  1887. this.filters2.MaxtimeValue = '';
  1888. this.filters2.inputValue = '';
  1889. // this.showApporAways = false;
  1890. this.InfoWatchMoth();
  1891. },
  1892. // 当月数据匹配知识点老师
  1893. MonthAutoApor() {
  1894. this.MonthActiveindex = true;
  1895. // this.showApporAways = true;
  1896. this.filters2.MaxtimeValue = '';
  1897. this.filters2.inputValue = '';
  1898. this.filters2.pageNo = 1;
  1899. this.InfoKonwTeacherMonthApprvalList();
  1900. },
  1901. // 当月数据匹配知识点老师
  1902. InfoKonwTeacherMonthApprvalList() {
  1903. this.$store.dispatch("MonitorKnowTeacherOneMonthInfo", {
  1904. grade: this.filters.OptionsValue,
  1905. subject: this.filters.gradesValue,
  1906. teacherName: this.filters2.inputValue,
  1907. maxCreateTime: "",
  1908. oneMonth: this.filters2.MaxtimeValue,
  1909. pageNo: this.filters2.pageNo,
  1910. pageSize: this.filters2.pageSize,
  1911. managerId: this.managerId || ""
  1912. });
  1913. },
  1914. InfoWatchMonthDatas (){
  1915. if (this.MonthActiveindex == false){
  1916. this.InfoWatchMoth();
  1917. }
  1918. if (this.MonthActiveindex == true){
  1919. this.InfoKonwTeacherMonthApprvalList()
  1920. }
  1921. },
  1922. WatchhandleSizeChange(val) {
  1923. this.filters.pageSize = val;
  1924. this.InfoKonwTeacherWatchList();
  1925. },
  1926. handleSizeDayChange1(val) {
  1927. this.filters1.pageSize = val;
  1928. this.InfoKonwTeacherDayApprvalList();
  1929. },
  1930. handleSizeMonthChange2(val) {
  1931. this.filters2.pageSize = val;
  1932. this.InfoKonwTeacherMonthApprvalList();
  1933. },
  1934. handleSizeChange(val) {
  1935. this.filters.pageSize = val;
  1936. this.InfoWatch();
  1937. },
  1938. handleSizeChange1(val) {
  1939. this.filters1.pageSize = val;
  1940. this.InfoWatchDay();
  1941. },
  1942. handleSizeChange2(val) {
  1943. this.filters2.pageSize = val;
  1944. this.InfoWatchMoth();
  1945. },
  1946. handleSizeChange3(val) {
  1947. this.homeworkLIst.pageSize = val;
  1948. this.TeacherHomeworkfy();
  1949. },
  1950. handleSizeChange4(val) {
  1951. this.allotList.pageSize = val;
  1952. this.TeacherAllotfy();
  1953. },
  1954. handleSizeChange5(val) {
  1955. this.AllotManagerList.pageSize = val;
  1956. this.GetAllotManagerInfo();
  1957. },
  1958. handleSizeChange6(val) {
  1959. this.allNoapprovalList.pageSize = val;
  1960. this.NoapporvalTeacherAllotfy();
  1961. },
  1962. handleSizeChange7(val) {
  1963. this.homeworkLIst.pageSize = val;
  1964. this.UnallotHomework();
  1965. },
  1966. WatchApporvalhandleSizeChange7(val) {
  1967. this.homeworkLIst.pageSize = val;
  1968. this.unmatchHomework();
  1969. },
  1970. WatchpageChange(val) {
  1971. this.filters.pageNo = val;
  1972. this.InfoKonwTeacherWatchList();
  1973. },
  1974. pageDayChange1(val) {
  1975. this.filters1.pageNo = val;
  1976. this.InfoKonwTeacherDayApprvalList();
  1977. },
  1978. pageMonthChange2(val) {
  1979. this.filters2.pageNo = val;
  1980. this.InfoKonwTeacherMonthApprvalList();
  1981. },
  1982. // 分页InfoKonwTeacherMonthApprvalList
  1983. pageChange(val) {
  1984. this.filters.pageNo = val;
  1985. this.InfoWatch();
  1986. }, // 分页
  1987. pageChange1(val) {
  1988. this.filters1.pageNo = val;
  1989. this.InfoWatchDay();
  1990. }, // 分页
  1991. pageChange2(val) {
  1992. this.filters2.pageNo = val;
  1993. this.InfoWatchMoth();
  1994. },
  1995. pageChange3(val) {
  1996. this.homeworkLIst.pageNo = val;
  1997. this.TeacherHomeworkfy();
  1998. },
  1999. pageChange4(val) {
  2000. this.allotList.pageNo = val;
  2001. this.TeacherAllotfy();
  2002. },
  2003. pageChange5(val) {
  2004. this.AllotManagerList.pageNo = val;
  2005. this.GetAllotManagerInfo();
  2006. },
  2007. pageChange6(val) {
  2008. this.allNoapprovalList.pageNo = val;
  2009. this.NoapporvalTeacherAllotfy();
  2010. },
  2011. pageChange7(val) {
  2012. this.homeworkLIst.pageNo = val;
  2013. this.UnallotHomework();
  2014. },
  2015. WatchApporvalpageChange7(val) {
  2016. this.homeworkLIst.pageNo = val;
  2017. this.unmatchHomework();
  2018. },
  2019. // 排序
  2020. sortChange(sort) {
  2021. this.filters.orderField = sort.prop;
  2022. this.filters.orderAD = sort.order != null ? sort.order : "";
  2023. this.itemListReshow();
  2024. },
  2025. //年月日时间封装
  2026. dayFormatDate: function() {
  2027. let date = new Date();
  2028. let y = date.getFullYear();
  2029. let MM = date.getMonth() + 1;
  2030. MM = MM < 10 ? "0" + MM : MM;
  2031. let d = date.getDate();
  2032. d = d < 10 ? "0" + d : d;
  2033. return y + "-" + MM + "-" + d;
  2034. },
  2035. //年月时间封装
  2036. monthFormatDate: function() {
  2037. let date = new Date();
  2038. let y = date.getFullYear();
  2039. let MM = date.getMonth() + 1;
  2040. MM = MM < 10 ? "0" + MM : MM;
  2041. return y + "-" + MM;
  2042. },
  2043. // 去分配前刷新老师批改作业列表
  2044. async RefreshTeacherHomework() {
  2045. this.$store.dispatch("TeacherHomeworkList", {
  2046. teacherId: this.homeworkLIst.teacherId,
  2047. maxCreateTime: "",
  2048. pageNo: 1,
  2049. pageSize: this.homeworkLIst.pageSize
  2050. });
  2051. },
  2052. selectStyle() {
  2053. this.gardeListDown = true;
  2054. },
  2055. outStyle() {
  2056. this.gardeListDown = false;
  2057. },
  2058. selectTip(item) {
  2059. this.filters.OptionsValue = item.str;
  2060. if (this.Activeindex == false){
  2061. this.InfoWatch();
  2062. }
  2063. if (this.Activeindex == true){
  2064. this.InfoKonwTeacherWatchList();
  2065. }
  2066. this.selecttitlepag = item.label;
  2067. this.gardeListDown = false;
  2068. },
  2069. selectTipage(item) {
  2070. this.filters.gradesValue = item.str;
  2071. if (this.Activeindex == false){
  2072. this.InfoWatch();
  2073. }
  2074. if (this.Activeindex == true){
  2075. this.InfoKonwTeacherWatchList();
  2076. }
  2077. this.selecttitleage = item.label;
  2078. this.gardeListDownage = false;
  2079. },
  2080. selectStyle1() {
  2081. this.gardeListDownage = true;
  2082. },
  2083. outStyle1() {
  2084. this.gardeListDownage = false;
  2085. }
  2086. // 获取创建人列表
  2087. // async getUserNameList() {
  2088. // let {
  2089. // userNameList = []
  2090. // } = await this.$dao.actv.marketActDao.getUserNameList();
  2091. // this.userNameList = userNameList || [];
  2092. // let { list = [] } = await this.$dao.bsnsActvTypeAllList();
  2093. // this.actvTypeList = list || [];
  2094. // }
  2095. },
  2096. mounted() {
  2097. this.InfoWatch();
  2098. // this.getsetDictByType2();
  2099. // this.getUserNameList();
  2100. // this.itemListReshow();
  2101. },
  2102. watch: {
  2103. getTeacherIdStatus(val, oldVal) {
  2104. //普通的watch监听
  2105. if (this.Activeindex == false){
  2106. this.InfoWatch();
  2107. }
  2108. if (this.Activeindex == true){
  2109. this.InfoKonwTeacherWatchList();
  2110. }
  2111. },
  2112. BeforetoTeacherstatues(val, oldVal) {
  2113. //普通的watch监听
  2114. // 查看老师批改作业列表
  2115. this.$store.dispatch("TeacherHomeworkList", {
  2116. teacherId: this.homeworkLIst.teacherId,
  2117. maxCreateTime: this.filters.MaxtimeValue,
  2118. pageNo: this.homeworkLIst.pageNo,
  2119. pageSize: this.homeworkLIst.pageSize
  2120. });
  2121. if (this.Activeindex == false){
  2122. this.InfoWatch();
  2123. this.UnallotHomework();
  2124. }
  2125. if (this.Activeindex == true){
  2126. this.InfoKonwTeacherWatchList();
  2127. this.unmatchHomework()
  2128. }
  2129. },
  2130. InfoTeacherstatues(val, oldVal) {
  2131. //普通的watch监听
  2132. this.pesiorFun();
  2133. },
  2134. ApporingTeacherstatues(val, oldVal) {
  2135. //去分配前刷新列表watch监听
  2136. this.NoAllotManagerModel = false;
  2137. this.hiddenModel = false;
  2138. // this.isPigai = true;
  2139. this.RefreshTeacherHomework();
  2140. },
  2141. // 质检当前作业状态:href="APPOR_BASE_URL+'?homeworkId='+v.homeworkId+'&unionid='+unionid+'&teacherId='+homeworkLIst.teacherId+'&state='+2"
  2142. currtHomeworkStatus(val, oldVal) {
  2143. //去检查的watch监听
  2144. window.open(
  2145. APPOR_BASE_URL +
  2146. "?homeworkId=" +
  2147. this.CurrthomeworkIdStatus +
  2148. "&unionid=" +
  2149. this.unionid +
  2150. "&teacherId=" +
  2151. this.homeworkLIst.teacherId +
  2152. "&state=" +
  2153. this.TeacherCheackStyle
  2154. );
  2155. }
  2156. }
  2157. };
  2158. </script>
  2159. <!-- Add "scoped" attribute to limit CSS to this component only -->
  2160. <style>
  2161. html,
  2162. body {
  2163. height: 100%;
  2164. overflow: hidden;
  2165. }
  2166. .aside {
  2167. background-color: #fff;
  2168. margin-top: 16px;
  2169. margin-right: 16px;
  2170. padding: 0;
  2171. min-height: 880px;
  2172. }
  2173. .main-header-num {
  2174. display: flex;
  2175. justify-content: space-between;
  2176. margin: 0 4%;
  2177. padding-left: 4%;
  2178. }
  2179. .teach-time {
  2180. text-align: right;
  2181. }
  2182. .teach-block {
  2183. display: inline-block;
  2184. }
  2185. .main {
  2186. background-color: #fff;
  2187. padding: 0 !important;
  2188. margin-top: 16px;
  2189. min-height: 980px;
  2190. }
  2191. .table-aside {
  2192. color: #666666;
  2193. font-size: 18px;
  2194. text-align: center;
  2195. line-height: 60px;
  2196. cursor: pointer;
  2197. }
  2198. el-table {
  2199. color: #999999;
  2200. font-size: 18px;
  2201. }
  2202. .BgcColor {
  2203. background-color: #f7fbfc;
  2204. }
  2205. .buttonAppoval {
  2206. display: inline-block;
  2207. }
  2208. .main-items {
  2209. color: #393939;
  2210. text-align: center;
  2211. line-height: 80px;
  2212. }
  2213. .main-header-item {
  2214. font-size: 16px;
  2215. font-weight: 700;
  2216. }
  2217. .model-manager {
  2218. display: flex;
  2219. justify-content: space-between;
  2220. margin: 30px;
  2221. color: #393939;
  2222. font-size: 24px;
  2223. }
  2224. .main-header-link {
  2225. color: #52cc60;
  2226. font-size: 18px;
  2227. margin-left: 10px;
  2228. cursor: pointer;
  2229. text-decoration: underline;
  2230. }
  2231. .el-select {
  2232. width: 100px;
  2233. margin: -10px !important;
  2234. }
  2235. .teach-style {
  2236. display: inline-block;
  2237. text-align: left;
  2238. }
  2239. .teach-style-name {
  2240. font-size: 24px;
  2241. margin-left: 10px;
  2242. }
  2243. .input-with-select .el-input-group__prepend {
  2244. background-color: #fff;
  2245. }
  2246. .el-select-dropdown__list {
  2247. padding: 15px 0 !important;
  2248. }
  2249. .active {
  2250. background-color: #52cc60;
  2251. color: #fff;
  2252. }
  2253. .el-input__inner {
  2254. height: 45px;
  2255. /*margin: 0 5px !important;*/
  2256. }
  2257. .table-img {
  2258. width: 36px;
  2259. height: 36px;
  2260. border-radius: 6px;
  2261. /* margin-left: 14px; */
  2262. cursor: pointer;
  2263. }
  2264. .table {
  2265. width: 94.5%;
  2266. border-top: 1px solid #e5e5e5;
  2267. margin: 0 43px;
  2268. }
  2269. .table-head {
  2270. color: #999999;
  2271. font-size: 18px;
  2272. text-align: center;
  2273. display: flex;
  2274. justify-content: space-around;
  2275. }
  2276. .table-head > div {
  2277. width: 13.528%;
  2278. }
  2279. .table-heads {
  2280. margin-left: 15%;
  2281. width: 68%;
  2282. color: #3ab548;
  2283. font-size: 14px;
  2284. text-align: center;
  2285. display: flex;
  2286. justify-content: space-around;
  2287. }
  2288. .table-heads > div {
  2289. width: 13.528%;
  2290. }
  2291. .table-heads1 {
  2292. margin-left: 60px !important;
  2293. margin-right: 260px !important;
  2294. background-color: #fff !important;
  2295. color: #3ab548 !important;
  2296. font-size: 14px;
  2297. text-align: center;
  2298. display: flex;
  2299. justify-content: space-around;
  2300. padding: 0 25px !important;
  2301. }
  2302. .table-heads1 > div {
  2303. width: 13.528%;
  2304. }
  2305. ul {
  2306. text-align: center;
  2307. margin: 0 !important;
  2308. }
  2309. .tr {
  2310. width: 100%;
  2311. color: #393939;
  2312. text-align: center;
  2313. font-family: "PingFang-SC-Bold";
  2314. font-size: 16px;
  2315. font-weight: 700;
  2316. }
  2317. .tr-first {
  2318. display: flex;
  2319. justify-content: space-around;
  2320. }
  2321. .tr-first > div {
  2322. width: 13.528%;
  2323. }
  2324. .tr-set {
  2325. background-color: #fbfbfb;
  2326. display: flex;
  2327. justify-content: space-around;
  2328. color: #393939;
  2329. font-size: 12px;
  2330. margin: 0px;
  2331. /* height:40px; */
  2332. line-height: 40px;
  2333. }
  2334. .el-button--success.is-plain {
  2335. width: 100px;
  2336. height: 30px;
  2337. font-size: 10px;
  2338. text-align: center;
  2339. line-height: 10px;
  2340. }
  2341. .el-button--success {
  2342. width: 100px;
  2343. height: 30px;
  2344. font-size: 10px;
  2345. text-align: center;
  2346. line-height: 5px;
  2347. }
  2348. .el-button--warning {
  2349. width: 100px;
  2350. height: 30px;
  2351. font-size: 10px;
  2352. text-align: center;
  2353. line-height: 5px;
  2354. padding: 10px;
  2355. }
  2356. .el-button--info {
  2357. width: 100px;
  2358. height: 30px;
  2359. font-size: 10px;
  2360. text-align: center;
  2361. line-height: 5px;
  2362. padding: 10px;
  2363. }
  2364. .el-button--danger.is-plain {
  2365. width: 100px;
  2366. height: 40px;
  2367. /* font-size:10px; */
  2368. text-align: left;
  2369. line-height: 10px !important;
  2370. padding: 10px;
  2371. }
  2372. .el-button [class*="el-icon-"] + span {
  2373. margin-left: 0px;
  2374. }
  2375. .el-input__inner,
  2376. .el-checkbox__inner,
  2377. .el-textarea__inner,
  2378. .el-button {
  2379. font-size: 10px;
  2380. text-align: center;
  2381. line-height: 0px !important;
  2382. /* padding:0px!important; */
  2383. }
  2384. .tr-secon {
  2385. font-size: 12px;
  2386. text-align: center;
  2387. word-wrap: break-word;
  2388. width: 40px;
  2389. line-height: 60px;
  2390. }
  2391. .tr-setNo {
  2392. display: flex;
  2393. justify-content: space-around;
  2394. color: #000000f1;
  2395. font-size: 16px;
  2396. margin: 20px;
  2397. }
  2398. .tr-second {
  2399. background-color: #fbfbfb;
  2400. display: flex;
  2401. color: #393939;
  2402. font-size: 12px;
  2403. width: 80%;
  2404. margin: 0 auto;
  2405. }
  2406. .tr-seconds {
  2407. text-align: center;
  2408. font-size: 14px;
  2409. word-wrap: break-word;
  2410. }
  2411. .tr-sw180 {
  2412. width: 400px !important;
  2413. text-align: center;
  2414. }
  2415. .width40 {
  2416. width: 300px !important;
  2417. }
  2418. .widthSu {
  2419. width: 120px !important;
  2420. }
  2421. .tr-secondsA {
  2422. text-align: center;
  2423. font-size: 14px;
  2424. word-wrap: break-word;
  2425. width: 380px;
  2426. }
  2427. .tr-w120 {
  2428. width: 260px !important;
  2429. text-align: left;
  2430. }
  2431. .width120 {
  2432. width: 200px;
  2433. }
  2434. .tr-second-check {
  2435. color: #3ab548;
  2436. font-size: 17px;
  2437. text-decoration: underline;
  2438. }
  2439. .tr-sw80 {
  2440. width: 120px;
  2441. text-align: center;
  2442. }
  2443. .width140 {
  2444. width: 140px !important;
  2445. }
  2446. .width400 {
  2447. width: 350px;
  2448. padding: 10px;
  2449. }
  2450. .tr-sw180 {
  2451. width: 400px !important;
  2452. text-align: right;
  2453. padding-right: 38px;
  2454. }
  2455. .ApporTeacher {
  2456. width: 400px !important;
  2457. text-align: right;
  2458. }
  2459. .Online {
  2460. display: inline-block;
  2461. }
  2462. .Onlinename {
  2463. display: inline-block;
  2464. }
  2465. .tr-active {
  2466. color: #3ab548;
  2467. }
  2468. .showModel {
  2469. width: 100%;
  2470. height: 100%;
  2471. position: fixed;
  2472. top: 0;
  2473. left: 0;
  2474. background: #000000;
  2475. opacity: 0.2;
  2476. overflow: hidden;
  2477. z-index: 1000;
  2478. color: #fff;
  2479. }
  2480. .model {
  2481. z-index: 10000;
  2482. width: 60%;
  2483. height: auto;
  2484. position: fixed;
  2485. top: 15%;
  2486. left: 30%;
  2487. margin: auto;
  2488. background: #fff;
  2489. border-radius: 10px;
  2490. text-align: center;
  2491. min-width: 450px !important;
  2492. padding: 20px;
  2493. }
  2494. .modelspec {
  2495. z-index: 10000;
  2496. width: 35.5%;
  2497. height: auto;
  2498. position: fixed;
  2499. top: 30%;
  2500. left: 32.5%;
  2501. margin: auto;
  2502. background: #fff;
  2503. border-radius: 10px;
  2504. text-align: center;
  2505. }
  2506. .model-text {
  2507. background: rgba(255, 255, 255, 1);
  2508. border-radius: 10px;
  2509. }
  2510. .model-items-first {
  2511. padding: 0 34px;
  2512. display: flex;
  2513. justify-content: space-between;
  2514. }
  2515. .model-items-first-img {
  2516. width: 68px;
  2517. height: 68px;
  2518. border-radius: 8px;
  2519. position: relative;
  2520. bottom: 20px;
  2521. }
  2522. .model-items-first-left {
  2523. display: inline-block;
  2524. color: #393939;
  2525. font-size: 24px;
  2526. margin-left: 14px;
  2527. text-align: left;
  2528. }
  2529. .model-items-first-left-down {
  2530. color: #7e7e7e;
  2531. font-size: 18px;
  2532. }
  2533. .model-text-head {
  2534. padding: 40px 50px;
  2535. display: flex;
  2536. color: #393939;
  2537. font-size: 24px;
  2538. justify-content: space-between;
  2539. }
  2540. .model-items-other {
  2541. height: 60px;
  2542. line-height: 60px;
  2543. color: #393939;
  2544. font-size: 20px;
  2545. text-align: left;
  2546. padding: 0 34px;
  2547. }
  2548. .model-active {
  2549. background-color: #f6f7fb;
  2550. }
  2551. .model-active-last {
  2552. border-radius: 0 0 30px 30px;
  2553. background-color: #f6f7fb;
  2554. }
  2555. .model-items-left {
  2556. width: 100%;
  2557. color: #393939;
  2558. font-size: 24px;
  2559. }
  2560. .model-items-left-top {
  2561. display: flex;
  2562. justify-content: space-between;
  2563. }
  2564. .model-items {
  2565. padding-bottom: 10px;
  2566. display: flex;
  2567. justify-content: space-between;
  2568. display: inline-block;
  2569. width: 100%;
  2570. }
  2571. .model-itemss {
  2572. padding: 10px 0;
  2573. /*display: flex;*/
  2574. /*justify-content: space-between;*/
  2575. /*display: inline-block;*/
  2576. width: 40%;
  2577. display: inline-block;
  2578. }
  2579. .model-items-left-top-img {
  2580. width: 68px;
  2581. height: 68px;
  2582. border-radius: 8px;
  2583. position: relative;
  2584. bottom: 25px;
  2585. }
  2586. .model-btn-items {
  2587. font-size: 18px;
  2588. }
  2589. .main-gay {
  2590. background: rgba(246, 247, 251, 1);
  2591. color: #7e7e7e;
  2592. width: 154px;
  2593. height: 50px;
  2594. line-height: 50px;
  2595. cursor: pointer;
  2596. }
  2597. .model-grdeen {
  2598. background-color: #52cc60;
  2599. color: #fff;
  2600. width: 154px;
  2601. height: 50px;
  2602. line-height: 50px;
  2603. cursor: pointer;
  2604. }
  2605. .el-pagination.is-background .el-pager li:not(.disabled).active {
  2606. background-color: #52cc60 !important;
  2607. color: #fff;
  2608. }
  2609. /* .el-input__inner, .el-checkbox__inner, .el-textarea__inner, .el-button {
  2610. font-size:10px;
  2611. text-align:center;
  2612. line-height:5px;
  2613. padding:10px;
  2614. } */
  2615. .model-text-items-close {
  2616. position: absolute;
  2617. top: 10px;
  2618. right: 15px;
  2619. cursor: pointer;
  2620. }
  2621. .model-text-items {
  2622. position: relative;
  2623. color: #000000;
  2624. font-size: 24px;
  2625. text-align: center;
  2626. padding: 40px 0 50px 0;
  2627. }
  2628. .model-btn {
  2629. display: flex;
  2630. justify-content: space-around;
  2631. margin-bottom: 44px;
  2632. }
  2633. .model-items-left-top-number {
  2634. color: #7e7e7e;
  2635. font-size: 18px;
  2636. margin-left: 10px;
  2637. }
  2638. .today-time {
  2639. color: #7e7e7e;
  2640. font-size: 18px;
  2641. margin: 0 20px;
  2642. }
  2643. .no-homework {
  2644. width: 16.5%;
  2645. height: 328px;
  2646. background: rgba(255, 255, 255, 1);
  2647. box-shadow: 0px 0px 14px 0px rgba(228, 228, 228, 1);
  2648. border-radius: 10px;
  2649. margin: auto;
  2650. position: fixed;
  2651. top: 27%;
  2652. left: 41.75%;
  2653. text-align: center;
  2654. padding: 35px;
  2655. z-index: 1000;
  2656. display: none;
  2657. }
  2658. .no-homework > div {
  2659. margin-bottom: 25px;
  2660. font-size: 24px;
  2661. }
  2662. .no-homework > img {
  2663. width: 226px;
  2664. height: 203px;
  2665. }
  2666. .allocation-items {
  2667. width: 45%;
  2668. display: inline-block;
  2669. margin-right: 20px;
  2670. margin-bottom: 30px;
  2671. }
  2672. .closeTeacherID {
  2673. display: inline-block;
  2674. height: 40px;
  2675. width: 100px;
  2676. color: #f56c6c;
  2677. background: #fef0f0;
  2678. border-color: #fbc4c4;
  2679. border-radius: 20px;
  2680. font-size: 14px;
  2681. line-height: 40px;
  2682. cursor: pointer;
  2683. border: 1px solid;
  2684. }
  2685. .closeTeacherID:hover {
  2686. color: #fff;
  2687. background-color: #f56c6c;
  2688. border-color: #f56c6c;
  2689. }
  2690. .closeAnOpenId {
  2691. width: 250px;
  2692. }
  2693. .UpTeacherID {
  2694. display: inline-block;
  2695. height: 40px;
  2696. width: 100px;
  2697. color: #67c23a;
  2698. background: #f0f9eb;
  2699. border-color: #c2e7b0;
  2700. border-radius: 20px;
  2701. font-size: 14px;
  2702. line-height: 40px;
  2703. cursor: pointer;
  2704. border: 1px solid;
  2705. }
  2706. .UpTeacherID:hover {
  2707. color: #fff;
  2708. background-color: #67c23a;
  2709. border-color: #67c23a;
  2710. }
  2711. .TeacherApporTime {
  2712. text-align: center;
  2713. display: inline-block;
  2714. height: 30px;
  2715. width: 60px;
  2716. color: #706f6f;
  2717. background: #b6b6b6;
  2718. border-color: #929492;
  2719. border-radius: 20px;
  2720. font-size: 14px;
  2721. line-height: 30px;
  2722. cursor: pointer;
  2723. margin: 0 5px;
  2724. }
  2725. .TeacherApporTime:hover {
  2726. color: #fff;
  2727. background-color: #909399;
  2728. border-color: #909399;
  2729. }
  2730. .teach-Allot {
  2731. width: 350px;
  2732. position: relative;
  2733. }
  2734. .SeachIcon {
  2735. position: absolute;
  2736. font-size: 16px;
  2737. color: #b6b6b6;
  2738. right: 42%;
  2739. top: 15%;
  2740. cursor: pointer;
  2741. }
  2742. .input-with-Allot {
  2743. border: #b6b6b6;
  2744. border-radius: 15px;
  2745. height: 30px;
  2746. width: 220px;
  2747. font-size: 8px;
  2748. color: #b6b6b6;
  2749. text-align: left;
  2750. line-height: 30px;
  2751. background: #f1f2f4;
  2752. padding: 0 10px;
  2753. float: left;
  2754. outline: none !important;
  2755. box-shadow: none;
  2756. }
  2757. .Dayinput-with-Allot {
  2758. border: #b6b6b6;
  2759. border-radius: 20px;
  2760. height: 40px;
  2761. width: 300px;
  2762. font-size: 8px;
  2763. color: #b6b6b6;
  2764. text-align: left;
  2765. line-height: 40px;
  2766. background: #f1f2f4;
  2767. padding: 0 10px;
  2768. float: left;
  2769. outline: none !important;
  2770. box-shadow: none;
  2771. }
  2772. .Dayteach-Allot {
  2773. width: 400px;
  2774. position: relative;
  2775. height: 40px;
  2776. top: 15px;
  2777. }
  2778. .DaySeachIcon {
  2779. position: absolute;
  2780. font-size: 20px;
  2781. color: #b6b6b6;
  2782. right: 30%;
  2783. margin-top: 10px;
  2784. cursor: pointer;
  2785. }
  2786. .selectBox {
  2787. position: relative;
  2788. float: left;
  2789. display: inline-block;
  2790. }
  2791. .Ageclass {
  2792. display: inline-block;
  2793. height: 40px;
  2794. width: 120px;
  2795. background-color: #f1f2f4;
  2796. line-height: 40px;
  2797. font-size: 16px;
  2798. cursor: pointer;
  2799. }
  2800. .age-tip {
  2801. width: 80%;
  2802. height: 40px;
  2803. color: #747070;
  2804. font-size: 12px;
  2805. }
  2806. .class-download {
  2807. background-color: #fff;
  2808. width: 160px;
  2809. z-index: 999999;
  2810. position: absolute;
  2811. border: 1px solid #e0dddd;
  2812. border-radius: 5px;
  2813. top: 58px;
  2814. }
  2815. .class-download ul li {
  2816. height: 40px;
  2817. line-height: 40px;
  2818. text-align: center;
  2819. cursor: pointer;
  2820. color: #b6b6b6;
  2821. }
  2822. .class-download ul li:hover {
  2823. background-color: #52cc60;
  2824. color: #ffff;
  2825. }
  2826. .miniorinput-with-Allot {
  2827. border: #b6b6b6;
  2828. border-radius: 5px;
  2829. height: 40px;
  2830. width: 280px;
  2831. font-size: 8px;
  2832. color: #b6b6b6;
  2833. text-align: left;
  2834. line-height: 40px;
  2835. background: #f1f2f4;
  2836. padding: 0 10px;
  2837. float: left;
  2838. outline: none !important;
  2839. box-shadow: none;
  2840. }
  2841. .miniorteach-Allot {
  2842. float: left;
  2843. width: 280px;
  2844. position: relative;
  2845. height: 40px;
  2846. top: 15px;
  2847. }
  2848. .displayBox {
  2849. display: inline-block;
  2850. float: left;
  2851. text-align: left !important;
  2852. margin-left: 40px;
  2853. }
  2854. .miinorSeachIcon {
  2855. position: absolute;
  2856. font-size: 20px;
  2857. color: #b6b6b6;
  2858. right: 5%;
  2859. margin-top: 12px;
  2860. cursor: pointer;
  2861. }
  2862. .ApporStyles {
  2863. display: inline-block;
  2864. width: 180px;
  2865. height: 40px;
  2866. line-height: 40px;
  2867. background-color: #fff;
  2868. border-radius: 20px;
  2869. font-size: 16px;
  2870. color: #7c819d;
  2871. cursor: pointer;
  2872. }
  2873. .Apporvalactive {
  2874. background-color: #52cc60;
  2875. color: #fff;
  2876. }
  2877. .main-header-numNew {
  2878. display: flex;
  2879. justify-content: space-between;
  2880. }
  2881. </style>