"use strict";const e=require("../../../common/vendor.js"),r=require("../method.js"),l=require("../model.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-tabs")()}Math;const n=e.defineComponent({__name:"header",setup(n){const a=[{label:"报修类",value:"Repair"},{label:"报事类",value:"Incident"}],o=[{label:"全部",value:""},{label:"待处理",value:"Pending"},{label:"处理中",value:"Processing"},{label:"待支付",value:"PendingPayment"},{label:"待验收",value:"PendingAcceptance"},{label:"已完成",value:"Completed"},{label:"已关闭",value:"Closed"}];return(n,u)=>{var t,s,i;return{a:e.o(null==(t=e.unref(r.method))?void 0:t.handleChangeTabs),b:e.p({list:a,current:null==(i=null==(s=e.unref(l.useModel))?void 0:s.currentTabs)?void 0:i.value}),c:e.f(o,(n,a,o)=>{var u,t,s;return{a:e.t(null==n?void 0:n.label),b:`items_${a}`,c:e.n("item_btn "+((null==(s=null==(t=null==(u=e.unref(l.useModel))?void 0:u.formData)?void 0:t.value)?void 0:s.status)===(null==n?void 0:n.value)?"active_btn":"")),d:e.o(l=>{var a;return null==(a=e.unref(r.method))?void 0:a.handleChangeStatus(n)},`items_${a}`)}})}}}}),a=e._export_sfc(n,[["__scopeId","data-v-a2bee378"]]);wx.createComponent(a);
