"use strict";const e=require("../../common/vendor.js"),o=require("../../gen/Apis.js"),a=require("../../common/libraries/apiLoading.js"),n=require("./model.js"),s=require("../../common/libraries/sendWxWork.js"),l={handleMakePhoneCall(){var o,a;(null==(o=n.useModel.showData.value)?void 0:o.phone)&&e.index.makePhoneCall({phoneNumber:null==(a=n.useModel.showData.value)?void 0:a.phone})},getShow(e){a.getApiLoading(o.Apis.Archive.HouseOccupants.Show,{id:e}).then(e=>{var s,l,i;n.useModel.showData.value=null==e?void 0:e.data,i=null==(s=null==e?void 0:e.data)?void 0:s.phone,a.getApiLoading(o.Apis.Archive.HouseOccupants.GetHouseOccupantsByPhone,{phone:i}).then(e=>{n.useModel.userHouse.value=null==e?void 0:e.data,console.log(e)}),(e=>{a.getApiLoading(o.Apis.Bill.HouseBills.GetOccupantArrearageHouses,{phone:e}).then(e=>{n.useModel.arrearageHouses.value=null==e?void 0:e.data,console.log(e)})})(null==(l=null==e?void 0:e.data)?void 0:l.phone),console.log(e)})},shareBill(){s.navigateToMiniProgram({path:"/pages/forward/index?source=OutstandingFeeList",envVersion:"develop",extraData:{source:"OutstandingFeeList"}})}};exports.method=l;
