import{_ as a}from"./index105.js?v=1761009159";import{_ as s}from"./index114.js?v=1761009159";import{u as t,P as o,W as i,l as r}from"./utils-lib.js?v=1761009159";import{i as e}from"./useMethod6.js?v=1761009159";import{ai as p}from"./firewall.js?v=1761009159";import{c as m,V as l,r as n,b7 as u,q as d,H as c,v as j,N as f,B as g,I as _,y as h,e as x,K as b}from"./base-lib.js?v=1761009159";import"./__commonjsHelpers__.js?v=1761009159";import"./column.js?v=1761009159";import"./index106.js?v=1761009159";import"./useStore5.js?v=1761009159";import"./validator.js?v=1761009159";const w=m({__name:"index",props:{compData:{default:()=>({isPopup:!1})}},setup(m){const w=m;t();const y=l(!1),P=n([]),q=n(0),v=n(w.compData.isPopup),D=e(),H=u({p:1,limit:20}),U=async()=>{await o({loading:y,request:p({...H}),data:{data:[Array,P],page:i(q)}})};return d(U),(t,o)=>{const i=r,e=s,p=a,m=c("bt-loading");return j(),f(p,{class:b({"p-[2rem]":h(v)})},{content:g(()=>[_(x(i,{ref:"table",column:h(D),data:h(P),description:"风险列表为空","max-height":h(v)?500:null},null,8,["column","data","max-height"]),[[m,h(y)],[m,"正在加载风险列表，请稍后...","title"]])]),"footer-right":g(()=>[x(e,{total:h(q),page:h(H).p,"onUpdate:page":o[0]||(o[0]=a=>h(H).p=a),row:h(H).limit,"onUpdate:row":o[1]||(o[1]=a=>h(H).limit=a),onChange:U},null,8,["total","page","row"])]),_:1},8,["class"])}}});export{w as default};
