|
- import{d as Y,b as v,r as s,a0 as m,o as x,c as o,e as P,f as B,h as e,i as a,j as w,g as S,F as $}from"./index.8d65dd27.js";const D=Y({name:"checkProjectList"}),z=Object.assign(D,{setup(F){const c=v({projectName:void 0}),n=s(),h=s(5),k=v([{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:"buildOrg",prop:"buildOrg",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:"\u81EA\u8BC4\u5F97\u5206",key:"selfScore",prop:"selfScore",width:"80",render:t=>m("span",t.selfScore||"-")},{label:"\u590D\u8BC4\u5F97\u5206",key:"reviewScore",prop:"reviewScore",width:"80",render:t=>m("span",t.reviewScore||"-")},{label:"\u6838\u67E5\u5F97\u5206",key:"checkScore",prop:"checkScore",width:"80",render:t=>m("span",t.reviewScore||"-")},{label:"\u6838\u67E5\u65F6\u95F4",key:"createdTime",prop:"createdTime",width:"150",render:t=>m("span",t.createdTime||"-")},{label:"\u64CD\u4F5C",slot:"action",width:"110",fixed:"right"}]),i=s([]),p=async(t=n.value.pageParams)=>{i.value=[{projectName:"\u5E94\u7528\u76EE\u5F55\u8D28\u91CF\u63D0\u5347\u670D\u52A1\u9879\u76EE",buildOrg:"\u5927\u6570\u636E\u5C40",projectYear:2023,selfScore:90,projectType:1},{projectName:"\u5E94\u7528\u76EE\u5F55\u8D28\u91CF\u63D0\u5347\u670D\u52A1\u9879\u76EE",buildOrg:"\u5927\u6570\u636E\u5C40",projectYear:2023,selfScore:90,projectType:1},{projectName:"\u7535\u5B50\u653F\u52A1\u9879\u76EE\u5168\u751F\u547D\u5468\u671F\u7BA1\u7406\u7CFB\u7EDF",buildOrg:"\u5927\u6570\u636E\u5C40",projectYear:2023,projectType:2,selfScore:89,reviewScore:80,createdTime:"2022-08-12 11:42"},{projectName:"\u7535\u5B50\u653F\u52A1\u9879\u76EE\u5168\u751F\u547D\u5468\u671F\u7BA1\u7406\u7CFB\u7EDF",buildOrg:"\u5927\u6570\u636E\u5C40",projectYear:2023,projectType:2,selfScore:89,reviewScore:80,checkScore:88,createdTime:"2022-08-12 11:42"},{projectName:"\u7535\u5B50\u653F\u52A1\u9879\u76EE\u5168\u751F\u547D\u5468\u671F\u7BA1\u7406\u7CFB\u7EDF",buildOrg:"\u5927\u6570\u636E\u5C40",projectYear:2023,projectType:2,selfScore:89,reviewScore:80,checkScore:88,createdTime:"2022-08-12 11:42"}]},y=()=>{p()},g=()=>{c.name=void 0,n.value.pageParams.pageNumber=1,n.value.pageParams.pageSize=10,p()},u=s("1");return x(()=>{p()}),(t,l)=>{const T=o("el-input"),_=o("el-form-item"),f=o("el-col"),b=o("el-button"),N=o("el-row"),O=o("el-form"),j=o("el-card"),d=o("el-tab-pane"),V=o("el-tabs"),C=o("table-list");return P(),B($,null,[e(j,{class:"search mb-16"},{default:a(()=>[e(O,{"label-suffix":":",model:c,size:"small"},{default:a(()=>[e(N,{gutter:16},{default:a(()=>[e(f,{span:8},{default:a(()=>[e(_,{label:"\u9879\u76EE\u540D\u79F0"},{default:a(()=>[e(T,{modelValue:c.name,"onUpdate:modelValue":l[0]||(l[0]=r=>c.name=r),placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1}),e(f,{span:16},{default:a(()=>[e(_,{class:"btn"},{default:a(()=>[e(b,{type:"primary",onClick:y},{default:a(()=>[w("\u67E5\u8BE2")]),_:1}),e(b,{onClick:g},{default:a(()=>[w("\u91CD\u7F6E")]),_:1})]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),e(j,{class:"tab-card"},{header:a(()=>[e(V,{modelValue:u.value,"onUpdate:modelValue":l[1]||(l[1]=r=>u.value=r)},{default:a(()=>[e(d,{label:"A\u7EC4",name:"1"}),e(d,{label:"B\u7EC4",name:"2"}),e(d,{label:"C\u7EC4",name:"3"})]),_:1},8,["modelValue"])]),default:a(()=>[e(C,{ref_key:"tableListRef",ref:n,column:k,data:i.value,total:h.value,onGetTableData:p},{action:a(()=>[S("a",{onClick:l[2]||(l[2]=r=>t.$router.push({name:"finalGiveScore"}))},"\u6253\u5206"),S("a",{onClick:l[3]||(l[3]=r=>t.$router.push({name:"finalScoreDetail"}))},"\u8BE6\u60C5")]),_:1},8,["column","data","total"])]),_:1})],64)}}});export{z as default};
|