css
shj
2022-07-18 9f4e449a4159c9debf5520a797393bd5df2e5908
src/views/goalManagement/performanceAppraisal/component/DailogAq.vue
@@ -1,5 +1,6 @@
<template>
   <el-dialog v-model="dialogVisible" title="新建安全考核管理" width="50%" draggable>
   <el-dialog v-model="dialogVisible" :fullscreen="full" title="新建安全考核管理" width="50%" draggable>
      <el-button @click="toggleFullscreen" size="small" class="pot" :icon="FullScreen"></el-button>
      <el-form :model="form" label-width="120px">
         <el-row>
            <el-col :span="11">
@@ -125,8 +126,8 @@
</template>
<script lang="ts">
import { defineComponent, ref, reactive } from 'vue';
import { Search } from '@element-plus/icons-vue';
import DailogSearch from './DailogSearch.vue'
import { Search, FullScreen } from '@element-plus/icons-vue';
import DailogSearch from './DailogSearch.vue';
import DailogSearchUser from '/@/components/DailogSearchUser/index.vue';
import { ElMessage, ElMessageBox } from 'element-plus';
@@ -213,6 +214,15 @@
            () => false
         );
      };
      //全屏
      const full = ref(false);
      const toggleFullscreen = () => {
         if (full.value == false) {
            full.value = true;
         } else {
            full.value = false;
         }
      };
      return {
         form,
         dialogVisible,
@@ -228,7 +238,10 @@
            handleRemove,
            handlePreview,
            handleExceed,
            beforeRemove
         beforeRemove,
         full,
         toggleFullscreen,
         FullScreen,
      };
   },
});