jiangping
2024-08-14 7755e9ba6ca8ce58cc0a58578ddc1d965aba380a
admin/src/views/business/device.vue
@@ -80,7 +80,6 @@
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,
@@ -92,7 +91,8 @@
        doorName: '',
        regionPathName: '',
        isEntrance: '',
        online: ''
        online: '',
        type:0
      },
      options: []
    }
@@ -117,7 +117,7 @@
      this.$dialog.actionConfirm('操作确认提醒', '您确认同步全部信息吗?')
        .then(() => {
          this.isWorking.delete = true
          syncDevices({})
          syncDevices({type:0})
            .then(res => {
              this.$tip.apiSuccess(res || '同步成功')
              this.search()