|
- var V=Object.defineProperty;var g=Object.getOwnPropertySymbols;var A=Object.prototype.hasOwnProperty,O=Object.prototype.propertyIsEnumerable;var x=(o,e,a)=>e in o?V(o,e,{enumerable:!0,configurable:!0,writable:!0,value:a}):o[e]=a,y=(o,e)=>{for(var a in e||(e={}))A.call(e,a)&&x(o,a,e[a]);if(g)for(var a of g(e))O.call(e,a)&&x(o,a,e[a]);return o};var S=(o,e,a)=>new Promise((u,i)=>{var s=r=>{try{m(a.next(r))}catch(n){i(n)}},c=r=>{try{m(a.throw(r))}catch(n){i(n)}},m=r=>r.done?u(r.value):Promise.resolve(r.value).then(s,c);m((a=a.apply(o,e)).next())});import{_ as $,d as B,r as h,b as T,o as z,c as p,e as E,f as L,i as t,j as l,g as b,k as N}from"./index.eb58a47a.js";import{l as M}from"./materialSupplement.bdbdb0a3.js";const R={class:"flex"},U={class:"flex justify-between"},Y=b("span",null,"\u5217\u8868",-1),q=["onClick"],F=B({name:"materialSupplement"}),G=Object.assign(F,{setup(o){const e=h(),a=T([{label:"\u5E8F\u53F7",type:"index",width:"80"},{label:"\u9879\u76EE\u540D\u79F0",key:"projectName",prop:"projectName",minWidth:100,showOverflowTooltip:!0},{label:"\u7533\u62A5\u5355\u4F4D",key:"buildOrgName",prop:"buildOrgName"},{label:"\u9879\u76EE\u7C7B\u578B",key:"projectTypeName",prop:"projectTypeName",width:120},{label:"\u9884\u7B97\u5E74\u5EA6",key:"projectYear",prop:"projectYear",width:80},{label:"\u81EA\u8BC4\u5F97\u5206",key:"selfAppraisalTotalScore",prop:"selfAppraisalTotalScore",width:80},{label:"\u590D\u8BC4\u5F97\u5206",key:"reAppraisalTotalScore",prop:"reAppraisalTotalScore",width:80},{label:"\u4E13\u5BB6\u8BC4\u5BA1",key:"verifyStar",prop:"verifyStar",width:80},{label:"\u64CD\u4F5C",slot:"action",fixed:"right",width:"80"}]),u=h([]),i=h(0),s=T({projectName:void 0}),c=(...d)=>S(this,[...d],function*(n=e.value.pageParams){const _=yield M(y(y({},n),s));u.value=_.data.records,i.value=_.data.total}),m=()=>{e.value.pageParams.pageNumber=1,c()},r=()=>{e.value.pageParams.pageNumber=1,s.projectName=void 0,c()};return z(()=>{c()}),(n,d)=>{const _=p("el-input"),j=p("el-form-item"),k=p("el-col"),v=p("el-button"),C=p("el-row"),D=p("el-form"),w=p("el-card"),P=p("table-list");return E(),L("div",null,[t(w,{class:"w-full search"},{default:l(()=>[t(D,{model:s,size:"small","label-suffix":":"},{default:l(()=>[t(C,{gutter:16},{default:l(()=>[t(k,{span:8},{default:l(()=>[t(j,{label:"\u9879\u76EE\u540D\u79F0"},{default:l(()=>[t(_,{modelValue:s.projectName,"onUpdate:modelValue":d[0]||(d[0]=f=>s.projectName=f),placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1}),t(k,{span:16},{default:l(()=>[t(j,{class:"btn"},{default:l(()=>[b("div",R,[t(v,{type:"primary",onClick:m},{default:l(()=>[N("\u67E5\u8BE2")]),_:1}),t(v,{onClick:r},{default:l(()=>[N("\u91CD\u7F6E")]),_:1})])]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),t(w,{class:"mt-8"},{header:l(()=>[b("div",U,[Y,t(v,{icon:"Plus",type:"primary",size:"small",onClick:d[1]||(d[1]=f=>n.$router.push({name:"materialSupplementDetail"}))},{default:l(()=>[N("\u65B0\u589E")]),_:1})])]),default:l(()=>[t(P,{ref_key:"tableListRef",ref:e,column:a,data:u.value,total:i.value,onGetTableData:c},{action:l(({scope:f})=>[b("a",{onClick:J=>n.$router.push({name:"materialSupplementDetail",query:{id:f.row.id,projectName:s.projectName,pageNumber:e.value.pageParams.pageNumber}})},"\u8BE6\u60C5",8,q)]),_:1},8,["column","data","total"])]),_:1})])}}}),I=$(G,[["__file","/Users/chenlixin/Documents/work/NDKJ/MyProject/ls-project-v2.0/src/pages/performanceEvaluation/materialSupplement/index.vue"]]);export{I as default};
|