From c21f3d6df8746ec55ab9e7a64e4e130577c49fea Mon Sep 17 00:00:00 2001
From: shj <1790240199@qq.com>
Date: 星期一, 25 七月 2022 09:25:53 +0800
Subject: [PATCH] 接口对接

---
 src/views/contingencyManagement/contingency/component/addEmergencyPersonnel.vue |   19 +++++++++++++++++--
 1 files changed, 17 insertions(+), 2 deletions(-)

diff --git a/src/views/contingencyManagement/contingency/component/addEmergencyPersonnel.vue b/src/views/contingencyManagement/contingency/component/addEmergencyPersonnel.vue
index 0188133..d6ba91c 100644
--- a/src/views/contingencyManagement/contingency/component/addEmergencyPersonnel.vue
+++ b/src/views/contingencyManagement/contingency/component/addEmergencyPersonnel.vue
@@ -1,11 +1,13 @@
 <template>
   <div class="system-edit-user-container">
     <el-dialog
-        title="新建应急队伍人员"
+        :title="title"
         v-model="isShowDialog"
         width="769px"
         draggable
+        :fullscreen="full"
     >
+      <el-button @click="toggleFullscreen" size="small" class="pot" :icon="FullScreen"></el-button>
       <el-form
           ref="ruleFormRef"
           :model="ruleForm"
@@ -80,7 +82,8 @@
 } from 'element-plus'
 
 import {
-  Search
+  Search,
+  FullScreen,
 } from '@element-plus/icons-vue'
 
 export default defineComponent({
@@ -158,6 +161,15 @@
     const onCancel = () => {
       closeDialog();
     };
+    //全屏
+    const full = ref(false);
+    const toggleFullscreen = () => {
+      if (full.value == false) {
+        full.value = true;
+      } else {
+        full.value = false;
+      }
+    };
     return {
       openDialog,
       closeDialog,
@@ -168,6 +180,9 @@
       ruleForm,
       rules,
       Search,
+      toggleFullscreen,
+      FullScreen,
+      full,
     };
   },
 });

--
Gitblit v1.9.2