13937891274
2022-07-18 d57a6d8cca922c9a701887c0403c10d663a258cb
src/views/contingencyManagement/emergencyDrill/releaseOfDrillPlan/component/regionsDialog.vue
@@ -1,5 +1,11 @@
<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-form :inline="true" ref="ruleFormRef" :model="ruleForm" status-icon>
@@ -61,8 +67,15 @@
  </el-dialog>
</template>
<script lang="ts">
import { defineComponent, reactive, ref } from 'vue';
import { Delete } from '@element-plus/icons-vue';
import {
  defineComponent,
  reactive,
  ref
} from 'vue';
import {
  Delete,
  FullScreen
} from '@element-plus/icons-vue';
export default defineComponent({
  setup() {
    const dialogVisible = ref<boolean>(false);
@@ -109,6 +122,15 @@
    const radio=(event:any)=>{
      dynamicTags.value[0]=event
    }
    //全屏
    const full = ref(false);
    const toggleFullscreen = () => {
      if (full.value == false) {
        full.value = true;
      } else {
        full.value = false;
      }
    };
    return {
      dialogVisible,
      openDailog,
@@ -123,6 +145,9 @@
      radio1,
      radio,
      dynamicTags,
      toggleFullscreen,
      FullScreen,
      full,
    };
  },
});