import{d as L,aV as E,r as S,$ as y,c as t,b3 as m,q as i,b4 as g,F as p,k as T,a5 as F,ai as B,f as N,m as v,ah as h}from"./index.ffe80dbe.js";import{s as e}from"./index.module.eb524400.js";import{i as G}from"./icon-time.ca1af643.js";import{c as R}from"./index.931cf0b8.js";import{O as f}from"./index.4ddd16f0.js";import{O as C}from"./index.a0ef77e4.js";import{C as l}from"./index.ea031708.js";import"./index.1d5c6f70.js";var u="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAYAAADhAJiYAAAAAXNSR0IArs4c6QAAA71JREFUWEfNmFtsVEUYgL//bIEFWgiXBvGCAhrwEokmJISWWsQsMbz1QjQmXEzAGkvUQIjERIvB+EaMEEEfsG28xaJvkFAKCaVtYlCeNDQBBCVAbRGwLdCKPT+ZPS7dOd3dc7ZWc+ZlN2f+yzf/zD//zAh5tupGnesOsVKFUoFHRZijSpExI0KfKr8pnBKlzYlxqGmNnMvHhYQRrv5GYzpAtbrUAkuN7zB6gAId4rBb4jQ1rZahIL1AwxUN+pwou4CFQcYC+jtV2PTdWmnJJZcVaN1nGu93+FBhIxo6IrmZBBX4tNDljfr1MpBJOCNQ9T4tdh0OAIv/ZVSyqZ9wXFY1vSw9foERQP/AtI7BFAWNpdNxKfNDWUBmmvoEA/NfRcYPeaJIKUufPguoqkH3qvJK0NDGsl+ET/avlZqUzbtAyWyC5jFbwGGpBVVIpLIvCWT2GfcmP/0P6yYbZqcziSfMPpUEqmrUF9Tlq7CDGo3c6kWw6jG43As7j0F3v21FHF7cv0a+TgJV1msbUDIaR0E6xsGGJZBYMCx57CzsMh7t1v7tOimVin06TxzO5FEOghju9huYmqWw4hFbJQuQOg7zpbJRa3DZE9pLSEFH4LUSeGa+rXD9Frx9EH73TVlSSnlVKur1c4GXQvoJJWZgXl8GJXNt8as3oe4QXOrNbEbhC6ms1x+Bp/0is4tgy3IwvwdOwZcnvdId1GIOvFkGSx60Ja/c8GC6+nJaOClVDdqjyky/mBnhsnnDX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GS2USWVe80gI1wHcjrVUB9fTCLNzgFYhYilMg+G0ieM5HO9g86cWPUhkF+vwKKmjA3FzsC+j24NSsnd5E8p2wgM1S4w2Lrlo6Sca8WNN4+qMHd3TC3btaRgSCx06h/etsGigQDTQys1lEy7twF5Uy0Ta2fHYhu36YjI2PpRdbjZ3nUWVg4O0NYnx2Ug6QJ/TfvQOTmKqC2NkRLt2sBSQd7aGAORYJryxl8UVfFf+0GxJSpCujHD0R3lepKgcB7qWdd4DoI2ir+K1chpk1XQN+/I7p7lzYQGDcoEgq8ZsYyXRV/9RWImTMV0NcviJbt1pUCEd5QTzAg64kKAo3Pd+EyPHPn2ZYDnz4hVuHoXB06YztFgoEYA5kaLLaJ7+wFeOarzmSg9SNiByp0pWSm9boHqjoLz8JFCujDe8QOVboDcr1lJ0/Bs3iJAmp5i9iRw9pAANpdB3Xm8RPIWL7Chuh/1YzeY0e1gVRQu0x7ZGeDxqkQ5L5eoKtLG0ilvcuDUX/24Zb2wei2dEhZsWSpbIZgvWtxw6dKh1RwU1zHVR6Ct0i1HPHwA/SdqdKC+lNcpbWr9uP+Q5BhqBiKRGBu2aQFlNR+uGnQxijLkhs0uSTdFhaGgYyNRfaNq/9RGDBNRx6Sd7VhLWxCQafJdzT7CIP/2uTbMZBu1yAJlVYXxYRH0+oqnYBKq8eGwbGXNs8xg6HS6sFqaKbK2ucVHGLmFE961CSo3/GT3i8keqasUEDpJQAAAABJRU5ErkJggg==",P=L({name:"subsidy-detail",setup(){const c=E(),a=S({record:{}}),I=async()=>{var o;try{let r={};if(N.platformType==="TEACHER"){const{data:s}=await v.get("/api-teacher/courseScheduleTeacherSalary/detail/"+c.query.id,{});r=s||{}}else{const{data:s}=await v.post("/api-school/schoolWeekSalaryRecord/detailInfoByCourseType",{data:{...c.query}});r=s||{}}a.record=r||{},Array.isArray((o=a.record)==null?void 0:o.courseScheduleTeacherAttendanceList)&&a.record.courseScheduleTeacherAttendanceList.forEach(s=>{var d,A;s.times=(s!=null&&s.startTime?h(s.startTime).format("YYYY-MM-DD HH:mm"):"")+"\uFF5E"+(s!=null&&s.endTime?h(s.endTime).format("HH:mm"):""),s.signInTime=(d=s==null?void 0:s.signInTime)==null?void 0:d.split(" ")[1],s.signOutTime=(A=s==null?void 0:s.signOutTime)==null?void 0:A.split(" ")[1]})}catch{}};return y(()=>{I()}),()=>{var o,r;return t("div",null,[t(f,null,{default:()=>[t(C,null,null)]}),!!a.record&&t("div",{class:e.wrap},[t("div",{class:[e.item,e.listItem]},[t(l,{border:!1,center:!0,class:e.listItem,title:"\u8865\u52A9\u8BFE\u7A0B",value:R[a.record.courseType]},null),t(l,{border:!1,center:!0,class:e.listItem,title:"\u8865\u52A9\u6807\u51C6",value:`${a.record.standardSalary||0}\u5143/\u5929`},null),a.record.attendanceInfoList&&a.record.attendanceInfoList.map(s=>t(l,{border:!1,center:!0,class:e.listItem,valueClass:[e.valueColor],title:s.reason,value:`${m(s.salary)}\u5143`},null)),t(l,{border:!1,center:!0,class:e.listItem,title:"\u5B9E\u9645\u8865\u52A9\u91D1\u989D",value:`${m(a.record.actualSalary||0)}\u5143`},null)]),(r=(o=a.record)==null?void 0:o.courseScheduleTeacherAttendanceList)==null?void 0:r.map(s=>t("div",{class:e.item},[t(l,{center:!0},{title:()=>t("div",{class:e.itemTitle},[t("img",{class:e.titleIcon,src:G},null),t("span",null,[s.times])])}),t("div",{class:e.itemContent},[t("div",{class:e.itemContentTitle},[t("span",null,[s.classGroupName,i("-"),s.teacherName])]),t("div",{class:e.itemContentLabel},[s.orchestraName]),t("div",{class:[e.itemContentTitleDetail,e.recordLabelClass],style:{color:s.coursewarePlayTime>=s.adviseStudyTimeSecond?"#358AF5":"#F44541"}},[i("\u8BFE\u4EF6\u4F7F\u7528\u65F6\u957F\uFF1A"),g(s.coursewarePlayTime,"cn"),i("/"),g(s.adviseStudyTimeSecond,"cn")]),t("div",{class:e.times},[t("div",{class:[e.timesItem,e.startTime]},[t("div",{class:e.startTimeTop},[t("span",null,[i("\u7B7E\u5230\u65F6\u95F4")]),t("img",{src:s.signInStatus==="NORMAL"?u:n},null)]),t("div",{class:e.startTimeBottom},[t("span",{class:e.startTimeStatus,style:{color:s.signInStatus==="NORMAL"?"":"#F44541"}},[s.signInStatusTitle]),s.signInTime])]),t("div",{class:[e.timesItem,e.endTime]},[t("div",{class:e.startTimeTop},[t("span",null,[i("\u7B7E\u5230\u5B9A\u4F4D")]),t("img",{src:s.signInLongitudeLatitudeStatus==="NORMAL"?u:n},null)]),t("div",{class:e.startTimeBottom,style:{justifyContent:"space-between"}},[s.signInLongitudeLatitude?t(p,null,[t("span",{class:e.startTimePosition},[s.signInLongitudeLatitudeStatus==="NORMAL"?"\u8003\u52E4\u8303\u56F4\u5185":"\u8003\u52E4\u8303\u56F4\u5916"]),t("span",{class:e.startTimePositionLook,style:{color:s.signInLongitudeLatitudeStatus==="NORMAL"?"#4493F6":"#F44541"},onClick:()=>{T({api:"sourseMapApi",content:{type:"display",myPoint:s.signInLongitudeLatitude,orginPoint:s.schoolLongitudeLatitude,limitDistance:s.scopeOfAttendance}})}},[i("\u67E5\u770B\u5B9A\u4F4D "),t(F,{name:"arrow"},null)])]):t("span",{class:e.startTimePosition},[i("\u6682\u65E0\u5B9A\u4F4D")])])])]),t("div",{class:e.times},[t("div",{class:[e.timesItem,e.startTime]},[t("div",{class:e.startTimeTop},[t("span",null,[i("\u7B7E\u9000\u65F6\u95F4")]),t("img",{src:s.signOutStatus==="NORMAL"?u:n},null)]),t("div",{class:e.startTimeBottom},[t("span",{class:e.startTimeStatus,style:{color:s.signOutStatus==="NORMAL"?"":"#F44541"}},[s.signOutStatusTitle]),s.signOutTime])]),t("div",{class:[e.timesItem,e.endTime]},[t("div",{class:e.startTimeTop},[t("span",null,[i("\u7B7E\u9000\u5B9A\u4F4D")]),t("img",{src:s.signOutLongitudeLatitudeStatus==="NORMAL"?u:n},null)]),t("div",{class:e.startTimeBottom,style:{justifyContent:"space-between"}},[s.signOutLongitudeLatitude?t(p,null,[t("span",{class:e.startTimePosition},[s.signOutLongitudeLatitudeStatus==="NORMAL"?"\u8003\u52E4\u8303\u56F4\u5185":"\u8003\u52E4\u8303\u56F4\u5916"]),t("span",{class:e.startTimePositionLook,style:{color:s.signOutLongitudeLatitudeStatus==="NORMAL"?"#4493F6":"#F44541"},onClick:()=>{T({api:"sourseMapApi",content:{type:"display",myPoint:s.signOutLongitudeLatitude,orginPoint:s.schoolLongitudeLatitude,limitDistance:s.scopeOfAttendance}})}},[i("\u67E5\u770B\u5B9A\u4F4D "),t(F,{name:"arrow"},null)])]):t("span",{class:e.startTimePosition},[i("\u6682\u65E0\u5B9A\u4F4D")])])])])])]))]),!a.record&&t(B,{tips:"\u6682\u65E0\u660E\u7EC6"},null)])}}});export{P as default};