All Downloads are FREE. Search and download functionalities are using the official Maven repository.

static.assets.HistoryMessage.888b5d58.js Maven / Gradle / Ivy

The newest version!
/* empty css             *//* empty css                *//* empty css                       *//* empty css                *//* empty css               */import{i as w,m as s,n as c,p as k,r as C,s as E,o as n,b as d,d as h,e as a,w as l,F as m,y as T,f as N,B as _,D as M,H as V,I as q,J as H,N as z}from"./index.1adb7942.js";const A={class:"queue-table"},O=w({__name:"HistoryMessage",setup(I){const{proxy:b}=M(),o=s(!1);let r=s({});const g=(u,e)=>{r.value=JSON.parse(e.body),o.value=!0},f=c([{prop:"id",label:"\u6D88\u606Fid"},{prop:"queue",label:"\u961F\u5217"},{prop:"virtualQueueName",label:"\u865A\u62DF\u961F\u5217"},{prop:"key",label:"\u6D88\u606Fkey"},{prop:"tag",label:"\u6D88\u606F\u6807\u7B7E"},{prop:"createTime",label:"\u521B\u5EFA\u65F6\u95F4"},{prop:"updateTime",label:"\u66F4\u65B0\u65F6\u95F4"},{prop:"offset",label:"\u504F\u79FB\u91CF"},{prop:"executeScope",label:"\u6267\u884C\u7684\u5206\u6570"},{prop:"status",label:"\u6D88\u8D39\u72B6\u6001"}]);let p=s([{id:""},{queue:""},{virtualQueueName:""},{key:""},{tag:""},{createTime:""},{updateTime:""},{offset:1},{executeScope:1},{status:1}]);const y=c({page:1,size:10,total:0,keyword:"",beginTime:null,endTime:null});k(()=>{F(y)});const F=async u=>{let e=await b.$api.mq.historyMessagePage(u);console.log("\u8FD4\u56DE\u7684\u7ED3\u679C\uFF1A"+e.list),p.value=e.list};return(u,e)=>{const i=V,x=q,v=H,D=C("json-viewer"),B=E;return n(),d(m,null,[h("div",A,[a(v,{data:_(p),style:{width:"100%"},height:"700px",border:"","header-cell-style":{background:"#fff !important",color:"#000 !important","text-align":"center","font-size":"15px","font-weight":"700"},"row-cell-style":{"text-align":"center"},"cell-style":{"text-align":"center"}},{default:l(()=>[(n(!0),d(m,null,T(f,t=>(n(),z(i,{key:t.prop,label:t.label,prop:t.prop},null,8,["label","prop"]))),128)),a(i,{fixed:"right",width:"150px"},{default:l(t=>[a(x,{size:"small",color:"#009688",onClick:S=>g(t.$index,t.row)},{default:l(()=>e[1]||(e[1]=[N("\u67E5\u770B")])),_:2},1032,["onClick"])]),_:1})]),_:1},8,["data"])]),a(B,{modelValue:o.value,"onUpdate:modelValue":e[0]||(e[0]=t=>o.value=t),width:"80%",title:"\u6D88\u606F\u8BE6\u60C5","append-to-body":""},{default:l(()=>[a(D,{value:_(r),"expand-depth":5,copyable:"",boxed:"",sort:"",class:"w-100%"},null,8,["value"])]),_:1},8,["modelValue"])],64)}}});export{O as default};




© 2015 - 2025 Weber Informatics LLC | Privacy Policy