"use strict";const e=require("../../../common/vendor.js"),r=require("../../../common/libraries/getPageConfig.js"),l=require("../method.js"),a=require("../model.js");if(require("../../../common/store/useWeAppAuthStore.js"),require("../../../gen/Apis.js"),require("../../../common/libraries/request.js"),require("../../../common/store/useWorkStore.js"),require("../../../common/libraries/setTabBar.js"),require("../../../common/libraries/apiLoading.js"),!Array){e.resolveComponent("hs-tabs")()}Math;const o=e.defineComponent({__name:"header",setup(o){const n=[{label:"报修类",value:"Repair"},{label:"报事类",value:"Incident"},{label:"投诉类",value:"Complaint"}],u=[{label:"全部",value:""},{label:"待处理",value:"Pending"},{label:"处理中",value:"Processing"},{label:"待支付",value:"PendingPayment"},{label:"待验收",value:"PendingAcceptance"},{label:"已完成",value:"Completed"},{label:"已关闭",value:"Closed"}];return(o,s)=>{var t,i,d;return{a:e.o(null==(t=e.unref(l.method))?void 0:t.handleChangeTabs),b:e.p({list:n,current:null==(d=null==(i=e.unref(a.useModel))?void 0:i.currentTabs)?void 0:d.value}),c:e.f(u,((o,n,u)=>{var s,t,i;return{a:e.t(null==o?void 0:o.label),b:`items_${n}`,c:e.s((null==(i=null==(t=null==(s=e.unref(a.useModel))?void 0:s.formData)?void 0:t.value)?void 0:i.status)===(null==o?void 0:o.value)?e.unref(r.getBorderColorInfo)():""),d:e.o((r=>{var a;return null==(a=e.unref(l.method))?void 0:a.handleChangeStatus(o)}),`items_${n}`)}}))}}}}),n=e._export_sfc(o,[["__scopeId","data-v-8a25b955"]]);wx.createComponent(n);
