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