| | |
| | | deviceSetting.value[settingKey].popConfirm.visible = false; |
| | | } |
| | | |
| | | async function onConfirm(settingKey) { |
| | | async function onConfirm(settingKey,) { |
| | | deviceSetting.value[settingKey].popConfirm.loading = true; |
| | | const body = genDevicePropsBySettingKey(settingKey, deviceSettingFormModel.value); |
| | | localStorage.setItem(ELocalStorageKey.WorkspaceId, props.deviceInfo.workspace_id) |
| | | await setDeviceProps(props.sn, body); |
| | | await setDeviceProps(props.sn, props.deviceInfo.workspace_id, body); |
| | | deviceSetting.value[settingKey].popConfirm.loading = false; |
| | | deviceSetting.value[settingKey].popConfirm.visible = false; |
| | | } |
| | |
| | | |
| | | .device-setting-header { |
| | | font-size: 14px; |
| | | font-weight: 600; |
| | | //font-weight: 600; |
| | | padding: 10px 10px 0px; |
| | | } |
| | | |
| | |
| | | flex-wrap: wrap; |
| | | justify-content: space-between; |
| | | padding: 4px 10px; |
| | | font-size: 14px; |
| | | |
| | | .control-setting-item { |
| | | width: 220px; |
| | |
| | | flex-direction: column; |
| | | |
| | | .item-label { |
| | | font-weight: 700; |
| | | //font-weight: 700; |
| | | } |
| | | .item-status { |
| | | color: #8d8b8b; |
| | | } |
| | | } |
| | | .control-setting-item-right { |