1 |
- !function(){function a(a,e,n,t,l,r,i){try{var s=a[r](i),c=s.value}catch(u){return void n(u)}s.done?e(c):Promise.resolve(c).then(t,l)}System.register(["./index-legacy.48c8d62c.js","./index.module-legacy.a86392a8.js","./index-legacy.b00f6427.js","./index-legacy.f3037807.js","./index-legacy.8cf5f94f.js","./icon_teacher-legacy.07765f44.js","./index-legacy.5a3e4145.js","./quest-icon-legacy.8dd60bcc.js","./index-legacy.087e0425.js","./index-legacy.8429fc95.js","./index-legacy.ac553194.js"],(function(e){"use strict";var n,t,l,r,i,s,c,u,o,d,f,m,v,y,g,p,I,S,h,b,x,N,T,j;return{setters:[function(a){n=a.d,t=a.aV,l=a.ag,r=a.R,i=a.r,s=a.$,c=a.c,u=a.a5,o=a.q,d=a.b3,f=a.B,m=a.m,v=a.f,y=a.b6},function(a){g=a.s},function(a){p=a.O},function(a){I=a.O},function(a){S=a.O},function(a){h=a.i},function(a){b=a.O},function(a){x=a.q},function(a){N=a.C},function(a){T=a.G,j=a.a},function(){}],execute:function(){e("default",n({name:"approval-manage-subsidy",setup:function(){var e=t(),n=l(),k=r(!1),D=r(!1),L=r(""),R=i({startDate:"",endDate:"",manageSalary:"",courseSalary:"",trainingSalary:"",manageSalaryInfo:{},courseSalaryInfo:{},practiceSalaryInfo:{}}),w=function(){var n,t=(n=regeneratorRuntime.mark((function a(){var n,t,l,r,i,s,c,u,o,d,f,y,g;return regeneratorRuntime.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,m.post("".concat(v.platformApi,"/schoolWeekSalaryRecord/manageConfirm/").concat(e.query.salaryId),{});case 3:null!=(n=a.sent)&&n.data&&(t=n.data,l=t.courseSalaryInfo,r=t.manageSalaryInfo,i=t.practiceSalaryInfo,s=t.startDate,c=void 0===s?"":s,u=t.endDate,o=void 0===u?"":u,d=t.manageSalary,f=t.courseSalary,y=t.trainingSalary,g=t.id,R.courseSalaryInfo=l,R.manageSalaryInfo=r,R.practiceSalaryInfo=i,R.startDate=(null==c?void 0:c.split(" ")[0])||"",R.endDate=(null==o?void 0:o.split(" ")[0])||"",R.manageSalary=d,R.courseSalary=f,R.trainingSalary=y,L.value=g),a.next=9;break;case 7:a.prev=7,a.t0=a.catch(0);case 9:D.value=!1;case 10:case"end":return a.stop()}}),a,null,[[0,7]])})),function(){var e=this,t=arguments;return new Promise((function(l,r){var i=n.apply(e,t);function s(e){a(i,l,r,s,c,"next",e)}function c(e){a(i,l,r,s,c,"throw",e)}s(void 0)}))});return function(){return t.apply(this,arguments)}}();s((function(){w()}));var q=function(){y({message:"是否确认该周补助金额?"}).then((function(){m.post("".concat(v.platformApi,"/schoolWeekSalaryRecord/manageConfirmed/").concat(e.query.salaryId),{hideLoading:!1}).then((function(a){200==(null==a?void 0:a.code)&&n.back()}))}))};return function(){return c("div",null,[c(S,{onGetHeight:function(a){document.documentElement.style.setProperty("--header-height",a+"px")}},{default:function(){return[c(I,{class:g.rightTip,onClickRight:function(){return k.value=!0},title:e.query.display?"补助详情":"补助确认"},{right:function(){return c(u,{name:x,size:22,color:"#333"},null)}})]}}),c(p,{modelValue:D.value,"onUpdate:modelValue":function(a){return D.value=a},onRefresh:w,style:"min-height: calc(100vh - var(--header-height))"},{default:function(){return[c("div",{class:g.wrap},[!!R.courseSalaryInfo&&c("div",{class:g.item},[c(N,{center:!0},{title:function(){return c("div",{class:g.itemTitle},[c("span",null,[R.startDate,o(" 至 "),R.endDate]),c("span",{class:g.itemTag},[o("补助周期")])])}}),c(T,{class:g.grid,columnNum:2,border:!1},{default:function(){return[c(j,null,{default:function(){return[c("div",{class:g.gridItem},[c("div",{class:g.gridItemTop},[c("span",{class:g.topNum},[d(R.manageSalary||0)]),o("元")]),c("div",null,[o("管理补助")])])]}}),c(j,null,{default:function(){return[c("div",{class:g.gridItem},[c("div",{class:g.gridItemTop},[c("span",{class:g.topNum},[d(R.courseSalary||0)]),o("元")]),c("div",null,[o("训练补助")])])]}})]}})]),!!R.manageSalaryInfo&&c("div",{class:g.item},[c(N,{style:{"--van-cell-value-color":(R.manageSalaryInfo.photoNum||0)>=(R.manageSalaryInfo.expectPhotoNum||0)?"#333":"#F44541"},center:!0,value:"训练照片".concat(R.manageSalaryInfo.photoNum||0,"/").concat(R.manageSalaryInfo.expectPhotoNum||0),isLink:!0,to:"/subsidy-grant-detail?id=".concat(L.value)},{title:function(){return c("div",{class:g.itemTitle},[c("div",{class:g.titleLine},null),c("span",null,[o("管理补助")])])}}),c(T,{class:g.grid,columnNum:3,border:!1},{default:function(){return[c(j,null,{default:function(){return[c("div",{class:g.gridItem},[c("div",{class:g.gridItemTop},[c("span",{class:[g.topNum,g.small],style:{color:"#333"}},[d(R.manageSalaryInfo.standardSalary||0)]),o("元/周")]),c("div",null,[o("补助标准")])])]}}),c(j,null,{default:function(){return[c("div",{class:g.gridItem},[c("div",{class:g.gridItemTop},[c("span",{class:[g.topNum,g.small],style:{color:"#333"}},[R.manageSalaryInfo.coursewareNum||0]),o("课时")]),c("div",null,[o("本周课时数")])])]}}),c(j,null,{default:function(){return[c("div",{class:g.gridItem},[c("div",{class:g.gridItemTop},[c("span",{class:[g.topNum,g.small]},[d(R.manageSalaryInfo.actualSalary||0)]),o("元")]),c("div",null,[o("实际补助")])])]}})]}})]),c("div",{class:g.item},[c(N,{center:!0},{title:function(){return c("div",{class:g.itemTitle},[c("div",{class:g.titleLine},null),c("span",null,[o("训练补助")])])}}),c(T,{class:g.grid,columnNum:3,border:!1},{default:function(){return[c(j,null,{default:function(){return[c("div",{class:g.gridItem},[c("div",{class:g.gridItemTop},[c("span",{class:[g.topNum,g.small],style:{color:"#333"}},[d(R.courseSalaryInfo.singleSubsidyStandard||0)]),o("元/人")]),c("div",null,[o("单技补助标准")])])]}}),c(j,null,{default:function(){return[c("div",{class:g.gridItem},[c("div",{class:g.gridItemTop},[c("span",{class:[g.topNum,g.small],style:{color:"#333"}},[d(R.courseSalaryInfo.musicSubsidyStandard||0)]),o("元/天")]),c("div",null,[o("乐理补助标准")])])]}}),c(j,null,{default:function(){return[c("div",{class:g.gridItem},[c("div",{class:g.gridItemTop},[c("span",{class:[g.topNum,g.small],style:{color:"#333"}},[d(R.courseSalaryInfo.ensembleSubsidyStandard||0)]),o("元")]),c("div",null,[o("合奏补助标准")])])]}})]}}),Array.isArray(R.courseSalaryInfo.salaryRecordDetailItemList)&&R.courseSalaryInfo.salaryRecordDetailItemList.map((function(a){return c(N,{center:!0,title:a.userName,class:g.teacherListCell,isLink:!0,to:"/subsidy-exercise-detail?id=".concat(L.value,"&userId=").concat(a.userId)},{icon:function(){return c("img",{class:g.itemPicture,src:a.avatar||h},null)},value:function(){return c("div",{class:g.gridItem},[c("div",{class:g.gridItemTop},[c("span",{class:[g.topNum,g.small]},[d(a.salary||0)]),o("元")]),c("div",{class:g.valeLabel},[o("实际补助")])])}})}))]),c("div",{class:"van-safe-area-bottom"},[c("div",{style:{height:"calc(var(--van-button-default-height) + 0.8rem)"}},null)])])]}}),e.query.display&&c("div",{class:g.confirmBtn},[c("div",{class:"van-safe-area-bottom"},[c(f,{block:!0,type:"primary",round:!0,onClick:q},{default:function(){return[o("确认无误")]}})])]),c(b,{title:"补助发放规则",message:"1、每周一凌晨生成上一周实际补助数据\n2、每周一24点前完成补助确认,则该补助将会在当周周五发放\n3、超过周一24点确认,则延后到下周周五发放\n4、如遇法定节假日,则统一延后到下一周五发放\n5、未绑定银行卡导致无法发放时,将在绑定银行卡后的下一周五,一次性将已确认且未发放的补助金额发放",show:k.value,"onUpdate:show":function(a){return k.value=a},dialogMarginTop:"env(safe-area-inset-top)",messageAlign:"left",confirmButtonText:"我知道了"},null)])}}}))}}}))}();
|