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