数通互联化工云平台
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2 lines
2.2 KiB

4 months ago
import{_ as U}from"./index-c5018719.js";import{d as F,r as s,ax as I,G as V,a as p,f as h,e as o,b as n,F as z,g as q,h as t,c as C,q as c,H as u,t as m,j as A,I as T,$ as D,hd as M,aF as R,ab as S,aA as W,aw as $,av as G,_ as H}from"./index-e450010e.js";import P from"./taskcustomerformnew-f1ed64ed.js";/* empty css *//* empty css */const J={class:"jianju",style:{width:"100%"}},K={class:"jianju",style:{width:"100%"}},O={class:"jianju",style:{width:"100%"}},Q={class:"taskButton"},X={class:"pageCont"},Y=F({__name:"newaddflow",setup(Z){const v=s(!1),r=I({page:1,pagesize:16,status:1,type:2}),d=s(0),g=s(),_=s(!1),f=()=>{v.value=!0,M(r).then(({data:l})=>{l!=null&&(g.value=l.list,d.value=l.total)}).finally(()=>{v.value=!1})},w=s(null),y=s(),k=s(),x=s(0),b=(l,a)=>{var i;x.value=(i=w.value)==null?void 0:i.clientWidth,y.value=l,k.value=a,_.value=!0};return V(()=>{f()}),(l,a)=>{const i=R,j=S,B=W,E=$,N=G,L=U;return p(),h("div",{ref_key:"contbody",ref:w,class:"app_body"},[o(N,{gutter:30},{default:n(()=>[(p(!0),h(z,null,q(t(g),e=>(p(),C(E,{key:e.id,xs:24,sm:12,md:12,lg:8,xl:6},{default:n(()=>[o(B,{style:{"margin-top":"15px",height:"200px"}},{default:n(()=>[c("div",J,[o(i,{class:"mx-1"},{default:n(()=>[u(m(e.name),1)]),_:2},1024)]),c("div",K,[o(i,{class:"mx-1"},{default:n(()=>[u("设计者:"+m(e.createrName)+"("+m(e.createrNumber)+")",1)]),_:2},1024)]),c("div",O,[o(i,{class:"mx-1"},{default:n(()=>[u("发布时间:"+m(e.createrTame),1)]),_:2},1024)]),c("div",Q,[o(j,{type:"primary",onClick:A(ee=>b(e.id,e.name),["stop"])},{default:n(()=>[u("创建流程")]),_:2},1032,["onClick"])])]),_:2},1024)]),_:2},1024))),128))]),_:1}),c("div",X,[t(d)>0?(p(),C(L,{key:0,total:t(d),"onUpdate:total":a[0]||(a[0]=e=>T(d)?d.value=e:null),page:t(r).page,"onUpdate:page":a[1]||(a[1]=e=>t(r).page=e),limit:t(r).pagesize,"onUpdate:limit":a[2]||(a[2]=e=>t(r).pagesize=e),align:"center",onPagination:f},null,8,["total","page","limit"])):D("",!0)]),o(P,{isopen:t(_),"onUpdate:isopen":a[3]||(a[3]=e=>T(_)?_.value=e:null),versionid:t(y),versiontitle:t(k),drawerwith:t(x),onSearchquery:f},null,8,["isopen","versionid","versiontitle","drawerwith"])],512)}}});const le=H(Y,[["__scopeId","data-v-86759ecd"]]);export{le as default};