From cc37fa838d0a9ff5f74a0ba06a8f944938dd0807 Mon Sep 17 00:00:00 2001
From: 13937891274 <kxc0822>
Date: 星期二, 19 七月 2022 18:01:41 +0800
Subject: [PATCH] 应急队伍一览对接
---
src/components/userSelections/index.vue | 18 +++++++++++++++++-
1 files changed, 17 insertions(+), 1 deletions(-)
diff --git a/src/components/userSelections/index.vue b/src/components/userSelections/index.vue
index 19458f2..9728e94 100644
--- a/src/components/userSelections/index.vue
+++ b/src/components/userSelections/index.vue
@@ -5,7 +5,9 @@
v-model="isShowDialog"
width="1000px"
draggable
+ :fullscreen="full"
>
+ <el-button @click="toggleFullscreen" size="small" class="pot" :icon="FullScreen"></el-button>
<el-container class="layout-container-demo" style="height: 500px;overflow: auto;min-width: 960px">
<el-aside width="200px">
<el-input v-model="filterText" placeholder="请输入组织机构过滤" />
@@ -121,7 +123,9 @@
ElTree,
// ElTable,
} from 'element-plus'
-
+import {
+ FullScreen
+} from '@element-plus/icons-vue'
interface Tree {
id: number
label: string
@@ -283,6 +287,15 @@
const handleCurrentChange = (val: number) => {
console.log(`current page: ${val}`);
};
+ //全屏
+ const full = ref(false);
+ const toggleFullscreen = () => {
+ if (full.value == false) {
+ full.value = true;
+ } else {
+ full.value = false;
+ }
+ };
return {
openDialog,
closeDialog,
@@ -303,6 +316,9 @@
pageSize,
radio1,
radio,
+ toggleFullscreen,
+ FullScreen,
+ full,
};
},
});
--
Gitblit v1.9.2