设备管理
This commit is contained in:
parent
8c69441190
commit
01da009de8
@ -42,10 +42,6 @@ export const columns: VxeGridProps['columns'] = [
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
|
||||||
title: '位置对象',
|
|
||||||
field: 'locationObject',
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
title: '备注',
|
title: '备注',
|
||||||
field: 'remark',
|
field: 'remark',
|
||||||
|
@ -105,9 +105,11 @@ const [BasicModal, modalApi] = useVbenModal({
|
|||||||
isUpdate.value = !!id;
|
isUpdate.value = !!id;
|
||||||
if (isUpdate.value && id) {
|
if (isUpdate.value && id) {
|
||||||
const record = await deviceLocationInfo(id);
|
const record = await deviceLocationInfo(id);
|
||||||
|
await setupCommunitySelect(record.locationType);
|
||||||
record.locationType = record.locationType?.toString();
|
record.locationType = record.locationType?.toString();
|
||||||
await formApi.setValues(record);
|
await formApi.setValues(record);
|
||||||
}
|
}
|
||||||
|
|
||||||
await markInitialized();
|
await markInitialized();
|
||||||
modalApi.modalLoading(false);
|
modalApi.modalLoading(false);
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user