| | |
| | | import Pagination from '@/components/common/Pagination' |
| | | import OperaDeviceWindow from '@/components/business/OperaDeviceWindow' |
| | | import { syncDevices, updateEntranceById } from '@/api/business/device' |
| | | import { memberSync } from '@/api/business/member' |
| | | export default { |
| | | name: 'Device', |
| | | extends: BaseTable, |
| | |
| | | doorName: '', |
| | | regionPathName: '', |
| | | isEntrance: '', |
| | | online: '' |
| | | online: '', |
| | | type:0 |
| | | }, |
| | | options: [] |
| | | } |
| | |
| | | this.$dialog.actionConfirm('操作确认提醒', '您确认同步全部信息吗?') |
| | | .then(() => { |
| | | this.isWorking.delete = true |
| | | syncDevices({}) |
| | | syncDevices({type:0}) |
| | | .then(res => { |
| | | this.$tip.apiSuccess(res || '同步成功') |
| | | this.search() |