SchoolManager.vue 97 KB

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