/* empty css                 *//* empty css                   *//* empty css                      *//* empty css               *//* empty css                  *//* empty css                  */import{d as z,r as s,v,b as x,a9 as h,n as N,c as C,k as E,u as a,a as B,z as S,e as t,aj as T,j as D,J as V,o as f,w as r,ak as L,V as U,D as j,G as p,g as F,h as G,t as b}from"./index-rw6aq_SD.js";const R={key:0,style:{left:"220px",top:"60px",bottom:"0",right:"0",position:"absolute",overflow:"auto"}},I={class:"work_form__main"},Y=z({__name:"Work_Form__Flow",setup(M){const d=s([]),l=s(1),n=s(20),c=s(1),_=s(!1);v(l,u),v(n,u);const m=x();h(()=>{var o;((o=m.user_info)==null?void 0:o.orgType)!=="0"&&u()});async function u(){_.value=!0;var o=await N({baseURL:window.__SYSTEM_CONFIG__.instanceHostAddress,url:"cn.zhixl.workbench/my_create_list_ds.svc",method:"post",data:{page:l.value,pageSize:n.value}});c.value=o.total,d.value=o.data,_.value=!1}return(o,i)=>{var g;const w=U("RouterLink"),y=V,k=T;return((g=a(m).user_info)==null?void 0:g.orgType)!=="0"?(f(),C("div",R,[B("div",I,[S((f(),D(a(L),{style:{"border-radius":"16px","margin-bottom":"16px"}},{default:r(()=>[t(a(j),{data:d.value,size:"large","header-row-style":{color:"#000"}},{default:r(()=>[t(a(p),{label:"标题"},{default:r(e=>[t(w,{to:e.row.route+"?id="+e.row.flowId},{default:r(()=>[t(a(F),{link:"",type:"primary",size:"large"},{default:r(()=>[G(" ["+b(e.row.typeName)+"] "+b(e.row.subject),1)]),_:2},1024)]),_:2},1032,["to"])]),_:1}),t(a(p),{prop:"createUserName",label:"接收人"}),t(a(p),{prop:"typeName",label:"类型"}),t(a(p),{prop:"createDate",label:"接收时间"})]),_:1},8,["data"])]),_:1})),[[k,_.value]]),t(y,{class:"work_form__pagination","current-page":l.value,"onUpdate:currentPage":i[0]||(i[0]=e=>l.value=e),"page-size":n.value,"onUpdate:pageSize":i[1]||(i[1]=e=>n.value=e),size:"large","page-sizes":[10,20,30,40],small:"small",layout:"prev, pager, next, sizes",total:c.value},null,8,["current-page","page-size","total"])])])):E("",!0)}}});export{Y as default};
