You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2 lines
3.5KB

  1. var F=Object.defineProperty;var x=Object.getOwnPropertySymbols;var U=Object.prototype.hasOwnProperty,z=Object.prototype.propertyIsEnumerable;var T=(o,a,e)=>a in o?F(o,a,{enumerable:!0,configurable:!0,writable:!0,value:e}):o[a]=e,v=(o,a)=>{for(var e in a||(a={}))U.call(a,e)&&T(o,e,a[e]);if(x)for(var e of x(a))z.call(a,e)&&T(o,e,a[e]);return o};var V=(o,a,e)=>new Promise((p,u)=>{var j=s=>{try{c(e.next(s))}catch(m){u(m)}},_=s=>{try{c(e.throw(s))}catch(m){u(m)}},c=s=>s.done?p(s.value):Promise.resolve(s.value).then(j,_);c((e=e.apply(o,a)).next())});import{_ as B,d as M,u as S,b as q,r as h,o as W,e as n,f as k,g as w,k as t,l,m as D,F as Y}from"./index.62a6dd28.js";import{p as G}from"./reformCheck.98944c71.js";const H=["onClick"],J=["onClick"],K=M({beforeRouteEnter(o,a,e){o.query.title&&(o.meta.title=o.query.title),e()}}),A=Object.assign(K,{__name:"index",setup(o){const a=S(),e=q({projectName:void 0}),p=h(),u=h(0),j=q([{label:"\u5E8F\u53F7",type:"index",width:"80"},{label:"\u9879\u76EE\u540D\u79F0",key:"projectName",prop:"projectName",minWidth:"150",showOverflowTooltip:!0},{label:"\u7533\u62A5\u5355\u4F4D",key:"buildOrgName",prop:"buildOrgName",minWidth:"80",showOverflowTooltip:!0},{label:"\u9879\u76EE\u7C7B\u578B",key:"projectTypeName",prop:"projectTypeName",width:"100"},{label:"\u9884\u7B97\u5E74\u5EA6",key:"projectYear",prop:"projectYear",width:"80"},{label:"\u64CD\u4F5C",slot:"action",width:"110",fixed:"right"}]),_=h([]),c=(...f)=>V(this,[...f],function*(d=p.value.pageParams){const b=yield G(i.value,a.query.planId,v(v({},d),e));_.value=b.data.records,u.value=b.data.total}),s=()=>{c()},m=()=>{e.name=void 0,p.value.pageParams.pageNumber=1,p.value.pageParams.pageSize=10,c()},i=h("1"),O=d=>{i.value=d,c()};return W(()=>{c()}),(d,f)=>{const b=n("el-input"),y=n("el-form-item"),g=n("el-col"),C=n("el-button"),P=n("el-row"),L=n("el-form"),N=n("el-card"),I=n("el-tab-pane"),R=n("el-tabs"),$=n("table-list");return k(),w(Y,null,[t(N,{class:"search mb-16"},{default:l(()=>[t(L,{"label-suffix":":",model:e,size:"small"},{default:l(()=>[t(P,{gutter:16},{default:l(()=>[t(g,{span:8},{default:l(()=>[t(y,{label:"\u9879\u76EE\u540D\u79F0"},{default:l(()=>[t(b,{modelValue:e.projectName,"onUpdate:modelValue":f[0]||(f[0]=r=>e.projectName=r),placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1}),t(g,{span:16},{default:l(()=>[t(y,{class:"btn"},{default:l(()=>[t(C,{type:"primary",onClick:s},{default:l(()=>[D("\u67E5\u8BE2")]),_:1}),t(C,{onClick:m},{default:l(()=>[D("\u91CD\u7F6E")]),_:1})]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),t(N,{class:"tab-card"},{header:l(()=>[t(R,{modelValue:i.value,"onUpdate:modelValue":f[1]||(f[1]=r=>i.value=r),onTabChange:O},{default:l(()=>[t(I,{label:"\u5F85\u6838\u67E5",name:"1"}),t(I,{label:"\u5DF2\u6838\u67E5",name:"2"})]),_:1},8,["modelValue"])]),default:l(()=>[t($,{ref_key:"tableListRef",ref:p,column:j,data:_.value,total:u.value,onGetTableData:c},{action:l(({scope:r})=>[i.value==="1"?(k(),w("a",{key:0,onClick:E=>d.$router.push({name:"reformCheckHandle",query:{projectCode:r.row.projectCode,projectId:r.row.projectId,appraisalId:r.row.appraisalId}})},"\u5904\u7406",8,H)):(k(),w("a",{key:1,onClick:E=>d.$router.push({name:"reformCheckScoreDetail",query:{projectCode:r.row.projectCode,projectId:r.row.projectId,appraisalId:r.row.appraisalId,groupId:r.row.groupId}})},"\u8BE6\u60C5",8,J))]),_:1},8,["column","data","total"])]),_:1})],64)}}}),ee=B(A,[["__file","/Users/chenlixin/Documents/work/NDKJ/MyProject/ls-project-v2.0/src/pages/performanceEvaluation/reformCheck/reformCheckProjectList/index.vue"]]);export{ee as default};