浏览代码

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

yunxing 4 年之前
父节点
当前提交
f48655ee44
共有 1 个文件被更改,包括 7 次插入1 次删除
  1. 7 1
      src/views/equipment/table/eqDetaileDialog.vue

+ 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) {