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.

2 lines
2.4KB

  1. import{_ as U,d as j,r as b,c as l,e as r,I as g,j as o,f as i,F as _,J as k,g as D,t as F,i as e}from"./index.eb58a47a.js";const N={class:"font-bold text-16"},S=j({name:"reviewCheck"}),h=Object.assign(S,{props:{detailData:{type:Object,default:()=>({})},data:{type:Array,default:()=>[]}},setup(w,{expose:C}){const s=b({reviewChecklist:w.data}),f=b();return C({validForm:n=>{f.value.validate(v=>{n(v)})},formData:s,setFormData:n=>{s.value={reviewChecklist:n.reviewChecklist}}}),(n,v)=>{const u=l("el-input"),m=l("el-form-item"),c=l("el-col"),x=l("el-row"),y=l("el-form");return r(),g(y,{ref_key:"formRef",ref:f,model:s.value,"label-suffix":":","label-position":"top","scroll-to-error":""},{default:o(()=>[(r(!0),i(_,null,k(s.value.reviewChecklist,(V,p)=>(r(),i(_,{key:p},[D("p",N,F(V.title),1),(r(!0),i(_,null,k(V.modules,(t,d)=>(r(),g(x,{key:d,gutter:16,class:"items-center"},{default:o(()=>[e(c,{span:9},{default:o(()=>[e(m,{label:t.subTitle},{default:o(()=>[e(u,{modelValue:t.content,"onUpdate:modelValue":a=>t.content=a,type:"textarea",disabled:""},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1032,["label"])]),_:2},1024),e(c,{span:6},{default:o(()=>[e(m,{label:"\u5426\u51B3\u60C5\u5F62"},{default:o(()=>[e(u,{modelValue:t.rejectionSituation,"onUpdate:modelValue":a=>t.rejectionSituation=a,type:"textarea",disabled:""},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024)]),_:2},1024),e(c,{span:9},{default:o(()=>[e(m,{label:"\u54CD\u5E94\u60C5\u51B5",class:"flex-form-item",style:{"margin-bottom":"14px"},prop:`reviewChecklist[${p}].modules[${d}].responseSituation`,rules:[{required:!0,message:"\u8BF7\u8F93\u5165"}]},{default:o(()=>[e(u,{modelValue:t.responseSituation,"onUpdate:modelValue":a=>t.responseSituation=a},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1032,["prop"]),e(m,{label:"\u5BF9\u5E94\u9875\u9762",class:"flex-form-item",style:{"margin-bottom":"0"},prop:`reviewChecklist[${p}].modules[${d}].corrPageNum`,rules:[{required:!0,message:"\u8BF7\u8F93\u5165"}]},{default:o(()=>[e(u,{modelValue:t.corrPageNum,"onUpdate:modelValue":a=>t.corrPageNum=a},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1032,["prop"])]),_:2},1024)]),_:2},1024))),128))],64))),128))]),_:1},8,["model"])}}}),q=U(h,[["__file","/Users/chenlixin/Documents/work/NDKJ/MyProject/ls-project-v2.0/src/pages/declareManage/projectDeclare/declarePage/components/reviewCheck.vue"]]);export{q as default};