From c43e9ca8e4baa3e31c1da3c086ec8f1a7d12e438 Mon Sep 17 00:00:00 2001
From: Mr.Shi <1878285526@qq.com>
Date: 星期三, 23 八月 2023 18:27:20 +0800
Subject: [PATCH] 大屏

---
 h5_standard/src/views/workOrder/reportingForWork.vue |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/h5_standard/src/views/workOrder/reportingForWork.vue b/h5_standard/src/views/workOrder/reportingForWork.vue
index 256d10c..241b071 100644
--- a/h5_standard/src/views/workOrder/reportingForWork.vue
+++ b/h5_standard/src/views/workOrder/reportingForWork.vue
@@ -697,6 +697,7 @@
             getDeviceByCondition({ procedureId: res.procedureId })
                 .then(res1 => {
                     if (res1.code === 200) {
+                        if (res1.data && res1.data.length > 0)
                         deviceId.value = res1.data[0].id
                         from.deviceId = res1.data[0].id
                         from.deviceName = res1.data[0].name

--
Gitblit v1.9.3