From 17efddc6a667670dca682bf36b51a43e99615e6d Mon Sep 17 00:00:00 2001
From: k94314517 <8417338+k94314517@user.noreply.gitee.com>
Date: 星期三, 16 十月 2024 15:59:38 +0800
Subject: [PATCH] 代码初始化

---
 admin/src/views/meeting/rooms.vue |   24 ++++++++++++++----------
 1 files changed, 14 insertions(+), 10 deletions(-)

diff --git a/admin/src/views/meeting/rooms.vue b/admin/src/views/meeting/rooms.vue
index 0b49a6c..b701dc7 100644
--- a/admin/src/views/meeting/rooms.vue
+++ b/admin/src/views/meeting/rooms.vue
@@ -45,6 +45,11 @@
         @selection-change="handleSelectionChange"
       >
         <!-- <el-table-column type="selection" width="55"></el-table-column> -->
+        <el-table-column prop="id" label="鍞竴鏍囪瘑" align="center" min-width="80px" show-overflow-tooltip>
+          <template slot-scope="{row}">
+            <span class="long-title-style">{{ row.id }}</span>
+          </template>
+        </el-table-column>
         <el-table-column prop="name" label="浼氳瀹ゅ悕绉�" align="center" min-width="120px" show-overflow-tooltip>
           <template slot-scope="{row}">
             <span class="long-title-style">{{ row.name }}</span>
@@ -152,7 +157,7 @@
       }
     }
   },
-  provide() {
+  provide () {
     return {
       userList: () => this.userList
     }
@@ -167,7 +172,8 @@
     userList({
       page: 1,
       capacity: 9999,
-      model: { realname: this.filterText },
+      memberType: 2,
+      model: { realname: this.filterText }
     })
       .then(res => {
         this.userList = res.records
@@ -175,16 +181,16 @@
     this.search()
   },
   methods: {
-     // 椤电爜鍙樻洿澶勭悊
+    // 椤电爜鍙樻洿澶勭悊
     handlePageChange (pageIndex) {
       this.__checkApi()
       this.tableData.pagination.pageIndex = pageIndex || this.tableData.pagination.pageIndex
       this.isWorking.search = true
       let sysList = [...this.searchForm.sysList]
       sysList = sysList.map(item => {
-        return {userId: item}
+        return { userId: item }
       })
-      console.log(sysList);
+      console.log(sysList)
       this.api.fetchList({
         page: this.tableData.pagination.pageIndex,
         capacity: this.tableData.pagination.pageSize,
@@ -199,7 +205,7 @@
           this.tableData.pagination.total = data.total
         })
         .catch(e => {
-          this.$tip.apiFailed(e)
+          // this.$tip.apiFailed(e)
         })
         .finally(() => {
           this.isWorking.search = false
@@ -209,23 +215,21 @@
     //   console.log('21212');
     //   this.$refs.selectMember.open('閫夋嫨绠$悊鍛�')
     // },
-    changeStatus(item) {
+    changeStatus (item) {
       updateStatusById({
         id: item.id,
         status: item.status
       })
         .then(() => {
           this.$message.success('淇敼鎴愬姛')
-
         })
         .catch(e => {
-          this.$message.error(e)
         })
         .finally(() => {
           this.handlePageChange()
         })
     }
-  },
+  }
 }
 </script>
 

--
Gitblit v1.9.3