"use strict";const e=require("../../../common/vendor.js"),o=require("../../../gen/Apis.js"),s=require("./model.js");require("../../../common/libraries/request.js");const r=require("../../../common/store/useWeAppAuthStore.js");require("../../../common/store/useWorkStore.js");const i=require("../../../common/libraries/apiLoading.js");require("../../../common/libraries/userUserLogin.js"),r.useWeAppAuthStore();const t={getList:()=>{var e,r;i.getApiLoading(o.Apis.GoodsReleases.GoodsReleases.MyList,null==(r=null==(e=s.useModel)?void 0:e.formData)?void 0:r.value).then((e=>{s.useModel.listData.value=[...s.useModel.listData.value,...e.data],s.useModel.metaData.value=e.meta,s.useModel.loadingStatus.value=!0,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;
