loulijun2021
2022-07-04 991a63234bba49da5a22d0f64ae15837d3253829
src/views/zzmx/gxdy.vue
@@ -232,6 +232,7 @@
      :visible.sync="workDialogVisible"
      width="50%"
      top="15vh"
      :fullscreen="isFullscreen"
      :close-on-click-modal="false"
      class="workDialogVisible"
      @closed="workHandleClose"
@@ -278,6 +279,7 @@
          :data="workDialogForm.workTreeArr"
          show-checkbox
          node-key="code"
          style="height: 300px;"
          default-expand-all
          :props="workTreeDefaultProps"
          @check="checkBoxClick"
@@ -299,6 +301,7 @@
      :visible.sync="defectDialogVisible"
      width="50%"
      top="15vh"
      :fullscreen="isFullscreen"
      :close-on-click-modal="false"
      class="defectDialogVisible"
      @closed="defectHandleClose"
@@ -319,7 +322,7 @@
          :data="defectTree"
          show-checkbox
          node-key="code"
          style="height: 400px;"
          style="height: 500px;"
          default-expand-all
          :props="workTreeDefaultProps"
        />
@@ -371,6 +374,7 @@
      }
    }
    return {
      isFullscreen: false,
      mainHeight: 0,
      tableHeight: 0,
      form: {
@@ -564,6 +568,10 @@
      this.$nextTick(() => {
        this.mainHeight = window.innerHeight - 250
        this.tableHeight = this.mainHeight - 100
        this.isFullscreen = window.innerHeight < 800
        if (window.innerHeight < 800) {
          this.tableHeight = this.tableHeight - 50
        }
      })
    },
    /* 关联工作站模块*/