import{I as e}from"./IndexPagePro-44077094-1780912037814v=1.0.0.js";import{k as a}from"./annualTaskManage-c01021da-1780912037814v=1.0.0.js";import{_ as l}from"./index.vue_vue_type_script_setup_true_name_SearchForm_lang-9271318d-1780912037814v=1.0.0.js";import{d as t,J as n,r,o,a as p,b as s,c as u,w as i,e as c,f as d,l as m,H as g,j as _}from"./index-d052b22f-1780912037814v=1.0.0.js";const b=t({__name:"index",setup(t){const b=n(),y=r(!1);r(!1),r(!1);const v=r([]);r(null);const f=r([{label:"年份",prop:"year",search:{el:"date-picker",props:{type:"year",format:"YYYY",valueFormat:"YYYY"},placeholder:"请选择年份"}}]),h=r({}),k=r(0),x=r(1),Y=r(10);r({name:"",des:"",file_type_id:""});const z=async()=>{y.value=!0;const{data:e}=await a({page:x.value,size:Y.value,...h.value});y.value=!1,v.value=e.list,k.value=e.count},j=()=>{x.value=1,z()},w=()=>{x.value=1,h.value={},z()};return o((()=>{z()})),(a,t)=>{const n=p("el-table-column"),r=p("el-button"),o=p("el-table"),C=p("el-pagination");return s(),u(e,null,{searchForm:i((()=>[c(l,{"search-param":d(h),columns:d(f),search:j,reset:w},null,8,["search-param","columns"])])),toolButton:i((()=>[m(' <el-button type="primary" @click="handleAdd(ruleFormRef)">新增</el-button> '),m(' <Export taskName="projectQueryListExport" class="mr10 ml10" /> ')])),pagination:i((()=>[c(C,{"current-page":d(x),"onUpdate:currentPage":t[0]||(t[0]=e=>g(x)?x.value=e:null),"page-size":d(Y),"onUpdate:pageSize":t[1]||(t[1]=e=>g(Y)?Y.value=e:null),"page-sizes":[10,20,50,100],background:"",layout:"total, sizes, prev, pager, next",total:d(k),onSizeChange:z,onCurrentChange:z},null,8,["current-page","page-size","total"])])),default:i((()=>[c(o,{data:d(v),border:"",loading:d(y),style:{width:"100%"}},{default:i((()=>[c(n,{type:"index",label:"序号",width:"80",align:"center"}),c(n,{prop:"name",label:"项目年度任务",align:"center"}),c(n,{prop:"task_id_str",label:"关联总局任务",align:"center"}),c(n,{prop:"year",label:"任务年份",align:"center"}),c(n,{prop:"order_money",label:"总局下拨集采公益金(万元)",align:"center"}),c(n,{prop:"total_transfer_money",label:"累计调拨中央集采公益金(万元)",align:"center"}),c(n,{prop:"total_ues_money",label:"累计使用集采公益金资金(万元)",align:"center"}),c(n,{prop:"total_count",label:"涉及项目数量",align:"center"}),c(n,{prop:"plan_count",label:"筹备阶段",align:"center"}),c(n,{prop:"build_count",label:"建设中",align:"center"}),c(n,{prop:"done_count",label:"已完成",align:"center"}),c(n,{label:"操作",align:"center"},{default:i((e=>[c(r,{type:"primary",link:"",onClick:a=>(({file_type_id:e,des:a,name:l})=>{b.push({name:"taskBuildManage"})})(e.row)},{default:i((()=>t[2]||(t[2]=[_("查看")]))),_:2},1032,["onClick"]),m(' <el-button type="primary" link @click="handleOperation(scope.row, 2)">删除</el-button> ')])),_:1})])),_:1},8,["data","loading"])])),_:1})}}});export{b as default};
