"use strict";const e=require("../../../common/vendor.js");require("../../../common/libraries/request.js"),require("../../../common/store/useWatermarkStore.js");const o=require("../../../common/store/useWeAppAuthStore.js");require("../../../common/store/useWorkStore.js");const r=require("./method.js"),u=require("./model.js");if(require("../../../gen/Apis.js"),require("../../../common/libraries/apiLoading.js"),require("../../../common/libraries/naviHelper.js"),require("../../../common/libraries/userUserLogin.js"),!Array){e.resolveComponent("u-search")()}Math||((()=>"../../../node-modules/uview-plus/components/u-search/u-search.js")+s+l)();const s=()=>"./components/MeHouseItem.js",l=()=>"./components/MeProjectItem.js",n=e.defineComponent({__name:"index",setup:s=>(o.useWeAppAuthStore(),e.onLoad(e=>{var o;u.useModel.dataList.value=[],u.useModel.selectType.value=null==e?void 0:e.type,null==(o=r.method)||o.handleLoadMore(1)}),(o,s)=>{var l,n,t,a,i,m,d,c,p;return e.e({a:e.o(null==(l=e.unref(r.method))?void 0:l.onSearch),b:e.o(o=>e.unref(u.useModel).formData.value.name=o),c:e.p({placeholder:"请输入关键词搜索",showAction:!1,modelValue:e.unref(u.useModel).formData.value.name}),d:"work_add"===(null==(t=null==(n=e.unref(u.useModel))?void 0:n.selectType)?void 0:t.value)},(null==(i=null==(a=e.unref(u.useModel))?void 0:a.selectType)||i.value,{}),{e:"meter"===(null==(d=null==(m=e.unref(u.useModel))?void 0:m.selectType)?void 0:d.value)},(null==(p=null==(c=e.unref(u.useModel))?void 0:c.selectType)||p.value,{}))})});wx.createPage(n);
