|
- import{r as y,o as N,b as o,c as n,L as b,h as l,d as m,F as v,H as k,e as S,t as j,f as e,j as B,k as D}from"./index-dd5fae99.js";const L={class:"font-bold text-16 mb-8"},O=D({name:"reviewCheckList"}),h=Object.assign(O,{props:{detailData:Object},setup(C){const p=C,u=y();return N(()=>{var i;u.value={reviewChecklist:p.detailData.reviewChecklist&&JSON.parse((i=p.detailData)==null?void 0:i.reviewChecklist)||[]}}),(i,F)=>{const s=o("el-input"),r=o("el-form-item"),d=o("el-col"),w=o("el-row"),x=o("el-divider"),U=o("el-form");return n(),b(U,{ref:"formRef",model:u.value,"label-suffix":":","label-position":"top"},{default:l(()=>{var c;return[(n(!0),m(v,null,k((c=u.value)==null?void 0:c.reviewChecklist,(_,f)=>{var V;return n(),m("div",{key:f},[S("p",L,j(_.title),1),(n(!0),m(v,null,k(_.modules,(t,g)=>(n(),m("div",{key:g,class:"mb-16"},[e(w,{gutter:16,class:"items-center"},{default:l(()=>[e(d,{span:8},{default:l(()=>[e(r,{label:t.subTitle},{default:l(()=>[e(s,{modelValue:t.content,"onUpdate:modelValue":a=>t.content=a,type:"textarea",disabled:""},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1032,["label"])]),_:2},1024),e(d,{span:4},{default:l(()=>[e(r,{label:"否决情形"},{default:l(()=>[e(s,{modelValue:t.rejectionSituation,"onUpdate:modelValue":a=>t.rejectionSituation=a,type:"textarea",disabled:""},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024)]),_:2},1024),e(d,{span:6},{default:l(()=>[e(r,{label:"响应情况",class:"flex-form-item",style:{"margin-bottom":"14px"}},{default:l(()=>[e(s,{modelValue:t.responseSituation,"onUpdate:modelValue":a=>t.responseSituation=a,disabled:""},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),e(r,{label:"对应页面",class:"flex-form-item",style:{"margin-bottom":"0"}},{default:l(()=>[e(s,{modelValue:t.corrPageNum,"onUpdate:modelValue":a=>t.corrPageNum=a,disabled:""},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024)]),_:2},1024),e(d,{span:6},{default:l(()=>[e(r,{label:"审核意见"},{default:l(()=>[e(s,{modelValue:t.reviewComments,"onUpdate:modelValue":a=>t.reviewComments=a,type:"textarea",disabled:""},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024)]),_:2},1024)]),_:2},1024)]))),128)),f<((V=u.value.reviewChecklist)==null?void 0:V.length)-1?(n(),b(x,{key:0})):B("",!0)])}),128))]}),_:1},8,["model"])}}});export{h as default};
|