LAPTOP-UBJMM5MG\user 2 months ago
parent
commit
5cae5fef82
1 changed files with 10 additions and 2 deletions
  1. 10 2
      pages/index/components/enterpriseSide.vue

+ 10 - 2
pages/index/components/enterpriseSide.vue

@@ -177,7 +177,7 @@ export default {
           label: "活动报名",
           url: "https://www.idea-sf.com/gardenProduct/image/hdbmIcon.png",
           path: "/pages/subPackages/parkActivity/index",
-          // isMustCompany: true,
+          isMustCompany: true,
         },
         {
           label: "入驻申请",
@@ -204,6 +204,7 @@ export default {
           label: "资源预约",
           url: "https://www.idea-sf.com/gardenProduct/image/zyyyIcon.png",
           path: "/pages/subPackages/resourceReservation_manage/index",
+          isMustCompany: true,
         },
       ],
     };
@@ -374,6 +375,12 @@ export default {
     },
     jumpPage(path, isMustCompany) {
       console.log(path);
+      if (!path){
+        uni.showModal({
+          title: "待开发,敬请期待",
+        })
+        return
+      }
       if (isMustCompany && getUserLocalStorageInfo().userType == 3) {
         uni.showModal({
           title: "提示",
@@ -403,7 +410,6 @@ export default {
       }
     },
     clickTab(item) {
-      // this.selectTab = item.name;
       if (item.name==='周边'){
         uni.navigateTo({
           url:'/pages/subPackages/peripheralService/index'
@@ -412,6 +418,8 @@ export default {
         uni.navigateTo({
           url:'/pages/subPackages/housingResources/index'
         })
+      }else{
+        this.selectTab = item.name;
       }
     },
   },