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
7.4KB

  1. var K=Object.defineProperty,W=Object.defineProperties;var F=Object.getOwnPropertyDescriptors;var L=Object.getOwnPropertySymbols;var G=Object.prototype.hasOwnProperty,q=Object.prototype.propertyIsEnumerable;var P=(u,c,o)=>c in u?K(u,c,{enumerable:!0,configurable:!0,writable:!0,value:o}):u[c]=o,B=(u,c)=>{for(var o in c||(c={}))G.call(c,o)&&P(u,o,c[o]);if(L)for(var o of L(c))q.call(c,o)&&P(u,o,c[o]);return u},E=(u,c)=>W(u,F(c));import{_ as z,d as H,r as I,o as Q,f as h,g as s,K as O,m as r,h as l,G as _,L as f,i as e,t as a,j as v,l as i}from"./index.812d876b.js";const X={class:"oneTit title"},Y=e("p",{class:"left-line"},null,-1),Z={class:"twoTit title"},$=e("p",{class:"left-line"},null,-1),ee={class:"content"},te=e("p",{class:"font-semibold mb-8 text-14"},"\u5BA1\u67E5\u5185\u5BB9",-1),se={key:0,class:"blue-box"},le=e("span",{class:"label"},"\u54CD\u5E94\u60C5\u51B5\uFF1A",-1),ae={class:"value"},oe=e("span",{class:"label"},"\u5BF9\u5E94\u9875\u9762\uFF1A",-1),ne={class:"value"},ie={key:1,class:"text-14"},ce={class:"blue-box"},de=e("p",{class:"font-semibold text-[rgba(0,0,0,0.85)] text-14"},"\u5BA1\u67E5\u610F\u89C1",-1),ue={class:"text-[rgba(0,0,0,0.85)] text-14"},_e={key:1,class:"blue-box"},re={class:"font-semibold text-[rgba(0,0,0,0.85)] text-14"},ve=e("span",{class:"label"},"\u6574\u6539\u60C5\u51B5\uFF1A",-1),pe={class:"value"},me=e("span",{class:"label"},"\u6574\u6539\u9875\u9762\uFF1A",-1),be={class:"value"},he={key:1},fe=e("span",{class:"label"},"\u4E0D\u91C7\u7EB3\u539F\u56E0\uFF1A",-1),ke={class:"value"},ye={class:"threeTit title"},xe=e("p",{class:"left-line"},null,-1),ge={class:"content"},we=e("p",{class:"font-semibold mb-8 text-14"},"\u5BA1\u67E5\u5185\u5BB9",-1),Ve={key:0,class:"blue-box"},Ce=e("span",{class:"label"},"\u54CD\u5E94\u60C5\u51B5\uFF1A",-1),Ne={class:"value"},Se=e("span",{class:"label"},"\u5BF9\u5E94\u9875\u9762\uFF1A",-1),De={class:"value"},Ue={key:1,class:"text-14"},je={class:"blue-box"},Re=e("p",{class:"font-semibold text-[rgba(0,0,0,0.85)] text-14"},"\u5BA1\u67E5\u610F\u89C1",-1),Le={class:"text-[rgba(0,0,0,0.85)] text-14"},Pe={key:1,class:"blue-box"},Be={class:"font-semibold text-[rgba(0,0,0,0.85)] text-14"},Ee=e("span",{class:"label"},"\u6574\u6539\u60C5\u51B5\uFF1A",-1),Oe={class:"value"},Te=e("span",{class:"label"},"\u6574\u6539\u9875\u9762\uFF1A",-1),Je={class:"value"},Me={key:1},Ae=e("span",{class:"label"},"\u4E0D\u91C7\u7EB3\u539F\u56E0\uFF1A",-1),Ke={class:"value"},We={class:"font-bold text-16 mb-8"},Fe=H({name:"reviewCheckList"}),Ge=Object.assign(Fe,{props:{detailData:Object},setup(u){const c=u,o=I(),N=k=>{const C=[];return k.forEach(p=>{var m;C.push(E(B({},p),{value:p.value?JSON.parse(p.value):void 0,children:(m=p.children)!=null&&m.length?N(p.children):void 0}))}),C};return Q(()=>{var k;o.value={reviewChecklist:c.detailData.reviewChecklist&&JSON.parse((k=c.detailData)==null?void 0:k.reviewChecklist)||[]},c.detailData.reviewChecklistVersion==="NEW"&&(o.value.reviewChecklist=N(o.value.reviewChecklist))}),(k,C)=>{const p=h("el-divider"),m=h("el-input"),y=h("el-form-item"),g=h("el-col"),T=h("el-row"),J=h("el-form");return s(),O(J,{ref:"formRef",model:o.value,"label-suffix":":","label-position":"top"},{default:r(()=>{var S,D;return[u.detailData.reviewChecklistVersion==="NEW"?(s(!0),l(_,{key:0},f((S=o.value)==null?void 0:S.reviewChecklist,(x,w)=>(s(),l("div",{key:w,class:"reviewList sub-item one"},[e("p",X,a(x.name),1),Y,(s(!0),l(_,null,f(x.children,(b,d)=>{var V;return s(),l("div",{key:d,class:"sub-item two"},[e("p",Z,a(b.name),1),$,(V=b.children)!=null&&V.length?(s(!0),l(_,{key:0},f(b.children,(t,M)=>{var U,j;return s(),l("div",{key:M,class:"sub-item three"},[(U=t.children)!=null&&U.length?(s(),l(_,{key:1},[e("p",ye,a(t.name),1),xe,(s(!0),l(_,null,f(t.children,(n,A)=>{var R;return s(),l("div",{key:A,class:"four sub-item"},[e("div",ge,[we,e("p",null,a(((R=n==null?void 0:n.value)==null?void 0:R.content)||"-"),1)]),n.value.response?(s(),l("div",Ve,[n.value.response===1?(s(),l(_,{key:0},[e("div",null,[Ce,e("span",Ne,a(n.value.responseSituation),1)]),e("div",null,[Se,e("span",De,a(n.value.corrPageNum),1)])],64)):(s(),l("span",Ue,"\u672A\u6D89\u53CA"))])):v("v-if",!0),e("div",je,[Re,e("p",Le,a(n.value.reviewResult===1?"\u65E0\u610F\u89C1":n.value.reviewResult===2?n.value.reviewComments:"-"),1)]),n.value.adopt?(s(),l("div",Pe,[e("p",Be,a(n.value.adopt===1?"\u91C7\u7EB3":"\u4E0D\u91C7\u7EB3"),1),n.value.adopt===1?(s(),l(_,{key:0},[e("div",null,[Ee,e("span",Oe,a(n.value.rectifySituation),1)]),e("div",null,[Te,e("span",Je,a(n.value.rectifyPageNum),1)])],64)):v("v-if",!0),n.value.adopt===2?(s(),l("div",Me,[Ae,e("span",Ke,a(n.value.noAdoptReason),1)])):v("v-if",!0)])):v("v-if",!0),i(p,{style:{margin:"0 0 16px"}})])}),128))],64)):(s(),l(_,{key:0},[e("div",ee,[te,e("p",null,a(((j=t==null?void 0:t.value)==null?void 0:j.content)||"-"),1)]),t.value.response?(s(),l("div",se,[t.value.response===1?(s(),l(_,{key:0},[e("div",null,[le,e("span",ae,a(t.value.responseSituation),1)]),e("div",null,[oe,e("span",ne,a(t.value.corrPageNum),1)])],64)):(s(),l("span",ie,"\u672A\u6D89\u53CA"))])):v("v-if",!0),e("div",ce,[de,e("p",ue,a(t.value.reviewResult===1?"\u65E0\u610F\u89C1":t.value.reviewResult===2?t.value.reviewComments:"-"),1)]),t.value.adopt?(s(),l("div",_e,[e("p",re,a(t.value.adopt===1?"\u91C7\u7EB3":"\u4E0D\u91C7\u7EB3"),1),t.value.adopt===1?(s(),l(_,{key:0},[e("div",null,[ve,e("span",pe,a(t.value.rectifySituation),1)]),e("div",null,[me,e("span",be,a(t.value.rectifyPageNum),1)])],64)):v("v-if",!0),t.value.adopt===2?(s(),l("div",he,[fe,e("span",ke,a(t.value.noAdoptReason),1)])):v("v-if",!0)])):v("v-if",!0),i(p,{style:{margin:"0 0 16px"}})],64))])}),128)):v("v-if",!0)])}),128))]))),128)):(s(!0),l(_,{key:1},f((D=o.value)==null?void 0:D.reviewChecklist,(x,w)=>{var b;return s(),l("div",{key:w},[e("p",We,a(x.title),1),(s(!0),l(_,null,f(x.modules,(d,V)=>(s(),l("div",{key:V,class:"mb-16"},[i(T,{gutter:16,class:"items-center"},{default:r(()=>[i(g,{span:8},{default:r(()=>[i(y,{label:d.subTitle},{default:r(()=>[i(m,{modelValue:d.content,"onUpdate:modelValue":t=>d.content=t,type:"textarea",disabled:""},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1032,["label"])]),_:2},1024),i(g,{span:4},{default:r(()=>[i(y,{label:"\u5426\u51B3\u60C5\u5F62"},{default:r(()=>[i(m,{modelValue:d.rejectionSituation,"onUpdate:modelValue":t=>d.rejectionSituation=t,type:"textarea",disabled:""},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024)]),_:2},1024),i(g,{span:6},{default:r(()=>[i(y,{label:"\u54CD\u5E94\u60C5\u51B5",class:"flex-form-item",style:{"margin-bottom":"14px"}},{default:r(()=>[i(m,{modelValue:d.responseSituation,"onUpdate:modelValue":t=>d.responseSituation=t,disabled:""},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),i(y,{label:"\u5BF9\u5E94\u9875\u9762",class:"flex-form-item",style:{"margin-bottom":"0"}},{default:r(()=>[i(m,{modelValue:d.corrPageNum,"onUpdate:modelValue":t=>d.corrPageNum=t,disabled:""},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024)]),_:2},1024),i(g,{span:6},{default:r(()=>[i(y,{label:"\u5BA1\u6838\u610F\u89C1"},{default:r(()=>[i(m,{modelValue:d.reviewComments,"onUpdate:modelValue":t=>d.reviewComments=t,type:"textarea",disabled:""},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024)]),_:2},1024)]),_:2},1024)]))),128)),w<((b=o.value.reviewChecklist)==null?void 0:b.length)-1?(s(),O(p,{key:0})):v("v-if",!0)])}),128))]}),_:1},8,["model"])}}}),He=z(Ge,[["__file","/Users/chenlixin/Documents/work/NDKJ/MyProject/ls-project-v2.0/src/pages/projectStoreManage/projectStore/projectDetail/components/reviewCheckList.vue"]]);export{He as default};