|
@@ -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);
|
|
|
});
|
|
|
},
|