Forráskód Böngészése

设备管理-归属设施

Signed-off-by: hsshuxian <3049816743@qq.com>
hsshuxian 3 hónapja
szülő
commit
8841f64929
1 módosított fájl, 4 hozzáadás és 3 törlés
  1. 4 3
      ems-ui-cloud/src/views/basecfg/device/index.vue

+ 4 - 3
ems-ui-cloud/src/views/basecfg/device/index.vue

@@ -933,10 +933,11 @@ export default {
     getFacsOptions(refArea) {
       const getFacsParams = {
         refArea: refArea,
-        facsCategory: this.queryParams.deviceCategory // 当前标签页的分类
+        facsCategory: this.queryParams.deviceCategory,
+        subCategory: this.queryParams.deviceSubCategory
       };
-      listFacs(getFacsParams).then(response => {
-        this.facsOptions = response.rows || [];
+      listAllFacs(getFacsParams).then(response => {
+        this.facsOptions = response.data || [];
         console.log("归属设施",this.facsOptions);
       });
     },