index.vue 54 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838
  1. <template>
  2. <div id="index">
  3. <p class="TopSystem">
  4. {{ user.userName }},欢迎您使用本系统<span style="margin-left: 20px"
  5. >本次登录的时间:{{ changeDateTime(user.loginDate) }}</span
  6. >
  7. <span style="margin-left: 14px"
  8. >您上次登录的时间:{{ changeDateTime(user.preLoginDate) }}</span
  9. >
  10. </p>
  11. <template v-if="ShowStatus">
  12. <div>
  13. <ul class="style_ul">
  14. <li
  15. class="style_btn"
  16. v-for="(item, index) in educationType"
  17. :key="index"
  18. :class="activeEduId === item.id ? 'style_btn_active' : ''"
  19. @click="activeEduId = item.id"
  20. >
  21. {{ item.educationName }}
  22. </li>
  23. <div style="clear: both"></div>
  24. </ul>
  25. <ul class="style_ul">
  26. <li
  27. class="style_btn"
  28. v-for="(item, index) in businessList"
  29. :key="index"
  30. :class="activeBusId === item.id ? 'style_btn_active' : ''"
  31. @click="activeBusId = item.id"
  32. >
  33. {{ item.projectName + " - " + item.businessName }}
  34. </li>
  35. <div style="clear: both"></div>
  36. </ul>
  37. </div>
  38. <div class="style_div">
  39. <div class="flex_boxs dy_sty1">
  40. <p><span>学员数量</span></p>
  41. <div class="style_box flex1">
  42. <p class="p1">当前累计人数</p>
  43. <p class="p2">{{ uploadAnimalData.allStudent.toFixed(0) }}</p>
  44. <div class="foot_numbox">
  45. <span class="span1">昨日新增人数</span>
  46. <span class="span2" @click="jumpPage(1)">{{
  47. studentInfomModification.ytdStudent || 0
  48. }}</span>
  49. </div>
  50. </div>
  51. </div>
  52. <div class="flex_boxs dy_sty2">
  53. <p>
  54. <span>学员资料修改动态</span
  55. ><span class="watch_all" @click="jumpPage(2)">查看全部</span>
  56. </p>
  57. <div class="style_box flex2">
  58. <div class="flex2_top_box">
  59. <div class="flex2_label">
  60. <div class="top">今日修改</div>
  61. <div class="nums">
  62. {{ studentInfomModification.todUpdateNum || 0 }}
  63. </div>
  64. </div>
  65. <div class="flex2_label">
  66. <div class="top">昨日修改</div>
  67. <div class="nums">
  68. {{ studentInfomModification.ytdUpdateNum || 0 }}
  69. </div>
  70. </div>
  71. <div class="flex2_label">
  72. <div class="top">近7日修改</div>
  73. <div class="nums">
  74. {{ studentInfomModification.sevenUpdateNum || 0 }}
  75. </div>
  76. </div>
  77. </div>
  78. <ul class="flex2_footer">
  79. <li
  80. v-for="(item, index) in studentInfomModification.lastUpdateList"
  81. :key="index"
  82. style="font-size: 14px; margin-bottom: 10px; color: #666666"
  83. >
  84. <i class="el-icon-s-custom"></i>
  85. 学员<span style="color: #fa541c"
  86. >【{{ item.nowRealname }}】</span
  87. >
  88. ,<span style="color: #fa541c"
  89. >【{{ $methodsTools.onlyForma(item.createTime) }}】</span
  90. >
  91. 修改了<span style="color: #fa541c"
  92. >【{{ item.realname ? "姓名" : ""
  93. }}{{ item.idCard ? "身份证" : ""
  94. }}{{ item.telphone ? "手机号码" : "" }}】</span
  95. >
  96. ,如涉及上报注册中心数据,请及时处理。
  97. </li>
  98. </ul>
  99. </div>
  100. </div>
  101. </div>
  102. <div class="style_div">
  103. <div class="flex_boxs dy_sty3">
  104. <p><span>订单数量</span></p>
  105. <div class="style_box flex1">
  106. <p class="p1">当前累计数量</p>
  107. <p class="p2">{{ uploadAnimalData.allNum.toFixed(0) }}</p>
  108. <div class="foot_list_box">
  109. <div class="foot_list_style">
  110. <div class="aNumTopTitle">
  111. <img src="@/assets/index_images/sl1.png" alt="" /> 线上订单
  112. </div>
  113. <div class="aNumbox">
  114. <span class="span1">视频商品</span>
  115. <span class="span2" @click="jumpPage(3)">{{
  116. orderconsoledData.allOnVideoNum || 0
  117. }}</span>
  118. </div>
  119. <div class="aNumbox">
  120. <span class="span1">题库商品</span>
  121. <span class="span2" @click="jumpPage(4)">{{
  122. orderconsoledData.allOnBankNum || 0
  123. }}</span>
  124. </div>
  125. </div>
  126. <div class="foot_list_style">
  127. <div class="aNumTopTitle">
  128. <img src="@/assets/index_images/sl2.png" alt="" />线下订单
  129. </div>
  130. <div class="aNumbox">
  131. <span class="span1">视频商品</span>
  132. <span class="span2" @click="jumpPage(5)">{{
  133. orderconsoledData.allOffVideoNum || 0
  134. }}</span>
  135. </div>
  136. <div class="aNumbox">
  137. <span class="span1">题库商品</span>
  138. <span class="span2" @click="jumpPage(6)">{{
  139. orderconsoledData.allOffBankNum || 0
  140. }}</span>
  141. </div>
  142. </div>
  143. </div>
  144. </div>
  145. </div>
  146. <div class="flex_boxs dy_sty3">
  147. <p><span>今日订单数量</span></p>
  148. <div class="style_box flex1">
  149. <p class="p1">当前累计数量</p>
  150. <p class="p2">{{ uploadAnimalData.todNum.toFixed(0) }}</p>
  151. <div class="foot_list_box">
  152. <div class="foot_list_style">
  153. <div class="aNumTopTitle">
  154. <img src="@/assets/index_images/sl1.png" alt="" /> 线上订单
  155. </div>
  156. <div class="aNumbox">
  157. <span class="span1">视频商品</span>
  158. <span class="span2" @click="jumpPage(3, 0)">{{
  159. orderconsoledData.todOnVideoNum || 0
  160. }}</span>
  161. </div>
  162. <div class="aNumbox">
  163. <span class="span1">题库商品</span>
  164. <span class="span2" @click="jumpPage(4, 0)">{{
  165. orderconsoledData.todOnBankNum || 0
  166. }}</span>
  167. </div>
  168. </div>
  169. <div class="foot_list_style">
  170. <div class="aNumTopTitle">
  171. <img src="@/assets/index_images/sl2.png" alt="" />线下订单
  172. </div>
  173. <div class="aNumbox">
  174. <span class="span1">视频商品</span>
  175. <span class="span2" @click="jumpPage(5, 0)">{{
  176. orderconsoledData.todOffVideoNum || 0
  177. }}</span>
  178. </div>
  179. <div class="aNumbox">
  180. <span class="span1">题库商品</span>
  181. <span class="span2" @click="jumpPage(6, 0)">{{
  182. orderconsoledData.todOffBankNum || 0
  183. }}</span>
  184. </div>
  185. </div>
  186. </div>
  187. </div>
  188. </div>
  189. <div class="flex_boxs dy_sty3">
  190. <p><span>昨日订单数量</span></p>
  191. <div class="style_box flex1">
  192. <p class="p1">当前累计数量</p>
  193. <p class="p2">{{ uploadAnimalData.ytdNum.toFixed(0) }}</p>
  194. <div class="foot_list_box">
  195. <div class="foot_list_style">
  196. <div class="aNumTopTitle">
  197. <img src="@/assets/index_images/sl1.png" alt="" /> 线上订单
  198. </div>
  199. <div class="aNumbox">
  200. <span class="span1">视频商品</span>
  201. <span class="span2" @click="jumpPage(3, 1)">{{
  202. orderconsoledData.ytdOnVideoNum || 0
  203. }}</span>
  204. </div>
  205. <div class="aNumbox">
  206. <span class="span1">题库商品</span>
  207. <span class="span2" @click="jumpPage(4, 1)">{{
  208. orderconsoledData.ytdOnBankNum || 0
  209. }}</span>
  210. </div>
  211. </div>
  212. <div class="foot_list_style">
  213. <div class="aNumTopTitle">
  214. <img src="@/assets/index_images/sl2.png" alt="" />线下订单
  215. </div>
  216. <div class="aNumbox">
  217. <span class="span1">视频商品</span>
  218. <span class="span2" @click="jumpPage(5, 1)">{{
  219. orderconsoledData.ytdOffVideoNum || 0
  220. }}</span>
  221. </div>
  222. <div class="aNumbox">
  223. <span class="span1">题库商品</span>
  224. <span class="span2" @click="jumpPage(6, 1)">{{
  225. orderconsoledData.ytdOffBankNum || 0
  226. }}</span>
  227. </div>
  228. </div>
  229. </div>
  230. </div>
  231. </div>
  232. <div class="flex_boxs dy_sty3" style="margin-right: 0px !important">
  233. <p>
  234. <span>视频商品:订单学时冲突</span
  235. ><span class="watch_all" @click="jumpPage(7)">查看全部</span>
  236. </p>
  237. <div class="style_box flex3">
  238. <div class="flex3_1">
  239. <div class="flex3_children" style="margin-right: 16px">
  240. <div class="top_label">当前累计数量</div>
  241. <div class="nums">
  242. {{ uploadAnimalData.allRebuyNum.toFixed(0) }}
  243. </div>
  244. </div>
  245. <div class="flex3_children">
  246. <div class="top_label">今日数量</div>
  247. <div class="nums">
  248. {{ uploadAnimalData.todRebuyNum.toFixed(0) }}
  249. </div>
  250. </div>
  251. </div>
  252. <div class="flex3_2">
  253. <div class="flex3_children" style="margin-right: 16px">
  254. <div class="top_label">昨日数量</div>
  255. <div class="nums">
  256. {{ uploadAnimalData.ytdRebuyNum.toFixed(0) }}
  257. </div>
  258. </div>
  259. <div class="flex3_children">
  260. <div class="top_label">近7日数量</div>
  261. <div class="nums">
  262. {{ uploadAnimalData.sevenRebuyNum.toFixed(0) }}
  263. </div>
  264. </div>
  265. </div>
  266. </div>
  267. </div>
  268. </div>
  269. <div class="style_div">
  270. <div class="flex_boxs dy_sty3">
  271. <p>班级数量</p>
  272. <div class="style_box_tran">
  273. <div class="imgIBx imgUrl1 imgSize" @click="jumpPage(8, -1)">
  274. <p class="p1">当前累计数量</p>
  275. <p class="p2">
  276. {{ uploadAnimalData.allNumClass.toFixed(0) }}
  277. </p>
  278. </div>
  279. <div class="li_s">
  280. <div class="li_s_child">
  281. <span class="li_s_child_left">今日新增</span
  282. ><span class="li_s_child_right" @click="jumpPage(8, 0)">{{
  283. classconsoleData.todOpenNum || 0
  284. }}</span>
  285. </div>
  286. <div class="li_s_child">
  287. <span class="li_s_child_left">昨日新增</span
  288. ><span class="li_s_child_right" @click="jumpPage(8, 1)">{{
  289. classconsoleData.todPreNum || 0
  290. }}</span>
  291. </div>
  292. <div class="li_s_child">
  293. <span class="li_s_child_left">近7日新增</span
  294. ><span class="li_s_child_right" @click="jumpPage(8, 2)">{{
  295. classconsoleData.sevNum || 0
  296. }}</span>
  297. </div>
  298. </div>
  299. </div>
  300. </div>
  301. <div class="flex_boxs dy_sty3">
  302. <p class="tranSty">xxx</p>
  303. <div class="style_box_tran">
  304. <div class="imgIBx imgUrl2 imgSize" @click="jumpPage(9, -1)">
  305. <p class="p1">已开班</p>
  306. <p class="p2">
  307. {{ uploadAnimalData.allOpenNumClass.toFixed(0) }}
  308. </p>
  309. </div>
  310. <div class="li_s">
  311. <div class="li_s_child">
  312. <span class="li_s_child_left">今日新增</span
  313. ><span class="li_s_child_right" @click="jumpPage(9, 0)">{{
  314. classconsoleData.todOpenNum || 0
  315. }}</span>
  316. </div>
  317. <div class="li_s_child">
  318. <span class="li_s_child_left">昨日新增</span
  319. ><span class="li_s_child_right" @click="jumpPage(9, 1)">{{
  320. classconsoleData.ytdOpenNum || 0
  321. }}</span>
  322. </div>
  323. <div class="li_s_child">
  324. <span class="li_s_child_left">近7日新增</span
  325. ><span class="li_s_child_right" @click="jumpPage(9, 2)">{{
  326. classconsoleData.sevOpenNum || 0
  327. }}</span>
  328. </div>
  329. </div>
  330. </div>
  331. </div>
  332. <div class="flex_boxs dy_sty3">
  333. <p class="tranSty">xxx</p>
  334. <div class="style_box_tran">
  335. <div class="imgIBx imgUrl3 imgSize" @click="jumpPage(10, -1)">
  336. <p class="p1">预报名</p>
  337. <p class="p2">
  338. {{ uploadAnimalData.allPreNumClass.toFixed(0) }}
  339. </p>
  340. </div>
  341. <div class="li_s">
  342. <div class="li_s_child">
  343. <span class="li_s_child_left">今日新增</span
  344. ><span class="li_s_child_right" @click="jumpPage(10, 0)">{{
  345. classconsoleData.todPreNum || 0
  346. }}</span>
  347. </div>
  348. <div class="li_s_child">
  349. <span class="li_s_child_left">昨日新增</span
  350. ><span class="li_s_child_right" @click="jumpPage(10, 1)">{{
  351. classconsoleData.ytdPreNum || 0
  352. }}</span>
  353. </div>
  354. <div class="li_s_child">
  355. <span class="li_s_child_left">近7日新增</span
  356. ><span class="li_s_child_right" @click="jumpPage(10, 2)">{{
  357. classconsoleData.sevPreNum || 0
  358. }}</span>
  359. </div>
  360. </div>
  361. </div>
  362. </div>
  363. <div class="flex_boxs dy_sty3" style="margin-right: 0px !important">
  364. <p>
  365. <span>学习账号标记</span
  366. ><span class="watch_all" @click="jumpPage(11)">查看全部</span>
  367. </p>
  368. <div class="style_box flex1">
  369. <div class="foot_box" style="margin-bottom: 16px">
  370. <div
  371. class="foot_box_list"
  372. style="margin-right: 16px; height: 64px"
  373. >
  374. <div class="top_label">未配置班级</div>
  375. <div class="nums_mini">
  376. {{ classconsoleData.noConfigNum || 0 }}
  377. </div>
  378. </div>
  379. <div
  380. class="foot_box_list"
  381. style="margin-right: 16px; height: 64px"
  382. >
  383. <div class="top_label">有接口班级</div>
  384. <div class="nums_mini">
  385. {{ classconsoleData.interfNum || 0 }}
  386. </div>
  387. </div>
  388. <div class="foot_box_list" style="height: 64px">
  389. <div class="top_label">无接口班级</div>
  390. <div class="nums_mini">
  391. {{ classconsoleData.noInterfNum || 0 }}
  392. </div>
  393. </div>
  394. </div>
  395. <div class="foot_list_box" style="align-items: flex-start">
  396. <div class="foot_list_style">
  397. <div class="aNumTopTitle">
  398. <img src="@/assets/index_images/sl8.png" alt="" />
  399. 账号开通标记
  400. </div>
  401. <div class="aNumbox" style="margin-bottom: 13px">
  402. <span class="span1">未开通</span>
  403. <span class="span3">{{
  404. classconsoleData.noOpenNum || 0
  405. }}</span>
  406. </div>
  407. <div class="aNumbox" style="margin-bottom: 13px">
  408. <span class="span1">已开通</span>
  409. <span class="span3">{{ classconsoleData.openNum || 0 }}</span>
  410. </div>
  411. <div class="aNumbox">
  412. <span class="span1">标记失败</span>
  413. <span class="span3">{{ classconsoleData.failNum || 0 }}</span>
  414. </div>
  415. </div>
  416. <div class="foot_list_style" style="align-items: flex-start">
  417. <div class="aNumTopTitle">
  418. <img src="@/assets/index_images/sl9.png" alt="" />学完标记
  419. </div>
  420. <div class="aNumbox" style="margin-bottom: 13px">
  421. <span class="span1">未完成</span>
  422. <span class="span3">{{
  423. classconsoleData.noFinishNum || 0
  424. }}</span>
  425. </div>
  426. <div class="aNumbox" style="margin-bottom: 13px">
  427. <span class="span1">已完成</span>
  428. <span class="span3">{{
  429. classconsoleData.finishNum || 0
  430. }}</span>
  431. </div>
  432. </div>
  433. </div>
  434. </div>
  435. </div>
  436. </div>
  437. <div class="style_div">
  438. <div class="flex_boxs dy_sty4">
  439. <p>填写资料审核</p>
  440. <div class="style_box flex1">
  441. <p class="p1">待审数量</p>
  442. <p class="p3" @click="jumpPage(15, null, 2)">
  443. {{ uploadAnimalData.pendingTrialNum.toFixed(0) }}
  444. </p>
  445. <div class="foot_box">
  446. <div class="foot_box_list" style="margin-right: 16px">
  447. <div class="top_label">不通过数量</div>
  448. <div class="nums" @click="jumpPage(15, null, 3)">
  449. {{ periodconsoleprofileData.unPassNum || 0 }}
  450. </div>
  451. </div>
  452. <div class="foot_box_list">
  453. <div class="top_label">通过数量</div>
  454. <div class="nums" @click="jumpPage(15, null, 1)">
  455. {{ periodconsoleprofileData.passNum || 0 }}
  456. </div>
  457. </div>
  458. </div>
  459. </div>
  460. </div>
  461. <div class="flex_boxs dy_sty4">
  462. <p>学时审核</p>
  463. <div class="style_box_tran_yellow">
  464. <div class="imgIBx imgUrl4 imgSize" @click="jumpPage(16, null, 2)">
  465. <p class="p1">待初审</p>
  466. <p class="p2">{{ uploadAnimalData.waitAllNum.toFixed(0) }}</p>
  467. </div>
  468. <div class="li_s">
  469. <div class="li_s_child">
  470. <span class="li_s_child_left">今日新增</span
  471. ><span class="li_s_child_right" @click="jumpPage(16, 1, 2)">{{
  472. periodconsoleData.waitTodNum || 0
  473. }}</span>
  474. </div>
  475. <div class="li_s_child">
  476. <span class="li_s_child_left">昨日新增</span
  477. ><span class="li_s_child_right" @click="jumpPage(16, 2, 2)">{{
  478. periodconsoleData.waitYtdNum || 0
  479. }}</span>
  480. </div>
  481. <div class="li_s_child">
  482. <span class="li_s_child_left">近7日新增</span
  483. ><span class="li_s_child_right" @click="jumpPage(16, 3, 2)">{{
  484. periodconsoleData.waitSevNum || 0
  485. }}</span>
  486. </div>
  487. </div>
  488. </div>
  489. </div>
  490. <div class="flex_boxs dy_sty4">
  491. <p class="tranSty">xxx</p>
  492. <div class="style_box_tran_yellow">
  493. <div class="imgIBx imgUrl5 imgSize" @click="jumpPage(16, null, 3)">
  494. <p class="p1">待复审</p>
  495. <p class="p2">{{ uploadAnimalData.ingAllNum.toFixed(0) }}</p>
  496. </div>
  497. <div class="li_s">
  498. <div class="li_s_child">
  499. <span class="li_s_child_left">今日新增</span
  500. ><span class="li_s_child_right" @click="jumpPage(16, 1, 3)">{{
  501. periodconsoleData.ingTodNum || 0
  502. }}</span>
  503. </div>
  504. <div class="li_s_child">
  505. <span class="li_s_child_left">昨日新增</span
  506. ><span class="li_s_child_right" @click="jumpPage(16, 2, 3)">{{
  507. periodconsoleData.ingYtdNum || 0
  508. }}</span>
  509. </div>
  510. <div class="li_s_child">
  511. <span class="li_s_child_left">近7日新增</span
  512. ><span class="li_s_child_right" @click="jumpPage(16, 3, 3)">{{
  513. periodconsoleData.ingSevNum || 0
  514. }}</span>
  515. </div>
  516. </div>
  517. </div>
  518. </div>
  519. <div class="flex_boxs dy_sty4" style="margin-right: 0px !important">
  520. <p>
  521. <span>学员推送数据</span
  522. ><span class="watch_all" @click="jumpPage(12)">查看全部</span>
  523. </p>
  524. <div class="style_box flex1">
  525. <div class="foot_box" style="margin-bottom: 16px">
  526. <div
  527. class="foot_box_list"
  528. style="margin-right: 16px; height: 64px"
  529. >
  530. <div class="top_label">未配置报名接口班级</div>
  531. <div class="nums_mini">
  532. {{ periodconsoleData.noInfoNum || 0 }}
  533. </div>
  534. </div>
  535. <div class="foot_box_list" style="height: 64px">
  536. <div class="top_label">有配置报名接口班级</div>
  537. <div class="nums_mini">
  538. {{ periodconsoleData.infoNum || 0 }}
  539. </div>
  540. </div>
  541. </div>
  542. <div class="foot_box" style="margin-bottom: 16px">
  543. <div
  544. class="foot_box_list"
  545. style="margin-right: 16px; height: 64px"
  546. >
  547. <div class="top_label">未配置学时接口班级</div>
  548. <div class="nums_mini">
  549. {{ periodconsoleData.noPeriodNum || 0 }}
  550. </div>
  551. </div>
  552. <div class="foot_box_list" style="height: 64px">
  553. <div class="top_label">有配置学时接口班级</div>
  554. <div class="nums_mini">
  555. {{ periodconsoleData.periodNum || 0 }}
  556. </div>
  557. </div>
  558. </div>
  559. <div class="foot_list_box" style="align-items: flex-start">
  560. <div class="foot_list_style">
  561. <div class="aNumTopTitle">
  562. <img src="@/assets/index_images/sl10.png" alt="" /> 报名推送
  563. </div>
  564. <div class="aNumbox" style="margin-bottom: 13px">
  565. <span class="span1">报名人数</span>
  566. <span class="span3">{{
  567. periodconsoleData.applyUserNum || 0
  568. }}</span>
  569. </div>
  570. <div class="aNumbox">
  571. <span class="span1">已推送人数</span>
  572. <span class="span3">{{
  573. periodconsoleData.applyPushUserNum || 0
  574. }}</span>
  575. </div>
  576. </div>
  577. <div class="foot_list_style" style="align-items: flex-start">
  578. <div class="aNumTopTitle">
  579. <img src="@/assets/index_images/sl11.png" alt="" />学时推送
  580. </div>
  581. <div class="aNumbox" style="margin-bottom: 13px">
  582. <span class="span1">学时审核通过人数</span>
  583. <span class="span3">{{
  584. periodconsoleData.periodUserNum || 0
  585. }}</span>
  586. </div>
  587. <div class="aNumbox">
  588. <span class="span1">已推送人数</span>
  589. <span class="span3">{{
  590. periodconsoleData.periodPushUserNum || 0
  591. }}</span>
  592. </div>
  593. </div>
  594. </div>
  595. </div>
  596. </div>
  597. </div>
  598. <div class="style_div" style="align-items: flex-start">
  599. <div class="flex_boxs dy_sty2" style="margin-right: 13px; height: auto">
  600. <p>
  601. <span>考试数据</span
  602. ><span class="watch_all" @click="jumpPage(13)">查看全部</span>
  603. </p>
  604. <div class="style_box changeTABLE">
  605. <el-table
  606. :data="tableData"
  607. style="width: 99%"
  608. :header-cell-style="{
  609. 'background-color': '#E6FFFB',
  610. color: '#13C2C2',
  611. fontSize: '14px',
  612. }"
  613. :row-class-name="tableRowClassName"
  614. >
  615. <el-table-column
  616. v-for="(item, index) in tableSet"
  617. :key="index"
  618. :prop="item.prop"
  619. :label="item.label"
  620. :width="item.width"
  621. >
  622. <template slot-scope="scope">
  623. <span>{{ scope.row[item.prop] }}</span>
  624. </template>
  625. </el-table-column>
  626. </el-table>
  627. </div>
  628. </div>
  629. <div class="flex_boxs dy_sty2" style="height: auto">
  630. <p>
  631. <span>模考数据</span
  632. ><span class="watch_all" @click="jumpPage(14)">查看全部</span>
  633. </p>
  634. <div class="style_box changeTABLE">
  635. <el-table
  636. :data="MKtableData"
  637. style="width: 99%"
  638. :header-cell-style="{
  639. 'background-color': '#E6FFFB',
  640. color: '#13C2C2',
  641. fontSize: '14px',
  642. }"
  643. :row-class-name="tableRowClassName"
  644. >
  645. <el-table-column
  646. v-for="(item, index) in tableSet"
  647. :key="index"
  648. :prop="item.prop"
  649. :label="item.label"
  650. :width="item.width"
  651. >
  652. <template slot-scope="scope">
  653. <span>{{ scope.row[item.prop] }}</span>
  654. </template>
  655. </el-table-column>
  656. </el-table>
  657. </div>
  658. </div>
  659. </div>
  660. </template>
  661. </div>
  662. </template>
  663. <script>
  664. import { getInfo } from "@/api/login";
  665. import { mapGetters } from "vuex";
  666. export default {
  667. name: "Index",
  668. data() {
  669. return {
  670. activeEduId: "",
  671. businessList: [],
  672. activeBusId: "",
  673. tableSet: [
  674. {
  675. label: "类别",
  676. prop: "name",
  677. },
  678. {
  679. label: "今日",
  680. prop: "TodNum",
  681. },
  682. {
  683. label: "昨日",
  684. prop: "YtdNum",
  685. },
  686. {
  687. label: "近7日",
  688. prop: "SevNum",
  689. },
  690. {
  691. label: "累计",
  692. prop: "Num",
  693. },
  694. ],
  695. tableData: [],
  696. MKtableData: [],
  697. num1: 0,
  698. studentInfomModification: {}, //学员资料修改动态
  699. orderconsoledData: {},
  700. classconsoleData: {},
  701. periodconsoleData: {},
  702. periodconsoleprofileData: {}, //填写资料审核
  703. testDataconsoleData: {}, //考试预约
  704. uploadAnimalData: {
  705. allStudent: 0, //当前累计人数
  706. allNum: 0,
  707. todNum: 0,
  708. ytdNum: 0,
  709. allRebuyNum: 0,
  710. todRebuyNum: 0,
  711. ytdRebuyNum: 0,
  712. sevenRebuyNum: 0,
  713. allNumClass: 0,
  714. allOpenNumClass: 0,
  715. allPreNumClass: 0,
  716. waitAllNum: 0,
  717. ingAllNum: 0,
  718. pendingTrialNum: 0,
  719. }, //需要动画滚动的数值
  720. user: {},
  721. ShowStatus: true,
  722. };
  723. },
  724. watch: {
  725. educationType(val) {
  726. if (val.length > 0) {
  727. this.activeEduId = val[0].id;
  728. }
  729. },
  730. activeEduId(val) {
  731. this.$api
  732. .inquirebusinessList({ status: 1, educationId: val })
  733. .then((res) => {
  734. if (res.rows.length > 0) {
  735. this.activeBusId = res.rows[0].id;
  736. }
  737. this.businessList = res.rows;
  738. });
  739. },
  740. activeBusId(val) {
  741. this.getBusUploadData(val);
  742. },
  743. "studentInfomModification.allStudent"(val) {
  744. this.gsap.to(this.$data.uploadAnimalData, {
  745. duration: 0.5,
  746. allStudent: val,
  747. });
  748. },
  749. orderconsoledData(val) {
  750. this.gsap.to(this.$data.uploadAnimalData, {
  751. duration: 0.5,
  752. allNum: val.allNum,
  753. });
  754. this.gsap.to(this.$data.uploadAnimalData, {
  755. duration: 0.5,
  756. todNum: val.todNum,
  757. });
  758. this.gsap.to(this.$data.uploadAnimalData, {
  759. duration: 0.5,
  760. ytdNum: val.ytdNum,
  761. });
  762. this.gsap.to(this.$data.uploadAnimalData, {
  763. duration: 0.5,
  764. allRebuyNum: val.allRebuyNum,
  765. });
  766. this.gsap.to(this.$data.uploadAnimalData, {
  767. duration: 0.5,
  768. todRebuyNum: val.todRebuyNum,
  769. });
  770. this.gsap.to(this.$data.uploadAnimalData, {
  771. duration: 0.5,
  772. ytdRebuyNum: val.ytdRebuyNum,
  773. });
  774. this.gsap.to(this.$data.uploadAnimalData, {
  775. duration: 0.5,
  776. sevenRebuyNum: val.sevenRebuyNum,
  777. });
  778. },
  779. classconsoleData(val) {
  780. this.gsap.to(this.$data.uploadAnimalData, {
  781. duration: 0.5,
  782. allNumClass: val.allNum,
  783. });
  784. this.gsap.to(this.$data.uploadAnimalData, {
  785. duration: 0.5,
  786. allOpenNumClass: val.allOpenNum,
  787. });
  788. this.gsap.to(this.$data.uploadAnimalData, {
  789. duration: 0.5,
  790. allPreNumClass: val.allPreNum,
  791. });
  792. },
  793. periodconsoleData(val) {
  794. this.gsap.to(this.$data.uploadAnimalData, {
  795. duration: 0.5,
  796. waitAllNum: val.waitAllNum,
  797. });
  798. this.gsap.to(this.$data.uploadAnimalData, {
  799. duration: 0.5,
  800. ingAllNum: val.ingAllNum,
  801. });
  802. },
  803. periodconsoleprofileData(val) {
  804. this.gsap.to(this.$data.uploadAnimalData, {
  805. duration: 0.5,
  806. pendingTrialNum: val.pendingTrialNum,
  807. });
  808. },
  809. },
  810. computed: {
  811. educationType(){
  812. return this.$store.getters['educationType']
  813. },
  814. changeDateTime: function () {
  815. return function (date) {
  816. if (date) {
  817. let da = this.$methodsTools.onlyForma(
  818. new Date(date).getTime() / 1000
  819. );
  820. return da;
  821. } else {
  822. return "没有记录";
  823. }
  824. };
  825. },
  826. },
  827. created() {
  828. getInfo().then((res) => {
  829. this.user = res.data.user;
  830. });
  831. },
  832. mounted() {
  833. if (
  834. this.$store.state.user.roles.includes("supervisory")
  835. ) {
  836. this.ShowStatus = false;
  837. }
  838. /**
  839. * 防止监听未触发导致没有选中教育类型-业务层级
  840. */
  841. if (!this.activeEduId && this.educationType && this.educationType.length) {
  842. this.activeEduId = this.educationType[0].id;
  843. }
  844. },
  845. methods: {
  846. /**
  847. * 跳转页面 1.学员列表数据 2.学员资料修改动态 3.线上订单视频 4.线上订单题库 5.线下订单视频 6.线下订单题库
  848. */
  849. jumpPage(int, timeType, type) {
  850. if (int === 1) {
  851. const jump = () => {
  852. this.$router.push({
  853. name: "StudentList",
  854. params: {
  855. educationId: this.activeEduId,
  856. businessId: this.activeBusId,
  857. timeType: timeType,
  858. },
  859. });
  860. };
  861. const statusPage = this.$store.state.tagsView.visitedViews.some(
  862. (item) => {
  863. return item.name == "StudentList";
  864. }
  865. );
  866. if (statusPage) {
  867. this.$store
  868. .dispatch("tagsView/delCachedView", {
  869. name: "StudentList",
  870. })
  871. .then((res) => {
  872. jump();
  873. });
  874. } else {
  875. jump();
  876. }
  877. }
  878. if (int === 2) {
  879. const jump = () => {
  880. this.$router.push({
  881. name: "StudentInfoChange",
  882. params: {
  883. educationId: this.activeEduId,
  884. businessId: this.activeBusId,
  885. },
  886. });
  887. };
  888. const statusPage = this.$store.state.tagsView.visitedViews.some(
  889. (item) => {
  890. return item.name == "StudentInfoChange";
  891. }
  892. );
  893. if (statusPage) {
  894. this.$store
  895. .dispatch("tagsView/delCachedView", {
  896. name: "StudentInfoChange",
  897. })
  898. .then((res) => {
  899. jump();
  900. });
  901. } else {
  902. jump();
  903. }
  904. }
  905. if (int === 3 || int === 4) {
  906. const jump = () => {
  907. this.$router.push({
  908. name: "OrderList",
  909. params: {
  910. goodsType: int === 3 ? 1 : 2,
  911. educationId: this.activeEduId,
  912. businessId: this.activeBusId,
  913. timeType: timeType,
  914. },
  915. });
  916. };
  917. const statusPage = this.$store.state.tagsView.visitedViews.some(
  918. (item) => {
  919. return item.name == "OrderList";
  920. }
  921. );
  922. if (statusPage) {
  923. this.$store
  924. .dispatch("tagsView/delCachedView", {
  925. name: "OrderList",
  926. })
  927. .then((res) => {
  928. jump();
  929. });
  930. } else {
  931. jump();
  932. }
  933. }
  934. if (int === 5 || int === 6) {
  935. const jump = () => {
  936. this.$router.push({
  937. name: "OfflineOrder",
  938. params: {
  939. goodsType: int === 5 ? 1 : 2,
  940. educationId: this.activeEduId,
  941. businessId: this.activeBusId,
  942. timeType: timeType,
  943. },
  944. });
  945. };
  946. const statusPage = this.$store.state.tagsView.visitedViews.some(
  947. (item) => {
  948. return item.name == "OfflineOrder";
  949. }
  950. );
  951. if (statusPage) {
  952. this.$store
  953. .dispatch("tagsView/delCachedView", {
  954. name: "OfflineOrder",
  955. })
  956. .then((res) => {
  957. jump();
  958. });
  959. } else {
  960. jump();
  961. }
  962. }
  963. if (int === 7) {
  964. const jump = () => {
  965. this.$router.push({
  966. name: "SchoolHoursConflictOrder",
  967. params: {
  968. educationId: this.activeEduId,
  969. businessId: this.activeBusId,
  970. },
  971. });
  972. };
  973. const statusPage = this.$store.state.tagsView.visitedViews.some(
  974. (item) => {
  975. return item.name == "SchoolHoursConflictOrder";
  976. }
  977. );
  978. if (statusPage) {
  979. this.$store
  980. .dispatch("tagsView/delCachedView", {
  981. name: "SchoolHoursConflictOrder",
  982. })
  983. .then((res) => {
  984. jump();
  985. });
  986. } else {
  987. jump();
  988. }
  989. }
  990. if (int === 8 || int === 9 || int === 10) {
  991. const jump = () => {
  992. this.$router.push({
  993. name: "ClassList",
  994. params: {
  995. educationId: this.activeEduId,
  996. businessId: this.activeBusId,
  997. timeType: timeType,
  998. classStatus: int === 9 ? 1 : int === 10 ? 0 : "",
  999. },
  1000. });
  1001. };
  1002. const statusPage = this.$store.state.tagsView.visitedViews.some(
  1003. (item) => {
  1004. return item.name == "ClassList";
  1005. }
  1006. );
  1007. if (statusPage) {
  1008. this.$store
  1009. .dispatch("tagsView/delCachedView", {
  1010. name: "ClassList",
  1011. })
  1012. .then((res) => {
  1013. jump();
  1014. });
  1015. } else {
  1016. jump();
  1017. }
  1018. }
  1019. if (int === 11) {
  1020. const jump = () => {
  1021. this.$router.push({
  1022. name: "LearningAccoutTags",
  1023. params: {
  1024. educationId: this.activeEduId,
  1025. },
  1026. });
  1027. };
  1028. const statusPage = this.$store.state.tagsView.visitedViews.some(
  1029. (item) => {
  1030. return item.name == "LearningAccoutTags";
  1031. }
  1032. );
  1033. if (statusPage) {
  1034. this.$store
  1035. .dispatch("tagsView/delCachedView", {
  1036. name: "LearningAccoutTags",
  1037. })
  1038. .then((res) => {
  1039. jump();
  1040. });
  1041. } else {
  1042. jump();
  1043. }
  1044. }
  1045. if (int === 12) {
  1046. const jump = () => {
  1047. this.$router.push({
  1048. name: "StudentPushData",
  1049. params: {
  1050. educationId: this.activeEduId,
  1051. businessId: this.activeBusId,
  1052. },
  1053. });
  1054. };
  1055. const statusPage = this.$store.state.tagsView.visitedViews.some(
  1056. (item) => {
  1057. return item.name == "StudentPushData";
  1058. }
  1059. );
  1060. if (statusPage) {
  1061. this.$store
  1062. .dispatch("tagsView/delCachedView", {
  1063. name: "StudentPushData",
  1064. })
  1065. .then((res) => {
  1066. jump();
  1067. });
  1068. } else {
  1069. jump();
  1070. }
  1071. }
  1072. if (int === 13) {
  1073. const jump = () => {
  1074. this.$router.push({
  1075. name: "ApplicationData",
  1076. params: {
  1077. educationId: this.activeEduId,
  1078. businessId: this.activeBusId,
  1079. },
  1080. });
  1081. };
  1082. const statusPage = this.$store.state.tagsView.visitedViews.some(
  1083. (item) => {
  1084. return item.name == "ApplicationData";
  1085. }
  1086. );
  1087. if (statusPage) {
  1088. this.$store
  1089. .dispatch("tagsView/delCachedView", {
  1090. name: "ApplicationData",
  1091. })
  1092. .then((res) => {
  1093. jump();
  1094. });
  1095. } else {
  1096. jump();
  1097. }
  1098. }
  1099. if (int === 14) {
  1100. const jump = () => {
  1101. this.$router.push({
  1102. name: "MockTestData",
  1103. params: {
  1104. educationId: this.activeEduId,
  1105. businessId: this.activeBusId,
  1106. },
  1107. });
  1108. };
  1109. const statusPage = this.$store.state.tagsView.visitedViews.some(
  1110. (item) => {
  1111. return item.name == "MockTestData";
  1112. }
  1113. );
  1114. if (statusPage) {
  1115. this.$store
  1116. .dispatch("tagsView/delCachedView", {
  1117. name: "MockTestData",
  1118. })
  1119. .then((res) => {
  1120. jump();
  1121. });
  1122. } else {
  1123. jump();
  1124. }
  1125. }
  1126. if (int === 15) {
  1127. const jump = () => {
  1128. this.$router.push({
  1129. name: "DataConfig",
  1130. params: {
  1131. educationId: this.activeEduId,
  1132. businessId: this.activeBusId,
  1133. type: type,
  1134. },
  1135. });
  1136. };
  1137. const statusPage = this.$store.state.tagsView.visitedViews.some(
  1138. (item) => {
  1139. return item.name == "DataConfig";
  1140. }
  1141. );
  1142. if (statusPage) {
  1143. this.$store
  1144. .dispatch("tagsView/delCachedView", {
  1145. name: "DataConfig",
  1146. })
  1147. .then((res) => {
  1148. jump();
  1149. });
  1150. } else {
  1151. jump();
  1152. }
  1153. }
  1154. if (int === 16) {
  1155. const jump = () => {
  1156. this.$router.push({
  1157. name: "ListOfhoursToBeReviewed",
  1158. params: {
  1159. educationId: this.activeEduId,
  1160. businessId: this.activeBusId,
  1161. timeType: timeType,
  1162. type: type,
  1163. },
  1164. });
  1165. };
  1166. const statusPage = this.$store.state.tagsView.visitedViews.some(
  1167. (item) => {
  1168. return item.name == "ListOfhoursToBeReviewed";
  1169. }
  1170. );
  1171. if (statusPage) {
  1172. this.$store
  1173. .dispatch("tagsView/delCachedView", {
  1174. name: "ListOfhoursToBeReviewed",
  1175. })
  1176. .then((res) => {
  1177. jump();
  1178. });
  1179. } else {
  1180. jump();
  1181. }
  1182. }
  1183. },
  1184. /**
  1185. * 表格颜色
  1186. */
  1187. tableRowClassName({ row, rowIndex }) {
  1188. if (rowIndex % 2 == 0) {
  1189. return "";
  1190. }
  1191. return "success-row";
  1192. },
  1193. /**
  1194. * 初始获取数据
  1195. */
  1196. getBusUploadData(id) {
  1197. this.$api.baseconsolestudentData({ businessId: id }).then((res) => {
  1198. this.studentInfomModification = res.data;
  1199. });
  1200. this.$api.baseconsoleorderData({ businessId: id }).then((res) => {
  1201. this.orderconsoledData = res.data;
  1202. });
  1203. this.$api.baseconsolegradeData({ businessId: id }).then((res) => {
  1204. this.classconsoleData = res.data;
  1205. });
  1206. this.$api.baseconsoleperiodData({ businessId: id }).then((res) => {
  1207. this.periodconsoleData = res.data;
  1208. });
  1209. this.$api.baseconsoletestData({ businessId: id }).then((res) => {
  1210. this.getInData(res);
  1211. });
  1212. this.$api.baseconsolemockData({ businessId: id }).then((res) => {
  1213. this.getMKData(res);
  1214. });
  1215. this.$api.baseconsoleprofileData({ businessId: id }).then((res) => {
  1216. this.periodconsoleprofileData = res.data;
  1217. });
  1218. },
  1219. /**
  1220. * 考试预约数据格式处理
  1221. */
  1222. getInData(res) {
  1223. let data = [
  1224. {
  1225. name: "考试预约",
  1226. },
  1227. {
  1228. name: "考试待登记",
  1229. },
  1230. {
  1231. name: "考试已登记",
  1232. },
  1233. ];
  1234. for (let k in res.data) {
  1235. switch (k) {
  1236. case "subTodNum":
  1237. case "subYtdNum":
  1238. case "subSevNum":
  1239. case "subscribeNum":
  1240. for (let i = 0; i < data.length; i++) {
  1241. if (data[i].name === "考试预约") {
  1242. if (k === "subTodNum") {
  1243. data[i].TodNum = res.data[k];
  1244. }
  1245. if (k === "subYtdNum") {
  1246. data[i].YtdNum = res.data[k];
  1247. }
  1248. if (k === "subSevNum") {
  1249. data[i].SevNum = res.data[k];
  1250. }
  1251. if (k === "subscribeNum") {
  1252. data[i].Num = res.data[k];
  1253. }
  1254. break;
  1255. }
  1256. }
  1257. break;
  1258. case "waitRegisterTodNum":
  1259. case "waitRegisterYtdNum":
  1260. case "waitRegisterSevNum":
  1261. case "waitRegisterNum":
  1262. for (let i = 0; i < data.length; i++) {
  1263. if (data[i].name === "考试待登记") {
  1264. if (k === "waitRegisterTodNum") {
  1265. data[i].TodNum = res.data[k];
  1266. }
  1267. if (k === "waitRegisterYtdNum") {
  1268. data[i].YtdNum = res.data[k];
  1269. }
  1270. if (k === "waitRegisterSevNum") {
  1271. data[i].SevNum = res.data[k];
  1272. }
  1273. if (k === "waitRegisterNum") {
  1274. data[i].Num = res.data[k];
  1275. }
  1276. break;
  1277. }
  1278. }
  1279. break;
  1280. case "registerTodNum":
  1281. case "registerYtdNum":
  1282. case "registerSevNum":
  1283. case "registerNum":
  1284. for (let i = 0; i < data.length; i++) {
  1285. if (data[i].name === "考试已登记") {
  1286. if (k === "registerTodNum") {
  1287. data[i].TodNum = res.data[k];
  1288. }
  1289. if (k === "registerYtdNum") {
  1290. data[i].YtdNum = res.data[k];
  1291. }
  1292. if (k === "registerSevNum") {
  1293. data[i].SevNum = res.data[k];
  1294. }
  1295. if (k === "registerNum") {
  1296. data[i].Num = res.data[k];
  1297. }
  1298. break;
  1299. }
  1300. }
  1301. break;
  1302. default:
  1303. break;
  1304. }
  1305. }
  1306. this.tableData = data;
  1307. },
  1308. /**
  1309. * 模考数据格式处理
  1310. */
  1311. getMKData(res) {
  1312. let data = [
  1313. {
  1314. name: "模考预约",
  1315. },
  1316. {
  1317. name: "主观题待评分",
  1318. },
  1319. ];
  1320. for (let k in res.data) {
  1321. switch (k) {
  1322. case "subTodNum":
  1323. case "subYtdNum":
  1324. case "subSevNum":
  1325. case "subscribeNum":
  1326. for (let i = 0; i < data.length; i++) {
  1327. if (data[i].name === "模考预约") {
  1328. if (k === "subTodNum") {
  1329. data[i].TodNum = res.data[k];
  1330. }
  1331. if (k === "subYtdNum") {
  1332. data[i].YtdNum = res.data[k];
  1333. }
  1334. if (k === "subSevNum") {
  1335. data[i].SevNum = res.data[k];
  1336. }
  1337. if (k === "subscribeNum") {
  1338. data[i].Num = res.data[k];
  1339. }
  1340. break;
  1341. }
  1342. }
  1343. break;
  1344. case "toScoreTodNum":
  1345. case "toScoreYtdNum":
  1346. case "toScoreSevNum":
  1347. case "toScoreNum":
  1348. for (let i = 0; i < data.length; i++) {
  1349. if (data[i].name === "主观题待评分") {
  1350. if (k === "toScoreTodNum") {
  1351. data[i].TodNum = res.data[k];
  1352. }
  1353. if (k === "toScoreYtdNum") {
  1354. data[i].YtdNum = res.data[k];
  1355. }
  1356. if (k === "toScoreSevNum") {
  1357. data[i].SevNum = res.data[k];
  1358. }
  1359. if (k === "toScoreNum") {
  1360. data[i].Num = res.data[k];
  1361. }
  1362. break;
  1363. }
  1364. }
  1365. break;
  1366. default:
  1367. break;
  1368. }
  1369. }
  1370. this.MKtableData = data;
  1371. },
  1372. },
  1373. };
  1374. </script>
  1375. <style lang="less" scoped>
  1376. .TopSystem {
  1377. margin: 0px;
  1378. font-size: 14px;
  1379. font-weight: 400;
  1380. color: #999999;
  1381. }
  1382. .style_ul {
  1383. .style_btn {
  1384. float: left;
  1385. background-color: #e6f2ff;
  1386. box-shadow: 2px 2px 6px 0px rgba(217, 217, 217, 0.5);
  1387. padding: 0px 16px;
  1388. border-radius: 4px;
  1389. height: 40px;
  1390. line-height: 40px;
  1391. margin: 0px 16px 16px 0px;
  1392. font-size: 14px;
  1393. font-weight: 400;
  1394. color: #666666;
  1395. user-select: none;
  1396. transition: all 0.1s;
  1397. cursor: pointer;
  1398. &:hover {
  1399. background-color: #0c5dfb;
  1400. color: #fff;
  1401. }
  1402. }
  1403. .style_btn_active {
  1404. background-color: #0c5dfb !important;
  1405. color: #fff !important;
  1406. }
  1407. }
  1408. .style_div {
  1409. margin-bottom: 44px;
  1410. display: flex;
  1411. align-items: center;
  1412. .flex_boxs {
  1413. display: flex;
  1414. flex-direction: column;
  1415. & > p {
  1416. margin: 0px 0px 16px 0px;
  1417. flex-shrink: 0;
  1418. font-size: 16px;
  1419. font-weight: bold;
  1420. color: #666666;
  1421. & > .watch_all {
  1422. font-size: 14px;
  1423. font-weight: 400;
  1424. color: #0c5dfb;
  1425. float: right;
  1426. user-select: none;
  1427. cursor: pointer;
  1428. }
  1429. }
  1430. }
  1431. .flex_box_right {
  1432. height: 258px;
  1433. flex: 1;
  1434. border: 1px solid #666;
  1435. }
  1436. }
  1437. .style_box {
  1438. background: #ffffff;
  1439. box-shadow: 0px 0px 8px 0px rgba(217, 217, 217, 0.8);
  1440. border-radius: 8px;
  1441. flex: 1;
  1442. }
  1443. .style_box_tran {
  1444. margin-top: 51px;
  1445. flex: 1;
  1446. background: #ffffff;
  1447. box-shadow: 0px 0px 8px 0px rgba(217, 217, 217, 0.8);
  1448. border-radius: 8px;
  1449. display: flex;
  1450. .imgIBx {
  1451. width: 224px;
  1452. height: 258px;
  1453. margin-top: -47px;
  1454. border-radius: 8px;
  1455. cursor: pointer;
  1456. transition: all 0.3s;
  1457. &:hover {
  1458. box-shadow: 3px 3px 14px 0px rgba(9, 109, 217, 0.7);
  1459. transform: scale(1.01);
  1460. }
  1461. padding: 15px 16px;
  1462. & > .p1 {
  1463. margin: 0px 0px 23px 0px;
  1464. font-size: 14px;
  1465. font-weight: 400;
  1466. color: #fff;
  1467. }
  1468. & > .p2 {
  1469. font-size: 40px;
  1470. font-weight: bold;
  1471. color: #fff;
  1472. margin: 0px;
  1473. }
  1474. }
  1475. .imgUrl1 {
  1476. background: transparent url("../assets/index_images/sl3.png") no-repeat
  1477. center;
  1478. }
  1479. .imgUrl2 {
  1480. background: transparent url("../assets/index_images/sl4.png") no-repeat
  1481. center;
  1482. }
  1483. .imgUrl3 {
  1484. background: transparent url("../assets/index_images/sl5.png") no-repeat
  1485. center;
  1486. }
  1487. .imgUrl4 {
  1488. background: transparent url("../assets/index_images/sl6.png") no-repeat
  1489. center;
  1490. }
  1491. .imgUrl5 {
  1492. background: transparent url("../assets/index_images/sl7.png") no-repeat
  1493. center;
  1494. }
  1495. .imgSize {
  1496. background-size: 224px 258px;
  1497. }
  1498. .li_s {
  1499. flex: 1;
  1500. display: flex;
  1501. flex-direction: column;
  1502. justify-content: space-around;
  1503. .li_s_child {
  1504. display: flex;
  1505. align-items: center;
  1506. justify-content: space-between;
  1507. height: 48px;
  1508. padding: 0px 15px;
  1509. line-height: 48px;
  1510. border-right: 2px solid #13c2c2;
  1511. background: linear-gradient(
  1512. 90deg,
  1513. rgba(245, 245, 245, 0) 0%,
  1514. #f5f5f5 100%
  1515. );
  1516. .li_s_child_left {
  1517. font-size: 14px;
  1518. font-weight: 400;
  1519. color: #666666;
  1520. }
  1521. .li_s_child_right {
  1522. cursor: pointer;
  1523. user-select: none;
  1524. font-size: 24px;
  1525. font-weight: 400;
  1526. color: #13c2c2;
  1527. }
  1528. }
  1529. }
  1530. }
  1531. .style_box_tran_yellow {
  1532. margin-top: 88px;
  1533. flex: 1;
  1534. background: #ffffff;
  1535. box-shadow: 0px 0px 8px 0px rgba(217, 217, 217, 0.8);
  1536. border-radius: 8px;
  1537. display: flex;
  1538. .imgIBx {
  1539. width: 224px;
  1540. height: 296px;
  1541. margin-top: -82px;
  1542. border-radius: 8px;
  1543. cursor: pointer;
  1544. transition: all 0.3s;
  1545. &:hover {
  1546. box-shadow: 3px 3px 14px 0px rgba(217, 112, 0, 0.7);
  1547. transform: scale(1.01);
  1548. }
  1549. padding: 15px 16px;
  1550. & > .p1 {
  1551. margin: 0px 0px 23px 0px;
  1552. font-size: 14px;
  1553. font-weight: 400;
  1554. color: #fff;
  1555. }
  1556. & > .p2 {
  1557. font-size: 40px;
  1558. font-weight: bold;
  1559. color: #fff;
  1560. margin: 0px;
  1561. }
  1562. }
  1563. .imgUrl4 {
  1564. background: transparent url("../assets/index_images/sl6.png") no-repeat
  1565. center;
  1566. }
  1567. .imgUrl5 {
  1568. background: transparent url("../assets/index_images/sl7.png") no-repeat
  1569. center;
  1570. }
  1571. .imgSize {
  1572. background-size: 224px 296px;
  1573. }
  1574. .li_s {
  1575. flex: 1;
  1576. display: flex;
  1577. flex-direction: column;
  1578. justify-content: space-around;
  1579. .li_s_child {
  1580. display: flex;
  1581. align-items: center;
  1582. justify-content: space-between;
  1583. height: 48px;
  1584. padding: 0px 15px;
  1585. line-height: 48px;
  1586. border-right: 2px solid #13c2c2;
  1587. background: linear-gradient(
  1588. 90deg,
  1589. rgba(245, 245, 245, 0) 0%,
  1590. #f5f5f5 100%
  1591. );
  1592. .li_s_child_left {
  1593. font-size: 14px;
  1594. font-weight: 400;
  1595. color: #666666;
  1596. }
  1597. .li_s_child_right {
  1598. cursor: pointer;
  1599. user-select: none;
  1600. font-size: 24px;
  1601. font-weight: 400;
  1602. color: #13c2c2;
  1603. }
  1604. }
  1605. }
  1606. }
  1607. .dy_sty1 {
  1608. margin-right: 13px;
  1609. height: 258px;
  1610. width: 433px;
  1611. }
  1612. .dy_sty2 {
  1613. height: 258px;
  1614. flex: 1;
  1615. }
  1616. .dy_sty3 {
  1617. margin-right: 13px;
  1618. height: 296px;
  1619. flex: 1;
  1620. }
  1621. .dy_sty4 {
  1622. margin-right: 13px;
  1623. height: 336px;
  1624. flex: 1;
  1625. }
  1626. .tranSty {
  1627. color: transparent !important;
  1628. visibility: hidden !important;
  1629. user-select: none;
  1630. }
  1631. .flex1 {
  1632. padding: 15px 16px;
  1633. display: flex;
  1634. flex-direction: column;
  1635. & > .p1 {
  1636. margin: 0px 0px 23px 0px;
  1637. font-size: 14px;
  1638. font-weight: 400;
  1639. color: #666666;
  1640. }
  1641. & > .p2 {
  1642. font-size: 40px;
  1643. font-weight: bold;
  1644. color: #333333;
  1645. margin: 0px;
  1646. flex: 1;
  1647. }
  1648. & > .p3 {
  1649. font-size: 40px;
  1650. font-weight: bold;
  1651. text-decoration: underline;
  1652. color: #0c5dfb;
  1653. margin: 0px;
  1654. flex: 1;
  1655. user-select: none;
  1656. cursor: pointer;
  1657. }
  1658. & > .foot_numbox {
  1659. display: flex;
  1660. align-items: center;
  1661. justify-content: space-between;
  1662. .span1 {
  1663. font-size: 14px;
  1664. font-weight: 400;
  1665. color: #666666;
  1666. }
  1667. .span2 {
  1668. font-size: 24px;
  1669. font-weight: 400;
  1670. text-decoration: underline;
  1671. color: #0c5dfb;
  1672. cursor: pointer;
  1673. user-select: none;
  1674. }
  1675. }
  1676. & > .foot_list_box {
  1677. display: flex;
  1678. align-items: center;
  1679. .foot_list_style {
  1680. flex: 1;
  1681. &:first-child {
  1682. border-right: 1px solid #d9d9d9;
  1683. padding-right: 15px;
  1684. margin-right: 15px;
  1685. }
  1686. .aNumTopTitle {
  1687. font-size: 14px;
  1688. font-weight: 400;
  1689. color: #666666;
  1690. display: flex;
  1691. align-items: center;
  1692. margin-bottom: 16px;
  1693. img {
  1694. width: 20px;
  1695. height: 19px;
  1696. margin-right: 8px;
  1697. }
  1698. }
  1699. .aNumbox {
  1700. display: flex;
  1701. align-items: center;
  1702. justify-content: space-between;
  1703. .span1 {
  1704. font-size: 14px;
  1705. font-weight: 400;
  1706. color: #666666;
  1707. }
  1708. .span2 {
  1709. font-size: 24px;
  1710. font-weight: 400;
  1711. text-decoration: underline;
  1712. color: #0c5dfb;
  1713. cursor: pointer;
  1714. user-select: none;
  1715. }
  1716. .span3 {
  1717. font-size: 24px;
  1718. font-weight: 400;
  1719. color: #13c2c2;
  1720. }
  1721. }
  1722. }
  1723. }
  1724. & > .foot_box {
  1725. display: flex;
  1726. align-items: center;
  1727. .foot_box_list {
  1728. flex: 1;
  1729. height: 120px;
  1730. background-color: #f5f5f5;
  1731. border-radius: 8px;
  1732. padding: 8px;
  1733. .top_label {
  1734. font-size: 14px;
  1735. font-weight: 400;
  1736. color: #666666;
  1737. }
  1738. .nums {
  1739. margin-top: 33px;
  1740. font-size: 40px;
  1741. font-weight: bold;
  1742. color: #333333;
  1743. text-align: center;
  1744. }
  1745. .nums_mini {
  1746. margin-top: 6px;
  1747. font-size: 24px;
  1748. font-weight: 400;
  1749. color: #333333;
  1750. text-align: center;
  1751. }
  1752. }
  1753. }
  1754. }
  1755. .flex2 {
  1756. padding: 16px;
  1757. display: flex;
  1758. flex-direction: column;
  1759. & > .flex2_top_box {
  1760. flex: 1;
  1761. margin-bottom: 16px;
  1762. .flex2_label {
  1763. width: 160px;
  1764. height: 64px;
  1765. background: #f5f5f5;
  1766. border-radius: 8px;
  1767. margin-right: 16px;
  1768. display: inline-block;
  1769. padding: 7px;
  1770. .top {
  1771. font-size: 14px;
  1772. font-weight: 400;
  1773. color: #666666;
  1774. }
  1775. .nums {
  1776. font-size: 24px;
  1777. font-weight: 400;
  1778. color: #333333;
  1779. text-align: center;
  1780. }
  1781. }
  1782. }
  1783. & > .flex2_footer {
  1784. max-height: 106px;
  1785. overflow: auto;
  1786. background: #f5f5f5;
  1787. border-radius: 8px;
  1788. margin: 0px;
  1789. padding: 16px 16px 0px 16px;
  1790. }
  1791. }
  1792. .flex3 {
  1793. padding: 16px;
  1794. .flex3_1 {
  1795. margin-bottom: 16px;
  1796. display: flex;
  1797. align-items: center;
  1798. justify-content: space-between;
  1799. }
  1800. .flex3_2 {
  1801. display: flex;
  1802. align-items: center;
  1803. justify-content: space-between;
  1804. }
  1805. .flex3_children {
  1806. height: 104px;
  1807. flex: 1;
  1808. background: #f5f5f5;
  1809. border-radius: 8px;
  1810. padding: 8px;
  1811. .top_label {
  1812. font-size: 14px;
  1813. font-weight: 400;
  1814. color: #666666;
  1815. }
  1816. .nums {
  1817. margin-top: 15px;
  1818. text-align: center;
  1819. font-size: 40px;
  1820. font-weight: bold;
  1821. color: #333333;
  1822. }
  1823. }
  1824. }
  1825. .changeTABLE {
  1826. box-shadow: none !important;
  1827. .el-table {
  1828. border-radius: 8px;
  1829. box-shadow: 0px 0px 8px 0px rgba(217, 217, 217, 0.8);
  1830. margin-left: 0.5%;
  1831. }
  1832. }
  1833. /deep/ .el-table .success-row {
  1834. background: rgb(246, 255, 254);
  1835. }
  1836. </style>