From 21b3d6e90ee899f878c5533bb1c75ff62ab09fda Mon Sep 17 00:00:00 2001
From: zxl <763096477@qq.com>
Date: 星期五, 14 三月 2025 13:55:03 +0800
Subject: [PATCH] 首页项目状态

---
 src/views/components/Map/index.vue |   24 +++++++++---------------
 1 files changed, 9 insertions(+), 15 deletions(-)

diff --git a/src/views/components/Map/index.vue b/src/views/components/Map/index.vue
index 2b838fd..1ae6373 100644
--- a/src/views/components/Map/index.vue
+++ b/src/views/components/Map/index.vue
@@ -280,18 +280,12 @@
       }
     },
     showProjectStatusStr(status) {
+      console.log(status)
       switch (status) {
-        case "1":
-          return "鍌ㄥ椤圭洰";
-        case "2":
-          return "鍓嶆湡椤圭洰";
-        case "3":
-          return "瀹炴柦椤圭洰";
-        case "4":
-          return "绔e伐椤圭洰";
-        case "5":
-          return "寮傚父椤圭洰";
-
+        case "pendding":
+          return "鏈紑宸�";
+        case "working":
+          return "宸插紑宸�";
         default:
           return "寮傚父椤圭洰";
       }
@@ -410,11 +404,11 @@
             ? item.yearInvestAmount + "鍏�"
             : "鏆傛棤鏁版嵁",
           projectAddr: item.projectAddress,
-          projectStatus: item.usedStatus,
+          projectStatus: item.projectStatus,
         };
-       
+
         _this.makeMask(item.longitude, item.latitude, config);
-        
+
         if (item.longitude && item.longitude > maxX) {
           maxX = item.longitude;
         }
@@ -428,7 +422,7 @@
           minY = item.latitude;
         }
       });
-      
+
       this.moveTo(
         (parseFloat(maxX) + parseFloat(minX)) / 2,
         (parseFloat(maxY) + parseFloat(minY)) / 2

--
Gitblit v1.8.0