"use strict";const e=require("../../../common/vendor.js"),l=require("./method.js"),u=require("./model.js");require("../../../common/libraries/apiLoading.js"),require("../../../gen/Apis.js"),require("../../../common/libraries/request.js"),require("../../../common/store/useWeAppAuthStore.js"),require("../../../common/store/useWatermarkStore.js"),require("../../../common/store/useWorkStore.js");const o=e.defineComponent({__name:"index",setup:o=>(e.onLoad(e=>{var u;null==(u=l.method)||u.getShow(e)}),(o,n)=>{var r,a,d,i,s,v,t,m,h,_,f,c,w,M,D,g,p,j,q,y,b,k,S,W,A,$,x,L,P,C,E,z,B,F,G,H,I,J,K,N,O,Q,R,T,U,V;return e.e({a:"WaterMeter"===(null==(i=null==(d=null==(a=null==(r=e.unref(u.useModel))?void 0:r.showData)?void 0:a.value)?void 0:d.house_meter)?void 0:i.usage_type)},(null==(m=null==(t=null==(v=null==(s=e.unref(u.useModel))?void 0:s.showData)?void 0:v.value)?void 0:t.house_meter)||m.usage_type,{}),{b:"ElectricMeter"===(null==(c=null==(f=null==(_=null==(h=e.unref(u.useModel))?void 0:h.showData)?void 0:_.value)?void 0:f.house_meter)?void 0:c.usage_type)},(null==(g=null==(D=null==(M=null==(w=e.unref(u.useModel))?void 0:w.showData)?void 0:M.value)?void 0:D.house_meter)||g.usage_type,{}),{c:e.f(null==(y=null==(q=null==(j=null==(p=e.unref(u.useModel))?void 0:p.showData)?void 0:j.value)?void 0:q.house_meter)?void 0:y.house_meter_has_houses,(l,u,o)=>({a:e.t(null==l?void 0:l.full_name),b:`house_${u}`})),d:e.t((null==(W=null==(S=null==(k=null==(b=e.unref(u.useModel))?void 0:b.showData)?void 0:k.value)?void 0:S.house_meter)?void 0:W.name)||"-"),e:e.t((null==(x=null==($=null==(A=e.unref(u.useModel))?void 0:A.showData)?void 0:$.value)?void 0:x.current_reading)||"-"),f:e.t(null==(C=null==(P=null==(L=e.unref(u.useModel))?void 0:L.showData)?void 0:P.value)?void 0:C.reading_time),g:e.t((null==(F=null==(B=null==(z=null==(E=e.unref(u.useModel))?void 0:E.showData)?void 0:z.value)?void 0:B.company_employee)?void 0:F.name)||"-"),h:e.f(null==(I=null==(H=null==(G=e.unref(u.useModel))?void 0:G.showData)?void 0:H.value)?void 0:I.images,(u,o,n)=>({a:null==u?void 0:u.url,b:`attachment_${o}`,c:e.o(u=>{var n;return null==(n=e.unref(l.method))?void 0:n.handlePreview(o)},`attachment_${o}`)})),i:null==(N=null==(K=null==(J=e.unref(u.useModel))?void 0:J.showData)?void 0:K.value)?void 0:N.remark},(null==(R=null==(Q=null==(O=e.unref(u.useModel))?void 0:O.showData)?void 0:Q.value)?void 0:R.remark)?{j:e.t((null==(V=null==(U=null==(T=e.unref(u.useModel))?void 0:T.showData)?void 0:U.value)?void 0:V.remark)||"-")}:{})})});wx.createPage(o);
