index-legacy.3c0ba6bb.js 30 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859
  1. !(function () {
  2. function t(e) {
  3. return (
  4. (t =
  5. 'function' == typeof Symbol && 'symbol' == typeof Symbol.iterator
  6. ? function (t) {
  7. return typeof t
  8. }
  9. : function (t) {
  10. return t &&
  11. 'function' == typeof Symbol &&
  12. t.constructor === Symbol &&
  13. t !== Symbol.prototype
  14. ? 'symbol'
  15. : typeof t
  16. }),
  17. t(e)
  18. )
  19. }
  20. function e() {
  21. 'use strict'
  22. /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ e =
  23. function () {
  24. return n
  25. }
  26. var n = {},
  27. r = Object.prototype,
  28. o = r.hasOwnProperty,
  29. i = 'function' == typeof Symbol ? Symbol : {},
  30. a = i.iterator || '@@iterator',
  31. u = i.asyncIterator || '@@asyncIterator',
  32. l = i.toStringTag || '@@toStringTag'
  33. function c(t, e, n) {
  34. return (
  35. Object.defineProperty(t, e, {
  36. value: n,
  37. enumerable: !0,
  38. configurable: !0,
  39. writable: !0
  40. }),
  41. t[e]
  42. )
  43. }
  44. try {
  45. c({}, '')
  46. } catch (P) {
  47. c = function (t, e, n) {
  48. return (t[e] = n)
  49. }
  50. }
  51. function s(t, e, n, r) {
  52. var o = e && e.prototype instanceof d ? e : d,
  53. i = Object.create(o.prototype),
  54. a = new N(r || [])
  55. return (
  56. (i._invoke = (function (t, e, n) {
  57. var r = 'suspendedStart'
  58. return function (o, i) {
  59. if ('executing' === r)
  60. throw new Error('Generator is already running')
  61. if ('completed' === r) {
  62. if ('throw' === o) throw i
  63. return I()
  64. }
  65. for (n.method = o, n.arg = i; ; ) {
  66. var a = n.delegate
  67. if (a) {
  68. var u = S(a, n)
  69. if (u) {
  70. if (u === h) continue
  71. return u
  72. }
  73. }
  74. if ('next' === n.method) n.sent = n._sent = n.arg
  75. else if ('throw' === n.method) {
  76. if ('suspendedStart' === r) throw ((r = 'completed'), n.arg)
  77. n.dispatchException(n.arg)
  78. } else 'return' === n.method && n.abrupt('return', n.arg)
  79. r = 'executing'
  80. var l = f(t, e, n)
  81. if ('normal' === l.type) {
  82. if (
  83. ((r = n.done ? 'completed' : 'suspendedYield'), l.arg === h)
  84. )
  85. continue
  86. return { value: l.arg, done: n.done }
  87. }
  88. 'throw' === l.type &&
  89. ((r = 'completed'), (n.method = 'throw'), (n.arg = l.arg))
  90. }
  91. }
  92. })(t, n, a)),
  93. i
  94. )
  95. }
  96. function f(t, e, n) {
  97. try {
  98. return { type: 'normal', arg: t.call(e, n) }
  99. } catch (P) {
  100. return { type: 'throw', arg: P }
  101. }
  102. }
  103. n.wrap = s
  104. var h = {}
  105. function d() {}
  106. function p() {}
  107. function v() {}
  108. var g = {}
  109. c(g, a, function () {
  110. return this
  111. })
  112. var y = Object.getPrototypeOf,
  113. m = y && y(y(E([])))
  114. m && m !== r && o.call(m, a) && (g = m)
  115. var w = (v.prototype = d.prototype = Object.create(g))
  116. function x(t) {
  117. ;['next', 'throw', 'return'].forEach(function (e) {
  118. c(t, e, function (t) {
  119. return this._invoke(e, t)
  120. })
  121. })
  122. }
  123. function b(e, n) {
  124. function r(i, a, u, l) {
  125. var c = f(e[i], e, a)
  126. if ('throw' !== c.type) {
  127. var s = c.arg,
  128. h = s.value
  129. return h && 'object' == t(h) && o.call(h, '__await')
  130. ? n.resolve(h.__await).then(
  131. function (t) {
  132. r('next', t, u, l)
  133. },
  134. function (t) {
  135. r('throw', t, u, l)
  136. }
  137. )
  138. : n.resolve(h).then(
  139. function (t) {
  140. ;(s.value = t), u(s)
  141. },
  142. function (t) {
  143. return r('throw', t, u, l)
  144. }
  145. )
  146. }
  147. l(c.arg)
  148. }
  149. var i
  150. this._invoke = function (t, e) {
  151. function o() {
  152. return new n(function (n, o) {
  153. r(t, e, n, o)
  154. })
  155. }
  156. return (i = i ? i.then(o, o) : o())
  157. }
  158. }
  159. function S(t, e) {
  160. var n = t.iterator[e.method]
  161. if (void 0 === n) {
  162. if (((e.delegate = null), 'throw' === e.method)) {
  163. if (
  164. t.iterator.return &&
  165. ((e.method = 'return'),
  166. (e.arg = void 0),
  167. S(t, e),
  168. 'throw' === e.method)
  169. )
  170. return h
  171. ;(e.method = 'throw'),
  172. (e.arg = new TypeError(
  173. "The iterator does not provide a 'throw' method"
  174. ))
  175. }
  176. return h
  177. }
  178. var r = f(n, t.iterator, e.arg)
  179. if ('throw' === r.type)
  180. return (e.method = 'throw'), (e.arg = r.arg), (e.delegate = null), h
  181. var o = r.arg
  182. return o
  183. ? o.done
  184. ? ((e[t.resultName] = o.value),
  185. (e.next = t.nextLoc),
  186. 'return' !== e.method && ((e.method = 'next'), (e.arg = void 0)),
  187. (e.delegate = null),
  188. h)
  189. : o
  190. : ((e.method = 'throw'),
  191. (e.arg = new TypeError('iterator result is not an object')),
  192. (e.delegate = null),
  193. h)
  194. }
  195. function _(t) {
  196. var e = { tryLoc: t[0] }
  197. 1 in t && (e.catchLoc = t[1]),
  198. 2 in t && ((e.finallyLoc = t[2]), (e.afterLoc = t[3])),
  199. this.tryEntries.push(e)
  200. }
  201. function L(t) {
  202. var e = t.completion || {}
  203. ;(e.type = 'normal'), delete e.arg, (t.completion = e)
  204. }
  205. function N(t) {
  206. ;(this.tryEntries = [{ tryLoc: 'root' }]),
  207. t.forEach(_, this),
  208. this.reset(!0)
  209. }
  210. function E(t) {
  211. if (t) {
  212. var e = t[a]
  213. if (e) return e.call(t)
  214. if ('function' == typeof t.next) return t
  215. if (!isNaN(t.length)) {
  216. var n = -1,
  217. r = function e() {
  218. for (; ++n < t.length; )
  219. if (o.call(t, n)) return (e.value = t[n]), (e.done = !1), e
  220. return (e.value = void 0), (e.done = !0), e
  221. }
  222. return (r.next = r)
  223. }
  224. }
  225. return { next: I }
  226. }
  227. function I() {
  228. return { value: void 0, done: !0 }
  229. }
  230. return (
  231. (p.prototype = v),
  232. c(w, 'constructor', v),
  233. c(v, 'constructor', p),
  234. (p.displayName = c(v, l, 'GeneratorFunction')),
  235. (n.isGeneratorFunction = function (t) {
  236. var e = 'function' == typeof t && t.constructor
  237. return (
  238. !!e && (e === p || 'GeneratorFunction' === (e.displayName || e.name))
  239. )
  240. }),
  241. (n.mark = function (t) {
  242. return (
  243. Object.setPrototypeOf
  244. ? Object.setPrototypeOf(t, v)
  245. : ((t.__proto__ = v), c(t, l, 'GeneratorFunction')),
  246. (t.prototype = Object.create(w)),
  247. t
  248. )
  249. }),
  250. (n.awrap = function (t) {
  251. return { __await: t }
  252. }),
  253. x(b.prototype),
  254. c(b.prototype, u, function () {
  255. return this
  256. }),
  257. (n.AsyncIterator = b),
  258. (n.async = function (t, e, r, o, i) {
  259. void 0 === i && (i = Promise)
  260. var a = new b(s(t, e, r, o), i)
  261. return n.isGeneratorFunction(e)
  262. ? a
  263. : a.next().then(function (t) {
  264. return t.done ? t.value : a.next()
  265. })
  266. }),
  267. x(w),
  268. c(w, l, 'Generator'),
  269. c(w, a, function () {
  270. return this
  271. }),
  272. c(w, 'toString', function () {
  273. return '[object Generator]'
  274. }),
  275. (n.keys = function (t) {
  276. var e = []
  277. for (var n in t) e.push(n)
  278. return (
  279. e.reverse(),
  280. function n() {
  281. for (; e.length; ) {
  282. var r = e.pop()
  283. if (r in t) return (n.value = r), (n.done = !1), n
  284. }
  285. return (n.done = !0), n
  286. }
  287. )
  288. }),
  289. (n.values = E),
  290. (N.prototype = {
  291. constructor: N,
  292. reset: function (t) {
  293. if (
  294. ((this.prev = 0),
  295. (this.next = 0),
  296. (this.sent = this._sent = void 0),
  297. (this.done = !1),
  298. (this.delegate = null),
  299. (this.method = 'next'),
  300. (this.arg = void 0),
  301. this.tryEntries.forEach(L),
  302. !t)
  303. )
  304. for (var e in this)
  305. 't' === e.charAt(0) &&
  306. o.call(this, e) &&
  307. !isNaN(+e.slice(1)) &&
  308. (this[e] = void 0)
  309. },
  310. stop: function () {
  311. this.done = !0
  312. var t = this.tryEntries[0].completion
  313. if ('throw' === t.type) throw t.arg
  314. return this.rval
  315. },
  316. dispatchException: function (t) {
  317. if (this.done) throw t
  318. var e = this
  319. function n(n, r) {
  320. return (
  321. (a.type = 'throw'),
  322. (a.arg = t),
  323. (e.next = n),
  324. r && ((e.method = 'next'), (e.arg = void 0)),
  325. !!r
  326. )
  327. }
  328. for (var r = this.tryEntries.length - 1; r >= 0; --r) {
  329. var i = this.tryEntries[r],
  330. a = i.completion
  331. if ('root' === i.tryLoc) return n('end')
  332. if (i.tryLoc <= this.prev) {
  333. var u = o.call(i, 'catchLoc'),
  334. l = o.call(i, 'finallyLoc')
  335. if (u && l) {
  336. if (this.prev < i.catchLoc) return n(i.catchLoc, !0)
  337. if (this.prev < i.finallyLoc) return n(i.finallyLoc)
  338. } else if (u) {
  339. if (this.prev < i.catchLoc) return n(i.catchLoc, !0)
  340. } else {
  341. if (!l)
  342. throw new Error('try statement without catch or finally')
  343. if (this.prev < i.finallyLoc) return n(i.finallyLoc)
  344. }
  345. }
  346. }
  347. },
  348. abrupt: function (t, e) {
  349. for (var n = this.tryEntries.length - 1; n >= 0; --n) {
  350. var r = this.tryEntries[n]
  351. if (
  352. r.tryLoc <= this.prev &&
  353. o.call(r, 'finallyLoc') &&
  354. this.prev < r.finallyLoc
  355. ) {
  356. var i = r
  357. break
  358. }
  359. }
  360. i &&
  361. ('break' === t || 'continue' === t) &&
  362. i.tryLoc <= e &&
  363. e <= i.finallyLoc &&
  364. (i = null)
  365. var a = i ? i.completion : {}
  366. return (
  367. (a.type = t),
  368. (a.arg = e),
  369. i
  370. ? ((this.method = 'next'), (this.next = i.finallyLoc), h)
  371. : this.complete(a)
  372. )
  373. },
  374. complete: function (t, e) {
  375. if ('throw' === t.type) throw t.arg
  376. return (
  377. 'break' === t.type || 'continue' === t.type
  378. ? (this.next = t.arg)
  379. : 'return' === t.type
  380. ? ((this.rval = this.arg = t.arg),
  381. (this.method = 'return'),
  382. (this.next = 'end'))
  383. : 'normal' === t.type && e && (this.next = e),
  384. h
  385. )
  386. },
  387. finish: function (t) {
  388. for (var e = this.tryEntries.length - 1; e >= 0; --e) {
  389. var n = this.tryEntries[e]
  390. if (n.finallyLoc === t)
  391. return this.complete(n.completion, n.afterLoc), L(n), h
  392. }
  393. },
  394. catch: function (t) {
  395. for (var e = this.tryEntries.length - 1; e >= 0; --e) {
  396. var n = this.tryEntries[e]
  397. if (n.tryLoc === t) {
  398. var r = n.completion
  399. if ('throw' === r.type) {
  400. var o = r.arg
  401. L(n)
  402. }
  403. return o
  404. }
  405. }
  406. throw new Error('illegal catch attempt')
  407. },
  408. delegateYield: function (t, e, n) {
  409. return (
  410. (this.delegate = { iterator: E(t), resultName: e, nextLoc: n }),
  411. 'next' === this.method && (this.arg = void 0),
  412. h
  413. )
  414. }
  415. }),
  416. n
  417. )
  418. }
  419. function n(t, e, n, r, o, i, a) {
  420. try {
  421. var u = t[i](a),
  422. l = u.value
  423. } catch (c) {
  424. return void n(c)
  425. }
  426. u.done ? e(l) : Promise.resolve(l).then(r, o)
  427. }
  428. var r = document.createElement('style')
  429. ;(r.innerHTML =
  430. '._liveClass_w1fih_1 .el-tabs__nav-wrap{padding-left:2.75rem;padding-right:2.75rem}._liveClass_w1fih_1 .el-tabs__item{font-size:1rem;line-height:1.5rem;color:#666;height:64px;line-height:64px;padding:0 42px}._liveClass_w1fih_1 .el-tabs__nav-wrap:after{height:1px;background:#eeeeee}\n'),
  431. document.head.appendChild(r),
  432. System.register(
  433. [
  434. './index-legacy.5524926d.js',
  435. './index-legacy.568e8c08.js',
  436. './index-legacy.c66b915f.js',
  437. './index-legacy.d01a43c0.js',
  438. './index2-legacy.d9c63cd8.js',
  439. './index2-legacy.439446f2.js',
  440. './index2-legacy.ef013f4d.js'
  441. ],
  442. function (t) {
  443. 'use strict'
  444. var r, o, i, a, u, l, c, s, f, h, d, p, v, g, y
  445. return {
  446. setters: [
  447. function (t) {
  448. ;(r = t.d),
  449. (o = t.aZ),
  450. (i = t.b),
  451. (a = t.c),
  452. (u = t.F),
  453. (l = t.N),
  454. (c = t.b0),
  455. (s = t.a),
  456. (f = t.aA),
  457. (h = t.aB)
  458. },
  459. function (t) {
  460. d = t.C
  461. },
  462. function (t) {
  463. p = t.P
  464. },
  465. function (t) {
  466. v = t.I
  467. },
  468. function (t) {
  469. ;(g = t.E), (y = t.a)
  470. },
  471. function () {},
  472. function () {}
  473. ],
  474. execute: function () {
  475. var m = '_liveClass_w1fih_1',
  476. w = r({
  477. name: 'list',
  478. props: { auditStatus: { type: String, default: '' } },
  479. data: function () {
  480. return {
  481. pageInfo: {
  482. limit: 9,
  483. page: 1,
  484. total: 0,
  485. page_size: [10, 20, 40, 50]
  486. },
  487. list: [],
  488. loading: !0,
  489. dataShow: !1
  490. }
  491. },
  492. mounted: function () {
  493. var t
  494. null !== (t = o.user.data) &&
  495. void 0 !== t &&
  496. t.enableFlag &&
  497. this.getList()
  498. },
  499. methods: {
  500. getList: function () {
  501. var t,
  502. r = this
  503. return ((t = e().mark(function t() {
  504. var n, a, u
  505. return e().wrap(
  506. function (t) {
  507. for (;;)
  508. switch ((t.prev = t.next)) {
  509. case 0:
  510. return (
  511. (r.loading = !0),
  512. (t.prev = 1),
  513. (t.next = 4),
  514. i.post('/api-website/videoLessonGroup/page', {
  515. data: {
  516. auditStatus: r.auditStatus,
  517. page: r.pageInfo.page,
  518. rows: r.pageInfo.limit,
  519. teacherId:
  520. null === (n = o.user.data) ||
  521. void 0 === n
  522. ? void 0
  523. : n.userId
  524. }
  525. })
  526. )
  527. case 4:
  528. ;(a = t.sent),
  529. (u = a.data),
  530. (r.list = u.rows || []),
  531. (r.pageInfo.total = u.total),
  532. u.total <= 0 && (r.dataShow = !0),
  533. (t.next = 13)
  534. break
  535. case 11:
  536. ;(t.prev = 11), (t.t0 = t.catch(1))
  537. case 13:
  538. r.dataShow
  539. ? (r.loading = !1)
  540. : setTimeout(function () {
  541. r.loading = !1
  542. }, 200)
  543. case 14:
  544. case 'end':
  545. return t.stop()
  546. }
  547. },
  548. t,
  549. null,
  550. [[1, 11]]
  551. )
  552. })),
  553. function () {
  554. var e = this,
  555. r = arguments
  556. return new Promise(function (o, i) {
  557. var a = t.apply(e, r)
  558. function u(t) {
  559. n(a, o, i, u, l, 'next', t)
  560. }
  561. function l(t) {
  562. n(a, o, i, u, l, 'throw', t)
  563. }
  564. u(void 0)
  565. })
  566. })()
  567. },
  568. onDetail: function (t) {
  569. 'UNPASS' !== this.auditStatus ||
  570. this.$router.push({
  571. path: '/userInfo/videoOperation',
  572. query: { type: 'edit', groupId: t.id }
  573. })
  574. }
  575. },
  576. render: function () {
  577. var t,
  578. e = this
  579. return a(u, null, [
  580. null !== (t = o.user.data) && void 0 !== t && t.enableFlag
  581. ? a(u, null, [
  582. a('div', { class: 'flex flex-wrap px-10' }, [
  583. a(
  584. g,
  585. {
  586. loading: this.loading,
  587. animated: !0,
  588. class: 'flex',
  589. count: 3
  590. },
  591. {
  592. default: function () {
  593. return [
  594. e.list.map(function (t) {
  595. return a(
  596. 'div',
  597. {
  598. class: 'w-1/3 pt-8',
  599. onClick: function () {
  600. return e.onDetail(t)
  601. }
  602. },
  603. [
  604. a(
  605. v,
  606. {
  607. item: {
  608. backgroundPic: t.lessonCoverUrl,
  609. courseGroupName: t.lessonName,
  610. studentCount: t.countStudent,
  611. avatar: t.avatar,
  612. teacherName: t.username,
  613. coursePrice: t.lessonPrice,
  614. courseNum: t.lessonCount
  615. }
  616. },
  617. null
  618. )
  619. ]
  620. )
  621. })
  622. ]
  623. },
  624. template: function () {
  625. return a('div', { class: 'w-1/3' }, [
  626. a(
  627. 'div',
  628. {
  629. class:
  630. 'flex flex-col pt-8 w-[262px] m-auto'
  631. },
  632. [
  633. a(
  634. y,
  635. {
  636. variant: 'image',
  637. style: {
  638. width: '100%',
  639. height: '175px'
  640. }
  641. },
  642. null
  643. ),
  644. a(
  645. 'div',
  646. {
  647. class:
  648. 'mx-2.5 py-3.5 border-b border-b-[#F2F2F2]'
  649. },
  650. [
  651. a(
  652. 'div',
  653. {
  654. class:
  655. 'text-lg leading-none font-medium whitespace-nowrap overflow-hidden text-ellipsis'
  656. },
  657. [a(y, { variant: 'h3' }, null)]
  658. ),
  659. a(
  660. 'div',
  661. {
  662. class:
  663. 'text-sm text-[#999] pt-2.5'
  664. },
  665. [
  666. a(
  667. y,
  668. {
  669. variant: 'p',
  670. style: { width: '50%' }
  671. },
  672. null
  673. )
  674. ]
  675. )
  676. ]
  677. ),
  678. a(
  679. 'div',
  680. {
  681. class:
  682. 'mx-2.5 py-4 flex items-center'
  683. },
  684. [
  685. a(
  686. y,
  687. {
  688. variant: 'circle',
  689. style: {
  690. width: '22px',
  691. height: '22px',
  692. marginRight: '5px'
  693. }
  694. },
  695. null
  696. ),
  697. a(
  698. y,
  699. {
  700. variant: 'p',
  701. style: { width: '20%' }
  702. },
  703. null
  704. ),
  705. a(
  706. 'p',
  707. { style: { width: '45%' } },
  708. null
  709. ),
  710. a(
  711. y,
  712. {
  713. variant: 'p',
  714. style: { width: '20%' }
  715. },
  716. null
  717. )
  718. ]
  719. )
  720. ]
  721. )
  722. ])
  723. }
  724. }
  725. )
  726. ]),
  727. a(
  728. p,
  729. {
  730. total: this.pageInfo.total,
  731. page: this.pageInfo.page,
  732. 'onUpdate:page': function (t) {
  733. return (e.pageInfo.page = t)
  734. },
  735. limit: this.pageInfo.limit,
  736. 'onUpdate:limit': function (t) {
  737. return (e.pageInfo.limit = t)
  738. },
  739. pageSizes: this.pageInfo.page_size,
  740. pagination: this.getList
  741. },
  742. null
  743. ),
  744. this.dataShow && a(d, null, null)
  745. ])
  746. : a(
  747. d,
  748. {
  749. type: 'teacherCert',
  750. message:
  751. '您还未完成达人认证,认证后才可创建视频课哦~',
  752. buttonVisibility: !0,
  753. buttonText: '去认证',
  754. onDetail: function () {
  755. e.$router.push('/teacherAuth')
  756. }
  757. },
  758. null
  759. )
  760. ])
  761. }
  762. })
  763. t(
  764. 'default',
  765. r({
  766. name: 'video-class',
  767. data: function () {
  768. var t = sessionStorage.getItem('videoActiveName')
  769. return (
  770. sessionStorage.removeItem('videoActiveName'),
  771. { activeName: t || 'PASS' }
  772. )
  773. },
  774. render: function () {
  775. var t = this
  776. return a('div', { class: [m, 'relative'] }, [
  777. a(
  778. l,
  779. {
  780. round: !0,
  781. type: 'primary',
  782. class: 'absolute right-11 top-4 z-10',
  783. onClick: function () {
  784. var e
  785. null !== (e = o.user.data) &&
  786. void 0 !== e &&
  787. e.enableFlag
  788. ? t.$router.push('/userInfo/videoOperation')
  789. : c.error(
  790. '您还未完成达人认证,认证后才可创建视频课'
  791. )
  792. }
  793. },
  794. {
  795. default: function () {
  796. return [s('新建视频课')]
  797. }
  798. }
  799. ),
  800. a(
  801. f,
  802. {
  803. modelValue: this.activeName,
  804. 'onUpdate:modelValue': function (e) {
  805. return (t.activeName = e)
  806. }
  807. },
  808. {
  809. default: function () {
  810. return [
  811. a(
  812. h,
  813. { label: '已上架', name: 'PASS' },
  814. {
  815. default: function () {
  816. return [
  817. 'PASS' === t.activeName &&
  818. a(w, { auditStatus: 'PASS' }, null)
  819. ]
  820. }
  821. }
  822. ),
  823. a(
  824. h,
  825. { label: '审核中', name: 'DOING' },
  826. {
  827. default: function () {
  828. return [
  829. 'DOING' === t.activeName &&
  830. a(w, { auditStatus: 'DOING' }, null)
  831. ]
  832. }
  833. }
  834. ),
  835. a(
  836. h,
  837. { label: '审核失败', name: 'UNPASS' },
  838. {
  839. default: function () {
  840. return [
  841. 'UNPASS' === t.activeName &&
  842. a(w, { auditStatus: 'UNPASS' }, null)
  843. ]
  844. }
  845. }
  846. )
  847. ]
  848. }
  849. }
  850. )
  851. ])
  852. }
  853. })
  854. )
  855. }
  856. }
  857. }
  858. )
  859. })()