From c9ad1f34a86e54b1c690c623ba661cd4131a3d71 Mon Sep 17 00:00:00 2001
From: MrShi <1878285526@qq.com>
Date: 星期四, 28 十一月 2024 18:43:32 +0800
Subject: [PATCH] Merge branch 'master' of http://139.186.142.91:10010/r/productDev/funingyunwei

---
 admin/src/views/finance/components/selectHouse.vue |  185 ++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 185 insertions(+), 0 deletions(-)

diff --git a/admin/src/views/finance/components/selectHouse.vue b/admin/src/views/finance/components/selectHouse.vue
new file mode 100644
index 0000000..7d44e38
--- /dev/null
+++ b/admin/src/views/finance/components/selectHouse.vue
@@ -0,0 +1,185 @@
+<template>
+    <GlobalWindow
+        width="100%"
+        :title="title"
+        :visible.sync="visible"
+        :confirm-working="isWorking"
+        @close="close"
+        @confirm="confirm">
+        <el-table
+            :data="houseList"
+            border
+            @selection-change="handleSelectionChange"
+            style="width: 100%">
+            <el-table-column
+                type="selection"
+                width="55">
+            </el-table-column>
+            <el-table-column
+                prop="projectName"
+                label="椤圭洰鍚嶇О">
+            </el-table-column>
+            <el-table-column
+                prop="buildingName"
+                label="妤煎畤鍚嶇О">
+            </el-table-column>
+            <el-table-column
+                prop="floorName"
+                label="妤煎眰鍚嶇О">
+            </el-table-column>
+            <el-table-column
+                prop="roomName"
+                label="鎴块棿鍚嶇О">
+            </el-table-column>
+        </el-table>
+    </GlobalWindow>
+</template>
+
+<script>
+import GlobalWindow from '@/components/common/GlobalWindow'
+import BaseOpera from '@/components/base/BaseOpera'
+import { getContractRoom } from '@/api/house'
+export default {
+  name: 'selectHouse',
+  components: {
+    GlobalWindow
+  },
+  extends: BaseOpera,
+  data () {
+    return {
+      houseList: [],
+      form: {},
+      seleData: []
+    }
+  },
+  methods: {
+    open (title, target) {
+      this.title = title
+      this.form = target
+      this.getAll()
+    },
+    getAll () {
+      getContractRoom({ ...this.form })
+        .then(res => {
+          console.log(res)
+          this.houseList = res
+          this.visible = true
+        })
+    },
+    handleSelectionChange (e) {
+      console.log(e)
+      this.seleData = e
+    }
+  }
+}
+</script>
+
+<style lang="scss" scoped>
+    @import '@/assets/style/variables.scss';
+    
+    
+    .cost_tabs {
+        justify-content: flex-start;
+        border: none;
+        
+        .tab {
+            height: 36px;
+            line-height: 36px;
+            font-size: 14px;
+        }
+    }
+    
+    .main {
+        display: flex;
+        margin-bottom: 20px;
+        
+        .main_content {
+            flex: 1;
+            margin-right: 20px;
+            
+            .head {
+                display: flex;
+                align-items: center;
+                justify-content: space-between;
+                
+                .tabs {
+                    display: flex;
+                    margin-bottom: 20px;
+                    align-items: center;
+                    justify-content: center;
+                    
+                    .tab {
+                        height: 14px;
+                        line-height: 14px;
+                        cursor: pointer;
+                        border: 1px solid #ebebeb;
+                        padding: 12px 24px;
+                    }
+                    
+                    .active {
+                        font-weight: 500;
+                        color: $primary-color;
+                        border: 1px solid $primary-color;
+                    }
+                }
+            }
+            
+            .list {
+                display: flex;
+                flex-wrap: wrap;
+                
+                .el-form-item {
+                    width: 33.33%;
+                    box-sizing: border-box;
+                    padding: 0 12px;
+                }
+            }
+        }
+        
+        .main_house {
+            width: 320px;
+            padding: 24px 12px;
+            border: 1px solid #c3c6cd;
+            border-radius: 2px;
+            
+            .title {
+                font-size: 16px;
+                font-weight: 500;
+                margin-bottom: 30px;
+            }
+        }
+        
+    }
+    
+    .total {
+        display: flex;
+        justify-content: space-between;
+        align-items: center;
+        height: 32px;
+        background-color: #e7e9f5;
+        
+        span {
+            width: 160px;
+            text-align: center;
+        }
+    }
+    
+    .file_wrap {
+        padding: 20px 16px;
+        border: 1px solid #c3c6cd;
+        border-radius: 2px;
+        
+        .head {
+            display: flex;
+            justify-content: space-between;
+            align-items: center;
+        }
+    }
+    
+    .m_title {
+        font-weight: 500;
+        font-size: 14px;
+        margin-bottom: 15px;
+        margin-top: 10px;
+    }
+</style>

--
Gitblit v1.9.3