diff --git a/src/views/demo/jobarea/index.vue b/src/views/demo/jobarea/index.vue
index aeeb8d1..8bd8f43 100644
--- a/src/views/demo/jobarea/index.vue
+++ b/src/views/demo/jobarea/index.vue
@@ -8,6 +8,7 @@
:allAreaDataList="allAreaDataList"
:allWorkspaceDataList="allWorkspaceDataList"
:nowShowAreaData="nowShowAreaData"
+ :projectList="projectList"
@changeLeftMenuShow="changeLeftMenuShow"
@handlerLocation="handlerLocation"
@changeAnnotationInfoShow="changeAnnotationInfoShow"
@@ -84,6 +85,10 @@
// 左侧目录是否显示----------------------------------------------------
const pathLeftMenuRef = ref();
const leftMenuShow = ref(true);
+
+ const projectList = ref([
+ { label: '全部项目', value: 'all' },
+ ])
function changeLeftMenuShow() {
leftMenuShow.value = !leftMenuShow.value;
}
@@ -95,6 +100,13 @@
function getWorksListData() {
GetWorkspaceList().then((result1) => {
allWorkspaceDataList.value = result1;
+ console.log('projectlist',result1)
+ result1.forEach(item => {
+ projectList.value.push({
+ label: item.WorkspaceName,
+ value: item.Id
+ })
+ })
})
}
// 关闭右侧标注
@@ -256,7 +268,7 @@
z-index:1;
display:flex;
gap:15px;
- width: 340px;
+ width: 423px;
}
.mapDiv {
diff --git a/src/views/demo/jobarea/pathAreaInfo.vue b/src/views/demo/jobarea/pathAreaInfo.vue
index 6acf4fc..997f15f 100644
--- a/src/views/demo/jobarea/pathAreaInfo.vue
+++ b/src/views/demo/jobarea/pathAreaInfo.vue
@@ -110,6 +110,14 @@