上传
This commit is contained in:
@@ -140,7 +140,8 @@ async function changeStatus(row) {
|
||||
const text = row.status === CommonStatusEnum.ENABLE ? '启用' : '停用'
|
||||
await message.confirm('确认要"' + text + '""' + row.schoolName + '"驾校吗?')
|
||||
// 发起修改状态
|
||||
await api.updateSchoolStatus(row.id, row.status)
|
||||
await api.updateSchoolStatus(row.schoolId, row.status)
|
||||
message.success('修改成功')
|
||||
// 刷新列表
|
||||
await getList()
|
||||
} catch {
|
||||
|
||||
Reference in New Issue
Block a user