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/panManagement/index.vue |   29 +++++++++++++++--------------
 1 files changed, 15 insertions(+), 14 deletions(-)

diff --git a/src/views/contingencyManagement/panManagement/index.vue b/src/views/contingencyManagement/panManagement/index.vue
index fecf1bd..01a3981 100644
--- a/src/views/contingencyManagement/panManagement/index.vue
+++ b/src/views/contingencyManagement/panManagement/index.vue
@@ -127,9 +127,9 @@
     </el-card>
     <OpenAdd ref="addRef" />
     <AbolishLibrary ref="abolishRef"/>
-    <OpenEdit ref="editRef" />
     <upData ref="upShow"></upData>
-    <el-dialog v-model="dialogFormVisible" width="30%" title="启动">
+    <el-dialog v-model="dialogFormVisible" width="30%" title="启动" :fullscreen="full">
+      <el-button @click="toggleFullscreen" size="small" class="pot" :icon="FullScreen"></el-button>
       <el-form :model="form" label-width="80px">
         <el-form-item label="备注" >
           <el-input v-model="form.remarks" type="textarea" autocomplete="off" />
@@ -171,10 +171,10 @@
   VideoPause,
   VideoPlay,
   EditPen,
+  FullScreen
 } from '@element-plus/icons-vue'
 import OpenAdd from '/@/views/contingencyManagement/panManagement/component/openAdd.vue';
 import AbolishLibrary from '/@/views/contingencyManagement/panManagement/component/abolishLibrary.vue';
-import OpenEdit from '/@/views/contingencyManagement/panManagement/component/openEdit.vue';
 import UpData from '/@/views/contingencyManagement/panManagement/component/upData.vue';
 
 // 定义表格数据类型
@@ -210,7 +210,6 @@
   components: {
     OpenAdd,
     AbolishLibrary,
-    OpenEdit,
     View,
     EditPen,
     Plus,
@@ -225,7 +224,6 @@
   },
   setup() {
     // const seeRef = ref();
-    const editRef = ref();
     // 选择框
     // const value = ref('');
     // const options =
@@ -312,10 +310,6 @@
     const onabolishLibrary = () => {
       abolishRef.value.openDialog();
     };
-    // 打开修改用户弹窗
-    const onOpenEdit = (row: TableDataRow) => {
-      editRef.value.openDialog(row);
-    };
     // 删除用户
     const onRowDel = (row: TableDataRow) => {
       ElMessageBox.confirm(`此操作将永久删除账户名称:“${row}”,是否继续?`, '提示', {
@@ -363,6 +357,15 @@
         }
       })
     }
+    //全屏
+    const full = ref(false);
+    const toggleFullscreen = () => {
+      if (full.value == false) {
+        full.value = true;
+      } else {
+        full.value = false;
+      }
+    };
     return {
       // value,
       // options,
@@ -375,8 +378,6 @@
       dialogFormVisible,
       form,
       // seeRef,
-      onOpenEdit,  //编辑
-      editRef,
       onOpenAdd,  //新增
       onabolishLibrary,
       addRef,
@@ -389,9 +390,9 @@
       jumpFrom,
       abolish,
       router,
-      // onHandleSizeChange,
-      // onHandleCurrentChange,
-      // ...toRefs(state),
+      toggleFullscreen,
+      FullScreen,
+      full,
     };
   },
 });

--
Gitblit v1.9.2