diff --git a/src/assets/running/incubating.svg b/src/assets/running/incubating.svg old mode 100755 new mode 100644 index b0101ab..ad41a6f --- a/src/assets/running/incubating.svg +++ b/src/assets/running/incubating.svg @@ -4,8 +4,8 @@ - - + + diff --git a/src/pages/Index/Index.vue b/src/pages/Index/Index.vue index 4750dd7..7475c67 100644 --- a/src/pages/Index/Index.vue +++ b/src/pages/Index/Index.vue @@ -809,6 +809,7 @@ const handleAppWarningFlagState = (data: AppFlagStateListMessage['data']) => { if (data && data.states && data.states.length) { // showWarnModal isTriggerAlarm.value = true + deviceStore.setAlarmNum(data.warningAndErrorFlagTriggerNum || 0) deviceStore.setAlarmList(data.states) deviceStore.updatealarmFlagState(data) } @@ -969,6 +970,11 @@ const startTest = async () => { // 暂停测试 const pauseTest = async () => { + await ElMessageBox.confirm('是否暂停测试?', '提示', { + confirmButtonText: '确定', + cancelButtonText: '取消', + type: 'warning', + }) deviceWaitingModelInfo.value = { title: '设备正在响应中', message: '请不要有任何手动操作!', @@ -985,6 +991,11 @@ const pauseTest = async () => { // 停止测试时清除标记 const stopTest = async () => { + await ElMessageBox.confirm('是否停止测试?', '提示', { + confirmButtonText: '确定', + cancelButtonText: '取消', + type: 'warning', + }) deviceWaitingModelInfo.value = { title: '设备正在响应中', message: '请不要有任何手动操作!', diff --git a/src/pages/Index/Regular/Emergency.vue b/src/pages/Index/Regular/Emergency.vue index daa3656..ff238cd 100644 --- a/src/pages/Index/Regular/Emergency.vue +++ b/src/pages/Index/Regular/Emergency.vue @@ -15,7 +15,7 @@
- 血液类型 + 样本类型
- +
-
-