13937891274
2022-07-18 d57a6d8cca922c9a701887c0403c10d663a258cb
src/components/checkTemplate/index.vue
@@ -1,5 +1,6 @@
<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-row>
@@ -66,7 +67,8 @@
  ref,
} from 'vue';
import {
  Delete
  Delete,
  FullScreen
} from '@element-plus/icons-vue';
interface User {
  date: string
@@ -115,6 +117,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,
@@ -126,6 +137,9 @@
      dynamicTags,
      handleClose,
      Delete,
      toggleFullscreen,
      FullScreen,
      full,
    };
  },
});