"use strict";const e=require("../../common/vendor.js"),o=require("./model.js"),l=require("../../gen/Apis.js"),u=require("../../common/libraries/apiLoading.js"),i=require("../../common/libraries/userUserLogin.js"),n={getList(){var i,n;u.getApiLoading(l.Apis.Customer.CustomerHouses.List,null==(n=null==(i=o.useModel)?void 0:i.formData)?void 0:n.value).then(l=>{o.useModel.showData.value=null==l?void 0:l.data,(null==l?void 0:l.data)?o.useModel.loading.value=!0:e.index.reLaunch({url:"/CUSTOMER/bind_house/index"}),console.log(l)})},handleBindHouse(){var l,u,n,s,d,a,r,t,v;(null==(l=i.getUser)?void 0:l.toPageLogin())||e.index.navigateTo({url:`/CUSTOMER/bind_house/index?phone=${null==(d=null==(s=null==(n=null==(u=o.useModel)?void 0:u.showData)?void 0:n.value)?void 0:s.customer)?void 0:d.customer_phone}&name=${null==(v=null==(t=null==(r=null==(a=o.useModel)?void 0:a.showData)?void 0:r.value)?void 0:t.customer)?void 0:v.customer_name}`})}};exports.method=n;
