|
- import{_ as J,d as P,H as V,r as R,f as p,g as t,h as l,l as d,m as i,G as r,L as f,K as m,i as e,t as a,n as B,p as A,k as I,j as h}from"./index.812d876b.js";import{A as F}from"./index.f495e2e0.js";const L={class:"collapse-title"},M={class:"collapse-title"},K={class:"flex justify-between"},U={class:"font-semibold"},z={class:"text-[rgba(0,0,0,0.45)] flex items-center"},E={class:"flex justify-between"},G={class:"font-semibold"},H={class:"text-[rgba(0,0,0,0.45)] flex items-center"},T={class:"flex items-start mt-8"},$=e("p",{style:{color:"rgba(0, 0, 0, 0.65)"}},"\u5176\u4ED6\u610F\u89C1\u6216\u5EFA\u8BAE\uFF1A",-1),q={class:"flex items-start mt-8"},Q=e("p",{style:{color:"rgba(0, 0, 0, 0.65)"}},"\u9644\u4EF6\uFF1A",-1),W={key:1},X={class:"flex items-center mt-8"},Y=e("p",{style:{color:"rgba(0, 0, 0, 0.65)"}},"\u4E13\u5BB6\u8BC4\u5BA1\u7ED3\u679C\uFF1A",-1),Z={key:0,class:"flex mt-8"},ee=e("p",{style:{color:"rgba(0, 0, 0, 0.65)"}},"\u4E13\u5BB6\u610F\u89C1\uFF1A",-1),te=P({name:"memberOpinion"}),se=Object.assign(te,{props:{data:Object,detailData:{type:Object,default:()=>{}},isFinal:{type:Boolean,default:!1}},setup(n){const{reviewResultOptions:D}=V.dictStore.globalDicts||{},x=R();return(le,b)=>{const k=p("svg-icon"),y=p("el-collapse-item"),g=p("el-collapse"),w=p("el-card");return t(),l(r,null,[d(w,{shadow:"never",header:"\u5BA1\u67E5\u6E05\u5355\u4E13\u5BB6\u610F\u89C1",class:"mb-16"},{default:i(()=>[d(g,{modelValue:x.value,"onUpdate:modelValue":b[0]||(b[0]=o=>x.value=o)},{default:i(()=>{var o;return[(t(!0),l(r,null,f((o=n.data)==null?void 0:o.reviewChecklist,(s,_)=>(t(),m(y,{key:_},{title:i(()=>[e("div",L,a(s.name),1)]),default:i(()=>[d(g,null,{default:i(()=>[(t(!0),l(r,null,f(s.children,(u,v)=>(t(),m(y,{key:v},{title:i(()=>[e("div",M,a(u.name),1)]),default:i(()=>[(t(!0),l(r,null,f(u.expertList,(c,j)=>{var O,C,N;return t(),l("div",{key:j,class:"experts px-16 py-8 mb-8 text-14",style:{background:"#F0F2F5"}},[e("div",K,[e("p",U,a(JSON.parse(c.extend)[0].user),1),e("p",z,[d(k,{name:"time",class:"mr-2"}),e("span",null,a(JSON.parse(c.extend)[0].time),1)])]),e("div",null,[e("p",null,a((C=(O=JSON.parse(c.extend)[0])==null?void 0:O.expertOptions)==null?void 0:C.map(S=>S.option).join("\u3001"))+"\u3002",1),e("p",null,a((N=JSON.parse(c.extend)[0])==null?void 0:N.otherAdvice),1)])])}),128))]),_:2},1024))),128))]),_:2},1024)]),_:2},1024))),128))]}),_:1},8,["modelValue"])]),_:1}),d(w,{shadow:"never",header:"\u7EFC\u5408\u610F\u89C1"},{default:i(()=>{var o;return[(t(!0),l(r,null,f((o=n.data)==null?void 0:o.syntheticData,(s,_)=>{var u;return t(),l("div",{key:_,class:"experts px-16 py-8 mb-8 bg-[#F0F2F5] text-14"},[e("div",E,[e("p",G,a(s.creator),1),e("p",H,[d(k,{name:"time",class:"mr-2"}),e("span",null,a(s.createOn),1)])]),e("div",null,[e("div",T,[$,e("div",null,[(t(!0),l(r,null,f(JSON.parse(s.otherAdvice),(v,c)=>(t(),l("p",{key:c},a(c+1)+"\u3001"+a(v)+"\u3002",1))),128))])]),e("div",q,[Q,s.attachFileId?(t(),m(F,{key:0,"file-name":(u=s.attachFile)==null?void 0:u.originalFileName,"file-id":s==null?void 0:s.attachFileId},null,8,["file-name","file-id"])):(t(),l("span",W,"\u65E0"))])]),n.isFinal?(t(),l(r,{key:0},[e("div",X,[Y,e("span",{class:B(`dot ${s.reviewResult===1?"bg-success":s.reviewResult===2?"bg-warning":"bg-danger"}`)},null,2),A(" \xA0"),e("span",null,a(I(D)[s.reviewResult]),1)]),n.detailData.reviewChecklistPdf?(t(),l("div",Z,[ee,n.detailData.reviewChecklistPdf?(t(),m(F,{key:0,"file-name":n.detailData.reviewChecklistPdf&&JSON.parse(n.detailData.reviewChecklistPdf).fileName,"file-id":n.detailData.reviewChecklistPdf&&JSON.parse(n.detailData.reviewChecklistPdf).fileId},null,8,["file-name","file-id"])):h("v-if",!0)])):h("v-if",!0)],64)):h("v-if",!0)])}),128))]}),_:1})],64)}}}),ie=J(se,[["__file","/Users/chenlixin/Documents/work/NDKJ/MyProject/ls-project-v2.0/src/pages/expertManage/expertReview/fillCheckReviewComments/components/memberOpinion.vue"]]);export{ie as default};
|