diff --git a/apps/web-antd/src/views/crm/contract/index.vue b/apps/web-antd/src/views/crm/contract/index.vue index a99def71c..c9ef83bc4 100644 --- a/apps/web-antd/src/views/crm/contract/index.vue +++ b/apps/web-antd/src/views/crm/contract/index.vue @@ -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(); diff --git a/apps/web-antd/src/views/crm/receivable/index.vue b/apps/web-antd/src/views/crm/receivable/index.vue index be7bbfc24..c24268f02 100644 --- a/apps/web-antd/src/views/crm/receivable/index.vue +++ b/apps/web-antd/src/views/crm/receivable/index.vue @@ -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(); diff --git a/apps/web-antd/src/views/infra/fileConfig/index.vue b/apps/web-antd/src/views/infra/fileConfig/index.vue index 06418759e..4687f08e7 100644 --- a/apps/web-antd/src/views/infra/fileConfig/index.vue +++ b/apps/web-antd/src/views/infra/fileConfig/index.vue @@ -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(); diff --git a/apps/web-antd/src/views/mall/promotion/combination/activity/index.vue b/apps/web-antd/src/views/mall/promotion/combination/activity/index.vue index c0821d27c..287071e0e 100644 --- a/apps/web-antd/src/views/mall/promotion/combination/activity/index.vue +++ b/apps/web-antd/src/views/mall/promotion/combination/activity/index.vue @@ -52,7 +52,7 @@ async function handleClose( } const hideLoading = message.loading({ - content: $t('ui.actionMessage.processing'), + content: '关闭中...', key: 'action_key_msg', }); try { diff --git a/packages/locales/src/langs/en-US/ui.json b/packages/locales/src/langs/en-US/ui.json index a236d7444..80d000e42 100644 --- a/packages/locales/src/langs/en-US/ui.json +++ b/packages/locales/src/langs/en-US/ui.json @@ -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", diff --git a/packages/locales/src/langs/zh-CN/ui.json b/packages/locales/src/langs/zh-CN/ui.json index d1de301df..d0676ed9a 100644 --- a/packages/locales/src/langs/zh-CN/ui.json +++ b/packages/locales/src/langs/zh-CN/ui.json @@ -32,7 +32,9 @@ "importSuccess": "导入成功", "importFail": "导入失败", "downloadTemplateFail": "下载模板失败", - "updating": "正在更新 {0}..." + "updating": "正在更新 {0}...", + "updateSuccess": "更新 {0} 成功", + "updateFailed": "更新 {0} 失败" }, "placeholder": { "input": "请输入",