"use strict";const e=require("../../../common/vendor.js"),o=require("../../../common/libraries/apiLoading.js"),r=require("../../../gen/Apis.js"),s=require("./model.js");require("../../../common/libraries/request.js"),require("../../../common/store/useWatermarkStore.js");const t=require("../../../common/store/useWeAppAuthStore.js");require("../../../common/store/useWorkStore.js"),t.useWeAppAuthStore();const i=()=>{var e,t;o.getApiLoading(r.Apis.Msg.MsgPropertyAnnouncements.List,null==(t=null==(e=s.useModel)?void 0:e.formData)?void 0:t.value).then(e=>{s.useModel.listData.value=[...s.useModel.listData.value,...null==e?void 0:e.data],s.useModel.metaData.value=null==e?void 0:e.meta,console.log(e)})},u={getList:i,loadMore(e){s.useModel.formData.value.page=null==e?void 0:e.page,i()},toDetaile(o){e.index.navigateTo({url:`/ME/announcement/show/index?id=${null==o?void 0:o.id}`})}};exports.method=u;
