grant-detail-legacy.e2273fe1.js 4.0 KB

1
  1. System.register(["./index-legacy.90c82f08.js","./index.module-legacy.05b54fee.js","./icon-time-legacy.6dbe586d.js","./index-legacy.02f13b7a.js","./index-legacy.84457c4c.js","./index-legacy.f1d613e0.js","./quest-icon-legacy.8dd60bcc.js","./index-legacy.f3e5e283.js","./index-legacy.e4343e46.js"],(function(e){"use strict";var a,n,t,l,i,o,s,c,r,u,d,m,f,g,v,y,p,h,S,T,x,N;return{setters:[function(e){a=e.d,n=e.ah,t=e.R,l=e.r,i=e.$,o=e.c,s=e.aj,c=e.a5,r=e.q,u=e.b6,d=e.ai,m=e.m,f=e.g},function(e){g=e.s},function(e){v=e.i},function(e){y=e.O},function(e){p=e.O},function(e){h=e.O},function(e){S=e.q},function(e){T=e.C},function(e){x=e.G,N=e.a}],execute:function(){e("default",a({name:"subsidy-grant-detail",setup:function(){var e=n(),a=t(!1),I=t(!1),j=l({manageSalary:{},rows:[]}),w=function(){m.post("".concat(f.platformApi,"/schoolWeekSalaryRecord/detailInfo/manageTitle"),{data:{id:e.query.id,userId:f.user.data.id}}).then((function(e){j.manageSalary=(null==e?void 0:e.data)||{}})),m.post("".concat(f.platformApi,"/schoolWeekSalaryRecord/detailInfo/managePage"),{data:{id:e.query.id,userId:f.user.data.id}}).then((function(e){var a;j.rows=(null==e||null===(a=e.data)||void 0===a?void 0:a.rows)||[],console.log(j.rows)})).finally((function(){a.value=!1}))};return i((function(){w()})),function(){return o("div",null,[o(p,{onGetHeight:function(e){document.documentElement.style.setProperty("--header-height",e+"px")}},{default:function(){return[o(s,{class:g.rightTip,onClickRight:function(){return I.value=!0}},{right:function(){return o(c,{name:S,size:22,color:"#333"},null)}})]}}),o(y,{modelValue:a.value,"onUpdate:modelValue":function(e){return a.value=e},onRefresh:w,style:"min-height: calc(100vh - var(--header-height))"},{default:function(){return[o("div",{class:g.wrap},[o("div",{class:g.item},[o(T,{center:!0,style:{"--van-cell-value-color":(j.manageSalary.photoNum||0)>=(j.manageSalary.expectPhotoNum||0)?"#333":"#F44541"},value:"训练照片".concat(j.manageSalary.photoNum||0,"/").concat(j.manageSalary.expectPhotoNum||0)},{title:function(){return o("div",{class:g.itemTitle},[o("div",{class:g.titleLine},null),o("span",null,[r("管理补助")])])}}),o(x,{class:g.grid,columnNum:3,border:!1},{default:function(){return[o(N,null,{default:function(){return[o("div",{class:g.gridItem},[o("div",{class:g.gridItemTop},[o("span",{class:[g.topNum,g.small],style:{color:"#333"}},[u(j.manageSalary.standardSalary||0)]),r("元/周")]),o("div",null,[r("补助标准")])])]}}),o(N,null,{default:function(){return[o("div",{class:g.gridItem},[o("div",{class:g.gridItemTop},[o("span",{class:[g.topNum,g.small],style:{color:"#333"}},[j.manageSalary.coursewareNum||0]),r("课时")]),o("div",null,[r("本周课时数")])])]}}),o(N,null,{default:function(){return[o("div",{class:g.gridItem},[o("div",{class:g.gridItemTop},[o("span",{class:[g.topNum,g.small]},[u(j.manageSalary.actualSalary||0)]),r("元")]),o("div",null,[r("实际补助")])])]}})]}})]),j.rows.map((function(e){return o("div",{class:g.item},[o(T,{center:!0},{title:function(){return o("div",{class:g.itemTitle},[o("img",{class:g.titleIcon,src:v},null),e.startTime&&e.endTime?o("span",{class:g.timesinfo},[d(e.startTime).format("YYYY-MM-DD HH:mm"),r("~"),d(e.endTime).format("HH:mm")]):""])}}),o("div",{class:g.itemContent},[o("div",{class:g.itemContentTitle},[e.className,r("-"),e.teacherName]),o("div",{class:g.itemContentLabel},[e.orchestraName])])])}))])]}}),o(h,{title:"补助标准",message:"1、管理补助每个学期最多发放16次,且仅在有配置课件课程的周次发放 \n 2、若本周有配置课件的课程,则需在乐团相册中上传6张训练照片,若不足6张,则本周次管理补助扣除 \n 3、若未在本学期时间内发布2篇乐团资讯,则下一学期管理补助按标准金额的80%发放 \n 4、若本学期管理补助是按标准金额的80%发放,只要在本学期内发布2篇或以上乐团资讯,则下学期恢复正常管理补助标准",show:I.value,"onUpdate:show":function(e){return I.value=e},dialogMarginTop:"env(safe-area-inset-top)",messageAlign:"left",confirmButtonText:"我知道了"},null)])}}}))}}}));