From 4b4920c2d811f4a8b4fdc6cad7b06454905fc29c Mon Sep 17 00:00:00 2001
From: jazz <jazzxhunter@163.com>
Date: 星期二, 26 十二月 2023 19:12:21 +0800
Subject: [PATCH] update_202312261911_卸麻通知和称谓显示v4

---
 src/pages/room/detail.vue |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/pages/room/detail.vue b/src/pages/room/detail.vue
index 17b2331..776f69f 100644
--- a/src/pages/room/detail.vue
+++ b/src/pages/room/detail.vue
@@ -343,12 +343,12 @@
     offNarcosisNoticeConfirm() {
       if (this.occupyInfoView) {
         if (offNarcosisIds && offNarcosisIds.length) {
-          var flag = offNarcosisIds.find((o) => { return o === this.occupyInfoView.visitOrderId })
+          var flag = offNarcosisIds.find((o) => { return o === this.occupyInfoView.userId })
           if (!flag) {
-            offNarcosisIds.push(this.occupyInfoView.visitOrderId)
+            offNarcosisIds.push(this.occupyInfoView.userId)
           }
         } else if (offNarcosisIds) {
-          offNarcosisIds.push(this.occupyInfoView.visitOrderId)
+          offNarcosisIds.push(this.occupyInfoView.userId)
         }
         this.setLocalStorageOffNarcosisIds()
       }
@@ -430,10 +430,10 @@
         var offNarcosisTimer = null
         offNarcosisTimer = setTimeout(() => {
           console.log('================================>', this.occupyInfoView, 'offNarcosisIds:', offNarcosisIds, 'isOffNarcosisShow:', isOffNarcosisShow)
-          if (this.occupyInfoView && this.occupyInfoView.hempStatus === 2 && this.occupyInfoView.visitOrderId) {
+          if (this.occupyInfoView && this.occupyInfoView.hempStatus === 2 && this.occupyInfoView.userId) {
             var flag
-            // offNarcosisIds && offNarcosisIds.length && (flag = offNarcosisIds.find((o) => { return o === this.occupyInfoView.visitOrderId }))
-            flag = isOffNarcosisShow
+            offNarcosisIds && offNarcosisIds.length && (flag = offNarcosisIds.find((o) => { return o === this.occupyInfoView.userId }))
+            // flag = isOffNarcosisShow
             if (!flag) {
               this.showOffNarcosisNotice()
             }

--
Gitblit v1.8.0