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
1.8KB

  1. import{E as h,b as c,c as n,d as a,F as r,H as d,e as s,t as l,L as O,h as w,i as _,j as x,f as p,n as y,u as k,k as F}from"./index-dd5fae99.js";import{_ as C}from"./index-33a0e6e3.js";const N={class:"memberOpinion"},V={class:"flex items-center justify-between title"},B={class:"name font-bold flex items-center"},R={class:"time"},j={class:"content"},A={class:"label"},D={class:"value"},E={class:"value"},L={class:"item"},S={class:"value"},T={class:"item"},$={class:"value"},z={class:"item"},H={class:"value"},I=F({name:"memberOpinion"}),K=Object.assign(I,{props:{memberOpinions:Array},setup(u){const{reviewResultOptions:m}=h.dictStore.globalDicts||{};return(q,t)=>{const v=c("el-tag"),b=c("svg-icon");return n(),a("div",N,[(n(!0),a(r,null,d(u.memberOpinions,(e,f)=>{var i;return n(),a("div",{key:f,class:"box mb-16"},[s("div",V,[s("p",B,[s("span",null,l(e.creator),1),e.isFinal?(n(),O(v,{key:0,class:"ml-8"},{default:w(()=>t[0]||(t[0]=[_("最终评审意见")])),_:1})):x("",!0)]),s("p",R,[p(b,{name:"time",class:"mr-2"}),s("span",null,l(e.createOn),1)])]),s("div",j,[(n(!0),a(r,null,d(e.reviewTemplateOptions,(o,g)=>(n(),a("div",{key:g,class:"item"},[s("p",A,l(o.title)+":",1),s("div",null,[s("p",D,l(o.optionsValue)+"。",1),s("p",E,l(o.otherAdvice),1)])]))),128)),s("div",L,[t[1]||(t[1]=s("p",{class:"label"},"其他意见或建议:",-1)),s("p",S,l(e.otherAdvice),1)]),s("div",T,[t[2]||(t[2]=s("p",{class:"label"},"附件:",-1)),s("p",$,[p(C,{"file-name":(i=e.attachFile)==null?void 0:i.originalFileName,"file-id":e==null?void 0:e.attachFileId},null,8,["file-name","file-id"])])]),s("div",z,[t[4]||(t[4]=s("p",{class:"label"},"评审结果:",-1)),s("p",H,[s("span",{class:y(`dot ${e.reviewResult===1?"bg-success":e.reviewResult===2?"bg-warning":"bg-danger"}`)},null,2),t[3]||(t[3]=_("  ")),s("span",null,l(k(m)[e.reviewResult]),1)])])])])}),128))])}}});export{K as default};