Browse Source

Merge branch 'develop' of http://39.106.8.246:3003/web/wanda-bm-guide into develop

zhulizhen1111 4 years ago
parent
commit
995f623c62
1 changed files with 9 additions and 1 deletions
  1. 9 1
      src/views/equipment/table/eqDetaileDialog.vue

+ 9 - 1
src/views/equipment/table/eqDetaileDialog.vue

@@ -119,7 +119,7 @@
                     :tabLabel='tabLabel[currentComponent]'
                     :diff='diff'
                     :assetnum='assetnum'
-                    :size='5'
+                    :size='size'
                 ></component>
             </div>
         </div>
@@ -166,6 +166,7 @@ export default {
                 wxTable: '重要维修',
                 rcwxTable: '日常维保',
             },
+            size: 5, //分页条数
         }
     },
     components: {
@@ -183,6 +184,9 @@ export default {
         this.queryTableList()
         this.getFloorAllSelect()
         this.tabFind()
+        if (document.body.clientWidth >= 1920) {
+            this.size = 9
+        }
     },
     props: ['row', 'major', 'sign', 'smsxt', 'diff'],
     methods: {
@@ -454,9 +458,13 @@ export default {
 }
 @media screen and (max-width: 1366px) {
     .gdqd-dialog {
+        padding: 12px 24px 24px;
         /deep/ .el-table td {
             padding: 1px 0 !important;
         }
+        .gdqd-dialog-bottom {
+            margin-top: 10px !important;
+        }
         .table-bottom {
             .title {
                 height: 60px !important;