exercise-detail-legacy.20aae6d5.js 4.0 KB

1
  1. !function(){function e(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function t(t){for(var n=1;n<arguments.length;n++){var a=null!=arguments[n]?arguments[n]:{};n%2?e(Object(a),!0).forEach((function(e){r(t,e,a[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):e(Object(a)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))}))}return t}function r(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}System.register(["./index-legacy.90c82f08.js","./index.module-legacy.05b54fee.js","./icon_teacher-legacy.07765f44.js","./index-legacy.02f13b7a.js","./index-legacy.84457c4c.js","./index-legacy.4e015ad0.js","./index-legacy.f3e5e283.js","./index-legacy.e4343e46.js"],(function(e){"use strict";var r,n,a,l,c,i,u,s,o,d,f,m,p,y,v,g,b,h,j,O,I,x;return{setters:[function(e){r=e.d,n=e.ah,a=e.ag,l=e.R,c=e.r,i=e.$,u=e.c,s=e.aj,o=e.F,d=e.b6,f=e.q,m=e.ai,p=e.m,y=e.g},function(e){v=e.s},function(e){g=e.i},function(e){b=e.O},function(e){h=e.O},function(e){j=e.c},function(e){O=e.C},function(e){I=e.G,x=e.a}],execute:function(){var S=e("courseSalaryRecordDetailItem",l());e("default",r({name:"subsidy-exercise-detail",setup:function(){var e=n(),r=a(),w=l(!1);c({show:!1,row:null});var P=c({record:{userName:"",avatar:"",courseSalaryRecordDetailList:[]}}),T=function(){p.post("".concat(y.platformApi,"/schoolWeekSalaryRecord/detailInfo/course"),{data:t({},e.query)}).then((function(e){P.record=(null==e?void 0:e.data)||{}})).finally((function(){w.value=!1}))};return i((function(){T()})),function(){return u("div",null,[u(h,{onGetHeight:function(e){document.documentElement.style.setProperty("--header-height",e+"px")}},{default:function(){return[u(s,null,null)]}}),u(b,{modelValue:w.value,"onUpdate:modelValue":function(e){return w.value=e},onRefresh:T,style:"min-height: calc(100vh - var(--header-height))"},{default:function(){return[u("div",{class:v.wrap},[u("div",{class:v.item},[u(O,{center:!0,class:v.rewardItem},{icon:function(){return u("img",{class:v.itemPicture,src:P.record.avatar||g},null)},title:function(){return u("div",{class:v.itemTitle},[u("span",null,[P.record.userName])])},value:function(){return u(o,null,[u("div",{class:v.gridItem},[u("div",{class:v.gridItemTop},[u("span",{class:v.topNum,style:{color:"#333"}},[d(P.record.expectSalary||0)]),f("元")]),u("div",{class:v.valeLabel},[f("预计补助")])]),u("div",{class:v.gridItem},[u("div",{class:v.gridItemTop},[u("span",{class:v.topNum},[d(P.record.actualSalary||0)]),f("元")]),u("div",{class:v.valeLabel},[f("实际补助")])])])}})]),P.record.courseSalaryRecordDetailList.map((function(n){return u("div",{class:v.item},[u(O,{center:!0,value:"".concat(m(n.date).format("YYYY-MM-DD")),valueClass:v.exerciseValue,isLink:!0,class:v.itemCourseName,onClick:function(){S.value=n,r.push({path:"/subsidy-exercise-details",query:t(t({},e.query),{},{courseType:n.courseType,courseSalaryId:n.courseSalaryId})})}},{title:function(){return u("div",{class:v.itemTitle},[u("div",{class:v.titleLine},null),u("span",null,[j[n.courseType]])])}}),u(I,{class:v.grid,columnNum:3,border:!1},{default:function(){return[u(x,null,{default:function(){return[u("div",{class:v.gridItem},[u("div",{class:v.gridItemTop},[u("span",{class:[v.topNum,v.small],style:{color:"#333"}},[d(n.expectSalary||0)]),f("元")]),u("div",null,[f("补助标准")])])]}}),u(x,null,{default:function(){return[u("div",{class:v.gridItem},[u("div",{class:v.gridItemTop},[u("span",{class:[v.topNum,v.small],style:{color:"#333"}},[d(n.reduceSalary||0)]),f("元")]),u("div",null,[f("扣款金额")])])]}}),u(x,null,{default:function(){return[u("div",{class:v.gridItem},[u("div",{class:v.gridItemTop},[u("span",{class:[v.topNum,v.small]},[d(n.actualSalary||0)]),f("元")]),u("div",null,[f("实际补助")])])]}})]}})])}))])]}})])}}}))}}}))}();