Просмотр исходного кода

fix: 在设备查询参数中添加isEnable字段

liujt 6 месяцев назад
Родитель
Сommit
2e423cd099

+ 3 - 2
src/views/inspectionProject/components/ProductModal.vue

@@ -159,7 +159,8 @@ export default {
         ...where,
         pageNum: page,
         size: limit,
-        categoryLevelId: this.categoryLevelId
+        categoryLevelId: this.categoryLevelId,
+        isEnable: 1
       });
       return res;
     },
@@ -202,7 +203,7 @@ export default {
 
     /* 刷新表格 */
     reload(where) {
-      this.$refs.table.reload({ page: 1, where: where });
+      this.$refs.table.reload({ page: 1, where: where, isEnable: 1 });
     },
 
     handleClose() {

+ 2 - 1
src/views/sample/samplemanagement/components/equipmentDialog.vue

@@ -160,7 +160,8 @@
           pageNum: page,
           size: limit,
           categoryLevelId: this.categoryLevelId,
-          isProduct: true
+          isProduct: true,
+          isEnable: 1
         };
         const data = await getList(params);
         this.tableList = data.list;

+ 2 - 1
src/views/unqualifiedProduct/unqualifiedList/components/EquipmentDialog.vue

@@ -196,7 +196,8 @@ export default {
         pageNum: page,
         size: limit,
         categoryLevelId: this.categoryLevelId,
-        isProduct: true
+        isProduct: true,
+        isEnable: 1
       };
       const data = await getList(params);
       this.tableList = data.list;