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 line
7.5KB

  1. import{_ as o}from"./index.4d5844d3.js";import{d as x,c as k,e as a,G as D,i as u,h as m,j as M,t as T,f as t,F as f,H as F,k as y}from"./index.24398741.js";const p={key:1},v={key:1},w={key:1},L={key:1},B={key:1},U={key:1},Y={key:1},V={key:1},G={key:1},H={key:1},$=x({name:"empMaterials"}),R=Object.assign($,{props:{detailData:{type:Object,default:()=>{}},basicInfoData:{type:Object},approvalInfoData:{type:Object},baseProjSetYear:{type:String,default:""}},setup(e){const C=[{label:"\u6838\u5FC3\u4E1A\u52A1",prop:"businessName",key:"businessName"},{label:"\u5B9E\u9645\u6210\u6548\u6307\u6807",prop:"name",key:"name"},{label:"\u6570\u503C",prop:"nums",key:"nums"},{label:"\u5355\u4F4D",prop:"unit",key:"unit"}];return(q,z)=>{const c=k("el-descriptions-item"),A=k("table-list"),I=k("el-descriptions");return a(),D(I,{column:2,border:""},{default:u(()=>{var g,S,N,O,h,P,J,E,j;return[m(c,{label:"\u662F\u5426\u5B8C\u6210\u65E5\u5FD7\u6570\u636E\u5F52\u96C6",span:2},{default:u(()=>[M(T(e.detailData.baseLogAggregation==="1"?"\u662F":"\u5426"),1)]),_:1}),m(c,{label:"\u5B9E\u9645\u6210\u6548\u6307\u6807",span:2},{default:u(()=>[m(A,{pagination:!1,style:{width:"100%"},column:C,data:e.detailData.baseBusinessMetrics&&JSON.parse(e.detailData.baseBusinessMetrics)||[],"empty-temp":!1},null,8,["data"])]),_:1}),["05","06","07","00"].includes((g=e.basicInfoData)==null?void 0:g.baseProjSetProg)&&((N=(S=e.basicInfoData)==null?void 0:S.baseConstructionType)==null?void 0:N.includes("01"))||!((h=(O=e.basicInfoData)==null?void 0:O.baseConstructionType)!=null&&h.includes("01"))?(a(),D(c,{key:0,label:"\u4FE1\u606F\u5B89\u5168\u7B49\u7EA7\u4FDD\u62A4\u6D4B\u8BC4\u62A5\u544A",span:2},{default:u(()=>{var i,l,n,s,d;return[((i=e.detailData)==null?void 0:i.baseInforLevelFile)&&((n=JSON.parse((l=e.detailData)==null?void 0:l.baseInforLevelFile))==null?void 0:n.length)?(a(!0),t(f,{key:0},F(((s=e.detailData)==null?void 0:s.baseInforLevelFile)&&JSON.parse((d=e.detailData)==null?void 0:d.baseInforLevelFile),(r,b)=>(a(),t("p",{key:b,class:"mb-4"},[m(o,{"file-name":r.originalFileName,"file-id":r.id},null,8,["file-name","file-id"])]))),128)):(a(),t("span",p,"-"))]}),_:1})):y("",!0),!["01","02","03"].includes((P=e.basicInfoData)==null?void 0:P.baseProjSetProg)||e.baseProjSetYear*1<2023?(a(),D(c,{key:1,label:"\u5546\u4E1A\u5BC6\u7801\u5E94\u7528\u8BC4\u4F30\u62A5\u544A",span:2},{default:u(()=>{var i,l,n,s,d;return[((i=e.detailData)==null?void 0:i.basePasswAssessFile)&&((n=JSON.parse((l=e.detailData)==null?void 0:l.basePasswAssessFile))==null?void 0:n.length)?(a(!0),t(f,{key:0},F(((s=e.detailData)==null?void 0:s.basePasswAssessFile)&&JSON.parse((d=e.detailData)==null?void 0:d.basePasswAssessFile),(r,b)=>(a(),t("p",{key:b,class:"mb-4"},[m(o,{"file-name":r.originalFileName,"file-id":r.id},null,8,["file-name","file-id"])]))),128)):(a(),t("span",v,"-"))]}),_:1})):y("",!0),m(c,{label:"\u7B2C\u4E09\u65B9\u9A8C\u6536\u6D4B\u8BD5\u62A5\u544A",span:2},{default:u(()=>{var i,l,n,s,d;return[((i=e.detailData)==null?void 0:i.baseThirdAcceptFile)&&((n=JSON.parse((l=e.detailData)==null?void 0:l.baseThirdAcceptFile))==null?void 0:n.length)?(a(!0),t(f,{key:0},F(((s=e.detailData)==null?void 0:s.baseThirdAcceptFile)&&JSON.parse((d=e.detailData)==null?void 0:d.baseThirdAcceptFile),(r,b)=>(a(),t("p",{key:b,class:"mb-4"},[m(o,{"file-name":r.originalFileName,"file-id":r.id},null,8,["file-name","file-id"])]))),128)):(a(),t("span",w,"-"))]}),_:1}),!["01","02","03","04"].includes((J=e.basicInfoData)==null?void 0:J.baseProjSetProg)||e.baseProjSetYear*1<2023?(a(),D(c,{key:2,label:"\u7528\u6237\u4F7F\u7528\u62A5\u544A",span:2},{default:u(()=>{var i,l,n,s,d;return[((i=e.detailData)==null?void 0:i.baseUserConsFile)&&((n=JSON.parse((l=e.detailData)==null?void 0:l.baseUserConsFile))==null?void 0:n.length)?(a(!0),t(f,{key:0},F(((s=e.detailData)==null?void 0:s.baseUserConsFile)&&JSON.parse((d=e.detailData)==null?void 0:d.baseUserConsFile),(r,b)=>(a(),t("p",{key:b,class:"mb-4"},[m(o,{"file-name":r.originalFileName,"file-id":r.id},null,8,["file-name","file-id"])]))),128)):(a(),t("span",L,"-"))]}),_:1})):y("",!0),m(c,{label:"\u76D1\u7406\u603B\u7ED3\u62A5\u544A",span:2},{default:u(()=>{var i,l,n,s,d;return[((i=e.detailData)==null?void 0:i.baseEstaSummFile)&&((n=JSON.parse((l=e.detailData)==null?void 0:l.baseEstaSummFile))==null?void 0:n.length)?(a(!0),t(f,{key:0},F(((s=e.detailData)==null?void 0:s.baseEstaSummFile)&&JSON.parse((d=e.detailData)==null?void 0:d.baseEstaSummFile),(r,b)=>(a(),t("p",{key:b,class:"mb-4"},[m(o,{"file-name":r.originalFileName,"file-id":r.id},null,8,["file-name","file-id"])]))),128)):(a(),t("span",B,"-"))]}),_:1}),!["01","02","03","04"].includes((E=e.basicInfoData)==null?void 0:E.baseProjSetProg)||e.baseProjSetYear*1<2023?(a(),D(c,{key:3,label:"\u8FD0\u7EF4\u603B\u7ED3\u62A5\u544A",span:2},{default:u(()=>{var i,l,n,s,d;return[((i=e.detailData)==null?void 0:i.baseOperatMaintenSummFile)&&((n=JSON.parse((l=e.detailData)==null?void 0:l.baseOperatMaintenSummFile))==null?void 0:n.length)?(a(!0),t(f,{key:0},F(((s=e.detailData)==null?void 0:s.baseOperatMaintenSummFile)&&JSON.parse((d=e.detailData)==null?void 0:d.baseOperatMaintenSummFile),(r,b)=>(a(),t("p",{key:b,class:"mb-4"},[m(o,{"file-name":r.originalFileName,"file-id":r.id},null,8,["file-name","file-id"])]))),128)):(a(),t("span",U,"-"))]}),_:1})):y("",!0),((j=e.basicInfoData)==null?void 0:j.baseProjSetProg)==="07"?(a(),D(c,{key:4,label:"\u7EC8\u9A8C\u610F\u89C1",span:2},{default:u(()=>{var i,l,n,s,d;return[((i=e.detailData)==null?void 0:i.baseFinalExpertOpinionFile)&&((n=JSON.parse((l=e.detailData)==null?void 0:l.baseFinalExpertOpinionFile))==null?void 0:n.length)?(a(!0),t(f,{key:0},F(((s=e.detailData)==null?void 0:s.baseFinalExpertOpinionFile)&&JSON.parse((d=e.detailData)==null?void 0:d.baseFinalExpertOpinionFile),(r,b)=>(a(),t("p",{key:b,class:"mb-4"},[m(o,{"file-name":r.originalFileName,"file-id":r.id},null,8,["file-name","file-id"])]))),128)):(a(),t("span",Y,"-"))]}),_:1})):y("",!0),m(c,{label:"\u9879\u76EE\u5EF6\u671F\u7533\u8BF7\u8868",span:2},{default:u(()=>{var i,l,n,s,d;return[((i=e.detailData)==null?void 0:i.baseEngineerPostpoFile)&&((n=JSON.parse((l=e.detailData)==null?void 0:l.baseEngineerPostpoFile))==null?void 0:n.length)?(a(!0),t(f,{key:0},F(((s=e.detailData)==null?void 0:s.baseEngineerPostpoFile)&&JSON.parse((d=e.detailData)==null?void 0:d.baseEngineerPostpoFile),(r,b)=>(a(),t("p",{key:b,class:"mb-4"},[m(o,{"file-name":r.originalFileName,"file-id":r.id},null,8,["file-name","file-id"])]))),128)):(a(),t("span",V,"-"))]}),_:1}),m(c,{label:"\u53D8\u66F4\u62A5\u544A",span:2},{default:u(()=>{var i,l,n,s,d;return[((i=e.detailData)==null?void 0:i.baseEngineerAlterFile)&&((n=JSON.parse((l=e.detailData)==null?void 0:l.baseEngineerAlterFile))==null?void 0:n.length)?(a(!0),t(f,{key:0},F(((s=e.detailData)==null?void 0:s.baseEngineerAlterFile)&&JSON.parse((d=e.detailData)==null?void 0:d.baseEngineerAlterFile),(r,b)=>(a(),t("p",{key:b,class:"mb-4"},[m(o,{"file-name":r.originalFileName,"file-id":r.id},null,8,["file-name","file-id"])]))),128)):(a(),t("span",G,"-"))]}),_:1}),m(c,{label:"\u53D8\u66F4\u6279\u590D\u6587\u4EF6",span:2},{default:u(()=>{var i,l,n,s,d;return[((i=e.detailData)==null?void 0:i.baseChanFile)&&((n=JSON.parse((l=e.detailData)==null?void 0:l.baseChanFile))==null?void 0:n.length)?(a(!0),t(f,{key:0},F(((s=e.detailData)==null?void 0:s.baseChanFile)&&JSON.parse((d=e.detailData)==null?void 0:d.baseChanFile),(r,b)=>(a(),t("p",{key:b,class:"mb-4"},[m(o,{"file-name":r.originalFileName,"file-id":r.id},null,8,["file-name","file-id"])]))),128)):(a(),t("span",H,"-"))]}),_:1})]}),_:1})}}});export{R as default};