unitDetail-legacy.34b31466.js 63 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751
  1. <<<<<<< HEAD:dist/assets/unitDetail-legacy.e74e47ff.js
  2. <<<<<<< HEAD:dist/assets/unitDetail-legacy.b2ca3b4b.js
  3. <<<<<<< HEAD:dist/assets/unitDetail-legacy.041334ed.js
  4. !(function () {
  5. function e(e, t) {
  6. var n = Object.keys(e)
  7. if (Object.getOwnPropertySymbols) {
  8. var a = Object.getOwnPropertySymbols(e)
  9. t &&
  10. (a = a.filter(function (t) {
  11. return Object.getOwnPropertyDescriptor(e, t).enumerable
  12. })),
  13. n.push.apply(n, a)
  14. }
  15. return n
  16. }
  17. function t(t) {
  18. for (var a = 1; a < arguments.length; a++) {
  19. var i = null != arguments[a] ? arguments[a] : {}
  20. a % 2
  21. ? e(Object(i), !0).forEach(function (e) {
  22. n(t, e, i[e])
  23. })
  24. : Object.getOwnPropertyDescriptors
  25. ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(i))
  26. : e(Object(i)).forEach(function (e) {
  27. Object.defineProperty(t, e, Object.getOwnPropertyDescriptor(i, e))
  28. })
  29. }
  30. return t
  31. }
  32. function n(e, t, n) {
  33. return (
  34. t in e
  35. ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 })
  36. : (e[t] = n),
  37. e
  38. )
  39. }
  40. function a(e, t, n, a, i, r, o) {
  41. try {
  42. var u = e[r](o),
  43. l = u.value
  44. } catch (s) {
  45. return void n(s)
  46. }
  47. u.done ? t(l) : Promise.resolve(l).then(a, i)
  48. }
  49. function i(e) {
  50. return function () {
  51. var t = this,
  52. n = arguments
  53. return new Promise(function (i, r) {
  54. var o = e.apply(t, n)
  55. function u(e) {
  56. a(o, i, r, u, l, 'next', e)
  57. }
  58. function l(e) {
  59. a(o, i, r, u, l, 'throw', e)
  60. }
  61. u(void 0)
  62. })
  63. }
  64. }
  65. var r = document.createElement('style')
  66. ;(r.innerHTML =
  67. '._radioSection_fvm6e_1{position:relative;min-width:.85333rem;line-height:.53333rem;justify-content:center;font-weight:500}._radioItem_fvm6e_8{position:absolute;top:0;left:0;right:0;bottom:0;opacity:0}._radioSection_fvm6e_1+._radioSection_fvm6e_1{margin-left:.53333rem}._unitList_fvm6e_19{padding-top:.32rem}._unitList_fvm6e_19 ._liveList_fvm6e_22{margin-top:.32rem;border-radius:.26667rem;overflow:hidden}._unitList_fvm6e_19 ._manageCell_fvm6e_27{padding:.4rem .34667rem}._unitList_fvm6e_19 ._manageCell_fvm6e_27 ._TagWrap_fvm6e_30{display:flex;flex-direction:row;align-items:center}._unitList_fvm6e_19 ._manageCell_fvm6e_27 ._TagWrap_fvm6e_30 ._studentTag_fvm6e_35{background-color:#ff8057;border-radius:.10667rem;line-height:.50667rem;padding:0 .21333rem;color:#fff;margin-left:.16rem;font-weight:500;font-size:.32rem}._unitList_fvm6e_19 ._manageCell_fvm6e_27 ._TagWrap_fvm6e_30 ._A_PASS_fvm6e_45{background:rgba(255,128,87,.18);color:#f67146}._unitList_fvm6e_19 ._manageCell_fvm6e_27 ._TagWrap_fvm6e_30 ._B_NO_PASS_fvm6e_49{background:rgba(255,92,95,.18);color:#f67146}._unitList_fvm6e_19 ._manageCell_fvm6e_27 ._TagWrap_fvm6e_30 ._C_ING_fvm6e_53{background:rgba(96,218,161,.18);color:#4ab78e}._unitList_fvm6e_19 ._manageCell_fvm6e_27 ._TagWrap_fvm6e_30 ._D_NO_SUBMIT_fvm6e_57{background:rgba(100,169,255,.18);color:#64a9ff}._unitList_fvm6e_19 ._manageCell_fvm6e_27 ._img_fvm6e_61{width:1.28rem;height:1.28rem;overflow:hidden;border-radius:50%;margin-right:.26667rem}._unitList_fvm6e_19 ._manageCell_fvm6e_27 ._name_fvm6e_68{font-size:.42667rem;font-weight:500;color:#333;line-height:.58667rem;max-width:5.33333rem}._unitList_fvm6e_19 ._manageCell_fvm6e_27 ._phone_fvm6e_75{padding-top:.10667rem;font-size:.34667rem;color:#777;line-height:.48rem}._unitList_fvm6e_19 ._manageCell_fvm6e_27 ._status_fvm6e_81{font-size:.42667rem;font-weight:500;color:#333}._unitList_fvm6e_19 ._manageCell_fvm6e_27 ._frozen_fvm6e_86{color:#f44541}\n'),
  68. document.head.appendChild(r),
  69. System.register(
  70. [
  71. './index-legacy.86e58eb0.js',
  72. './quest-icon-legacy.8dd60bcc.js',
  73. './unit-list-item-legacy.9afd2608.js',
  74. './index-legacy.37a26c18.js',
  75. './icon_teacher-legacy.07765f44.js',
  76. './index-legacy.251c44e7.js',
  77. './index-legacy.8895675d.js',
  78. './index-legacy.30138992.js',
  79. './index-legacy.5216aadb.js',
  80. './index-legacy.88f968f8.js',
  81. './index-legacy.1f5a1fbe.js',
  82. './index-legacy.d552d569.js',
  83. './index-legacy.3cdbef0f.js',
  84. './index-legacy.bc5c4a06.js',
  85. './icon-edit-legacy.4520ee5d.js',
  86. './icon-muit-message-legacy.68290c1f.js',
  87. './index-legacy.a5bef69a.js',
  88. './Checker-legacy.bc354448.js',
  89. './use-tab-status-legacy.203dc693.js',
  90. './index-legacy.72f6344c.js',
  91. './index-legacy.a9a76943.js'
  92. ],
  93. function (e) {
  94. 'use strict'
  95. var n,
  96. a,
  97. r,
  98. o,
  99. u,
  100. l,
  101. s,
  102. c,
  103. f,
  104. _,
  105. m,
  106. d,
  107. v,
  108. g,
  109. p,
  110. h,
  111. S,
  112. y,
  113. b,
  114. A,
  115. x,
  116. O,
  117. C,
  118. j,
  119. w,
  120. T,
  121. I,
  122. k,
  123. F,
  124. L,
  125. N
  126. return {
  127. setters: [
  128. function (e) {
  129. n = e.O
  130. },
  131. function (e) {
  132. a = e.q
  133. },
  134. function (e) {
  135. ;(r = e.U), (o = e.s)
  136. },
  137. function (e) {
  138. ;(u = e.d),
  139. (l = e.ag),
  140. (s = e.aV),
  141. (c = e.f),
  142. (f = e.r),
  143. (_ = e.$),
  144. (m = e.m),
  145. (d = e.c),
  146. (v = e.ai),
  147. (g = e.ak),
  148. (p = e.R),
  149. (h = e.y),
  150. (S = e.a5),
  151. (y = e.B),
  152. (b = e.q)
  153. },
  154. function (e) {
  155. A = e.i
  156. },
  157. function (e) {
  158. x = e.O
  159. },
  160. function (e) {
  161. O = e.u
  162. },
  163. function (e) {
  164. ;(C = e.R), (j = e.a)
  165. },
  166. function (e) {
  167. w = e.T
  168. },
  169. function (e) {
  170. T = e.L
  171. },
  172. function (e) {
  173. I = e.C
  174. },
  175. function (e) {
  176. k = e.I
  177. },
  178. function (e) {
  179. F = e.O
  180. },
  181. function (e) {
  182. ;(L = e.T), (N = e.a)
  183. },
  184. function () {},
  185. function () {},
  186. function () {},
  187. function () {},
  188. function () {},
  189. function () {},
  190. function () {}
  191. ],
  192. execute: function () {
  193. var P = {
  194. radioSection: '_radioSection_fvm6e_1',
  195. radioItem: '_radioItem_fvm6e_8',
  196. unitList: '_unitList_fvm6e_19',
  197. liveList: '_liveList_fvm6e_22',
  198. manageCell: '_manageCell_fvm6e_27',
  199. TagWrap: '_TagWrap_fvm6e_30',
  200. studentTag: '_studentTag_fvm6e_35',
  201. A_PASS: '_A_PASS_fvm6e_45',
  202. B_NO_PASS: '_B_NO_PASS_fvm6e_49',
  203. C_ING: '_C_ING_fvm6e_53',
  204. D_NO_SUBMIT: '_D_NO_SUBMIT_fvm6e_57',
  205. img: '_img_fvm6e_61',
  206. name: '_name_fvm6e_68',
  207. phone: '_phone_fvm6e_75',
  208. status: '_status_fvm6e_81',
  209. frozen: '_frozen_fvm6e_86'
  210. }
  211. var E = u({
  212. name: 'unit-student-list',
  213. props: { type: { type: Number, default: 1 } },
  214. setup: function (e) {
  215. l()
  216. var n = s(),
  217. a = c.platformApi,
  218. r = f({ classGroupUnitExaminationId: n.query.id, status: '', page: 1 }),
  219. o = f({
  220. list: [],
  221. listState: {
  222. dataShow: !0,
  223. loading: !1,
  224. finished: !1,
  225. refreshing: !1,
  226. height: 0
  227. },
  228. oldValue: ''
  229. })
  230. _(function () {
  231. u()
  232. })
  233. var u = (function () {
  234. var n = i(
  235. regeneratorRuntime.mark(function n() {
  236. var i, u
  237. return regeneratorRuntime.wrap(
  238. function (n) {
  239. for (;;)
  240. switch ((n.prev = n.next)) {
  241. case 0:
  242. return (
  243. (n.prev = 0),
  244. (n.next = 3),
  245. m.post(''.concat(a, '/studentUnitExamination/studentDetail'), {
  246. data: t({}, r),
  247. requestType: 'form'
  248. })
  249. )
  250. case 3:
  251. if (
  252. ((i = n.sent),
  253. (o.listState.loading = !1),
  254. (o.listState.refreshing = !1),
  255. (u = i.data || {}),
  256. !(o.list.length > 0 && 1 === u.current))
  257. ) {
  258. n.next = 9
  259. break
  260. }
  261. return n.abrupt('return')
  262. case 9:
  263. ;(o.list = o.list = u[e.type] || []),
  264. (o.listState.dataShow = o.list.length > 0),
  265. (o.listState.finished = !0),
  266. (n.next = 18)
  267. break
  268. case 14:
  269. ;(n.prev = 14),
  270. (n.t0 = n.catch(0)),
  271. (o.listState.dataShow = !1),
  272. (o.listState.finished = !0)
  273. case 18:
  274. case 'end':
  275. return n.stop()
  276. }
  277. },
  278. n,
  279. null,
  280. [[0, 14]]
  281. )
  282. })
  283. )
  284. return function () {
  285. return n.apply(this, arguments)
  286. }
  287. })(),
  288. p = function () {
  289. ;(r.page = 1),
  290. (o.list = []),
  291. (o.listState.dataShow = !0),
  292. (o.listState.loading = !1),
  293. (o.listState.finished = !1),
  294. u()
  295. },
  296. h = function (e) {
  297. u()
  298. },
  299. S = function (e) {
  300. e == o.oldValue ? ((r.status = ''), (o.oldValue = '')) : (o.oldValue = e)
  301. }
  302. return function () {
  303. var e
  304. return d('div', { class: P.unitList }, [
  305. d(
  306. C,
  307. {
  308. 'checked-color': '#FF8057',
  309. modelValue: r.status,
  310. 'onUpdate:modelValue': function (e) {
  311. return (r.status = e)
  312. },
  313. direction: 'horizontal',
  314. onChange: h
  315. },
  316. {
  317. default: function () {
  318. return [
  319. d(
  320. w,
  321. {
  322. size: 'large',
  323. type: 'primary',
  324. color: 'A_PASS' !== r.status ? '#EAEAEA' : '#FF8057',
  325. textColor: 'A_PASS' !== r.status ? '#AAA' : '#FFF',
  326. class: P.radioSection
  327. },
  328. {
  329. default: function () {
  330. return [
  331. d(
  332. j,
  333. {
  334. class: P.radioItem,
  335. name: 'A_PASS',
  336. onClick: function () {
  337. return S('A_PASS')
  338. }
  339. },
  340. null
  341. ),
  342. O.A_PASS
  343. ]
  344. }
  345. }
  346. ),
  347. d(
  348. w,
  349. {
  350. size: 'large',
  351. type: 'primary',
  352. color: 'B_NO_PASS' !== r.status ? '#EAEAEA' : '#FF8057',
  353. textColor: 'B_NO_PASS' !== r.status ? '#AAA' : '#FFF',
  354. class: P.radioSection
  355. },
  356. {
  357. default: function () {
  358. return [
  359. d(
  360. j,
  361. {
  362. class: P.radioItem,
  363. name: 'B_NO_PASS',
  364. onClick: function () {
  365. return S('B_NO_PASS')
  366. }
  367. },
  368. null
  369. ),
  370. ' ',
  371. O.B_NO_PASS
  372. ]
  373. }
  374. }
  375. ),
  376. d(
  377. w,
  378. {
  379. size: 'large',
  380. type: 'primary',
  381. color: 'C_ING' !== r.status ? '#EAEAEA' : '#FF8057',
  382. textColor: 'C_ING' !== r.status ? '#AAA' : '#FFF',
  383. class: P.radioSection
  384. },
  385. {
  386. default: function () {
  387. return [
  388. d(
  389. j,
  390. {
  391. class: P.radioItem,
  392. name: 'C_ING',
  393. onClick: function () {
  394. return S('C_ING')
  395. }
  396. },
  397. null
  398. ),
  399. ' ',
  400. O.C_ING
  401. ]
  402. }
  403. }
  404. ),
  405. d(
  406. w,
  407. {
  408. size: 'large',
  409. type: 'primary',
  410. color: 'D_NO_SUBMIT' !== r.status ? '#EAEAEA' : '#FF8057',
  411. textColor: 'D_NO_SUBMIT' !== r.status ? '#AAA' : '#FFF',
  412. class: P.radioSection
  413. },
  414. {
  415. default: function () {
  416. return [
  417. d(
  418. j,
  419. {
  420. class: P.radioItem,
  421. name: 'D_NO_SUBMIT',
  422. onClick: function () {
  423. return S('D_NO_SUBMIT')
  424. }
  425. },
  426. null
  427. ),
  428. O.D_NO_SUBMIT
  429. ]
  430. }
  431. }
  432. )
  433. ]
  434. }
  435. }
  436. ),
  437. o.listState.dataShow
  438. ? d(
  439. x,
  440. {
  441. modelValue: o.listState.refreshing,
  442. 'onUpdate:modelValue': function (e) {
  443. return (o.listState.refreshing = e)
  444. },
  445. onRefresh: p,
  446. style: { minHeight: 'calc(50vh)' }
  447. },
  448. {
  449. default: function () {
  450. return [
  451. d(
  452. T,
  453. {
  454. finished: o.listState.finished,
  455. finishedText: ' ',
  456. class: [P.liveList],
  457. immediateCheck: !1
  458. },
  459. ((t = e =
  460. o.list.map(function (e) {
  461. return d(
  462. I,
  463. { center: !0, class: P.manageCell },
  464. {
  465. icon: function () {
  466. return d(
  467. k,
  468. { class: P.img, src: e.avatar ? e.avatar : A },
  469. null
  470. )
  471. },
  472. title: function () {
  473. return d('div', { class: P.content }, [
  474. d('div', { class: P.TagWrap }, [
  475. ' ',
  476. d('p', { class: [P.name, 'van-ellipsis'] }, [
  477. e.studentName ? e.studentName : '--'
  478. ]),
  479. d('div', { class: [P.studentTag, P[e.status]] }, [
  480. O[e.status]
  481. ])
  482. ]),
  483. e.submitTime
  484. ? d('p', { class: P.phone }, [e.submitTime])
  485. : ''
  486. ])
  487. }
  488. }
  489. )
  490. })),
  491. 'function' == typeof t ||
  492. ('[object Object]' === Object.prototype.toString.call(t) && !g(t))
  493. ? e
  494. : {
  495. default: function () {
  496. return [e]
  497. }
  498. })
  499. )
  500. ]
  501. var t
  502. }
  503. }
  504. )
  505. : d(v, { btnStatus: !1, tips: '暂无学员' }, null)
  506. ])
  507. }
  508. }
  509. })
  510. e(
  511. 'default',
  512. u({
  513. name: 'unitDetail',
  514. setup: function () {
  515. var e = l(),
  516. t = s(),
  517. u = f({ studentList: {} })
  518. p(!1), p(!1)
  519. var v = c.platformApi,
  520. g = p(1),
  521. A = p({}),
  522. x = p(!1),
  523. O = (function () {
  524. var e = i(
  525. regeneratorRuntime.mark(function e() {
  526. var n
  527. return regeneratorRuntime.wrap(
  528. function (e) {
  529. for (;;)
  530. switch ((e.prev = e.next)) {
  531. case 0:
  532. return (
  533. (e.prev = 0),
  534. (e.next = 3),
  535. m.post(''.concat(v, '/classGroupUnitExamination/detail'), {
  536. data: { classGroupUnitExaminationId: t.query.id },
  537. requestType: 'form'
  538. })
  539. )
  540. case 3:
  541. ;(n = e.sent),
  542. (A.value = n.data),
  543. console.log(
  544. '🚀 ~ file: unitDetail.tsx:45 ~ getDetail ~ info.value',
  545. A.value
  546. ),
  547. (e.next = 11)
  548. break
  549. case 8:
  550. ;(e.prev = 8), (e.t0 = e.catch(0)), console.log(e.t0)
  551. case 11:
  552. case 'end':
  553. return e.stop()
  554. }
  555. },
  556. e,
  557. null,
  558. [[0, 8]]
  559. )
  560. })
  561. )
  562. return function () {
  563. return e.apply(this, arguments)
  564. }
  565. })(),
  566. C = (function () {
  567. var e = i(
  568. regeneratorRuntime.mark(function e() {
  569. var n, a
  570. return regeneratorRuntime.wrap(
  571. function (e) {
  572. for (;;)
  573. switch ((e.prev = e.next)) {
  574. case 0:
  575. return (
  576. (e.prev = 0),
  577. (e.next = 3),
  578. m.post(
  579. ''.concat(v, '/studentUnitExamination/studentDetail'),
  580. {
  581. data: { classGroupUnitExaminationId: t.query.id },
  582. requestType: 'form'
  583. }
  584. )
  585. )
  586. case 3:
  587. ;(n = e.sent),
  588. (a = n.data),
  589. console.log(a),
  590. (u.studentList = a || {}),
  591. (e.next = 11)
  592. break
  593. case 9:
  594. ;(e.prev = 9), (e.t0 = e.catch(0))
  595. case 11:
  596. case 'end':
  597. return e.stop()
  598. }
  599. },
  600. e,
  601. null,
  602. [[0, 9]]
  603. )
  604. })
  605. )
  606. return function () {
  607. return e.apply(this, arguments)
  608. }
  609. })(),
  610. j = h(function () {
  611. return !(u.studentList[g.value] && u.studentList[g.value].length > 0)
  612. })
  613. return (
  614. _(function () {
  615. O(), C()
  616. }),
  617. function () {
  618. return d('div', { class: o.unitDetail }, [
  619. d(r, { item: A.value }, null),
  620. d('div', { class: o.tabsWrap }, [
  621. d(
  622. S,
  623. {
  624. class: o.tabsWrapIcon,
  625. name: a,
  626. size: 18,
  627. color: '#333',
  628. onClick: function () {
  629. x.value = !0
  630. }
  631. },
  632. null
  633. ),
  634. d(
  635. L,
  636. {
  637. active: g.value,
  638. 'onUpdate:active': function (e) {
  639. return (g.value = e)
  640. },
  641. class: o.rankTabs,
  642. background: '#F8F8F8',
  643. 'title-active-color': '#333333',
  644. 'title-inactive-color': '#777',
  645. color: '#FF8057',
  646. lineWidth: 20,
  647. lineHeight: 4,
  648. shrink: !0
  649. },
  650. {
  651. default: function () {
  652. return [
  653. d(
  654. N,
  655. { name: 1, title: '单团学员' },
  656. {
  657. default: function () {
  658. return [d(E, { type: 1 }, null)]
  659. }
  660. }
  661. ),
  662. d(
  663. N,
  664. { name: 2, title: '双团学员' },
  665. {
  666. default: function () {
  667. return [d(E, { type: 2 }, null)]
  668. }
  669. }
  670. ),
  671. d(
  672. N,
  673. { name: 3, title: '多团学员' },
  674. {
  675. default: function () {
  676. return [d(E, { type: 3 }, null)]
  677. }
  678. }
  679. )
  680. ]
  681. }
  682. }
  683. )
  684. ]),
  685. d(
  686. n,
  687. { position: 'bottom' },
  688. {
  689. default: function () {
  690. return [
  691. d('div', { class: ['btnGroup'] }, [
  692. d(
  693. y,
  694. {
  695. block: !0,
  696. round: !0,
  697. type: 'primary',
  698. disabled: j.value,
  699. onClick: function () {
  700. e.push({
  701. path: '/unit-detail',
  702. query: { id: t.query.id, level: g.value }
  703. })
  704. }
  705. },
  706. {
  707. default: function () {
  708. return [b('测试报告')]
  709. }
  710. }
  711. )
  712. ])
  713. ]
  714. }
  715. }
  716. ),
  717. d(
  718. F,
  719. {
  720. show: x.value,
  721. 'onUpdate:show': function (e) {
  722. return (x.value = e)
  723. },
  724. title: '学员分类',
  725. message:
  726. '根据学员入团的批次对不同训练阶段的学员进行分类,不同训练阶段的学员可布置不同标准的课后作业和阶段自测内容。\n\n单团学员:最新进入本乐团的学员\n双团学员:较早进入本乐团的学员\n多团学员:最早进入本乐团的学员',
  727. messageAlign: 'left',
  728. confirmButtonText: '我知道了'
  729. },
  730. null
  731. )
  732. ])
  733. }
  734. )
  735. }
  736. })
  737. )
  738. }
  739. }
  740. }
  741. )
  742. })()
  743. =======
  744. !function(){function e(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function t(t){for(var i=1;i<arguments.length;i++){var a=null!=arguments[i]?arguments[i]:{};i%2?e(Object(a),!0).forEach((function(e){n(t,e,a[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):e(Object(a)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))}))}return t}function n(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t,n,i,a,r,o){try{var u=e[r](o),l=u.value}catch(s){return void n(s)}u.done?t(l):Promise.resolve(l).then(i,a)}function a(e){return function(){var t=this,n=arguments;return new Promise((function(a,r){var o=e.apply(t,n);function u(e){i(o,a,r,u,l,"next",e)}function l(e){i(o,a,r,u,l,"throw",e)}u(void 0)}))}}var r=document.createElement("style");r.innerHTML="._radioSection_fvm6e_1{position:relative;min-width:.85333rem;line-height:.53333rem;justify-content:center;font-weight:500}._radioItem_fvm6e_8{position:absolute;top:0;left:0;right:0;bottom:0;opacity:0}._radioSection_fvm6e_1+._radioSection_fvm6e_1{margin-left:.53333rem}._unitList_fvm6e_19{padding-top:.32rem}._unitList_fvm6e_19 ._liveList_fvm6e_22{margin-top:.32rem;border-radius:.26667rem;overflow:hidden}._unitList_fvm6e_19 ._manageCell_fvm6e_27{padding:.4rem .34667rem}._unitList_fvm6e_19 ._manageCell_fvm6e_27 ._TagWrap_fvm6e_30{display:flex;flex-direction:row;align-items:center}._unitList_fvm6e_19 ._manageCell_fvm6e_27 ._TagWrap_fvm6e_30 ._studentTag_fvm6e_35{background-color:#ff8057;border-radius:.10667rem;line-height:.50667rem;padding:0 .21333rem;color:#fff;margin-left:.16rem;font-weight:500;font-size:.32rem}._unitList_fvm6e_19 ._manageCell_fvm6e_27 ._TagWrap_fvm6e_30 ._A_PASS_fvm6e_45{background:rgba(255,128,87,.18);color:#f67146}._unitList_fvm6e_19 ._manageCell_fvm6e_27 ._TagWrap_fvm6e_30 ._B_NO_PASS_fvm6e_49{background:rgba(255,92,95,.18);color:#f67146}._unitList_fvm6e_19 ._manageCell_fvm6e_27 ._TagWrap_fvm6e_30 ._C_ING_fvm6e_53{background:rgba(96,218,161,.18);color:#4ab78e}._unitList_fvm6e_19 ._manageCell_fvm6e_27 ._TagWrap_fvm6e_30 ._D_NO_SUBMIT_fvm6e_57{background:rgba(100,169,255,.18);color:#64a9ff}._unitList_fvm6e_19 ._manageCell_fvm6e_27 ._img_fvm6e_61{width:1.28rem;height:1.28rem;overflow:hidden;border-radius:50%;margin-right:.26667rem}._unitList_fvm6e_19 ._manageCell_fvm6e_27 ._name_fvm6e_68{font-size:.42667rem;font-weight:500;color:#333;line-height:.58667rem;max-width:5.33333rem}._unitList_fvm6e_19 ._manageCell_fvm6e_27 ._phone_fvm6e_75{padding-top:.10667rem;font-size:.34667rem;color:#777;line-height:.48rem}._unitList_fvm6e_19 ._manageCell_fvm6e_27 ._status_fvm6e_81{font-size:.42667rem;font-weight:500;color:#333}._unitList_fvm6e_19 ._manageCell_fvm6e_27 ._frozen_fvm6e_86{color:#f44541}\n",document.head.appendChild(r),System.register(["./index-legacy.e2f02fbe.js","./quest-icon-legacy.8dd60bcc.js","./unit-list-item-legacy.6961367c.js","./index-legacy.5250e410.js","./icon_teacher-legacy.07765f44.js","./index-legacy.c698a6af.js","./index-legacy.8895675d.js","./index-legacy.0a6d54f5.js","./index-legacy.d0ecbe0c.js","./index-legacy.60605ef4.js","./index-legacy.7e0d4571.js","./index-legacy.8f701eeb.js","./index-legacy.a487cc47.js","./index-legacy.f228b6b5.js","./icon-edit-legacy.4520ee5d.js","./icon-muit-message-legacy.68290c1f.js","./index-legacy.9bde57e9.js","./Checker-legacy.0dd903b8.js","./use-tab-status-legacy.8f29db2f.js","./index-legacy.9800e001.js","./index-legacy.eb41f645.js"],(function(e){"use strict";var n,i,r,o,u,l,s,c,f,_,m,d,v,g,p,h,S,y,b,A,x,O,C,j,w,T,I,k,F,L,N;return{setters:[function(e){n=e.O},function(e){i=e.q},function(e){r=e.U,o=e.s},function(e){u=e.d,l=e.ag,s=e.aV,c=e.f,f=e.r,_=e.$,m=e.m,d=e.c,v=e.ai,g=e.ak,p=e.R,h=e.y,S=e.a5,y=e.B,b=e.q},function(e){A=e.i},function(e){x=e.O},function(e){O=e.u},function(e){C=e.R,j=e.a},function(e){w=e.T},function(e){T=e.L},function(e){I=e.C},function(e){k=e.I},function(e){F=e.O},function(e){L=e.T,N=e.a},function(){},function(){},function(){},function(){},function(){},function(){},function(){}],execute:function(){var P={radioSection:"_radioSection_fvm6e_1",radioItem:"_radioItem_fvm6e_8",unitList:"_unitList_fvm6e_19",liveList:"_liveList_fvm6e_22",manageCell:"_manageCell_fvm6e_27",TagWrap:"_TagWrap_fvm6e_30",studentTag:"_studentTag_fvm6e_35",A_PASS:"_A_PASS_fvm6e_45",B_NO_PASS:"_B_NO_PASS_fvm6e_49",C_ING:"_C_ING_fvm6e_53",D_NO_SUBMIT:"_D_NO_SUBMIT_fvm6e_57",img:"_img_fvm6e_61",name:"_name_fvm6e_68",phone:"_phone_fvm6e_75",status:"_status_fvm6e_81",frozen:"_frozen_fvm6e_86"};var E=u({name:"unit-student-list",props:{type:{type:Number,default:1}},setup:function(e){l();var n=s(),i=c.platformApi,r=f({classGroupUnitExaminationId:n.query.id,status:"",page:1}),o=f({list:[],listState:{dataShow:!0,loading:!1,finished:!1,refreshing:!1,height:0},oldValue:""});_((function(){u()}));var u=function(){var n=a(regeneratorRuntime.mark((function n(){var a,u;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,m.post("".concat(i,"/studentUnitExamination/studentDetail"),{data:t({},r),requestType:"form"});case 3:if(a=n.sent,o.listState.loading=!1,o.listState.refreshing=!1,u=a.data||{},!(o.list.length>0&&1===u.current)){n.next=9;break}return n.abrupt("return");case 9:o.list=o.list=u[e.type]||[],o.listState.dataShow=o.list.length>0,o.listState.finished=!0,n.next=18;break;case 14:n.prev=14,n.t0=n.catch(0),o.listState.dataShow=!1,o.listState.finished=!0;case 18:case"end":return n.stop()}}),n,null,[[0,14]])})));return function(){return n.apply(this,arguments)}}(),p=function(){r.page=1,o.list=[],o.listState.dataShow=!0,o.listState.loading=!1,o.listState.finished=!1,u()},h=function(e){u()},S=function(e){e==o.oldValue?(r.status="",o.oldValue=""):o.oldValue=e};return function(){var e;return d("div",{class:P.unitList},[d(C,{"checked-color":"#FF8057",modelValue:r.status,"onUpdate:modelValue":function(e){return r.status=e},direction:"horizontal",onChange:h},{default:function(){return[d(w,{size:"large",type:"primary",color:"A_PASS"!==r.status?"#EAEAEA":"#FF8057",textColor:"A_PASS"!==r.status?"#AAA":"#FFF",class:P.radioSection},{default:function(){return[d(j,{class:P.radioItem,name:"A_PASS",onClick:function(){return S("A_PASS")}},null),O.A_PASS]}}),d(w,{size:"large",type:"primary",color:"B_NO_PASS"!==r.status?"#EAEAEA":"#FF8057",textColor:"B_NO_PASS"!==r.status?"#AAA":"#FFF",class:P.radioSection},{default:function(){return[d(j,{class:P.radioItem,name:"B_NO_PASS",onClick:function(){return S("B_NO_PASS")}},null)," ",O.B_NO_PASS]}}),d(w,{size:"large",type:"primary",color:"C_ING"!==r.status?"#EAEAEA":"#FF8057",textColor:"C_ING"!==r.status?"#AAA":"#FFF",class:P.radioSection},{default:function(){return[d(j,{class:P.radioItem,name:"C_ING",onClick:function(){return S("C_ING")}},null)," ",O.C_ING]}}),d(w,{size:"large",type:"primary",color:"D_NO_SUBMIT"!==r.status?"#EAEAEA":"#FF8057",textColor:"D_NO_SUBMIT"!==r.status?"#AAA":"#FFF",class:P.radioSection},{default:function(){return[d(j,{class:P.radioItem,name:"D_NO_SUBMIT",onClick:function(){return S("D_NO_SUBMIT")}},null),O.D_NO_SUBMIT]}})]}}),o.listState.dataShow?d(x,{modelValue:o.listState.refreshing,"onUpdate:modelValue":function(e){return o.listState.refreshing=e},onRefresh:p,style:{minHeight:"calc(50vh)"}},{default:function(){return[d(T,{finished:o.listState.finished,finishedText:" ",class:[P.liveList],immediateCheck:!1},(t=e=o.list.map((function(e){return d(I,{center:!0,class:P.manageCell},{icon:function(){return d(k,{class:P.img,src:e.avatar?e.avatar:A},null)},title:function(){return d("div",{class:P.content},[d("div",{class:P.TagWrap},[" ",d("p",{class:[P.name,"van-ellipsis"]},[e.studentName?e.studentName:"--"]),d("div",{class:[P.studentTag,P[e.status]]},[O[e.status]])]),e.submitTime?d("p",{class:P.phone},[e.submitTime]):""])}})})),"function"==typeof t||"[object Object]"===Object.prototype.toString.call(t)&&!g(t)?e:{default:function(){return[e]}}))];var t}}):d(v,{btnStatus:!1,tips:"暂无学员"},null)])}}});e("default",u({name:"unitDetail",setup:function(){var e=l(),t=s(),u=f({studentList:{}});p(!1),p(!1);var v=c.platformApi,g=p(1),A=p({}),x=p(!1),O=function(){var e=a(regeneratorRuntime.mark((function e(){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,m.post("".concat(v,"/classGroupUnitExamination/detail"),{data:{classGroupUnitExaminationId:t.query.id},requestType:"form"});case 3:n=e.sent,A.value=n.data,console.log("🚀 ~ file: unitDetail.tsx:45 ~ getDetail ~ info.value",A.value),e.next=11;break;case 8:e.prev=8,e.t0=e.catch(0),console.log(e.t0);case 11:case"end":return e.stop()}}),e,null,[[0,8]])})));return function(){return e.apply(this,arguments)}}(),C=function(){var e=a(regeneratorRuntime.mark((function e(){var n,i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,m.post("".concat(v,"/studentUnitExamination/studentDetail"),{data:{classGroupUnitExaminationId:t.query.id},requestType:"form"});case 3:n=e.sent,i=n.data,console.log(i),u.studentList=i||{},e.next=11;break;case 9:e.prev=9,e.t0=e.catch(0);case 11:case"end":return e.stop()}}),e,null,[[0,9]])})));return function(){return e.apply(this,arguments)}}(),j=h((function(){return!(u.studentList[g.value]&&u.studentList[g.value].length>0)}));return _((function(){O(),C()})),function(){return d("div",{class:o.unitDetail},[d(r,{item:A.value},null),d("div",{class:o.tabsWrap},[d(S,{class:o.tabsWrapIcon,name:i,size:18,color:"#333",onClick:function(){x.value=!0}},null),d(L,{active:g.value,"onUpdate:active":function(e){return g.value=e},class:o.rankTabs,background:"#F8F8F8","title-active-color":"#333333","title-inactive-color":"#777",color:"#FF8057",lineWidth:20,lineHeight:4,shrink:!0},{default:function(){return[d(N,{name:1,title:"单团学生"},{default:function(){return[d(E,{type:1},null)]}}),d(N,{name:2,title:"双团学生"},{default:function(){return[d(E,{type:2},null)]}}),d(N,{name:3,title:"多团学生"},{default:function(){return[d(E,{type:3},null)]}})]}})]),d(n,{position:"bottom"},{default:function(){return[d("div",{class:["btnGroup"]},[d(y,{block:!0,round:!0,type:"primary",disabled:j.value,onClick:function(){e.push({path:"/unit-detail",query:{id:t.query.id,level:g.value}})}},{default:function(){return[b("测试报告")]}})])]}}),d(F,{show:x.value,"onUpdate:show":function(e){return x.value=e},title:"学生分类",message:"根据学生入团的批次对不同训练阶段的学生进行分类,不同训练阶段的学生可布置不同标准的课后作业和阶段自测内容。\n\n单团学生:最新进入本乐团的学员\n双团学生:较早进入本乐团的学员\n多团学生:最早进入本乐团的学员",messageAlign:"left",confirmButtonText:"我知道了"},null)])}}}))}}}))}();
  745. >>>>>>> online:dist/assets/unitDetail-legacy.b2ca3b4b.js
  746. =======
  747. !function(){function e(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function t(t){for(var a=1;a<arguments.length;a++){var i=null!=arguments[a]?arguments[a]:{};a%2?e(Object(i),!0).forEach((function(e){n(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):e(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}function n(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t,n,a,i,r,o){try{var u=e[r](o),l=u.value}catch(s){return void n(s)}u.done?t(l):Promise.resolve(l).then(a,i)}function i(e){return function(){var t=this,n=arguments;return new Promise((function(i,r){var o=e.apply(t,n);function u(e){a(o,i,r,u,l,"next",e)}function l(e){a(o,i,r,u,l,"throw",e)}u(void 0)}))}}var r=document.createElement("style");r.innerHTML="._radioSection_fvm6e_1{position:relative;min-width:.85333rem;line-height:.53333rem;justify-content:center;font-weight:500}._radioItem_fvm6e_8{position:absolute;top:0;left:0;right:0;bottom:0;opacity:0}._radioSection_fvm6e_1+._radioSection_fvm6e_1{margin-left:.53333rem}._unitList_fvm6e_19{padding-top:.32rem}._unitList_fvm6e_19 ._liveList_fvm6e_22{margin-top:.32rem;border-radius:.26667rem;overflow:hidden}._unitList_fvm6e_19 ._manageCell_fvm6e_27{padding:.4rem .34667rem}._unitList_fvm6e_19 ._manageCell_fvm6e_27 ._TagWrap_fvm6e_30{display:flex;flex-direction:row;align-items:center}._unitList_fvm6e_19 ._manageCell_fvm6e_27 ._TagWrap_fvm6e_30 ._studentTag_fvm6e_35{background-color:#ff8057;border-radius:.10667rem;line-height:.50667rem;padding:0 .21333rem;color:#fff;margin-left:.16rem;font-weight:500;font-size:.32rem}._unitList_fvm6e_19 ._manageCell_fvm6e_27 ._TagWrap_fvm6e_30 ._A_PASS_fvm6e_45{background:rgba(255,128,87,.18);color:#f67146}._unitList_fvm6e_19 ._manageCell_fvm6e_27 ._TagWrap_fvm6e_30 ._B_NO_PASS_fvm6e_49{background:rgba(255,92,95,.18);color:#f67146}._unitList_fvm6e_19 ._manageCell_fvm6e_27 ._TagWrap_fvm6e_30 ._C_ING_fvm6e_53{background:rgba(96,218,161,.18);color:#4ab78e}._unitList_fvm6e_19 ._manageCell_fvm6e_27 ._TagWrap_fvm6e_30 ._D_NO_SUBMIT_fvm6e_57{background:rgba(100,169,255,.18);color:#64a9ff}._unitList_fvm6e_19 ._manageCell_fvm6e_27 ._img_fvm6e_61{width:1.28rem;height:1.28rem;overflow:hidden;border-radius:50%;margin-right:.26667rem}._unitList_fvm6e_19 ._manageCell_fvm6e_27 ._name_fvm6e_68{font-size:.42667rem;font-weight:500;color:#333;line-height:.58667rem;max-width:5.33333rem}._unitList_fvm6e_19 ._manageCell_fvm6e_27 ._phone_fvm6e_75{padding-top:.10667rem;font-size:.34667rem;color:#777;line-height:.48rem}._unitList_fvm6e_19 ._manageCell_fvm6e_27 ._status_fvm6e_81{font-size:.42667rem;font-weight:500;color:#333}._unitList_fvm6e_19 ._manageCell_fvm6e_27 ._frozen_fvm6e_86{color:#f44541}\n",document.head.appendChild(r),System.register(["./index-legacy.a772c019.js","./quest-icon-legacy.8dd60bcc.js","./unit-list-item-legacy.a7e25856.js","./index-legacy.e776119d.js","./icon_teacher-legacy.07765f44.js","./index-legacy.4da38622.js","./index-legacy.8895675d.js","./index-legacy.9a9d7d70.js","./index-legacy.29ba056c.js","./index-legacy.7b97ed13.js","./index-legacy.513b7e98.js","./index-legacy.d8701818.js","./index-legacy.badde264.js","./index-legacy.72a95bf0.js","./icon-edit-legacy.4520ee5d.js","./icon-muit-message-legacy.68290c1f.js","./index-legacy.e1ae7968.js","./Checker-legacy.f1b970d6.js","./use-tab-status-legacy.83fb85a3.js","./index-legacy.07af1a6e.js","./index-legacy.9fdb4fc9.js"],(function(e){"use strict";var n,a,r,o,u,l,s,c,_,f,m,d,v,g,p,h,S,y,b,A,x,O,C,j,w,T,I,k,F,L,N;return{setters:[function(e){n=e.O},function(e){a=e.q},function(e){r=e.U,o=e.s},function(e){u=e.d,l=e.ag,s=e.aV,c=e.f,_=e.r,f=e.$,m=e.m,d=e.c,v=e.ai,g=e.ak,p=e.R,h=e.y,S=e.a5,y=e.B,b=e.q},function(e){A=e.i},function(e){x=e.O},function(e){O=e.u},function(e){C=e.R,j=e.a},function(e){w=e.T},function(e){T=e.L},function(e){I=e.C},function(e){k=e.I},function(e){F=e.O},function(e){L=e.T,N=e.a},function(){},function(){},function(){},function(){},function(){},function(){},function(){}],execute:function(){var P={radioSection:"_radioSection_fvm6e_1",radioItem:"_radioItem_fvm6e_8",unitList:"_unitList_fvm6e_19",liveList:"_liveList_fvm6e_22",manageCell:"_manageCell_fvm6e_27",TagWrap:"_TagWrap_fvm6e_30",studentTag:"_studentTag_fvm6e_35",A_PASS:"_A_PASS_fvm6e_45",B_NO_PASS:"_B_NO_PASS_fvm6e_49",C_ING:"_C_ING_fvm6e_53",D_NO_SUBMIT:"_D_NO_SUBMIT_fvm6e_57",img:"_img_fvm6e_61",name:"_name_fvm6e_68",phone:"_phone_fvm6e_75",status:"_status_fvm6e_81",frozen:"_frozen_fvm6e_86"};var E=u({name:"unit-student-list",props:{type:{type:Number,default:1}},setup:function(e){l();var n=s(),a=c.platformApi,r=_({classGroupUnitExaminationId:n.query.id,status:"",page:1}),o=_({list:[],listState:{dataShow:!0,loading:!1,finished:!1,refreshing:!1,height:0},oldValue:""});f((function(){u()}));var u=function(){var n=i(regeneratorRuntime.mark((function n(){var i,u;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,m.post("".concat(a,"/studentUnitExamination/studentDetail"),{data:t({},r),requestType:"form"});case 3:if(i=n.sent,o.listState.loading=!1,o.listState.refreshing=!1,u=i.data||{},!(o.list.length>0&&1===u.current)){n.next=9;break}return n.abrupt("return");case 9:o.list=o.list=u[e.type]||[],o.listState.dataShow=o.list.length>0,o.listState.finished=!0,n.next=18;break;case 14:n.prev=14,n.t0=n.catch(0),o.listState.dataShow=!1,o.listState.finished=!0;case 18:case"end":return n.stop()}}),n,null,[[0,14]])})));return function(){return n.apply(this,arguments)}}(),p=function(){r.page=1,o.list=[],o.listState.dataShow=!0,o.listState.loading=!1,o.listState.finished=!1,u()},h=function(e){u()},S=function(e){e==o.oldValue?(r.status="",o.oldValue=""):o.oldValue=e};return function(){var e;return d("div",{class:P.unitList},[d(C,{"checked-color":"#FF8057",modelValue:r.status,"onUpdate:modelValue":function(e){return r.status=e},direction:"horizontal",onChange:h},{default:function(){return[d(w,{size:"large",type:"primary",color:"A_PASS"!==r.status?"#EAEAEA":"#FF8057",textColor:"A_PASS"!==r.status?"#AAA":"#FFF",class:P.radioSection},{default:function(){return[d(j,{class:P.radioItem,name:"A_PASS",onClick:function(){return S("A_PASS")}},null),O.A_PASS]}}),d(w,{size:"large",type:"primary",color:"B_NO_PASS"!==r.status?"#EAEAEA":"#FF8057",textColor:"B_NO_PASS"!==r.status?"#AAA":"#FFF",class:P.radioSection},{default:function(){return[d(j,{class:P.radioItem,name:"B_NO_PASS",onClick:function(){return S("B_NO_PASS")}},null)," ",O.B_NO_PASS]}}),d(w,{size:"large",type:"primary",color:"C_ING"!==r.status?"#EAEAEA":"#FF8057",textColor:"C_ING"!==r.status?"#AAA":"#FFF",class:P.radioSection},{default:function(){return[d(j,{class:P.radioItem,name:"C_ING",onClick:function(){return S("C_ING")}},null)," ",O.C_ING]}}),d(w,{size:"large",type:"primary",color:"D_NO_SUBMIT"!==r.status?"#EAEAEA":"#FF8057",textColor:"D_NO_SUBMIT"!==r.status?"#AAA":"#FFF",class:P.radioSection},{default:function(){return[d(j,{class:P.radioItem,name:"D_NO_SUBMIT",onClick:function(){return S("D_NO_SUBMIT")}},null),O.D_NO_SUBMIT]}})]}}),o.listState.dataShow?d(x,{modelValue:o.listState.refreshing,"onUpdate:modelValue":function(e){return o.listState.refreshing=e},onRefresh:p,style:{minHeight:"calc(50vh)"}},{default:function(){return[d(T,{finished:o.listState.finished,finishedText:" ",class:[P.liveList],immediateCheck:!1},(t=e=o.list.map((function(e){return d(I,{center:!0,class:P.manageCell},{icon:function(){return d(k,{class:P.img,src:e.avatar?e.avatar:A},null)},title:function(){return d("div",{class:P.content},[d("div",{class:P.TagWrap},[" ",d("p",{class:[P.name,"van-ellipsis"]},[e.studentName?e.studentName:"--"]),d("div",{class:[P.studentTag,P[e.status]]},[O[e.status]])]),e.submitTime?d("p",{class:P.phone},[e.submitTime]):""])}})})),"function"==typeof t||"[object Object]"===Object.prototype.toString.call(t)&&!g(t)?e:{default:function(){return[e]}}))];var t}}):d(v,{btnStatus:!1,tips:"暂无学员"},null)])}}});e("default",u({name:"unitDetail",setup:function(){var e=l(),t=s(),u=_({studentList:{}});p(!1),p(!1);var v=c.platformApi,g=p(1),A=p({}),x=p(!1),O=function(){var e=i(regeneratorRuntime.mark((function e(){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,m.post("".concat(v,"/classGroupUnitExamination/detail"),{data:{classGroupUnitExaminationId:t.query.id},requestType:"form"});case 3:n=e.sent,A.value=n.data,console.log("🚀 ~ file: unitDetail.tsx:45 ~ getDetail ~ info.value",A.value),e.next=11;break;case 8:e.prev=8,e.t0=e.catch(0),console.log(e.t0);case 11:case"end":return e.stop()}}),e,null,[[0,8]])})));return function(){return e.apply(this,arguments)}}(),C=function(){var e=i(regeneratorRuntime.mark((function e(){var n,a;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,m.post("".concat(v,"/studentUnitExamination/studentDetail"),{data:{classGroupUnitExaminationId:t.query.id},requestType:"form"});case 3:n=e.sent,a=n.data,console.log(a),u.studentList=a||{},e.next=11;break;case 9:e.prev=9,e.t0=e.catch(0);case 11:case"end":return e.stop()}}),e,null,[[0,9]])})));return function(){return e.apply(this,arguments)}}(),j=h((function(){return!(u.studentList[g.value]&&u.studentList[g.value].length>0)}));return f((function(){O(),C()})),function(){return d("div",{class:o.unitDetail},[d(r,{item:A.value},null),d("div",{class:o.tabsWrap},[d(S,{class:o.tabsWrapIcon,name:a,size:18,color:"#333",onClick:function(){x.value=!0}},null),d(L,{active:g.value,"onUpdate:active":function(e){return g.value=e},class:o.rankTabs,background:"#F8F8F8","title-active-color":"#333333","title-inactive-color":"#777",color:"#FF8057",lineWidth:20,lineHeight:4,shrink:!0},{default:function(){return[d(N,{name:1,title:"单团学生"},{default:function(){return[d(E,{type:1},null)]}}),d(N,{name:2,title:"双团学生"},{default:function(){return[d(E,{type:2},null)]}}),d(N,{name:3,title:"多团学生"},{default:function(){return[d(E,{type:3},null)]}})]}})]),d(n,{position:"bottom"},{default:function(){return[d("div",{class:["btnGroup"]},[d(y,{block:!0,round:!0,type:"primary",disabled:j.value,onClick:function(){e.push({path:"/unit-detail",query:{id:t.query.id,level:g.value}})}},{default:function(){return[b("测试报告")]}})])]}}),d(F,{show:x.value,"onUpdate:show":function(e){return x.value=e},title:"学生分类",message:"根据学生入团的批次对不同训练阶段的学生进行分类,不同训练阶段的学生可布置不同标准的课后作业和阶段自测内容。\n\n单团学生:最新进入本乐团的学员\n双团学生:较早进入本乐团的学员\n多团学生:最早进入本乐团的学员",messageAlign:"left",confirmButtonText:"我知道了"},null)])}}}))}}}))}();
  748. >>>>>>> online:dist/assets/unitDetail-legacy.e74e47ff.js
  749. =======
  750. !function(){function e(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function t(t){for(var a=1;a<arguments.length;a++){var i=null!=arguments[a]?arguments[a]:{};a%2?e(Object(i),!0).forEach((function(e){n(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):e(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}function n(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t,n,a,i,r,o){try{var u=e[r](o),l=u.value}catch(s){return void n(s)}u.done?t(l):Promise.resolve(l).then(a,i)}function i(e){return function(){var t=this,n=arguments;return new Promise((function(i,r){var o=e.apply(t,n);function u(e){a(o,i,r,u,l,"next",e)}function l(e){a(o,i,r,u,l,"throw",e)}u(void 0)}))}}var r=document.createElement("style");r.innerHTML="._radioSection_fvm6e_1{position:relative;min-width:.85333rem;line-height:.53333rem;justify-content:center;font-weight:500}._radioItem_fvm6e_8{position:absolute;top:0;left:0;right:0;bottom:0;opacity:0}._radioSection_fvm6e_1+._radioSection_fvm6e_1{margin-left:.53333rem}._unitList_fvm6e_19{padding-top:.32rem}._unitList_fvm6e_19 ._liveList_fvm6e_22{margin-top:.32rem;border-radius:.26667rem;overflow:hidden}._unitList_fvm6e_19 ._manageCell_fvm6e_27{padding:.4rem .34667rem}._unitList_fvm6e_19 ._manageCell_fvm6e_27 ._TagWrap_fvm6e_30{display:flex;flex-direction:row;align-items:center}._unitList_fvm6e_19 ._manageCell_fvm6e_27 ._TagWrap_fvm6e_30 ._studentTag_fvm6e_35{background-color:#ff8057;border-radius:.10667rem;line-height:.50667rem;padding:0 .21333rem;color:#fff;margin-left:.16rem;font-weight:500;font-size:.32rem}._unitList_fvm6e_19 ._manageCell_fvm6e_27 ._TagWrap_fvm6e_30 ._A_PASS_fvm6e_45{background:rgba(255,128,87,.18);color:#f67146}._unitList_fvm6e_19 ._manageCell_fvm6e_27 ._TagWrap_fvm6e_30 ._B_NO_PASS_fvm6e_49{background:rgba(255,92,95,.18);color:#f67146}._unitList_fvm6e_19 ._manageCell_fvm6e_27 ._TagWrap_fvm6e_30 ._C_ING_fvm6e_53{background:rgba(96,218,161,.18);color:#4ab78e}._unitList_fvm6e_19 ._manageCell_fvm6e_27 ._TagWrap_fvm6e_30 ._D_NO_SUBMIT_fvm6e_57{background:rgba(100,169,255,.18);color:#64a9ff}._unitList_fvm6e_19 ._manageCell_fvm6e_27 ._img_fvm6e_61{width:1.28rem;height:1.28rem;overflow:hidden;border-radius:50%;margin-right:.26667rem}._unitList_fvm6e_19 ._manageCell_fvm6e_27 ._name_fvm6e_68{font-size:.42667rem;font-weight:500;color:#333;line-height:.58667rem;max-width:5.33333rem}._unitList_fvm6e_19 ._manageCell_fvm6e_27 ._phone_fvm6e_75{padding-top:.10667rem;font-size:.34667rem;color:#777;line-height:.48rem}._unitList_fvm6e_19 ._manageCell_fvm6e_27 ._status_fvm6e_81{font-size:.42667rem;font-weight:500;color:#333}._unitList_fvm6e_19 ._manageCell_fvm6e_27 ._frozen_fvm6e_86{color:#f44541}\n",document.head.appendChild(r),System.register(["./index-legacy.62e2337f.js","./quest-icon-legacy.8dd60bcc.js","./unit-list-item-legacy.4aa7e3dc.js","./index-legacy.8574e5e7.js","./icon_teacher-legacy.07765f44.js","./index-legacy.29da1082.js","./index-legacy.8895675d.js","./index-legacy.d20266fa.js","./index-legacy.fe22448d.js","./index-legacy.e89423b9.js","./index-legacy.5a075ae1.js","./index-legacy.699e3e6f.js","./index-legacy.3efd14da.js","./index-legacy.083a9152.js","./icon-edit-legacy.4520ee5d.js","./icon-muit-message-legacy.68290c1f.js","./index-legacy.53c89bb8.js","./Checker-legacy.6aef14fb.js","./use-tab-status-legacy.2bd37260.js","./index-legacy.c7f88300.js","./index-legacy.6a33e667.js"],(function(e){"use strict";var n,a,r,o,u,l,s,c,f,_,m,d,v,g,p,h,S,y,b,A,x,O,C,j,w,T,I,k,F,L,N;return{setters:[function(e){n=e.O},function(e){a=e.q},function(e){r=e.U,o=e.s},function(e){u=e.d,l=e.ag,s=e.aV,c=e.f,f=e.r,_=e.$,m=e.m,d=e.c,v=e.ai,g=e.ak,p=e.R,h=e.y,S=e.a5,y=e.B,b=e.q},function(e){A=e.i},function(e){x=e.O},function(e){O=e.u},function(e){C=e.R,j=e.a},function(e){w=e.T},function(e){T=e.L},function(e){I=e.C},function(e){k=e.I},function(e){F=e.O},function(e){L=e.T,N=e.a},function(){},function(){},function(){},function(){},function(){},function(){},function(){}],execute:function(){var P={radioSection:"_radioSection_fvm6e_1",radioItem:"_radioItem_fvm6e_8",unitList:"_unitList_fvm6e_19",liveList:"_liveList_fvm6e_22",manageCell:"_manageCell_fvm6e_27",TagWrap:"_TagWrap_fvm6e_30",studentTag:"_studentTag_fvm6e_35",A_PASS:"_A_PASS_fvm6e_45",B_NO_PASS:"_B_NO_PASS_fvm6e_49",C_ING:"_C_ING_fvm6e_53",D_NO_SUBMIT:"_D_NO_SUBMIT_fvm6e_57",img:"_img_fvm6e_61",name:"_name_fvm6e_68",phone:"_phone_fvm6e_75",status:"_status_fvm6e_81",frozen:"_frozen_fvm6e_86"};var E=u({name:"unit-student-list",props:{type:{type:Number,default:1}},setup:function(e){l();var n=s(),a=c.platformApi,r=f({classGroupUnitExaminationId:n.query.id,status:"",page:1}),o=f({list:[],listState:{dataShow:!0,loading:!1,finished:!1,refreshing:!1,height:0},oldValue:""});_((function(){u()}));var u=function(){var n=i(regeneratorRuntime.mark((function n(){var i,u;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,m.post("".concat(a,"/studentUnitExamination/studentDetail"),{data:t({},r),requestType:"form"});case 3:if(i=n.sent,o.listState.loading=!1,o.listState.refreshing=!1,u=i.data||{},!(o.list.length>0&&1===u.current)){n.next=9;break}return n.abrupt("return");case 9:o.list=o.list=u[e.type]||[],o.listState.dataShow=o.list.length>0,o.listState.finished=!0,n.next=18;break;case 14:n.prev=14,n.t0=n.catch(0),o.listState.dataShow=!1,o.listState.finished=!0;case 18:case"end":return n.stop()}}),n,null,[[0,14]])})));return function(){return n.apply(this,arguments)}}(),p=function(){r.page=1,o.list=[],o.listState.dataShow=!0,o.listState.loading=!1,o.listState.finished=!1,u()},h=function(e){u()},S=function(e){e==o.oldValue?(r.status="",o.oldValue=""):o.oldValue=e};return function(){var e;return d("div",{class:P.unitList},[d(C,{"checked-color":"#FF8057",modelValue:r.status,"onUpdate:modelValue":function(e){return r.status=e},direction:"horizontal",onChange:h},{default:function(){return[d(w,{size:"large",type:"primary",color:"A_PASS"!==r.status?"#EAEAEA":"#FF8057",textColor:"A_PASS"!==r.status?"#AAA":"#FFF",class:P.radioSection},{default:function(){return[d(j,{class:P.radioItem,name:"A_PASS",onClick:function(){return S("A_PASS")}},null),O.A_PASS]}}),d(w,{size:"large",type:"primary",color:"B_NO_PASS"!==r.status?"#EAEAEA":"#FF8057",textColor:"B_NO_PASS"!==r.status?"#AAA":"#FFF",class:P.radioSection},{default:function(){return[d(j,{class:P.radioItem,name:"B_NO_PASS",onClick:function(){return S("B_NO_PASS")}},null)," ",O.B_NO_PASS]}}),d(w,{size:"large",type:"primary",color:"C_ING"!==r.status?"#EAEAEA":"#FF8057",textColor:"C_ING"!==r.status?"#AAA":"#FFF",class:P.radioSection},{default:function(){return[d(j,{class:P.radioItem,name:"C_ING",onClick:function(){return S("C_ING")}},null)," ",O.C_ING]}}),d(w,{size:"large",type:"primary",color:"D_NO_SUBMIT"!==r.status?"#EAEAEA":"#FF8057",textColor:"D_NO_SUBMIT"!==r.status?"#AAA":"#FFF",class:P.radioSection},{default:function(){return[d(j,{class:P.radioItem,name:"D_NO_SUBMIT",onClick:function(){return S("D_NO_SUBMIT")}},null),O.D_NO_SUBMIT]}})]}}),o.listState.dataShow?d(x,{modelValue:o.listState.refreshing,"onUpdate:modelValue":function(e){return o.listState.refreshing=e},onRefresh:p,style:{minHeight:"calc(50vh)"}},{default:function(){return[d(T,{finished:o.listState.finished,finishedText:" ",class:[P.liveList],immediateCheck:!1},(t=e=o.list.map((function(e){return d(I,{center:!0,class:P.manageCell},{icon:function(){return d(k,{class:P.img,src:e.avatar?e.avatar:A},null)},title:function(){return d("div",{class:P.content},[d("div",{class:P.TagWrap},[" ",d("p",{class:[P.name,"van-ellipsis"]},[e.studentName?e.studentName:"--"]),d("div",{class:[P.studentTag,P[e.status]]},[O[e.status]])]),e.submitTime?d("p",{class:P.phone},[e.submitTime]):""])}})})),"function"==typeof t||"[object Object]"===Object.prototype.toString.call(t)&&!g(t)?e:{default:function(){return[e]}}))];var t}}):d(v,{btnStatus:!1,tips:"暂无学员"},null)])}}});e("default",u({name:"unitDetail",setup:function(){var e=l(),t=s(),u=f({studentList:{}});p(!1),p(!1);var v=c.platformApi,g=p(1),A=p({}),x=p(!1),O=function(){var e=i(regeneratorRuntime.mark((function e(){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,m.post("".concat(v,"/classGroupUnitExamination/detail"),{data:{classGroupUnitExaminationId:t.query.id},requestType:"form"});case 3:n=e.sent,A.value=n.data,console.log("🚀 ~ file: unitDetail.tsx:45 ~ getDetail ~ info.value",A.value),e.next=11;break;case 8:e.prev=8,e.t0=e.catch(0),console.log(e.t0);case 11:case"end":return e.stop()}}),e,null,[[0,8]])})));return function(){return e.apply(this,arguments)}}(),C=function(){var e=i(regeneratorRuntime.mark((function e(){var n,a;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,m.post("".concat(v,"/studentUnitExamination/studentDetail"),{data:{classGroupUnitExaminationId:t.query.id},requestType:"form"});case 3:n=e.sent,a=n.data,console.log(a),u.studentList=a||{},e.next=11;break;case 9:e.prev=9,e.t0=e.catch(0);case 11:case"end":return e.stop()}}),e,null,[[0,9]])})));return function(){return e.apply(this,arguments)}}(),j=h((function(){return!(u.studentList[g.value]&&u.studentList[g.value].length>0)}));return _((function(){O(),C()})),function(){return d("div",{class:o.unitDetail},[d(r,{item:A.value},null),d("div",{class:o.tabsWrap},[d(S,{class:o.tabsWrapIcon,name:a,size:18,color:"#333",onClick:function(){x.value=!0}},null),d(L,{active:g.value,"onUpdate:active":function(e){return g.value=e},class:o.rankTabs,background:"#F8F8F8","title-active-color":"#333333","title-inactive-color":"#777",color:"#FF8057",lineWidth:20,lineHeight:4,shrink:!0},{default:function(){return[d(N,{name:1,title:"单团学生"},{default:function(){return[d(E,{type:1},null)]}}),d(N,{name:2,title:"双团学生"},{default:function(){return[d(E,{type:2},null)]}}),d(N,{name:3,title:"多团学生"},{default:function(){return[d(E,{type:3},null)]}})]}})]),d(n,{position:"bottom"},{default:function(){return[d("div",{class:["btnGroup"]},[d(y,{block:!0,round:!0,type:"primary",disabled:j.value,onClick:function(){e.push({path:"/unit-detail",query:{id:t.query.id,level:g.value}})}},{default:function(){return[b("测试报告")]}})])]}}),d(F,{show:x.value,"onUpdate:show":function(e){return x.value=e},title:"学生分类",message:"根据学生入团的批次对不同训练阶段的学生进行分类,不同训练阶段的学生可布置不同标准的课后作业和阶段自测内容。\n\n单团学生:最新进入本乐团的学员\n双团学生:较早进入本乐团的学员\n多团学生:最早进入本乐团的学员",messageAlign:"left",confirmButtonText:"我知道了"},null)])}}}))}}}))}();
  751. >>>>>>> online:dist/assets/unitDetail-legacy.34b31466.js