| | |
| | | <script> |
| | | import BaseTable from '@/components/base/BaseTable' |
| | | import TableLayout from '@/layouts/TableLayout' |
| | | import { getRoomStatistics, exportRoomStatistics } from '@/views/meeting/api/bookings' |
| | | import { getRoomStatistics, exportRoomStatistics } from '@/api/meeting/bookings' |
| | | // import { findList } from '@/api/meeting/rooms' |
| | | export default { |
| | | name: 'Rooms', |
| | |
| | | created () { |
| | | this.config({ |
| | | module: '会议室信息表', |
| | | api: '@/views/meeting/api/rooms', |
| | | api: '/meeting/rooms', |
| | | 'field.id': 'id', |
| | | 'field.main': 'id' |
| | | }) |
| | |
| | | this.download(response) |
| | | }) |
| | | .catch(e => { |
| | | this.$tip.apiFailed(e) |
| | | // this.$tip.apiFailed(e) |
| | | }) |
| | | .finally(() => { |
| | | this.isWorking.export = false |
| | |
| | | // this.tableData.pagination.total = data.total |
| | | }) |
| | | .catch(e => { |
| | | this.$tip.apiFailed(e) |
| | | // this.$tip.apiFailed(e) |
| | | }) |
| | | .finally(() => { |
| | | this.isWorking.search = false |