"use strict";const e=require("../../../common/vendor.js"),o=require("./model.js"),n=require("./method.js"),l=require("../../../gen/Enums.js"),s=require("../../../common/libraries/day.js");if(require("../../../common/libraries/apiLoading.js"),require("../../../gen/Apis.js"),require("../../../common/libraries/request.js"),require("../../../common/store/useWeAppAuthStore.js"),require("../../../common/store/useWatermarkStore.js"),require("../../../common/store/useWorkStore.js"),!Array){(e.resolveComponent("hs-enum-tag")+e.resolveComponent("hs-level")+e.resolveComponent("cc-scroll-loading"))()}Math||((()=>"../../../components/hs-enum-tag/hs-enum-tag.js")+(()=>"../../../components/hs-level/hs-level.js")+(()=>"../../../common/components/cc-scroll-loading/cc-scroll-loading.js"))();const u=e.defineComponent({__name:"index",setup:u=>(e.onShow(()=>{var e;o.useModel.formData.value.page=1,o.useModel.listData.value=[],null==(e=n.method)||e.getList()}),(u,r)=>{var t,a,i,m,d;return{a:e.f(null==(a=null==(t=e.unref(o.useModel))?void 0:t.listData)?void 0:a.value,(o,u,r)=>{var t,a;return e.e({a:"3377f082-1-"+r+",3377f082-0",b:e.p({value:null==o?void 0:o.type,Enums:e.unref(l.HouseWorkOrdersTypeEnum)}),c:null==o?void 0:o.location},(null==o?void 0:o.location)?{d:"3377f082-2-"+r+",3377f082-0",e:e.p({value:null==o?void 0:o.location,Enums:e.unref(l.HouseWorkOrdersLocationEnum)})}:{},{f:"Processing"===(null==o?void 0:o.status)},"Processing"===(null==o?void 0:o.status)?{g:"3377f082-3-"+r+",3377f082-0",h:e.p({level:null==o?void 0:o.level})}:{},{i:"3377f082-4-"+r+",3377f082-0",j:e.p({value:null==o?void 0:o.status,Enums:e.unref(l.HouseWorkOrdersStatusEnum)}),k:e.n(`btn_status status_${null==o?void 0:o.status}`),l:e.t((null==(t=null==o?void 0:o.asset_house)?void 0:t.full_name)||(null==(a=null==o?void 0:o.asset_project)?void 0:a.name)),m:e.t(null==o?void 0:o.content),n:e.t(e.unref(s.getDayTime)(null==o?void 0:o.expect_start_time)),o:e.t(e.unref(s.getDayTime)(null==o?void 0:o.created_at)),p:`items_${u}`,q:e.o(l=>{var s;return null==(s=e.unref(n.method))?void 0:s.handleToDetail(o)},`items_${u}`)})}),b:e.o(null==(i=e.unref(n.method))?void 0:i.handleLoad),c:e.p({meta:null==(d=null==(m=e.unref(o.useModel))?void 0:m.metaData)?void 0:d.value})}})});wx.createPage(u);
