"use strict";const e=require("../../common/vendor.js"),o=require("../../common/libraries/userUserLogin.js"),l=require("./method.js"),n=require("./model.js");if(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"),!Array){(e.resolveComponent("hs-empty")+e.resolveComponent("cc-scroll-loading")+e.resolveComponent("cc-root-view"))()}Math||(t+(()=>"../../components/hs-empty/hs-empty.js")+i+a+u+(()=>"../../common/components/cc-scroll-loading/cc-scroll-loading.js")+(()=>"../../common/components/cc-root-view/cc-root-view.js"))();const a=()=>"./components/Classification.js",t=()=>"./components/HeaderTitle.js",i=()=>"./components/ShowData.js",u=()=>"./components/ToDeDone.js",s=e.defineComponent({__name:"index",setup:a=>(e.onShow(async()=>{var a,t,i,u,s,r;await(null==(a=e.getCurrentInstance())?void 0:a.appContext.config.globalProperties.$onLaunched),null==(t=l.method)||t.getPageRole(),(null==(i=o.getUser)?void 0:i.getLoginStatus())?(n.useModel.formData.value.page=1,n.useModel.listData.value=[],null==(u=l.method)||u.getCountGridHouse(),null==(s=l.method)||s.getCompanyEmployeeBacklogs(),null==(r=l.method)||r.getIndexCount()):(n.useModel.userData.value=void 0,n.useModel.listData.value=[],n.useModel.metaData.value={total:0})}),e.onShareAppMessage(()=>({title:"",path:"/pages/index/index"})),e.onShareTimeline(()=>({title:"",path:"/pages/index/index"})),(o,a)=>{var t,i,u,s,r,d,m,c,v,g,p,h,f,j,y;return e.e({a:(null==(i=null==(t=e.unref(n.useModel))?void 0:t.loadingPage)?void 0:i.value)&&!(null==(r=null==(s=null==(u=e.unref(n.useModel))?void 0:u.pageRole)?void 0:s.value)?void 0:r.length)},(null==(m=null==(d=e.unref(n.useModel))?void 0:d.loadingPage)?void 0:m.value)&&!(null==(g=null==(v=null==(c=e.unref(n.useModel))?void 0:c.pageRole)?void 0:v.value)?void 0:g.length)?{b:e.p({text:"暂无权限",iconName:"no_jurisdictio"})}:{c:e.f((null==(h=null==(p=e.unref(n.useModel))?void 0:p.pageRole)?void 0:h.value)||[],(o,l,n)=>e.e({a:"date"===(null==o?void 0:o.key)},"date"===(null==o?void 0:o.key)?{b:"76f3138a-4-"+n+",76f3138a-3"}:{},{c:"jingangarea"===(null==o?void 0:o.key)},"jingangarea"===(null==o?void 0:o.key)?{d:"76f3138a-5-"+n+",76f3138a-3",e:e.p({item:null==o?void 0:o.children})}:{},{f:"to_do_details"===(null==o?void 0:o.key)},"to_do_details"===(null==o?void 0:o.key)?{g:"76f3138a-6-"+n+",76f3138a-3"}:{},{h:null==o?void 0:o.key})),d:e.o(null==(f=e.unref(l.method))?void 0:f.loadMore),e:e.p({meta:null==(y=null==(j=e.unref(n.useModel))?void 0:j.metaData)?void 0:y.value})})})});s.__runtimeHooks=6,wx.createPage(s);
