"use strict";const e=require("../../gen/Apis.js"),o=require("./model.js");require("../../common/libraries/request.js");const s=require("../../common/store/useWeAppAuthStore.js");require("../../common/store/useWorkStore.js");const t=require("../../common/libraries/apiLoading.js");require("../../common/libraries/userUserLogin.js"),require("../../common/vendor.js"),s.useWeAppAuthStore();const a=()=>{var s,a;t.getApiLoading(e.Apis.Activity.ActivityEnrolls.List,null==(a=null==(s=o.useModel)?void 0:s.formData)?void 0:a.value).then((e=>{o.useModel.listData.value=[...o.useModel.listData.value,...e.data],o.useModel.metaData.value=e.meta,console.log(e)}))},r={getList:a,loadMore(e){o.useModel.formData.value.page=e,this.getList()},handleTabsChange(e,s){o.useModel.currentTabs.value=e,o.useModel.formData.value={page:1,status:null==s?void 0:s.value},o.useModel.listData.value=[],a(),console.log(e,"e")}};exports.method=r;
