"use strict";const e=require("../../../common/vendor.js"),n=require("../../../gen/Enums.js"),o=require("../model.js");if(!Array){(e.resolveComponent("hs-empty")+e.resolveComponent("hs-enum-tag")+e.resolveComponent("up-steps-item")+e.resolveComponent("up-steps"))()}Math||((()=>"../../../components/hs-empty/hs-empty.js")+(()=>"../../../components/hs-enum-tag/hs-enum-tag.js")+(()=>"../../../node-modules/uview-plus/components/u-steps-item/u-steps-item.js")+(()=>"../../../node-modules/uview-plus/components/u-steps/u-steps.js"))();const l=e.defineComponent({__name:"ProcessLogs",setup:l=>(l,t)=>{var s,u,a,r,d,i,m,v,p,c,f;return e.e({a:!(null==(a=null==(u=null==(s=e.unref(o.useModel))?void 0:s.logsData)?void 0:u.value)?void 0:a.length)},(null==(i=null==(d=null==(r=e.unref(o.useModel))?void 0:r.logsData)?void 0:d.value)||i.length,{}),{b:e.f(null==(v=null==(m=e.unref(o.useModel))?void 0:m.logsData)?void 0:v.value,(o,l,t)=>({a:"617bf678-3-"+t+",617bf678-2-"+t,b:e.p({value:null==o?void 0:o.status,Enums:e.unref(n.HouseWorkOrdersStatusEnum)}),c:e.t(null==o?void 0:o.description),d:e.f(null==o?void 0:o.attachments,(n,l,t)=>({a:null==n?void 0:n.url,b:e.o(n=>((n,o)=>{let l=(null==n?void 0:n.map(e=>null==e?void 0:e.url))||[];e.index.previewImage({urls:l,current:o})})(null==o?void 0:o.attachments,l),`attachment_${l}`),c:`attachment_${l}`})),e:e.t(null==o?void 0:o.created_at),f:`log_item_${l}`,g:"617bf678-2-"+t+",617bf678-1"})),c:e.p({direction:"column",dot:!0,current:(null==(f=null==(c=null==(p=e.unref(o.useModel))?void 0:p.logsData)?void 0:c.value)?void 0:f.length)-1})})}}),t=e._export_sfc(l,[["__scopeId","data-v-617bf678"]]);wx.createComponent(t);
