import{d as E,u as H,r as _,f as M,B as R,o as k,c as Y,i as a,w as t,a as e,Q as z,j as c,C as F,l as K,F as q,U as A,H as L,I as O,v as j,J as G,K as J,L as Q,M as W,N as X,_ as Z,__tla as $}from"./index-2c56227b.js";import{_ as aa,__tla as ea}from"./index-8106be8e.js";import{_ as ta,__tla as la}from"./DictTag-cfe1898d.js";import{_ as ra,__tla as na}from"./ContentWrap-f1610353.js";import{D as oa,__tla as sa}from"./dict-763dd292.js";import{d as _a,__tla as ia}from"./formatTime-7f0ec2bf.js";import{h as pa,__tla as ca}from"./index-f96e4e1e.js";import ua,{__tla as ma}from"./TaskDetail-f365d46a.js";import{__tla as da}from"./index-d17bd909.js";import"./color-6e929987.js";import{__tla as fa}from"./el-card-9c148b4f.js";import{__tla as ya}from"./Dialog-1050d437.js";import{__tla as ha}from"./el-descriptions-item-1b67c432.js";let x,ga=Promise.all([(()=>{try{return $}catch{}})(),(()=>{try{return ea}catch{}})(),(()=>{try{return la}catch{}})(),(()=>{try{return na}catch{}})(),(()=>{try{return sa}catch{}})(),(()=>{try{return ia}catch{}})(),(()=>{try{return ca}catch{}})(),(()=>{try{return ma}catch{}})(),(()=>{try{return da}catch{}})(),(()=>{try{return fa}catch{}})(),(()=>{try{return ya}catch{}})(),(()=>{try{return ha}catch{}})()]).then(async()=>{x=Z(E({name:"BpmTodoTask",__name:"index",setup(va){const{push:T}=H(),u=_(!0),y=_(0),h=_([]),r=M({pageNo:1,pageSize:10,name:"",createTime:[]}),g=_(),i=async()=>{u.value=!0;try{const d=await pa(r);h.value=d.list,y.value=d.total}finally{u.value=!1}},m=()=>{r.pageNo=1,i()},C=()=>{g.value.resetFields(),m()},v=_();return R(()=>{i()}),(d,n)=>{const N=A,f=L,S=O,b=j,p=G,U=J,w=ra,o=Q,V=ta,D=W,I=aa,P=X;return k(),Y(q,null,[a(w,null,{default:t(()=>[a(U,{ref_key:"queryFormRef",ref:g,inline:!0,model:e(r),class:"-mb-15px","label-width":"68px"},{default:t(()=>[a(f,{label:"\u4EFB\u52A1\u540D\u79F0",prop:"name"},{default:t(()=>[a(N,{modelValue:e(r).name,"onUpdate:modelValue":n[0]||(n[0]=l=>e(r).name=l),class:"!w-240px",clearable:"",placeholder:"\u8BF7\u8F93\u5165\u4EFB\u52A1\u540D\u79F0",onKeyup:z(m,["enter"])},null,8,["modelValue","onKeyup"])]),_:1}),a(f,{label:"\u521B\u5EFA\u65F6\u95F4",prop:"createTime"},{default:t(()=>[a(S,{modelValue:e(r).createTime,"onUpdate:modelValue":n[1]||(n[1]=l=>e(r).createTime=l),"default-time":[new Date("1 00:00:00"),new Date("1 23:59:59")],class:"!w-240px","end-placeholder":"\u7ED3\u675F\u65E5\u671F","start-placeholder":"\u5F00\u59CB\u65E5\u671F",type:"daterange","value-format":"YYYY-MM-DD HH:mm:ss"},null,8,["modelValue","default-time"])]),_:1}),a(f,null,{default:t(()=>[a(p,{onClick:m},{default:t(()=>[a(b,{class:"mr-5px",icon:"ep:search"}),c(" \u641C\u7D22 ")]),_:1}),a(p,{onClick:C},{default:t(()=>[a(b,{class:"mr-5px",icon:"ep:refresh"}),c(" \u91CD\u7F6E ")]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),a(w,null,{default:t(()=>[F((k(),K(D,{data:e(h)},{default:t(()=>[a(o,{align:"center",label:"\u4EFB\u52A1\u7F16\u53F7",prop:"id",width:"300px"}),a(o,{align:"center",label:"\u4EFB\u52A1\u540D\u79F0",prop:"name"}),a(o,{align:"center",label:"\u6240\u5C5E\u6D41\u7A0B",prop:"processInstance.name"}),a(o,{align:"center",label:"\u6D41\u7A0B\u53D1\u8D77\u4EBA",prop:"processInstance.startUserNickname"}),a(o,{align:"center",label:"\u72B6\u6001",prop:"result"},{default:t(l=>[a(V,{type:e(oa).BPM_PROCESS_INSTANCE_RESULT,value:l.row.result},null,8,["type","value"])]),_:1}),a(o,{align:"center",label:"\u539F\u56E0",prop:"reason"}),a(o,{formatter:e(_a),align:"center",label:"\u521B\u5EFA\u65F6\u95F4",prop:"createTime",width:"180"},null,8,["formatter"]),a(o,{align:"center",label:"\u64CD\u4F5C"},{default:t(l=>[a(p,{link:"",type:"primary",onClick:B=>{return s=l.row,void v.value.open(s);var s}},{default:t(()=>[c("\u8BE6\u60C5")]),_:2},1032,["onClick"]),a(p,{link:"",type:"primary",onClick:B=>{return s=l.row,void T({name:"BpmProcessInstanceDetail",query:{id:s.processInstance.id}});var s}},{default:t(()=>[c("\u6D41\u7A0B")]),_:2},1032,["onClick"])]),_:1})]),_:1},8,["data"])),[[P,e(u)]]),a(I,{limit:e(r).pageSize,"onUpdate:limit":n[2]||(n[2]=l=>e(r).pageSize=l),page:e(r).pageNo,"onUpdate:page":n[3]||(n[3]=l=>e(r).pageNo=l),total:e(y),onPagination:i},null,8,["limit","page","total"])]),_:1}),a(ua,{ref_key:"detailRef",ref:v,onSuccess:i},null,512)],64)}}}),[["__file","E:/GAOHP_2023/mall/newfeifan-front/yudao-ui-admin-vue3/src/views/bpm/task/done/index.vue"]])});export{ga as __tla,x as default};
