"use strict";const e=require("../../common/vendor.js"),o=require("../../gen/Apis.js"),l=require("./model.js");require("../../common/libraries/request.js"),require("../../common/store/useWeAppAuthStore.js"),require("../../common/store/useWorkStore.js");const a=require("../../common/libraries/apiLoading.js"),s={getList:()=>{var e,s;a.getApiLoading(o.Apis.HouseOrder.HousePrepayments.List,null==(s=null==(e=l.useModel)?void 0:e.formData)?void 0:s.value).then((e=>{var o,a,s,n,r,u;l.useModel.nonPrepayableHouses.value=(null==(o=null==e?void 0:e.data)?void 0:o.nonPrepayableHouses)||[],l.useModel.prepayableHouses.value=(null==(a=null==e?void 0:e.data)?void 0:a.prepayableHouses)||[],l.useModel.metaData.value={current_page:1,last_page:1,per_page:10,total:(null==(n=null==(s=null==e?void 0:e.data)?void 0:s.prepayableHouses)?void 0:n.length)||(null==(u=null==(r=null==e?void 0:e.data)?void 0:r.nonPrepayableHouses)?void 0:u.length)||0},console.log(e)}))},loadMore(e){l.useModel.formData.value.page=e,this.getList()},handleClickHelp(){e.index.showModal({title:"提示",content:"开启后，您物业费预缴低于 100 元时，会收到小程序订阅号提醒，更省心。",showCancel:!1,confirmColor:"#0082FA",success:function(e){e.confirm?console.log("用户点击确定"):e.cancel&&console.log("用户点击取消")}})},goToPage(o){e.index.navigateTo({url:o})}};exports.method=s;
