|
- var L=Object.defineProperty;var w=Object.getOwnPropertySymbols;var q=Object.prototype.hasOwnProperty,J=Object.prototype.propertyIsEnumerable;var P=(n,t,e)=>t in n?L(n,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):n[t]=e,x=(n,t)=>{for(var e in t||(t={}))q.call(t,e)&&P(n,e,t[e]);if(w)for(var e of w(t))J.call(t,e)&&P(n,e,t[e]);return n};var V=(n,t,e)=>new Promise((_,u)=>{var i=d=>{try{m(e.next(d))}catch(f){u(f)}},h=d=>{try{m(e.throw(d))}catch(f){u(f)}},m=d=>d.done?_(d.value):Promise.resolve(d.value).then(i,h);m((e=e.apply(n,t)).next())});import{_ as O,d as $,b as A,r as D,c,e as v,I as b,j as a,i as o,g as s,k as N,f as G,F as K,J as M,t as z,q as H,s as Q}from"./index.eb58a47a.js";import{E as R}from"./index.b5e73522.js";import{l as W}from"./renewalProjectCapitalDeclare.850d7e37.js";const j=n=>(H("data-v-30afd22f"),n=n(),Q(),n),X=j(()=>s("div",{class:"flex justify-between items-center"},[s("span",null,"\u9879\u76EE\u5217\u8868")],-1)),Y={class:"card-list-item"},Z={class:"title"},ee={class:"info"},te=j(()=>s("span",{class:"label"},"\u7533\u62A5\u5355\u4F4D\uFF1A",-1)),ae={class:"value"},oe=j(()=>s("span",{class:"label"},"\u6279\u590D\u91D1\u989D\uFF1A",-1)),ne={class:"value"},se={class:"flex justify-center"},le=$({name:"portraitAnalysis"}),re=Object.assign(le,{setup(n){const t=A({projectName:void 0}),e=A({pageNumber:1,pageSize:10}),_=D([{}]),u=D(0),i=()=>V(this,null,function*(){const l=yield W(x(x({},e),t));_.value=l.data.records,u.value=l.data.total}),h=()=>{i()},m=()=>{t.name=void 0,e.pageNumber=1},d=l=>{e.pageSize=l,e.pageNumber=1,i()},f=l=>{e.pageNumber=l,i()},I=l=>{t.regionCode=l.regionLevel===3?l.regionCode:void 0,t.pageNumber=1,i()};return(l,p)=>{const g=c("el-col"),T=c("el-input"),k=c("el-form-item"),y=c("el-button"),C=c("el-row"),B=c("el-form"),S=c("el-card"),U=c("el-divider"),E=c("no-data"),F=c("el-pagination");return v(),b(C,null,{default:a(()=>[o(g,{style:{"padding-right":"16px"},span:4},{default:a(()=>[o(R,{onGetTree:I})]),_:1}),o(g,{span:20},{default:a(()=>[s("div",null,[o(S,{class:"search mb-16"},{default:a(()=>[o(B,{"label-suffix":":",model:t,size:"small"},{default:a(()=>[o(C,{gutter:16},{default:a(()=>[o(g,{span:8},{default:a(()=>[o(k,{label:"\u9879\u76EE\u540D\u79F0"},{default:a(()=>[o(T,{modelValue:t.projectName,"onUpdate:modelValue":p[0]||(p[0]=r=>t.projectName=r),placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1}),o(g,{span:16},{default:a(()=>[o(k,{class:"btn"},{default:a(()=>[o(y,{type:"primary",onClick:h},{default:a(()=>[N("\u67E5\u8BE2")]),_:1}),o(y,{onClick:m},{default:a(()=>[N("\u91CD\u7F6E")]),_:1})]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),o(S,null,{header:a(()=>[X]),default:a(()=>[_.value.length?(v(),b(C,{key:0,gutter:24,class:"card-list"},{default:a(()=>[(v(!0),G(K,null,M(_.value,r=>(v(),b(g,{key:r.id,sm:12,lg:8,xl:6,class:"mb-24"},{default:a(()=>[s("div",Y,[s("a",Z,z(r.projectName),1),s("div",ee,[s("div",null,[te,s("span",ae,z(r.buildOrg),1)]),s("div",null,[oe,s("span",ne,z(r.annualAccumulateAmount),1)])]),o(U),s("div",se,[o(y,{plain:"",type:"primary",onClick:ce=>l.$router.push({name:"portraitScreen",query:{projectCode:r.projectCode}})},{default:a(()=>[N("\u67E5\u770B\u753B\u50CF")]),_:2},1032,["onClick"])])])]),_:2},1024))),128))]),_:1})):(v(),b(E,{key:1})),o(F,{currentPage:e.pageNumber,"onUpdate:currentPage":p[1]||(p[1]=r=>e.pageNumber=r),"page-size":e.pageSize,"onUpdate:pageSize":p[2]||(p[2]=r=>e.pageSize=r),background:"","page-sizes":e.pageSizes,layout:"total, sizes, prev, pager, next",total:u.value,onSizeChange:d,onCurrentChange:f},null,8,["currentPage","page-size","page-sizes","total"])]),_:1})])]),_:1})]),_:1})}}}),ue=O(re,[["__scopeId","data-v-30afd22f"],["__file","/Users/chenlixin/Documents/work/NDKJ/MyProject/ls-project-v2.0/src/pages/projectPortrait/portraitAnalysis/index.vue"]]);export{ue as default};
|