mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-10 03:16:44 +08:00
讲师管理bug
This commit is contained in:
@@ -588,7 +588,11 @@ const getTableDate = (obj) => {
|
||||
content: `是否确认${!status?'启用':'停用'}该培训发生组织?`,
|
||||
ok: () => {
|
||||
lecturer.isEnable({id:record.id,status}).then(res=>{
|
||||
message.success("操作成功")
|
||||
if(typeof (res.data.data) != 'object'){
|
||||
message.error(res.data.data)
|
||||
return
|
||||
}
|
||||
message.success(`${!status?'启用':'停用'}成功`)
|
||||
searchSubmit();
|
||||
}).catch(err=>{
|
||||
message.destroy()
|
||||
|
||||
Reference in New Issue
Block a user