"use strict";const e=require("../../../common/vendor.js"),s=require("../list/model.js"),o=require("../list/method.js");if(require("../../../common/libraries/apiLoading.js"),require("../../../gen/Apis.js"),require("../../../common/libraries/request.js"),require("../../../common/store/useWeAppAuthStore.js"),require("../../../common/libraries/setTabBar.js"),require("../../../common/store/useWorkStore.js"),require("../../../common/libraries/naviHelper.js"),!Array){(e.resolveComponent("hs-tabs")+e.resolveComponent("hs-popup-house")+e.resolveComponent("hs-year-picker"))()}Math||((()=>"../../../components/hs-tabs/hs-tabs.js")+(()=>"../../../components/hs-popup-house/hs-popup-house.js")+(()=>"../../../components/hs-year-picker/hs-year-picker.js"))();const r=e.defineComponent({__name:"Tabs",emits:["change"],setup(r,{emit:a}){let t=[{label:"待缴账单",value:["PendingPayment","Overdue"]},{label:"已缴账单",value:["Paid"]}];const n=e=>{var r,a;console.log(e,"切换tab"),s.useModel.currentTabs.value=e,s.useModel.formData.value.bill_status=null==(r=t[e])?void 0:r.value,s.useModel.formData.value.page=1,s.useModel.items.value=[],null==(a=o.method)||a.handleGetList()},u=e=>{a("change",{asset_houses_id:e})},i=e=>{a("change",{year:e})};return(o,r)=>({a:e.o(n),b:e.p({list:e.unref(t),current:e.unref(s.useModel).currentTabs.value}),c:e.o(u),d:e.p({baseStyle:{maxWidth:"360rpx"}}),e:e.o(i)})}}),a=e._export_sfc(r,[["__scopeId","data-v-c72327fc"]]);wx.createComponent(a);
