diff --git a/src/api/equipmentManagement/device/types.ts b/src/api/equipmentManagement/device/types.ts index 8eac5f5..f6b98ae 100644 --- a/src/api/equipmentManagement/device/types.ts +++ b/src/api/equipmentManagement/device/types.ts @@ -4,5 +4,44 @@ export interface deviceQuery extends PageQuery { deviceImei: string; deviceType: string; deviceStatus: string; + bluetoothName?: string; // 蓝牙名称查询字段 +} +export interface deviceForm { + id?: string | number; + deviceName: string; + deviceMac?: string; + deviceImei?: string; + deviceType: string; + devicePic?: string; + image?: string | File; + remark?: string; + password?: string; + customerId?: string | number; + bluetoothName?: string; // 蓝牙名称字段 +} + +export interface deviceVO { + id: string | number; + deviceName: string; + deviceMac?: string; + deviceImei?: string; + deviceType: string; + devicePic?: string; + deviceStatus: number; + bindingStatus: number; + remark?: string; + createTime?: string; + createByName?: string; + customerName?: string; + customerId?: string | number; + typeName?: string; + bluetoothName?: string; // 蓝牙名称字段 +} + +export interface deviceTypeOption { + id: string | number; + typeName: string; + value: string | number; + communicationMode?: string; } \ No newline at end of file diff --git a/src/views/equipmentManagement/devices/index.vue b/src/views/equipmentManagement/devices/index.vue index 114ba56..e62f049 100644 --- a/src/views/equipmentManagement/devices/index.vue +++ b/src/views/equipmentManagement/devices/index.vue @@ -165,6 +165,13 @@ + + + + + + + @@ -268,7 +275,7 @@