fix: locales
parent
9b7b40c596
commit
ec9b364b33
|
@ -72,13 +72,13 @@ async function handleDelete(row: CrmContractApi.Contract) {
|
|||
/** 提交审核 */
|
||||
async function handleSubmit(row: CrmContractApi.Contract) {
|
||||
const hideLoading = message.loading({
|
||||
content: $t('ui.actionMessage.submitting', [row.name]),
|
||||
content: '提交审核中...',
|
||||
key: 'action_key_msg',
|
||||
});
|
||||
try {
|
||||
await submitContract(row.id as number);
|
||||
message.success({
|
||||
content: $t('ui.actionMessage.submitSuccess', [row.name]),
|
||||
content: '提交审核成功',
|
||||
key: 'action_key_msg',
|
||||
});
|
||||
onRefresh();
|
||||
|
|
|
@ -72,13 +72,13 @@ async function handleDelete(row: CrmReceivableApi.Receivable) {
|
|||
/** 提交审核 */
|
||||
async function handleSubmit(row: CrmReceivableApi.Receivable) {
|
||||
const hideLoading = message.loading({
|
||||
content: $t('ui.actionMessage.submitting', [row.no]),
|
||||
content: '提交审核中...',
|
||||
key: 'action_key_msg',
|
||||
});
|
||||
try {
|
||||
await submitReceivable(row.id as number);
|
||||
message.success({
|
||||
content: $t('ui.actionMessage.submitSuccess', [row.no]),
|
||||
content: '提交审核成功',
|
||||
key: 'action_key_msg',
|
||||
});
|
||||
onRefresh();
|
||||
|
|
|
@ -51,7 +51,7 @@ async function handleMaster(row: InfraFileConfigApi.FileConfig) {
|
|||
});
|
||||
try {
|
||||
await updateFileConfigMaster(row.id as number);
|
||||
message.success($t('ui.actionMessage.operationSuccess'));
|
||||
message.success($t('ui.actionMessage.updateSuccess', [row.name]));
|
||||
onRefresh();
|
||||
} finally {
|
||||
hideLoading();
|
||||
|
|
|
@ -52,7 +52,7 @@ async function handleClose(
|
|||
}
|
||||
|
||||
const hideLoading = message.loading({
|
||||
content: $t('ui.actionMessage.processing'),
|
||||
content: '关闭中...',
|
||||
key: 'action_key_msg',
|
||||
});
|
||||
try {
|
||||
|
|
|
@ -32,7 +32,9 @@
|
|||
"importSuccess": "Import succeeded",
|
||||
"importFail": "Import failed",
|
||||
"downloadTemplateFail": "Download template failed",
|
||||
"updating": "Updating {0}..."
|
||||
"updating": "Updating {0}...",
|
||||
"updateSuccess": "Update {0} successfully",
|
||||
"updateFailed": "Update {0} failed"
|
||||
},
|
||||
"placeholder": {
|
||||
"input": "Please enter",
|
||||
|
|
|
@ -32,7 +32,9 @@
|
|||
"importSuccess": "导入成功",
|
||||
"importFail": "导入失败",
|
||||
"downloadTemplateFail": "下载模板失败",
|
||||
"updating": "正在更新 {0}..."
|
||||
"updating": "正在更新 {0}...",
|
||||
"updateSuccess": "更新 {0} 成功",
|
||||
"updateFailed": "更新 {0} 失败"
|
||||
},
|
||||
"placeholder": {
|
||||
"input": "请输入",
|
||||
|
|
Loading…
Reference in New Issue