index.29466106.js 16 KB

1
  1. import{s as o}from"./index.module.6c7a343e.js";import{d as y,ag as Q,r as k,R as p,$ as w,c as e,m as C,bF as R,ak as x,al as H,y as B,g as U,q as g,b6 as P,aj as O}from"./index.3b0304e1.js";import{O as V}from"./index.4a374dbf.js";import{O as L}from"./index.7c4783e6.js";import{A as F}from"./approval-item.69ddcd43.js";import{L as T}from"./index.179b8d2a.js";import{C as D}from"./index.ff3f298b.js";import{G as q,a as E}from"./index.53bfa96a.js";import{O as M}from"./index.454c666f.js";import{T as z,a as G}from"./index.c9ab1bb5.js";import"./index.5fdd5242.js";import"./clock-icon.6fd57365.js";import"./default-icon.11fd2315.js";import"./student-icon.30fb072d.js";import"./msg-icon.adf37f7b.js";import"./use-tab-status.e36e4d74.js";import"./index.ce8d626c.js";import"./index.409ae793.js";function X(r){return typeof r=="function"||Object.prototype.toString.call(r)==="[object Object]"&&!H(r)}var I=y({name:"end-approval",setup(){const r=Q(),u=k({page:1,rows:20}),a=p(!1),l=p(!1),s=p(!1),t=p([]),c=async()=>{var i;if(!l.value){l.value=!0;try{a.value&&(t.value=[],u.page=1,s.value=!1);const n=await C.post("/api-school/userApproveRecord/page",{data:{...u,hasHandle:!0}});Array.isArray((i=n==null?void 0:n.data)==null?void 0:i.rows)?(t.value=t.value.concat(n.data.rows||[]),u.page=n.data.current+1,s.value=!n.data.next):s.value=!0}catch{s.value=!0}l.value=!1,a.value=!1}};w(()=>{c()});const d=i=>{r.push({path:"/student-leave",query:{id:i.id,type:"end"}})};return()=>{let i;return e(L,{modelValue:a.value,onRefresh:()=>{a.value=!0,c()},style:"min-height: calc(100vh - var(--van-tabs-line-height) - var(--header-height) - 1.33333rem);"},{default:()=>[e(T,{loading:l.value,"loading-text":" ",finished:s.value,"finished-text":" ",onLoad:c},{default:()=>[e(R,{name:"van-fade"},X(i=t.value.map((n,h)=>e("div",{key:`index-${h}`,onClick:()=>d(n)},[e(F,{item:n,type:"end"},null)])))?i:{default:()=>[i]})]}),!l.value&&!t.value.length&&e("div",{class:"emptyFixedHeightContainer"},[e(x,{tips:"\u6682\u65E0\u5BA1\u6279"},null)])]})}}});function Z(r){return typeof r=="function"||Object.prototype.toString.call(r)==="[object Object]"&&!H(r)}var J=y({name:"wait-approval",setup(r,{emit:u}){const a=Q(),l=k({page:1,rows:1e3}),s=p(!1),t=p(!1),c=p(!1),d=p([]),i=async()=>{var h;if(!t.value){t.value=!0,s.value&&(c.value=!1,l.page=1,d.value=[]);try{const m=await C.post("/api-school/userApproveRecord/page",{data:{...l,hasHandle:!1}});Array.isArray((h=m==null?void 0:m.data)==null?void 0:h.rows)?(l.page=m.data.current+1,d.value=d.value.concat(m.data.rows||[]),c.value=!m.data.next,f.approval=d.value.length):c.value=!1}catch{c.value=!0}t.value=!1,s.value=!1}},n=h=>{a.push({path:"/student-leave",query:{id:h.id,type:"doing"}})};return w(()=>{i()}),()=>{let h;return e(L,{modelValue:s.value,onRefresh:()=>{s.value=!0,i()},style:"min-height: calc(100vh - var(--van-tabs-line-height) - var(--header-height) - 1.33333rem);"},{default:()=>[e(T,{loading:t.value,finished:c.value,"finished-text":" ","loading-text":" ",onLoad:i},{default:()=>[e(R,{name:"van-fade"},Z(h=d.value.map((m,N)=>e("div",{key:`index-${N}`,onClick:()=>{n(m)}},[e(F,{item:m,type:"wait"},null)])))?h:{default:()=>[h]})]}),!t.value&&!d.value.length&&e("div",{class:"emptyFixedHeightContainer"},[e(x,{tips:"\u6682\u65E0\u5BA1\u6279"},null)])]})}}}),$=y({name:"MyApproval",setup(r,u){const a=B(()=>[{name:"\u5F85\u5BA1\u6279",selected:l.value=="\u5F85\u5BA1\u6279"},{name:"\u5DF2\u5B8C\u6210",selected:l.value=="\u5DF2\u5B8C\u6210"}]),l=p("\u5F85\u5BA1\u6279"),s=p(!1);return()=>e("div",{class:o.MyApproval},[e("div",{class:"searchGroup-single"},[e("span",{class:["searchItem",s.value&&"searchItem-active"],onClick:()=>s.value=!0},[l.value])]),e(V,{show:s.value,"onUpdate:show":t=>s.value=t,teleport:"body",actions:a.value,onSelect:t=>{a.value.forEach(c=>{c.selected=!1}),l.value=t.name||"\u5F85\u5BA1\u6279",s.value=!1,t.selected=!0}},null),l.value=="\u5F85\u5BA1\u6279"?e(J,null,null):e(I,null,null)])}}),_="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAYAAADhAJiYAAAAAXNSR0IArs4c6QAABmlJREFUWEelmFtsFVUUhr/di0gUUFFR1KhYxEbjJWLigy8a33hANBgNWhCwXoMmUpRLoGBrCUV5MBolxngBLxgFTL0kJD7wICHBF2MEjI2oWBBbwBZR6TmzzJq998yeywGrk8w5k3NmZv97rX/9/9rbUHLIq62NHOYOxExHZCrIRETGxLeKuCcE/KVexNfBd+ZewDBEJH0gu8Bs5eDoLWb9+uH88Cb/g3Q9PIMo6ga5IvmvAKIGmBBE8kzZJBS99GJMm1m1cXOIIQEk7e11jDqwGmQhESaZvn9xYQAXnlNFpvB8JooCZi0Nk58x7e2RAksBdT20BpG2TFrCl+md8SNRmp5CivxcS8Dq83lwfjKGbtPx7qIEUJwmog9LI+MHjV8mEOkM3bV/oaOPReoiUCCDp54HmxBQ3ycY7jKd7202MYH7zW6ILGcygwQPi0ZGAem3u67FLQ/GGNAzTYRFVRgj/qGX/nHNRrpaZyJsKoYznElkIxNVoVq136eNgnHj4fAhOPGXHaQOGH+hHXHgkB28rs6eCipOW/wRVGsQuTruNvLcQxuQaFYpd/yDGhU9q8Nw5jiYNhuuudnOfvgE7Pgcfv4eprXAWefaEY72wydvwtc7oK7egoqjVSYPPmxmo5HO1j0gUwoRCrkTR6YCp4+Gx1ang+Y1o6AhAu+sg6+/TEFl7snrF3uNdD44mIhemcDF0alCpQK3z4Rb7zwVjOz/RwegqxVMGKVQx3z1xRQZMtIx35KlTGf0NyVwNYLKCZi/HCZdPTJAenfngzB0xEYpQ/C8soMFpAM7rmXk31dVnLJhuK8NmqeODJBGeNk9tijMSXjkgmKkY55kfciTzlWZT5ly6P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LA9xyPY9J6aW9cuoY31ENe8FYyOok9uAzjMWPtraBWBucyfrE7e7+TbQsl3A6In2WUahVZlDxtsi2rcog0IWimoDoO9OQ334lmzAgm1E+h7HsARFAENNng1atjMC2lspK76b7i4PMVDDwmDpcFlaPFR73Cuk2t4Auj63v/3eJvge7hj9/trZikAvHgfyRohClUHukbCZLQYD7V0gS0foIQtGARDaT0Cd2Q0MSuXiN1q+YIh2g36tlGtTHwIlNwUhq5D9kPjI7n3SgMLV3hibgU5kn4eybWk8VB7Lzg7G5qH6kihkfhsiQBXNQN7IbLvKrl13B1RjLYcjUsnvsw1Q8WXooCr1GzSAHt8ATH8ku46ybfXtSahTWyS8qbi5wRu0PcWdIJrhd4xOJW475nbQop3ATQXZdvf/7a70Qu2vBf447z3j85GtXs4p2vNsIzSVmQtuL22g5J4xRaD7ksCEqUBOXrxDV4MNhzvYD/DG7IsDFsat7mLkyENoYqAktG4eUgya8odDLTPF/fY5JqhefdHncpDLnLFiMFDFFZUu/8joEzmltlDM/bUDKXm5EKtSXaEYFZhR0nNALitL5161oIr1pvVFYfTCgtUyeY26MHbyHJtn6+YvhNJHbCkdjNKpYspngfP1eqBQevnsEqdPkNGOMAqPK63NNUIisQRTp7daICKFuie3AlgTVa9hnS6ectWpUVFFr2N8fS9qhVWsr+fD2l5Uccop7MDc4vWYBx0tkZTMQV3vZkCvNkqZbOvefEhV69ULFs+wtvfLR9pgPKBUGc4WiqsF7MLIwg0oLBhEsjkEklczdU8shE5tgYa8sAqhnBmDBTSE8OF0QBIqNxBzXdYVhS5o/QoeLjmKS2eJYXiYsTdoJnT8+eCpPJwfKAHxKz08AOhJ0BgdV8zBpasRzrSgDcwrvW5Afw2VcxxjJrVhXH4/krMIeN24kF9Y/QeMJj8folF2rAAAAABJRU5ErkJggg==",te=y({name:"approval-manage-agency",setup(){const r=Q(),u=p(!0),a=k({salaryRecordList:[],schoolWeekPhoto:{expectPhotoNum:0,endDate:"",startDate:"",photoNum:0},schoolWeekNews:{newsNum:0,endDate:"",startDate:"",expectNewsNum:0}}),l=p(!1),s=async()=>{var t,c,d,i,n,h,m,N,j,W,S;u.value=!0,l.value&&(a.salaryRecordList=[],a.schoolWeekPhoto={},a.schoolWeekNews={});try{const A=await C.post(`${U.platformApi}/schoolWeekSalaryRecord/manage`,{});Array.isArray((t=A==null?void 0:A.data)==null?void 0:t.salaryRecordList)&&(a.salaryRecordList=A.data.salaryRecordList.map(v=>{var Y,b;return{...v,startDate:((Y=v==null?void 0:v.startDate)==null?void 0:Y.split(" ")[0])||"",endDate:((b=v==null?void 0:v.endDate)==null?void 0:b.split(" ")[0])||""}}),f.agencty=a.salaryRecordList.length),a.schoolWeekPhoto=((c=A==null?void 0:A.data)==null?void 0:c.schoolWeekPhoto)||{},a.schoolWeekNews=((d=A==null?void 0:A.data)==null?void 0:d.schoolWeekNews)||{},a.schoolWeekPhoto&&(a.schoolWeekPhoto.startDate=((n=(i=a.schoolWeekPhoto)==null?void 0:i.startDate)==null?void 0:n.split(" ")[0])||"",a.schoolWeekPhoto.endDate=((m=(h=a.schoolWeekPhoto)==null?void 0:h.endDate)==null?void 0:m.split(" ")[0])||""),a.schoolWeekNews&&(a.schoolWeekNews.startDate=((j=(N=a.schoolWeekNews)==null?void 0:N.startDate)==null?void 0:j.split(" ")[0])||"",a.schoolWeekNews.endDate=((S=(W=a.schoolWeekNews)==null?void 0:W.endDate)==null?void 0:S.split(" ")[0])||"")}catch{}u.value=!1,l.value=!1};return w(()=>{s()}),()=>e(L,{modelValue:l.value,onRefresh:()=>{l.value=!0,s()}},{default:()=>[e("div",{class:o.wrap,style:"min-height: calc(100vh - var(--van-nav-bar-height) - var(--header-height))"},[e(R,{name:"van-fade"},{default:()=>[!!a.salaryRecordList.length&&e("div",{key:"salaryRecordList"},[a.salaryRecordList.map(t=>e("div",{class:o.item,style:{marginTop:0}},[e(D,{center:!0,label:`${t.startDate} \u81F3 ${t.endDate}`,isLink:!0,to:"/approval-manage-subsidy?display=1&salaryId="+(t.id||"")},{title:()=>e("div",{class:o.itemTitle},[e("img",{class:o.titleIcon,src:_},null),e("span",null,[g("\u8865\u52A9\u786E\u8BA4")])])}),e(q,{class:o.grid,columnNum:2,border:!1},{default:()=>[e(E,null,{default:()=>[e("div",{class:o.gridItem},[e("div",{class:o.gridItemTop},[e("span",{class:o.topNum},[P(t.manageSalary||0)]),g("\u5143")]),e("div",null,[g("\u7BA1\u7406\u8865\u52A9")])])]}),e(E,null,{default:()=>[e("div",{class:o.gridItem},[e("div",{class:o.gridItemTop},[e("span",{class:o.topNum},[P(t.courseSalary||0)]),g("\u5143")]),e("div",null,[g("\u8BAD\u7EC3\u8865\u52A9")])])]})]})]))]),a.schoolWeekPhoto.expectPhotoNum?e("div",{key:"schoolWeekPhoto",class:o.item,onClick:()=>{r.push({path:"/school-photo"})}},[e(D,{style:{"--van-cell-value-color":"#333"},center:!0,label:`${a.schoolWeekPhoto.startDate} \u81F3 ${a.schoolWeekPhoto.endDate}`,valueClass:o.agencyNumber,value:a.schoolWeekPhoto.photoNum+"/"+a.schoolWeekPhoto.expectPhotoNum,isLink:!0},{title:()=>e("div",{class:o.itemTitle},[e("img",{class:o.titleIcon,src:ee},null),e("span",null,[g("\u8BAD\u7EC3\u7167\u7247")])])})]):null,a.schoolWeekNews.expectNewsNum?e("div",{key:"schoolWeekNews",class:o.item,onClick:()=>{r.push({path:"/orchestra-information"})}},[e(D,{style:{"--van-cell-value-color":"#333"},center:!0,label:`${a.schoolWeekNews.startDate} \u81F3 ${a.schoolWeekNews.endDate}`,valueClass:[o.agencyNumber,a.schoolWeekNews.newsNum>=a.schoolWeekNews.expectNewsNum&&o.valueColor],value:a.schoolWeekNews.newsNum+"/"+a.schoolWeekNews.expectNewsNum,isLink:!0},{title:()=>e("div",{class:o.itemTitle},[e("img",{class:o.titleIcon,src:ae},null),e("span",null,[g("\u4E50\u56E2\u8D44\u8BAF")])])})]):null,!u.value&&!a.salaryRecordList.length&&!a.schoolWeekPhoto.expectPhotoNum&&!a.schoolWeekNews.expectNewsNum?e(x,{key:"OEmpty",class:"emptyFixedHeightContainer",tips:"\u6682\u65E0\u5904\u7406\u4E8B\u9879"},null):null]})])]})}});const K=p("wait"),f=k({agencty:0,approval:0});var Qe=y({name:"approval-manage",setup(){Q();const r=p(0);return()=>e("div",null,[e(M,{onGetHeight:u=>{r.value=u,document.documentElement.style.setProperty("--header-height",u+"px")}},{default:()=>[e(O,{border:!1},null)]}),e(z,{active:K.value,"onUpdate:active":u=>K.value=u,class:o.approvalTab,animated:!0,sticky:!0,offsetTop:r.value,swipeable:!0,titleActiveColor:"var(--van-primary)"},{default:()=>{var u,a;return[((a=(u=U.user)==null?void 0:u.data)==null?void 0:a.manageAdmin)&&e(G,{name:"wait",title:`\u5904\u7406\u4E8B\u9879${f.agencty?" ("+f.agencty+")":""}`},{default:()=>[e(te,null,null)]}),e(G,{name:"end",title:`\u6211\u7684\u5BA1\u6279${f.approval?" ("+f.approval+")":""}`},{default:()=>[e($,null,null)]})]}})])}});export{f as approvalManageStrips,Qe as default};