import{u as D}from"./useTable-34acff72-1782572373740v=1.0.0.js";import{u as U}from"./useAgreementManage-ad3b5cb0-1782572373740v=1.0.0.js";import{g as V}from"./fundApplyMgmtApi-e408d25c-1782572373740v=1.0.0.js";import{u as E,a as N,_ as R}from"./index-f6f689f9-1782572373740v=1.0.0.js";import{y,m as $,al as o,z as d,I as g,J as a,R as l,u as t,O as u,M as p}from"./vendor-866bb149-1782572373740v=1.0.0.js";import"./notData-cef8761e-1782572373740v=1.0.0.js";import"./eleVendor-48a7d3b8-1782572373740v=1.0.0.js";import"./showAuditDialog-d8482297-1782572373740v=1.0.0.js";import"./useDict-7568ee9f-1782572373740v=1.0.0.js";const q=y({name:"agreementManageIndex"}),J=y({...q,setup(O){const i=E();N();const{tableColumns:f,columns:C,dataCallBack:k,paramCallBack:A}=U(),{tableData:h,pageable:r,baseParam:b,searchParam:P,totalParam:j,pageParam:G,handleSizeChange:v,handleCurrentChange:w,getTableList:z,search:B,reset:M,loading:x}=D(V,k,A);$(async()=>{b.value={notAuditStatusList:["wait","suspend"]},await z()});const c=s=>{i.push({name:"fundApplyMgmtApplyDetail",query:{id:s.feeProposerId,isAuth:1}})},F=()=>{i.push({name:"fundApplyMgmtApplyAdd"})},H=s=>{i.push({name:"fundApplyMgmtApplyDetail",query:{id:s.feeProposerId}})};return(s,e)=>{const L=o("HZSearchForm"),S=o("el-button"),m=o("el-link"),Z=o("HZProTable"),I=o("el-pagination"),T=o("HZPageLayout");return d(),g(T,{isCard:!1},{searchForm:a(()=>[l(L,{"search-param":t(P),columns:t(C),search:t(B),reset:t(M)},null,8,["search-param","columns","search","reset"])]),pagination:a(()=>[l(I,{"current-page":t(r).page,"onUpdate:currentPage":e[0]||(e[0]=n=>t(r).page=n),"page-size":t(r).size,"onUpdate:pageSize":e[1]||(e[1]=n=>t(r).size=n),"page-sizes":[10,20,50,100],background:"",layout:"total, sizes, prev, pager, next",total:t(r).count,onSizeChange:t(v),onCurrentChange:t(w)},null,8,["current-page","page-size","total","onSizeChange","onCurrentChange"])]),dialog:a(()=>e[7]||(e[7]=[])),default:a(()=>[l(Z,{columns:t(f),data:t(h),isFlex:!1,loading:t(x)},{tableHeader:a(()=>e[2]||(e[2]=[])),toolButton:a(()=>[l(S,{type:"primary",onClick:F},{default:a(()=>e[3]||(e[3]=[u(" \u65B0\u589E ",-1)])),_:1,__:[3]})]),operation:a(n=>[l(m,{type:"primary",onClick:_=>H(n.row)},{default:a(()=>e[4]||(e[4]=[u(" \u67E5\u770B ",-1)])),_:2,__:[4]},1032,["onClick"]),p(' <el-link type="primary" @click="handleEdit(scope.row)"> \u7F16\u8F91 </el-link> '),n.row.isCurrentLoginUserAuditAuth?(d(),g(m,{key:0,type:"primary",onClick:_=>c(n.row)},{default:a(()=>e[5]||(e[5]=[u(" \u7533\u8BF7\u5BA1\u6838 ",-1)])),_:2,__:[5]},1032,["onClick"])):p("v-if",!0),n.row.isCurrentLoginUserAuditAuth?(d(),g(m,{key:1,type:"primary",onClick:_=>c(n.row)},{default:a(()=>e[6]||(e[6]=[u(" \u7533\u8BF7\u5BA1\u6838 ",-1)])),_:2,__:[6]},1032,["onClick"])):p("v-if",!0),p(' <el-link type="danger" @click="handleDel(scope.row)"> \u5220\u9664 </el-link> ')]),_:1},8,["columns","data","loading"])]),_:1})}}});const oe=R(J,[["__scopeId","data-v-9e292cfc"]]);export{oe as default};
