25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2 lines
3.1KB

  1. import{E as D}from"./index.af6ebbed.js";import{l as E}from"./renewalProjectCapitalDeclare.425372f7.js";import{_ as F,d as L,b as N,r as x,c as s,e as i,I as u,i as e,h as t,g as a,j as v,f as U,F as q,J as O,t as b,q as $,s as G}from"./index.d340e473.js";const h=p=>($("data-v-566f5337"),p=p(),G(),p),J=h(()=>a("div",{class:"flex justify-between items-center"},[a("span",null,"\u9879\u76EE\u5217\u8868")],-1)),H={class:"card-list-item"},K={class:"title"},M={class:"info"},Q=h(()=>a("span",{class:"label"},"\u7533\u62A5\u5355\u4F4D\uFF1A",-1)),R={class:"value"},W=h(()=>a("span",{class:"label"},"\u6279\u590D\u91D1\u989D\uFF1A",-1)),X={class:"value"},Y={class:"flex justify-center"},Z=L({name:"portraitAnalysis"}),ee=Object.assign(Z,{setup(p){const r=N({projectName:void 0}),l=N({pageNumber:1,pageSize:10}),m=x([{}]),y=x(0),_=async()=>{const n=await E({...l,...r});m.value=n.data.records,y.value=n.data.total},S=()=>{_()},k=()=>{r.name=void 0,l.pageNumber=1},j=n=>{l.pageSize=n,l.pageNumber=1,_()},w=n=>{l.pageNumber=n,_()},V=n=>{r.regionCode=n.regionLevel===3?n.regionCode:void 0,r.pageNumber=1,_()};return(n,d)=>{const c=s("el-col"),I=s("el-input"),C=s("el-form-item"),g=s("el-button"),f=s("el-row"),T=s("el-form"),z=s("el-card"),A=s("el-divider"),B=s("no-data"),P=s("el-pagination");return i(),u(f,null,{default:e(()=>[t(c,{style:{"padding-right":"16px"},span:4},{default:e(()=>[t(D,{onGetTree:V})]),_:1}),t(c,{span:20},{default:e(()=>[a("div",null,[t(z,{class:"search mb-16"},{default:e(()=>[t(T,{"label-suffix":":",model:r,size:"small"},{default:e(()=>[t(f,{gutter:16},{default:e(()=>[t(c,{span:8},{default:e(()=>[t(C,{label:"\u9879\u76EE\u540D\u79F0"},{default:e(()=>[t(I,{modelValue:r.projectName,"onUpdate:modelValue":d[0]||(d[0]=o=>r.projectName=o),placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1}),t(c,{span:16},{default:e(()=>[t(C,{class:"btn"},{default:e(()=>[t(g,{type:"primary",onClick:S},{default:e(()=>[v("\u67E5\u8BE2")]),_:1}),t(g,{onClick:k},{default:e(()=>[v("\u91CD\u7F6E")]),_:1})]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),t(z,null,{header:e(()=>[J]),default:e(()=>[m.value.length?(i(),u(f,{key:0,gutter:24,class:"card-list"},{default:e(()=>[(i(!0),U(q,null,O(m.value,o=>(i(),u(c,{key:o.id,sm:12,lg:8,xl:6,class:"mb-24"},{default:e(()=>[a("div",H,[a("a",K,b(o.projectName),1),a("div",M,[a("div",null,[Q,a("span",R,b(o.buildOrg),1)]),a("div",null,[W,a("span",X,b(o.annualAccumulateAmount),1)])]),t(A),a("div",Y,[t(g,{plain:"",type:"primary",onClick:te=>n.$router.push({name:"portraitScreen",query:{projectCode:o.projectCode}})},{default:e(()=>[v("\u67E5\u770B\u753B\u50CF")]),_:2},1032,["onClick"])])])]),_:2},1024))),128))]),_:1})):(i(),u(B,{key:1})),t(P,{currentPage:l.pageNumber,"onUpdate:currentPage":d[1]||(d[1]=o=>l.pageNumber=o),"page-size":l.pageSize,"onUpdate:pageSize":d[2]||(d[2]=o=>l.pageSize=o),background:"","page-sizes":l.pageSizes,layout:"total, sizes, prev, pager, next",total:y.value,onSizeChange:j,onCurrentChange:w},null,8,["currentPage","page-size","page-sizes","total"])]),_:1})])]),_:1})]),_:1})}}}),le=F(ee,[["__scopeId","data-v-566f5337"]]);export{le as default};