|  |  |  | 
|---|
|  |  |  | import TableLayout from '@/layouts/TableLayout' | 
|---|
|  |  |  | import Pagination from '@/components/common/Pagination' | 
|---|
|  |  |  | import OperaDevicesWindow from '@/views/meeting/components/OperaDevicesWindow' | 
|---|
|  |  |  | import { findList } from '@/views/meeting/api/rooms' | 
|---|
|  |  |  | import { updateById } from '@/views/meeting/api/devices' | 
|---|
|  |  |  | import { findList } from '@/api/meeting/rooms' | 
|---|
|  |  |  | import { updateById } from '@/api/meeting/devices' | 
|---|
|  |  |  | export default { | 
|---|
|  |  |  | name: 'Devices', | 
|---|
|  |  |  | extends: BaseTable, | 
|---|
|  |  |  | 
|---|
|  |  |  | created () { | 
|---|
|  |  |  | this.config({ | 
|---|
|  |  |  | module: '设备管理信息表', | 
|---|
|  |  |  | api: '@/views/meeting/api/devices', | 
|---|
|  |  |  | api: '/meeting/devices', | 
|---|
|  |  |  | 'field.id': 'id', | 
|---|
|  |  |  | 'field.main': 'id' | 
|---|
|  |  |  | }) | 
|---|
|  |  |  | 
|---|
|  |  |  | this.$message.success('修改成功') | 
|---|
|  |  |  | }) | 
|---|
|  |  |  | .catch(e => { | 
|---|
|  |  |  | this.$message.error(e) | 
|---|
|  |  |  | }) | 
|---|
|  |  |  | .finally(() => { | 
|---|
|  |  |  | this.handlePageChange() | 
|---|