| | |
| | | v-loading="isWorking.search" |
| | | :data="tableData.list" |
| | | stripe |
| | | border |
| | | @selection-change="handleSelectionChange" |
| | | > |
| | | <!-- <el-table-column prop="roomName" label="会议室" align="center" min-width="100px"></el-table-column> --> |
| | |
| | | import BaseTable from '@/components/base/BaseTable' |
| | | import TableLayout from '@/layouts/TableLayout' |
| | | import Pagination from '@/components/common/Pagination' |
| | | import { getUserStatistics, exportUserStatistics } from '@/views/meeting/api/bookings' |
| | | import { getUserStatistics, exportUserStatistics } from '@/api/meeting/bookings' |
| | | import { fetchList as userList } from '@/api/system/user' |
| | | |
| | | export default { |
| | |
| | | created () { |
| | | this.config({ |
| | | module: '会议室信息表', |
| | | api: '@/views/meeting/api/rooms', |
| | | api: '/meeting/rooms', |
| | | 'field.id': 'id', |
| | | 'field.main': 'id' |
| | | }) |
| | |
| | | userList({ |
| | | page: 1, |
| | | capacity: 9999, |
| | | model: { realname: this.filterText }, |
| | | model: { realname: this.filterText, companyType: 1 }, |
| | | }) |
| | | .then(res => { |
| | | console.log('userList', res); |
| | |
| | | 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 |