!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-legacy.3d6bb858.js","./index.module-legacy.05b54fee.js","./index-legacy.b27a4b84.js","./index-legacy.6c843b87.js","./index-legacy.9124b583.js","./index-legacy.e92d11f8.js","./index-legacy.8ddeccad.js","./index-legacy.17f54e36.js","./index-legacy.9b70d682.js","./Picker-legacy.a73cd5de.js","./index-legacy.6027f3eb.js","./use-tab-status-legacy.77218878.js","./index-legacy.e36ba64d.js","./index-legacy.c46d3fdd.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.d,a=e.ah,r=e.R,i=e.r,u=e.$,l=e.m,c=e.g,s=e.D,o=e.c,d=e.aj,f=e.q,m=e.ak,v=e.P},function(e){p=e.s},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(){},function(){},function(){}],execute:function(){t("default",n({name:"subsidy-reward-detail",setup:function(){var t=a(),n=r(!1);r(!1);var x=i({subjectId:"",subjects:[],manageSalary:{},rows:[]}),S=function(){l.post("".concat(c.platformApi,"/schoolWeekSalaryRecord/detailInfo/trainingTitle"),{data:{id:t.query.id,userId:c.user.data.id,subjectId:x.subjectId}}).then((function(e){x.manageSalary=(null==e?void 0:e.data)||{}})),l.post("".concat(c.platformApi,"/schoolWeekSalaryRecord/detailInfo/trainingPage"),{data:{id:t.query.id,userId:c.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(){n.value=!1}))};u((function(){l.post("".concat(c.platformApi,"/subjectBasicConfig/page"),{data:{page:1,rows:9999,enableFlag:!0}}).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=s((function(){var t=x.subjects.map((function(e){return{text:e.subjectName,value:e.subjectId}}));return[{text:"全部声部"}].concat(e(t))})),A=r("全部声部"),T=r(!1);return function(){return o("div",null,[o(y,{onGetHeight:function(e){document.documentElement.style.setProperty("--header-height",e+"px")}},{default:function(){return[o(d,null,null)]}}),o(g,{modelValue:n.value,"onUpdate:modelValue":function(e){return n.value=e},onRefresh:S,style:"min-height: calc(100vh - var(--header-height))"},{default:function(){return[o("div",{class:[p.wrap]},[o("div",{class:p.item},[o(b,{center:!0},{title:function(){return o("div",{class:p.itemTitle},[o("div",{class:p.titleLine},null),o("span",null,[f("练习奖励")])])}}),o(j,{class:p.grid,columnNum:3,border:!1},{default:function(){return[o(h,null,{default:function(){return[o("div",{class:p.gridItem},[o("div",{class:p.gridItemTop},[o("span",{class:p.topNum},[x.manageSalary.standardSalary||0]),f("元/人")]),o("div",null,[f("补助标准")])])]}}),o(h,null,{default:function(){return[o("div",{class:p.gridItem},[o("div",{class:p.gridItemTop},[o("span",{class:p.topNum},[x.manageSalary.targetNum||0]),f("人")]),o("div",null,[f("练习达标人数")])])]}}),o(h,null,{default:function(){return[o("div",{class:p.gridItem},[o("div",{class:p.gridItemTop},[o("span",{class:p.topNum},[x.manageSalary.actualSalary||0]),f("元")]),o("div",null,[f("实际奖励")])])]}})]}})]),o("div",{class:"searchGroup-single",style:"padding-top: 0 !important;"},[o("div",{class:["searchItem",T.value?"searchItem-active":""],onClick:function(){return T.value=!0}},[o("span",null,[A.value])])]),x.rows.length?o("div",{class:p.item},[x.rows.map((function(e){return o(b,{center:!0},{icon:function(){return o("img",{class:p.itemPicture,src:e.avatar},null)},title:function(){return o("div",{class:p.itemTitle},[o("span",null,[e.nickname])])},label:function(){return o("span",{class:p.itemTag},[e.subjectNames])},value:function(){return o("div",{class:p.gridItem},[o("div",{class:p.gridItemTop},[o("span",{class:p.topNum},[e.practiceTimes]),f("分钟")]),o("div",{class:p.valeLabel},[f("练习时长")])])}})}))]):o(m,{tips:"暂无学员练习"},null)])]}}),o(v,{show:T.value,"onUpdate:show":function(e){return T.value=e},position:"bottom",round:!0,class:"popupBottomSearch"},{default:function(){return[o(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)]}})])}}}))}}}))}();
