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

static.assets.ConsumerGroup.8b4830ad.js Maven / Gradle / Ivy

The newest version!
/* empty css             *//* empty css                       *//* empty css                *//* empty css               */import{e as x}from"./message.069571be.js";import{i as b,m as C,n as i,p as F,o as a,b as p,e as n,w as l,F as y,y as D,f as h,B,D as v,G as E,H as w,I as k,J as G,N as T}from"./index.1adb7942.js";const I={class:"queue-table"},V=b({__name:"ConsumerGroup",setup(L){const{proxy:r}=v();let u=C([{groupId:""}]);const d=i([{prop:"groupId",label:"\u6D88\u8D39\u8005\u7EC4"}]);i({page:1,size:10,total:0});const m=(t,o)=>{E.confirm("
\u5C06\u540C\u65F6\u5220\u9664\u7EC4\u5185\u6240\u6709\u6D88\u606F \u53EF\u80FD\u5BFC\u81F4redis\u8017\u65F6!
\u662F\u5426\u786E\u8BA4\u5220\u9664\uFF1F
",{confirmButtonText:"\u786E\u5B9A",cancelButtonText:"\u53D6\u6D88",dangerouslyUseHTMLString:!0}).then(()=>{_(o),x.success()}).catch(()=>{})},_=async t=>{await r.$api.mq.consumerGroupDelete(t.groupId),s()};F(()=>{s()});const s=async()=>{let t=await r.$api.mq.consumerGroupList();u.value=t,console.log(u)};return(t,o)=>{const c=w,g=k,f=G;return a(),p("div",I,[n(f,{data:B(u),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(()=>[(a(!0),p(y,null,D(d,e=>(a(),T(c,{key:e.prop,label:e.label,prop:e.prop},null,8,["label","prop"]))),128)),n(c,{fixed:"right",width:"150px",label:"\u64CD\u4F5C"},{default:l(e=>[n(g,{type:"danger",size:"small",onClick:M=>m(e.$index,e.row)},{default:l(()=>o[0]||(o[0]=[h("\u5220\u9664")])),_:2},1032,["onClick"])]),_:1})]),_:1},8,["data"])])}}});export{V as default};




© 2015 - 2025 Weber Informatics LLC | Privacy Policy