From 70d2ec3a55ade194b5473fa546410d62018dc45b Mon Sep 17 00:00:00 2001
From: shj <1790240199@qq.com>
Date: 星期一, 18 七月 2022 17:55:27 +0800
Subject: [PATCH] Merge branch 'master' of https://sinanoaq.cn:8888/r/gtqtOut

---
 src/views/contingencyManagement/emergencyDrill/implementationOfEmergencyDrill/component/regionsDialog.vue |   24 ++++++++++++++++++++++--
 1 files changed, 22 insertions(+), 2 deletions(-)

diff --git a/src/views/contingencyManagement/emergencyDrill/implementationOfEmergencyDrill/component/regionsDialog.vue b/src/views/contingencyManagement/emergencyDrill/implementationOfEmergencyDrill/component/regionsDialog.vue
index b673e61..c30db4a 100644
--- a/src/views/contingencyManagement/emergencyDrill/implementationOfEmergencyDrill/component/regionsDialog.vue
+++ b/src/views/contingencyManagement/emergencyDrill/implementationOfEmergencyDrill/component/regionsDialog.vue
@@ -1,5 +1,12 @@
 <template>
-	<el-dialog v-model="dialogVisible" title="选择演练名称" width="900px" draggable>
+	<el-dialog
+      v-model="dialogVisible"
+      title="选择演练名称"
+      width="900px"
+      draggable
+      :fullscreen="full"
+  >
+    <el-button @click="toggleFullscreen" size="small" class="pot" :icon="FullScreen"></el-button>
 		<el-row>
 			<el-col :span="18">
 		<el-form :inline="true" ref="ruleFormRef" :model="ruleForm" status-icon>
@@ -53,7 +60,8 @@
   ref
 } from 'vue';
 import {
-  Delete
+  Delete,
+  FullScreen
 } from '@element-plus/icons-vue';
 export default defineComponent({
 	setup() {
@@ -96,6 +104,15 @@
 		const handleClose = (tag: string) => {
 			dynamicTags.value.splice(dynamicTags.value.indexOf(tag), 1);
 		};
+    //全屏
+    const full = ref(false);
+    const toggleFullscreen = () => {
+      if (full.value == false) {
+        full.value = true;
+      } else {
+        full.value = false;
+      }
+    };
 		return {
 			dialogVisible,
 			openDailog,
@@ -108,6 +125,9 @@
 			dynamicTags,
 			handleClose,
 			Delete,
+      toggleFullscreen,
+      FullScreen,
+      full,
 		};
 	},
 });

--
Gitblit v1.9.2