This commit is contained in:
qsh
2024-06-25 19:31:55 +08:00
parent 93d7f2b43d
commit f63104591b
5 changed files with 273 additions and 24 deletions

View File

@@ -539,7 +539,7 @@ async function changePlaceStatus(row) {
const text = row.status == 0 ? '启用' : '停用'
await message.confirm('确认要"' + text + '""' + row.name + '"场地吗?')
// 发起修改状态
await PlaceApi.updatePlaceStatus({ placeId: row.placeId, status: row.status })
await PlaceApi.updatePlaceStatus(row.placeId, row.status)
message.success('修改成功')
// 刷新列表
// await getList()