|
@@ -78,7 +78,7 @@ export const formSchemas: FormSchema[] = [ |
|
@@ -78,7 +78,7 @@ export const formSchemas: FormSchema[] = [ |
78
|
const result = await getDevicesByDeviceIds(data!);
|
78
|
const result = await getDevicesByDeviceIds(data!);
|
79
|
return result.data.map((item) => ({
|
79
|
return result.data.map((item) => ({
|
80
|
label: item.alias || item.name,
|
80
|
label: item.alias || item.name,
|
81
|
- value: 'tbDeviceId',
|
81
|
+ value: item.tbDeviceId,
|
82
|
}));
|
82
|
}));
|
83
|
} else {
|
83
|
} else {
|
84
|
const result = await getMeetTheConditionsDevice({
|
84
|
const result = await getMeetTheConditionsDevice({
|
|
@@ -87,7 +87,7 @@ export const formSchemas: FormSchema[] = [ |
|
@@ -87,7 +87,7 @@ export const formSchemas: FormSchema[] = [ |
87
|
});
|
87
|
});
|
88
|
return result.map((item) => ({
|
88
|
return result.map((item) => ({
|
89
|
label: item.alias || item.name,
|
89
|
label: item.alias || item.name,
|
90
|
- value: 'tbDeviceId',
|
90
|
+ value: item.tbDeviceId,
|
91
|
}));
|
91
|
}));
|
92
|
}
|
92
|
}
|
93
|
} catch (error) {
|
93
|
} catch (error) {
|