1 |
- System.register(["./index-legacy.eb062188.js","./index.module-legacy.05b54fee.js","./icon_teacher-legacy.07765f44.js","./index-legacy.d64e5695.js","./index-legacy.ad813f4d.js","./index-legacy.4e015ad0.js","./index-legacy.918b8c74.js","./index-legacy.761bf286.js"],(function(e){"use strict";var l,a,s,t,c,i,r,d,u,n,o,m,v,y,p,g,f,h,I,x,S,b;return{setters:[function(e){l=e.d,a=e.ah,s=e.ag,t=e.R,c=e.r,i=e.$,r=e.c,d=e.aj,u=e.F,n=e.ba,o=e.q,m=e.ai,v=e.m,y=e.g},function(e){p=e.s},function(e){g=e.i},function(e){f=e.O},function(e){h=e.O},function(e){I=e.c},function(e){x=e.C},function(e){S=e.G,b=e.a}],execute:function(){const T=e("courseSalaryRecordDetailItem",t());e("default",l({name:"subsidy-exercise-detail",setup(){const e=a(),l=s(),j=t(!1);c({show:!1,row:null});const N=c({record:{userName:"",avatar:"",courseSalaryRecordDetailList:[]}}),L=()=>{v.post(`${y.platformApi}/schoolWeekSalaryRecord/detailInfo/course`,{data:{...e.query}}).then((e=>{N.record=(null==e?void 0:e.data)||{}})).finally((()=>{j.value=!1}))};return i((()=>{L()})),()=>r("div",null,[r(h,{onGetHeight:e=>{document.documentElement.style.setProperty("--header-height",e+"px")}},{default:()=>[r(d,null,null)]}),r(f,{modelValue:j.value,"onUpdate:modelValue":e=>j.value=e,onRefresh:L,style:"min-height: calc(100vh - var(--header-height))"},{default:()=>[r("div",{class:p.wrap},[r("div",{class:p.item},[r(x,{center:!0,class:p.rewardItem},{icon:()=>r("img",{class:p.itemPicture,src:N.record.avatar||g},null),title:()=>r("div",{class:p.itemTitle},[r("span",null,[N.record.userName])]),value:()=>r(u,null,[r("div",{class:p.gridItem},[r("div",{class:p.gridItemTop},[r("span",{class:p.topNum,style:{color:"#333"}},[n(N.record.expectSalary||0)]),o("元")]),r("div",{class:p.valeLabel},[o("预计补助")])]),r("div",{class:p.gridItem},[r("div",{class:p.gridItemTop},[r("span",{class:p.topNum},[n(N.record.actualSalary||0)]),o("元")]),r("div",{class:p.valeLabel},[o("实际补助")])])])})]),N.record.courseSalaryRecordDetailList.map((a=>r("div",{class:p.item},[r(x,{center:!0,value:`${m(a.date).format("YYYY-MM-DD")}`,valueClass:p.exerciseValue,isLink:!0,class:p.itemCourseName,onClick:()=>{T.value=a,l.push({path:"/subsidy-exercise-details",query:{...e.query,courseType:a.courseType,courseSalaryId:a.courseSalaryId}})}},{title:()=>r("div",{class:p.itemTitle},[r("div",{class:p.titleLine},null),r("span",null,[I[a.courseType]])])}),r(S,{class:p.grid,columnNum:3,border:!1},{default:()=>[r(b,null,{default:()=>[r("div",{class:p.gridItem},[r("div",{class:p.gridItemTop},[r("span",{class:[p.topNum,p.small],style:{color:"#333"}},[n(a.expectSalary||0)]),o("元")]),r("div",null,[o("补助标准")])])]}),r(b,null,{default:()=>[r("div",{class:p.gridItem},[r("div",{class:p.gridItemTop},[r("span",{class:[p.topNum,p.small],style:{color:"#333"}},[n(a.reduceSalary||0)]),o("元")]),r("div",null,[o("扣款金额")])])]}),r(b,null,{default:()=>[r("div",{class:p.gridItem},[r("div",{class:p.gridItemTop},[r("span",{class:[p.topNum,p.small]},[n(a.actualSalary||0)]),o("元")]),r("div",null,[o("实际补助")])])]})]})])))])]})])}}))}}}));
|