|
@@ -14,11 +14,12 @@ class ScanController {
|
|
|
/**
|
|
|
* 查询不在当前系统下的设备
|
|
|
*/
|
|
|
- static async getEquipNotInSys(params) {
|
|
|
- return await this.http.postRequest(
|
|
|
+ static async getEquipNotInSys(params, fn) {
|
|
|
+ const res = await this.http.postRequest(
|
|
|
equipquery_pre + `/equip-sys?sysId=${params.sysId}`,
|
|
|
params
|
|
|
);
|
|
|
+ return fn ? fn(res) : res;
|
|
|
}
|
|
|
/**
|
|
|
* 查询不在当前系统下的设备
|