| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358 |
- !(function () {
- function e(e) {
- return (
- (function (e) {
- if (Array.isArray(e)) return t(e)
- })(e) ||
- (function (e) {
- if (('undefined' != typeof Symbol && null != e[Symbol.iterator]) || null != e['@@iterator'])
- return Array.from(e)
- })(e) ||
- (function (e, n) {
- if (!e) return
- if ('string' == typeof e) return t(e, n)
- var a = Object.prototype.toString.call(e).slice(8, -1)
- 'Object' === a && e.constructor && (a = e.constructor.name)
- if ('Map' === a || 'Set' === a) return Array.from(e)
- if ('Arguments' === a || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)) return t(e, n)
- })(e) ||
- (function () {
- throw new TypeError(
- 'Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.'
- )
- })()
- )
- }
- function t(e, t) {
- ;(null == t || t > e.length) && (t = e.length)
- for (var n = 0, a = new Array(t); n < t; n++) a[n] = e[n]
- return a
- }
- System.register(
- [
- './index.module-legacy.a86392a8.js',
- './index-legacy.251c44e7.js',
- './index-legacy.37a26c18.js',
- './index-legacy.86e58eb0.js',
- './index-legacy.da3cfd73.js',
- './index-legacy.1f5a1fbe.js',
- './index-legacy.e8fdcbbe.js',
- './index-legacy.31f31051.js',
- './index-legacy.8ec00d40.js',
- './index-legacy.bc5c4a06.js',
- './use-tab-status-legacy.203dc693.js',
- './index-legacy.72f6344c.js',
- './index-legacy.a9a76943.js'
- ],
- function (t) {
- 'use strict'
- var n, a, r, i, u, l, c, s, o, d, f, m, v, p, g, y, b, j, h, I
- return {
- setters: [
- function (e) {
- n = e.s
- },
- function (e) {
- a = e.O
- },
- function (e) {
- ;(r = e.d),
- (i = e.aV),
- (u = e.R),
- (l = e.r),
- (c = e.$),
- (s = e.m),
- (o = e.f),
- (d = e.y),
- (f = e.c),
- (m = e.q),
- (v = e.ai),
- (p = e.P)
- },
- function (e) {
- g = e.O
- },
- function (e) {
- y = e.O
- },
- function (e) {
- b = e.C
- },
- function (e) {
- ;(j = e.G), (h = e.a)
- },
- function (e) {
- I = e.P
- },
- function () {},
- function () {},
- function () {},
- function () {},
- function () {}
- ],
- execute: function () {
- t(
- 'default',
- r({
- name: 'subsidy-reward-detail',
- setup: function () {
- var t = i(),
- r = u(!1)
- u(!1)
- var x = l({ subjectId: '', subjects: [], manageSalary: {}, rows: [] }),
- S = function () {
- s
- .post(
- ''.concat(
- o.platformApi,
- '/schoolWeekSalaryRecord/detailInfo/trainingTitle'
- ),
- { data: { id: t.query.id, userId: o.user.data.id, subjectId: x.subjectId } }
- )
- .then(function (e) {
- x.manageSalary = (null == e ? void 0 : e.data) || {}
- }),
- s
- .post(
- ''.concat(
- o.platformApi,
- '/schoolWeekSalaryRecord/detailInfo/trainingPage'
- ),
- {
- data: { id: t.query.id, userId: o.user.data.id, subjectId: x.subjectId }
- }
- )
- .then(function (e) {
- var t
- x.rows =
- (null == e || null === (t = e.data) || void 0 === t
- ? void 0
- : t.rows) || []
- })
- .finally(function () {
- r.value = !1
- })
- }
- c(function () {
- s
- .post(''.concat(o.platformApi, '/subjectBasicConfig/page'), {
- data: { page: 1, rows: 9999 }
- })
- .then(function (e) {
- var t
- Array.isArray(
- null == e || null === (t = e.data) || void 0 === t ? void 0 : t.rows
- ) && (x.subjects = e.data.rows)
- }),
- S()
- })
- var w = d(function () {
- var t = x.subjects.map(function (e) {
- return { text: e.subjectName, value: e.subjectId }
- })
- return [{ text: '全部声部' }].concat(e(t))
- }),
- A = u('全部声部'),
- T = u(!1)
- return function () {
- return f('div', null, [
- f(
- g,
- {
- onGetHeight: function (e) {
- document.documentElement.style.setProperty('--header-height', e + 'px')
- }
- },
- {
- default: function () {
- return [f(y, null, null)]
- }
- }
- ),
- f(
- a,
- {
- modelValue: r.value,
- 'onUpdate:modelValue': function (e) {
- return (r.value = e)
- },
- onRefresh: S,
- style: 'min-height: calc(100vh - var(--header-height))'
- },
- {
- default: function () {
- return [
- f('div', { class: [n.wrap] }, [
- f('div', { class: n.item }, [
- f(
- b,
- { center: !0 },
- {
- title: function () {
- return f('div', { class: n.itemTitle }, [
- f('div', { class: n.titleLine }, null),
- f('span', null, [m('练习奖励')])
- ])
- }
- }
- ),
- f(
- j,
- { class: n.grid, columnNum: 3, border: !1 },
- {
- default: function () {
- return [
- f(h, null, {
- default: function () {
- return [
- f('div', { class: n.gridItem }, [
- f('div', { class: n.gridItemTop }, [
- f('span', { class: n.topNum }, [
- x.manageSalary.standardSalary || 0
- ]),
- m('元/人')
- ]),
- f('div', null, [m('补助标准')])
- ])
- ]
- }
- }),
- f(h, null, {
- default: function () {
- return [
- f('div', { class: n.gridItem }, [
- f('div', { class: n.gridItemTop }, [
- f('span', { class: n.topNum }, [
- x.manageSalary.targetNum || 0
- ]),
- m('人')
- ]),
- f('div', null, [m('练习达标人数')])
- ])
- ]
- }
- }),
- f(h, null, {
- default: function () {
- return [
- f('div', { class: n.gridItem }, [
- f('div', { class: n.gridItemTop }, [
- f('span', { class: n.topNum }, [
- x.manageSalary.actualSalary || 0
- ]),
- m('元')
- ]),
- f('div', null, [m('实际奖励')])
- ])
- ]
- }
- })
- ]
- }
- }
- )
- ]),
- f(
- 'div',
- {
- class: 'searchGroup-single',
- style: 'padding-top: 0 !important;'
- },
- [
- f(
- 'div',
- {
- class: ['searchItem', T.value ? 'searchItem-active' : ''],
- onClick: function () {
- return (T.value = !0)
- }
- },
- [f('span', null, [A.value])]
- )
- ]
- ),
- x.rows.length
- ? f('div', { class: n.item }, [
- x.rows.map(function (e) {
- return f(
- b,
- { center: !0 },
- {
- icon: function () {
- return f(
- 'img',
- { class: n.itemPicture, src: e.avatar },
- null
- )
- },
- title: function () {
- return f('div', { class: n.itemTitle }, [
- f('span', null, [e.nickname])
- ])
- },
- label: function () {
- return f('span', { class: n.itemTag }, [e.subjectNames])
- },
- value: function () {
- return f('div', { class: n.gridItem }, [
- f('div', { class: n.gridItemTop }, [
- f('span', { class: n.topNum }, [e.practiceTimes]),
- m('分钟')
- ]),
- f('div', { class: n.valeLabel }, [m('练习时长')])
- ])
- }
- }
- )
- })
- ])
- : f(v, { tips: '暂无学员练习' }, null)
- ])
- ]
- }
- }
- ),
- f(
- p,
- {
- show: T.value,
- 'onUpdate:show': function (e) {
- return (T.value = e)
- },
- position: 'bottom',
- round: !0,
- class: 'popupBottomSearch'
- },
- {
- default: function () {
- return [
- f(
- I,
- {
- columns: w.value,
- onCancel: function () {
- return (T.value = !1)
- },
- onConfirm: function (e) {
- ;(A.value = e.selectedOptions[0].text || '全部声部'),
- (x.subjectId = e.selectedOptions[0].value || ''),
- (T.value = !1),
- S()
- }
- },
- null
- )
- ]
- }
- }
- )
- ])
- }
- }
- })
- )
- }
- }
- }
- )
- })()
|