您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

2 行
2.7KB

  1. import{d as k,f as r,g as a,c as l,e,w as t,F as g,q as D,n as v,b as x,h as P,t as y,v as w,M as b}from"./index.47ab9a02.js";const B={class:"equipmentInfo"},V={key:0,class:"mt-8"},Y={class:"image-slot"},j={key:1},q={key:0,class:"mt-8"},C={class:"image-slot"},K={key:1},M={key:0,class:"mt-8"},N={class:"image-slot"},F={key:1},I={key:0},O={key:1},E=k({name:"equipmentInfo"}),z=Object.assign(E,{props:{detailData:{type:Object,default:()=>{}}},setup(i){return(L,S)=>{const m=r("Picture"),h=r("el-icon"),f=r("el-image"),c=r("el-form-item"),d=r("el-col"),p=r("el-row");return a(),l("div",B,[e(p,{gutter:30},{default:t(()=>[e(d,{span:8},{default:t(()=>[e(c,{label:"\u4E09\u811A\u67B6\u7167\u7247"},{default:t(()=>{var s,o;return[(o=(s=i.detailData)==null?void 0:s.tripodPhoto)!=null&&o.length?(a(),l("div",V,[(a(!0),l(g,null,D(i.detailData.tripodPhoto,(u,n)=>(a(),v(f,{key:n,class:"imgBox mr-8",src:u.url,"initial-index":n,"preview-src-list":i.detailData.tripodPhoto.map(_=>_.url),fit:"cover"},{error:t(()=>[x("div",Y,[e(h,null,{default:t(()=>[e(m)]),_:1})])]),_:2},1032,["src","initial-index","preview-src-list"]))),128))])):(a(),l("span",j,"-"))]}),_:1})]),_:1}),e(d,{span:8},{default:t(()=>[e(c,{label:"\u533B\u7597\u5305\u7167\u7247"},{default:t(()=>{var s,o;return[(o=(s=i.detailData)==null?void 0:s.medicalKitPhoto)!=null&&o.length?(a(),l("div",q,[(a(!0),l(g,null,D(i.detailData.medicalKitPhoto,(u,n)=>(a(),v(f,{key:n,class:"imgBox mr-8",src:u.url,"initial-index":n,"preview-src-list":i.detailData.medicalKitPhoto.map(_=>_.url),fit:"cover"},{error:t(()=>[x("div",C,[e(h,null,{default:t(()=>[e(m)]),_:1})])]),_:2},1032,["src","initial-index","preview-src-list"]))),128))])):(a(),l("span",K,"-"))]}),_:1})]),_:1})]),_:1}),e(p,{gutter:30},{default:t(()=>[e(d,{span:8},{default:t(()=>[e(c,{label:"\u706D\u706B\u5668\u7167\u7247"},{default:t(()=>{var s,o;return[(o=(s=i.detailData)==null?void 0:s.extinguisherPhoto)!=null&&o.length?(a(),l("div",M,[(a(!0),l(g,null,D(i.detailData.extinguisherPhoto,(u,n)=>(a(),v(f,{key:n,class:"imgBox mr-8",src:u.url,"initial-index":n,"preview-src-list":i.detailData.extinguisherPhoto.map(_=>_.url),fit:"cover"},{error:t(()=>[x("div",N,[e(h,null,{default:t(()=>[e(m)]),_:1})])]),_:2},1032,["src","initial-index","preview-src-list"]))),128))])):(a(),l("span",F,"-"))]}),_:1})]),_:1}),e(d,{span:8},{default:t(()=>[e(c,{label:"\u706D\u706B\u5668\u751F\u4EA7\u65E5\u671F"},{default:t(()=>[P(y(i.detailData.extinguisherProdDate?w(b)(i.detailData.extinguisherProdDate).format("YYYY-MM-DD"):"-"),1)]),_:1})]),_:1}),e(d,{span:8},{default:t(()=>[e(c,{label:"\u6709\u6548\u671F\u9650"},{default:t(()=>[i.detailData.extinguisherValidity?(a(),l("span",I,y(i.detailData.extinguisherValidity)+"\u5E74",1)):(a(),l("span",O,"-"))]),_:1})]),_:1})]),_:1})])}}});export{z as default};