loulijun2021
2022-07-09 b50e7d0c574584b8ad02ad04715760c7c42a0b7d
src/views/zzmx/gylx.vue
@@ -120,9 +120,10 @@
    <el-dialog
      :title="operation==='add'?'新增':'预览'"
      :visible.sync="dialogVisible"
      width="70%"
      width="1200px"
      :close-on-click-modal="false"
      top="15vh"
      :fullscreen="isFullscreen"
      @closed="handleClose"
      @close="handleClose"
    >
@@ -277,6 +278,7 @@
      }
    }
    return {
      isFullscreen: false,
      mainHeight: 0,
      tableHeight: 0,
      form: {
@@ -632,6 +634,7 @@
      this.$nextTick(() => {
        this.mainHeight = window.innerHeight - 250
        this.tableHeight = this.mainHeight - 100
        this.isFullscreen = window.innerHeight < 800
      })
    }
  }