From a2299a6d4a6f99e9c11132138f5d3e9ec68f03ea Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期五, 06 六月 2025 19:19:34 +0800
Subject: [PATCH] 开发更新

---
 admin/src/views/project/components/houseDetails.vue |   24 +++++++++++-------------
 1 files changed, 11 insertions(+), 13 deletions(-)

diff --git a/admin/src/views/project/components/houseDetails.vue b/admin/src/views/project/components/houseDetails.vue
index 634af23..d3c18b0 100644
--- a/admin/src/views/project/components/houseDetails.vue
+++ b/admin/src/views/project/components/houseDetails.vue
@@ -64,9 +64,6 @@
                     <el-tab-pane label="绉熷鍚堝悓" name="project">
                         <div class="xm">
                             <el-card style="margin-top: 20px;">
-                                <div slot="header" class="clearfix">
-                                    <span>褰撳墠鍦ㄧ鍚堝悓</span>
-                                </div>
                                 <div class="xm_table">
                                     <div style="width: 100%; display: flex; align-items: center; margin-bottom: 15px;">
                                         <el-input v-model="form.code" style="width: 300px;" placeholder="璇疯緭鍏ュ悎鍚岀紪鍙�"></el-input>
@@ -80,8 +77,7 @@
                                         <el-table-column
                                             label="鍚堝悓缂栧彿">
                                             <template slot-scope="{row}">
-                                                <el-button type="text" @click="$refs.ContractDetailRef.open('鍚堝悓璇︽儏', row.id)" v-if="row.status === 1">{{row.code}}</el-button>
-                                                <el-button type="text" v-else>{{row.code}}</el-button>
+                                                <el-button type="text" @click="$refs.ContractDetailRef.open('鍚堝悓璇︽儏', row.id)">{{row.code}}</el-button>
                                             </template>
                                         </el-table-column>
                                         <el-table-column
@@ -89,7 +85,7 @@
                                             <template slot-scope="{row}">
                                                 <div style="display: flex; align-items: center;">
                                                     {{row.renterName}}
-                                                    <el-tag type="success" v-if="row.status === 1">褰撳墠绉熸埛</el-tag>
+                                                    <el-tag type="success" v-if="[1,2,3].includes(row.status)">褰撳墠绉熸埛</el-tag>
                                                 </div>
                                             </template>
                                         </el-table-column>
@@ -424,7 +420,11 @@
         this.$refs.operaYwWorkorderWindow.open('鏂板缓宸ュ崟', {
           rooms: [this.info.projectId, this.info.buildingId, this.info.floor, this.info.id],
           areaType: 0,
-          content: ''
+          content: '',
+          projectId: this.info.projectId,
+          buildingId: this.info.buildingId,
+          floorId: this.info.floor,
+          roomId: this.info.id
         })
       },
       // 鑾峰彇璁惧鐘舵��
@@ -434,7 +434,7 @@
               this.$nextTick(() => {
                 this.deviceList = [
                   { value: res.workAmount || 0, name: '姝e父' },
-                  { value: res.exceptionAmount || 0, name: '寮傚父' },
+                  { value: res.exceptionAmount || 0, name: '鎹熷潖' },
                   { value: res.errAmount || 0, name: '鎶ュ簾' }
                 ]
                 this.amount = res.amount
@@ -538,7 +538,7 @@
           page: 1,
           model: {
             roomId: this.houseId,
-            status: this.form.status,
+            dealStatus: this.form.dealStatus,
             cateId: this.form.cateId
           }
         }).then(res => {
@@ -614,8 +614,6 @@
           })
         })
         let xAxisData = this.categaryList.map(item => item.cateName)
-        console.log(seriesArr)
-        console.log(xAxisData)
         option = {
           title: {
             text: '璁惧鏁伴噺鍒嗙被缁熻'
@@ -691,7 +689,7 @@
           this.getTenantContract()
         } else if (this.propsName === 'second') {
           this.getFetchList()
-        } else if (tab._props.name === 'third') {
+        } else if (this.propsName === 'third') {
           this.getDevicePage()
         } else if (this.propsName === 'fourth') {
           this.getPropertyLists()
@@ -703,7 +701,7 @@
           this.getTenantContract()
         } else if (this.propsName === 'second') {
           this.getFetchList()
-        } else if (tab._props.name === 'third') {
+        } else if (tab.propsName === 'third') {
           this.getDevicePage()
         } else if (this.propsName === 'fourth') {
           this.getPropertyLists()

--
Gitblit v1.9.3