mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-12 12:26:47 +08:00
讲师管理bug
This commit is contained in:
@@ -588,7 +588,11 @@ const getTableDate = (obj) => {
|
|||||||
content: `是否确认${!status?'启用':'停用'}该培训发生组织?`,
|
content: `是否确认${!status?'启用':'停用'}该培训发生组织?`,
|
||||||
ok: () => {
|
ok: () => {
|
||||||
lecturer.isEnable({id:record.id,status}).then(res=>{
|
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();
|
searchSubmit();
|
||||||
}).catch(err=>{
|
}).catch(err=>{
|
||||||
message.destroy()
|
message.destroy()
|
||||||
|
|||||||
Reference in New Issue
Block a user