您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

2 行
4.1KB

  1. var O=Object.defineProperty;var y=Object.getOwnPropertySymbols;var V=Object.prototype.hasOwnProperty,E=Object.prototype.propertyIsEnumerable;var v=(l,a,t)=>a in l?O(l,a,{enumerable:!0,configurable:!0,writable:!0,value:t}):l[a]=t,j=(l,a)=>{for(var t in a||(a={}))V.call(a,t)&&v(l,t,a[t]);if(y)for(var t of y(a))E.call(a,t)&&v(l,t,a[t]);return l};var N=(l,a,t)=>new Promise((_,n)=>{var p=o=>{try{s(t.next(o))}catch(r){n(r)}},i=o=>{try{s(t.throw(o))}catch(r){n(r)}},s=o=>o.done?_(o.value):Promise.resolve(o.value).then(p,i);s((t=t.apply(l,a)).next())});import{_ as R,d as W,r as u,A as Y,z as q,o as B,c as m,e as k,I as P,j as b,i as h,f as w,a3 as g}from"./index.47f2a3eb.js";import{l as $}from"./selfEvaluationSure.d373e3c7.js";const A=["onClick"],H=["onClick"],M=W({name:"selfEvaluationSure"}),U=Object.assign(M,{setup(l){const a=u("1"),t=e=>{a.value=e,p.value.pageParams.pageNumber=1,o()},_=[{label:"\u5E8F\u53F7",type:"index",width:"60"},{label:"\u8BC4\u4EF7\u8BA1\u5212",key:"appraisalName",prop:"appraisalName",minWidth:180,showOverflowTooltip:!0},{label:"\u9879\u76EE",key:"projectName",prop:"projectName",minWidth:200,showOverflowTooltip:!0},{label:"\u9879\u76EE\u7C7B\u578B",key:"projectTypeName",prop:"projectTypeName",width:80},{label:"\u9884\u7B97\u5E74\u5EA6",key:"projectYear",prop:"projectYear",width:80},{label:"\u81EA\u8BC4\u603B\u5206",key:"totalScore",prop:"totalScore",width:80},{label:"\u6253\u5206\u65F6\u95F4",key:"processLaunchTime",prop:"processLaunchTime",width:180},{label:"\u64CD\u4F5C",slot:"action",fixed:"right",width:80}],n=[{label:"\u5E8F\u53F7",type:"index",width:"60"},{label:"\u8BC4\u4EF7\u8BA1\u5212",key:"appraisalName",prop:"appraisalName",minWidth:180,showOverflowTooltip:!0},{label:"\u9879\u76EE",key:"projectName",prop:"projectName",minWidth:200,showOverflowTooltip:!0},{label:"\u9879\u76EE\u7C7B\u578B",key:"projectTypeName",prop:"projectTypeName",width:80},{label:"\u9884\u7B97\u5E74\u5EA6",key:"projectYear",prop:"projectYear",width:80},{label:"\u81EA\u8BC4\u603B\u5206",key:"totalScore",prop:"totalScore",width:80},{label:"\u6253\u5206\u65F6\u95F4",key:"processLaunchTime",prop:"processLaunchTime",width:180},{label:"\u5BA1\u6838\u72B6\u6001",key:"processStatusName",prop:"processStatusName",width:180,render:e=>[g("span",{class:["dot mr-4",`${e.processStatusName==="\u5BA1\u6838\u901A\u8FC7"?"bg-success":e.processStatusName==="\u5BA1\u6838\u4E2D"?"bg-warning":"bg-danger"}`]}),g("span",{class:e.processStatusName==="\u5BA1\u6838\u901A\u8FC7"?"text-success":e.processStatusName==="\u5BA1\u6838\u4E2D"?"text-warning":"text-danger"},e.processStatusName)]},{label:"\u5BA1\u6838\u65F6\u95F4",key:"processHandleTime",prop:"processHandleTime",width:180},{label:"\u64CD\u4F5C",slot:"action",fixed:"right",width:80}],p=u(),i=u(0),s=u([]),o=(...f)=>N(this,[...f],function*(e=p.value.pageParams){s.value=[];const c=yield $(a.value,j({},e));s.value=c.data.records,i.value=c.data.total}),r=Y(),I=e=>{r.push({name:"selfScoreSureDetail",query:{appraisalId:e.appraisalId,projectId:e.projectId,projectCode:e.projectCode,instanceId:e.instCode,nodeId:e.nodeId,taskId:e.taskId}})},S=e=>{r.push({name:"selfScoreSureDetail",query:{appraisalId:e.appraisalId,projectId:e.projectId,projectCode:e.projectCode,instanceId:e.instCode,taskId:e.taskId}})},T=q();return B(()=>{a.value=T.query.tab||"1",o()}),(e,f)=>{const c=m("el-tab-pane"),C=m("el-tabs"),x=m("table-list"),D=m("el-card");return k(),P(D,{class:"tab-card w-full"},{header:b(()=>[h(C,{modelValue:a.value,"onUpdate:modelValue":f[0]||(f[0]=d=>a.value=d),onTabChange:t},{default:b(()=>[h(c,{label:"\u5F85\u5BA1\u6838",name:"1"}),h(c,{label:"\u5BA1\u6838\u8BB0\u5F55",name:"2"})]),_:1},8,["modelValue"])]),default:b(()=>[h(x,{ref_key:"tableListRef",ref:p,column:a.value==="1"?_:n,data:s.value,total:i.value,onGetTableData:o},{action:b(({scope:d})=>[a.value==="1"?(k(),w("a",{key:0,onClick:L=>I(d.row)},"\u5BA1\u6838",8,A)):(k(),w("a",{key:1,onClick:L=>S(d.row)},"\u67E5\u770B",8,H))]),_:1},8,["column","data","total"])]),_:1})}}}),K=R(U,[["__file","/Users/chenlixin/Documents/work/NDKJ/MyProject/ls-project-v2.0/src/pages/performanceEvaluation/selfEvaluationSure/index.vue"]]);export{K as default};