SchoolManager.vue 46 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454
  1. <!-- 活动解析 -->
  2. <template>
  3. <div>
  4. <!-- table 表格 -->
  5. <el-row :gutter="20" class="main-items">
  6. <el-col class="aside" :span="4" :offset="1" 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="18" class="main" v-if="modelindex == 0">
  17. <el-row :gutter="20" class="main-header">
  18. <el-col :span="2" :offset="1">
  19. <div class="main-header-item">在线:{{monitorTeacherList.onlineCount}}</div>
  20. </el-col>
  21. <el-col :span="2">
  22. <div class="main-header-item">离线:{{monitorTeacherList.offlineCount}}</div>
  23. </el-col>
  24. <el-col :span="4">
  25. <div class="main-header-item">
  26. <span>分配未批改作业:{{monitorTeacherList.unCorrectCount}}</span>
  27. <span @click="isShow(monitorTeacherList,2)" class="main-header-link">去分配</span>
  28. </div>
  29. </el-col>
  30. <el-col :span="8" :offset="6">
  31. <el-input placeholder="请输入老师名字" v-model="filters.inputValue" class="input-with-select">
  32. <el-select
  33. v-model="filters.OptionsValue"
  34. @change="InfoWatch"
  35. slot="prepend"
  36. placeholder="选年级"
  37. minlength="20"
  38. >
  39. <el-option
  40. v-for="(item, k) in options"
  41. :key="k"
  42. :label="item.label"
  43. :value="item.label"
  44. ></el-option>
  45. </el-select>
  46. <el-select
  47. v-model="filters.gradesValue"
  48. @change="InfoWatch"
  49. slot="prepend"
  50. placeholder="选科目"
  51. minlength="20"
  52. >
  53. <el-option
  54. v-for="(item, k) in grades"
  55. :key="k"
  56. :label="item.label"
  57. :value="item.label"
  58. ></el-option>
  59. </el-select>
  60. <el-button @click="InfoWatch" slot="append" icon="el-icon-search"></el-button>
  61. </el-input>
  62. </el-col>
  63. <!--<div class="block">-->
  64. <!--<el-date-picker-->
  65. <!--v-model="filters.MaxtimeValue"-->
  66. <!--value-format="yyyy-MM-dd HH:mm:ss"-->
  67. <!--type="date"-->
  68. <!--@change="InfoWatch"-->
  69. <!--placeholder="选择日期"-->
  70. <!--&gt;</el-date-picker>-->
  71. <!--</div>-->
  72. </el-row>
  73. <el-row :gutter="20" class="main-header">
  74. <el-col :span="24">
  75. <div class="table">
  76. <div class="table-head">
  77. <div>头像</div>
  78. <div>姓名</div>
  79. <div>等待作业数</div>
  80. <div>作业最长等待时长</div>
  81. <div>累计批改时间</div>
  82. <div>响应速度</div>
  83. <div>状态</div>
  84. </div>
  85. <div class="tr" v-for="(v, k) of monitorTeacherList.list" :key="k">
  86. <!-- 在线 -->
  87. <div v-if="v.status == '1'" class="tr-first">
  88. <div>
  89. <i
  90. :class="[isDown && isDownindex === k?'el-icon-caret-bottom':'el-icon-caret-top']"
  91. @click="dropDown(v,k)"
  92. ></i>
  93. <img :src="BASE_URL + v.imgUrl" alt class="table-img" @click="isShow(v,3)">
  94. </div>
  95. <div>{{v.name}}</div>
  96. <div>{{v.waitCount}}</div>
  97. <div class="tr-active">{{v.maxWaitTime}}</div>
  98. <div>{{v.totalCorrectTime}}</div>
  99. <div>{{v.respSpeed}}/份</div>
  100. <div>在线</div>
  101. </div>
  102. <!-- 离线 -->
  103. <div v-if="v.status == '2'" style="color:#BEBEBE" class="tr-first">
  104. <div>
  105. <i
  106. :class="[isDown && isDownindex === k?'el-icon-caret-bottom':'el-icon-caret-top']"
  107. @click="dropDown(v,k)"
  108. ></i>
  109. <img :src="BASE_URL + v.imgUrl" alt class="table-img" @click="isShow(v,3)">
  110. </div>
  111. <div>{{v.name}}</div>
  112. <div>{{v.waitCount}}</div>
  113. <div>{{v.maxWaitTime}}</div>
  114. <div>{{v.totalCorrectTime}}</div>
  115. <div>{{v.respSpeed}}/份</div>
  116. <div>离线</div>
  117. </div>
  118. <!-- 封号 -->
  119. <div v-if="v.status == '3'" style="color:#FF6767" class="tr-first">
  120. <div>
  121. <i
  122. :class="[isDown && isDownindex === k?'el-icon-caret-bottom':'el-icon-caret-top']"
  123. @click="dropDown(v,k)"
  124. ></i>
  125. <img :src="BASE_URL + v.imgUrl" alt class="table-img" @click="isShow(v,3)">
  126. </div>
  127. <div>{{v.name}}</div>
  128. <div>{{v.waitCount}}</div>
  129. <div>{{v.maxWaitTime}}</div>
  130. <div>{{v.totalCorrectTime}}</div>
  131. <div>{{v.respSpeed}}/份</div>
  132. <div>已封号</div>
  133. </div>
  134. <div v-if="isDownindex === k && isDown">
  135. <div class="tr-second" v-for="(v, k) of TeacherHomeworkList.list" :key="k">
  136. <div class="tr-seconds">{{k+1}}</div>
  137. <div class="tr-seconds">
  138. <span @click="isShow(v,4)" style="cursor: pointer;" class="tr-second-check">查看</span>
  139. <span>{{v.name}}</span>
  140. </div>
  141. <div class="tr-seconds">{{v.spendTime}}</div>
  142. <div class="tr-seconds">{{v.subject}}</div>
  143. <div class="tr-seconds">{{v.grade}}</div>
  144. <div v-if="v.status === 1" class="tr-seconds">未批改</div>
  145. <div v-if="v.status === 2" class="tr-seconds" style="color:#FFC303">批改中</div>
  146. <div v-if="v.status === 3" class="tr-seconds">已批改</div>
  147. <div class="tr-s" v-if="v.status === 1">
  148. <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>
  149. <el-button @click="isShow(v,1)" type="success">去分配</el-button>
  150. </div>
  151. <div class="tr-s" v-if="v.status === 3 && v.isCheck ===1">
  152. <el-button type="info" plain>已检查</el-button>
  153. <span style="color:red;font-size:12px;">报错{{v.wrongCount}}</span>
  154. </div>
  155. <div class="tr-s" v-if="v.status === 3 && v.isCheck ===0">
  156. <el-button type="warning" plain><a style="text-decoration:none;color:#52cc60;" :href="'https://kmt.sharingschool.com/aijia/kmt/index.html?homeworkId='+v.homeworkId+'&accessToken='+accessToken+'&state='+2">去检查</a></el-button>
  157. </div>
  158. </div>
  159. <!-- 分页显示 -->
  160. <el-pagination
  161. background
  162. @size-change="handleSizeChange3"
  163. @current-change="pageChange3"
  164. :page-sizes="[10, 20]"
  165. layout="total, sizes, prev, pager, next, jumper"
  166. :total="parseInt(TeacherHomeworkList.pages)"
  167. ></el-pagination>
  168. </div>
  169. </div>
  170. </div>
  171. <!-- 分页显示 -->
  172. <el-pagination
  173. background
  174. @size-change="handleSizeChange"
  175. @current-change="pageChange"
  176. :page-sizes="[10, 20, 30, 40]"
  177. layout="total, sizes, prev, pager, next, jumper"
  178. :total="parseInt(monitorTeacherList.pages)"
  179. ></el-pagination>
  180. <!-- <div style="float:right;margin-left:15px;">
  181. <el-button @click="myVisible = false" size="small">取 消</el-button>
  182. <el-button type="primary" size="small" @click="submit">确定</el-button>
  183. </div>-->
  184. <div style="clear:both;"></div>
  185. <div> <el-button @click="routerback()" type="success" round>返回</el-button></div>
  186. </el-col>
  187. </el-row>
  188. </el-col>
  189. <!--当天-->
  190. <el-col :span="18" class="main" v-if="modelindex == 1">
  191. <el-row :gutter="20" class="main-header">
  192. <el-col :span="5">
  193. <div class="main-header-item">今日报错总次数:{{DayTeacherList.wrongCount}}</div>
  194. </el-col>
  195. <el-col :span="10" :offset="5">
  196. <el-input placeholder="请输入老师名字" v-model="filters1.inputValue" class="input-with-select">
  197. <el-select
  198. v-model="filters1.OptionsValue"
  199. @change="InfoWatchDay"
  200. slot="prepend"
  201. placeholder="选年级"
  202. minlength="20"
  203. >
  204. <el-option
  205. v-for="(item, k) in options"
  206. :key="k"
  207. :label="item.label"
  208. :value="item.label"
  209. ></el-option>
  210. </el-select>
  211. <el-select
  212. v-model="filters1.gradesValue"
  213. @change="InfoWatchDay"
  214. slot="prepend"
  215. placeholder="选科目"
  216. minlength="20"
  217. >
  218. <el-option
  219. v-for="(item, k) in grades"
  220. :key="k"
  221. :label="item.label"
  222. :value="item.label"
  223. ></el-option>
  224. </el-select>
  225. <el-button @click="InfoWatchDay" slot="append" icon="el-icon-search"></el-button>
  226. </el-input>
  227. </el-col>
  228. <el-col :span="4">
  229. <div class="block">
  230. <el-date-picker
  231. @change="InfoWatchDay"
  232. v-model="filters1.MaxtimeValue"
  233. value-format="yyyy-MM-dd HH:mm:ss"
  234. type="date"
  235. placeholder="选择日期"
  236. ></el-date-picker>
  237. </div>
  238. </el-col>
  239. </el-row>
  240. <el-row :gutter="20" class="main-header">
  241. <el-col :span="24">
  242. <div class="table">
  243. <div class="table-head">
  244. <div>头像</div>
  245. <div>姓名</div>
  246. <div>被报错</div>
  247. <div>科目</div>
  248. <div>批改总份数</div>
  249. <div>批改总张数</div>
  250. <div>平均批改时间</div>
  251. <div>出勤</div>
  252. </div>
  253. <div class="tr" v-for="(v, k) of DayTeacherList.list" :key="k">
  254. <div class="tr-first">
  255. <div>
  256. <img :src="BASE_URL + v.imgUrl" alt class="table-img">
  257. </div>
  258. <div>{{v.name}}</div>
  259. <div>{{v.wrongCount}}</div>
  260. <div class="tr-active">{{v.subject}}</div>
  261. <div>{{v.homeworkCount}}</div>
  262. <div>{{v.homeworkPicCount}}/张</div>
  263. <div>{{v.avgTime}}</div>
  264. <div>{{v.attendance}}</div>
  265. </div>
  266. </div>
  267. </div>
  268. <!-- 分页显示 -->
  269. <el-pagination
  270. background
  271. @size-change="handleSizeChange1"
  272. @current-change="pageChange1"
  273. :page-sizes="[10, 20, 30, 40]"
  274. layout="total, sizes, prev, pager, next, jumper"
  275. :total="parseInt(DayTeacherList.pages)"
  276. ></el-pagination>
  277. <!-- <div style="float:right;margin-left:15px;">
  278. <el-button @click="myVisible = false" size="small">取 消</el-button>
  279. <el-button type="primary" size="small" @click="submit">确定</el-button>
  280. </div>-->
  281. <div style="clear:both;"></div>
  282. <div> <el-button @click="routerback()" type="success" round>返回</el-button></div>
  283. </el-col>
  284. </el-row>
  285. </el-col>
  286. <!--当月-->
  287. <el-col :span="18" class="main" v-if="modelindex == 2">
  288. <el-row :gutter="20" class="main-header">
  289. <el-col :span="5">
  290. <div class="main-header-item" @click="isShow(1)">当月报错总次数:{{MothTeacherList.wrongCount}}</div>
  291. </el-col>
  292. <el-col :span="10" :offset="5">
  293. <el-input placeholder="请输入老师名字" v-model="filters2.inputValue" class="input-with-select">
  294. <el-select
  295. v-model="filters2.OptionsValue"
  296. @change="InfoWatchMoth"
  297. slot="prepend"
  298. placeholder="选年级"
  299. minlength="20"
  300. >
  301. <el-option
  302. v-for="(item, k) in options"
  303. :key="k"
  304. :label="item.label"
  305. :value="item.label"
  306. ></el-option>
  307. </el-select>
  308. <el-select
  309. v-model="filters2.gradesValue"
  310. @change="InfoWatchMoth"
  311. slot="prepend"
  312. placeholder="选科目"
  313. minlength="20"
  314. >
  315. <el-option
  316. v-for="(item, k) in grades"
  317. :key="k"
  318. :label="item.label"
  319. :value="item.label"
  320. ></el-option>
  321. </el-select>
  322. <el-button @click="InfoWatchMoth" slot="append" icon="el-icon-search"></el-button>
  323. </el-input>
  324. </el-col>
  325. <el-col :span="4">
  326. <div class="block">
  327. <el-date-picker
  328. @change="InfoWatchMoth"
  329. v-model="filters2.MaxtimeValue"
  330. value-format="yyyy-MM-dd HH:mm:ss"
  331. type="date"
  332. placeholder="选择日期"
  333. ></el-date-picker>
  334. </div>
  335. </el-col>
  336. </el-row>
  337. <el-row :gutter="20" class="main-header">
  338. <el-col :span="3" :offset="1">
  339. <div class="main-header-item" @click="isShow(1)">月出勤率:{{MothTeacherList.attendanceRate}}</div>
  340. </el-col>
  341. <el-col :span="4">
  342. <div class="main-header-item" @click="isShow(1)">批改总份数:{{MothTeacherList.homeworkCount}}</div>
  343. </el-col>
  344. <el-col :span="4">
  345. <div
  346. class="main-header-item"
  347. @click="isShow(1)"
  348. >批改总张数:{{MothTeacherList.homeworkPicCount}}</div>
  349. </el-col>
  350. <el-col :span="4">
  351. <div class="main-header-item" @click="isShow(1)">批改平均时间:{{MothTeacherList.avgTime}}</div>
  352. </el-col>
  353. <el-col :span="4">
  354. <div
  355. class="main-header-item"
  356. @click="isShow(1)"
  357. >平均满意度:{{MothTeacherList.satisfactionDegree}}</div>
  358. </el-col>
  359. <el-col :span="4">
  360. <div class="main-header-item" @click="isShow(1)">正确率:{{MothTeacherList.accuracyRate}}</div>
  361. </el-col>
  362. </el-row>
  363. <el-row :gutter="20" class="main-header">
  364. <el-col :span="24">
  365. <div class="table">
  366. <div class="table-head">
  367. <div>头像</div>
  368. <div>姓名</div>
  369. <div>被报错</div>
  370. <div>科目</div>
  371. <div>批改总份数</div>
  372. <div>批改总张数</div>
  373. <div>正确率</div>
  374. <div>满意度</div>
  375. <div>平均批改时间</div>
  376. <div>出勤</div>
  377. </div>
  378. <div class="tr" v-for="(v, k) of MothTeacherList.list" :key="k">
  379. <div class="tr-first">
  380. <div>
  381. <img :src="BASE_URL + v.imgUrl" alt class="table-img">
  382. </div>
  383. <div>{{v.name}}</div>
  384. <div>{{v.wrongCount}}</div>
  385. <div class="tr-active">{{v.subject}}</div>
  386. <div>{{v.homeworkCount}}</div>
  387. <div>{{v.homeworkPicCount}}/张</div>
  388. <div>{{v.accuracyRate}}</div>
  389. <div>{{v.satisfactionDegree}}</div>
  390. <div>{{v.avgTime}}</div>
  391. <div>{{v.attendance}}</div>
  392. </div>
  393. </div>
  394. </div>
  395. <!-- 分页显示 -->
  396. <el-pagination
  397. background
  398. @size-change="handleSizeChange2"
  399. @current-change="pageChange2"
  400. :page-sizes="[10, 20, 30, 40]"
  401. layout="total, sizes, prev, pager, next, jumper"
  402. :total="parseInt(MothTeacherList.pages)"
  403. ></el-pagination>
  404. <!-- <div style="float:right;margin-left:15px;">
  405. <el-button @click="myVisible = false" size="small">取 消</el-button>
  406. <el-button type="primary" size="small" @click="submit">确定</el-button>
  407. </div>-->
  408. <div style="clear:both;"></div>
  409. <div> <el-button @click="routerback()" type="success" round>返回</el-button></div>
  410. </el-col>
  411. </el-row>
  412. </el-col>
  413. <!-- 分页显示 -->
  414. </el-row>
  415. <!--可分配老师-->
  416. <div class="showModel" @click="allShowModel(1)" v-if="hiddenModel"></div>
  417. <div class="model" style="width:40%" v-if="hiddenModel">
  418. <div class="model-text">
  419. <div class="model-text-head">
  420. <div>可分配老师</div>
  421. <div>{{allotList.Allotgarde}}{{allotList.Allotsubjct}}</div>
  422. </div>
  423. <div class="model-items" v-for="(v, k) in TeacherAllotList.list" :key="k">
  424. <div class="model-items-left">
  425. <div class="model-items-left-top">
  426. <div>
  427. <img
  428. :src="BASE_URL + v.imgUrl"
  429. v-if="v.imgUrl"
  430. alt
  431. class="model-items-left-top-img"
  432. >
  433. <img
  434. src="../../assets/img/user.jpg"
  435. v-if="!v.imgUrl"
  436. alt
  437. class="model-items-left-top-img"
  438. >
  439. <div style="display: inline-block">
  440. <div style="font-size: 24px">{{v.name}}</div>
  441. <div class="model-items-left-top-number">等待学生:{{v.waitCount}}</div>
  442. </div>
  443. </div>
  444. <div>
  445. <el-button v-show="v.type && v.type === 1" disabled type="info">已分配</el-button>
  446. <el-button
  447. v-show="!v.type || v.type !== 1"
  448. @click="GOtoTeacherAllot(v,k)"
  449. type="success"
  450. >分配</el-button>
  451. </div>
  452. </div>
  453. </div>
  454. </div>
  455. <el-pagination
  456. background
  457. @size-change="handleSizeChange4"
  458. @current-change="pageChange4"
  459. :page-sizes="[10]"
  460. layout="total, sizes, prev, pager, next, jumper"
  461. :total="parseInt(TeacherAllotList.pages)"
  462. ></el-pagination>
  463. </div>
  464. </div>
  465. <!--所有未批改作业-->
  466. <div class="showModel" @click="allShowModel(2)" v-if="isPigai"></div>
  467. <div class="model" style="width:50%" v-if="isPigai">
  468. <div class="model-text">
  469. <div class="model-text-head">
  470. <div>所有未批改作业</div>
  471. </div>
  472. <div>
  473. <!-- UnallotHomeworkInfo -->
  474. <div class="tr-set" v-for="(v, k) of UnallotHomeworkInfo.list" :key="k">
  475. <div class="tr-secon">{{k+1}}</div>
  476. <div class="tr-secon" style="width:50px;">
  477. <span>{{v.name}}</span>
  478. </div>
  479. <div class="tr-secon" style="width:60px;">{{v.spendTime}}</div>
  480. <div class="tr-secon">{{v.subject}}</div>
  481. <div class="tr-secon">{{v.grade}}</div>
  482. <div v-if="v.status === 1" class="tr-secon">未批改</div>
  483. <div v-if="v.status === 2" class="tr-secon">批改中</div>
  484. <div v-if="v.status === 3" class="tr-secon">已批改</div>
  485. <div class="tr-s">
  486. <el-button type="success" plain>去批改</el-button>
  487. <el-button type="success">去分配</el-button>
  488. </div>
  489. </div>
  490. <el-pagination
  491. background
  492. @size-change="handleSizeChange3"
  493. @current-change="pageChange3"
  494. :page-sizes="[10]"
  495. layout="total, sizes, prev, pager, next, jumper"
  496. :total="parseInt(UnallotHomeworkInfo.pages)"
  497. ></el-pagination>
  498. </div>
  499. </div>
  500. </div>
  501. <!-- 老师详情弹框 -->
  502. <div class="showModel" @click="allShowModel(3)" v-if="ModelAppor"></div>
  503. <div class="model" style="width:60%" v-if="ModelAppor">
  504. <div class="model-text">
  505. <div class="model-manager">
  506. <div>批改老师</div>
  507. <div>
  508. <img src="../../assets/img/del@2x.png" alt @click="allShowModel(3)">
  509. </div>
  510. </div>
  511. <div class="model-items" style="width:80%">
  512. <div class="model-items-first">
  513. <div>
  514. <img
  515. :src="BASE_URL + GetTeacherDetail.imgUrl"
  516. v-if="GetTeacherDetail.imgUrl"
  517. alt
  518. class="model-items-first-img"
  519. >
  520. <img
  521. src="../../assets/img/user.jpg"
  522. v-if="!GetTeacherDetail.imgUrl"
  523. alt
  524. class="model-items-first-img"
  525. >
  526. <div class="model-items-first-left" style="display:inline-block">
  527. <!-- <div class="Onlinename">李小花</div>
  528. <div class="Online">(在线)</div>
  529. <div class="model-items-first-left-down">南方科技大学</div> -->
  530. <div class="Onlinename">{{GetTeacherDetail.name}}</div>
  531. <div v-if="GetTeacherDetail.status ===1" class="Online">(在线)</div>
  532. <div v-if="GetTeacherDetail.status ===0" class="Online">(离线)</div>
  533. <div class="model-items-first-left-down">{{GetTeacherDetail.school}}</div>
  534. </div>
  535. <div style="display:inline-block" v-if="this.TeacherIdStatus ==1 || 2 && this.TeacherIdStatus !==3">
  536. <el-button type="danger" icon="el-icon-close" plain round @click="isShow(GetTeacherDetail,6)"><i class="el-icon-bottom"></i><span>封号</span></el-button>
  537. <el-button type="success" icon="el-icon-upload2" plain round @click="isShow(GetTeacherDetail,5)"><i class="el-icon-bottom"></i><span>升级</span></el-button>
  538. </div>
  539. <div style="display:inline-block" v-if="this.TeacherIdStatus ==3">
  540. <el-button type="success" icon="el-icon-unlock" plain round @click="isShow(GetTeacherDetail,7)"><i class="el-icon-bottom"></i><span>解封</span></el-button>
  541. </div>
  542. </div>
  543. </div>
  544. <div class="model-items-other model-active">批改科目 : {{GetTeacherDetail.subject}}</div>
  545. <div class="model-items-other">
  546. 批改年级 :
  547. <span v-for="(v, k) of arrGrade" :key="k">{{v}},</span>
  548. </div>
  549. <div class="model-items-other model-active">
  550. 可批改时间:
  551. <el-button type="info" round>{{GetTeacherDetail.period}}</el-button>
  552. </div>
  553. <div class="model-items-other">手机号 : {{GetTeacherDetail.phone}}</div>
  554. <div class="model-items-other model-active">上次登录时间 : {{GetTeacherDetail.lastOnlineTime}}</div>
  555. <div class="model-items-other">批改正确率 : {{GetTeacherDetail.accuracyRate}}</div>
  556. <div class="model-items-other model-active-last">被报错总次数 : {{GetTeacherDetail.wrongCount}}</div>
  557. <div class="model-items-other">满意度 : {{GetTeacherDetail.satisfactionDegree}}</div>
  558. </div>
  559. </div>
  560. </div>
  561. <!-- 学生详情弹框 -->
  562. <div class="showModel" @click="allShowModel(4)" v-if="ModelStudet"></div>
  563. <div class="model" style="width:20%;" v-if="ModelStudet">
  564. <div class="model-text">
  565. <div class="model-manager">
  566. <div>学生详情</div>
  567. <div>
  568. <img src="../../assets/img/del@2x.png" alt @click="allShowModel(4)">
  569. </div>
  570. </div>
  571. <div class="model-items">
  572. <div class="model-items-first">
  573. <div>
  574. <!-- <img :src="BASE_URL + GetStudentDetail.imgUrl" alt class="model-items-first-img"> -->
  575. <div class="model-items-first-left">
  576. <div class="Onlinename">{{GetStudentDetail.name}}</div>
  577. <div class="model-items-first-left-down">{{GetStudentDetail.school}}</div>
  578. </div>
  579. </div>
  580. </div>
  581. <div class="model-items-other model-active">所读年级 : {{GetStudentDetail.grade}}</div>
  582. <div class="model-items-other">性别 : {{GetStudentDetail.sex}}</div>
  583. <div class="model-items-other model-active">联系方式 : {{GetStudentDetail.phone}}</div>
  584. </div>
  585. </div>
  586. </div>
  587. <!-- 升级校区管理员弹框 -->
  588. <div class='showModel' @click="allShowModel(5)" v-if="rePush"></div>
  589. <div class='modelspec' v-if="rePush">
  590. <div class='model-text'>
  591. <div class="model-text-items">
  592. <div><img src="../../assets/img/del@2x.png" alt="" @click="allShowModel(5)" class="model-text-items-close"></div>
  593. <div>是否要将{{TeacherName}}老师升级为校区管理员?</div>
  594. </div>
  595. <div class="model-btn">
  596. <div class="model-btn-items main-gay" @click="RepushTeacherAcess()"></div>
  597. <div class="model-btn-items model-grdeen" @click="allShowModel(5)"></div>
  598. </div>
  599. </div>
  600. </div>
  601. <!-- 封号校区管理员弹框 -->
  602. <div class='showModel' @click="allShowModel(6)" v-if="closeID"></div>
  603. <div class='modelspec' v-if="closeID">
  604. <div class='model-text'>
  605. <div class="model-text-items">
  606. <div><img src="../../assets/img/del@2x.png" alt="" @click="allShowModel(6)" class="model-text-items-close"></div>
  607. <div>是否要对{{TeacherName}}老师进行封号?</div>
  608. </div>
  609. <div class="model-btn">
  610. <div class="model-btn-items main-gay" @click="CloseTeacherId()"></div>
  611. <div class="model-btn-items model-grdeen" @click="allShowModel(6)"></div>
  612. </div>
  613. </div>
  614. </div>
  615. <!-- 解封校区管理员弹框 -->
  616. <div class='showModel' @click="allShowModel(7)" v-if="OpenID"></div>
  617. <div class='modelspec' v-if="OpenID">
  618. <div class='model-text'>
  619. <div class="model-text-items">
  620. <div><img src="../../assets/img/del@2x.png" alt="" @click="allShowModel(7)" class="model-text-items-close"></div>
  621. <div>是否要对{{TeacherName}}老师进行解封?</div>
  622. </div>
  623. <div class="model-btn">
  624. <div class="model-btn-items main-gay" @click="OPenTeacherId()"></div>
  625. <div class="model-btn-items model-grdeen" @click="allShowModel(7)"></div>
  626. </div>
  627. </div>
  628. </div>
  629. </div>
  630. </template>
  631. <script>
  632. import { mapGetters, mapActions } from "vuex";
  633. export default {
  634. components: {},
  635. name: "actvResolveLabel",
  636. props: {},
  637. data() {
  638. return {
  639. accessToken:localStorage.getItem("accessToken"), //token
  640. managerId: "", // 超级管理员登陆ID
  641. // BASE_URL:'https://img.sharingschool.com',
  642. BASE_URL: "https://xt.sharingschool.com/upload/",
  643. isDownindex: "",
  644. modelindex: 0,
  645. TeacherIds:"", //封号,升级,解封
  646. teacherClickId:"",
  647. TeacherIdStatus:"",
  648. TeacherName:"", //封号,升级,解封
  649. values: [],
  650. arrGrade: [],
  651. OpenID:false, //解封校区管理员弹框
  652. closeID:false, //封号校区管理员弹框
  653. rePush:false, //升级校区管理员弹框
  654. hiddenModel: false, //分配老师弹框
  655. isPigai: false, //未批改作业弹框
  656. ModelAppor: false, //批改老师详情信息弹框
  657. ModelStudet: false, //学生详情弹框
  658. isDown: false,
  659. options: [
  660. {
  661. value: "0",
  662. label: "一年级"
  663. },
  664. {
  665. value: "1",
  666. label: "二年级"
  667. },
  668. {
  669. value: "2",
  670. label: "三年级"
  671. },
  672. {
  673. value: "3",
  674. label: "四年级"
  675. },
  676. {
  677. value: "4",
  678. label: "五年级"
  679. },
  680. {
  681. value: "5",
  682. label: "六年级"
  683. }
  684. ],
  685. grades: [
  686. {
  687. value: "0",
  688. label: "语文"
  689. },
  690. {
  691. value: "1",
  692. label: "数学"
  693. },
  694. {
  695. value: "2",
  696. label: "英语"
  697. }
  698. ],
  699. ItemList: [
  700. {
  701. text: "数据监控"
  702. },
  703. {
  704. text: "当天"
  705. },
  706. {
  707. text: "当月"
  708. }
  709. ],
  710. filters: {
  711. //超级管理员的当天数据
  712. // 排序
  713. MaxtimeValue: "",
  714. OptionsValue: "",
  715. gradesValue: "",
  716. inputValue: "",
  717. pageNo: 1,
  718. pageSize: 10,
  719. count: 100,
  720. orderField: "",
  721. orderAD: "",
  722. managerId: ""
  723. },
  724. filters1: {
  725. //超级管理员的当天数据
  726. // 排序
  727. MaxtimeValue: "",
  728. OptionsValue: "",
  729. gradesValue: "",
  730. inputValue: "",
  731. pageNo: 1,
  732. pageSize: 10,
  733. count: 0,
  734. orderField: "",
  735. orderAD: ""
  736. },
  737. filters2: {
  738. //超级管理员的当月数据
  739. // 排序
  740. MaxtimeValue: "",
  741. OptionsValue: "",
  742. gradesValue: "",
  743. inputValue: "",
  744. pageNo: 1,
  745. pageSize: 10,
  746. count: 0,
  747. orderField: "",
  748. orderAD: ""
  749. },
  750. filters3: {
  751. //超级管理员查看学员列表
  752. // 排序
  753. MaxtimeValue: "",
  754. OptionsValue: "",
  755. gradesValue: "",
  756. inputValue: "",
  757. pageNo: 1,
  758. pageSize: 10,
  759. count: 0,
  760. orderField: "",
  761. orderAD: ""
  762. },
  763. homeworkLIst: {
  764. pageNo: 1,
  765. pageSize: 10,
  766. teacherId: ""
  767. },
  768. allotList: {
  769. Allotgarde: "",
  770. Allotsubjct: "",
  771. pageNo: 1,
  772. pageSize: 10,
  773. homeworkId: ""
  774. },
  775. AllotButton: ""
  776. };
  777. },
  778. created() {
  779. const managerId = this.$route.query.managerId;
  780. this.managerId = managerId;
  781. },
  782. computed: {
  783. ...mapGetters([
  784. "getUser",
  785. "monitorTeacherList",
  786. "TeacherHomeworkList",
  787. "TeacherAllotList",
  788. "TeacherAllotstatus",
  789. "DayTeacherList",
  790. "MothTeacherList",
  791. "UnallotHomeworkInfo",
  792. "GetTeacherDetail",
  793. "GetStudentDetail",
  794. "getTeacherIdStatus"
  795. ])
  796. },
  797. methods: {
  798. ...mapActions(["setUser"]),
  799. // 去批改
  800. ToApporvalLine(){
  801. this.$router.push({
  802. path: "https://kmt.sharingschool.com/aijia/kmt/index.html?homeworkId=oPHg8wbCbIuZwq6NKEdEUPh6DQFM&accessToken=8wbCbIuZwq6NKEdEUPh6&state=1",
  803. })
  804. },
  805. // 点击下拉
  806. dropDown(v, k) {
  807. this.isDown = !this.isDown;
  808. this.isDownindex = k;
  809. this.TeacherHomework(v);
  810. },
  811. // // 分页
  812. // pageChange(val) {
  813. // this.filters.pageNo = val;
  814. // this.itemListReshow();
  815. // },
  816. // changeDateSlot(dateSlot) {
  817. // if (dateSlot) {
  818. // this.filters.startDate = dateSlot[0];
  819. // this.filters.endDate = dateSlot[1];
  820. // } else {
  821. // this.filters.startDate = null;
  822. // this.filters.endDate = null;
  823. // }
  824. // },
  825. // 获取校区管理员监控数据
  826. async InfoWatch() {
  827. this.$store.dispatch("InfoWatch", {
  828. grade: this.filters.gradesValue,
  829. subject: this.filters.OptionsValue,
  830. teacherName: this.filters.inputValue,
  831. maxCreateTime: this.filters.MaxtimeValue,
  832. pageNo: this.filters.pageNo,
  833. pageSize: this.filters.pageSize,
  834. managerId: this.managerId || ""
  835. });
  836. },
  837. // 获取校区管理员当天数据
  838. async InfoWatchDay() {
  839. this.$store.dispatch("InfoWatchDay", {
  840. grade: this.filters1.gradesValue,
  841. subject: this.filters1.OptionsValue,
  842. teacherName: this.filters1.inputValue,
  843. maxCreateTime: this.filters1.MaxtimeValue,
  844. pageNo: this.filters1.pageNo,
  845. pageSize: this.filters1.pageSize,
  846. managerId: this.managerId || ""
  847. });
  848. },
  849. // 获取校区管理员当月数据
  850. async InfoWatchMoth() {
  851. this.$store.dispatch("InfoWatchMoth", {
  852. grade: this.filters2.gradesValue,
  853. subject: this.filters2.OptionsValue,
  854. teacherName: this.filters2.inputValue,
  855. maxCreateTime: this.filters2.MaxtimeValue,
  856. pageNo: this.filters2.pageNo,
  857. pageSize: this.filters2.pageSize,
  858. managerId: this.managerId || ""
  859. });
  860. },
  861. // 查看老师批改作业列表
  862. async TeacherHomework(v) {
  863. this.homeworkLIst.teacherId = v.teacherId;
  864. this.$store.dispatch("TeacherHomeworkList", {
  865. teacherId: v.teacherId,
  866. maxCreateTime: this.filters.MaxtimeValue,
  867. pageNo: this.homeworkLIst.pageNo,
  868. pageSize: this.homeworkLIst.pageSize
  869. });
  870. },
  871. // 分页查看老师批改作业列表
  872. async TeacherHomeworkfy() {
  873. this.$store.dispatch("TeacherHomeworkList", {
  874. teacherId: this.homeworkLIst.teacherId,
  875. maxCreateTime: this.filters.MaxtimeValue,
  876. pageNo: this.homeworkLIst.pageNo,
  877. pageSize: this.homeworkLIst.pageSize
  878. });
  879. },
  880. // 可分配老师列表
  881. async TeacherAllot(v) {
  882. this.$store.dispatch("TeacherAllotList", {
  883. grade: v.grade,
  884. subject: v.subject,
  885. maxCreateTime: this.filters.MaxtimeValue,
  886. pageNo: this.allotList.pageNo,
  887. pageSize: this.allotList.pageSize
  888. });
  889. },
  890. // 可分配老师列表分页
  891. async TeacherAllotfy() {
  892. this.$store.dispatch("TeacherAllotList", {
  893. grade: this.allotList.Allotgarde,
  894. subject: this.allotList.Allotsubjct,
  895. maxCreateTime: this.filters.MaxtimeValue,
  896. pageNo: this.allotList.pageNo,
  897. pageSize: this.allotList.pageSize
  898. });
  899. },
  900. // 未批改作业列表列表
  901. async UnallotHomework() {
  902. this.$store.dispatch("UnallotHomeworkList", {
  903. maxCreateTime: this.filters.MaxtimeValue,
  904. pageNo: this.homeworkLIst.pageNo,
  905. pageSize: this.homeworkLIst.pageSize
  906. });
  907. },
  908. // 分配老师
  909. async GOtoTeacherAllot(v, k) {
  910. this.$store.dispatch("toTeacherAllot", {
  911. teacherId: v.teacherId,
  912. homeworkId: this.allotList.homeworkId
  913. });
  914. v.type = 1;
  915. this.$set(this.TeacherAllotList.list, k, v);
  916. },
  917. // 封号
  918. async CloseTeacherId() {
  919. this.closeID = false
  920. this.$store.dispatch("CloseIdTeacher", {
  921. teacherId: this.TeacherIds,
  922. operate: 2
  923. });
  924. },
  925. // 升级
  926. async RepushTeacherAcess() {
  927. this.rePush = false
  928. this.$store.dispatch("RepushTeacher", {
  929. teacherId: this.TeacherIds,
  930. operate: 1
  931. });
  932. },
  933. // 解封
  934. async OPenTeacherId() {
  935. this.OpenID = false
  936. this.$store.dispatch("OpenIdTeacher", {
  937. teacherId: this.TeacherIds,
  938. operate: 3
  939. });
  940. },
  941. // 查看老师详情信息
  942. async GetTeacherInfo(v) {
  943. this.$store.dispatch("GetTeacherDetail", {
  944. teacherId: v.teacherId
  945. });
  946. var arr = this.GetTeacherDetail.grade.split(",");
  947. this.arrPeriod = this.GetTeacherDetail.period.split(";");
  948. var arrList = [];
  949. for (var i in arr) {
  950. if (arr[i] == "一年级" || arr[i] == "二年级") {
  951. arrList.push("1-2年级");
  952. } else if (arr[i] == "三年级" || arr[i] == "四年级") {
  953. arrList.push("3-4年级");
  954. } else if (arr[i] == "五年级" || arr[i] == "六年级") {
  955. arrList.push("5-6年级");
  956. }
  957. }
  958. this.arrGrade = this.uniq(arrList);
  959. },
  960. // 查看学生详情信息
  961. async GetStudentInfo(v) {
  962. this.$store.dispatch("GetStudentDetail", {
  963. vipId: v.vipId
  964. });
  965. },
  966. selectTitle(k) {
  967. this.modelindex = k;
  968. if (k === 0) {
  969. this.InfoWatch();
  970. }
  971. if (k === 1) {
  972. this.InfoWatchDay();
  973. }
  974. if (k === 2) {
  975. this.InfoWatchMoth();
  976. }
  977. },
  978. isShow(v, str) {
  979. let _this = this;
  980. // scroll= (window).scrollTop();
  981. // $ ( ‘html’ ).css({ ‘overflow’ : ’hidden’ , ’position’: ’fixed’, ’top’: ’- ‘+scroll+’px’})
  982. if (str == 1) {
  983. _this.hiddenModel = true;
  984. this.TeacherAllot(v);
  985. this.allotList.Allotgarde = v.grade;
  986. this.allotList.Allotsubjct = v.subject;
  987. this.allotList.homeworkId = v.homeworkId;
  988. } else if (str == 2) {
  989. _this.isPigai = true;
  990. this.UnallotHomework();
  991. } else if (str == 3) {
  992. this.TeacherIdStatus = v.status;
  993. this.TeacherIds = v.teacherId;
  994. this.TeacherName = v.name;
  995. _this.ModelAppor = true;
  996. this.GetTeacherInfo(v);
  997. } else if (str == 4) {
  998. _this.ModelStudet = true;
  999. this.GetStudentInfo(v);
  1000. }
  1001. else if (str == 5) {
  1002. _this.rePush = true;
  1003. _this.ModelAppor = false;
  1004. }
  1005. else if (str == 6) {
  1006. _this.closeID = true;
  1007. _this.ModelAppor = false;
  1008. }
  1009. else if (str == 7) {
  1010. _this.OpenID = true;
  1011. _this.ModelAppor = false;
  1012. }
  1013. },
  1014. //关闭弹框
  1015. allShowModel(str) {
  1016. let _this = this;
  1017. if (str == 1) {
  1018. _this.hiddenModel = false;
  1019. } else if (str == 2) {
  1020. _this.isPigai = false;
  1021. } else if (str == 3) {
  1022. _this.ModelAppor = false;
  1023. } else if (str == 4) {
  1024. _this.ModelStudet = false;
  1025. } else if (str == 5) {
  1026. _this.rePush = false;
  1027. } else if (str == 6) {
  1028. _this.closeID = false;
  1029. }
  1030. else if (str == 7) {
  1031. _this.OpenID = false;
  1032. }
  1033. },
  1034. // 数组去重
  1035. uniq(array) {
  1036. var temp = []; //一个新的临时数组
  1037. for (var i = 0; i < array.length; i++) {
  1038. if (temp.indexOf(array[i]) == -1) {
  1039. temp.push(array[i]);
  1040. }
  1041. }
  1042. return temp;
  1043. },
  1044. // 回退
  1045. routerback() {
  1046. this.$router.back(-1);
  1047. },
  1048. // 输入框按键方法
  1049. keyCodeMethod(e) {
  1050. if (e.keyCode === 13) return this.itemListReshow();
  1051. },
  1052. expandChange(row, expandRows) {
  1053. for (let item of expandRows) {
  1054. if (row === item) {
  1055. this.expandRowKeys = [row.nodId];
  1056. }
  1057. }
  1058. },
  1059. changeDateSlot(dateSlot) {
  1060. if (dateSlot) {
  1061. this.filters.startDate = dateSlot[0];
  1062. this.filters.endDate = dateSlot[1];
  1063. } else {
  1064. this.filters.startDate = null;
  1065. this.filters.endDate = null;
  1066. }
  1067. },
  1068. actvTypeChange(typeList) {
  1069. switch (typeList.length) {
  1070. case 1:
  1071. this.filters.actvType = typeList[0];
  1072. this.filters.actvSmallType = null;
  1073. break;
  1074. case 2:
  1075. this.filters.actvType = null;
  1076. this.filters.actvSmallType = typeList[1];
  1077. break;
  1078. default:
  1079. this.filters.actvType = null;
  1080. this.filters.actvSmallType = null;
  1081. break;
  1082. }
  1083. },
  1084. handleSizeChange(val) {
  1085. this.filters.pageSize = val;
  1086. this.InfoWatch();
  1087. },
  1088. handleSizeChange1(val) {
  1089. this.filters1.pageSize = val;
  1090. this.InfoWatchDay();
  1091. },
  1092. handleSizeChange2(val) {
  1093. this.filters2.pageSize = val;
  1094. this.InfoWatchMoth();
  1095. },
  1096. handleSizeChange3(val) {
  1097. this.homeworkLIst.pageSize = val;
  1098. this.TeacherHomeworkfy();
  1099. },
  1100. handleSizeChange4(val) {
  1101. this.allotList.pageSize = val;
  1102. this.TeacherAllotfy();
  1103. },
  1104. // 分页
  1105. pageChange(val) {
  1106. this.filters.pageNo = val;
  1107. this.InfoWatch();
  1108. }, // 分页
  1109. pageChange1(val) {
  1110. this.filters1.pageNo = val;
  1111. this.InfoWatchDay();
  1112. }, // 分页
  1113. pageChange2(val) {
  1114. this.filters2.pageNo = val;
  1115. this.InfoWatchMoth();
  1116. },
  1117. pageChange3(val) {
  1118. this.homeworkLIst.pageNo = val;
  1119. this.TeacherHomeworkfy();
  1120. },
  1121. pageChange4(val) {
  1122. this.allotList.pageNo = val;
  1123. this.TeacherAllotfy();
  1124. },
  1125. // 排序
  1126. sortChange(sort) {
  1127. this.filters.orderField = sort.prop;
  1128. this.filters.orderAD = sort.order != null ? sort.order : "";
  1129. this.itemListReshow();
  1130. }
  1131. // 获取创建人列表
  1132. // async getUserNameList() {
  1133. // let {
  1134. // userNameList = []
  1135. // } = await this.$dao.actv.marketActDao.getUserNameList();
  1136. // this.userNameList = userNameList || [];
  1137. // let { list = [] } = await this.$dao.bsnsActvTypeAllList();
  1138. // this.actvTypeList = list || [];
  1139. // }
  1140. },
  1141. mounted() {
  1142. this.InfoWatch();
  1143. // this.getsetDictByType2();
  1144. // this.getUserNameList();
  1145. // this.itemListReshow();
  1146. },
  1147. watch:{
  1148. getTeacherIdStatus(val, oldVal){ //普通的watch监听
  1149. this.InfoWatch();
  1150. },
  1151. }
  1152. };
  1153. </script>
  1154. <!-- Add "scoped" attribute to limit CSS to this component only -->
  1155. <style scoped>
  1156. html,
  1157. body {
  1158. height: 100%;
  1159. overflow: hidden;
  1160. }
  1161. .aside {
  1162. background-color: #fff;
  1163. margin-top: 16px;
  1164. padding: 0;
  1165. min-height: 880px;
  1166. }
  1167. .main {
  1168. background-color: #fff;
  1169. margin: 16px;
  1170. padding: 0 !important;
  1171. min-height: 980px;
  1172. }
  1173. .table-aside {
  1174. color: #666666;
  1175. font-size: 18px;
  1176. text-align: center;
  1177. line-height: 60px;
  1178. cursor: pointer;
  1179. }
  1180. el-table {
  1181. color: #999999;
  1182. font-size: 18px;
  1183. }
  1184. .main-items {
  1185. color: #393939;
  1186. text-align: center;
  1187. line-height: 80px;
  1188. }
  1189. .main-header-item {
  1190. font-size: 16px;
  1191. }
  1192. .model-manager {
  1193. display: flex;
  1194. justify-content: space-between;
  1195. margin: 30px;
  1196. color: #393939;
  1197. font-size: 24px;
  1198. }
  1199. .main-header-link {
  1200. color: #52cc60;
  1201. font-size: 18px;
  1202. margin-left: 10px;
  1203. cursor: pointer;
  1204. text-decoration: underline;
  1205. }
  1206. .el-select {
  1207. width: 100px;
  1208. margin: 0 5px;
  1209. }
  1210. .input-with-select .el-input-group__prepend {
  1211. background-color: #fff;
  1212. }
  1213. .active {
  1214. background-color: #52cc60;
  1215. color: #fff;
  1216. }
  1217. .el-input__inner {
  1218. height: 32px;
  1219. }
  1220. .table-img {
  1221. width: 36px;
  1222. height: 36px;
  1223. border-radius: 6px;
  1224. margin-left: 14px;
  1225. cursor: pointer;
  1226. }
  1227. .table {
  1228. width: 94.5%;
  1229. border-top: 1px solid #e5e5e5;
  1230. margin: 0 43px;
  1231. }
  1232. .table-head {
  1233. color: #999999;
  1234. font-size: 18px;
  1235. text-align: center;
  1236. display: flex;
  1237. justify-content: space-around;
  1238. }
  1239. .table-head > div {
  1240. width: 13.528%;
  1241. }
  1242. .tr {
  1243. width: 100%;
  1244. color: #393939;
  1245. font-size: 20px;
  1246. text-align: center;
  1247. }
  1248. .tr-first {
  1249. display: flex;
  1250. justify-content: space-around;
  1251. }
  1252. .tr-first > div {
  1253. width: 13.528%;
  1254. }
  1255. .tr-set {
  1256. background-color: #fbfbfb;
  1257. display: flex;
  1258. justify-content: space-around;
  1259. color: #393939;
  1260. font-size: 12px;
  1261. margin: 20px;
  1262. }
  1263. .tr-secon {
  1264. font-size: 12px;
  1265. text-align: center;
  1266. word-wrap: break-word;
  1267. width: 40px;
  1268. }
  1269. .tr-second {
  1270. background-color: #fbfbfb;
  1271. margin: 0 115px;
  1272. display: flex;
  1273. justify-content: space-around;
  1274. color: #393939;
  1275. font-size: 20px;
  1276. }
  1277. .tr-seconds {
  1278. text-align: center;
  1279. font-size: 14px;
  1280. word-wrap: break-word;
  1281. /* width: 40px; */
  1282. /* height: 30px; */
  1283. }
  1284. .tr-second-check {
  1285. color: #3ab548;
  1286. font-size: 17px;
  1287. text-decoration: underline;
  1288. }
  1289. .Online {
  1290. display: inline-block;
  1291. }
  1292. .Onlinename {
  1293. display: inline-block;
  1294. }
  1295. .tr-active {
  1296. color: #3ab548;
  1297. }
  1298. .showModel {
  1299. width: 100%;
  1300. height: 100%;
  1301. position: fixed;
  1302. top: 0;
  1303. left: 0;
  1304. background: #000000;
  1305. opacity: 0.2;
  1306. overflow: hidden;
  1307. z-index: 1000;
  1308. color: #fff;
  1309. }
  1310. .model {
  1311. z-index: 10000;
  1312. width: 60%;
  1313. height: auto;
  1314. position: fixed;
  1315. top: 15%;
  1316. left: 25%;
  1317. margin: auto;
  1318. background: #fff;
  1319. border-radius: 30px;
  1320. text-align: center;
  1321. }
  1322. .modelspec{
  1323. z-index: 10000;
  1324. width: 20%;
  1325. height: auto;
  1326. position: fixed;
  1327. top: 30%;
  1328. left: 35%;
  1329. margin: auto;
  1330. background: #fff;
  1331. border-radius: 30px;
  1332. text-align: center;
  1333. }
  1334. .model-text {
  1335. background: rgba(255, 255, 255, 1);
  1336. border-radius: 10px;
  1337. }
  1338. .model-items-first {
  1339. padding: 0 34px;
  1340. display: flex;
  1341. justify-content: space-between;
  1342. }
  1343. .model-items-first-img {
  1344. width: 68px;
  1345. height: 68px;
  1346. border-radius: 8px;
  1347. position: relative;
  1348. bottom: 20px;
  1349. }
  1350. .model-items-first-left {
  1351. display: inline-block;
  1352. color: #393939;
  1353. font-size: 24px;
  1354. margin-left: 14px;
  1355. text-align: left;
  1356. }
  1357. .model-items-first-left-down {
  1358. color: #7e7e7e;
  1359. font-size: 18px;
  1360. }
  1361. .model-text-head {
  1362. padding: 40px 50px;
  1363. display: flex;
  1364. color: #393939;
  1365. font-size: 24px;
  1366. justify-content: space-between;
  1367. }
  1368. .model-items-other {
  1369. height: 60px;
  1370. line-height: 60px;
  1371. color: #393939;
  1372. font-size: 20px;
  1373. text-align: left;
  1374. padding: 0 34px;
  1375. }
  1376. .model-active {
  1377. background-color: #f6f7fb;
  1378. }
  1379. .model-active-last {
  1380. border-radius: 0 0 30px 30px;
  1381. background-color: #f6f7fb;
  1382. }
  1383. .model-items-left {
  1384. width: 100%;
  1385. color: #393939;
  1386. font-size: 24px;
  1387. }
  1388. .model-items-left-top {
  1389. display: flex;
  1390. justify-content: space-between;
  1391. }
  1392. .model-items {
  1393. padding: 20px;
  1394. display: flex;
  1395. justify-content: space-between;
  1396. display: inline-block;
  1397. }
  1398. .model-items-left-top-img {
  1399. width: 68px;
  1400. height: 68px;
  1401. border-radius: 8px;
  1402. position: relative;
  1403. bottom: 25px;
  1404. }
  1405. .main-gay{
  1406. background:rgba(246,247,251,1);
  1407. color: #7E7E7E;
  1408. width: 50px;
  1409. height: 30px;
  1410. line-height:30px;
  1411. cursor: pointer;
  1412. }
  1413. .model-grdeen{
  1414. background-color: #52CC60;
  1415. color: #fff;
  1416. width: 50px;
  1417. height: 30px;
  1418. line-height:30px;
  1419. cursor: pointer;
  1420. }
  1421. .model-text-items-close{
  1422. position: absolute;
  1423. top: 10px;
  1424. right: 15px;
  1425. cursor: pointer;
  1426. }
  1427. .model-text-items{
  1428. position: relative;
  1429. color: #000000;
  1430. font-size: 24px;
  1431. text-align: center;
  1432. padding: 40px 0 50px 0;
  1433. }
  1434. .model-btn{
  1435. display: flex;
  1436. justify-content: space-around;
  1437. margin-bottom: 44px;
  1438. }
  1439. .model-items-left-top-number {
  1440. color: #7e7e7e;
  1441. font-size: 18px;
  1442. margin-left: 10px;
  1443. }
  1444. .today-time {
  1445. color: #7e7e7e;
  1446. font-size: 18px;
  1447. margin: 0 20px;
  1448. }
  1449. .el-pagination {
  1450. padding: 30px;
  1451. }
  1452. </style>