diff --git a/frontend/src/api/ecoFlow/index.ts b/frontend/src/api/ecoFlow/index.ts
index d7319b2..b8673bc 100644
--- a/frontend/src/api/ecoFlow/index.ts
+++ b/frontend/src/api/ecoFlow/index.ts
@@ -12,3 +12,11 @@ export function getEcoFlowStandardData(params?: EcoFlowQueryParams): Promise<{ d
params
});
}
+
+export function getQgcStaticData(params?: EcoFlowQueryParams): Promise<{ data: EcoFlowStandard[] }> {
+ return request({
+ url: '/eng/eq/interval/qgc/getQgcStaticData',
+ method: 'post',
+ data:params
+ });
+}
diff --git a/frontend/src/components/mapController/Calculate.vue b/frontend/src/components/mapController/Calculate.vue
new file mode 100644
index 0000000..fd90ce6
--- /dev/null
+++ b/frontend/src/components/mapController/Calculate.vue
@@ -0,0 +1,61 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/frontend/src/components/mapController/LayerController.vue b/frontend/src/components/mapController/LayerController.vue
new file mode 100644
index 0000000..b3a0cb8
--- /dev/null
+++ b/frontend/src/components/mapController/LayerController.vue
@@ -0,0 +1,128 @@
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/frontend/src/components/mapController/index.vue b/frontend/src/components/mapController/index.vue
index 5545e90..d457bc8 100644
--- a/frontend/src/components/mapController/index.vue
+++ b/frontend/src/components/mapController/index.vue
@@ -1,17 +1,25 @@
-
-
-
diff --git a/frontend/src/modules/jidiSelectorMod.vue b/frontend/src/modules/jidiSelectorMod.vue
index a7c7c0f..e7b1e97 100644
--- a/frontend/src/modules/jidiSelectorMod.vue
+++ b/frontend/src/modules/jidiSelectorMod.vue
@@ -1,55 +1,15 @@
@@ -71,7 +31,7 @@ const selectedItem: any = ref(1);
class="item"
v-for="i in jidiData.slice(0, jidiDataNum)"
:class="{ selected: selectedItem === i.id }"
- @click="selectedItem = i.id"
+ @click="itemClick(i.id)"
>
{{ i.name }}
diff --git a/frontend/src/store/modules/jidiSelectEvent.ts b/frontend/src/store/modules/jidiSelectEvent.ts
new file mode 100644
index 0000000..92e14f4
--- /dev/null
+++ b/frontend/src/store/modules/jidiSelectEvent.ts
@@ -0,0 +1,55 @@
+import { defineStore } from 'pinia';
+import { ref } from 'vue';
+
+export const useJidiSelectEventStore = defineStore('jidiSelectEvent', () => {
+ const jidiData = ref([
+ {
+ id: 1,
+ name: "当前全部",
+ },
+ {
+ id: 2,
+ name: "水电基地2",
+ },
+ {
+ id: 3,
+ name: "水电基地3",
+ },
+ {
+ id: 4,
+ name: "水电基地4",
+ },
+ {
+ id: 5,
+ name: "水电基地5",
+ },
+ {
+ id: 6,
+ name: "水电基地6",
+ },
+ {
+ id: 7,
+ name: "水电基地7",
+ },
+ {
+ id: 8,
+ name: "水电基地8",
+ },
+ {
+ id: 9,
+ name: "水电基地9",
+ },
+ {
+ id: 10,
+ name: "水电基地10",
+ },
+ {
+ id: 11,
+ name: "水电基地11",
+ },
+]);
+
+ return {
+ jidiData
+ };
+});
\ No newline at end of file
diff --git a/frontend/src/views/home/shuiDianKaiFaZhuangKuang.vue b/frontend/src/views/home/shuiDianKaiFaZhuangKuang.vue
index ef6ceee..91c78fd 100644
--- a/frontend/src/views/home/shuiDianKaiFaZhuangKuang.vue
+++ b/frontend/src/views/home/shuiDianKaiFaZhuangKuang.vue
@@ -1,8 +1,26 @@