uni-last-legacy.7ae261de.js 57 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640
  1. <<<<<<< HEAD:dist/assets/uni-last-legacy.3fbca2b5.js
  2. <<<<<<< HEAD:dist/assets/uni-last-legacy.e3d76784.js
  3. !(function () {
  4. function e(e, t) {
  5. var n = Object.keys(e)
  6. if (Object.getOwnPropertySymbols) {
  7. var r = Object.getOwnPropertySymbols(e)
  8. t &&
  9. (r = r.filter(function (t) {
  10. return Object.getOwnPropertyDescriptor(e, t).enumerable
  11. })),
  12. n.push.apply(n, r)
  13. }
  14. return n
  15. }
  16. function t(e, t, n) {
  17. return (
  18. t in e
  19. ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 })
  20. : (e[t] = n),
  21. e
  22. )
  23. }
  24. function n(e, t, n, r, a, i, l) {
  25. try {
  26. var o = e[i](l),
  27. s = o.value
  28. } catch (_) {
  29. return void n(_)
  30. }
  31. o.done ? t(s) : Promise.resolve(s).then(r, a)
  32. }
  33. function r(e) {
  34. return function () {
  35. var t = this,
  36. r = arguments
  37. return new Promise(function (a, i) {
  38. var l = e.apply(t, r)
  39. function o(e) {
  40. n(l, a, i, o, s, 'next', e)
  41. }
  42. function s(e) {
  43. n(l, a, i, o, s, 'throw', e)
  44. }
  45. o(void 0)
  46. })
  47. }
  48. }
  49. var a = document.createElement('style')
  50. ;(a.innerHTML =
  51. '._lastWrap_nlkfh_1{padding:.4rem .34667rem}._lastWrap_nlkfh_1 ._uniTitle_nlkfh_4{display:flex;flex-direction:row;align-items:center;font-weight:500;color:#333;margin-bottom:.4rem;line-height:.58667rem;font-size:.42667rem}._lastWrap_nlkfh_1 ._uniTitle_nlkfh_4 ._editIcon_nlkfh_14{font-size:.48rem;margin-right:.16rem}._lastWrap_nlkfh_1 ._infoWrap_nlkfh_18{background-color:#fff;border-radius:.26667rem;padding:.21333rem 0}._lastWrap_nlkfh_1 ._infoWrap_nlkfh_18 p{font-size:.4rem;font-weight:500;color:#333;line-height:.56rem;margin-bottom:.4rem}._lastWrap_nlkfh_1 ._infoWrap_nlkfh_18 ._loctionIconWrap_nlkfh_30{margin-left:.13333rem}._lastWrap_nlkfh_1 ._infoWrap_nlkfh_18 ._loctionIconWrap_nlkfh_30 span{line-height:.58667rem;vertical-align:inherit}._lastWrap_nlkfh_1 ._infoWrap_nlkfh_18 ._wrapValue_nlkfh_37{font-weight:500;color:#333;line-height:.56rem}._lastWrap_nlkfh_1 ._infoWrap_nlkfh_18 ._heightValue_nlkfh_42{padding-bottom:.4rem!important;margin-bottom:.21333rem}._lastWrap_nlkfh_1 ._infoWrap_nlkfh_18 input::-webkit-input-placeholder,._lastWrap_nlkfh_1 ._infoWrap_nlkfh_18 input::-ms-input-placeholder{font-size:.4rem}._lastWrap_nlkfh_1 ._infoWrap_nlkfh_18 .van-cell{padding:.21333rem .32rem;font-size:.4rem}._lastWrap_nlkfh_1 ._infoWrap_nlkfh_18 .van-cell__title{font-size:.4rem;font-weight:500;color:#333;line-height:.56rem;margin-bottom:.4rem;flex:0 auto}._lastWrap_nlkfh_1 ._infoWrap_nlkfh_18 .van-field__control{color:#f67146}._lastWrap_nlkfh_1 ._tabsWrap_nlkfh_65{position:relative;margin-top:.26667rem}._lastWrap_nlkfh_1 ._tabsWrap_nlkfh_65 ._rankTabs_nlkfh_69 .van-tabs__nav{padding-left:0;padding-right:0}._lastWrap_nlkfh_1 ._tabsWrap_nlkfh_65 ._rankTabs_nlkfh_69 .van-tabs__nav .van-tab:first-child{padding-left:0}._lastWrap_nlkfh_1 ._tabsWrap_nlkfh_65 ._tabsWrapIcon_nlkfh_76{position:absolute;right:.32rem;top:.34667rem;z-index:2000}._lastWrap_nlkfh_1 ._DialogTitle_nlkfh_82{display:flex;flex-direction:row;align-items:center;padding:.53333rem .66667rem}._lastWrap_nlkfh_1 ._DialogTitle_nlkfh_82 span{width:.10667rem;height:.37333rem;background:#ff8057;border-radius:.05333rem;margin-right:.16rem}._lastWrap_nlkfh_1 ._DialogTitle_nlkfh_82 p{height:.66667rem;font-size:.48rem;font-weight:500;color:#333;line-height:.66667rem}._lastWrap_nlkfh_1 ._DialogConent_nlkfh_102{padding:0 .66667rem .8rem}._lastWrap_nlkfh_1 ._DialogConent_nlkfh_102 p{font-size:.42667rem;line-height:.69333rem;color:#333}._lastWrap_nlkfh_1 .van-tab__text{font-size:.42667rem}._lastWrap_nlkfh_1 .van-tabs__line{bottom:.53333rem;width:.53333rem}._lastWrap_nlkfh_1 .van-cell__title{margin-bottom:0!important}._lastWrap_nlkfh_1 .exercisDetailDialog{border-radius:.26667rem}._lastWrap_nlkfh_1 .exercisDetailDialog .van-dialog__header{padding-top:0!important}._lastWrap_nlkfh_1 .van-dialog{top:47%}._itemWrap_1eb41_1{margin-top:.13333rem;background:#ffffff;border-radius:.26667rem;padding-top:.32rem}._itemWrap_1eb41_1 ._titleWrap_1eb41_7{padding:0 .32rem;height:.58667rem;font-size:.42667rem;font-weight:500;color:#333;line-height:.58667rem}._itemWrap_1eb41_1 ._itemBottom_1eb41_15{margin-top:.4rem;display:flex;flex-direction:row;align-items:center;justify-content:space-around;text-align:center;padding:0 .32rem}._itemWrap_1eb41_1 ._itemBottom_1eb41_15 ._itemBottomDot_1eb41_24{flex-basis:33.33%;position:relative}._itemWrap_1eb41_1 ._itemBottom_1eb41_15 ._itemBottomDot_1eb41_24 ._dotMain_1eb41_28{font-size:.69333rem;color:#333;line-height:.8rem;margin-bottom:.10667rem;font-family:DINA!important}._itemWrap_1eb41_1 ._itemBottom_1eb41_15 ._itemBottomDot_1eb41_24 ._dotMain_1eb41_28 span{margin-left:.02667rem;font-size:.32rem;font-weight:400;color:#333;line-height:.45333rem}._itemWrap_1eb41_1 ._itemBottom_1eb41_15 ._itemBottomDot_1eb41_24 ._dotSub_1eb41_42{font-size:.32rem;font-weight:400;color:#777;line-height:.45333rem}._itemWrap_1eb41_1 ._uniTimeWrap_1eb41_48{padding:.32rem;margin-top:.53333rem;display:flex;flex-direction:row;align-items:center;justify-content:space-between;border-top:.02667rem solid #f2f2f2}._itemWrap_1eb41_1 ._uniTimeWrap_1eb41_48 ._uniTimeWrapLeft_1eb41_57{display:flex;flex-direction:row;align-items:center;font-size:.37333rem;line-height:.53333rem}._itemWrap_1eb41_1 ._uniTimeWrap_1eb41_48 ._uniTimeWrapLeft_1eb41_57 ._clockIcon_1eb41_64{margin-top:-.05333rem;font-size:.48rem;margin-right:.10667rem}\n'),
  52. document.head.appendChild(a),
  53. System.register(
  54. [
  55. './index-legacy.37a26c18.js',
  56. './index-legacy.86e58eb0.js',
  57. './icon-edit-legacy.4520ee5d.js',
  58. './clock-icon-legacy.2424f549.js',
  59. './quest-icon-legacy.8dd60bcc.js',
  60. './index-legacy.1f5a1fbe.js',
  61. './index-legacy.b08187e4.js',
  62. './index-legacy.bc5c4a06.js',
  63. './use-tab-status-legacy.203dc693.js',
  64. './index-legacy.72f6344c.js',
  65. './index-legacy.a9a76943.js'
  66. ],
  67. function (n) {
  68. 'use strict'
  69. var a, i, l, o, s, _, u, c, p, f, m, d, h, v, g, b, k, W, x, y, w, D, I, j
  70. return {
  71. setters: [
  72. function (e) {
  73. ;(a = e.d),
  74. (i = e.c),
  75. (l = e.q),
  76. (o = e.a5),
  77. (s = e.F),
  78. (_ = e.aV),
  79. (u = e.ag),
  80. (c = e.R),
  81. (p = e.r),
  82. (f = e.$),
  83. (m = e.o),
  84. (d = e.m),
  85. (h = e.f),
  86. (v = e.B),
  87. (g = e.aW),
  88. (b = e.k)
  89. },
  90. function (e) {
  91. k = e.O
  92. },
  93. function (e) {
  94. W = e.i
  95. },
  96. function (e) {
  97. x = e.c
  98. },
  99. function (e) {
  100. y = e.q
  101. },
  102. function (e) {
  103. w = e.C
  104. },
  105. function (e) {
  106. D = e.F
  107. },
  108. function (e) {
  109. ;(I = e.T), (j = e.a)
  110. },
  111. function () {},
  112. function () {},
  113. function () {}
  114. ],
  115. execute: function () {
  116. var N = '_lastWrap_nlkfh_1',
  117. C = '_uniTitle_nlkfh_4',
  118. T = '_editIcon_nlkfh_14',
  119. O = '_infoWrap_nlkfh_18',
  120. z = '_loctionIconWrap_nlkfh_30',
  121. E = '_wrapValue_nlkfh_37',
  122. S = '_heightValue_nlkfh_42',
  123. B = '_tabsWrap_nlkfh_65',
  124. G = '_rankTabs_nlkfh_69',
  125. M = '_tabsWrapIcon_nlkfh_76',
  126. P = '_DialogTitle_nlkfh_82',
  127. R = '_DialogConent_nlkfh_102',
  128. q = '_itemWrap_1eb41_1',
  129. F = '_titleWrap_1eb41_7',
  130. V = '_itemBottom_1eb41_15',
  131. A = '_itemBottomDot_1eb41_24',
  132. L = '_dotMain_1eb41_28',
  133. U = '_dotSub_1eb41_42',
  134. H = '_uniTimeWrap_1eb41_48',
  135. J = '_uniTimeWrapLeft_1eb41_57',
  136. $ = '_clockIcon_1eb41_64',
  137. K = a({
  138. props: ['item'],
  139. name: 'newspaper-item',
  140. setup: function (e) {
  141. var t = function () {}
  142. return function () {
  143. var n, r, a, _, u
  144. return i(s, null, [
  145. i('div', null, [
  146. i('div', { class: q, onClick: t }, [
  147. i('div', { class: F }, [
  148. null === (n = e.item) || void 0 === n ? void 0 : n.unitExaminationName
  149. ]),
  150. i('div', { class: V }, [
  151. i('div', { class: [A, 'gridBorderRight'] }, [
  152. i('p', { class: L }, [
  153. (null === (r = e.item) || void 0 === r ? void 0 : r.totalScore) || 0
  154. ]),
  155. i('p', { class: U }, [l(' 总分')])
  156. ]),
  157. i('div', { class: [A, 'gridBorderRight'] }, [
  158. i('p', { class: L, style: { color: '#F67146' } }, [
  159. (null === (a = e.item) || void 0 === a ? void 0 : a.passScore) || 0
  160. ]),
  161. i('p', { class: U }, [l('合格分 ')])
  162. ]),
  163. i('div', { class: A }, [
  164. i('p', { class: L }, [
  165. (null === (_ = e.item) || void 0 === _ ? void 0 : _.questionNum) ||
  166. 0
  167. ]),
  168. i('p', { class: U }, [l('题目数量 ')])
  169. ])
  170. ]),
  171. i('div', { class: H }, [
  172. i('div', { class: J }, [
  173. ' ',
  174. i(o, { name: x, class: $ }, null),
  175. l(' 测验时长:'),
  176. i('span', { style: { color: '#F67146' } }, [
  177. (null === (u = e.item) || void 0 === u ? void 0 : u.timeMinutes) ||
  178. 0,
  179. l(' ')
  180. ]),
  181. l(' 分钟')
  182. ])
  183. ])
  184. ])
  185. ])
  186. ])
  187. }
  188. }
  189. })
  190. n(
  191. 'default',
  192. a({
  193. name: 'uni-test',
  194. setup: function () {
  195. var n = _(),
  196. a = u(),
  197. x = c('one'),
  198. q = c({}),
  199. F = p({ loading: !0, list: [], uniDetail: {} }),
  200. V = c(!1),
  201. A = (function () {
  202. var e = r(
  203. regeneratorRuntime.mark(function e() {
  204. var t, n
  205. return regeneratorRuntime.wrap(
  206. function (e) {
  207. for (;;)
  208. switch ((e.prev = e.next)) {
  209. case 0:
  210. return (
  211. (e.prev = 0),
  212. (e.next = 3),
  213. d.get(
  214. h.platformApi +
  215. '/classGroup/detail/'.concat(q.value.classGroupId)
  216. )
  217. )
  218. case 3:
  219. ;(t = e.sent),
  220. (n = t.data),
  221. (q.value.preStudentNum = n.preStudentNum || 0),
  222. (e.next = 11)
  223. break
  224. case 8:
  225. ;(e.prev = 8), (e.t0 = e.catch(0)), console.log(e.t0)
  226. case 11:
  227. case 'end':
  228. return e.stop()
  229. }
  230. },
  231. e,
  232. null,
  233. [[0, 8]]
  234. )
  235. })
  236. )
  237. return function () {
  238. return e.apply(this, arguments)
  239. }
  240. })(),
  241. L = (function () {
  242. var e = r(
  243. regeneratorRuntime.mark(function e() {
  244. var t, r
  245. return regeneratorRuntime.wrap(
  246. function (e) {
  247. for (;;)
  248. switch ((e.prev = e.next)) {
  249. case 0:
  250. return (
  251. (e.prev = 0),
  252. (e.next = 3),
  253. d.post(
  254. h.platformApi +
  255. '/lessonCoursewareExaminationMapper/detailByCourseId',
  256. {
  257. requestType: 'form',
  258. data: { courseScheduleId: n.query.courseScheduleId }
  259. }
  260. )
  261. )
  262. case 3:
  263. ;(t = e.sent),
  264. (r = t.data),
  265. (q.value.classGroupId = r.classGroupId),
  266. (q.value.classGroupName = r.classGroupName),
  267. (q.value.testName = r.lessonCoursewareExaminationMapperName),
  268. (q.value.orchestraName = r.orchestraName),
  269. (q.value.coursewareName = r.lessonCoursewareName),
  270. (q.value.lessonCoursewareId =
  271. r.lessonCoursewareExaminationMapper.lessonCoursewareId),
  272. (q.value.preStudentNum = r.studentNum || 0),
  273. (q.value.testId = r.lessonCoursewareExaminationMapper.id),
  274. (r.lessonCoursewareExaminationMapper.details || []).forEach(
  275. function (e) {
  276. F.uniDetail[e.level] = e
  277. }
  278. ),
  279. console.log(q.value, 'forms'),
  280. (e.next = 21)
  281. break
  282. case 18:
  283. ;(e.prev = 18), (e.t0 = e.catch(0)), console.log(e.t0)
  284. case 21:
  285. case 'end':
  286. return e.stop()
  287. }
  288. },
  289. e,
  290. null,
  291. [[0, 18]]
  292. )
  293. })
  294. )
  295. return function () {
  296. return e.apply(this, arguments)
  297. }
  298. })()
  299. f(function () {
  300. if (
  301. ((q.value = (function (n) {
  302. for (var r = 1; r < arguments.length; r++) {
  303. var a = null != arguments[r] ? arguments[r] : {}
  304. r % 2
  305. ? e(Object(a), !0).forEach(function (e) {
  306. t(n, e, a[e])
  307. })
  308. : Object.getOwnPropertyDescriptors
  309. ? Object.defineProperties(n, Object.getOwnPropertyDescriptors(a))
  310. : e(Object(a)).forEach(function (e) {
  311. Object.defineProperty(n, e, Object.getOwnPropertyDescriptor(a, e))
  312. })
  313. }
  314. return n
  315. })({}, JSON.parse(sessionStorage.getItem('unit-create') || '{}'))),
  316. console.log(q.value),
  317. n.query.courseScheduleId)
  318. )
  319. L()
  320. else {
  321. if (!q.value.classGroupId) return void m('请选择班级')
  322. A(), U()
  323. }
  324. })
  325. var U = (function () {
  326. var e = r(
  327. regeneratorRuntime.mark(function e() {
  328. return regeneratorRuntime.wrap(
  329. function (e) {
  330. for (;;)
  331. switch ((e.prev = e.next)) {
  332. case 0:
  333. return (
  334. (e.prev = 0),
  335. (e.next = 3),
  336. d.post(
  337. h.platformApi + '/lessonCoursewareExaminationMapper/detail',
  338. {
  339. requestType: 'form',
  340. data: {
  341. lessonCoursewareExaminationMapperId: q.value.testId
  342. }
  343. }
  344. )
  345. )
  346. case 3:
  347. e.sent.data.details.forEach(function (e) {
  348. F.uniDetail[e.level] = e
  349. }),
  350. (e.next = 10)
  351. break
  352. case 7:
  353. ;(e.prev = 7), (e.t0 = e.catch(0)), console.log(e.t0)
  354. case 10:
  355. case 'end':
  356. return e.stop()
  357. }
  358. },
  359. e,
  360. null,
  361. [[0, 7]]
  362. )
  363. })
  364. )
  365. return function () {
  366. return e.apply(this, arguments)
  367. }
  368. })(),
  369. H = (function () {
  370. var e = r(
  371. regeneratorRuntime.mark(function e() {
  372. var t, r
  373. return regeneratorRuntime.wrap(
  374. function (e) {
  375. for (;;)
  376. switch ((e.prev = e.next)) {
  377. case 0:
  378. if (q.value.expiryDate) {
  379. e.next = 3
  380. break
  381. }
  382. return m('请输入截止时间'), e.abrupt('return')
  383. case 3:
  384. return (
  385. (e.prev = 3),
  386. (e.next = 6),
  387. d.post(
  388. h.platformApi +
  389. '/classGroupUnitExamination/publishUnitExamination',
  390. {
  391. hideLoading: !1,
  392. data: {
  393. classGroupId: q.value.classGroupId,
  394. lessonCoursewareExaminationMapperId: q.value.testId,
  395. unitExaminationName: ''
  396. .concat(
  397. null === (t = q.value) || void 0 === t
  398. ? void 0
  399. : t.coursewareName,
  400. '-'
  401. )
  402. .concat(
  403. null === (r = q.value) || void 0 === r
  404. ? void 0
  405. : r.testName
  406. ),
  407. expiryDate: q.value.expiryDate
  408. }
  409. }
  410. )
  411. )
  412. case 6:
  413. m('创建成功'),
  414. sessionStorage.removeItem('unit-create'),
  415. n.query.classGroupId
  416. ? b({ api: 'back' })
  417. : a.replace('/unit-list'),
  418. (e.next = 14)
  419. break
  420. case 11:
  421. ;(e.prev = 11), (e.t0 = e.catch(3)), console.log(e.t0)
  422. case 14:
  423. case 'end':
  424. return e.stop()
  425. }
  426. },
  427. e,
  428. null,
  429. [[3, 11]]
  430. )
  431. })
  432. )
  433. return function () {
  434. return e.apply(this, arguments)
  435. }
  436. })()
  437. return function () {
  438. var e, t, n, r, a
  439. return i(s, null, [
  440. i('div', { class: N }, [
  441. i('h4', { class: C }, [
  442. i(o, { name: W, class: T }, null),
  443. null === (e = q.value) || void 0 === e ? void 0 : e.coursewareName,
  444. l('-'),
  445. null === (t = q.value) || void 0 === t ? void 0 : t.testName
  446. ]),
  447. i('div', { class: O }, [
  448. i(
  449. w,
  450. {
  451. center: !0,
  452. valueClass: E,
  453. value:
  454. null === (n = q.value) || void 0 === n ? void 0 : n.orchestraName,
  455. title: '乐团',
  456. border: !1
  457. },
  458. null
  459. ),
  460. i(
  461. w,
  462. {
  463. center: !0,
  464. valueClass: E,
  465. value:
  466. null === (r = q.value) || void 0 === r ? void 0 : r.classGroupName,
  467. title: '班级',
  468. border: !1
  469. },
  470. null
  471. ),
  472. i(
  473. w,
  474. {
  475. center: !0,
  476. class: S,
  477. valueClass: E,
  478. value:
  479. ((null === (a = q.value) || void 0 === a
  480. ? void 0
  481. : a.preStudentNum) || 0) + '人',
  482. title: '学员人数'
  483. },
  484. null
  485. ),
  486. i(
  487. D,
  488. {
  489. modelValue: q.value.expiryDate,
  490. 'onUpdate:modelValue': function (e) {
  491. return (q.value.expiryDate = e)
  492. },
  493. type: 'number',
  494. placeholder: '请输入截止日期',
  495. 'input-align': 'right',
  496. label: '截止时间'
  497. },
  498. {
  499. extra: function () {
  500. return i('div', { class: z }, [
  501. i('span', { style: { color: '#777' } }, [l(' 天后截止')])
  502. ])
  503. }
  504. }
  505. )
  506. ]),
  507. i('div', { class: B }, [
  508. i(
  509. o,
  510. {
  511. class: M,
  512. name: y,
  513. size: 18,
  514. color: '#333',
  515. onClick: function () {
  516. V.value = !0
  517. }
  518. },
  519. null
  520. ),
  521. i(
  522. I,
  523. {
  524. active: x.value,
  525. 'onUpdate:active': function (e) {
  526. return (x.value = e)
  527. },
  528. class: G,
  529. background: '#F8F8F8',
  530. 'title-active-color': '#333333',
  531. 'title-inactive-color': '#777',
  532. color: '#FF8057',
  533. shrink: !0
  534. },
  535. {
  536. default: function () {
  537. return [
  538. i(
  539. j,
  540. { name: 'one', title: '单团学员' },
  541. {
  542. default: function () {
  543. return [i(K, { item: F.uniDetail[1] }, null)]
  544. }
  545. }
  546. ),
  547. i(
  548. j,
  549. { name: 'two', title: '双团学员' },
  550. {
  551. default: function () {
  552. return [i(K, { item: F.uniDetail[2] }, null)]
  553. }
  554. }
  555. ),
  556. i(
  557. j,
  558. { name: 'three', title: '多团学员' },
  559. {
  560. default: function () {
  561. return [i(K, { item: F.uniDetail[3] }, null)]
  562. }
  563. }
  564. )
  565. ]
  566. }
  567. }
  568. )
  569. ]),
  570. i(
  571. k,
  572. { position: 'bottom' },
  573. {
  574. default: function () {
  575. return [
  576. i('div', { class: 'btnGroup' }, [
  577. i(
  578. v,
  579. { block: !0, round: !0, type: 'primary', onClick: H },
  580. {
  581. default: function () {
  582. return [l('创建完成')]
  583. }
  584. }
  585. )
  586. ])
  587. ]
  588. }
  589. }
  590. ),
  591. i(
  592. g,
  593. {
  594. class: 'exercisDetailDialog',
  595. show: V.value,
  596. 'onUpdate:show': function (e) {
  597. return (V.value = e)
  598. },
  599. title: '提示框',
  600. confirmButtonText: '我知道了'
  601. },
  602. {
  603. title: function () {
  604. return i('div', { class: P }, [
  605. i('span', null, null),
  606. i('p', null, [l('学员分类')])
  607. ])
  608. },
  609. default: function () {
  610. return i('div', { class: R }, [
  611. i('p', null, [
  612. l(
  613. '根据学员入团的批次对不同训练阶段的学员进行分类,不同训练阶段的学员可布置不同标准的课后作业和阶段自测内容。'
  614. )
  615. ]),
  616. i('br', null, null),
  617. i('p', null, [l('单团学员:最新进入本乐团的学员')]),
  618. i('p', null, [l('双团学员:较早进入本乐团的学员')]),
  619. i('p', null, [l('多团学员:最早进入本乐团的学员')])
  620. ])
  621. }
  622. }
  623. )
  624. ])
  625. ])
  626. }
  627. }
  628. })
  629. )
  630. }
  631. }
  632. }
  633. )
  634. })()
  635. =======
  636. !function(){function e(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function t(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function n(e,t,n,r,a,i,l){try{var o=e[i](l),s=o.value}catch(_){return void n(_)}o.done?t(s):Promise.resolve(s).then(r,a)}function r(e){return function(){var t=this,r=arguments;return new Promise((function(a,i){var l=e.apply(t,r);function o(e){n(l,a,i,o,s,"next",e)}function s(e){n(l,a,i,o,s,"throw",e)}o(void 0)}))}}var a=document.createElement("style");a.innerHTML="._lastWrap_nlkfh_1{padding:.4rem .34667rem}._lastWrap_nlkfh_1 ._uniTitle_nlkfh_4{display:flex;flex-direction:row;align-items:center;font-weight:500;color:#333;margin-bottom:.4rem;line-height:.58667rem;font-size:.42667rem}._lastWrap_nlkfh_1 ._uniTitle_nlkfh_4 ._editIcon_nlkfh_14{font-size:.48rem;margin-right:.16rem}._lastWrap_nlkfh_1 ._infoWrap_nlkfh_18{background-color:#fff;border-radius:.26667rem;padding:.21333rem 0}._lastWrap_nlkfh_1 ._infoWrap_nlkfh_18 p{font-size:.4rem;font-weight:500;color:#333;line-height:.56rem;margin-bottom:.4rem}._lastWrap_nlkfh_1 ._infoWrap_nlkfh_18 ._loctionIconWrap_nlkfh_30{margin-left:.13333rem}._lastWrap_nlkfh_1 ._infoWrap_nlkfh_18 ._loctionIconWrap_nlkfh_30 span{line-height:.58667rem;vertical-align:inherit}._lastWrap_nlkfh_1 ._infoWrap_nlkfh_18 ._wrapValue_nlkfh_37{font-weight:500;color:#333;line-height:.56rem}._lastWrap_nlkfh_1 ._infoWrap_nlkfh_18 ._heightValue_nlkfh_42{padding-bottom:.4rem!important;margin-bottom:.21333rem}._lastWrap_nlkfh_1 ._infoWrap_nlkfh_18 input::-webkit-input-placeholder,._lastWrap_nlkfh_1 ._infoWrap_nlkfh_18 input::-ms-input-placeholder{font-size:.4rem}._lastWrap_nlkfh_1 ._infoWrap_nlkfh_18 .van-cell{padding:.21333rem .32rem;font-size:.4rem}._lastWrap_nlkfh_1 ._infoWrap_nlkfh_18 .van-cell__title{font-size:.4rem;font-weight:500;color:#333;line-height:.56rem;margin-bottom:.4rem;flex:0 auto}._lastWrap_nlkfh_1 ._infoWrap_nlkfh_18 .van-field__control{color:#f67146}._lastWrap_nlkfh_1 ._tabsWrap_nlkfh_65{position:relative;margin-top:.26667rem}._lastWrap_nlkfh_1 ._tabsWrap_nlkfh_65 ._rankTabs_nlkfh_69 .van-tabs__nav{padding-left:0;padding-right:0}._lastWrap_nlkfh_1 ._tabsWrap_nlkfh_65 ._rankTabs_nlkfh_69 .van-tabs__nav .van-tab:first-child{padding-left:0}._lastWrap_nlkfh_1 ._tabsWrap_nlkfh_65 ._tabsWrapIcon_nlkfh_76{position:absolute;right:.32rem;top:.34667rem;z-index:2000}._lastWrap_nlkfh_1 ._DialogTitle_nlkfh_82{display:flex;flex-direction:row;align-items:center;padding:.53333rem .66667rem}._lastWrap_nlkfh_1 ._DialogTitle_nlkfh_82 span{width:.10667rem;height:.37333rem;background:#ff8057;border-radius:.05333rem;margin-right:.16rem}._lastWrap_nlkfh_1 ._DialogTitle_nlkfh_82 p{height:.66667rem;font-size:.48rem;font-weight:500;color:#333;line-height:.66667rem}._lastWrap_nlkfh_1 ._DialogConent_nlkfh_102{padding:0 .66667rem .8rem}._lastWrap_nlkfh_1 ._DialogConent_nlkfh_102 p{font-size:.42667rem;line-height:.69333rem;color:#333}._lastWrap_nlkfh_1 .van-tab__text{font-size:.42667rem}._lastWrap_nlkfh_1 .van-tabs__line{bottom:.53333rem;width:.53333rem}._lastWrap_nlkfh_1 .van-cell__title{margin-bottom:0!important}._lastWrap_nlkfh_1 .exercisDetailDialog{border-radius:.26667rem}._lastWrap_nlkfh_1 .exercisDetailDialog .van-dialog__header{padding-top:0!important}._lastWrap_nlkfh_1 .van-dialog{top:47%}._itemWrap_1eb41_1{margin-top:.13333rem;background:#ffffff;border-radius:.26667rem;padding-top:.32rem}._itemWrap_1eb41_1 ._titleWrap_1eb41_7{padding:0 .32rem;height:.58667rem;font-size:.42667rem;font-weight:500;color:#333;line-height:.58667rem}._itemWrap_1eb41_1 ._itemBottom_1eb41_15{margin-top:.4rem;display:flex;flex-direction:row;align-items:center;justify-content:space-around;text-align:center;padding:0 .32rem}._itemWrap_1eb41_1 ._itemBottom_1eb41_15 ._itemBottomDot_1eb41_24{flex-basis:33.33%;position:relative}._itemWrap_1eb41_1 ._itemBottom_1eb41_15 ._itemBottomDot_1eb41_24 ._dotMain_1eb41_28{font-size:.69333rem;color:#333;line-height:.8rem;margin-bottom:.10667rem;font-family:DINA!important}._itemWrap_1eb41_1 ._itemBottom_1eb41_15 ._itemBottomDot_1eb41_24 ._dotMain_1eb41_28 span{margin-left:.02667rem;font-size:.32rem;font-weight:400;color:#333;line-height:.45333rem}._itemWrap_1eb41_1 ._itemBottom_1eb41_15 ._itemBottomDot_1eb41_24 ._dotSub_1eb41_42{font-size:.32rem;font-weight:400;color:#777;line-height:.45333rem}._itemWrap_1eb41_1 ._uniTimeWrap_1eb41_48{padding:.32rem;margin-top:.53333rem;display:flex;flex-direction:row;align-items:center;justify-content:space-between;border-top:.02667rem solid #f2f2f2}._itemWrap_1eb41_1 ._uniTimeWrap_1eb41_48 ._uniTimeWrapLeft_1eb41_57{display:flex;flex-direction:row;align-items:center;font-size:.37333rem;line-height:.53333rem}._itemWrap_1eb41_1 ._uniTimeWrap_1eb41_48 ._uniTimeWrapLeft_1eb41_57 ._clockIcon_1eb41_64{margin-top:-.05333rem;font-size:.48rem;margin-right:.10667rem}\n",document.head.appendChild(a),System.register(["./index-legacy.5250e410.js","./index-legacy.e2f02fbe.js","./icon-edit-legacy.4520ee5d.js","./clock-icon-legacy.2424f549.js","./quest-icon-legacy.8dd60bcc.js","./index-legacy.7e0d4571.js","./index-legacy.50e1a648.js","./index-legacy.f228b6b5.js","./use-tab-status-legacy.8f29db2f.js","./index-legacy.9800e001.js","./index-legacy.eb41f645.js"],(function(n){"use strict";var a,i,l,o,s,_,u,c,p,f,m,d,h,v,g,b,k,W,x,y,w,D,I,j;return{setters:[function(e){a=e.d,i=e.c,l=e.q,o=e.a5,s=e.F,_=e.aV,u=e.ag,c=e.R,p=e.r,f=e.$,m=e.o,d=e.m,h=e.f,v=e.B,g=e.aW,b=e.k},function(e){k=e.O},function(e){W=e.i},function(e){x=e.c},function(e){y=e.q},function(e){w=e.C},function(e){D=e.F},function(e){I=e.T,j=e.a},function(){},function(){},function(){}],execute:function(){var N="_lastWrap_nlkfh_1",C="_uniTitle_nlkfh_4",T="_editIcon_nlkfh_14",O="_infoWrap_nlkfh_18",z="_loctionIconWrap_nlkfh_30",E="_wrapValue_nlkfh_37",S="_heightValue_nlkfh_42",B="_tabsWrap_nlkfh_65",G="_rankTabs_nlkfh_69",M="_tabsWrapIcon_nlkfh_76",P="_DialogTitle_nlkfh_82",R="_DialogConent_nlkfh_102",q="_itemWrap_1eb41_1",F="_titleWrap_1eb41_7",V="_itemBottom_1eb41_15",A="_itemBottomDot_1eb41_24",L="_dotMain_1eb41_28",U="_dotSub_1eb41_42",H="_uniTimeWrap_1eb41_48",J="_uniTimeWrapLeft_1eb41_57",$="_clockIcon_1eb41_64",K=a({props:["item"],name:"newspaper-item",setup:function(e){var t=function(){};return function(){var n,r,a,_,u;return i(s,null,[i("div",null,[i("div",{class:q,onClick:t},[i("div",{class:F},[null===(n=e.item)||void 0===n?void 0:n.unitExaminationName]),i("div",{class:V},[i("div",{class:[A,"gridBorderRight"]},[i("p",{class:L},[(null===(r=e.item)||void 0===r?void 0:r.totalScore)||0]),i("p",{class:U},[l(" 总分")])]),i("div",{class:[A,"gridBorderRight"]},[i("p",{class:L,style:{color:"#F67146"}},[(null===(a=e.item)||void 0===a?void 0:a.passScore)||0]),i("p",{class:U},[l("合格分 ")])]),i("div",{class:A},[i("p",{class:L},[(null===(_=e.item)||void 0===_?void 0:_.questionNum)||0]),i("p",{class:U},[l("题目数量 ")])])]),i("div",{class:H},[i("div",{class:J},[" ",i(o,{name:x,class:$},null),l(" 测验时长:"),i("span",{style:{color:"#F67146"}},[(null===(u=e.item)||void 0===u?void 0:u.timeMinutes)||0,l(" ")]),l(" 分钟")])])])])])}}});n("default",a({name:"uni-test",setup:function(){var n=_(),a=u(),x=c("one"),q=c({}),F=p({loading:!0,list:[],uniDetail:{}}),V=c(!1),A=function(){var e=r(regeneratorRuntime.mark((function e(){var t,n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,d.get(h.platformApi+"/classGroup/detail/".concat(q.value.classGroupId));case 3:t=e.sent,n=t.data,q.value.preStudentNum=n.preStudentNum||0,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)}}(),L=function(){var e=r(regeneratorRuntime.mark((function e(){var t,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,d.post(h.platformApi+"/lessonCoursewareExaminationMapper/detailByCourseId",{requestType:"form",data:{courseScheduleId:n.query.courseScheduleId}});case 3:t=e.sent,r=t.data,q.value.classGroupId=r.classGroupId,q.value.classGroupName=r.classGroupName,q.value.testName=r.lessonCoursewareExaminationMapperName,q.value.orchestraName=r.orchestraName,q.value.coursewareName=r.lessonCoursewareName,q.value.lessonCoursewareId=r.lessonCoursewareExaminationMapper.lessonCoursewareId,q.value.preStudentNum=r.studentNum||0,q.value.testId=r.lessonCoursewareExaminationMapper.id,(r.lessonCoursewareExaminationMapper.details||[]).forEach((function(e){F.uniDetail[e.level]=e})),console.log(q.value,"forms"),e.next=21;break;case 18:e.prev=18,e.t0=e.catch(0),console.log(e.t0);case 21:case"end":return e.stop()}}),e,null,[[0,18]])})));return function(){return e.apply(this,arguments)}}();f((function(){if(q.value=function(n){for(var r=1;r<arguments.length;r++){var a=null!=arguments[r]?arguments[r]:{};r%2?e(Object(a),!0).forEach((function(e){t(n,e,a[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(a)):e(Object(a)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(a,e))}))}return n}({},JSON.parse(sessionStorage.getItem("unit-create")||"{}")),console.log(q.value),n.query.courseScheduleId)L();else{if(!q.value.classGroupId)return void m("请选择班级");A(),U()}}));var U=function(){var e=r(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,d.post(h.platformApi+"/lessonCoursewareExaminationMapper/detail",{requestType:"form",data:{lessonCoursewareExaminationMapperId:q.value.testId}});case 3:e.sent.data.details.forEach((function(e){F.uniDetail[e.level]=e})),e.next=10;break;case 7:e.prev=7,e.t0=e.catch(0),console.log(e.t0);case 10:case"end":return e.stop()}}),e,null,[[0,7]])})));return function(){return e.apply(this,arguments)}}(),H=function(){var e=r(regeneratorRuntime.mark((function e(){var t,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(q.value.expiryDate){e.next=3;break}return m("请输入截止时间"),e.abrupt("return");case 3:return e.prev=3,e.next=6,d.post(h.platformApi+"/classGroupUnitExamination/publishUnitExamination",{hideLoading:!1,data:{classGroupId:q.value.classGroupId,lessonCoursewareExaminationMapperId:q.value.testId,unitExaminationName:"".concat(null===(t=q.value)||void 0===t?void 0:t.coursewareName,"-").concat(null===(r=q.value)||void 0===r?void 0:r.testName),expiryDate:q.value.expiryDate}});case 6:m("创建成功"),sessionStorage.removeItem("unit-create"),n.query.classGroupId?b({api:"back"}):a.replace("/unit-list"),e.next=14;break;case 11:e.prev=11,e.t0=e.catch(3),console.log(e.t0);case 14:case"end":return e.stop()}}),e,null,[[3,11]])})));return function(){return e.apply(this,arguments)}}();return function(){var e,t,n,r,a;return i(s,null,[i("div",{class:N},[i("h4",{class:C},[i(o,{name:W,class:T},null),null===(e=q.value)||void 0===e?void 0:e.coursewareName,l("-"),null===(t=q.value)||void 0===t?void 0:t.testName]),i("div",{class:O},[i(w,{center:!0,valueClass:E,value:null===(n=q.value)||void 0===n?void 0:n.orchestraName,title:"乐团",border:!1},null),i(w,{center:!0,valueClass:E,value:null===(r=q.value)||void 0===r?void 0:r.classGroupName,title:"班级",border:!1},null),i(w,{center:!0,class:S,valueClass:E,value:((null===(a=q.value)||void 0===a?void 0:a.preStudentNum)||0)+"人",title:"学生人数"},null),i(D,{modelValue:q.value.expiryDate,"onUpdate:modelValue":function(e){return q.value.expiryDate=e},type:"number",placeholder:"请输入截止日期","input-align":"right",label:"截止时间"},{extra:function(){return i("div",{class:z},[i("span",{style:{color:"#777"}},[l(" 天后截止")])])}})]),i("div",{class:B},[i(o,{class:M,name:y,size:18,color:"#333",onClick:function(){V.value=!0}},null),i(I,{active:x.value,"onUpdate:active":function(e){return x.value=e},class:G,background:"#F8F8F8","title-active-color":"#333333","title-inactive-color":"#777",color:"#FF8057",shrink:!0},{default:function(){return[i(j,{name:"one",title:"单团学生"},{default:function(){return[i(K,{item:F.uniDetail[1]},null)]}}),i(j,{name:"two",title:"双团学生"},{default:function(){return[i(K,{item:F.uniDetail[2]},null)]}}),i(j,{name:"three",title:"多团学生"},{default:function(){return[i(K,{item:F.uniDetail[3]},null)]}})]}})]),i(k,{position:"bottom"},{default:function(){return[i("div",{class:"btnGroup"},[i(v,{block:!0,round:!0,type:"primary",onClick:H},{default:function(){return[l("创建完成")]}})])]}}),i(g,{class:"exercisDetailDialog",show:V.value,"onUpdate:show":function(e){return V.value=e},title:"提示框",confirmButtonText:"我知道了"},{title:function(){return i("div",{class:P},[i("span",null,null),i("p",null,[l("学生分类")])])},default:function(){return i("div",{class:R},[i("p",null,[l("根据学生入团的批次对不同训练阶段的学生进行分类,不同训练阶段的学生可布置不同标准的课后作业和阶段自测内容。")]),i("br",null,null),i("p",null,[l("单团学生:最新进入本乐团的学员")]),i("p",null,[l("双团学生:较早进入本乐团的学员")]),i("p",null,[l("多团学生:最早进入本乐团的学员")])])}})])])}}}))}}}))}();
  637. >>>>>>> online:dist/assets/uni-last-legacy.3fbca2b5.js
  638. =======
  639. !function(){function e(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function t(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function n(e,t,n,r,a,i,l){try{var o=e[i](l),s=o.value}catch(_){return void n(_)}o.done?t(s):Promise.resolve(s).then(r,a)}function r(e){return function(){var t=this,r=arguments;return new Promise((function(a,i){var l=e.apply(t,r);function o(e){n(l,a,i,o,s,"next",e)}function s(e){n(l,a,i,o,s,"throw",e)}o(void 0)}))}}var a=document.createElement("style");a.innerHTML="._lastWrap_nlkfh_1{padding:.4rem .34667rem}._lastWrap_nlkfh_1 ._uniTitle_nlkfh_4{display:flex;flex-direction:row;align-items:center;font-weight:500;color:#333;margin-bottom:.4rem;line-height:.58667rem;font-size:.42667rem}._lastWrap_nlkfh_1 ._uniTitle_nlkfh_4 ._editIcon_nlkfh_14{font-size:.48rem;margin-right:.16rem}._lastWrap_nlkfh_1 ._infoWrap_nlkfh_18{background-color:#fff;border-radius:.26667rem;padding:.21333rem 0}._lastWrap_nlkfh_1 ._infoWrap_nlkfh_18 p{font-size:.4rem;font-weight:500;color:#333;line-height:.56rem;margin-bottom:.4rem}._lastWrap_nlkfh_1 ._infoWrap_nlkfh_18 ._loctionIconWrap_nlkfh_30{margin-left:.13333rem}._lastWrap_nlkfh_1 ._infoWrap_nlkfh_18 ._loctionIconWrap_nlkfh_30 span{line-height:.58667rem;vertical-align:inherit}._lastWrap_nlkfh_1 ._infoWrap_nlkfh_18 ._wrapValue_nlkfh_37{font-weight:500;color:#333;line-height:.56rem}._lastWrap_nlkfh_1 ._infoWrap_nlkfh_18 ._heightValue_nlkfh_42{padding-bottom:.4rem!important;margin-bottom:.21333rem}._lastWrap_nlkfh_1 ._infoWrap_nlkfh_18 input::-webkit-input-placeholder,._lastWrap_nlkfh_1 ._infoWrap_nlkfh_18 input::-ms-input-placeholder{font-size:.4rem}._lastWrap_nlkfh_1 ._infoWrap_nlkfh_18 .van-cell{padding:.21333rem .32rem;font-size:.4rem}._lastWrap_nlkfh_1 ._infoWrap_nlkfh_18 .van-cell__title{font-size:.4rem;font-weight:500;color:#333;line-height:.56rem;margin-bottom:.4rem;flex:0 auto}._lastWrap_nlkfh_1 ._infoWrap_nlkfh_18 .van-field__control{color:#f67146}._lastWrap_nlkfh_1 ._tabsWrap_nlkfh_65{position:relative;margin-top:.26667rem}._lastWrap_nlkfh_1 ._tabsWrap_nlkfh_65 ._rankTabs_nlkfh_69 .van-tabs__nav{padding-left:0;padding-right:0}._lastWrap_nlkfh_1 ._tabsWrap_nlkfh_65 ._rankTabs_nlkfh_69 .van-tabs__nav .van-tab:first-child{padding-left:0}._lastWrap_nlkfh_1 ._tabsWrap_nlkfh_65 ._tabsWrapIcon_nlkfh_76{position:absolute;right:.32rem;top:.34667rem;z-index:2000}._lastWrap_nlkfh_1 ._DialogTitle_nlkfh_82{display:flex;flex-direction:row;align-items:center;padding:.53333rem .66667rem}._lastWrap_nlkfh_1 ._DialogTitle_nlkfh_82 span{width:.10667rem;height:.37333rem;background:#ff8057;border-radius:.05333rem;margin-right:.16rem}._lastWrap_nlkfh_1 ._DialogTitle_nlkfh_82 p{height:.66667rem;font-size:.48rem;font-weight:500;color:#333;line-height:.66667rem}._lastWrap_nlkfh_1 ._DialogConent_nlkfh_102{padding:0 .66667rem .8rem}._lastWrap_nlkfh_1 ._DialogConent_nlkfh_102 p{font-size:.42667rem;line-height:.69333rem;color:#333}._lastWrap_nlkfh_1 .van-tab__text{font-size:.42667rem}._lastWrap_nlkfh_1 .van-tabs__line{bottom:.53333rem;width:.53333rem}._lastWrap_nlkfh_1 .van-cell__title{margin-bottom:0!important}._lastWrap_nlkfh_1 .exercisDetailDialog{border-radius:.26667rem}._lastWrap_nlkfh_1 .exercisDetailDialog .van-dialog__header{padding-top:0!important}._lastWrap_nlkfh_1 .van-dialog{top:47%}._itemWrap_1eb41_1{margin-top:.13333rem;background:#ffffff;border-radius:.26667rem;padding-top:.32rem}._itemWrap_1eb41_1 ._titleWrap_1eb41_7{padding:0 .32rem;height:.58667rem;font-size:.42667rem;font-weight:500;color:#333;line-height:.58667rem}._itemWrap_1eb41_1 ._itemBottom_1eb41_15{margin-top:.4rem;display:flex;flex-direction:row;align-items:center;justify-content:space-around;text-align:center;padding:0 .32rem}._itemWrap_1eb41_1 ._itemBottom_1eb41_15 ._itemBottomDot_1eb41_24{flex-basis:33.33%;position:relative}._itemWrap_1eb41_1 ._itemBottom_1eb41_15 ._itemBottomDot_1eb41_24 ._dotMain_1eb41_28{font-size:.69333rem;color:#333;line-height:.8rem;margin-bottom:.10667rem;font-family:DINA!important}._itemWrap_1eb41_1 ._itemBottom_1eb41_15 ._itemBottomDot_1eb41_24 ._dotMain_1eb41_28 span{margin-left:.02667rem;font-size:.32rem;font-weight:400;color:#333;line-height:.45333rem}._itemWrap_1eb41_1 ._itemBottom_1eb41_15 ._itemBottomDot_1eb41_24 ._dotSub_1eb41_42{font-size:.32rem;font-weight:400;color:#777;line-height:.45333rem}._itemWrap_1eb41_1 ._uniTimeWrap_1eb41_48{padding:.32rem;margin-top:.53333rem;display:flex;flex-direction:row;align-items:center;justify-content:space-between;border-top:.02667rem solid #f2f2f2}._itemWrap_1eb41_1 ._uniTimeWrap_1eb41_48 ._uniTimeWrapLeft_1eb41_57{display:flex;flex-direction:row;align-items:center;font-size:.37333rem;line-height:.53333rem}._itemWrap_1eb41_1 ._uniTimeWrap_1eb41_48 ._uniTimeWrapLeft_1eb41_57 ._clockIcon_1eb41_64{margin-top:-.05333rem;font-size:.48rem;margin-right:.10667rem}\n",document.head.appendChild(a),System.register(["./index-legacy.e776119d.js","./index-legacy.a772c019.js","./icon-edit-legacy.4520ee5d.js","./clock-icon-legacy.2424f549.js","./quest-icon-legacy.8dd60bcc.js","./index-legacy.513b7e98.js","./index-legacy.0884f318.js","./index-legacy.72a95bf0.js","./use-tab-status-legacy.83fb85a3.js","./index-legacy.07af1a6e.js","./index-legacy.9fdb4fc9.js"],(function(n){"use strict";var a,i,l,o,s,_,u,c,p,f,m,d,h,v,g,b,k,W,x,y,w,D,I,j;return{setters:[function(e){a=e.d,i=e.c,l=e.q,o=e.a5,s=e.F,_=e.aV,u=e.ag,c=e.R,p=e.r,f=e.$,m=e.o,d=e.m,h=e.f,v=e.B,g=e.aW,b=e.k},function(e){k=e.O},function(e){W=e.i},function(e){x=e.c},function(e){y=e.q},function(e){w=e.C},function(e){D=e.F},function(e){I=e.T,j=e.a},function(){},function(){},function(){}],execute:function(){var N="_lastWrap_nlkfh_1",C="_uniTitle_nlkfh_4",T="_editIcon_nlkfh_14",O="_infoWrap_nlkfh_18",z="_loctionIconWrap_nlkfh_30",E="_wrapValue_nlkfh_37",S="_heightValue_nlkfh_42",B="_tabsWrap_nlkfh_65",G="_rankTabs_nlkfh_69",M="_tabsWrapIcon_nlkfh_76",P="_DialogTitle_nlkfh_82",R="_DialogConent_nlkfh_102",q="_itemWrap_1eb41_1",F="_titleWrap_1eb41_7",V="_itemBottom_1eb41_15",A="_itemBottomDot_1eb41_24",L="_dotMain_1eb41_28",U="_dotSub_1eb41_42",H="_uniTimeWrap_1eb41_48",J="_uniTimeWrapLeft_1eb41_57",$="_clockIcon_1eb41_64",K=a({props:["item"],name:"newspaper-item",setup:function(e){var t=function(){};return function(){var n,r,a,_,u;return i(s,null,[i("div",null,[i("div",{class:q,onClick:t},[i("div",{class:F},[null===(n=e.item)||void 0===n?void 0:n.unitExaminationName]),i("div",{class:V},[i("div",{class:[A,"gridBorderRight"]},[i("p",{class:L},[(null===(r=e.item)||void 0===r?void 0:r.totalScore)||0]),i("p",{class:U},[l(" 总分")])]),i("div",{class:[A,"gridBorderRight"]},[i("p",{class:L,style:{color:"#F67146"}},[(null===(a=e.item)||void 0===a?void 0:a.passScore)||0]),i("p",{class:U},[l("合格分 ")])]),i("div",{class:A},[i("p",{class:L},[(null===(_=e.item)||void 0===_?void 0:_.questionNum)||0]),i("p",{class:U},[l("题目数量 ")])])]),i("div",{class:H},[i("div",{class:J},[" ",i(o,{name:x,class:$},null),l(" 测验时长:"),i("span",{style:{color:"#F67146"}},[(null===(u=e.item)||void 0===u?void 0:u.timeMinutes)||0,l(" ")]),l(" 分钟")])])])])])}}});n("default",a({name:"uni-test",setup:function(){var n=_(),a=u(),x=c("one"),q=c({}),F=p({loading:!0,list:[],uniDetail:{}}),V=c(!1),A=function(){var e=r(regeneratorRuntime.mark((function e(){var t,n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,d.get(h.platformApi+"/classGroup/detail/".concat(q.value.classGroupId));case 3:t=e.sent,n=t.data,q.value.preStudentNum=n.preStudentNum||0,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)}}(),L=function(){var e=r(regeneratorRuntime.mark((function e(){var t,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,d.post(h.platformApi+"/lessonCoursewareExaminationMapper/detailByCourseId",{requestType:"form",data:{courseScheduleId:n.query.courseScheduleId}});case 3:t=e.sent,r=t.data,q.value.classGroupId=r.classGroupId,q.value.classGroupName=r.classGroupName,q.value.testName=r.lessonCoursewareExaminationMapperName,q.value.orchestraName=r.orchestraName,q.value.coursewareName=r.lessonCoursewareName,q.value.lessonCoursewareId=r.lessonCoursewareExaminationMapper.lessonCoursewareId,q.value.preStudentNum=r.studentNum||0,q.value.testId=r.lessonCoursewareExaminationMapper.id,(r.lessonCoursewareExaminationMapper.details||[]).forEach((function(e){F.uniDetail[e.level]=e})),console.log(q.value,"forms"),e.next=21;break;case 18:e.prev=18,e.t0=e.catch(0),console.log(e.t0);case 21:case"end":return e.stop()}}),e,null,[[0,18]])})));return function(){return e.apply(this,arguments)}}();f((function(){if(q.value=function(n){for(var r=1;r<arguments.length;r++){var a=null!=arguments[r]?arguments[r]:{};r%2?e(Object(a),!0).forEach((function(e){t(n,e,a[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(a)):e(Object(a)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(a,e))}))}return n}({},JSON.parse(sessionStorage.getItem("unit-create")||"{}")),console.log(q.value),n.query.courseScheduleId)L();else{if(!q.value.classGroupId)return void m("请选择班级");A(),U()}}));var U=function(){var e=r(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,d.post(h.platformApi+"/lessonCoursewareExaminationMapper/detail",{requestType:"form",data:{lessonCoursewareExaminationMapperId:q.value.testId}});case 3:e.sent.data.details.forEach((function(e){F.uniDetail[e.level]=e})),e.next=10;break;case 7:e.prev=7,e.t0=e.catch(0),console.log(e.t0);case 10:case"end":return e.stop()}}),e,null,[[0,7]])})));return function(){return e.apply(this,arguments)}}(),H=function(){var e=r(regeneratorRuntime.mark((function e(){var t,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(q.value.expiryDate){e.next=3;break}return m("请输入截止时间"),e.abrupt("return");case 3:return e.prev=3,e.next=6,d.post(h.platformApi+"/classGroupUnitExamination/publishUnitExamination",{hideLoading:!1,data:{classGroupId:q.value.classGroupId,lessonCoursewareExaminationMapperId:q.value.testId,unitExaminationName:"".concat(null===(t=q.value)||void 0===t?void 0:t.coursewareName,"-").concat(null===(r=q.value)||void 0===r?void 0:r.testName),expiryDate:q.value.expiryDate}});case 6:m("创建成功"),sessionStorage.removeItem("unit-create"),n.query.classGroupId?b({api:"back"}):a.replace("/unit-list"),e.next=14;break;case 11:e.prev=11,e.t0=e.catch(3),console.log(e.t0);case 14:case"end":return e.stop()}}),e,null,[[3,11]])})));return function(){return e.apply(this,arguments)}}();return function(){var e,t,n,r,a;return i(s,null,[i("div",{class:N},[i("h4",{class:C},[i(o,{name:W,class:T},null),null===(e=q.value)||void 0===e?void 0:e.coursewareName,l("-"),null===(t=q.value)||void 0===t?void 0:t.testName]),i("div",{class:O},[i(w,{center:!0,valueClass:E,value:null===(n=q.value)||void 0===n?void 0:n.orchestraName,title:"乐团",border:!1},null),i(w,{center:!0,valueClass:E,value:null===(r=q.value)||void 0===r?void 0:r.classGroupName,title:"班级",border:!1},null),i(w,{center:!0,class:S,valueClass:E,value:((null===(a=q.value)||void 0===a?void 0:a.preStudentNum)||0)+"人",title:"学生人数"},null),i(D,{modelValue:q.value.expiryDate,"onUpdate:modelValue":function(e){return q.value.expiryDate=e},type:"number",placeholder:"请输入截止日期","input-align":"right",label:"截止时间"},{extra:function(){return i("div",{class:z},[i("span",{style:{color:"#777"}},[l(" 天后截止")])])}})]),i("div",{class:B},[i(o,{class:M,name:y,size:18,color:"#333",onClick:function(){V.value=!0}},null),i(I,{active:x.value,"onUpdate:active":function(e){return x.value=e},class:G,background:"#F8F8F8","title-active-color":"#333333","title-inactive-color":"#777",color:"#FF8057",shrink:!0},{default:function(){return[i(j,{name:"one",title:"单团学生"},{default:function(){return[i(K,{item:F.uniDetail[1]},null)]}}),i(j,{name:"two",title:"双团学生"},{default:function(){return[i(K,{item:F.uniDetail[2]},null)]}}),i(j,{name:"three",title:"多团学生"},{default:function(){return[i(K,{item:F.uniDetail[3]},null)]}})]}})]),i(k,{position:"bottom"},{default:function(){return[i("div",{class:"btnGroup"},[i(v,{block:!0,round:!0,type:"primary",onClick:H},{default:function(){return[l("创建完成")]}})])]}}),i(g,{class:"exercisDetailDialog",show:V.value,"onUpdate:show":function(e){return V.value=e},title:"提示框",confirmButtonText:"我知道了"},{title:function(){return i("div",{class:P},[i("span",null,null),i("p",null,[l("学生分类")])])},default:function(){return i("div",{class:R},[i("p",null,[l("根据学生入团的批次对不同训练阶段的学生进行分类,不同训练阶段的学生可布置不同标准的课后作业和阶段自测内容。")]),i("br",null,null),i("p",null,[l("单团学生:最新进入本乐团的学员")]),i("p",null,[l("双团学生:较早进入本乐团的学员")]),i("p",null,[l("多团学生:最早进入本乐团的学员")])])}})])])}}}))}}}))}();
  640. >>>>>>> online:dist/assets/uni-last-legacy.7ae261de.js