"use strict";const e=require("../../../common/vendor.js"),o=require("../../../common/libraries/userUserLogin.js"),n=require("../model.js");require("../../../common/libraries/request.js"),require("../../../common/store/useWeAppAuthStore.js"),require("../../../gen/Apis.js"),require("../../../common/store/useWatermarkStore.js"),require("../../../common/store/useWorkStore.js"),require("../../../common/libraries/apiLoading.js");const l=e.defineComponent({__name:"Classification",setup(l){const i=[{label:"新增工单",icon:"workorder_icon.svg",url:"/ME/work_order_home/index"},{label:"房屋管理",icon:"house_icon.svg",url:"/CUSTOMER/list_house/index"},{label:"任务中心",icon:"task_icon.svg",url:"/INDEX/task/list/index",key:"houseWorkOrderCount"},{label:"仪表抄表",icon:"meter_reading_icon.svg",url:"/ME/instrument/list/index"},{label:"水印相机",icon:"WatermarkCamera.svg",url:"/INDEX/watermark_camera/index"},{label:"客户管理",icon:"user_icon.svg",url:"/CUSTOMER/list_user/index"},{label:"数据看板",icon:"performance_icon.svg",url:"/pages/data_oard/index"},{label:"住户登记",icon:"household_registration.svg",url:"/CUSTOMER/bind_house_form/index"},{label:"催缴记录",icon:"collection_icon.svg",url:"/BILL/collection_record/index/index"},{label:"公告",icon:"announcement.svg",url:"/ME/announcement/list/index"}];return(l,r)=>({a:e.f(i,((l,i,r)=>{var s,u,t,a,c,d,v,m,_;return e.e({a:`/static/svg/${l.icon}`,b:(null==l?void 0:l.key)&&(null==(t=null==(u=null==(s=e.unref(n.useModel))?void 0:s.IndexCount)?void 0:u.value)?void 0:t[null==l?void 0:l.key])},(null==l?void 0:l.key)&&(null==(d=null==(c=null==(a=e.unref(n.useModel))?void 0:a.IndexCount)?void 0:c.value)?void 0:d[null==l?void 0:l.key])?{c:e.t((null==(_=null==(m=null==(v=e.unref(n.useModel))?void 0:v.IndexCount)?void 0:m.value)?void 0:_[null==l?void 0:l.key])||0)}:{},{d:e.t(l.label),e:`items_${i}`,f:e.o((n=>(n=>{var l;n?e.index.navigateTo({url:(null==(l=o.getUser)?void 0:l.getLoginStatus())?n||"":"/pages/login"}):e.index.showModal({title:"提示",content:"该功能暂未开放，敬请期待",confirmColor:"#0082FA",success:function(e){e.confirm?console.log("用户点击确定"):e.cancel&&console.log("用户点击取消")}})})(null==l?void 0:l.url)),`items_${i}`)})}))})}}),i=e._export_sfc(l,[["__scopeId","data-v-9f61501c"]]);wx.createComponent(i);
