Prechádzať zdrojové kódy

refactor: queryTableList方法中 queryAsset接口添加page , size 字段

yunxing 4 rokov pred
rodič
commit
f48655ee44

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

@@ -127,6 +127,11 @@
     </div>
 </template>
 <script>
+/**
+ * @author yunxing
+ * @date 2020年08月27日
+ * @description queryTableList方法中 queryAsset接口添加page :1,size 字段 
+ */
 import { Select } from 'meri-design'
 import { mapGetters } from 'vuex'
 import { queryAsset } from '@/api/equipmentList.js'
@@ -266,7 +271,6 @@ export default {
             })
         },
         queryTableList() {
-            console.log('queryTableList')
             let major
             if (this.major.slice(0, 2) == 'GD') {
                 major = '供电'
@@ -315,6 +319,8 @@ export default {
                 manufacturer: this.row.manufacturer || '--',
                 sbxh: this.row.sbxh || '--',
                 brand: this.row.brand || '--',
+                page: 1,
+                size: this.row.sl,
             }
             //下拉筛选
             if (this.floor && this.floor != 1) {