1 |
- !function(){function t(t){return function(t){if(Array.isArray(t))return e(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,n){if(!t)return;if("string"==typeof t)return e(t,n);var a=Object.prototype.toString.call(t).slice(8,-1);"Object"===a&&t.constructor&&(a=t.constructor.name);if("Map"===a||"Set"===a)return Array.from(t);if("Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return e(t,n)}(t)||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 e(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,a=new Array(e);n<e;n++)a[n]=t[n];return a}System.register(["./index.module-legacy.05b54fee.js","./index-legacy.4596d3ae.js","./index-legacy.c1f63540.js","./index-legacy.7e71b67e.js","./index-legacy.8a8e9c42.js","./index-legacy.cdcc5f23.js","./index-legacy.6aa82d51.js","./Picker-legacy.5a9c13b9.js","./index-legacy.aa9b4ef8.js","./use-tab-status-legacy.77a01b2b.js","./index-legacy.49ab1c78.js","./index-legacy.6603017a.js"],(function(e){"use strict";var n,a,r,u,i,l,c,s,o,d,f,m,v,p,g,y,b,h,j,I;return{setters:[function(t){n=t.s},function(t){a=t.O},function(t){r=t.d,u=t.ah,i=t.R,l=t.r,c=t.$,s=t.m,o=t.g,d=t.y,f=t.c,m=t.aj,v=t.q,p=t.ak,g=t.P},function(t){y=t.O},function(t){b=t.C},function(t){h=t.G,j=t.a},function(t){I=t.P},function(){},function(){},function(){},function(){},function(){}],execute:function(){e("default",r({name:"subsidy-reward-detail",setup:function(){var e=u(),r=i(!1);i(!1);var S=l({subjectId:"",subjects:[],manageSalary:{},rows:[]}),w=function(){s.post("".concat(o.platformApi,"/schoolWeekSalaryRecord/detailInfo/trainingTitle"),{data:{id:e.query.id,userId:o.user.data.id,subjectId:S.subjectId}}).then((function(t){S.manageSalary=(null==t?void 0:t.data)||{}})),s.post("".concat(o.platformApi,"/schoolWeekSalaryRecord/detailInfo/trainingPage"),{data:{id:e.query.id,userId:o.user.data.id,subjectId:S.subjectId}}).then((function(t){var e;S.rows=(null==t||null===(e=t.data)||void 0===e?void 0:e.rows)||[]})).finally((function(){r.value=!1}))};c((function(){s.post("".concat(o.platformApi,"/subjectBasicConfig/page"),{data:{page:1,rows:9999}}).then((function(t){var e;Array.isArray(null==t||null===(e=t.data)||void 0===e?void 0:e.rows)&&(S.subjects=t.data.rows)})),w()}));var x=d((function(){var e=S.subjects.map((function(t){return{text:t.subjectName,value:t.subjectId}}));return[{text:"全部声部"}].concat(t(e))})),A=i("全部声部"),T=i(!1);return function(){return f("div",null,[f(y,{onGetHeight:function(t){document.documentElement.style.setProperty("--header-height",t+"px")}},{default:function(){return[f(m,null,null)]}}),f(a,{modelValue:r.value,"onUpdate:modelValue":function(t){return r.value=t},onRefresh:w,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,[v("练习奖励")])])}}),f(h,{class:n.grid,columnNum:3,border:!1},{default:function(){return[f(j,null,{default:function(){return[f("div",{class:n.gridItem},[f("div",{class:n.gridItemTop},[f("span",{class:n.topNum},[S.manageSalary.standardSalary||0]),v("元/人")]),f("div",null,[v("补助标准")])])]}}),f(j,null,{default:function(){return[f("div",{class:n.gridItem},[f("div",{class:n.gridItemTop},[f("span",{class:n.topNum},[S.manageSalary.targetNum||0]),v("人")]),f("div",null,[v("练习达标人数")])])]}}),f(j,null,{default:function(){return[f("div",{class:n.gridItem},[f("div",{class:n.gridItemTop},[f("span",{class:n.topNum},[S.manageSalary.actualSalary||0]),v("元")]),f("div",null,[v("实际奖励")])])]}})]}})]),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])])]),S.rows.length?f("div",{class:n.item},[S.rows.map((function(t){return f(b,{center:!0},{icon:function(){return f("img",{class:n.itemPicture,src:t.avatar},null)},title:function(){return f("div",{class:n.itemTitle},[f("span",null,[t.nickname])])},label:function(){return f("span",{class:n.itemTag},[t.subjectNames])},value:function(){return f("div",{class:n.gridItem},[f("div",{class:n.gridItemTop},[f("span",{class:n.topNum},[t.practiceTimes]),v("分钟")]),f("div",{class:n.valeLabel},[v("练习时长")])])}})}))]):f(p,{tips:"暂无学员练习"},null)])]}}),f(g,{show:T.value,"onUpdate:show":function(t){return T.value=t},position:"bottom",round:!0,class:"popupBottomSearch"},{default:function(){return[f(I,{columns:x.value,onCancel:function(){return T.value=!1},onConfirm:function(t){A.value=t.selectedOptions[0].text||"全部声部",S.subjectId=t.selectedOptions[0].value||"",T.value=!1,w()}},null)]}})])}}}))}}}))}();
|