import{d as F,f as s,u as n,U as r,a2 as v,a3 as k,k as t,af as o,a6 as G,ad as L,V as z,a5 as $,a4 as j,G as b}from"./vue-vendor-CxLCUzY4.js";import{ah as q}from"./antd-vue-vendor-CahNzUUa.js";import A from"./ChartGroupCard-BPK2NpIU.js";import H from"./BdcTabCard-DOVFBzUw.js";import{t as y,a as C}from"./data-BpJ37qIE.js";import{_ as J}from"./index-Cy4uayzW.js";import"./SingleLine-DspEHiQb.js";import"./useECharts-C5PCME_B.js";import"./useTimeout-gJpgadD6.js";import"./vxe-table-vendor-Cdi8WfTx.js";import"./echarts-3CSrakfu.js";import"./Bar-C2dAaQCo.js";import"./Gauge-Bvnx20RH.js";import"./QuickNav-pdTXTHiT.js";const M={class:"p-4"},O={class:"extra-wrapper"},Q={key:0,style:{color:"red"}},W=F({__name:"IndexBdc",setup(X){const i=s(!0);setTimeout(()=>{i.value=!1},500);const c=s("1"),l=s("转移登记"),x=s([]),S=s([]),p=s(y.ipagination),f=s(C.ipagination);function R(e){l.value=e.target.value,n(c)=="1"?m():_()}function T(e){p.value.current=e.current,p.value.pageSize=e.pageSize,m()}function I(e){f.value.current=e.current,f.value.pageSize=e.pageSize,_()}function K(e){return+e}function N(e){return e==100?"超时":e+"%"}function V(e){let a=+e;return a>=90&&a<100?"rgb(244, 240, 89)":a>=100?"red":"rgb(16, 142, 233)"}function m(){x.value=y.dataSource.filter(e=>n(l)?e.type==n(l):!0)}function _(){S.value=C.dataSource.filter(e=>n(l)?e.type==n(l):!0)}return m(),_(),(e,a)=>{const g=r("a-radio-button"),h=r("a-radio-group"),w=r("a-table"),B=r("a-tab-pane"),D=r("a-tabs"),P=r("a-card"),U=r("a-col"),E=r("a-row");return v(),k("div",M,[t(A,{class:"enter-y",loading:i.value,type:"bdc"},null,8,["loading"]),t(H,{class:"!my-4 enter-y",loading:i.value},null,8,["loading"]),t(E,null,{default:o(()=>[t(U,{span:24},{default:o(()=>[t(P,{loading:i.value,class:G({"anty-list-cust":!0}),bordered:!1},{default:o(()=>[t(D,{activeKey:c.value,"onUpdate:activeKey":a[1]||(a[1]=u=>c.value=u),size:"large","tab-bar-style":{marginBottom:"24px",paddingLeft:"16px"}},{rightExtra:o(()=>[j("div",O,[t(h,{value:l.value,"onUpdate:value":a[0]||(a[0]=u=>l.value=u),onChange:R},{default:o(()=>[t(g,{value:"转移登记"},{default:o(()=>a[2]||(a[2]=[b("转移登记")])),_:1}),t(g,{value:"抵押登记"},{default:o(()=>a[3]||(a[3]=[b("抵押登记")])),_:1}),t(g,{value:""},{default:o(()=>a[4]||(a[4]=[b("所有")])),_:1})]),_:1},8,["value"])])]),default:o(()=>[t(B,{tab:"业务流程限时监管",key:"1"},{default:o(()=>[t(w,{dataSource:x.value,size:"default",rowKey:"reBizCode",columns:n(y).columns,pagination:p.value,onChange:T},{bodyCell:o(({column:u,record:d})=>[u.dataIndex==="flowRate"?(v(),L(n(q),{key:0,strokeColor:V(d.flowRate),format:N,percent:K(d.flowRate),style:{width:"80px"}},null,8,["strokeColor","percent"])):z("",!0)]),_:1},8,["dataSource","columns","pagination"])]),_:1}),t(B,{loading:"true",tab:"业务节点限时监管",key:"2"},{default:o(()=>[t(w,{dataSource:S.value,size:"default",rowKey:"reBizCode",columns:n(C).columns,pagination:f.value,onChange:I},{bodyCell:o(({column:u,record:d})=>[u.dataIndex==="flowRate"?(v(),k("span",Q,$(d.flowRate)+"小时",1)):z("",!0)]),_:1},8,["dataSource","columns","pagination"])]),_:1})]),_:1},8,["activeKey"])]),_:1},8,["loading"])]),_:1})]),_:1})])}}}),pe=J(W,[["__scopeId","data-v-bcd6b56e"]]);export{pe as default};
