Kaynağa Gözat

fix: 应急演练脚本文件解析修改&应急指挥中心跳转修改

wyf 6 ay önce
ebeveyn
işleme
d5a6b81e97

+ 1 - 1
src/views/emergency/emergency-drill/components/DrillPlanViewActivities.vue

@@ -106,7 +106,7 @@
             <div class="drill-container__content--item" v-if="drillData.drillScript">
               <span class="label">演练脚本:</span>
               <span class="value font-primary link" @click="handlePreviewFile(drillData.drillScript)">{{
-                JSON.parse(drillData.drillScript).fileName
+                JSON.parse(drillData.drillScript)[0].fileName
               }}</span>
             </div>
           </el-col>

+ 8 - 1
src/views/emergency/emergency-procedure/PageProcedure.vue

@@ -207,7 +207,14 @@
 
   // 打开指挥中心
   const handleOpenCommandCenter = (row) => {
-    window.open(`/#/large-screen/command-center/${row.id}`, '_blank');
+    const routerUrl = router.resolve({
+      name: 'command-center',
+      params: {
+        id: row.id,
+      },
+    });
+    window.open(routerUrl.href, '_blank');
+    // window.open(`#/large-screen/command-center/${row.id}`, '_blank');
   };
 
   // 修改

+ 1 - 1
src/views/security-confidentiality/person-management/inner-person/InnerPerson.vue

@@ -31,7 +31,7 @@
                 <span>事件:</span>
                 <el-select
                   v-model="searchData.eventType"
-                  placeholder="请选择通知状态"
+                  placeholder="请选择事件类型"
                   class="select-box--select"
                   clearable
                 >