diff --git a/src/views/doorManage/listDoor.vue b/src/views/doorManage/listDoor.vue index daf3660..332e4a8 100644 --- a/src/views/doorManage/listDoor.vue +++ b/src/views/doorManage/listDoor.vue @@ -73,7 +73,7 @@ return { listQuery: { offset: 1, - limit: 20, + limit: 200, sort: 'id', order: 'asc' }, // 筛选条件 diff --git a/src/views/doorManage/listDoor.vue b/src/views/doorManage/listDoor.vue index daf3660..332e4a8 100644 --- a/src/views/doorManage/listDoor.vue +++ b/src/views/doorManage/listDoor.vue @@ -73,7 +73,7 @@ return { listQuery: { offset: 1, - limit: 20, + limit: 200, sort: 'id', order: 'asc' }, // 筛选条件 diff --git a/src/views/memberManage/listStaff.vue b/src/views/memberManage/listStaff.vue index 0e53c17..4839f20 100644 --- a/src/views/memberManage/listStaff.vue +++ b/src/views/memberManage/listStaff.vue @@ -437,31 +437,32 @@ startTime: this.listQuery.startTime, // 创建开始时间 endTime: this.listQuery.endTime, // 创建结束时间 updateStartTime: this.listQuery.updateStartTime, // 建卡开始时间 - updateEndTime: this.listQuery.updateEndTime, // 建卡结束时间 - personIds: this.hasSelection ? this.multipleSelection.map(v => v.id) : [] + updateEndTime: this.listQuery.updateEndTime // 建卡结束时间 + // personIds: this.hasSelection ? this.multipleSelection.map(v => v.id) : [] } if (!this.hasSelection) { - this.$confirm( - '未选中人员,确定要删除全部闸机数据吗?', - '确认操作', - { - confirmButtonText: '确定', - cancelButtonText: '取消', - type: 'warning' - } - ).then(() => { - this.listLoading = true - delSyncPerson(params).then(response => { - if (response.code === 200) { - this.$message.success(response.message) - this.fetchData(false) - this.listLoading = false - } - }).catch(() => { - this.fetchData(false) - this.listLoading = false - }) - }) + this.$message.warning('未选中任何人员') + // this.$confirm( + // '未选中人员,确定要删除全部闸机数据吗?', + // '确认操作', + // { + // confirmButtonText: '确定', + // cancelButtonText: '取消', + // type: 'warning' + // } + // ).then(() => { + // this.listLoading = true + // delSyncPerson(params).then(response => { + // if (response.code === 200) { + // this.$message.success(response.message) + // this.fetchData(false) + // this.listLoading = false + // } + // }).catch(() => { + // this.fetchData(false) + // this.listLoading = false + // }) + // }) } else { const staffIds = this.multipleSelection.map(v => v.id) this.$confirm( @@ -474,7 +475,7 @@ } ).then(() => { this.listLoading = true - delSyncPerson(params).then(response => { + delSyncPerson({ personIds: staffIds }).then(response => { if (response.code === 200) { this.$message.success(response.message) this.fetchData(false)