css
shj
2022-07-18 9f4e449a4159c9debf5520a797393bd5df2e5908
src/components/equipmentDailog/DailogS.vue
@@ -1,5 +1,6 @@
<template>
   <el-dialog v-model="dialogVisible" title="新建仪器仪表" width="60%">
   <el-dialog :fullscreen="full" v-model="dialogVisible" title="新建仪器仪表" width="60%">
         <el-button @click="toggleFullscreen" size="small" class="pot" :icon="FullScreen"></el-button>
      <el-form :model="form" label-width="130px">
         <el-row>
            <el-col :span="11">
@@ -248,7 +249,7 @@
</template>
<script lang="ts">
import { defineComponent, ref, reactive } from 'vue';
import { Search,Plus } from '@element-plus/icons-vue';
import { Search,Plus,FullScreen } from '@element-plus/icons-vue';
import categoryDailog from './categoryDailog.vue';
import planDailog from './planDailog.vue';
import maintenanceDailog from './maintenanceDailog.vue';
@@ -375,6 +376,15 @@
         }
         return true;
      };
         //全屏
      const full = ref(false);
      const toggleFullscreen = () => {
         if (full.value == false) {
            full.value = true;
         }else{
        full.value = false;
      }
      };
      return {
         dialogVisible,
         Dailogtype,
@@ -405,7 +415,10 @@
         imageUrl,
         handleAvatarSuccess,
         beforeAvatarUpload,
         Plus
         Plus,
            full,
         toggleFullscreen,
         FullScreen,
      };
   },
});