|
@@ -2,7 +2,7 @@
|
|
|
<div class="middle-section">
|
|
|
<div class="search-button">
|
|
|
<el-button type="primary" @click="handleQuery1">备战防御</el-button>
|
|
|
- <el-button type="primary" @click="handleQuery2">指挥调度</el-button>
|
|
|
+ <el-button type="primary" :disabled="true" @click="handleQuery2">指挥调度</el-button>
|
|
|
</div>
|
|
|
<GlobalMap is-component width="3321" height="2140" />
|
|
|
</div>
|
|
@@ -10,6 +10,11 @@
|
|
|
|
|
|
<script lang="ts" setup>
|
|
|
import GlobalMap from '@/views/globalMap/index.vue';
|
|
|
+import { useRouter } from 'vue-router';
|
|
|
+const router = useRouter();
|
|
|
+const handleQuery1 = () => {
|
|
|
+ router.push({ path: '/' });
|
|
|
+};
|
|
|
</script>
|
|
|
|
|
|
<style lang="scss" scoped>
|