unitDetail-legacy.e74e47ff.js 52 KB

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