|
@@ -741,8 +741,7 @@ export default {
|
|
this.isVitalSigns = val === DEVICE_TYPE.VITAL_SIGNS_DEVICE
|
|
this.isVitalSigns = val === DEVICE_TYPE.VITAL_SIGNS_DEVICE
|
|
this.hasSosDeviceSettings = val === DEVICE_TYPE.ALARM_BODY_INDUCTIVE ||
|
|
this.hasSosDeviceSettings = val === DEVICE_TYPE.ALARM_BODY_INDUCTIVE ||
|
|
val === DEVICE_TYPE.DOOR_LOCK
|
|
val === DEVICE_TYPE.DOOR_LOCK
|
|
- this.isLedDevice = val === DEVICE_TYPE.LED_SCREEN ||
|
|
|
|
- val === DEVICE_TYPE.LCD_SCREEN
|
|
|
|
|
|
+ this.isLedDevice = val === DEVICE_TYPE.LED_SCREEN
|
|
},
|
|
},
|
|
/** 设备类型选中对应的空间结构 **/
|
|
/** 设备类型选中对应的空间结构 **/
|
|
deviceTypeChangeToFrameTypeChange(val) {
|
|
deviceTypeChangeToFrameTypeChange(val) {
|
|
@@ -826,12 +825,11 @@ export default {
|
|
this.isVitalSigns = params.device_type === DEVICE_TYPE.VITAL_SIGNS_DEVICE
|
|
this.isVitalSigns = params.device_type === DEVICE_TYPE.VITAL_SIGNS_DEVICE
|
|
this.hasSosDeviceSettings = params.device_type === DEVICE_TYPE.ALARM_BODY_INDUCTIVE ||
|
|
this.hasSosDeviceSettings = params.device_type === DEVICE_TYPE.ALARM_BODY_INDUCTIVE ||
|
|
params.device_type === DEVICE_TYPE.DOOR_LOCK
|
|
params.device_type === DEVICE_TYPE.DOOR_LOCK
|
|
- this.isLedDevice = params.device_type === DEVICE_TYPE.LED_SCREEN ||
|
|
|
|
- params.device_type === DEVICE_TYPE.LCD_SCREEN
|
|
|
|
|
|
+ this.isLedDevice = params.device_type === DEVICE_TYPE.LED_SCREEN
|
|
this.deviceModel = {
|
|
this.deviceModel = {
|
|
...params
|
|
...params
|
|
}
|
|
}
|
|
- if (params.device_type === DEVICE_TYPE.NURSE_HOST && params.part_id == this.$store.getters.partId) {
|
|
|
|
|
|
+ if (params.device_type === DEVICE_TYPE.NURSE_HOST && params.part_id === this.$store.getters.partId) {
|
|
this.getGroupHost(params.id, params.part_id)
|
|
this.getGroupHost(params.id, params.part_id)
|
|
}
|
|
}
|
|
this.deviceEditTitle = this.$t('deviceManage.deviceEdit')
|
|
this.deviceEditTitle = this.$t('deviceManage.deviceEdit')
|