"use strict";const e=require("../../../common/vendor.js"),a=require("./model.js"),o=require("../../../common/libraries/apiLoading.js"),i=require("../../../gen/Apis.js"),l=()=>{var e,l;o.getApiLoading(i.Apis.WorkOrder.HouseWorkOrders.UnassignedList,null==(l=null==(e=a.useModel)?void 0:e.formData)?void 0:l.value).then(e=>{a.useModel.listData.value=[...a.useModel.listData.value,...null==e?void 0:e.data],a.useModel.metaData.value=null==e?void 0:e.meta})},d={getList:l,handleLoad(e){a.useModel.formData.value.page=null==e?void 0:e.page,l()},handleToDetail(a){e.index.navigateTo({url:`/INDEX/task/show/index?id=${null==a?void 0:a.id}`})}};exports.method=d;
