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.

memberOpinion.b4c5dbfc.js 1.9KB

1
  1. import{d as h,B as O,c,e as n,f as a,F as r,H as d,g as s,t as l,G as w,i as x,j as _,k as y,h as p,n as k,u as F}from"./index.55251523.js";import{_ as B}from"./index.8fabbc4d.js";const C={class:"memberOpinion"},N={class:"flex items-center justify-between title"},V={class:"name font-bold flex items-center"},R={class:"time"},j={class:"content"},A={class:"label"},D={class:"value"},S={class:"value"},T={class:"item"},$={class:"value"},z={class:"item"},E={class:"value"},G={class:"item"},H={class:"value"},I=h({name:"memberOpinion"}),K=Object.assign(I,{props:{memberOpinions:Array},setup(u){const{reviewResultOptions:m}=O.dictStore.globalDicts||{};return(L,t)=>{const v=c("el-tag"),b=c("svg-icon");return n(),a("div",C,[(n(!0),a(r,null,d(u.memberOpinions,(e,f)=>{var i;return n(),a("div",{key:f,class:"box mb-16"},[s("div",N,[s("p",V,[s("span",null,l(e.creator),1),e.isFinal?(n(),w(v,{key:0,class:"ml-8"},{default:x(()=>t[0]||(t[0]=[_("\u6700\u7EC8\u8BC4\u5BA1\u610F\u89C1")])),_:1})):y("",!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)+"\uFF1A",1),s("div",null,[s("p",D,l(o.optionsValue)+"\u3002",1),s("p",S,l(o.otherAdvice),1)])]))),128)),s("div",T,[t[1]||(t[1]=s("p",{class:"label"},"\u5176\u4ED6\u610F\u89C1\u6216\u5EFA\u8BAE\uFF1A",-1)),s("p",$,l(e.otherAdvice),1)]),s("div",z,[t[2]||(t[2]=s("p",{class:"label"},"\u9644\u4EF6\uFF1A",-1)),s("p",E,[p(B,{"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",G,[t[4]||(t[4]=s("p",{class:"label"},"\u8BC4\u5BA1\u7ED3\u679C\uFF1A",-1)),s("p",H,[s("span",{class:k(`dot ${e.reviewResult===1?"bg-success":e.reviewResult===2?"bg-warning":"bg-danger"}`)},null,2),t[3]||(t[3]=_(" \xA0")),s("span",null,l(F(m)[e.reviewResult]),1)])])])])}),128))])}}});export{K as default};