13937891274
2022-07-18 d57a6d8cca922c9a701887c0403c10d663a258cb
src/views/contingencyManagement/emergencyPlanStartRecord/component/selectEmergencyPlan.vue
@@ -1,5 +1,12 @@
<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>
@@ -70,8 +77,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);
@@ -119,6 +133,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,
@@ -132,6 +155,9 @@
      Delete,
      radio1,
      radio,
      toggleFullscreen,
      FullScreen,
      full,
    };
  },
});