|  |  | 
 |  |  |         v-loading="isWorking.search" | 
 |  |  |         :data="tableData.list" | 
 |  |  |         stripe | 
 |  |  |         border | 
 |  |  |         @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> | 
 |  |  | 
 |  |  |       } | 
 |  |  |     } | 
 |  |  |   }, | 
 |  |  |   provide() { | 
 |  |  |   provide () { | 
 |  |  |     return { | 
 |  |  |       userList: () => this.userList | 
 |  |  |     } | 
 |  |  | 
 |  |  |     userList({ | 
 |  |  |       page: 1, | 
 |  |  |       capacity: 9999, | 
 |  |  |       model: { realname: this.filterText }, | 
 |  |  |       memberType: 2, | 
 |  |  |       model: { realname: this.filterText } | 
 |  |  |     }) | 
 |  |  |       .then(res => { | 
 |  |  |         this.userList = res.records | 
 |  |  | 
 |  |  |     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, | 
 |  |  | 
 |  |  |           this.tableData.pagination.total = data.total | 
 |  |  |         }) | 
 |  |  |         .catch(e => { | 
 |  |  |           this.$tip.apiFailed(e) | 
 |  |  |           // this.$tip.apiFailed(e) | 
 |  |  |         }) | 
 |  |  |         .finally(() => { | 
 |  |  |           this.isWorking.search = false | 
 |  |  | 
 |  |  |     //   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> | 
 |  |  |  |