"use strict";const e=require("../../../common/vendor.js"),o=require("../../../common/libraries/userUserLogin.js"),r=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 n=e.defineComponent({__name:"ShowData",setup(n){const u=e.ref(!1),a=r=>{var n;e.index.navigateTo({url:(null==(n=o.getUser)?void 0:n.getLoginStatus())?r||"":"/pages/login"})};return e.onMounted(async()=>{var n,a,t,l;await(null==(n=e.getCurrentInstance())?void 0:n.appContext.config.globalProperties.$onLaunched),u.value=null==(a=o.getUser)?void 0:a.getLoginStatus(),console.log("useModel?.userData?.value",null==(l=null==(t=r.useModel)?void 0:t.userData)?void 0:l.value)}),e.onShow(async()=>{var n,a,t,l;await(null==(n=e.getCurrentInstance())?void 0:n.appContext.config.globalProperties.$onLaunched),u.value=null==(a=o.getUser)?void 0:a.getLoginStatus(),console.log("useModel?.userData?.value",null==(l=null==(t=r.useModel)?void 0:t.userData)?void 0:l.value)}),(o,n)=>{var t,l,s,i,d,v;return{a:e.t(u.value?(null==(s=null==(l=null==(t=e.unref(r.useModel))?void 0:t.userData)?void 0:l.value)?void 0:s.arrearage_house_num)||"0":"-"),b:e.o(e=>a("/BILL/outstanding_fee/index/index")),c:e.t(u.value?(null==(v=null==(d=null==(i=e.unref(r.useModel))?void 0:i.userData)?void 0:d.value)?void 0:v.work_order_num)||"0":"-"),d:e.o(e=>a("/WORKORDER/list/index"))}}}}),u=e._export_sfc(n,[["__scopeId","data-v-68771633"]]);wx.createComponent(u);
