import{I as e}from"./IndexPagePro-44077094-1780912037814v=1.0.0.js";import{c as a,g as t}from"./fundDisbursementPool-71e837bf-1780912037814v=1.0.0.js";import{d as l,r as n,J as r,o,a as i,b as p,c as s,w as c,e as d,f as u,H as _,l as g,j as m,E as b}from"./index-d052b22f-1780912037814v=1.0.0.js";const f=l({__name:"index",setup(l){const f=n(!1);n(!1),n(!1);const y=n([]);n(null);const j=n(0),v=r(),k=n(1),w=n(10);n({name:"",des:"",file_type_id:""});const h=async()=>{f.value=!0;const{data:e}=await t({page:k.value,size:w.value});f.value=!1,y.value=e.list,j.value=e.count};return o((()=>{h()})),(t,l)=>{const n=i("el-table-column"),r=i("el-button"),o=i("el-table"),z=i("el-pagination");return p(),s(e,null,{pagination:c((()=>[d(z,{"current-page":u(k),"onUpdate:currentPage":l[0]||(l[0]=e=>_(k)?k.value=e:null),"page-size":u(w),"onUpdate:pageSize":l[1]||(l[1]=e=>_(w)?w.value=e:null),"page-sizes":[10,20,50,100],background:"",layout:"total, sizes, prev, pager, next",total:u(j),onSizeChange:h,onCurrentChange:h},null,8,["current-page","page-size","total"])])),default:c((()=>[d(o,{data:u(y),border:"",loading:u(f),style:{width:"100%"}},{default:c((()=>[d(n,{type:"index",label:"序号",width:"80",align:"center"}),d(n,{prop:"c_time",label:"拨付时间",align:"center"}),d(n,{prop:"project_name",label:"项目名称",align:"center"}),d(n,{prop:"project_type_name",label:"项目类型",align:"center"}),d(n,{prop:"project_address",label:"项目区域",align:"center"}),d(n,{prop:"task_fund_channel_id_money",label:"总局拨款金额(万元)",align:"center"}),d(n,{prop:"order_money",label:"省局拨款金额(万元)",align:"center"}),d(n,{prop:"build_progress_str",label:"项目进度",align:"center"}),d(n,{prop:"status_str",label:"状态",align:"center"}),g(' <el-table-column prop="c_time" label="文件附件" align="center" />\r\n\t\t\t<el-table-column prop="c_time" label="创建人" align="center" /> '),d(n,{label:"操作",align:"center"},{default:c((e=>[d(r,{type:"primary",link:"",onClick:a=>(({type_id:e,project_id:a,project_performance_id:t})=>{v.push({name:"projectSubmitDetail",query:{type_id:e,project_id:a,project_performance_id:t}})})(e.row)},{default:c((()=>l[2]||(l[2]=[m("查看")]))),_:2},1032,["onClick"]),2!=e.row.status?(p(),s(r,{key:0,type:"primary",link:"",onClick:t=>(async({project_transfer_record_id:e})=>{let t=await a({project_transfer_record_id:e}),{code:l,data:n,message:r}=t;200==l?(b.success("撤回成功"),h()):b({type:"error",message:r})})(e.row)},{default:c((()=>l[3]||(l[3]=[m("撤回")]))),_:2},1032,["onClick"])):g("v-if",!0),g(' <el-button type="primary" link @click="handleOperation(scope.row, 2)">删除</el-button> ')])),_:1})])),_:1},8,["data","loading"])])),_:1})}}});export{f as default};
