|
@ -226,7 +226,9 @@ const handleClose = async (id: number) => { |
|
|
message.success(t('common.closeSuccess')) |
|
|
message.success(t('common.closeSuccess')) |
|
|
tableObject.loading = false |
|
|
tableObject.loading = false |
|
|
await getList() |
|
|
await getList() |
|
|
} catch {} |
|
|
} catch { |
|
|
|
|
|
tableObject.loading = false |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
/** 重新添加按钮操作 */ |
|
|
/** 重新添加按钮操作 */ |
|
@ -238,7 +240,9 @@ const handleReAdd = async (id: number) => { |
|
|
message.success(t('common.reAddSuccess')) |
|
|
message.success(t('common.reAddSuccess')) |
|
|
tableObject.loading = false |
|
|
tableObject.loading = false |
|
|
await getList() |
|
|
await getList() |
|
|
} catch {} |
|
|
} catch { |
|
|
|
|
|
tableObject.loading = false |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
/** 提交按钮操作 */ |
|
|
/** 提交按钮操作 */ |
|
@ -250,7 +254,9 @@ const handleSubmit = async (id: number) => { |
|
|
message.success(t('common.submitSuccess')) |
|
|
message.success(t('common.submitSuccess')) |
|
|
tableObject.loading = false |
|
|
tableObject.loading = false |
|
|
await getList() |
|
|
await getList() |
|
|
} catch {} |
|
|
} catch { |
|
|
|
|
|
tableObject.loading = false |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
/** 审批驳回按钮操作 */ |
|
|
/** 审批驳回按钮操作 */ |
|
@ -262,7 +268,9 @@ const handleRefused = async (id: number) => { |
|
|
message.success(t('common.refusedSuccess')) |
|
|
message.success(t('common.refusedSuccess')) |
|
|
tableObject.loading = false |
|
|
tableObject.loading = false |
|
|
await getList() |
|
|
await getList() |
|
|
} catch {} |
|
|
} catch { |
|
|
|
|
|
tableObject.loading = false |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
/** 审批通过按钮操作 */ |
|
|
/** 审批通过按钮操作 */ |
|
@ -274,7 +282,9 @@ const handleAgree = async (id: number) => { |
|
|
message.success(t('common.agreeSuccess')) |
|
|
message.success(t('common.agreeSuccess')) |
|
|
tableObject.loading = false |
|
|
tableObject.loading = false |
|
|
await getList() |
|
|
await getList() |
|
|
} catch {} |
|
|
} catch { |
|
|
|
|
|
tableObject.loading = false |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
/** 处理按钮操作 */ |
|
|
/** 处理按钮操作 */ |
|
@ -286,7 +296,9 @@ const handleHandle = async (id: number) => { |
|
|
message.success(t('common.handleSuccess')) |
|
|
message.success(t('common.handleSuccess')) |
|
|
tableObject.loading = false |
|
|
tableObject.loading = false |
|
|
await getList() |
|
|
await getList() |
|
|
} catch {} |
|
|
} catch { |
|
|
|
|
|
tableObject.loading = false |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
/** 添加/修改操作 */ |
|
|
/** 添加/修改操作 */ |
|
|