From aeb317703c9c82edb7c4c7ecc5985eef62864c7c Mon Sep 17 00:00:00 2001
From: jazz <jazzxhunter@163.com>
Date: 星期二, 05 十二月 2023 19:41:21 +0800
Subject: [PATCH] update_202312051941_项目-治疗室屏幕web-切图v1

---
 src/pages/room/list.vue |   15 +++++++++++++--
 1 files changed, 13 insertions(+), 2 deletions(-)

diff --git a/src/pages/room/list.vue b/src/pages/room/list.vue
index 54e4c6b..a7e191e 100644
--- a/src/pages/room/list.vue
+++ b/src/pages/room/list.vue
@@ -2,7 +2,7 @@
 <template>
   <div class="page">
     <div class="page_header flex flex-ver">
-      <div class="left flex flex-ver">
+      <div class="left flex flex-ver" @click="back">
         <img class="page_logo_1" src="../../assets/img/logo_1.png">
         <img class="page_logo_2" src="../../assets/img/logo_2.png">
       </div>
@@ -21,7 +21,7 @@
         <div class="list_block flex-1">
           <div class="list flex flex-ver flex-wrap">
             <!-- act -->
-            <div v-for="(item, index) in list" :key="index" class="list__item flex flex-center">VIP璇婄枟瀹�-1</div>
+            <div v-for="(item, index) in list" :key="index" class="list__item flex flex-center" @click="selectRoom()">VIP璇婄枟瀹�-1</div>
           </div>
         </div>
       </div>
@@ -55,6 +55,17 @@
   methods: {
     init() {
       this.countGetTime(this, 'timeObj', 'list')
+    },
+    // 杩斿洖
+    back() {
+      this.stopCountGetTime('list')
+      this.stopPollingAjaxFn('list')
+      this.$router.go(-1)
+    },
+    selectRoom(item = {}) {
+      this.$router.push({
+        path: `./detail?id=${item.id || ''}`
+      })
     }
   }
 }

--
Gitblit v1.8.0