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.module-legacy.05b54fee.js","./icon_teacher-legacy.07765f44.js","./index-legacy.47bc1690.js","./index-legacy.7cfd729a.js","./index-legacy.697c501a.js","./index-legacy.4e015ad0.js","./index-legacy.92a01198.js","./index-legacy.4df1d4ab.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.s},function(e){n=e.i},function(e){a=e.d,l=e.ah,c=e.ag,i=e.R,u=e.r,s=e.$,o=e.c,d=e.aj,f=e.F,m=e.b6,p=e.q,y=e.ai,v=e.m,g=e.g},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",i());e("default",a({name:"subsidy-exercise-detail",setup:function(){var e=l(),a=c(),w=i(!1);u({show:!1,row:null});var P=u({record:{userName:"",avatar:"",courseSalaryRecordDetailList:[]}}),T=function(){v.post("".concat(g.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 s((function(){T()})),function(){return o("div",null,[o(h,{onGetHeight:function(e){document.documentElement.style.setProperty("--header-height",e+"px")}},{default:function(){return[o(d,null,null)]}}),o(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[o("div",{class:r.wrap},[o("div",{class:r.item},[o(O,{center:!0,class:r.rewardItem},{icon:function(){return o("img",{class:r.itemPicture,src:P.record.avatar||n},null)},title:function(){return o("div",{class:r.itemTitle},[o("span",null,[P.record.userName])])},value:function(){return o(f,null,[o("div",{class:r.gridItem},[o("div",{class:r.gridItemTop},[o("span",{class:r.topNum,style:{color:"#333"}},[m(P.record.expectSalary||0)]),p("元")]),o("div",{class:r.valeLabel},[p("预计补助")])]),o("div",{class:r.gridItem},[o("div",{class:r.gridItemTop},[o("span",{class:r.topNum},[m(P.record.actualSalary||0)]),p("元")]),o("div",{class:r.valeLabel},[p("实际补助")])])])}})]),P.record.courseSalaryRecordDetailList.map((function(n){return o("div",{class:r.item},[o(O,{center:!0,value:"".concat(y(n.date).format("YYYY-MM-DD")),valueClass:r.exerciseValue,isLink:!0,class:r.itemCourseName,onClick:function(){S.value=n,a.push({path:"/subsidy-exercise-details",query:t(t({},e.query),{},{courseType:n.courseType,courseSalaryId:n.courseSalaryId})})}},{title:function(){return o("div",{class:r.itemTitle},[o("div",{class:r.titleLine},null),o("span",null,[j[n.courseType]])])}}),o(I,{class:r.grid,columnNum:3,border:!1},{default:function(){return[o(x,null,{default:function(){return[o("div",{class:r.gridItem},[o("div",{class:r.gridItemTop},[o("span",{class:[r.topNum,r.small],style:{color:"#333"}},[m(n.expectSalary||0)]),p("元")]),o("div",null,[p("补助标准")])])]}}),o(x,null,{default:function(){return[o("div",{class:r.gridItem},[o("div",{class:r.gridItemTop},[o("span",{class:[r.topNum,r.small],style:{color:"#333"}},[m(n.reduceSalary||0)]),p("元")]),o("div",null,[p("扣款金额")])])]}}),o(x,null,{default:function(){return[o("div",{class:r.gridItem},[o("div",{class:r.gridItemTop},[o("span",{class:[r.topNum,r.small]},[m(n.actualSalary||0)]),p("元")]),o("div",null,[p("实际补助")])])]}})]}})])}))])]}})])}}}))}}}))}();
|