grant-detail-legacy.378bfc2c.js 3.8 KB

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