From a0285d19d00697757f99fc75a4e45778854f5af9 Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期五, 07 三月 2025 10:39:15 +0800
Subject: [PATCH] 最新版本541200007

---
 admin/src/views/meeting/bookings.vue |   40 ++++++++++++++++++++++------------------
 1 files changed, 22 insertions(+), 18 deletions(-)

diff --git a/admin/src/views/meeting/bookings.vue b/admin/src/views/meeting/bookings.vue
index 8b1fe08..674d968 100644
--- a/admin/src/views/meeting/bookings.vue
+++ b/admin/src/views/meeting/bookings.vue
@@ -1,5 +1,5 @@
 <template>
-  <TableLayout :permissions="['business:bookings:query']">
+  <TableLayout rel="tableLayoutEle" :permissions="['business:bookings:query']">
     <!-- 鎼滅储琛ㄥ崟 -->
     <el-form ref="searchForm" slot="search-form" :model="searchForm" label-width="100px" inline>
       <el-form-item label="浼氳瀹�" prop="roomId">
@@ -55,7 +55,7 @@
     </el-form>
     <!-- 琛ㄦ牸鍜屽垎椤� -->
     <template v-slot:table-wrap>
-      <ul class="toolbar" v-permissions="[
+      <ul class="toolbar" ref="toolbarEle" v-permissions="[
         'business:bookings:create',
         'business:bookings:exportExcel',
       ]">
@@ -69,7 +69,7 @@
             @click="exportExcel">瀵煎嚭</el-button>
         </li>
       </ul>
-      <el-table v-loading="isWorking.search" :data="tableData.list" stripe @selection-change="handleSelectionChange">
+      <el-table :height="tableHeightNew" v-loading="isWorking.search" :data="tableData.list" stripe @selection-change="handleSelectionChange">
         <!-- <el-table-column type="selection" align="center" width="55"></el-table-column> -->
         <el-table-column prop="name" label="浼氳涓婚" align="center" min-width="120px" show-overflow-tooltip>
           <template slot-scope="{ row }">
@@ -82,6 +82,10 @@
           </template>
         </el-table-column>
         <el-table-column prop="meetingTime" label="浼氳鏃堕棿" align="center" min-width="120px"></el-table-column>
+        <el-table-column prop="meetingTime" label="浼氳鏃堕棿" align="center" min-width="120px"></el-table-column>
+        <el-table-column prop="meetingTime" label="浼氳鏃堕棿" align="center" min-width="120px"></el-table-column>
+        <el-table-column prop="meetingTime" label="浼氳鏃堕棿" align="center" min-width="400px"></el-table-column>
+        <el-table-column prop="meetingTime" label="浼氳鏃堕棿" align="center" min-width="300px"></el-table-column>
         <el-table-column prop="managerInfo" label="棰勭害浜�" align="center" min-width="100px"></el-table-column>
         <el-table-column label="浼氳鐘舵��" align="center" min-width="60px">
           <template slot-scope="{ row }">
@@ -141,7 +145,7 @@
   name: 'Bookings',
   extends: BaseTable,
   components: { TableLayout, Pagination, OperaBookingsWindow, OperaBookingsDetailWindow },
-  data() {
+  data () {
     return {
       date: [],
       // userInfo: this.$store.state.userInfo,
@@ -184,12 +188,12 @@
       link: 'https://dmtest.ahapp.net/meeting_h5/' // H5_LINK_ADDR
     }
   },
-  provide() {
+  provide () {
     return {
       rooms: () => this.rooms
     }
   },
-  created() {
+  created () {
     this.config({
       module: '浼氳瀹ら瀹氫俊鎭〃',
       api: '/meeting/bookings',
@@ -212,7 +216,7 @@
     this.changeRadio('0')
   },
   methods: {
-    changeRadio(e) {
+    changeRadio (e) {
       if (e === '0') {
         this.searchForm.startTime = timeForMat(0)[0]
         this.searchForm.endTime = timeForMat(0)[1]
@@ -232,7 +236,7 @@
       }
       this.search()
     },
-    newTree(tree) {
+    newTree (tree) {
       if (tree == null) {
         return []
       }
@@ -249,12 +253,12 @@
         return newItem
       })
     },
-    selectDate(v) {
+    selectDate (v) {
       this.searchForm.endTime = v[1] + ' 23:59:59'
       this.searchForm.startTime = v[0] + ' 00:00:00'
       this.searchForm.radio = null
     },
-    reset() {
+    reset () {
       this.$refs.searchForm.resetFields()
       this.date = []
       this.searchForm.radio = ''
@@ -263,7 +267,7 @@
       // this.changeRadio('0')
       this.search()
     },
-    copy(row) {
+    copy (row) {
       const text = `${row.realName} 閭�璇锋偍鍔犲叆浼氳\n浼氳涓婚锛�${row.name}\n浼氳瀹わ細${row.roomName}\n浼氳鏃堕棿锛�${row.meetingTime}\n鐐瑰嚮閾炬帴鐩存帴鍔犲叆浼氳锛歕n${this.link}?id=${row.id}`
       this.$copyText(text)
         .then(() => {
@@ -272,10 +276,10 @@
         .catch(e => {
         })
     },
-    handleStart(row) {
+    handleStart (row) {
       this.$dialog.messageWaring('寮�濮嬩細璁�', '鏄惁寮�濮嬪綋鍓嶄細璁紵')
         .then(() => {
-          let fn = new Date(row.startTime).getTime() > new Date().getTime() ? startEarlyById : startById
+          const fn = new Date(row.startTime).getTime() > new Date().getTime() ? startEarlyById : startById
           fn({ id: row.id })
             .then(() => {
               this.$message.success('浼氳宸插紑濮�')
@@ -285,7 +289,7 @@
             })
         })
     },
-    handleEnd(row) {
+    handleEnd (row) {
       this.$dialog.messageWaring('缁撴潫浼氳', '鏄惁缁撴潫褰撳墠浼氳锛�')
         .then(() => {
           meetingEndById({ id: row.id })
@@ -297,7 +301,7 @@
             })
         })
     },
-    cancelMeeting(id) {
+    cancelMeeting (id) {
       this.$dialog.messageWaring('鍙栨秷浼氳', '鏄惁鍙栨秷褰撳墠浼氳锛�')
         .then(() => {
           cancelById({ id })
@@ -309,7 +313,7 @@
             })
         })
     },
-    showDetail(id) {
+    showDetail (id) {
       bookingsDetail(id)
         .then(res => {
           this.$refs.operaBookingsDetailWindow.open('浼氳璇︽儏', res)
@@ -317,7 +321,7 @@
         .catch(e => {
         })
     },
-    editBookings(id) {
+    editBookings (id) {
       bookingsDetail(id)
         .then(res => {
           this.$refs.operaBookingsWindow.open('缂栬緫浼氳棰勭害', res)
@@ -325,7 +329,7 @@
         .catch(e => {
         })
     },
-    handlePageChange(pageIndex) {
+    handlePageChange (pageIndex) {
       this.__checkApi()
       this.tableData.pagination.pageIndex = pageIndex || this.tableData.pagination.pageIndex
       this.isWorking.search = true

--
Gitblit v1.9.3