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