"use strict";const e=require("../../../common/vendor.js"),o=require("./method.js"),r=require("./model.js"),s=require("../../../gen/Enums.js");if(require("../../../gen/Apis.js"),require("../../../common/libraries/request.js"),require("../../../common/store/useWeAppAuthStore.js"),require("../../../common/libraries/setTabBar.js"),require("../../../common/libraries/apiLoading.js"),require("../../../common/store/useWorkStore.js"),require("../../../common/libraries/userUserLogin.js"),!Array){e.resolveComponent("cc-scroll-loading")()}Math;const t=e.defineComponent({__name:"index",setup:t=>(e.onLoad((()=>{var e;null==(e=o.method)||e.getList()})),e.onUnload((()=>{r.useModel.listData.value=[],r.useModel.metaData.value={page:1}})),(t,u)=>{var i,n,l,a,d;return{a:e.f(null==(n=null==(i=e.unref(r.useModel))?void 0:i.listData)?void 0:n.value,((o,r,t)=>{var u,i,n;return{a:e.t(null==(u=e.unref(s.GoodsReleasesStatusEnum)[o.status])?void 0:u.text),b:e.n(`value status status_${o.status}`),c:e.t((null==(i=null==o?void 0:o.asset_house)?void 0:i.full_name)||"-"),d:e.t((null==o?void 0:o.visit_start_time)||"-"),e:e.t((null==o?void 0:o.visit_end_time)||"-"),f:e.t((null==(n=e.unref(s.VisitReasonEnum)[null==o?void 0:o.visit_reason])?void 0:n.text)||"-"),g:`item_${r}`}})),b:e.o(null==(l=e.unref(o.method))?void 0:l.loadMore),c:e.p({meta:null==(d=null==(a=e.unref(r.useModel))?void 0:a.metaData)?void 0:d.value})}})});wx.createPage(t);
