Explorar el Código

fix:下载弹窗固定底部

zhangsiya hace 1 año
padre
commit
7eb4fd49f5

+ 10 - 2
apps/bigmember_pc/src/views/portrayal/components/UnitReportDownloadDialog.vue

@@ -1,5 +1,6 @@
 <template>
 <template>
   <el-dialog
   <el-dialog
+    style="overflow: hidden"
     title="业主采购分析报告下载"
     title="业主采购分析报告下载"
     :visible.sync="options.visible"
     :visible.sync="options.visible"
     :close-on-click-modal="false"
     :close-on-click-modal="false"
@@ -78,6 +79,7 @@ import DownloadFilter from './DownloadFilter.vue'
 import { getPDFPackBalance, getPdfEmail, savePdfCondition, ajaxExportPdf } from '@/api/modules/'
 import { getPDFPackBalance, getPdfEmail, savePdfCondition, ajaxExportPdf } from '@/api/modules/'
 import { emailRegExp } from '@/utils/constant'
 import { emailRegExp } from '@/utils/constant'
 import { debounce } from '@/utils/'
 import { debounce } from '@/utils/'
+import {  throttle } from 'lodash'
 
 
 export default {
 export default {
   components: {
   components: {
@@ -264,7 +266,6 @@ export default {
   }
   }
 }
 }
 </script>
 </script>
-
 <style lang="scss" scoped>
 <style lang="scss" scoped>
 .prop-report-download-dialog{
 .prop-report-download-dialog{
   section {
   section {
@@ -417,7 +418,6 @@ export default {
         background-color: #ffecec;
         background-color: #ffecec;
       }
       }
     }
     }
-
   }
   }
 }
 }
 ::v-deep {
 ::v-deep {
@@ -428,6 +428,7 @@ export default {
     padding: 32px 32px 0 32px;
     padding: 32px 32px 0 32px;
   }
   }
   .el-dialog__body {
   .el-dialog__body {
+    overflow-y:auto ;
     padding: 0 32px 20px 32px;
     padding: 0 32px 20px 32px;
   }
   }
   .el-dialog__footer{
   .el-dialog__footer{
@@ -443,4 +444,11 @@ export default {
     border-radius: 6px !important;
     border-radius: 6px !important;
   }
   }
 }
 }
+@media (max-height: 720px) {
+  ::v-deep {
+    .prop-report-download-dialog .el-dialog__body{
+      height: calc(90vh - 56px - 69px - 10px);
+    }
+  }
+}
 </style>
 </style>