|
- import{d as y,r as N,o as S,c as o,e as n,I as b,i as l,f as m,F as v,J as k,g as j,t as B,h as e,k as D}from"./index.121be81f.js";const O={class:"font-bold text-16 mb-8"},F=y({name:"reviewCheckList"}),P=Object.assign(F,{props:{detailData:Object},setup(C){const p=C,u=N();return S(()=>{var i;u.value={reviewChecklist:p.detailData.reviewChecklist&&JSON.parse((i=p.detailData)==null?void 0:i.reviewChecklist)||[]}}),(i,J)=>{const s=o("el-input"),r=o("el-form-item"),d=o("el-col"),w=o("el-row"),g=o("el-divider"),x=o("el-form");return n(),b(x,{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},[j("p",O,B(_.title),1),(n(!0),m(v,null,k(_.modules,(t,U)=>(n(),m("div",{key:U,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:"\u5426\u51B3\u60C5\u5F62"},{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:"\u54CD\u5E94\u60C5\u51B5",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:"\u5BF9\u5E94\u9875\u9762",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:"\u5BA1\u6838\u610F\u89C1"},{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(g,{key:0})):D("",!0)])}),128))]}),_:1},8,["model"])}}});export{P as default};
|