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