import{y as a,R as l,Q as s}from"./element-plus-DSMJnpwa.js";import{d as e}from"./index-mv7arXuk.js";/* empty css                    *//* empty css                        *//* empty css               */import{_ as i}from"./index-9_f6rNAP.js";import{g as d}from"./index-CntFynGg.js";import{B as t,g as c,a4 as o,aE as v,aB as n,H as u,L as r,M as p,P as m,O as b,Y as f,Z as x,d as g}from"./vue-vendor-DZekML78.js";import"./utils-cPVb2Haz.js";const y={class:"AddBuildingBox"},h={class:"AddBuildingBody"},B={class:"title flex flex-justify-between flex-items-center"},_={class:"addBuildingFormBody"},j={class:"infobox"},k={class:"value"},N={class:"infobox"},T={class:"value"},A={class:"infobox"},w={class:"value"},C={class:"infobox"},I={class:"value"},R={class:"infobox"},q={class:"value"},E={class:"infobox"},L={class:"value"},M={class:"infobox"},Q={class:"value"},D={class:"infobox"},F={class:"value"},H={class:"infobox"},O={class:"value"},P={class:"AddBuildingBody"},S={class:""},Y=e(t({__name:"RecordMain",setup(e){const{proxy:t}=c(),{com_pay_method:Y}=o(t?.useDict("com_pay_method")),Z=v(),z=n(),G=g(),J=g(null);z.query.id&&(J.value=z.query.id,d(J.value).then(a=>{G.value={...a.data}}));const K=()=>{Z.push({path:"/carArea/monthCard"})};return(e,d)=>{const t=a,c=l,o=s;return u(),r("div",y,[p(i,{title:"记录详情"}),m("div",h,[m("div",B,[d[1]||(d[1]=m("span",null,"基本信息",-1)),p(t,{onClick:K},{default:b(()=>[...d[0]||(d[0]=[f("返回",-1)])]),_:1})]),m("div",_,[m("div",j,[d[2]||(d[2]=m("div",{class:"label"},"任务名称 :",-1)),m("div",k,x(G.value.taskName),1)]),m("div",N,[d[3]||(d[3]=m("div",{class:"label"},"巡更人员 :",-1)),m("div",T,x(G.value.inspectorName),1)]),m("div",A,[d[4]||(d[4]=m("div",{class:"label"},"关联计划 :",-1)),m("div",w,x(G.value.planName),1)]),m("div",C,[d[5]||(d[5]=m("div",{class:"label"},"开始时间 :",-1)),m("div",I,x(G.value.actualStartTime),1)]),m("div",R,[d[6]||(d[6]=m("div",{class:"label"},"结束时间 :",-1)),m("div",q,x(G.value.actualEndTime),1)]),m("div",E,[d[7]||(d[7]=m("div",{class:"label"},"执行状态 :",-1)),m("div",L,x(G.value.statusLabel),1)]),m("div",M,[d[8]||(d[8]=m("div",{class:"label"},"创建人 :",-1)),m("div",Q,x(G.value.createByName),1)]),m("div",D,[d[9]||(d[9]=m("div",{class:"label"},"创建时间 :",-1)),m("div",F,x(G.value.createTime),1)]),m("div",H,[d[10]||(d[10]=m("div",{class:"label"},"更新时间 :",-1)),m("div",O,x(G.value.updateTime),1)])])]),m("div",P,[d[11]||(d[11]=m("div",{class:"title"},"巡检记录",-1)),m("div",S,[p(o,{data:G.value.details,style:{width:"100%"}},{default:b(()=>[p(c,{type:"index",align:"center",label:"序号",width:"85"}),p(c,{prop:"pointName",align:"center",label:"巡检点"}),p(c,{prop:"checkTime",align:"center",label:" 巡检时间"}),p(c,{prop:"location",align:"center",label:"巡检地址"}),p(c,{prop:"checkResult",align:"center",label:"巡检结果"}),p(c,{prop:"photos",align:"center",label:"图片"})]),_:1},8,["data"])])])])}}}),[["__scopeId","data-v-bf3bb172"]]);export{Y as default};
