import{d as e,J as a,r,a4 as o,o as t,a as s,b as n,c as p,w as l,M as i,e as c,f as d,N as u,H as m,j as _}from"./index-d052b22f-1780912037814v=1.0.0.js";import{I as b}from"./IndexPagePro-44077094-1780912037814v=1.0.0.js";import{u as f,_ as h}from"./useTable-781919e2-1780912037814v=1.0.0.js";import{_ as g}from"./index.vue_vue_type_script_setup_true_name_SearchForm_lang-9271318d-1780912037814v=1.0.0.js";import{a as v}from"./fundDisbursementPool-71e837bf-1780912037814v=1.0.0.js";import y from"./infoCheck-c1df1c8b-1780912037814v=1.0.0.js";import{l as j}from"./lodash-2ba6b9f7-1780912037814v=1.0.0.js";import"./sortable.esm-6a31d29a-1780912037814v=1.0.0.js";import"./useFormEdit-098e87f9-1780912037814v=1.0.0.js";import"./tabs-f13d13c5-1780912037814v=1.0.0.js";const C=e({__name:"index",setup(e){const C=a(),k=r(!0),z=r([{prop:"year",search:{el:"date-picker",props:{type:"year",format:"YYYY",valueFormat:"YYYY"},placeholder:"请选择年份"}}]),x=o([{type:"index",label:"序号",width:70},{prop:"year",label:"年份"},{prop:"project_type_name",label:"项目类型"},{prop:"project_name",label:"项目名称"},{prop:"project_address",label:"项目区域"},{prop:"project_total_price",label:"项目总投资(万元)"},{prop:"task_fund_channel_id_money",label:"总局拨付金额(万元)"},{prop:"order_money",label:"省局拨付金额(万元)"},{prop:"fund_channel_id_str",label:"拨付渠道"},{prop:"build_progress_str",label:"项目进度"},{prop:"operation",label:"操作",fixed:"right",width:150}]),{tableData:w,pageable:S,searchParam:Y,baseParam:P,handleSizeChange:F,handleCurrentChange:D,getTableList:U,search:H,reset:I}=f(v);r(null);const T=r(!1),q=r({});r([]),r([]),r("");const E=e=>{j.exports.assign(q.value,e)},J=async()=>{E({audit_opinion:""})},L=async e=>{e&&await U()};return t((async()=>{await U()})),(e,a)=>{const r=s("el-button"),o=s("el-pagination");return n(),p(b,{filterWidth:280},{searchForm:l((()=>[i(c(g,{"search-param":d(Y),columns:d(z),search:d(H),reset:d(I)},null,8,["search-param","columns","search","reset"]),[[u,d(k)]])])),pagination:l((()=>[c(o,{"current-page":d(S).page,"onUpdate:currentPage":a[0]||(a[0]=e=>d(S).page=e),"page-size":d(S).size,"onUpdate:pageSize":a[1]||(a[1]=e=>d(S).size=e),"page-sizes":[10,20,50,100],background:"",layout:"total, sizes, prev, pager, next",total:d(S).count,onSizeChange:d(F),onCurrentChange:d(D)},null,8,["current-page","page-size","total","onSizeChange","onCurrentChange"])])),dialog:l((()=>[c(y,{visible:d(T),"onUpdate:visible":a[2]||(a[2]=e=>m(T)?T.value=e:null),onClose:a[3]||(a[3]=e=>T.value=!1),onReset:J,info:d(q),onHandleSubmitCheck:L},null,8,["visible","info"])])),default:l((()=>[c(h,{columns:d(x),data:d(w),showColSet:!1},{operation:l((e=>[c(r,{type:"primary",link:"",onClick:a=>(({type_id:e,project_id:a,project_performance_id:r})=>{C.push({name:"projectSubmitDetail",query:{type_id:e,project_id:a,project_performance_id:r}})})(e.row)},{default:l((()=>a[4]||(a[4]=[_("查看")]))),_:2},1032,["onClick"]),c(r,{type:"primary",link:"",onClick:a=>(async(e,a)=>{T.value=!0,E(a?{...q.value,...e}:{audit_opinion:""})})(e.row,"edit")},{default:l((()=>a[5]||(a[5]=[_("信息核实")]))),_:2},1032,["onClick"])])),_:1},8,["columns","data"])])),_:1})}}});export{C as default};
