"use strict";const e=require("../../gen/Apis.js"),a=require("../../common/libraries/apiLoading.js"),l=require("./model.js"),o=()=>{var o,s;a.getApiLoading(e.Apis.Archive.HouseOccupants.GetHouseOccupants,null==(s=null==(o=l.useModel)?void 0:o.formData)?void 0:s.value).then(e=>{l.useModel.listData.value=[...l.useModel.listData.value,...(null==e?void 0:e.data)||[]],l.useModel.metaData.value=null==e?void 0:e.meta,console.log(e)})},s={handleSearch(){l.useModel.formData.value.page=1,l.useModel.listData.value=[],o()},getList:o,handleLoad(e){l.useModel.formData.value.page=e,o()}};exports.method=s;
