Hwf 5 ماه پیش
والد
کامیت
5fdf503a1d

+ 1 - 1
src/components/HeaderSection/index.vue

@@ -41,7 +41,7 @@
 <script lang="ts" setup name="headerSection">
 import usePermissionStore from '@/store/modules/permission';
 import useUserStore from '@/store/modules/user';
-import { onClickOutside} from "@vueuse/core";
+import { onClickOutside } from '@vueuse/core';
 
 const router = useRouter();
 const userStore = useUserStore();

+ 1 - 1
src/components/HeaderSection/index2.vue

@@ -64,7 +64,7 @@ const clickMenu = (item) => {
   if (item.type === '1') {
     router.push({ path: item.path2 });
   } else if (item.type === '2') {
-    window.location.href = item.path;
+    window.location.href = item.path2;
   }
 };
 let showBox = ref(false);

+ 7 - 7
src/store/modules/permission.ts

@@ -25,15 +25,15 @@ export const usePermissionStore = defineStore('permission', () => {
     leftMenu: [
       { label: '全域地图', path: '/globalMap', path2: '/globalMap2', type: '1', checked: false },
       { label: '一图作战', path: '/', path2: '/index2', type: '1', checked: false },
-      { label: '总体态势', path: 'http://19.155.220.218/#/considerable-web/overallSituation?type=large', type: '2', checked: false },
-      { label: '非煤矿山', path: 'http://19.155.220.218/#/considerable-web/noCoalMine?type=large', type: '2', checked: false },
-      { label: '粉尘防爆', path: 'http://19.155.220.218/#/considerable-web/dustIgnitionPproof?type=large', type: '2', checked: false }
+      { label: '总体态势', path: 'http://19.155.220.218/#/considerable-web/overallSituation?type=full', path2: 'http://19.155.220.218/#/considerable-web/overallSituation?type=large', type: '2', checked: false },
+      { label: '非煤矿山', path: 'http://19.155.220.218/#/considerable-web/noCoalMine?type=full', path2: 'http://19.155.220.218/#/considerable-web/noCoalMine?type=large', type: '2', checked: false },
+      { label: '粉尘防爆', path: 'http://19.155.220.218/#/considerable-web/dustIgnitionPproof?type=full', path2: 'http://19.155.220.218/#/considerable-web/dustIgnitionPproof?type=large', type: '2', checked: false }
     ],
     rightMenu: [
-      { label: '地质灾害', path: 'http://19.155.220.218/#/considerable-web/geologicalDisaster?type=large', type: '2', checked: false },
-      { label: '森林防火', path: 'http://19.155.220.218/#/considerable-web/forestFireproof?type=large', type: '2', checked: false },
-      { label: '三防', path: 'http://19.155.220.218/#/considerable-web/threeProofings?type=large', type: '2', checked: false },
-      { label: '危化品', path: 'http://19.155.220.218/#/considerable-web/hazardousChemicals?type=large', type: '2', checked: false }
+      { label: '地质灾害', path: 'http://19.155.220.218/#/considerable-web/geologicalDisaster?type=full', path2: 'http://19.155.220.218/#/considerable-web/geologicalDisaster?type=large', type: '2', checked: false },
+      { label: '森林防火', path: 'http://19.155.220.218/#/considerable-web/forestFireproof?type=full', path2: 'http://19.155.220.218/#/considerable-web/forestFireproof?type=large', type: '2', checked: false },
+      { label: '三防', path: 'http://19.155.220.218/#/considerable-web/threeProofings?type=full', path2: 'http://19.155.220.218/#/considerable-web/threeProofings?type=large', type: '2', checked: false },
+      { label: '危化品', path: 'http://19.155.220.218/#/considerable-web/hazardousChemicals?type=full', path2: 'http://19.155.220.218/#/considerable-web/hazardousChemicals?type=large', type: '2', checked: false }
     ]
   });
   const activeMenu = ref('left');

+ 2 - 2
src/views/emergencyCommandMap/RightSection/StartPlan.vue

@@ -18,7 +18,7 @@
       </el-select>
       <div class="common-btn-primary2" @click="onStartPlan" v-show="planId === ''">启动预案</div>
       <div class="common-btn-primary2" @click="onCancelPlan" v-show="planId != ''">取消响应</div>
-      <div class="common-btn-primary2" @click="onTaskDelivery" v-show="planId === ''">预案任务下发</div>
+      <div class="common-btn-primary2" @click="onTaskDelivery">预案任务下发</div>
     </div>
     <div class="title-box">{{ planTitle }}</div>
 
@@ -265,7 +265,7 @@ onMounted(async() => {
     const response = await getEventDetail({ event_id: props.eventId });
     const event_data = response.data;
     planId.value = event_data.plan_id;
-    
+
     fetchPlanData();
   }
 });