Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
laki_icu_app
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张宏
laki_icu_app
Commits
70a1ac3d
Commit
70a1ac3d
authored
Jun 26, 2026
by
akari
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修复
parent
c701cce4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
6 deletions
+7
-6
monitoring_index_state.dart
lib/views/monitoring/index/cubit/monitoring_index_state.dart
+2
-3
monitoring_index_view.dart
lib/views/monitoring/index/monitoring_index_view.dart
+5
-3
No files found.
lib/views/monitoring/index/cubit/monitoring_index_state.dart
View file @
70a1ac3d
...
...
@@ -190,9 +190,8 @@ class MonitoringIndexState extends Equatable {
clearMqttDeviceSn
?
null
:
mqttDeviceSn
??
this
.
mqttDeviceSn
,
cabinCameraSn:
cabinCameraSn
??
this
.
cabinCameraSn
,
cabinWifiPwd:
cabinWifiPwd
??
this
.
cabinWifiPwd
,
selectedAlert:
clearSelectedAlert
?
null
:
selectedAlert
??
this
.
selectedAlert
,
selectedAlert:
clearSelectedAlert
?
null
:
selectedAlert
??
this
.
selectedAlert
,
);
}
...
...
lib/views/monitoring/index/monitoring_index_view.dart
View file @
70a1ac3d
...
...
@@ -8,7 +8,6 @@ import 'package:laki_icu_app/enums/video_stream_mode_enum.dart';
import
'package:laki_icu_app/models/bo/monitoring_bo.dart'
;
import
'package:laki_icu_app/utils/event_bus.dart'
;
import
'cubit/monitoring_index_cubit.dart'
;
import
'cubit/monitoring_index_state.dart'
;
import
'widgets/bluetooth_bind_dialog.dart'
;
...
...
@@ -41,6 +40,7 @@ class MonitoringIndexContent extends StatefulWidget {
class
_MonitoringIndexContentState
extends
State
<
MonitoringIndexContent
>
{
late
final
MonitoringIndexCubit
_monitoringIndexCubit
;
StreamSubscription
<
OpenBluetoothScanEvent
>?
_bluetoothScanEventSub
;
/// 正在弹出框展示的告警,为空表示当前没有弹窗
AlertInfoBO
?
_currentDialogAlert
;
...
...
@@ -107,6 +107,7 @@ class _MonitoringIndexContentState extends State<MonitoringIndexContent> {
flex:
26
,
child:
MonitoringPetInfoCard
(
patientInfo:
state
.
patientInfo
,
currentCareLevel:
state
.
currentCareLevel
,
onExit:
()
=>
_monitoringIndexCubit
.
clearPatientInfo
(),
onBindPet:
()
=>
_monitoringIndexCubit
.
setTestPatientInfo
(),
),
...
...
@@ -187,9 +188,10 @@ class _MonitoringIndexContentState extends State<MonitoringIndexContent> {
child:
Container
(
width:
388
.
w
,
height:
62
.
h
,
decoration:
const
BoxDecoration
(
decoration:
const
BoxDecoration
(
image:
DecorationImage
(
image:
AssetImage
(
'lib/assets/monitoring/title_bg_spacewalk.png'
),
image:
AssetImage
(
'lib/assets/monitoring/title_bg_spacewalk.png'
),
fit:
BoxFit
.
cover
,
),
),
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment