Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

2 lines
3.8KB

  1. import{d as Y,b as v,r as s,Z as m,o as x,c as l,e as P,f as B,h as e,i as a,j as w,g as S,F as $}from"./index.88314652.js";const D=Y({name:"checkProjectList"}),z=Object.assign(D,{setup(F){const n=v({projectName:void 0}),c=s(),k=s(5),y=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:o=>m("span",o.selfScore||"-")},{label:"\u590D\u8BC4\u5F97\u5206",key:"reviewScore",prop:"reviewScore",width:"80",render:o=>m("span",o.reviewScore||"-")},{label:"\u6838\u67E5\u5F97\u5206",key:"checkScore",prop:"checkScore",width:"80",render:o=>m("span",o.reviewScore||"-")},{label:"\u6838\u67E5\u65F6\u95F4",key:"createdTime",prop:"createdTime",width:"150",render:o=>m("span",o.createdTime||"-")},{label:"\u64CD\u4F5C",slot:"action",width:"110",fixed:"right"}]),i=s([]),p=async(o=c.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"}]},g=()=>{p()},T=()=>{n.name=void 0,c.value.pageParams.pageNumber=1,c.value.pageParams.pageSize=10,p()},u=s("1");return x(()=>{p()}),(o,t)=>{const h=l("el-input"),f=l("el-form-item"),_=l("el-col"),b=l("el-button"),N=l("el-row"),O=l("el-form"),j=l("el-card"),d=l("el-tab-pane"),V=l("el-tabs"),C=l("table-list");return P(),B($,null,[e(j,{class:"search mb-16"},{default:a(()=>[e(O,{"label-suffix":":",model:n,size:"small"},{default:a(()=>[e(N,{gutter:16},{default:a(()=>[e(_,{span:8},{default:a(()=>[e(f,{label:"\u9879\u76EE\u540D\u79F0"},{default:a(()=>[e(h,{modelValue:n.name,"onUpdate:modelValue":t[0]||(t[0]=r=>n.name=r),placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1}),e(_,{span:16},{default:a(()=>[e(f,{class:"btn"},{default:a(()=>[e(b,{type:"primary",onClick:g},{default:a(()=>t[4]||(t[4]=[w("\u67E5\u8BE2")])),_:1}),e(b,{onClick:T},{default:a(()=>t[5]||(t[5]=[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":t[1]||(t[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:c,column:y,data:i.value,total:k.value,onGetTableData:p},{action:a(()=>[S("a",{onClick:t[2]||(t[2]=r=>o.$router.push({name:"finalGiveScore"}))},"\u6253\u5206"),S("a",{onClick:t[3]||(t[3]=r=>o.$router.push({name:"finalScoreDetail"}))},"\u8BE6\u60C5")]),_:1},8,["column","data","total"])]),_:1})],64)}}});export{z as default};