"use strict";const e=require("../../common/vendor.js"),n=require("../../gen/Enums.js"),o=require("./method.js"),i=require("./model.js");if(require("../../gen/Apis.js"),require("../../common/libraries/request.js"),require("../../common/store/useWeAppAuthStore.js"),require("../../common/libraries/apiLoading.js"),require("../../common/store/useWatermarkStore.js"),require("../../common/store/useWorkStore.js"),!Array){(e.resolveComponent("uni-icons")+e.resolveComponent("hs-enum-tag"))()}Math||((()=>"../../uni_modules/uni-icons/components/uni-icons/uni-icons.js")+(()=>"../../components/hs-enum-tag/hs-enum-tag.js"))();const u=e.defineComponent({__name:"index",setup:u=>(e.onLoad(e=>{var n;i.useModel.formData.value=e,null==(n=o.method)||n.getUserHoueInfo(null==e?void 0:e.phone),console.log(e)}),(u,l)=>{var r,s;return{a:e.f(null==(s=null==(r=e.unref(i.useModel))?void 0:r.userHouse)?void 0:s.value,(i,u,l)=>{var r,s,t,a;return e.e({a:e.t(null==(r=null==i?void 0:i.asset_project)?void 0:r.name),b:e.t(null==(s=null==i?void 0:i.asset_building)?void 0:s.name),c:e.t(null==(t=null==i?void 0:i.asset_unit)?void 0:t.name),d:e.t(null==(a=null==i?void 0:i.asset_house)?void 0:a.name),e:"40156cf0-0-"+l,f:e.o(n=>{return o=`/BILL/outstanding_fee/show/index?id=${null==i?void 0:i.asset_houses_id}`,void e.index.navigateTo({url:o});var o},`item_${u}`),g:"Owner"===(null==i?void 0:i.house_relation)},(null==i||i.house_relation,{}),{h:null==i?void 0:i.is_contact},(null==i||i.is_contact,{}),{i:null==i?void 0:i.residential_relation},(null==i?void 0:i.residential_relation)?{j:"40156cf0-1-"+l,k:e.p({Enums:e.unref(n.HouseOccupantsResidentialRelationEnum),value:null==i?void 0:i.residential_relation})}:{},{l:"Owner"!==(null==i?void 0:i.house_relation)},"Owner"!==(null==i?void 0:i.house_relation)?{m:e.o(n=>e.unref(o.method).handleUnbind(i),`item_${u}`)}:{},{n:`item_${u}`})}),b:e.p({type:"right",size:"13",color:"#999"}),c:e.p({type:"plus",size:"20"}),d:e.o((...n)=>{var i,u;return(null==(i=e.unref(o.method))?void 0:i.handleBindHouse)&&(null==(u=e.unref(o.method))?void 0:u.handleBindHouse(...n))})}})});wx.createPage(u);
