details-legacy.b1cd3d1b.js 7.6 KB

1
  1. System.register(["./index-legacy.eb062188.js","./index.module-legacy.05b54fee.js","./icon-time-legacy.6dbe586d.js","./index-legacy.4e015ad0.js","./index-legacy.918b8c74.js"],(function(t){"use strict";var e,s,a,i,n,l,o,r,c,d,u,m,A,g,p,v,T,L,h,I;return{setters:[function(t){e=t.d,s=t.ah,a=t.r,i=t.$,n=t.c,l=t.aj,o=t.ba,r=t.q,c=t.bb,d=t.F,u=t.e,m=t.a5,A=t.ak,g=t.g,p=t.m,v=t.ai},function(t){T=t.s},function(t){L=t.i},function(t){h=t.c},function(t){I=t.C}],execute:function(){var S="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAYAAADhAJiYAAAAAXNSR0IArs4c6QAAA71JREFUWEfNmFtsVEUYgL//bIEFWgiXBvGCAhrwEokmJISWWsQsMbz1QjQmXEzAGkvUQIjERIvB+EaMEEEfsG28xaJvkFAKCaVtYlCeNDQBBCVAbRGwLdCKPT+ZPS7dOd3dc7ZWc+ZlN2f+yzf/zD//zAh5tupGnesOsVKFUoFHRZijSpExI0KfKr8pnBKlzYlxqGmNnMvHhYQRrv5GYzpAtbrUAkuN7zB6gAId4rBb4jQ1rZahIL1AwxUN+pwou4CFQcYC+jtV2PTdWmnJJZcVaN1nGu93+FBhIxo6IrmZBBX4tNDljfr1MpBJOCNQ9T4tdh0OAIv/ZVSyqZ9wXFY1vSw9foERQP/AtI7BFAWNpdNxKfNDWUBmmvoEA/NfRcYPeaJIKUufPguoqkH3qvJK0NDGsl+ET/avlZqUzbtAyWyC5jFbwGGpBVVIpLIvCWT2GfcmP/0P6yYbZqcziSfMPpUEqmrUF9Tlq7CDGo3c6kWw6jG43As7j0F3v21FHF7cv0a+TgJV1msbUDIaR0E6xsGGJZBYMCx57CzsMh7t1v7tOimVin06TxzO5FEOghju9huYmqWw4hFbJQuQOg7zpbJRa3DZE9pLSEFH4LUSeGa+rXD9Frx9EH73TVlSSnlVKur1c4GXQv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JjY1tQwcMA5Iw5MtoGIMtSrWWVo71FwyFSgJS2yQa/pdnhnuDmo24VTB4+5KAIsHAJQb2pFra4P/esnIQKRlmRrz6khNzma6Xsx4/K08Y/QGS2USWVe80gI1wHcjrVUB9fTCLNzgFYhYilMg+G0ieM5HO9g86cWPUhkF+vwKKmjA3FzsC+j24NSsnd5E8p2wgM1S4w2Lrlo6Sca8WNN4+qMHd3TC3btaRgSCx06h/etsGigQDTQys1lEy7twF5Uy0Ta2fHYhu36YjI2PpRdbjZ3nUWVg4O0NYnx2Ug6QJ/TfvQOTmKqC2NkRLt2sBSQd7aGAORYJryxl8UVfFf+0GxJSpCujHD0R3lepKgcB7qWdd4DoI2ir+K1chpk1XQN+/I7p7lzYQGDcoEgq8ZsYyXRV/9RWImTMV0NcviJbt1pUCEd5QTzAg64kKAo3Pd+EyPHPn2ZYDnz4hVuHoXB06YztFgoEYA5kaLLaJ7+wFeOarzmSg9SNiByp0pWSm9boHqjoLz8JFCujDe8QOVboDcr1lJ0/Bs3iJAmp5i9iRw9pAANpdB3Xm8RPIWL7Chuh/1YzeY0e1gVRQu0x7ZGeDxqkQ5L5eoKtLG0ilvcuDUX/24Zb2wei2dEhZsWSpbIZgvWtxw6dKh1RwU1zHVR6Ct0i1HPHwA/SdqdKC+lNcpbWr9uP+Q5BhqBiKRGBu2aQFlNR+uGnQxijLkhs0uSTdFhaGgYyNRfaNq/9RGDBNRx6Sd7VhLWxCQafJdzT7CIP/2uTbMZBu1yAJlVYXxYRH0+oqnYBKq8eGwbGXNs8xg6HS6sFqaKbK2ucVHGLmFE961CSo3/GT3i8keqasUEDpJQAAAABJRU5ErkJggg==";t("default",e({name:"subsidy-detail",setup(){const t=s(),e=a({record:{}});return i((()=>{(async()=>{try{var s;let a={};if("TEACHER"===g.platformType){const{data:e}=await p.get("/api-teacher/courseScheduleTeacherSalary/detail/"+t.query.id,{});a=e||{}}else{const{data:e}=await p.post("/api-school/schoolWeekSalaryRecord/detailInfoByCourseType",{data:{...t.query}});a=e||{}}e.record=a||{},Array.isArray(null===(s=e.record)||void 0===s?void 0:s.courseScheduleTeacherAttendanceList)&&e.record.courseScheduleTeacherAttendanceList.forEach((t=>{var e,s;t.times=(null!=t&&t.startTime?v(t.startTime).format("YYYY-MM-DD HH:mm"):"")+"~"+(null!=t&&t.endTime?v(t.endTime).format("HH:mm"):""),t.signInTime=null==t||null===(e=t.signInTime)||void 0===e?void 0:e.split(" ")[1],t.signOutTime=null==t||null===(s=t.signOutTime)||void 0===s?void 0:s.split(" ")[1]}))}catch{}})()})),()=>{var t;return n("div",null,[n(l,null,null),!!e.record&&n("div",{class:T.wrap},[n("div",{class:[T.item,T.listItem]},[n(I,{border:!1,center:!0,class:T.listItem,title:"补助课程",value:h[e.record.courseType]},null),n(I,{border:!1,center:!0,class:T.listItem,title:"补助标准",valueClass:T.recordLabelClass,value:`${e.record.standardSalary||0}元/天`},null),e.record.attendanceInfoList&&e.record.attendanceInfoList.map((t=>n(I,{border:!1,center:!0,class:T.listItem,valueClass:[T.valueColor],title:t.reason,value:`${o(t.salary)}元`},null))),n(I,{border:!1,center:!0,class:T.listItem,title:"实际补助金额",value:`${o(e.record.actualSalary||0)}元`},null)]),null===(t=e.record)||void 0===t||null===(t=t.courseScheduleTeacherAttendanceList)||void 0===t?void 0:t.map((t=>n("div",{class:T.item},[n(I,{center:!0},{title:()=>n("div",{class:T.itemTitle},[n("img",{class:T.titleIcon,src:L},null),n("span",null,[t.times])])}),n("div",{class:T.itemContent},[n("div",{class:T.itemContentTitle},[n("span",null,[t.classGroupName,r("-"),t.teacherName])]),n("div",{class:T.itemContentLabel},[t.orchestraName]),n("div",{class:[T.itemContentTitleDetail,T.recordLabelClass],style:{color:t.coursewarePlayTime>=t.adviseStudyTimeSecond?"#358AF5":"#F44541"}},[r("课件使用时长:"),c(t.coursewarePlayTime,"cn"),r("/"),c(t.adviseStudyTimeSecond,"cn")]),n("div",{class:T.times},[n("div",{class:[T.timesItem,T.startTime]},[n("div",{class:T.startTimeTop},[n("span",null,[r("签到时间")]),n("img",{src:"NORMAL"===t.signInStatus?S:y},null)]),n("div",{class:T.startTimeBottom},[n("span",{class:T.startTimeStatus,style:{color:"NORMAL"===t.signInStatus?"":"#F44541"}},[t.signInStatusTitle]),t.signInTime])]),n("div",{class:[T.timesItem,T.endTime]},[n("div",{class:T.startTimeTop},[n("span",null,[r("签到定位")]),n("img",{src:"NORMAL"===t.signInLongitudeLatitudeStatus?S:y},null)]),n("div",{class:T.startTimeBottom,style:{justifyContent:"space-between"}},[t.signInLongitudeLatitude?n(d,null,[n("span",{class:T.startTimePosition},["NORMAL"===t.signInLongitudeLatitudeStatus?"考勤范围内":"考勤范围外"]),n("span",{class:T.startTimePositionLook,style:{color:"NORMAL"===t.signInLongitudeLatitudeStatus?"#4493F6":"#F44541"},onClick:()=>{u({api:"sourseMapApi",content:{type:"display",myPoint:t.signInLongitudeLatitude,orginPoint:t.schoolLongitudeLatitude,limitDistance:t.scopeOfAttendance}})}},[r("查看定位 "),n(m,{name:"arrow"},null)])]):n("span",{class:T.startTimePosition},[r("暂无定位")])])])]),n("div",{class:T.times},[n("div",{class:[T.timesItem,T.startTime]},[n("div",{class:T.startTimeTop},[n("span",null,[r("签退时间")]),n("img",{src:"NORMAL"===t.signOutStatus?S:y},null)]),n("div",{class:T.startTimeBottom},[n("span",{class:T.startTimeStatus,style:{color:"NORMAL"===t.signOutStatus?"":"#F44541"}},[t.signOutStatusTitle]),t.signOutTime])]),n("div",{class:[T.timesItem,T.endTime]},[n("div",{class:T.startTimeTop},[n("span",null,[r("签退定位")]),n("img",{src:"NORMAL"===t.signOutLongitudeLatitudeStatus?S:y},null)]),n("div",{class:T.startTimeBottom,style:{justifyContent:"space-between"}},[t.signOutLongitudeLatitude?n(d,null,[n("span",{class:T.startTimePosition},["NORMAL"===t.signOutLongitudeLatitudeStatus?"考勤范围内":"考勤范围外"]),n("span",{class:T.startTimePositionLook,style:{color:"NORMAL"===t.signOutLongitudeLatitudeStatus?"#4493F6":"#F44541"},onClick:()=>{u({api:"sourseMapApi",content:{type:"display",myPoint:t.signOutLongitudeLatitude,orginPoint:t.schoolLongitudeLatitude,limitDistance:t.scopeOfAttendance}})}},[r("查看定位 "),n(m,{name:"arrow"},null)])]):n("span",{class:T.startTimePosition},[r("暂无定位")])])])])])])))]),!e.record&&n(A,{tips:"暂无明细"},null)])}}}))}}}));