|
|
@ -165,7 +165,8 @@ const formsSuccess = async (formType,data) => { |
|
|
|
} |
|
|
|
if(data.activeTime==0)data.activeTime = null; |
|
|
|
if(data.expireTime==0)data.expireTime = null; |
|
|
|
if (formType === 'create') { |
|
|
|
try{ |
|
|
|
if (formType === 'create') { |
|
|
|
await ClassTypeApi.createClassType(data) |
|
|
|
message.success(t('common.createSuccess')) |
|
|
|
} else { |
|
|
@ -174,6 +175,10 @@ const formsSuccess = async (formType,data) => { |
|
|
|
} |
|
|
|
basicFormRef.value.dialogVisible = false |
|
|
|
getList() |
|
|
|
}finally { |
|
|
|
basicFormRef.value.formLoading=false |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
/** 详情操作 */ |
|
|
|