"use strict";const e=require("../../../common/vendor.js"),o=require("../../../common/libraries/IsHouseExist.js"),n=require("../model.js");require("../../../common/libraries/request.js");const i=require("../../../common/store/useWeAppAuthStore.js");require("../../../common/store/useWorkStore.js"),require("../../../gen/Apis.js"),require("../../../common/libraries/setTabBar.js"),require("../../../common/libraries/apiLoading.js");const l=e.defineComponent({__name:"Classification",setup(l){const s=i.useWeAppAuthStore(),r=e.ref({}),u=e=>{r.value=e.detail};return(i,l)=>{var r,t,c;return{a:e.f(null==(c=null==(t=null==(r=e.unref(s))?void 0:r.data)?void 0:t.config)?void 0:c.companyAction,((i,l,s)=>{var r,u,t,c,a,d,m,v;return e.e({a:null==i?void 0:i.is_show},(null==i?void 0:i.is_show)?e.e({b:(null==(u=null==(r=i.icon)?void 0:r[0])?void 0:u.url)||"",c:!l&&(null==(c=null==(t=e.unref(n.useModel))?void 0:t.countBills)?void 0:c.value)},!l&&(null==(d=null==(a=e.unref(n.useModel))?void 0:a.countBills)?void 0:d.value)?{d:e.t(null==(v=null==(m=e.unref(n.useModel))?void 0:m.countBills)?void 0:v.value)}:{},{e:e.t(i.name),f:e.o((n=>(async n=>{o.getIsHouseExist(n)&&((null==n?void 0:n.skip_url)?e.index.navigateTo({url:null==n?void 0:n.skip_url}):e.index.showModal({title:"提示",content:"该功能在当前项目暂未开放，敬请期待",confirmColor:"#0082FA",success:function(e){e.confirm?console.log("用户点击确定"):e.cancel&&console.log("用户点击取消")}}))})(i)),`items_${l}`)}):{},{g:`items_${l}`})})),b:e.o(u)}}}}),s=e._export_sfc(l,[["__scopeId","data-v-c966f7e1"]]);wx.createComponent(s);
