1 |
- import{d as f,ah as B,R as c,r as v,$ as C,c as u,aj as h,a5 as A,q as l,ba as E,ai as F,m as p,g as s}from"./index.5f7ffb46.js";import{s as a}from"./index.module.6c7a343e.js";import{i as y}from"./icon-time.ca1af643.js";import{O as D}from"./index.1d6ac2c5.js";import{O as T}from"./index.7790de2a.js";import{O as I}from"./index.95a99ca5.js";import{q as N}from"./quest-icon.f1b2f4e3.js";import{C as g}from"./index.abd668f7.js";import{G as S,a as i}from"./index.adf0b8fc.js";var G=f({name:"subsidy-grant-detail",setup(){const n=B(),o=c(!1),r=c(!1),t=v({manageSalary:{},rows:[]}),m=()=>{p.post(`${s.platformApi}/schoolWeekSalaryRecord/detailInfo/manageTitle`,{data:{id:n.query.id,userId:s.user.data.id}}).then(e=>{t.manageSalary=(e==null?void 0:e.data)||{}}),p.post(`${s.platformApi}/schoolWeekSalaryRecord/detailInfo/managePage`,{data:{id:n.query.id,userId:s.user.data.id}}).then(e=>{var d;t.rows=((d=e==null?void 0:e.data)==null?void 0:d.rows)||[],console.log(t.rows)}).finally(()=>{o.value=!1})};return C(()=>{m()}),()=>u("div",null,[u(T,{onGetHeight:e=>{document.documentElement.style.setProperty("--header-height",e+"px")}},{default:()=>[u(h,{class:a.rightTip,onClickRight:()=>r.value=!0},{right:()=>u(A,{name:N,size:22,color:"#333"},null)})]}),u(D,{modelValue:o.value,"onUpdate:modelValue":e=>o.value=e,onRefresh:m,style:"min-height: calc(100vh - var(--header-height))"},{default:()=>[u("div",{class:a.wrap},[u("div",{class:a.item},[u(g,{center:!0,style:{"--van-cell-value-color":(t.manageSalary.photoNum||0)>=(t.manageSalary.expectPhotoNum||0)?"#333":"#F44541"},value:`\u8BAD\u7EC3\u7167\u7247${t.manageSalary.photoNum||0}/${t.manageSalary.expectPhotoNum||0}`},{title:()=>u("div",{class:a.itemTitle},[u("div",{class:a.titleLine},null),u("span",null,[l("\u7BA1\u7406\u8865\u52A9")])])}),u(S,{class:a.grid,columnNum:3,border:!1},{default:()=>[u(i,null,{default:()=>[u("div",{class:a.gridItem},[u("div",{class:a.gridItemTop},[u("span",{class:[a.topNum,a.small],style:{color:"#333"}},[E(t.manageSalary.standardSalary||0)]),l("\u5143/\u5468")]),u("div",null,[l("\u8865\u52A9\u6807\u51C6")])])]}),u(i,null,{default:()=>[u("div",{class:a.gridItem},[u("div",{class:a.gridItemTop},[u("span",{class:[a.topNum,a.small],style:{color:"#333"}},[t.manageSalary.coursewareNum||0]),l("\u8BFE\u65F6")]),u("div",null,[l("\u672C\u5468\u8BFE\u65F6\u6570")])])]}),u(i,null,{default:()=>[u("div",{class:a.gridItem},[u("div",{class:a.gridItemTop},[u("span",{class:[a.topNum,a.small]},[E(t.manageSalary.actualSalary||0)]),l("\u5143")]),u("div",null,[l("\u5B9E\u9645\u8865\u52A9")])])]})]})]),t.rows.map(e=>u("div",{class:a.item},[u(g,{center:!0},{title:()=>u("div",{class:a.itemTitle},[u("img",{class:a.titleIcon,src:y},null),e.startTime&&e.endTime?u("span",{class:a.timesinfo},[F(e.startTime).format("YYYY-MM-DD HH:mm"),l("~"),F(e.endTime).format("HH:mm")]):""])}),u("div",{class:a.itemContent},[u("div",{class:a.itemContentTitle},[e.className,l("-"),e.teacherName]),u("div",{class:a.itemContentLabel},[e.orchestraName])])]))])]}),u(I,{title:"\u8865\u52A9\u6807\u51C6",message:"1\u3001\u7BA1\u7406\u8865\u52A9\u6BCF\u4E2A\u5B66\u671F\u6700\u591A\u53D1\u653E16\u6B21\uFF0C\u4E14\u4EC5\u5728\u6709\u914D\u7F6E\u8BFE\u4EF6\u8BFE\u7A0B\u7684\u5468\u6B21\u53D1\u653E \\n 2\u3001\u82E5\u672C\u5468\u6709\u914D\u7F6E\u8BFE\u4EF6\u7684\u8BFE\u7A0B\uFF0C\u5219\u9700\u5728\u4E50\u56E2\u76F8\u518C\u4E2D\u4E0A\u4F206\u5F20\u8BAD\u7EC3\u7167\u7247\uFF0C\u82E5\u4E0D\u8DB36\u5F20\uFF0C\u5219\u672C\u5468\u6B21\u7BA1\u7406\u8865\u52A9\u6263\u9664 \\n 3\u3001\u82E5\u672A\u5728\u672C\u5B66\u671F\u65F6\u95F4\u5185\u53D1\u5E032\u7BC7\u4E50\u56E2\u8D44\u8BAF\uFF0C\u5219\u4E0B\u4E00\u5B66\u671F\u7BA1\u7406\u8865\u52A9\u6309\u6807\u51C6\u91D1\u989D\u768480%\u53D1\u653E \\n 4\u3001\u82E5\u672C\u5B66\u671F\u7BA1\u7406\u8865\u52A9\u662F\u6309\u6807\u51C6\u91D1\u989D\u768480%\u53D1\u653E\uFF0C\u53EA\u8981\u5728\u672C\u5B66\u671F\u5185\u53D1\u5E032\u7BC7\u6216\u4EE5\u4E0A\u4E50\u56E2\u8D44\u8BAF\uFF0C\u5219\u4E0B\u5B66\u671F\u6062\u590D\u6B63\u5E38\u7BA1\u7406\u8865\u52A9\u6807\u51C6",show:r.value,"onUpdate:show":e=>r.value=e,dialogMarginTop:"env(safe-area-inset-top)",messageAlign:"left",confirmButtonText:"\u6211\u77E5\u9053\u4E86"},null)])}});export{G as default};
|