1 |
- import{d as z,u as B,r as _,e as H,l as Y,o as w,c as E,f as a,w as t,a as e,R as F,n as c,x as M,v as q,F as A,V as G,A as K,B as L,j as O,C as j,D as W,G as X,H as J,I as Q,_ as Z,__tla as $}from"./index-11e4820e.js";import{_ as aa,__tla as ea}from"./index-c8f58bd0.js";import{_ as ta,__tla as la}from"./DictTag-e41ec8de.js";import{_ as ra,__tla as na}from"./ContentWrap-694014d4.js";import{D as sa,__tla as oa}from"./dict-4072dcec.js";import{d as _a,__tla as pa}from"./formatTime-f6a2c881.js";import{h as ia,__tla as ca}from"./index-e62bbf09.js";import ma,{__tla as ua}from"./TaskDetail-3799db1f.js";import{__tla as da}from"./index-dd73c59d.js";import"./color-6e929987.js";import{__tla as fa}from"./ContentWrap.vue_vue_type_script_setup_true_lang-11f85821.js";import{__tla as ya}from"./el-card-919c14be.js";import{__tla as ha}from"./Dialog-bbfaf85c.js";import{__tla as ga}from"./el-descriptions-item-4246212b.js";let x,va=Promise.all([(()=>{try{return $}catch{}})(),(()=>{try{return ea}catch{}})(),(()=>{try{return la}catch{}})(),(()=>{try{return na}catch{}})(),(()=>{try{return oa}catch{}})(),(()=>{try{return pa}catch{}})(),(()=>{try{return ca}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{}})()]).then(async()=>{x=Z(z({name:"BpmTodoTask",__name:"index",setup(ba){const{push:C}=B(),m=_(!0),y=_(0),h=_([]),r=H({pageNo:1,pageSize:10,name:"",createTime:[]}),g=_(),p=async()=>{m.value=!0;try{const d=await ia(r);h.value=d.list,y.value=d.total}finally{m.value=!1}},u=()=>{r.pageNo=1,p()},T=()=>{g.value.resetFields(),u()},v=_();return Y(()=>{p()}),(d,n)=>{const D=G,f=K,S=L,b=O,i=j,U=W,k=ra,s=X,I=ta,N=J,V=aa,R=Q;return w(),E(A,null,[a(k,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(D,{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:F(u,["enter"])},null,8,["modelValue"])]),_: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(i,{onClick:u},{default:t(()=>[a(b,{class:"mr-5px",icon:"ep:search"}),c(" \u641C\u7D22 ")]),_:1}),a(i,{onClick:T},{default:t(()=>[a(b,{class:"mr-5px",icon:"ep:refresh"}),c(" \u91CD\u7F6E ")]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),a(k,null,{default:t(()=>[M((w(),q(N,{data:e(h)},{default:t(()=>[a(s,{align:"center",label:"\u4EFB\u52A1\u7F16\u53F7",prop:"id",width:"300px"}),a(s,{align:"center",label:"\u4EFB\u52A1\u540D\u79F0",prop:"name"}),a(s,{align:"center",label:"\u6240\u5C5E\u6D41\u7A0B",prop:"processInstance.name"}),a(s,{align:"center",label:"\u6D41\u7A0B\u53D1\u8D77\u4EBA",prop:"processInstance.startUserNickname"}),a(s,{align:"center",label:"\u72B6\u6001",prop:"result"},{default:t(l=>[a(I,{type:e(sa).BPM_PROCESS_INSTANCE_RESULT,value:l.row.result},null,8,["type","value"])]),_:1}),a(s,{align:"center",label:"\u539F\u56E0",prop:"reason"}),a(s,{formatter:e(_a),align:"center",label:"\u521B\u5EFA\u65F6\u95F4",prop:"createTime",width:"180"},null,8,["formatter"]),a(s,{align:"center",label:"\u64CD\u4F5C"},{default:t(l=>[a(i,{link:"",type:"primary",onClick:P=>{return o=l.row,void v.value.open(o);var o}},{default:t(()=>[c("\u8BE6\u60C5")]),_:2},1032,["onClick"]),a(i,{link:"",type:"primary",onClick:P=>{return o=l.row,void C({name:"BpmProcessInstanceDetail",query:{id:o.processInstance.id}});var o}},{default:t(()=>[c("\u6D41\u7A0B")]),_:2},1032,["onClick"])]),_:1})]),_:1},8,["data"])),[[R,e(m)]]),a(V,{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:p},null,8,["limit","page","total"])]),_:1}),a(ma,{ref_key:"detailRef",ref:v,onSuccess:p},null,512)],64)}}}),[["__file","/Users/RuHu.Xu/Desktop/mall-newfeifan-zx-admin/src/views/bpm/task/done/index.vue"]])});export{va as __tla,x as default};
|