1 |
- import{d as B,u as H,r as i,f as P,l as M,o as c,c as G,g as a,w as t,a as r,S as J,n as s,y as K,x as h,Q as D,F as Q,W as R,B as W,C as j,q as A,D as O,G as E,H as L,am as X,I as Z,J as $,_ as aa,__tla as ta}from"./index-3fb48822.js";import{_ as ea,__tla as ra}from"./index-5771c6d6.js";import{_ as la,__tla as _a}from"./ContentWrap-afa47a64.js";import{d as na,__tla as sa}from"./formatTime-1803573a.js";import{i as oa,__tla as ia}from"./index-23e2bf51.js";import ma,{__tla as ca}from"./TaskCCDialogForm-8b94b30e.js";import{__tla as pa}from"./index-cf9cdfb4.js";import{__tla as ua}from"./el-card-8960fd94.js";import{__tla as da}from"./Dialog-7d4425a0.js";import{__tla as fa}from"./el-tree-select-60925c12.js";import{__tla as ya}from"./dict-51415be4.js";import"./tree-0af4953a.js";import{__tla as ha}from"./index-8774ccdd.js";import{__tla as ga}from"./index-5f8fbbc2.js";import{__tla as ka}from"./index-61bf3160.js";import{__tla as wa}from"./index-3acbc6ed.js";import{__tla as ba}from"./index-c00dcc25.js";import{__tla as va}from"./index-b622950e.js";import{__tla as xa}from"./useMessage-b6c78c26.js";let S,Ca=Promise.all([(()=>{try{return ta}catch{}})(),(()=>{try{return ra}catch{}})(),(()=>{try{return _a}catch{}})(),(()=>{try{return sa}catch{}})(),(()=>{try{return ia}catch{}})(),(()=>{try{return ca}catch{}})(),(()=>{try{return pa}catch{}})(),(()=>{try{return ua}catch{}})(),(()=>{try{return da}catch{}})(),(()=>{try{return fa}catch{}})(),(()=>{try{return ya}catch{}})(),(()=>{try{return ha}catch{}})(),(()=>{try{return ga}catch{}})(),(()=>{try{return ka}catch{}})(),(()=>{try{return wa}catch{}})(),(()=>{try{return ba}catch{}})(),(()=>{try{return va}catch{}})(),(()=>{try{return xa}catch{}})()]).then(async()=>{S=aa(B({name:"BpmDoneTask",__name:"index",setup(Da){const{push:V}=H(),p=i(!0),g=i(0),k=i([]),l=P({pageNo:1,pageSize:10,name:"",createTime:[]}),w=i(),u=async()=>{p.value=!0;try{const f=await oa(l);k.value=f.list,g.value=f.total}finally{p.value=!1}},d=()=>{l.pageNo=1,u()},I=()=>{w.value.resetFields(),d()},b=i();return M(()=>{u()}),(f,_)=>{const T=R,y=W,z=j,v=A,m=O,N=E,x=la,n=L,C=X,U=Z,F=ea,Y=$;return c(),G(Q,null,[a(x,null,{default:t(()=>[a(N,{ref_key:"queryFormRef",ref:w,inline:!0,model:r(l),class:"-mb-15px","label-width":"68px"},{default:t(()=>[a(y,{label:"\u4EFB\u52A1\u540D\u79F0",prop:"name"},{default:t(()=>[a(T,{modelValue:r(l).name,"onUpdate:modelValue":_[0]||(_[0]=e=>r(l).name=e),class:"!w-240px",clearable:"",placeholder:"\u8BF7\u8F93\u5165\u4EFB\u52A1\u540D\u79F0",onKeyup:J(d,["enter"])},null,8,["modelValue"])]),_:1}),a(y,{label:"\u521B\u5EFA\u65F6\u95F4",prop:"createTime"},{default:t(()=>[a(z,{modelValue:r(l).createTime,"onUpdate:modelValue":_[1]||(_[1]=e=>r(l).createTime=e),"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(y,null,{default:t(()=>[a(m,{onClick:d},{default:t(()=>[a(v,{class:"mr-5px",icon:"ep:search"}),s(" \u641C\u7D22 ")]),_:1}),a(m,{onClick:I},{default:t(()=>[a(v,{class:"mr-5px",icon:"ep:refresh"}),s(" \u91CD\u7F6E ")]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),a(x,null,{default:t(()=>[K((c(),h(U,{data:r(k)},{default:t(()=>[a(n,{align:"center",label:"\u4EFB\u52A1\u7F16\u53F7",prop:"id",width:"300px"}),a(n,{align:"center",label:"\u4EFB\u52A1\u540D\u79F0",prop:"name"}),a(n,{align:"center",label:"\u6240\u5C5E\u6D41\u7A0B",prop:"processInstance.name"}),a(n,{align:"center",label:"\u6D41\u7A0B\u53D1\u8D77\u4EBA",prop:"processInstance.startUserNickname"}),a(n,{formatter:r(na),align:"center",label:"\u521B\u5EFA\u65F6\u95F4",prop:"createTime",width:"180"},null,8,["formatter"]),a(n,{label:"\u4EFB\u52A1\u72B6\u6001",prop:"suspensionState"},{default:t(e=>[e.row.suspensionState===1?(c(),h(C,{key:0,type:"success"},{default:t(()=>[s("\u6FC0\u6D3B")]),_:1})):D("",!0),e.row.suspensionState===2?(c(),h(C,{key:1,type:"warning"},{default:t(()=>[s("\u6302\u8D77")]),_:1})):D("",!0)]),_:1}),a(n,{align:"center",label:"\u64CD\u4F5C"},{default:t(e=>[a(m,{link:"",type:"primary",onClick:q=>{return o=e.row,void V({name:"BpmProcessInstanceDetail",query:{id:o.processInstance.id}});var o}},{default:t(()=>[s("\u5BA1\u6279\u8FDB\u5EA6")]),_:2},1032,["onClick"]),a(m,{link:"",type:"primary",onClick:q=>{return o=e.row,void b.value.open(o);var o}},{default:t(()=>[s("\u6284\u9001")]),_:2},1032,["onClick"])]),_:1})]),_:1},8,["data"])),[[Y,r(p)]]),a(F,{limit:r(l).pageSize,"onUpdate:limit":_[2]||(_[2]=e=>r(l).pageSize=e),page:r(l).pageNo,"onUpdate:page":_[3]||(_[3]=e=>r(l).pageNo=e),total:r(g),onPagination:u},null,8,["limit","page","total"]),a(ma,{ref_key:"taskCCDialogForm",ref:b},null,512)]),_:1})],64)}}}),[["__file","D:/zx/mall-newfeifan-zx-admin/src/views/bpm/task/todo/index.vue"]])});export{Ca as __tla,S as default};
|