From 105be897f4e9555c2d3166a13278bbad78e2ef35 Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期六, 08 二月 2025 17:49:48 +0800
Subject: [PATCH] Merge branch '2.0.1' of http://139.186.142.91:10010/r/productDev/funingyunwei into 2.0.1

---
 admin/src/views/roomStatus/index.vue |   12 ++++++++++--
 1 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/admin/src/views/roomStatus/index.vue b/admin/src/views/roomStatus/index.vue
index ac4fd77..2af5abd 100644
--- a/admin/src/views/roomStatus/index.vue
+++ b/admin/src/views/roomStatus/index.vue
@@ -587,7 +587,7 @@
                                             <el-table-column
                                                 label="璁惧缂栫爜">
                                                 <template slot-scope="{row}">
-                                                    <el-button type="text">{{row.code}}</el-button>
+                                                    <el-button type="text" @click="handledeviveDetail(row.id)">{{row.code}}</el-button>
                                                 </template>
                                             </el-table-column>
                                             <el-table-column
@@ -646,6 +646,8 @@
         <Edit v-if="showEdit1" ref="EditRef" @success="getDevicePage" @close="showEdit1 = false" />
         <!--    鍚堝悓璇︽儏    -->
         <ContractDetail ref="ContractDetailRef" />
+        <!--    璁惧璇︽儏    -->
+        <deviceDetail ref="deviceDetail" />
     </div>
 </template>
 
@@ -662,9 +664,10 @@
   import { fetchList as devicePage, getDeviceCateData, getDeviceStatus } from '@/api/Inspection/device'
   import Edit from '../operation/components/deviceEdit'
   import ContractDetail from '../contract/components/contractDetail'
+  import deviceDetail from '../operation/components/deviceDetail'
   export default {
     name: 'index',
-    components: { OperaYwWorkorderWindow, Detail, Edit, ContractDetail },
+    components: { OperaYwWorkorderWindow, Detail, Edit, ContractDetail, deviceDetail },
     data() {
       return {
         showDetail: false,
@@ -719,6 +722,11 @@
       }
     },
     methods: {
+      handledeviveDetail(id) {
+        this.$refs.deviceDetail.visible = true
+        this.$refs.deviceDetail.id = id
+        this.$refs.deviceDetail.getDetail()
+      },
       nodeClick(e) {
         this.tableData = []
         this.pageSize = 10

--
Gitblit v1.9.3